deleteFleet method
Deletes a fleet.
May throw InvalidParameterException. May throw InternalServerException. May throw ThrottlingException.
Parameter fleet
:
The Amazon Resource Name (ARN) of the fleet.
Implementation
Future<void> deleteFleet({
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: '/deleteFleet',
exceptionFnMap: _exceptionFns,
);
}