describe_notify_configurations
¶
describe_notify_configurations(
*,
config_overrides: Optional[PinpointSMSVoiceV2ClientConfig] = None,
notify_configuration_ids: Optional[NotifyConfigurationIdList] = None,
filters: Optional[NotifyConfigurationFilterList] = None,
next_token: Optional[NextToken] = None,
max_results: Optional[MaxResults] = None,
) -> DescribeNotifyConfigurationsResult
Describes the specified notify configurations or all notify configurations in your account.
If you specify notify configuration IDs, the output includes information for only the specified notify configurations. If you specify filters, the output includes information for only those notify configurations that meet the filter criteria. If you don't specify notify configuration IDs or filters, the output includes information for all notify configurations.
If you specify a notify configuration ID that isn't valid, an error is returned.
Parameters:
-
notify_configuration_ids(Optional[NotifyConfigurationIdList], default:None) –An array of notify configuration IDs to describe.
-
filters(Optional[NotifyConfigurationFilterList], default:None) –An array of NotifyConfigurationFilter objects to filter the results on.
-
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.
-
ResourceNotFoundException–A requested resource couldn't be found.
-
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:
DescribeNotifyConfigurations Describe notify configurations filtered by status.
>>> client.describe_notify_configurations(filters=[{'Name': 'status', 'Values': ['ACTIVE']}], max_results=10)
Source code in docs_src/capo_pinpoint_sms_voice_v2/_services/pinpoint_sms_voice_v2.py
2855 2856 2857 2858 2859 2860 2861 2862 2863 2864 2865 2866 2867 2868 2869 2870 2871 2872 2873 2874 2875 2876 2877 2878 2879 2880 2881 2882 2883 2884 2885 2886 2887 2888 2889 2890 2891 2892 2893 2894 2895 2896 2897 2898 2899 2900 2901 2902 2903 2904 2905 2906 2907 2908 2909 2910 2911 2912 2913 2914 2915 2916 2917 2918 2919 2920 2921 2922 2923 2924 2925 2926 2927 2928 | |