describeFleetMetadata method
Provides basic information for the specified fleet, excluding identity provider, networking, and device configuration details.
May throw UnauthorizedException. May throw InternalServerErrorException. May throw InvalidRequestException. May throw ResourceNotFoundException. May throw TooManyRequestsException.
Parameter fleetArn
:
The Amazon Resource Name (ARN) of the fleet.
Implementation
Future<DescribeFleetMetadataResponse> describeFleetMetadata({
required String fleetArn,
}) async {
ArgumentError.checkNotNull(fleetArn, 'fleetArn');
_s.validateStringLength(
'fleetArn',
fleetArn,
20,
2048,
isRequired: true,
);
final $payload = <String, dynamic>{
'FleetArn': fleetArn,
};
final response = await _protocol.send(
payload: $payload,
method: 'POST',
requestUri: '/describeFleetMetadata',
exceptionFnMap: _exceptionFns,
);
return DescribeFleetMetadataResponse.fromJson(response);
}