Struct aws_sdk_clouddirectory::operation::create_schema::builders::CreateSchemaFluentBuilder
source · pub struct CreateSchemaFluentBuilder { /* private fields */ }Expand description
Fluent builder constructing a request to CreateSchema.
Creates a new schema in a development state. A schema can exist in three phases:
-
Development: This is a mutable phase of the schema. All new schemas are in the development phase. Once the schema is finalized, it can be published.
-
Published: Published schemas are immutable and have a version associated with them.
-
Applied: Applied schemas are mutable in a way that allows you to add new schema facets. You can also add new, nonrequired attributes to existing schema facets. You can apply only published schemas to directories.
Implementations§
source§impl CreateSchemaFluentBuilder
impl CreateSchemaFluentBuilder
sourcepub fn as_input(&self) -> &CreateSchemaInputBuilder
pub fn as_input(&self) -> &CreateSchemaInputBuilder
Access the CreateSchema as a reference.
sourcepub async fn send(
self
) -> Result<CreateSchemaOutput, SdkError<CreateSchemaError, HttpResponse>>
pub async fn send( self ) -> Result<CreateSchemaOutput, SdkError<CreateSchemaError, 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<CreateSchemaOutput, CreateSchemaError, Self>
pub fn customize( self ) -> CustomizableOperation<CreateSchemaOutput, CreateSchemaError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn name(self, input: impl Into<String>) -> Self
pub fn name(self, input: impl Into<String>) -> Self
The name that is associated with the schema. This is unique to each account and in each region.
Trait Implementations§
source§impl Clone for CreateSchemaFluentBuilder
impl Clone for CreateSchemaFluentBuilder
source§fn clone(&self) -> CreateSchemaFluentBuilder
fn clone(&self) -> CreateSchemaFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more