describeAppVersionAppComponent method
Describes an Application Component in the Resilience Hub application.
May throw AccessDeniedException.
May throw ConflictException.
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 :
Resilience Hub application version.
Parameter id :
Identifier of the Application Component.
Implementation
Future<DescribeAppVersionAppComponentResponse>
describeAppVersionAppComponent({
required String appArn,
required String appVersion,
required String id,
}) async {
final $payload = <String, dynamic>{
'appArn': appArn,
'appVersion': appVersion,
'id': id,
};
final response = await _protocol.send(
payload: $payload,
method: 'POST',
requestUri: '/describe-app-version-app-component',
exceptionFnMap: _exceptionFns,
);
return DescribeAppVersionAppComponentResponse.fromJson(response);
}