disassociateFleet method
Disassociates the specified fleet from the specified stack.
May throw ConcurrentModificationException.
May throw OperationNotPermittedException.
May throw ResourceInUseException.
May throw ResourceNotFoundException.
Parameter fleetName :
The name of the fleet.
Parameter stackName :
The name of the stack.
Implementation
Future<void> disassociateFleet({
required String fleetName,
required String stackName,
}) async {
final headers = <String, String>{
'Content-Type': 'application/x-amz-json-1.1',
'X-Amz-Target': 'PhotonAdminProxyService.DisassociateFleet'
};
await _protocol.send(
method: 'POST',
requestUri: '/',
exceptionFnMap: _exceptionFns,
// TODO queryParams
headers: headers,
payload: {
'FleetName': fleetName,
'StackName': stackName,
},
);
}