deleteComponent method

Future<DeleteComponentResponse> deleteComponent({
  1. required String componentBuildVersionArn,
})

Deletes a component build version.

May throw CallRateLimitExceededException. May throw ClientException. May throw ForbiddenException. May throw InvalidRequestException. May throw ResourceDependencyException. May throw ServiceException. May throw ServiceUnavailableException.

Parameter componentBuildVersionArn : The Amazon Resource Name (ARN) of the component build version to delete.

Implementation

Future<DeleteComponentResponse> deleteComponent({
  required String componentBuildVersionArn,
}) async {
  final $query = <String, List<String>>{
    'componentBuildVersionArn': [componentBuildVersionArn],
  };
  final response = await _protocol.send(
    payload: null,
    method: 'DELETE',
    requestUri: '/DeleteComponent',
    queryParams: $query,
    exceptionFnMap: _exceptionFns,
  );
  return DeleteComponentResponse.fromJson(response);
}