Struct aws_sdk_glue::client::fluent_builders::GetSchemaByDefinition
source · pub struct GetSchemaByDefinition { /* private fields */ }Expand description
Fluent builder constructing a request to GetSchemaByDefinition.
Retrieves a schema by the SchemaDefinition. The schema definition is sent to the Schema Registry, canonicalized, and hashed. If the hash is matched within the scope of the SchemaName or ARN (or the default registry, if none is supplied), that schema’s metadata is returned. Otherwise, a 404 or NotFound error is returned. Schema versions in Deleted statuses will not be included in the results.
Implementations§
source§impl GetSchemaByDefinition
impl GetSchemaByDefinition
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<GetSchemaByDefinition, AwsResponseRetryClassifier>, SdkError<GetSchemaByDefinitionError>>
pub async fn customize(
self
) -> Result<CustomizableOperation<GetSchemaByDefinition, AwsResponseRetryClassifier>, SdkError<GetSchemaByDefinitionError>>
Consume this builder, creating a customizable operation that can be modified before being sent. The operation’s inner http::Request can be modified as well.
sourcepub async fn send(
self
) -> Result<GetSchemaByDefinitionOutput, SdkError<GetSchemaByDefinitionError>>
pub async fn send(
self
) -> Result<GetSchemaByDefinitionOutput, SdkError<GetSchemaByDefinitionError>>
Sends the request and returns the response.
If an error occurs, an SdkError will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub fn schema_id(self, input: SchemaId) -> Self
pub fn schema_id(self, input: SchemaId) -> Self
This is a wrapper structure to contain schema identity fields. The structure contains:
-
SchemaId$SchemaArn: The Amazon Resource Name (ARN) of the schema. One of
SchemaArnorSchemaNamehas to be provided. -
SchemaId$SchemaName: The name of the schema. One of
SchemaArnorSchemaNamehas to be provided.
sourcepub fn set_schema_id(self, input: Option<SchemaId>) -> Self
pub fn set_schema_id(self, input: Option<SchemaId>) -> Self
This is a wrapper structure to contain schema identity fields. The structure contains:
-
SchemaId$SchemaArn: The Amazon Resource Name (ARN) of the schema. One of
SchemaArnorSchemaNamehas to be provided. -
SchemaId$SchemaName: The name of the schema. One of
SchemaArnorSchemaNamehas to be provided.
sourcepub fn schema_definition(self, input: impl Into<String>) -> Self
pub fn schema_definition(self, input: impl Into<String>) -> Self
The definition of the schema for which schema details are required.
sourcepub fn set_schema_definition(self, input: Option<String>) -> Self
pub fn set_schema_definition(self, input: Option<String>) -> Self
The definition of the schema for which schema details are required.
Trait Implementations§
source§impl Clone for GetSchemaByDefinition
impl Clone for GetSchemaByDefinition
source§fn clone(&self) -> GetSchemaByDefinition
fn clone(&self) -> GetSchemaByDefinition
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more