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 [`UpdateRegistry`](crate::operation::update_registry::builders::UpdateRegistryFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`registry_id(impl Into<String>)`](crate::operation::update_registry::builders::UpdateRegistryFluentBuilder::registry_id) / [`set_registry_id(Option<String>)`](crate::operation::update_registry::builders::UpdateRegistryFluentBuilder::set_registry_id):<br>required: **true**<br><p>The identifier of the registry to update. You can specify either the Amazon Resource Name (ARN) or the ID of the registry.</p><br>
    ///   - [`name(impl Into<String>)`](crate::operation::update_registry::builders::UpdateRegistryFluentBuilder::name) / [`set_name(Option<String>)`](crate::operation::update_registry::builders::UpdateRegistryFluentBuilder::set_name):<br>required: **false**<br><p>The updated name of the registry.</p><br>
    ///   - [`description(UpdatedDescription)`](crate::operation::update_registry::builders::UpdateRegistryFluentBuilder::description) / [`set_description(Option<UpdatedDescription>)`](crate::operation::update_registry::builders::UpdateRegistryFluentBuilder::set_description):<br>required: **false**<br><p>The updated description of the registry. To clear the description, include the <code>UpdatedDescription</code> wrapper with <code>optionalValue</code> not specified.</p><br>
    ///   - [`authorizer_configuration(UpdatedAuthorizerConfiguration)`](crate::operation::update_registry::builders::UpdateRegistryFluentBuilder::authorizer_configuration) / [`set_authorizer_configuration(Option<UpdatedAuthorizerConfiguration>)`](crate::operation::update_registry::builders::UpdateRegistryFluentBuilder::set_authorizer_configuration):<br>required: **false**<br><p>The updated authorizer configuration for the registry. Changing the authorizer configuration can break existing consumers of the registry who are using the authorization type prior to the update.</p><br>
    ///   - [`approval_configuration(UpdatedApprovalConfiguration)`](crate::operation::update_registry::builders::UpdateRegistryFluentBuilder::approval_configuration) / [`set_approval_configuration(Option<UpdatedApprovalConfiguration>)`](crate::operation::update_registry::builders::UpdateRegistryFluentBuilder::set_approval_configuration):<br>required: **false**<br><p>The updated approval configuration for registry records. The updated configuration only affects new records that move to <code>PENDING_APPROVAL</code> status after the change. Existing records already in <code>PENDING_APPROVAL</code> status are not affected.</p><br>
    /// - On success, responds with [`UpdateRegistryOutput`](crate::operation::update_registry::UpdateRegistryOutput) with field(s):
    ///   - [`name(String)`](crate::operation::update_registry::UpdateRegistryOutput::name): <p>The name of the updated registry.</p>
    ///   - [`description(Option<String>)`](crate::operation::update_registry::UpdateRegistryOutput::description): <p>The description of the updated registry.</p>
    ///   - [`registry_id(String)`](crate::operation::update_registry::UpdateRegistryOutput::registry_id): <p>The unique identifier of the updated registry.</p>
    ///   - [`registry_arn(String)`](crate::operation::update_registry::UpdateRegistryOutput::registry_arn): <p>The Amazon Resource Name (ARN) of the updated registry.</p>
    ///   - [`authorizer_type(Option<RegistryAuthorizerType>)`](crate::operation::update_registry::UpdateRegistryOutput::authorizer_type): <p>The type of authorizer used by the updated 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::update_registry::UpdateRegistryOutput::authorizer_configuration): <p>The authorizer configuration for the updated registry. For details, see the <code>AuthorizerConfiguration</code> data type.</p>
    ///   - [`approval_configuration(Option<ApprovalConfiguration>)`](crate::operation::update_registry::UpdateRegistryOutput::approval_configuration): <p>The approval configuration for the updated registry. For details, see the <code>ApprovalConfiguration</code> data type.</p>
    ///   - [`status(RegistryStatus)`](crate::operation::update_registry::UpdateRegistryOutput::status): <p>The current status of the updated 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::update_registry::UpdateRegistryOutput::status_reason): <p>The reason for the current status of the updated registry.</p>
    ///   - [`created_at(DateTime)`](crate::operation::update_registry::UpdateRegistryOutput::created_at): <p>The timestamp when the registry was created.</p>
    ///   - [`updated_at(DateTime)`](crate::operation::update_registry::UpdateRegistryOutput::updated_at): <p>The timestamp when the registry was last updated.</p>
    /// - On failure, responds with [`SdkError<UpdateRegistryError>`](crate::operation::update_registry::UpdateRegistryError)
    pub fn update_registry(&self) -> crate::operation::update_registry::builders::UpdateRegistryFluentBuilder {
        crate::operation::update_registry::builders::UpdateRegistryFluentBuilder::new(self.handle.clone())
    }
}