aws-sdk-bedrockagentcorecontrol 1.48.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 [`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. You can specify either the Amazon Resource Name (ARN) or the ID of the registry.</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 for. You can specify either the Amazon Resource Name (ARN) or the ID of the record.</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, such as why the record was approved or rejected.</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 Amazon Resource Name (ARN) of the registry that contains the record.</p>
    ///   - [`record_arn(String)`](crate::operation::update_registry_record_status::UpdateRegistryRecordStatusOutput::record_arn): <p>The Amazon Resource Name (ARN) of the registry record.</p>
    ///   - [`record_id(String)`](crate::operation::update_registry_record_status::UpdateRegistryRecordStatusOutput::record_id): <p>The unique identifier 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())
    }
}