Struct aws_sdk_glue::client::fluent_builders::UpdateSchema
source · [−]pub struct UpdateSchema { /* private fields */ }Expand description
Fluent builder constructing a request to UpdateSchema.
Updates the description, compatibility setting, or version checkpoint for a schema set.
For updating the compatibility setting, the call will not validate compatibility for the entire set of schema versions with the new compatibility setting. If the value for Compatibility is provided, the VersionNumber (a checkpoint) is also required. The API will validate the checkpoint version number for consistency.
If the value for the VersionNumber (checkpoint) is provided, Compatibility is optional and this can be used to set/reset a checkpoint for the schema.
This update will happen only if the schema is in the AVAILABLE state.
Implementations
sourceimpl UpdateSchema
impl UpdateSchema
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<UpdateSchema, AwsResponseRetryClassifier>, SdkError<UpdateSchemaError>>
pub async fn customize(
self
) -> Result<CustomizableOperation<UpdateSchema, AwsResponseRetryClassifier>, SdkError<UpdateSchemaError>>
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<UpdateSchemaOutput, SdkError<UpdateSchemaError>>
pub async fn send(
self
) -> Result<UpdateSchemaOutput, SdkError<UpdateSchemaError>>
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_version_number(self, input: SchemaVersionNumber) -> Self
pub fn schema_version_number(self, input: SchemaVersionNumber) -> Self
Version number required for check pointing. One of VersionNumber or Compatibility has to be provided.
sourcepub fn set_schema_version_number(
self,
input: Option<SchemaVersionNumber>
) -> Self
pub fn set_schema_version_number(
self,
input: Option<SchemaVersionNumber>
) -> Self
Version number required for check pointing. One of VersionNumber or Compatibility has to be provided.
sourcepub fn compatibility(self, input: Compatibility) -> Self
pub fn compatibility(self, input: Compatibility) -> Self
The new compatibility setting for the schema.
sourcepub fn set_compatibility(self, input: Option<Compatibility>) -> Self
pub fn set_compatibility(self, input: Option<Compatibility>) -> Self
The new compatibility setting for the schema.
sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
The new description for the schema.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
The new description for the schema.
Trait Implementations
sourceimpl Clone for UpdateSchema
impl Clone for UpdateSchema
sourcefn clone(&self) -> UpdateSchema
fn clone(&self) -> UpdateSchema
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more