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'
)
[REQUIRED]
The human-readable name of the signing profile.
[REQUIRED]
The AWS Signer action permitted as part of cross-account permissions.
[REQUIRED]
The AWS principal receiving cross-account permissions. This may be an IAM role or another AWS account ID.
[REQUIRED]
A unique identifier for the cross-account permission statement.
dict
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