describeDraftAppVersionResourcesImportStatus method

Future<DescribeDraftAppVersionResourcesImportStatusResponse> describeDraftAppVersionResourcesImportStatus({
  1. required String appArn,
})

Describes the status of importing resources to an application version.

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.

Implementation

Future<DescribeDraftAppVersionResourcesImportStatusResponse>
    describeDraftAppVersionResourcesImportStatus({
  required String appArn,
}) async {
  final $payload = <String, dynamic>{
    'appArn': appArn,
  };
  final response = await _protocol.send(
    payload: $payload,
    method: 'POST',
    requestUri: '/describe-draft-app-version-resources-import-status',
    exceptionFnMap: _exceptionFns,
  );
  return DescribeDraftAppVersionResourcesImportStatusResponse.fromJson(
      response);
}