Connect / Client / list_security_profile_flow_modules

list_security_profile_flow_modules

Connect.Client.list_security_profile_flow_modules(**kwargs)

A list of Flow Modules an AI Agent can invoke as a tool

See also: AWS API Documentation

Request Syntax

response = client.list_security_profile_flow_modules(
    SecurityProfileId='string',
    InstanceId='string',
    NextToken='string',
    MaxResults=123
)
Parameters:
  • SecurityProfileId (string) –

    [REQUIRED]

    The identifier for the security profile.

  • 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. The default MaxResult size is 100.

Return type:

dict

Returns:

Response Syntax

{
    'AllowedFlowModules': [
        {
            'Type': 'MCP',
            'FlowModuleId': 'string'
        },
    ],
    'NextToken': 'string',
    'LastModifiedTime': datetime(2015, 1, 1),
    'LastModifiedRegion': 'string'
}

Response Structure

  • (dict) –

    • AllowedFlowModules (list) –

      A list of Flow Modules an AI Agent can invoke as a tool.

      • (dict) –

        A list of Flow Modules an AI Agent can invoke as a tool

        • Type (string) –

          Only Type we support is MCP.

        • FlowModuleId (string) –

          If of Flow Modules invocable as tool

    • 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.

    • LastModifiedTime (datetime) –

      The time the flow module was last modified.

    • LastModifiedRegion (string) –

      The Region that flow module was last modified in.

Exceptions

  • Connect.Client.exceptions.InvalidRequestException

  • Connect.Client.exceptions.InvalidParameterException

  • Connect.Client.exceptions.ResourceNotFoundException

  • Connect.Client.exceptions.ThrottlingException

  • Connect.Client.exceptions.InternalServiceException