AgentsforBedrock / Client / delete_flow_version
delete_flow_version#
- AgentsforBedrock.Client.delete_flow_version(**kwargs)#
Deletes a version of a flow.
See also: AWS API Documentation
Request Syntax
response = client.delete_flow_version( flowIdentifier='string', flowVersion='string', skipResourceInUseCheck=True|False )
- Parameters:
flowIdentifier (string) –
[REQUIRED]
The unique identifier of the flow whose version that you want to delete
flowVersion (string) –
[REQUIRED]
The version of the flow that you want to delete.
skipResourceInUseCheck (boolean) – By default, this value is
false
and deletion is stopped if the resource is in use. If you set it totrue
, the resource will be deleted even if the resource is in use.
- Return type:
dict
- Returns:
Response Syntax
{ 'id': 'string', 'version': 'string' }
Response Structure
(dict) –
id (string) –
The unique identifier of the flow.
version (string) –
The version of the flow being deleted.
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