getAppliedSchemaVersion method

Future<GetAppliedSchemaVersionResponse> getAppliedSchemaVersion({
  1. required String schemaArn,
})

Returns current applied schema version ARN, including the minor version in use.

May throw AccessDeniedException. May throw InternalServiceException. May throw InvalidArnException. May throw LimitExceededException. May throw ResourceNotFoundException. May throw RetryableConflictException. May throw ValidationException.

Parameter schemaArn : The ARN of the applied schema.

Implementation

Future<GetAppliedSchemaVersionResponse> getAppliedSchemaVersion({
  required String schemaArn,
}) async {
  final $payload = <String, dynamic>{
    'SchemaArn': schemaArn,
  };
  final response = await _protocol.send(
    payload: $payload,
    method: 'POST',
    requestUri: '/amazonclouddirectory/2017-01-11/schema/getappliedschema',
    exceptionFnMap: _exceptionFns,
  );
  return GetAppliedSchemaVersionResponse.fromJson(response);
}