aws_sdk_agentregistrycontrol/client/get_registry.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 [`GetRegistry`](crate::operation::get_registry::builders::GetRegistryFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`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>
7 /// - On success, responds with [`GetRegistryOutput`](crate::operation::get_registry::GetRegistryOutput) with field(s):
8 /// - [`name(String)`](crate::operation::get_registry::GetRegistryOutput::name): <p>The name of the registry</p>
9 /// - [`description(Option<String>)`](crate::operation::get_registry::GetRegistryOutput::description): <p>The description of the registry</p>
10 /// - [`registry_id(String)`](crate::operation::get_registry::GetRegistryOutput::registry_id): <p>The unique identifier of the registry</p>
11 /// - [`registry_arn(String)`](crate::operation::get_registry::GetRegistryOutput::registry_arn): <p>The ARN of the registry</p>
12 /// - [`discovery_configuration(Option<DiscoveryConfiguration>)`](crate::operation::get_registry::GetRegistryOutput::discovery_configuration): <p>Discovery configuration for the registry</p>
13 /// - [`approval_configuration(Option<ApprovalConfiguration>)`](crate::operation::get_registry::GetRegistryOutput::approval_configuration): <p>Approval configuration for registry records</p>
14 /// - [`status(RegistryStatus)`](crate::operation::get_registry::GetRegistryOutput::status): <p>Current status of the registry</p>
15 /// - [`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>
16 /// - [`created_at(DateTime)`](crate::operation::get_registry::GetRegistryOutput::created_at): <p>The timestamp when the registry was created</p>
17 /// - [`updated_at(DateTime)`](crate::operation::get_registry::GetRegistryOutput::updated_at): <p>The timestamp when the registry was last updated</p>
18 /// - On failure, responds with [`SdkError<GetRegistryError>`](crate::operation::get_registry::GetRegistryError)
19 pub fn get_registry(&self) -> crate::operation::get_registry::builders::GetRegistryFluentBuilder {
20 crate::operation::get_registry::builders::GetRegistryFluentBuilder::new(self.handle.clone())
21 }
22}