aws_sdk_agentregistrycontrol/client/create_registry_record.rs
1// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
2impl super::Client {
3 /// Constructs a fluent builder for the [`CreateRegistryRecord`](crate::operation::create_registry_record::builders::CreateRegistryRecordFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`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>
7 /// - [`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>
8 /// - [`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>
9 /// - [`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>
10 /// - [`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>
11 /// - [`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>
12 /// - [`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>
13 /// - [`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>
14 /// - [`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>
15 /// - On success, responds with [`CreateRegistryRecordOutput`](crate::operation::create_registry_record::CreateRegistryRecordOutput) with field(s):
16 /// - [`record_arn(String)`](crate::operation::create_registry_record::CreateRegistryRecordOutput::record_arn): <p>The ARN of the created registry record</p>
17 /// - [`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>
18 /// - On failure, responds with [`SdkError<CreateRegistryRecordError>`](crate::operation::create_registry_record::CreateRegistryRecordError)
19 pub fn create_registry_record(&self) -> crate::operation::create_registry_record::builders::CreateRegistryRecordFluentBuilder {
20 crate::operation::create_registry_record::builders::CreateRegistryRecordFluentBuilder::new(self.handle.clone())
21 }
22}