describeFleet method

Future<DescribeFleetResponse> describeFleet({
  1. required String fleet,
})

Describes a fleet.

May throw ResourceNotFoundException. May throw InvalidParameterException. May throw InternalServerException. May throw ThrottlingException.

Parameter fleet : The Amazon Resource Name (ARN) of the fleet.

Implementation

Future<DescribeFleetResponse> describeFleet({
  required String fleet,
}) async {
  ArgumentError.checkNotNull(fleet, 'fleet');
  _s.validateStringLength(
    'fleet',
    fleet,
    1,
    1224,
    isRequired: true,
  );
  final $payload = <String, dynamic>{
    'fleet': fleet,
  };
  final response = await _protocol.send(
    payload: $payload,
    method: 'POST',
    requestUri: '/describeFleet',
    exceptionFnMap: _exceptionFns,
  );
  return DescribeFleetResponse.fromJson(response);
}