updateApplication method
Updates metadata about an application.
May throw AuthorizationErrorException.
May throw HomeRegionNotSetException.
May throw InvalidParameterException.
May throw InvalidParameterValueException.
May throw ServerInternalErrorException.
Parameter configurationId :
Configuration ID of the application to be updated.
Parameter description :
New description of the application to be updated.
Parameter name :
New name of the application to be updated.
Parameter wave :
The new migration wave of the application that you want to update.
Implementation
Future<void> updateApplication({
required String configurationId,
String? description,
String? name,
String? wave,
}) async {
final headers = <String, String>{
'Content-Type': 'application/x-amz-json-1.1',
'X-Amz-Target': 'AWSPoseidonService_V2015_11_01.UpdateApplication'
};
await _protocol.send(
method: 'POST',
requestUri: '/',
exceptionFnMap: _exceptionFns,
// TODO queryParams
headers: headers,
payload: {
'configurationId': configurationId,
if (description != null) 'description': description,
if (name != null) 'name': name,
if (wave != null) 'wave': wave,
},
);
}