aws_sdk_personalize/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 schema to delete.</p><br>
7 /// - On success, responds with [`DeleteSchemaOutput`](crate::operation::delete_schema::DeleteSchemaOutput)
8 /// - On failure, responds with [`SdkError<DeleteSchemaError>`](crate::operation::delete_schema::DeleteSchemaError)
9 pub fn delete_schema(&self) -> crate::operation::delete_schema::builders::DeleteSchemaFluentBuilder {
10 crate::operation::delete_schema::builders::DeleteSchemaFluentBuilder::new(self.handle.clone())
11 }
12}