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