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 [`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 in which to create the record (ARN or ID)</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>
    ///   - [`display_name(impl Into<String>)`](crate::operation::create_registry_record::builders::CreateRegistryRecordFluentBuilder::display_name) / [`set_display_name(Option<String>)`](crate::operation::create_registry_record::builders::CreateRegistryRecordFluentBuilder::set_display_name):<br>required: **false**<br><p>The human-readable display 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>The description of the registry record</p><br>
    ///   - [`record_type(RecordType)`](crate::operation::create_registry_record::builders::CreateRegistryRecordFluentBuilder::record_type) / [`set_record_type(Option<RecordType>)`](crate::operation::create_registry_record::builders::CreateRegistryRecordFluentBuilder::set_record_type):<br>required: **true**<br><p>The type of the registry record, which determines the descriptor format</p><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: **true**<br><p>The typed descriptor content for the registry record</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</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>Client token for idempotency</p><br>
    ///   - [`tags(impl Into<String>, impl Into<String>)`](crate::operation::create_registry_record::builders::CreateRegistryRecordFluentBuilder::tags) / [`set_tags(Option<HashMap::<String, String>>)`](crate::operation::create_registry_record::builders::CreateRegistryRecordFluentBuilder::set_tags):<br>required: **false**<br><p>Tags to associate with the registry record</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 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 CREATING 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())
    }
}