Struct aws_sdk_clouddirectory::operation::upgrade_applied_schema::builders::UpgradeAppliedSchemaFluentBuilder
source · pub struct UpgradeAppliedSchemaFluentBuilder { /* private fields */ }Expand description
Fluent builder constructing a request to UpgradeAppliedSchema.
Upgrades a single directory in-place using the PublishedSchemaArn with schema updates found in MinorVersion. Backwards-compatible minor version upgrades are instantaneously available for readers on all objects in the directory. Note: This is a synchronous API call and upgrades only one schema on a given directory per call. To upgrade multiple directories from one schema, you would need to call this API on each directory.
Implementations§
source§impl UpgradeAppliedSchemaFluentBuilder
impl UpgradeAppliedSchemaFluentBuilder
sourcepub fn as_input(&self) -> &UpgradeAppliedSchemaInputBuilder
pub fn as_input(&self) -> &UpgradeAppliedSchemaInputBuilder
Access the UpgradeAppliedSchema as a reference.
sourcepub async fn send(
self
) -> Result<UpgradeAppliedSchemaOutput, SdkError<UpgradeAppliedSchemaError, HttpResponse>>
pub async fn send( self ) -> Result<UpgradeAppliedSchemaOutput, SdkError<UpgradeAppliedSchemaError, 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<UpgradeAppliedSchemaOutput, UpgradeAppliedSchemaError, Self>
pub fn customize( self ) -> CustomizableOperation<UpgradeAppliedSchemaOutput, UpgradeAppliedSchemaError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn published_schema_arn(self, input: impl Into<String>) -> Self
pub fn published_schema_arn(self, input: impl Into<String>) -> Self
The revision of the published schema to upgrade the directory to.
sourcepub fn set_published_schema_arn(self, input: Option<String>) -> Self
pub fn set_published_schema_arn(self, input: Option<String>) -> Self
The revision of the published schema to upgrade the directory to.
sourcepub fn get_published_schema_arn(&self) -> &Option<String>
pub fn get_published_schema_arn(&self) -> &Option<String>
The revision of the published schema to upgrade the directory to.
sourcepub fn directory_arn(self, input: impl Into<String>) -> Self
pub fn directory_arn(self, input: impl Into<String>) -> Self
The ARN for the directory to which the upgraded schema will be applied.
sourcepub fn set_directory_arn(self, input: Option<String>) -> Self
pub fn set_directory_arn(self, input: Option<String>) -> Self
The ARN for the directory to which the upgraded schema will be applied.
sourcepub fn get_directory_arn(&self) -> &Option<String>
pub fn get_directory_arn(&self) -> &Option<String>
The ARN for the directory to which the upgraded schema will be applied.
sourcepub fn dry_run(self, input: bool) -> Self
pub fn dry_run(self, input: bool) -> Self
Used for testing whether the major version schemas are backward compatible or not. If schema compatibility fails, an exception would be thrown else the call would succeed but no changes will be saved. This parameter is optional.
sourcepub fn set_dry_run(self, input: Option<bool>) -> Self
pub fn set_dry_run(self, input: Option<bool>) -> Self
Used for testing whether the major version schemas are backward compatible or not. If schema compatibility fails, an exception would be thrown else the call would succeed but no changes will be saved. This parameter is optional.
sourcepub fn get_dry_run(&self) -> &Option<bool>
pub fn get_dry_run(&self) -> &Option<bool>
Used for testing whether the major version schemas are backward compatible or not. If schema compatibility fails, an exception would be thrown else the call would succeed but no changes will be saved. This parameter is optional.
Trait Implementations§
source§impl Clone for UpgradeAppliedSchemaFluentBuilder
impl Clone for UpgradeAppliedSchemaFluentBuilder
source§fn clone(&self) -> UpgradeAppliedSchemaFluentBuilder
fn clone(&self) -> UpgradeAppliedSchemaFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more