1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`GetObjectInformation`](crate::operation::get_object_information::builders::GetObjectInformationFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`directory_arn(impl Into<String>)`](crate::operation::get_object_information::builders::GetObjectInformationFluentBuilder::directory_arn) / [`set_directory_arn(Option<String>)`](crate::operation::get_object_information::builders::GetObjectInformationFluentBuilder::set_directory_arn):<br>required: **true**<br><p>The ARN of the directory being retrieved.</p><br>
    ///   - [`object_reference(ObjectReference)`](crate::operation::get_object_information::builders::GetObjectInformationFluentBuilder::object_reference) / [`set_object_reference(Option<ObjectReference>)`](crate::operation::get_object_information::builders::GetObjectInformationFluentBuilder::set_object_reference):<br>required: **true**<br><p>A reference to the object.</p><br>
    ///   - [`consistency_level(ConsistencyLevel)`](crate::operation::get_object_information::builders::GetObjectInformationFluentBuilder::consistency_level) / [`set_consistency_level(Option<ConsistencyLevel>)`](crate::operation::get_object_information::builders::GetObjectInformationFluentBuilder::set_consistency_level):<br>required: **false**<br><p>The consistency level at which to retrieve the object information.</p><br>
    /// - On success, responds with [`GetObjectInformationOutput`](crate::operation::get_object_information::GetObjectInformationOutput) with field(s):
    ///   - [`schema_facets(Option<Vec::<SchemaFacet>>)`](crate::operation::get_object_information::GetObjectInformationOutput::schema_facets): <p>The facets attached to the specified object. Although the response does not include minor version information, the most recently applied minor version of each Facet is in effect. See <code>GetAppliedSchemaVersion</code> for details.</p>
    ///   - [`object_identifier(Option<String>)`](crate::operation::get_object_information::GetObjectInformationOutput::object_identifier): <p>The <code>ObjectIdentifier</code> of the specified object.</p>
    /// - On failure, responds with [`SdkError<GetObjectInformationError>`](crate::operation::get_object_information::GetObjectInformationError)
    pub fn get_object_information(&self) -> crate::operation::get_object_information::builders::GetObjectInformationFluentBuilder {
        crate::operation::get_object_information::builders::GetObjectInformationFluentBuilder::new(self.handle.clone())
    }
}