describe_registration_attachments
async
¶
describe_registration_attachments(
*,
config_overrides: Optional[AsyncPinpointSMSVoiceV2ClientConfig] = None,
registration_attachment_ids: Optional[RegistrationAttachmentIdList] = None,
filters: Optional[RegistrationAttachmentFilterList] = None,
next_token: Optional[NextToken] = None,
max_results: Optional[MaxResults] = None,
) -> DescribeRegistrationAttachmentsResult
Retrieves the specified registration attachments or all registration attachments associated with your Amazon Web Services account.
Parameters:
-
registration_attachment_ids(Optional[RegistrationAttachmentIdList], default:None) –The unique identifier of registration attachments to find. This is an array of RegistrationAttachmentId.
-
filters(Optional[RegistrationAttachmentFilterList], default:None) –An array of RegistrationAttachmentFilter 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
3557 3558 3559 3560 3561 3562 3563 3564 3565 3566 3567 3568 3569 3570 3571 3572 3573 3574 3575 3576 3577 3578 3579 3580 3581 3582 3583 3584 3585 3586 3587 3588 3589 3590 3591 3592 3593 3594 3595 3596 3597 3598 3599 3600 3601 3602 3603 3604 3605 3606 3607 3608 3609 3610 3611 3612 3613 3614 3615 3616 3617 3618 3619 3620 3621 3622 3623 3624 3625 | |