deleteWorkerConfiguration method

Future<DeleteWorkerConfigurationResponse> deleteWorkerConfiguration({
  1. required String workerConfigurationArn,
})

Deletes the specified worker configuration.

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

Parameter workerConfigurationArn : The Amazon Resource Name (ARN) of the worker configuration that you want to delete.

Implementation

Future<DeleteWorkerConfigurationResponse> deleteWorkerConfiguration({
  required String workerConfigurationArn,
}) async {
  final response = await _protocol.send(
    payload: null,
    method: 'DELETE',
    requestUri:
        '/v1/worker-configurations/${Uri.encodeComponent(workerConfigurationArn)}',
    exceptionFnMap: _exceptionFns,
  );
  return DeleteWorkerConfigurationResponse.fromJson(response);
}