aws-sdk-bedrockagentcorecontrol 1.55.0

AWS SDK for Amazon Bedrock AgentCore 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. You can specify either the Amazon Resource Name (ARN) or the ID of the registry.</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 Amazon Resource Name (ARN) of the registry.</p>
    ///   - [`authorizer_type(Option<RegistryAuthorizerType>)`](crate::operation::get_registry::GetRegistryOutput::authorizer_type): <p>The type of authorizer used by the registry. This controls the authorization method for the Search and Invoke APIs used by consumers.</p> <ul>  <li>   <p><code>CUSTOM_JWT</code> - Authorize with a bearer token.</p></li>  <li>   <p><code>AWS_IAM</code> - Authorize with your Amazon Web Services IAM credentials.</p></li> </ul>
    ///   - [`authorizer_configuration(Option<AuthorizerConfiguration>)`](crate::operation::get_registry::GetRegistryOutput::authorizer_configuration): <p>The authorizer configuration for the registry. For details, see the <code>AuthorizerConfiguration</code> data type.</p>
    ///   - [`approval_configuration(Option<ApprovalConfiguration>)`](crate::operation::get_registry::GetRegistryOutput::approval_configuration): <p>The approval configuration for registry records. For details, see the <code>ApprovalConfiguration</code> data type.</p>
    ///   - [`status(RegistryStatus)`](crate::operation::get_registry::GetRegistryOutput::status): <p>The current status of the registry. Possible values include <code>CREATING</code>, <code>READY</code>, <code>UPDATING</code>, <code>CREATE_FAILED</code>, <code>UPDATE_FAILED</code>, <code>DELETING</code>, and <code>DELETE_FAILED</code>.</p>
    ///   - [`status_reason(Option<String>)`](crate::operation::get_registry::GetRegistryOutput::status_reason): <p>The reason for the current status, typically set when the status is 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())
    }
}