AgentsforBedrock / Client / delete_flow

delete_flow#

AgentsforBedrock.Client.delete_flow(**kwargs)#

Deletes a flow.

See also: AWS API Documentation

Request Syntax

response = client.delete_flow(
    flowIdentifier='string',
    skipResourceInUseCheck=True|False
)
Parameters:
  • flowIdentifier (string) –

    [REQUIRED]

    The unique identifier of the flow.

  • skipResourceInUseCheck (boolean) – By default, this value is false and deletion is stopped if the resource is in use. If you set it to true, the resource will be deleted even if the resource is in use.

Return type:

dict

Returns:

Response Syntax

{
    'id': 'string'
}

Response Structure

  • (dict) –

    • id (string) –

      The unique identifier of the flow.

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