archiveApplication method
Archive application.
May throw ConflictException.
May throw ResourceNotFoundException.
May throw ServiceQuotaExceededException.
May throw UninitializedAccountException.
Parameter applicationID :
Application ID.
Parameter accountID :
Account ID.
Implementation
Future<Application> archiveApplication({
required String applicationID,
String? accountID,
}) async {
final $payload = <String, dynamic>{
'applicationID': applicationID,
if (accountID != null) 'accountID': accountID,
};
final response = await _protocol.send(
payload: $payload,
method: 'POST',
requestUri: '/ArchiveApplication',
exceptionFnMap: _exceptionFns,
);
return Application.fromJson(response);
}