list_security_profile_permissions

list_security_profile_permissions(**kwargs)

This API is in preview release for Amazon Connect and is subject to change.

Lists the permissions granted to a security profile.

See also: AWS API Documentation

Request Syntax

response = client.list_security_profile_permissions(
    SecurityProfileId='string',
    InstanceId='string',
    NextToken='string',
    MaxResults=123
)
Parameters
  • SecurityProfileId (string) --

    [REQUIRED]

    The identifier for the security profle.

  • InstanceId (string) --

    [REQUIRED]

    The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.

  • NextToken (string) -- The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.
  • MaxResults (integer) -- The maximum number of results to return per page.
Return type

dict

Returns

Response Syntax

{
    'Permissions': [
        'string',
    ],
    'NextToken': 'string'
}

Response Structure

  • (dict) --

    • Permissions (list) --

      The permissions granted to the security profile. For a complete list of valid permissions, see List of security profile permissions.

      • (string) --
    • NextToken (string) --

      If there are additional results, this is the token for the next set of results.

Exceptions

  • Connect.Client.exceptions.InvalidRequestException
  • Connect.Client.exceptions.InvalidParameterException
  • Connect.Client.exceptions.ResourceNotFoundException
  • Connect.Client.exceptions.ThrottlingException
  • Connect.Client.exceptions.InternalServiceException