deleteComponent method

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

Deletes a component build version.

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

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

Implementation

Future<DeleteComponentResponse> deleteComponent({
  required String componentBuildVersionArn,
}) async {
  ArgumentError.checkNotNull(
      componentBuildVersionArn, 'componentBuildVersionArn');
  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);
}