PaymentCryptographyControlPlane / Client / associate_mpa_team
associate_mpa_team¶
- PaymentCryptographyControlPlane.Client.associate_mpa_team(**kwargs)¶
Associates a Multi-Party Approval (MPA) team with a protected operation. For more information, see Multi-Party Approval in the Amazon Web Services Payment Cryptography User Guide.
Cross-account use: This operation can’t be used across different Amazon Web Services accounts.
Related operations:
See also: AWS API Documentation
Request Syntax
response = client.associate_mpa_team( Action='IMPORT_ROOT_PUBLIC_KEY_CERTIFICATE', MpaTeamArn='string', RequesterComment='string' )
- Parameters:
Action (string) –
[REQUIRED]
The protected operation to associate with the MPA team. Currently, the only supported value is
IMPORT_ROOT_PUBLIC_KEY_CERTIFICATE.MpaTeamArn (string) –
[REQUIRED]
The ARN of the MPA team to associate with the protected operation.
RequesterComment (string) –
The comment from the requester explaining the reason for the association.
Warning
Don’t include personal, confidential or sensitive information in this field. This field may be displayed in plaintext in CloudTrail logs and other output.
- Return type:
dict
- Returns:
Response Syntax
{ 'MpaTeamAssociation': { 'Action': 'IMPORT_ROOT_PUBLIC_KEY_CERTIFICATE', 'MpaTeamArn': 'string', 'AssociationState': 'ACTIVE'|'UPDATE_PENDING'|'DELETE_PENDING', 'MpaStatus': { 'MpaSessionArn': 'string', 'Status': 'PENDING'|'APPROVED'|'FAILED'|'CANCELLED', 'InitiationDate': datetime(2015, 1, 1), 'StatusMessage': 'string' } } }
Response Structure
(dict) –
MpaTeamAssociation (dict) –
The details of the MPA team association.
Action (string) –
The protected operation associated with the MPA team.
MpaTeamArn (string) –
The ARN of the MPA team.
AssociationState (string) –
The state of the MPA team association.
MpaStatus (dict) –
The MPA session status for the association, if applicable.
MpaSessionArn (string) –
The ARN of the MPA session.
Status (string) –
The current status of the MPA session.
InitiationDate (datetime) –
The date and time when the MPA session was initiated.
StatusMessage (string) –
The message providing additional information about the MPA session status.
Exceptions
PaymentCryptographyControlPlane.Client.exceptions.ServiceQuotaExceededExceptionPaymentCryptographyControlPlane.Client.exceptions.ServiceUnavailableExceptionPaymentCryptographyControlPlane.Client.exceptions.ValidationExceptionPaymentCryptographyControlPlane.Client.exceptions.ConflictExceptionPaymentCryptographyControlPlane.Client.exceptions.AccessDeniedExceptionPaymentCryptographyControlPlane.Client.exceptions.ResourceNotFoundExceptionPaymentCryptographyControlPlane.Client.exceptions.ThrottlingExceptionPaymentCryptographyControlPlane.Client.exceptions.InternalServerException