list_notify_countries
¶
list_notify_countries(
*,
config_overrides: Optional[PinpointSMSVoiceV2ClientConfig] = 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/pinpoint_sms_voice_v2.py
4562 4563 4564 4565 4566 4567 4568 4569 4570 4571 4572 4573 4574 4575 4576 4577 4578 4579 4580 4581 4582 4583 4584 4585 4586 4587 4588 4589 4590 4591 4592 4593 4594 4595 4596 4597 4598 4599 4600 4601 4602 4603 4604 4605 4606 4607 4608 4609 4610 4611 4612 4613 4614 4615 4616 4617 4618 4619 4620 4621 4622 4623 4624 4625 4626 4627 4628 4629 4630 4631 4632 4633 4634 4635 4636 4637 4638 4639 4640 | |