delete_flow
¶
delete_flow(
flow_identifier: FlowIdentifier,
*,
config_overrides: Optional[BedrockAgentClientConfig] = None,
skip_resource_in_use_check: Optional[bool] = None,
) -> DeleteFlowResponse
Deletes a flow.
Parameters:
-
flow_identifier(FlowIdentifier) –The unique identifier of the flow.
-
skip_resource_in_use_check(Optional[bool], default:None) –By default, this value is
falseand 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.
Raises:
-
AccessDeniedException–The request is denied because of missing access permissions.
-
ConflictException–There was a conflict performing an operation.
-
InternalServerException–An internal server error occurred. Retry your request.
-
ResourceNotFoundException–The specified resource Amazon Resource Name (ARN) was not found. Check the Amazon Resource Name (ARN) and try your request again.
-
ThrottlingException–The number of requests exceeds the limit. Resubmit your request later.
-
ValidationException–Input validation failed. Check your request parameters and retry the request.
-
UnknownServiceError–The service returned an error code this client does not model.