deleteBlueprint method
Deletes an existing Amazon Bedrock Data Automation Blueprint
May throw AccessDeniedException.
May throw InternalServerException.
May throw ResourceNotFoundException.
May throw ThrottlingException.
May throw ValidationException.
Parameter blueprintArn :
ARN generated at the server side when a Blueprint is created
Parameter blueprintVersion :
Optional field to delete a specific Blueprint version
Implementation
Future<void> deleteBlueprint({
required String blueprintArn,
String? blueprintVersion,
}) async {
final $query = <String, List<String>>{
if (blueprintVersion != null) 'blueprintVersion': [blueprintVersion],
};
final response = await _protocol.send(
payload: null,
method: 'DELETE',
requestUri: '/blueprints/${Uri.encodeComponent(blueprintArn)}/',
queryParams: $query,
exceptionFnMap: _exceptionFns,
);
}