aws-sdk-bedrockagentcorecontrol 1.45.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 [`CreateRegistryRecord`](crate::operation::create_registry_record::builders::CreateRegistryRecordFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`registry_id(impl Into<String>)`](crate::operation::create_registry_record::builders::CreateRegistryRecordFluentBuilder::registry_id) / [`set_registry_id(Option<String>)`](crate::operation::create_registry_record::builders::CreateRegistryRecordFluentBuilder::set_registry_id):<br>required: **true**<br><p>The identifier of the registry where the record will be created. You can specify either the Amazon Resource Name (ARN) or the ID of the registry.</p><br>
    ///   - [`name(impl Into<String>)`](crate::operation::create_registry_record::builders::CreateRegistryRecordFluentBuilder::name) / [`set_name(Option<String>)`](crate::operation::create_registry_record::builders::CreateRegistryRecordFluentBuilder::set_name):<br>required: **true**<br><p>The name of the registry record.</p><br>
    ///   - [`description(impl Into<String>)`](crate::operation::create_registry_record::builders::CreateRegistryRecordFluentBuilder::description) / [`set_description(Option<String>)`](crate::operation::create_registry_record::builders::CreateRegistryRecordFluentBuilder::set_description):<br>required: **false**<br><p>A description of the registry record.</p><br>
    ///   - [`descriptor_type(DescriptorType)`](crate::operation::create_registry_record::builders::CreateRegistryRecordFluentBuilder::descriptor_type) / [`set_descriptor_type(Option<DescriptorType>)`](crate::operation::create_registry_record::builders::CreateRegistryRecordFluentBuilder::set_descriptor_type):<br>required: **true**<br><p>The descriptor type of the registry record.</p> <ul>  <li>   <p><code>MCP</code> - Model Context Protocol descriptor for MCP-compatible servers and tools.</p></li>  <li>   <p><code>A2A</code> - Agent-to-Agent protocol descriptor.</p></li>  <li>   <p><code>CUSTOM</code> - Custom descriptor type for resources such as APIs, Lambda functions, or servers not conforming to a standard protocol.</p></li>  <li>   <p><code>AGENT_SKILLS</code> - Agent skills descriptor for defining agent skill definitions.</p></li> </ul><br>
    ///   - [`descriptors(Descriptors)`](crate::operation::create_registry_record::builders::CreateRegistryRecordFluentBuilder::descriptors) / [`set_descriptors(Option<Descriptors>)`](crate::operation::create_registry_record::builders::CreateRegistryRecordFluentBuilder::set_descriptors):<br>required: **false**<br><p>The descriptor-type-specific configuration containing the resource schema and metadata. The structure of this field depends on the <code>descriptorType</code> you specify.</p><br>
    ///   - [`record_version(impl Into<String>)`](crate::operation::create_registry_record::builders::CreateRegistryRecordFluentBuilder::record_version) / [`set_record_version(Option<String>)`](crate::operation::create_registry_record::builders::CreateRegistryRecordFluentBuilder::set_record_version):<br>required: **false**<br><p>The version of the registry record. Use this to track different versions of the record's content.</p><br>
    ///   - [`synchronization_type(SynchronizationType)`](crate::operation::create_registry_record::builders::CreateRegistryRecordFluentBuilder::synchronization_type) / [`set_synchronization_type(Option<SynchronizationType>)`](crate::operation::create_registry_record::builders::CreateRegistryRecordFluentBuilder::set_synchronization_type):<br>required: **false**<br><p>The type of synchronization to use for keeping the record metadata up to date from an external source. Possible values include <code>FROM_URL</code> and <code>NONE</code>.</p><br>
    ///   - [`synchronization_configuration(SynchronizationConfiguration)`](crate::operation::create_registry_record::builders::CreateRegistryRecordFluentBuilder::synchronization_configuration) / [`set_synchronization_configuration(Option<SynchronizationConfiguration>)`](crate::operation::create_registry_record::builders::CreateRegistryRecordFluentBuilder::set_synchronization_configuration):<br>required: **false**<br><p>The configuration for synchronizing registry record metadata from an external source, such as a URL-based MCP server.</p><br>
    ///   - [`client_token(impl Into<String>)`](crate::operation::create_registry_record::builders::CreateRegistryRecordFluentBuilder::client_token) / [`set_client_token(Option<String>)`](crate::operation::create_registry_record::builders::CreateRegistryRecordFluentBuilder::set_client_token):<br>required: **false**<br><p>A unique, case-sensitive identifier to ensure that the API request completes no more than one time. If you don't specify this field, a value is randomly generated for you. If this token matches a previous request, the service ignores the request, but doesn't return an error. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html">Ensuring idempotency</a>.</p><br>
    /// - On success, responds with [`CreateRegistryRecordOutput`](crate::operation::create_registry_record::CreateRegistryRecordOutput) with field(s):
    ///   - [`record_arn(String)`](crate::operation::create_registry_record::CreateRegistryRecordOutput::record_arn): <p>The Amazon Resource Name (ARN) of the created registry record.</p>
    ///   - [`status(RegistryRecordStatus)`](crate::operation::create_registry_record::CreateRegistryRecordOutput::status): <p>The status of the registry record. Set to <code>CREATING</code> while the asynchronous workflow is in progress.</p>
    /// - On failure, responds with [`SdkError<CreateRegistryRecordError>`](crate::operation::create_registry_record::CreateRegistryRecordError)
    pub fn create_registry_record(&self) -> crate::operation::create_registry_record::builders::CreateRegistryRecordFluentBuilder {
        crate::operation::create_registry_record::builders::CreateRegistryRecordFluentBuilder::new(self.handle.clone())
    }
}