AgentsforBedrock / Client / update_flow_alias

update_flow_alias#

AgentsforBedrock.Client.update_flow_alias(**kwargs)#

Modifies the alias of a flow. Include both fields that you want to keep and ones that you want to change. For more information, see Deploy a flow in Amazon Bedrock in the Amazon Bedrock User Guide.

See also: AWS API Documentation

Request Syntax

response = client.update_flow_alias(
    aliasIdentifier='string',
    description='string',
    flowIdentifier='string',
    name='string',
    routingConfiguration=[
        {
            'flowVersion': 'string'
        },
    ]
)
Parameters:
  • aliasIdentifier (string) –

    [REQUIRED]

    The unique identifier of the alias.

  • description (string) – A description for the alias.

  • flowIdentifier (string) –

    [REQUIRED]

    The unique identifier of the flow.

  • name (string) –

    [REQUIRED]

    The name of the alias.

  • routingConfiguration (list) –

    [REQUIRED]

    Contains information about the version to which to map the alias.

    • (dict) –

      Contains information about a version that the alias maps to.

      • flowVersion (string) –

        The version that the alias maps to.

Return type:

dict

Returns:

Response Syntax

{
    'arn': 'string',
    'createdAt': datetime(2015, 1, 1),
    'description': 'string',
    'flowId': 'string',
    'id': 'string',
    'name': 'string',
    'routingConfiguration': [
        {
            'flowVersion': 'string'
        },
    ],
    'updatedAt': datetime(2015, 1, 1)
}

Response Structure

  • (dict) –

    • arn (string) –

      The Amazon Resource Name (ARN) of the flow.

    • createdAt (datetime) –

      The time at which the flow was created.

    • description (string) –

      The description of the flow.

    • flowId (string) –

      The unique identifier of the flow.

    • id (string) –

      The unique identifier of the alias.

    • name (string) –

      The name of the alias.

    • routingConfiguration (list) –

      Contains information about the version that the alias is mapped to.

      • (dict) –

        Contains information about a version that the alias maps to.

        • flowVersion (string) –

          The version that the alias maps to.

    • updatedAt (datetime) –

      The time at which the alias was last updated.

Exceptions

  • AgentsforBedrock.Client.exceptions.ThrottlingException

  • AgentsforBedrock.Client.exceptions.AccessDeniedException

  • AgentsforBedrock.Client.exceptions.ValidationException

  • AgentsforBedrock.Client.exceptions.InternalServerException

  • AgentsforBedrock.Client.exceptions.ResourceNotFoundException

  • AgentsforBedrock.Client.exceptions.ConflictException

  • AgentsforBedrock.Client.exceptions.ServiceQuotaExceededException