Struct aws_sdk_glue::client::fluent_builders::UpdateSchema
source ·
[−]pub struct UpdateSchema<C = DynConnector, M = DefaultMiddleware, R = Standard> { /* fields omitted */ }
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
impl<C, M, R> UpdateSchema<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> UpdateSchema<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<UpdateSchemaOutput, SdkError<UpdateSchemaError>> where
R::Policy: SmithyRetryPolicy<UpdateSchemaInputOperationOutputAlias, UpdateSchemaOutput, UpdateSchemaError, UpdateSchemaInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<UpdateSchemaOutput, SdkError<UpdateSchemaError>> where
R::Policy: SmithyRetryPolicy<UpdateSchemaInputOperationOutputAlias, UpdateSchemaOutput, UpdateSchemaError, UpdateSchemaInputOperationRetryAlias>,
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.
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
SchemaArn
orSchemaName
has to be provided. -
SchemaId$SchemaName: The name of the schema. One of
SchemaArn
orSchemaName
has to be provided.
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
SchemaArn
orSchemaName
has to be provided. -
SchemaId$SchemaName: The name of the schema. One of
SchemaArn
orSchemaName
has to be provided.
Version number required for check pointing. One of VersionNumber
or Compatibility
has to be provided.
Version number required for check pointing. One of VersionNumber
or Compatibility
has to be provided.
The new compatibility setting for the schema.
The new compatibility setting for the schema.
The new description for the schema.
The new description for the schema.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !RefUnwindSafe for UpdateSchema<C, M, R>
impl<C, M, R> Unpin for UpdateSchema<C, M, R>
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !UnwindSafe for UpdateSchema<C, M, R>
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more