aws_sdk_clouddirectory/client/get_object_information.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 [`GetObjectInformation`](crate::operation::get_object_information::builders::GetObjectInformationFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`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>
7 /// - [`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>
8 /// - [`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>
9 /// - On success, responds with [`GetObjectInformationOutput`](crate::operation::get_object_information::GetObjectInformationOutput) with field(s):
10 /// - [`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>
11 /// - [`object_identifier(Option<String>)`](crate::operation::get_object_information::GetObjectInformationOutput::object_identifier): <p>The <code>ObjectIdentifier</code> of the specified object.</p>
12 /// - On failure, responds with [`SdkError<GetObjectInformationError>`](crate::operation::get_object_information::GetObjectInformationError)
13 pub fn get_object_information(&self) -> crate::operation::get_object_information::builders::GetObjectInformationFluentBuilder {
14 crate::operation::get_object_information::builders::GetObjectInformationFluentBuilder::new(self.handle.clone())
15 }
16}