aws-sdk-agentregistrycontrol 1.7.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 [`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 (ARN or ID)</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</p><br>
    ///   - [`discovery_configuration(UpdatedDiscoveryConfiguration)`](crate::operation::update_registry::builders::UpdateRegistryFluentBuilder::discovery_configuration) / [`set_discovery_configuration(Option<UpdatedDiscoveryConfiguration>)`](crate::operation::update_registry::builders::UpdateRegistryFluentBuilder::set_discovery_configuration):<br>required: **false**<br><p>The updated discovery configuration. Changing the discovery authorization can break existing consumers that rely on the previous authorization type.</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. The change applies only to records that move to PENDING_APPROVAL after the update; records already in PENDING_APPROVAL are unaffected.</p><br>
    ///   - [`auto_detection_configuration(UpdatedAutoDetectionConfiguration)`](crate::operation::update_registry::builders::UpdateRegistryFluentBuilder::auto_detection_configuration) / [`set_auto_detection_configuration(Option<UpdatedAutoDetectionConfiguration>)`](crate::operation::update_registry::builders::UpdateRegistryFluentBuilder::set_auto_detection_configuration):<br>required: **false**<br><p>The updated auto-detection configuration for the registry, with PATCH semantics. Omit this field to leave the current configuration unchanged. Supply an empty wrapper to unset it. Supply <code>optionalValue</code> to replace it.</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 registry</p>
    ///   - [`description(Option<String>)`](crate::operation::update_registry::UpdateRegistryOutput::description): <p>The description of the registry</p>
    ///   - [`registry_id(String)`](crate::operation::update_registry::UpdateRegistryOutput::registry_id): <p>The unique identifier of the registry</p>
    ///   - [`registry_arn(String)`](crate::operation::update_registry::UpdateRegistryOutput::registry_arn): <p>The ARN of the registry</p>
    ///   - [`discovery_configuration(Option<DiscoveryConfiguration>)`](crate::operation::update_registry::UpdateRegistryOutput::discovery_configuration): <p>Discovery configuration for the registry</p>
    ///   - [`encryption_configuration(Option<EncryptionConfiguration>)`](crate::operation::update_registry::UpdateRegistryOutput::encryption_configuration): <p>The server-side encryption configuration for the registry. Appears only when a customer-managed Amazon Web Services KMS key encrypts the registry.</p>
    ///   - [`approval_configuration(Option<ApprovalConfiguration>)`](crate::operation::update_registry::UpdateRegistryOutput::approval_configuration): <p>Approval configuration for registry records</p>
    ///   - [`status(RegistryStatus)`](crate::operation::update_registry::UpdateRegistryOutput::status): <p>Current status of the registry</p>
    ///   - [`status_reason(Option<String>)`](crate::operation::update_registry::UpdateRegistryOutput::status_reason): <p>The reason for the current status. Typically populated when the status indicates a failure state.</p>
    ///   - [`auto_detection(Option<AutoDetection>)`](crate::operation::update_registry::UpdateRegistryOutput::auto_detection): <p>The registry's auto-detection properties, including the requested configuration and the current detection status. Present only when auto-detection was configured for the 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())
    }
}