signer / Client / add_profile_permission
add_profile_permission#
- signer.Client.add_profile_permission(**kwargs)#
Adds cross-account permissions to a signing profile.
See also: AWS API Documentation
Request Syntax
response = client.add_profile_permission( profileName='string', profileVersion='string', action='string', principal='string', revisionId='string', statementId='string' )
- Parameters:
profileName (string) –
[REQUIRED]
The human-readable name of the signing profile.
profileVersion (string) – The version of the signing profile.
action (string) –
[REQUIRED]
The AWS Signer action permitted as part of cross-account permissions.
principal (string) –
[REQUIRED]
The AWS principal receiving cross-account permissions. This may be an IAM role or another AWS account ID.
revisionId (string) – A unique identifier for the current profile revision.
statementId (string) –
[REQUIRED]
A unique identifier for the cross-account permission statement.
- Return type:
dict
- Returns:
Response Syntax
{ 'revisionId': 'string' }
Response Structure
(dict) –
revisionId (string) –
A unique identifier for the current profile revision.
Exceptions
signer.Client.exceptions.ValidationException
signer.Client.exceptions.ResourceNotFoundException
signer.Client.exceptions.AccessDeniedException
signer.Client.exceptions.ServiceLimitExceededException
signer.Client.exceptions.ConflictException
signer.Client.exceptions.TooManyRequestsException
signer.Client.exceptions.InternalServiceErrorException