remove_profile_permission

signer.Client.remove_profile_permission(**kwargs)

Removes cross-account permissions from a signing profile.

See also: AWS API Documentation

Request Syntax

response = client.remove_profile_permission(
    profileName='string',
    revisionId='string',
    statementId='string'
)
Parameters
  • profileName (string) --

    [REQUIRED]

    A human-readable name for the signing profile with permissions to be removed.

  • revisionId (string) --

    [REQUIRED]

    An identifier for the current revision of the signing profile permissions.

  • statementId (string) --

    [REQUIRED]

    A unique identifier for the cross-account permissions statement.

Return type

dict

Returns

Response Syntax

{
    'revisionId': 'string'
}

Response Structure

  • (dict) --

    • revisionId (string) --

      An identifier for the current revision of the profile permissions.

Exceptions

  • signer.Client.exceptions.ValidationException
  • signer.Client.exceptions.ResourceNotFoundException
  • signer.Client.exceptions.AccessDeniedException
  • signer.Client.exceptions.ConflictException
  • signer.Client.exceptions.TooManyRequestsException
  • signer.Client.exceptions.InternalServiceErrorException