1
2
3
4
5
6
7
8
9
10
11
12
13
14
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`GetFacet`](crate::operation::get_facet::builders::GetFacetFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`schema_arn(impl Into<String>)`](crate::operation::get_facet::builders::GetFacetFluentBuilder::schema_arn) / [`set_schema_arn(Option<String>)`](crate::operation::get_facet::builders::GetFacetFluentBuilder::set_schema_arn):<br>required: **true**<br><p>The Amazon Resource Name (ARN) that is associated with the <code>Facet</code>. For more information, see <code>arns</code>.</p><br>
    ///   - [`name(impl Into<String>)`](crate::operation::get_facet::builders::GetFacetFluentBuilder::name) / [`set_name(Option<String>)`](crate::operation::get_facet::builders::GetFacetFluentBuilder::set_name):<br>required: **true**<br><p>The name of the facet to retrieve.</p><br>
    /// - On success, responds with [`GetFacetOutput`](crate::operation::get_facet::GetFacetOutput) with field(s):
    ///   - [`facet(Option<Facet>)`](crate::operation::get_facet::GetFacetOutput::facet): <p>The <code>Facet</code> structure that is associated with the facet.</p>
    /// - On failure, responds with [`SdkError<GetFacetError>`](crate::operation::get_facet::GetFacetError)
    pub fn get_facet(&self) -> crate::operation::get_facet::builders::GetFacetFluentBuilder {
        crate::operation::get_facet::builders::GetFacetFluentBuilder::new(self.handle.clone())
    }
}