aws_sdk_clouddirectory/client/
delete_schema.rs

1// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
2impl super::Client {
3    /// Constructs a fluent builder for the [`DeleteSchema`](crate::operation::delete_schema::builders::DeleteSchemaFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`schema_arn(impl Into<String>)`](crate::operation::delete_schema::builders::DeleteSchemaFluentBuilder::schema_arn) / [`set_schema_arn(Option<String>)`](crate::operation::delete_schema::builders::DeleteSchemaFluentBuilder::set_schema_arn):<br>required: **true**<br><p>The Amazon Resource Name (ARN) of the development schema. For more information, see <code>arns</code>.</p><br>
7    /// - On success, responds with [`DeleteSchemaOutput`](crate::operation::delete_schema::DeleteSchemaOutput) with field(s):
8    ///   - [`schema_arn(Option<String>)`](crate::operation::delete_schema::DeleteSchemaOutput::schema_arn): <p>The input ARN that is returned as part of the response. For more information, see <code>arns</code>.</p>
9    /// - On failure, responds with [`SdkError<DeleteSchemaError>`](crate::operation::delete_schema::DeleteSchemaError)
10    pub fn delete_schema(&self) -> crate::operation::delete_schema::builders::DeleteSchemaFluentBuilder {
11        crate::operation::delete_schema::builders::DeleteSchemaFluentBuilder::new(self.handle.clone())
12    }
13}