aws-sdk-agentregistrycontrol 1.0.0

AWS SDK for Agent Registry Control
Documentation
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`GetRegistry`](crate::operation::get_registry::builders::GetRegistryFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`registry_id(impl Into<String>)`](crate::operation::get_registry::builders::GetRegistryFluentBuilder::registry_id) / [`set_registry_id(Option<String>)`](crate::operation::get_registry::builders::GetRegistryFluentBuilder::set_registry_id):<br>required: **true**<br><p>The identifier of the registry to retrieve (ARN or ID)</p><br>
    /// - On success, responds with [`GetRegistryOutput`](crate::operation::get_registry::GetRegistryOutput) with field(s):
    ///   - [`name(String)`](crate::operation::get_registry::GetRegistryOutput::name): <p>The name of the registry</p>
    ///   - [`description(Option<String>)`](crate::operation::get_registry::GetRegistryOutput::description): <p>The description of the registry</p>
    ///   - [`registry_id(String)`](crate::operation::get_registry::GetRegistryOutput::registry_id): <p>The unique identifier of the registry</p>
    ///   - [`registry_arn(String)`](crate::operation::get_registry::GetRegistryOutput::registry_arn): <p>The ARN of the registry</p>
    ///   - [`discovery_configuration(Option<DiscoveryConfiguration>)`](crate::operation::get_registry::GetRegistryOutput::discovery_configuration): <p>Discovery configuration for the registry</p>
    ///   - [`approval_configuration(Option<ApprovalConfiguration>)`](crate::operation::get_registry::GetRegistryOutput::approval_configuration): <p>Approval configuration for registry records</p>
    ///   - [`status(RegistryStatus)`](crate::operation::get_registry::GetRegistryOutput::status): <p>Current status of the registry</p>
    ///   - [`status_reason(Option<String>)`](crate::operation::get_registry::GetRegistryOutput::status_reason): <p>The reason for the current status. Typically populated when the status indicates a failure state.</p>
    ///   - [`created_at(DateTime)`](crate::operation::get_registry::GetRegistryOutput::created_at): <p>The timestamp when the registry was created</p>
    ///   - [`updated_at(DateTime)`](crate::operation::get_registry::GetRegistryOutput::updated_at): <p>The timestamp when the registry was last updated</p>
    /// - On failure, responds with [`SdkError<GetRegistryError>`](crate::operation::get_registry::GetRegistryError)
    pub fn get_registry(&self) -> crate::operation::get_registry::builders::GetRegistryFluentBuilder {
        crate::operation::get_registry::builders::GetRegistryFluentBuilder::new(self.handle.clone())
    }
}