describeAppVersionResourcesResolutionStatus method
Future<DescribeAppVersionResourcesResolutionStatusResponse>
describeAppVersionResourcesResolutionStatus({})
Returns the resolution status for the specified resolution identifier for
an application version. If resolutionId is not specified, the
current resolution status is returned.
May throw AccessDeniedException.
May throw InternalServerException.
May throw ResourceNotFoundException.
May throw ThrottlingException.
May throw ValidationException.
Parameter appArn :
Amazon Resource Name (ARN) of the Resilience Hub application. The format
for this ARN is:
arn:partition:resiliencehub:region:account:app/app-id.
For more information about ARNs, see
Amazon Resource Names (ARNs) in the Amazon Web Services General
Reference guide.
Parameter appVersion :
The version of the application.
Parameter resolutionId :
The identifier for a specific resolution.
Implementation
Future<DescribeAppVersionResourcesResolutionStatusResponse>
describeAppVersionResourcesResolutionStatus({
required String appArn,
required String appVersion,
String? resolutionId,
}) async {
final $payload = <String, dynamic>{
'appArn': appArn,
'appVersion': appVersion,
if (resolutionId != null) 'resolutionId': resolutionId,
};
final response = await _protocol.send(
payload: $payload,
method: 'POST',
requestUri: '/describe-app-version-resources-resolution-status',
exceptionFnMap: _exceptionFns,
);
return DescribeAppVersionResourcesResolutionStatusResponse.fromJson(
response);
}