list_notify_countries
async
¶
list_notify_countries(
*,
config_overrides: Optional[AsyncPinpointSMSVoiceV2ClientConfig] = None,
channels: Optional[NotifyEnabledChannelsList] = None,
use_cases: Optional[NotifyUseCaseList] = None,
tier: Optional[NotifyConfigurationTier] = None,
next_token: Optional[NextToken] = None,
max_results: Optional[MaxResults] = None,
) -> ListNotifyCountriesResult
Lists countries that support notify messaging. You can optionally filter by channel, use case, or tier.
Parameters:
-
channels(Optional[NotifyEnabledChannelsList], default:None) –An array of channels to filter the results by.
-
use_cases(Optional[NotifyUseCaseList], default:None) –An array of use cases to filter the results by.
-
tier(Optional[NotifyConfigurationTier], default:None) –The tier to filter the results by.
-
next_token(Optional[NextToken], default:None) –The token to be used for the next set of paginated results. You don't need to supply a value for this field in the initial request.
-
max_results(Optional[MaxResults], default:None) –The maximum number of results to return per each request.
Raises:
-
AccessDeniedException–The request was denied because you don't have sufficient permissions to access the resource.
-
InternalServerException–The API encountered an unexpected error and couldn't complete the request. You might be able to successfully issue the request again in the future.
-
ThrottlingException–An error that occurred because too many requests were sent during a certain amount of time.
-
ValidationException–A validation exception for a field.
-
UnknownServiceError–The service returned an error code this client does not model.
Examples:
ListNotifyCountries List countries that support notify messaging over SMS.
Source code in docs_src/capo_pinpoint_sms_voice_v2/_services/async_pinpoint_sms_voice_v2.py
4629 4630 4631 4632 4633 4634 4635 4636 4637 4638 4639 4640 4641 4642 4643 4644 4645 4646 4647 4648 4649 4650 4651 4652 4653 4654 4655 4656 4657 4658 4659 4660 4661 4662 4663 4664 4665 4666 4667 4668 4669 4670 4671 4672 4673 4674 4675 4676 4677 4678 4679 4680 4681 4682 4683 4684 4685 4686 4687 4688 4689 4690 4691 4692 4693 4694 4695 4696 4697 4698 4699 4700 4701 4702 4703 4704 4705 4706 4707 4708 | |