list_subscriptions¶
Operation¶
list_subscriptions
¶
list_subscriptions(request: ListSubscriptionsInput | ListSubscriptionsInputDict | None = None, /, *, plugins: list[Plugin] | None = None, **kwargs: Unpack[ListSubscriptionsInputDict]) -> ListSubscriptionsOutput
Lists all subscriptions created in an Amazon Q Business application.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
request
|
ListSubscriptionsInput | ListSubscriptionsInputDict | None
|
The input as a model or dictionary. Pass this or keyword arguments, not both. |
None
|
plugins
|
list[Plugin] | None
|
A list of callables that modify the configuration dynamically. Changes made by these plugins only apply for the duration of the operation execution and will not affect any other operation invocations. |
None
|
**kwargs
|
Unpack[ListSubscriptionsInputDict]
|
The input fields as keyword arguments. |
{}
|
Returns:
| Type | Description |
|---|---|
ListSubscriptionsOutput
|
An instance of |
list_subscriptions
async
¶
list_subscriptions(request: ListSubscriptionsInput | ListSubscriptionsInputDict | None = None, /, *, plugins: list[Plugin] | None = None, **kwargs: Unpack[ListSubscriptionsInputDict]) -> ListSubscriptionsOutput
Lists all subscriptions created in an Amazon Q Business application.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
request
|
ListSubscriptionsInput | ListSubscriptionsInputDict | None
|
The input as a model or dictionary. Pass this or keyword arguments, not both. |
None
|
plugins
|
list[Plugin] | None
|
A list of callables that modify the configuration dynamically. Changes made by these plugins only apply for the duration of the operation execution and will not affect any other operation invocations. |
None
|
**kwargs
|
Unpack[ListSubscriptionsInputDict]
|
The input fields as keyword arguments. |
{}
|
Returns:
| Type | Description |
|---|---|
ListSubscriptionsOutput
|
An instance of |
Input¶
Pass the input as keyword arguments, a positional dictionary, or a positional model object. Pass plugins separately as a keyword argument.
ListSubscriptionsInputDict
¶
Bases: TypedDict
Dictionary form of ListSubscriptionsInput.
ListSubscriptionsInput
dataclass
¶
Bases: _SerdeShape
Dataclass for ListSubscriptionsInput structure.
Attributes¶
application_id
class-attribute
instance-attribute
¶
application_id: str | None = ...
The identifier of the Amazon Q Business application linked to the subscription.
max_results
class-attribute
instance-attribute
¶
max_results: int | None = ...
The maximum number of Amazon Q Business subscriptions to return.
next_token
class-attribute
instance-attribute
¶
next_token: str | None = ...
If the maxResults response was incomplete because there is more data
to retrieve, Amazon Q Business returns a pagination token in the
response. You can use this pagination token to retrieve the next set of
Amazon Q Business subscriptions.
Output¶
ListSubscriptionsOutput
dataclass
¶
Bases: _SerdeShape
Dataclass for ListSubscriptionsOutput structure.
Attributes¶
next_token
class-attribute
instance-attribute
¶
next_token: str | None = ...
If the response is truncated, Amazon Q Business returns this token. You can use this token in a subsequent request to retrieve the next set of subscriptions.
response_metadata
class-attribute
instance-attribute
¶
Metadata about the response that produced this output. Use this to recover the request identifiers a service's support team needs in order to investigate a call. Members of the metadata are individually optional.
subscriptions
class-attribute
instance-attribute
¶
subscriptions: list[Subscription] | None = ...
An array of summary information on the subscriptions configured for an Amazon Q Business application.