aws_sdk_schemas/client/describe_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 [`DescribeSchema`](crate::operation::describe_schema::builders::DescribeSchemaFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`registry_name(impl Into<String>)`](crate::operation::describe_schema::builders::DescribeSchemaFluentBuilder::registry_name) / [`set_registry_name(Option<String>)`](crate::operation::describe_schema::builders::DescribeSchemaFluentBuilder::set_registry_name):<br>required: **true**<br><p>The name of the registry.</p><br>
7 /// - [`schema_name(impl Into<String>)`](crate::operation::describe_schema::builders::DescribeSchemaFluentBuilder::schema_name) / [`set_schema_name(Option<String>)`](crate::operation::describe_schema::builders::DescribeSchemaFluentBuilder::set_schema_name):<br>required: **true**<br><p>The name of the schema.</p><br>
8 /// - [`schema_version(impl Into<String>)`](crate::operation::describe_schema::builders::DescribeSchemaFluentBuilder::schema_version) / [`set_schema_version(Option<String>)`](crate::operation::describe_schema::builders::DescribeSchemaFluentBuilder::set_schema_version):<br>required: **false**<br><p>Specifying this limits the results to only this schema version.</p><br>
9 /// - On success, responds with [`DescribeSchemaOutput`](crate::operation::describe_schema::DescribeSchemaOutput) with field(s):
10 /// - [`content(Option<String>)`](crate::operation::describe_schema::DescribeSchemaOutput::content): <p>The source of the schema definition.</p>
11 /// - [`description(Option<String>)`](crate::operation::describe_schema::DescribeSchemaOutput::description): <p>The description of the schema.</p>
12 /// - [`last_modified(Option<DateTime>)`](crate::operation::describe_schema::DescribeSchemaOutput::last_modified): <p>The date and time that schema was modified.</p>
13 /// - [`schema_arn(Option<String>)`](crate::operation::describe_schema::DescribeSchemaOutput::schema_arn): <p>The ARN of the schema.</p>
14 /// - [`schema_name(Option<String>)`](crate::operation::describe_schema::DescribeSchemaOutput::schema_name): <p>The name of the schema.</p>
15 /// - [`schema_version(Option<String>)`](crate::operation::describe_schema::DescribeSchemaOutput::schema_version): <p>The version number of the schema</p>
16 /// - [`tags(Option<HashMap::<String, String>>)`](crate::operation::describe_schema::DescribeSchemaOutput::tags): <p>Tags associated with the resource.</p>
17 /// - [`r#type(Option<String>)`](crate::operation::describe_schema::DescribeSchemaOutput::type): <p>The type of the schema.</p>
18 /// - [`version_created_date(Option<DateTime>)`](crate::operation::describe_schema::DescribeSchemaOutput::version_created_date): <p>The date the schema version was created.</p>
19 /// - On failure, responds with [`SdkError<DescribeSchemaError>`](crate::operation::describe_schema::DescribeSchemaError)
20 pub fn describe_schema(&self) -> crate::operation::describe_schema::builders::DescribeSchemaFluentBuilder {
21 crate::operation::describe_schema::builders::DescribeSchemaFluentBuilder::new(self.handle.clone())
22 }
23}