aws-sdk-bedrockagentcorecontrol 1.55.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 [`GetRegistryRecord`](crate::operation::get_registry_record::builders::GetRegistryRecordFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`registry_id(impl Into<String>)`](crate::operation::get_registry_record::builders::GetRegistryRecordFluentBuilder::registry_id) / [`set_registry_id(Option<String>)`](crate::operation::get_registry_record::builders::GetRegistryRecordFluentBuilder::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::get_registry_record::builders::GetRegistryRecordFluentBuilder::record_id) / [`set_record_id(Option<String>)`](crate::operation::get_registry_record::builders::GetRegistryRecordFluentBuilder::set_record_id):<br>required: **true**<br><p>The identifier of the registry record to retrieve. You can specify either the Amazon Resource Name (ARN) or the ID of the record.</p><br>
    /// - On success, responds with [`GetRegistryRecordOutput`](crate::operation::get_registry_record::GetRegistryRecordOutput) with field(s):
    ///   - [`registry_arn(String)`](crate::operation::get_registry_record::GetRegistryRecordOutput::registry_arn): <p>The Amazon Resource Name (ARN) of the registry that contains the record.</p>
    ///   - [`record_arn(String)`](crate::operation::get_registry_record::GetRegistryRecordOutput::record_arn): <p>The Amazon Resource Name (ARN) of the registry record.</p>
    ///   - [`record_id(String)`](crate::operation::get_registry_record::GetRegistryRecordOutput::record_id): <p>The unique identifier of the registry record.</p>
    ///   - [`name(String)`](crate::operation::get_registry_record::GetRegistryRecordOutput::name): <p>The name of the registry record.</p>
    ///   - [`description(Option<String>)`](crate::operation::get_registry_record::GetRegistryRecordOutput::description): <p>The description of the registry record.</p>
    ///   - [`descriptor_type(DescriptorType)`](crate::operation::get_registry_record::GetRegistryRecordOutput::descriptor_type): <p>The descriptor type of the 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::get_registry_record::GetRegistryRecordOutput::descriptors): <p>The descriptor-type-specific configuration containing the resource schema and metadata. For details, see the <code>Descriptors</code> data type.</p>
    ///   - [`record_version(Option<String>)`](crate::operation::get_registry_record::GetRegistryRecordOutput::record_version): <p>The version of the registry record.</p>
    ///   - [`status(RegistryRecordStatus)`](crate::operation::get_registry_record::GetRegistryRecordOutput::status): <p>The current status of the 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>. A record transitions from <code>CREATING</code> to <code>DRAFT</code>, then to <code>PENDING_APPROVAL</code> (via <code>SubmitRegistryRecordForApproval</code>), and finally to <code>APPROVED</code> upon approval.</p>
    ///   - [`created_at(DateTime)`](crate::operation::get_registry_record::GetRegistryRecordOutput::created_at): <p>The timestamp when the registry record was created.</p>
    ///   - [`updated_at(DateTime)`](crate::operation::get_registry_record::GetRegistryRecordOutput::updated_at): <p>The timestamp when the registry record was last updated.</p>
    ///   - [`status_reason(Option<String>)`](crate::operation::get_registry_record::GetRegistryRecordOutput::status_reason): <p>The reason for the current status, typically set when the status is a failure state.</p>
    ///   - [`synchronization_type(Option<SynchronizationType>)`](crate::operation::get_registry_record::GetRegistryRecordOutput::synchronization_type): <p>The type of synchronization used for this record.</p>
    ///   - [`synchronization_configuration(Option<SynchronizationConfiguration>)`](crate::operation::get_registry_record::GetRegistryRecordOutput::synchronization_configuration): <p>The configuration for synchronizing registry record metadata from an external source.</p>
    /// - On failure, responds with [`SdkError<GetRegistryRecordError>`](crate::operation::get_registry_record::GetRegistryRecordError)
    pub fn get_registry_record(&self) -> crate::operation::get_registry_record::builders::GetRegistryRecordFluentBuilder {
        crate::operation::get_registry_record::builders::GetRegistryRecordFluentBuilder::new(self.handle.clone())
    }
}