describeAppInstanceAdmin method

Future<DescribeAppInstanceAdminResponse> describeAppInstanceAdmin({
  1. required String appInstanceAdminArn,
  2. required String appInstanceArn,
})

Returns the full details of an AppInstanceAdmin.

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

Parameter appInstanceAdminArn : The ARN of the app instance administrator.

Parameter appInstanceArn : The ARN of the app instance.

Implementation

Future<DescribeAppInstanceAdminResponse> describeAppInstanceAdmin({
  required String appInstanceAdminArn,
  required String appInstanceArn,
}) async {
  ArgumentError.checkNotNull(appInstanceAdminArn, 'appInstanceAdminArn');
  _s.validateStringLength(
    'appInstanceAdminArn',
    appInstanceAdminArn,
    5,
    1600,
    isRequired: true,
  );
  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)}/admins/${Uri.encodeComponent(appInstanceAdminArn)}',
    exceptionFnMap: _exceptionFns,
  );
  return DescribeAppInstanceAdminResponse.fromJson(response);
}