describeAppInstance method

Future<DescribeAppInstanceResponse> describeAppInstance({
  1. required String appInstanceArn,
})

Returns the full details of an AppInstance.

May throw BadRequestException. May throw ForbiddenException. May throw ThrottledClientException. May throw UnauthorizedClientException. May throw ServiceUnavailableException. May throw ServiceFailureException.

Parameter appInstanceArn : The ARN of the app instance.

Implementation

Future<DescribeAppInstanceResponse> describeAppInstance({
  required String appInstanceArn,
}) async {
  ArgumentError.checkNotNull(appInstanceArn, 'appInstanceArn');
  _s.validateStringLength(
    'appInstanceArn',
    appInstanceArn,
    5,
    1600,
    isRequired: true,
  );
  final response = await _protocol.send(
    payload: null,
    method: 'GET',
    requestUri: '/app-instances/${Uri.encodeComponent(appInstanceArn)}',
    exceptionFnMap: _exceptionFns,
  );
  return DescribeAppInstanceResponse.fromJson(response);
}