list_profile_permissions

signer.Client.list_profile_permissions(**kwargs)

Lists the cross-account permissions associated with a signing profile.

See also: AWS API Documentation

Request Syntax

response = client.list_profile_permissions(
    profileName='string',
    nextToken='string'
)
Parameters
  • profileName (string) --

    [REQUIRED]

    Name of the signing profile containing the cross-account permissions.

  • nextToken (string) -- String for specifying the next set of paginated results.
Return type

dict

Returns

Response Syntax

{
    'revisionId': 'string',
    'policySizeBytes': 123,
    'permissions': [
        {
            'action': 'string',
            'principal': 'string',
            'statementId': 'string',
            'profileVersion': 'string'
        },
    ],
    'nextToken': 'string'
}

Response Structure

  • (dict) --

    • revisionId (string) --

      The identifier for the current revision of profile permissions.

    • policySizeBytes (integer) --

      Total size of the policy associated with the Signing Profile in bytes.

    • permissions (list) --

      List of permissions associated with the Signing Profile.

      • (dict) --

        A cross-account permission for a signing profile.

        • action (string) --

          An AWS Signer action permitted as part of cross-account permissions.

        • principal (string) --

          The AWS principal that has been granted a cross-account permission.

        • statementId (string) --

          A unique identifier for a cross-account permission statement.

        • profileVersion (string) --

          The signing profile version that a permission applies to.

    • nextToken (string) --

      String for specifying the next set of paginated results.

Exceptions

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