describeWorkerConfiguration method

Future<DescribeWorkerConfigurationResponse> describeWorkerConfiguration({
  1. required String workerConfigurationArn,
})

Returns information about a 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 get information about.

Implementation

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