list_origination_numbers¶
Operation¶
list_origination_numbers
¶
list_origination_numbers(request: ListOriginationNumbersInput | ListOriginationNumbersInputDict | None = None, /, *, plugins: list[Plugin] | None = None, **kwargs: Unpack[ListOriginationNumbersInputDict]) -> ListOriginationNumbersOutput
Lists the calling Amazon Web Services account's dedicated origination numbers and their metadata. For more information about origination numbers, see Origination numbers in the Amazon SNS Developer Guide.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
request
|
ListOriginationNumbersInput | ListOriginationNumbersInputDict | 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[ListOriginationNumbersInputDict]
|
The input fields as keyword arguments. |
{}
|
Returns:
| Type | Description |
|---|---|
ListOriginationNumbersOutput
|
An instance of |
list_origination_numbers
async
¶
list_origination_numbers(request: ListOriginationNumbersInput | ListOriginationNumbersInputDict | None = None, /, *, plugins: list[Plugin] | None = None, **kwargs: Unpack[ListOriginationNumbersInputDict]) -> ListOriginationNumbersOutput
Lists the calling Amazon Web Services account's dedicated origination numbers and their metadata. For more information about origination numbers, see Origination numbers in the Amazon SNS Developer Guide.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
request
|
ListOriginationNumbersInput | ListOriginationNumbersInputDict | 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[ListOriginationNumbersInputDict]
|
The input fields as keyword arguments. |
{}
|
Returns:
| Type | Description |
|---|---|
ListOriginationNumbersOutput
|
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.
Output¶
ListOriginationNumbersOutput
dataclass
¶
Bases: _SerdeShape
Dataclass for ListOriginationNumbersOutput structure.
Attributes¶
next_token
class-attribute
instance-attribute
¶
next_token: str | None = ...
A NextToken string is returned when you call the
ListOriginationNumbers operation if additional pages of records are
available.
phone_numbers
class-attribute
instance-attribute
¶
phone_numbers: list[PhoneNumberInformation] | None = ...
A list of the calling account's verified and pending origination numbers.
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.