describe_protect_configurations
async
¶
describe_protect_configurations(
*,
config_overrides: Optional[AsyncPinpointSMSVoiceV2ClientConfig] = None,
protect_configuration_ids: Optional[ProtectConfigurationIdList] = None,
filters: Optional[ProtectConfigurationFilterList] = None,
next_token: Optional[NextToken] = None,
max_results: Optional[MaxResults] = None,
) -> DescribeProtectConfigurationsResult
Retrieves the protect configurations that match any of filters. If a filter isn’t provided then all protect configurations are returned.
Parameters:
-
protect_configuration_ids(Optional[ProtectConfigurationIdList], default:None) –An array of protect configuration identifiers to search for.
-
filters(Optional[ProtectConfigurationFilterList], default:None) –An array of ProtectConfigurationFilter objects to filter the results.
-
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.
Source code in docs_src/capo_pinpoint_sms_voice_v2/_services/async_pinpoint_sms_voice_v2.py
3339 3340 3341 3342 3343 3344 3345 3346 3347 3348 3349 3350 3351 3352 3353 3354 3355 3356 3357 3358 3359 3360 3361 3362 3363 3364 3365 3366 3367 3368 3369 3370 3371 3372 3373 3374 3375 3376 3377 3378 3379 3380 3381 3382 3383 3384 3385 3386 3387 3388 3389 3390 3391 3392 3393 3394 3395 3396 3397 3398 3399 3400 3401 3402 3403 3404 3405 3406 3407 | |