Connect / Client / associate_security_profiles

associate_security_profiles

Connect.Client.associate_security_profiles(**kwargs)

Associate security profiles with an Entity in an Amazon Connect instance.

See also: AWS API Documentation

Request Syntax

response = client.associate_security_profiles(
    InstanceId='string',
    SecurityProfiles=[
        {
            'Id': 'string'
        },
    ],
    EntityType='USER'|'AI_AGENT',
    EntityArn='string'
)
Parameters:
  • 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.

  • SecurityProfiles (list) –

    [REQUIRED]

    List of Security Profile Object.

    • (dict) –

      Security profile items.

      • Id (string) –

        Id of a security profile item.

  • EntityType (string) –

    [REQUIRED]

    Only supported type is AI_AGENT.

  • EntityArn (string) –

    [REQUIRED]

    Arn of a Q in Connect AI Agent.

Returns:

None

Exceptions

  • Connect.Client.exceptions.ResourceNotFoundException

  • Connect.Client.exceptions.InvalidRequestException

  • Connect.Client.exceptions.InvalidParameterException

  • Connect.Client.exceptions.AccessDeniedException

  • Connect.Client.exceptions.InternalServiceException

  • Connect.Client.exceptions.ConditionalOperationFailedException

  • Connect.Client.exceptions.ResourceConflictException