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 [`UpdateRegistryRecord`](crate::operation::update_registry_record::builders::UpdateRegistryRecordFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`registry_id(impl Into<String>)`](crate::operation::update_registry_record::builders::UpdateRegistryRecordFluentBuilder::registry_id) / [`set_registry_id(Option<String>)`](crate::operation::update_registry_record::builders::UpdateRegistryRecordFluentBuilder::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::builders::UpdateRegistryRecordFluentBuilder::record_id) / [`set_record_id(Option<String>)`](crate::operation::update_registry_record::builders::UpdateRegistryRecordFluentBuilder::set_record_id):<br>required: **true**<br><p>The identifier of the registry record to update. You can specify either the Amazon Resource Name (ARN) or the ID of the record.</p><br>
    ///   - [`name(impl Into<String>)`](crate::operation::update_registry_record::builders::UpdateRegistryRecordFluentBuilder::name) / [`set_name(Option<String>)`](crate::operation::update_registry_record::builders::UpdateRegistryRecordFluentBuilder::set_name):<br>required: **false**<br><p>The updated name for the registry record.</p><br>
    ///   - [`description(UpdatedDescription)`](crate::operation::update_registry_record::builders::UpdateRegistryRecordFluentBuilder::description) / [`set_description(Option<UpdatedDescription>)`](crate::operation::update_registry_record::builders::UpdateRegistryRecordFluentBuilder::set_description):<br>required: **false**<br><p>The updated description for the registry record. To clear the description, include the <code>UpdatedDescription</code> wrapper with <code>optionalValue</code> not specified.</p><br>
    ///   - [`descriptor_type(DescriptorType)`](crate::operation::update_registry_record::builders::UpdateRegistryRecordFluentBuilder::descriptor_type) / [`set_descriptor_type(Option<DescriptorType>)`](crate::operation::update_registry_record::builders::UpdateRegistryRecordFluentBuilder::set_descriptor_type):<br>required: **false**<br><p>The updated descriptor type for the registry record. Changing the descriptor type may require updating the <code>descriptors</code> field to match the new type's schema requirements.</p><br>
    ///   - [`descriptors(UpdatedDescriptors)`](crate::operation::update_registry_record::builders::UpdateRegistryRecordFluentBuilder::descriptors) / [`set_descriptors(Option<UpdatedDescriptors>)`](crate::operation::update_registry_record::builders::UpdateRegistryRecordFluentBuilder::set_descriptors):<br>required: **false**<br><p>The updated descriptor-type-specific configuration containing the resource schema and metadata. Uses PATCH semantics where individual descriptor fields can be updated independently.</p><br>
    ///   - [`record_version(impl Into<String>)`](crate::operation::update_registry_record::builders::UpdateRegistryRecordFluentBuilder::record_version) / [`set_record_version(Option<String>)`](crate::operation::update_registry_record::builders::UpdateRegistryRecordFluentBuilder::set_record_version):<br>required: **false**<br><p>The version of the registry record for optimistic locking. If provided, it must match the current version of the record. The service automatically increments the version after a successful update.</p><br>
    ///   - [`synchronization_type(UpdatedSynchronizationType)`](crate::operation::update_registry_record::builders::UpdateRegistryRecordFluentBuilder::synchronization_type) / [`set_synchronization_type(Option<UpdatedSynchronizationType>)`](crate::operation::update_registry_record::builders::UpdateRegistryRecordFluentBuilder::set_synchronization_type):<br>required: **false**<br><p>The updated synchronization type for the registry record.</p><br>
    ///   - [`synchronization_configuration(UpdatedSynchronizationConfiguration)`](crate::operation::update_registry_record::builders::UpdateRegistryRecordFluentBuilder::synchronization_configuration) / [`set_synchronization_configuration(Option<UpdatedSynchronizationConfiguration>)`](crate::operation::update_registry_record::builders::UpdateRegistryRecordFluentBuilder::set_synchronization_configuration):<br>required: **false**<br><p>The updated synchronization configuration for the registry record.</p><br>
    ///   - [`trigger_synchronization(bool)`](crate::operation::update_registry_record::builders::UpdateRegistryRecordFluentBuilder::trigger_synchronization) / [`set_trigger_synchronization(Option<bool>)`](crate::operation::update_registry_record::builders::UpdateRegistryRecordFluentBuilder::set_trigger_synchronization):<br>required: **false**<br><p>Whether to trigger synchronization using the stored or provided configuration. When set to <code>true</code>, the service will synchronize the record metadata from the configured external source.</p><br>
    /// - On success, responds with [`UpdateRegistryRecordOutput`](crate::operation::update_registry_record::UpdateRegistryRecordOutput) with field(s):
    ///   - [`registry_arn(String)`](crate::operation::update_registry_record::UpdateRegistryRecordOutput::registry_arn): <p>The Amazon Resource Name (ARN) of the registry that contains the updated record.</p>
    ///   - [`record_arn(String)`](crate::operation::update_registry_record::UpdateRegistryRecordOutput::record_arn): <p>The Amazon Resource Name (ARN) of the updated registry record.</p>
    ///   - [`record_id(String)`](crate::operation::update_registry_record::UpdateRegistryRecordOutput::record_id): <p>The unique identifier of the updated registry record.</p>
    ///   - [`name(String)`](crate::operation::update_registry_record::UpdateRegistryRecordOutput::name): <p>The name of the updated registry record.</p>
    ///   - [`description(Option<String>)`](crate::operation::update_registry_record::UpdateRegistryRecordOutput::description): <p>The description of the updated registry record.</p>
    ///   - [`descriptor_type(DescriptorType)`](crate::operation::update_registry_record::UpdateRegistryRecordOutput::descriptor_type): <p>The descriptor type of the updated registry record. Possible values are <code>MCP</code>, <code>A2A</code>, <code>CUSTOM</code>, and <code>AGENT_SKILLS</code>.</p>
    ///   - [`descriptors(Option<Descriptors>)`](crate::operation::update_registry_record::UpdateRegistryRecordOutput::descriptors): <p>The descriptor-type-specific configuration of the updated registry record. For details, see the <code>Descriptors</code> data type.</p>
    ///   - [`record_version(Option<String>)`](crate::operation::update_registry_record::UpdateRegistryRecordOutput::record_version): <p>The version of the updated registry record.</p>
    ///   - [`status(RegistryRecordStatus)`](crate::operation::update_registry_record::UpdateRegistryRecordOutput::status): <p>The current status of the updated registry record. Possible values include <code>CREATING</code>, <code>DRAFT</code>, <code>APPROVED</code>, <code>PENDING_APPROVAL</code>, <code>REJECTED</code>, <code>DEPRECATED</code>, <code>UPDATING</code>, <code>CREATE_FAILED</code>, and <code>UPDATE_FAILED</code>.</p>
    ///   - [`created_at(DateTime)`](crate::operation::update_registry_record::UpdateRegistryRecordOutput::created_at): <p>The timestamp when the registry record was created.</p>
    ///   - [`updated_at(DateTime)`](crate::operation::update_registry_record::UpdateRegistryRecordOutput::updated_at): <p>The timestamp when the registry record was last updated.</p>
    ///   - [`status_reason(Option<String>)`](crate::operation::update_registry_record::UpdateRegistryRecordOutput::status_reason): <p>The reason for the current status of the updated registry record.</p>
    ///   - [`synchronization_type(Option<SynchronizationType>)`](crate::operation::update_registry_record::UpdateRegistryRecordOutput::synchronization_type): <p>The synchronization type of the updated registry record.</p>
    ///   - [`synchronization_configuration(Option<SynchronizationConfiguration>)`](crate::operation::update_registry_record::UpdateRegistryRecordOutput::synchronization_configuration): <p>The synchronization configuration of the updated registry record.</p>
    /// - On failure, responds with [`SdkError<UpdateRegistryRecordError>`](crate::operation::update_registry_record::UpdateRegistryRecordError)
    pub fn update_registry_record(&self) -> crate::operation::update_registry_record::builders::UpdateRegistryRecordFluentBuilder {
        crate::operation::update_registry_record::builders::UpdateRegistryRecordFluentBuilder::new(self.handle.clone())
    }
}