aws-sdk-agentregistrycontrol 1.0.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 [`UpdateRegistryRecordStatus`](crate::operation::update_registry_record_status::builders::UpdateRegistryRecordStatusFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`registry_id(impl Into<String>)`](crate::operation::update_registry_record_status::builders::UpdateRegistryRecordStatusFluentBuilder::registry_id) / [`set_registry_id(Option<String>)`](crate::operation::update_registry_record_status::builders::UpdateRegistryRecordStatusFluentBuilder::set_registry_id):<br>required: **true**<br><p>The identifier of the registry containing the record (ARN or ID)</p><br>
    ///   - [`record_id(impl Into<String>)`](crate::operation::update_registry_record_status::builders::UpdateRegistryRecordStatusFluentBuilder::record_id) / [`set_record_id(Option<String>)`](crate::operation::update_registry_record_status::builders::UpdateRegistryRecordStatusFluentBuilder::set_record_id):<br>required: **true**<br><p>The identifier of the registry record to update the status of (ARN or ID)</p><br>
    ///   - [`status(RegistryRecordStatus)`](crate::operation::update_registry_record_status::builders::UpdateRegistryRecordStatusFluentBuilder::status) / [`set_status(Option<RegistryRecordStatus>)`](crate::operation::update_registry_record_status::builders::UpdateRegistryRecordStatusFluentBuilder::set_status):<br>required: **true**<br><p>The target status for the registry record</p><br>
    ///   - [`status_reason(impl Into<String>)`](crate::operation::update_registry_record_status::builders::UpdateRegistryRecordStatusFluentBuilder::status_reason) / [`set_status_reason(Option<String>)`](crate::operation::update_registry_record_status::builders::UpdateRegistryRecordStatusFluentBuilder::set_status_reason):<br>required: **true**<br><p>The reason for the status change, for example why the record was approved, rejected, or deprecated</p><br>
    /// - On success, responds with [`UpdateRegistryRecordStatusOutput`](crate::operation::update_registry_record_status::UpdateRegistryRecordStatusOutput) with field(s):
    ///   - [`registry_arn(String)`](crate::operation::update_registry_record_status::UpdateRegistryRecordStatusOutput::registry_arn): <p>The ARN of the registry</p>
    ///   - [`record_arn(String)`](crate::operation::update_registry_record_status::UpdateRegistryRecordStatusOutput::record_arn): <p>The ARN of the registry record</p>
    ///   - [`record_id(String)`](crate::operation::update_registry_record_status::UpdateRegistryRecordStatusOutput::record_id): <p>The ID of the registry record</p>
    ///   - [`status(RegistryRecordStatus)`](crate::operation::update_registry_record_status::UpdateRegistryRecordStatusOutput::status): <p>The resulting status of the registry record</p>
    ///   - [`status_reason(String)`](crate::operation::update_registry_record_status::UpdateRegistryRecordStatusOutput::status_reason): <p>The reason for the status change</p>
    ///   - [`updated_at(DateTime)`](crate::operation::update_registry_record_status::UpdateRegistryRecordStatusOutput::updated_at): <p>The timestamp when the record was last updated</p>
    /// - On failure, responds with [`SdkError<UpdateRegistryRecordStatusError>`](crate::operation::update_registry_record_status::UpdateRegistryRecordStatusError)
    pub fn update_registry_record_status(
        &self,
    ) -> crate::operation::update_registry_record_status::builders::UpdateRegistryRecordStatusFluentBuilder {
        crate::operation::update_registry_record_status::builders::UpdateRegistryRecordStatusFluentBuilder::new(self.handle.clone())
    }
}