pub struct UpdateSchemaFluentBuilder { /* 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§
source§impl UpdateSchemaFluentBuilder
impl UpdateSchemaFluentBuilder
sourcepub fn as_input(&self) -> &UpdateSchemaInputBuilder
pub fn as_input(&self) -> &UpdateSchemaInputBuilder
Access the UpdateSchema as a reference.
sourcepub async fn send(
self,
) -> Result<UpdateSchemaOutput, SdkError<UpdateSchemaError, HttpResponse>>
pub async fn send( self, ) -> Result<UpdateSchemaOutput, SdkError<UpdateSchemaError, HttpResponse>>
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 customize(
self,
) -> CustomizableOperation<UpdateSchemaOutput, UpdateSchemaError, Self>
pub fn customize( self, ) -> CustomizableOperation<UpdateSchemaOutput, UpdateSchemaError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
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
SchemaArn
orSchemaName
has to be provided. -
SchemaId$SchemaName: The name of the schema. One of
SchemaArn
orSchemaName
has 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
SchemaArn
orSchemaName
has to be provided. -
SchemaId$SchemaName: The name of the schema. One of
SchemaArn
orSchemaName
has to be provided.
sourcepub fn get_schema_id(&self) -> &Option<SchemaId>
pub fn get_schema_id(&self) -> &Option<SchemaId>
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.
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 get_schema_version_number(&self) -> &Option<SchemaVersionNumber>
pub fn get_schema_version_number(&self) -> &Option<SchemaVersionNumber>
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 get_compatibility(&self) -> &Option<Compatibility>
pub fn get_compatibility(&self) -> &Option<Compatibility>
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.
sourcepub fn get_description(&self) -> &Option<String>
pub fn get_description(&self) -> &Option<String>
The new description for the schema.
Trait Implementations§
source§impl Clone for UpdateSchemaFluentBuilder
impl Clone for UpdateSchemaFluentBuilder
source§fn clone(&self) -> UpdateSchemaFluentBuilder
fn clone(&self) -> UpdateSchemaFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreAuto Trait Implementations§
impl Freeze for UpdateSchemaFluentBuilder
impl !RefUnwindSafe for UpdateSchemaFluentBuilder
impl Send for UpdateSchemaFluentBuilder
impl Sync for UpdateSchemaFluentBuilder
impl Unpin for UpdateSchemaFluentBuilder
impl !UnwindSafe for UpdateSchemaFluentBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more