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