getApplication method
Gets an application registered with AWS Systems Manager for SAP. It also returns the components of the application.
May throw InternalServerException.
May throw ValidationException.
Parameter appRegistryArn :
The Amazon Resource Name (ARN) of the application registry.
Parameter applicationArn :
The Amazon Resource Name (ARN) of the application.
Parameter applicationId :
The ID of the application.
Implementation
Future<GetApplicationOutput> getApplication({
String? appRegistryArn,
String? applicationArn,
String? applicationId,
}) async {
final $payload = <String, dynamic>{
if (appRegistryArn != null) 'AppRegistryArn': appRegistryArn,
if (applicationArn != null) 'ApplicationArn': applicationArn,
if (applicationId != null) 'ApplicationId': applicationId,
};
final response = await _protocol.send(
payload: $payload,
method: 'POST',
requestUri: '/get-application',
exceptionFnMap: _exceptionFns,
);
return GetApplicationOutput.fromJson(response);
}