aws-sdk-keyspaces 1.104.0

AWS SDK for Amazon Keyspaces
Documentation
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`GetType`](crate::operation::get_type::builders::GetTypeFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`keyspace_name(impl Into<String>)`](crate::operation::get_type::builders::GetTypeFluentBuilder::keyspace_name) / [`set_keyspace_name(Option<String>)`](crate::operation::get_type::builders::GetTypeFluentBuilder::set_keyspace_name):<br>required: **true**<br><p>The name of the keyspace that contains this type.</p><br>
    ///   - [`type_name(impl Into<String>)`](crate::operation::get_type::builders::GetTypeFluentBuilder::type_name) / [`set_type_name(Option<String>)`](crate::operation::get_type::builders::GetTypeFluentBuilder::set_type_name):<br>required: **true**<br><p>The formatted name of the type. For example, if the name of the type was created without double quotes, Amazon Keyspaces saved the name in lower-case characters. If the name was created in double quotes, you must use double quotes to specify the type name.</p><br>
    /// - On success, responds with [`GetTypeOutput`](crate::operation::get_type::GetTypeOutput) with field(s):
    ///   - [`keyspace_name(String)`](crate::operation::get_type::GetTypeOutput::keyspace_name): <p>The name of the keyspace that contains this type.</p>
    ///   - [`type_name(String)`](crate::operation::get_type::GetTypeOutput::type_name): <p>The name of the type.</p>
    ///   - [`field_definitions(Option<Vec::<FieldDefinition>>)`](crate::operation::get_type::GetTypeOutput::field_definitions): <p>The names and types that define this type.</p>
    ///   - [`last_modified_timestamp(Option<DateTime>)`](crate::operation::get_type::GetTypeOutput::last_modified_timestamp): <p>The timestamp that shows when this type was last modified.</p>
    ///   - [`status(Option<TypeStatus>)`](crate::operation::get_type::GetTypeOutput::status): <p>The status of this type.</p>
    ///   - [`direct_referring_tables(Option<Vec::<String>>)`](crate::operation::get_type::GetTypeOutput::direct_referring_tables): <p>The tables that use this type.</p>
    ///   - [`direct_parent_types(Option<Vec::<String>>)`](crate::operation::get_type::GetTypeOutput::direct_parent_types): <p>The types that use this type.</p>
    ///   - [`max_nesting_depth(i32)`](crate::operation::get_type::GetTypeOutput::max_nesting_depth): <p>The level of nesting implemented for this type.</p>
    ///   - [`keyspace_arn(String)`](crate::operation::get_type::GetTypeOutput::keyspace_arn): <p>The unique identifier of the keyspace that contains this type in the format of an Amazon Resource Name (ARN).</p>
    /// - On failure, responds with [`SdkError<GetTypeError>`](crate::operation::get_type::GetTypeError)
    pub fn get_type(&self) -> crate::operation::get_type::builders::GetTypeFluentBuilder {
        crate::operation::get_type::builders::GetTypeFluentBuilder::new(self.handle.clone())
    }
}