deleteCustomPlugin method

Future<DeleteCustomPluginResponse> deleteCustomPlugin({
  1. required String customPluginArn,
})

Deletes a custom plugin.

May throw BadRequestException. May throw ForbiddenException. May throw InternalServerErrorException. May throw NotFoundException. May throw ServiceUnavailableException. May throw TooManyRequestsException. May throw UnauthorizedException.

Parameter customPluginArn : The Amazon Resource Name (ARN) of the custom plugin that you want to delete.

Implementation

Future<DeleteCustomPluginResponse> deleteCustomPlugin({
  required String customPluginArn,
}) async {
  final response = await _protocol.send(
    payload: null,
    method: 'DELETE',
    requestUri: '/v1/custom-plugins/${Uri.encodeComponent(customPluginArn)}',
    exceptionFnMap: _exceptionFns,
  );
  return DeleteCustomPluginResponse.fromJson(response);
}