Connect / Client / list_security_profile_ai_agents

list_security_profile_ai_agents

Connect.Client.list_security_profile_ai_agents(**kwargs)

Returns a list of the allowed AI agents in a specific security profile.

See also: AWS API Documentation

Request Syntax

response = client.list_security_profile_ai_agents(
    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 Connect Customer 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

{
    'AllowedAIAgents': [
        {
            'Arn': 'string',
            'Type': 'THIRD_PARTY'
        },
    ],
    'NextToken': 'string',
    'LastModifiedTime': datetime(2015, 1, 1),
    'LastModifiedRegion': 'string'
}

Response Structure

  • (dict) –

    • AllowedAIAgents (list) –

      A list of the allowed AI agents and their types.

      • (dict) –

        Information about an AI agent that a security profile allows access to for Agent-to-Agent authorization.

        • Arn (string) –

          The Amazon Resource Name (ARN) of the AI agent.

        • Type (string) –

          The type of the AI agent. The valid value is THIRD_PARTY.

    • NextToken (string) –

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

    • LastModifiedTime (datetime) –

      The timestamp when this resource was last modified.

    • LastModifiedRegion (string) –

      The Amazon Web Services Region where this resource was last modified.

Exceptions

  • Connect.Client.exceptions.InvalidRequestException

  • Connect.Client.exceptions.InvalidParameterException

  • Connect.Client.exceptions.ResourceNotFoundException

  • Connect.Client.exceptions.ThrottlingException

  • Connect.Client.exceptions.InternalServiceException