Struct aws_sdk_clouddirectory::operation::upgrade_published_schema::builders::UpgradePublishedSchemaFluentBuilder
source · pub struct UpgradePublishedSchemaFluentBuilder { /* private fields */ }Expand description
Fluent builder constructing a request to UpgradePublishedSchema.
Upgrades a published schema under a new minor version revision using the current contents of DevelopmentSchemaArn.
Implementations§
source§impl UpgradePublishedSchemaFluentBuilder
impl UpgradePublishedSchemaFluentBuilder
sourcepub fn as_input(&self) -> &UpgradePublishedSchemaInputBuilder
pub fn as_input(&self) -> &UpgradePublishedSchemaInputBuilder
Access the UpgradePublishedSchema as a reference.
sourcepub async fn send(
self
) -> Result<UpgradePublishedSchemaOutput, SdkError<UpgradePublishedSchemaError, HttpResponse>>
pub async fn send( self ) -> Result<UpgradePublishedSchemaOutput, SdkError<UpgradePublishedSchemaError, 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<UpgradePublishedSchemaOutput, UpgradePublishedSchemaError, Self>
pub fn customize( self ) -> CustomizableOperation<UpgradePublishedSchemaOutput, UpgradePublishedSchemaError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn development_schema_arn(self, input: impl Into<String>) -> Self
pub fn development_schema_arn(self, input: impl Into<String>) -> Self
The ARN of the development schema with the changes used for the upgrade.
sourcepub fn set_development_schema_arn(self, input: Option<String>) -> Self
pub fn set_development_schema_arn(self, input: Option<String>) -> Self
The ARN of the development schema with the changes used for the upgrade.
sourcepub fn get_development_schema_arn(&self) -> &Option<String>
pub fn get_development_schema_arn(&self) -> &Option<String>
The ARN of the development schema with the changes used for the upgrade.
sourcepub fn published_schema_arn(self, input: impl Into<String>) -> Self
pub fn published_schema_arn(self, input: impl Into<String>) -> Self
The ARN of the published schema to be upgraded.
sourcepub fn set_published_schema_arn(self, input: Option<String>) -> Self
pub fn set_published_schema_arn(self, input: Option<String>) -> Self
The ARN of the published schema to be upgraded.
sourcepub fn get_published_schema_arn(&self) -> &Option<String>
pub fn get_published_schema_arn(&self) -> &Option<String>
The ARN of the published schema to be upgraded.
sourcepub fn minor_version(self, input: impl Into<String>) -> Self
pub fn minor_version(self, input: impl Into<String>) -> Self
Identifies the minor version of the published schema that will be created. This parameter is NOT optional.
sourcepub fn set_minor_version(self, input: Option<String>) -> Self
pub fn set_minor_version(self, input: Option<String>) -> Self
Identifies the minor version of the published schema that will be created. This parameter is NOT optional.
sourcepub fn get_minor_version(&self) -> &Option<String>
pub fn get_minor_version(&self) -> &Option<String>
Identifies the minor version of the published schema that will be created. This parameter is NOT optional.
sourcepub fn dry_run(self, input: bool) -> Self
pub fn dry_run(self, input: bool) -> Self
Used for testing whether the Development schema provided is backwards compatible, or not, with the publish schema provided by the user to be upgraded. If schema compatibility fails, an exception would be thrown else the call would succeed. This parameter is optional and defaults to false.
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 Development schema provided is backwards compatible, or not, with the publish schema provided by the user to be upgraded. If schema compatibility fails, an exception would be thrown else the call would succeed. This parameter is optional and defaults to false.
sourcepub fn get_dry_run(&self) -> &Option<bool>
pub fn get_dry_run(&self) -> &Option<bool>
Used for testing whether the Development schema provided is backwards compatible, or not, with the publish schema provided by the user to be upgraded. If schema compatibility fails, an exception would be thrown else the call would succeed. This parameter is optional and defaults to false.
Trait Implementations§
source§impl Clone for UpgradePublishedSchemaFluentBuilder
impl Clone for UpgradePublishedSchemaFluentBuilder
source§fn clone(&self) -> UpgradePublishedSchemaFluentBuilder
fn clone(&self) -> UpgradePublishedSchemaFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more