Skip to main content

Crate mz_aws_glue_schema_registry

Crate mz_aws_glue_schema_registry 

Source
Expand description

An API client for the AWS Glue Schema Registry.

This crate is the Glue analogue of mz-ccsr, the Confluent Schema Registry client. It is intentionally narrow: only the surface needed by the current Materialize integration is implemented.

Currently implemented:

Future work will add:

  • register_schema_version, get_schema_version_by_definition, get_compatibility, update_compatibility — sink encode.

§Example usage

use mz_aws_glue_schema_registry::{Client, ClientConfig};
use aws_types::SdkConfig;

let sdk_config: SdkConfig = unimplemented!("from AwsConnection::load_sdk_config");
let client = ClientConfig::new(sdk_config).build();
let registry = client.get_registry("my-registry").await?;

Structs§

Client
An API client for the AWS Glue Schema Registry.
ClientConfig
Builder for Client.
Registry
A Glue Schema Registry, as returned by Client::get_registry.
SchemaVersion
A Glue schema version, as returned by Client::get_schema_version_by_id and Client::get_schema_version_latest_by_name.

Enums§

GetRegistryError
Errors returned by Client::get_registry.
GetSchemaVersionError
Errors returned by Client::get_schema_version_by_id and Client::get_schema_version_latest_by_name.
RegistryLifecycleStatus
Lifecycle status of a Glue registry.
SchemaVersionLifecycleStatus
Lifecycle status of a Glue schema version.