aws_sdk_entityresolution/client/create_id_namespace.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 [`CreateIdNamespace`](crate::operation::create_id_namespace::builders::CreateIdNamespaceFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`id_namespace_name(impl Into<String>)`](crate::operation::create_id_namespace::builders::CreateIdNamespaceFluentBuilder::id_namespace_name) / [`set_id_namespace_name(Option<String>)`](crate::operation::create_id_namespace::builders::CreateIdNamespaceFluentBuilder::set_id_namespace_name):<br>required: **true**<br><p>The name of the ID namespace.</p><br>
7 /// - [`description(impl Into<String>)`](crate::operation::create_id_namespace::builders::CreateIdNamespaceFluentBuilder::description) / [`set_description(Option<String>)`](crate::operation::create_id_namespace::builders::CreateIdNamespaceFluentBuilder::set_description):<br>required: **false**<br><p>The description of the ID namespace.</p><br>
8 /// - [`input_source_config(IdNamespaceInputSource)`](crate::operation::create_id_namespace::builders::CreateIdNamespaceFluentBuilder::input_source_config) / [`set_input_source_config(Option<Vec::<IdNamespaceInputSource>>)`](crate::operation::create_id_namespace::builders::CreateIdNamespaceFluentBuilder::set_input_source_config):<br>required: **false**<br><p>A list of <code>InputSource</code> objects, which have the fields <code>InputSourceARN</code> and <code>SchemaName</code>.</p><br>
9 /// - [`id_mapping_workflow_properties(IdNamespaceIdMappingWorkflowProperties)`](crate::operation::create_id_namespace::builders::CreateIdNamespaceFluentBuilder::id_mapping_workflow_properties) / [`set_id_mapping_workflow_properties(Option<Vec::<IdNamespaceIdMappingWorkflowProperties>>)`](crate::operation::create_id_namespace::builders::CreateIdNamespaceFluentBuilder::set_id_mapping_workflow_properties):<br>required: **false**<br><p>Determines the properties of <code>IdMappingWorflow</code> where this <code>IdNamespace</code> can be used as a <code>Source</code> or a <code>Target</code>.</p><br>
10 /// - [`r#type(IdNamespaceType)`](crate::operation::create_id_namespace::builders::CreateIdNamespaceFluentBuilder::type) / [`set_type(Option<IdNamespaceType>)`](crate::operation::create_id_namespace::builders::CreateIdNamespaceFluentBuilder::set_type):<br>required: **true**<br><p>The type of ID namespace. There are two types: <code>SOURCE</code> and <code>TARGET</code>.</p> <p>The <code>SOURCE</code> contains configurations for <code>sourceId</code> data that will be processed in an ID mapping workflow.</p> <p>The <code>TARGET</code> contains a configuration of <code>targetId</code> to which all <code>sourceIds</code> will resolve to.</p><br>
11 /// - [`role_arn(impl Into<String>)`](crate::operation::create_id_namespace::builders::CreateIdNamespaceFluentBuilder::role_arn) / [`set_role_arn(Option<String>)`](crate::operation::create_id_namespace::builders::CreateIdNamespaceFluentBuilder::set_role_arn):<br>required: **false**<br><p>The Amazon Resource Name (ARN) of the IAM role. Entity Resolution assumes this role to access the resources defined in this <code>IdNamespace</code> on your behalf as part of the workflow run.</p><br>
12 /// - [`tags(impl Into<String>, impl Into<String>)`](crate::operation::create_id_namespace::builders::CreateIdNamespaceFluentBuilder::tags) / [`set_tags(Option<HashMap::<String, String>>)`](crate::operation::create_id_namespace::builders::CreateIdNamespaceFluentBuilder::set_tags):<br>required: **false**<br><p>The tags used to organize, track, or control access for this resource.</p><br>
13 /// - On success, responds with [`CreateIdNamespaceOutput`](crate::operation::create_id_namespace::CreateIdNamespaceOutput) with field(s):
14 /// - [`id_namespace_name(String)`](crate::operation::create_id_namespace::CreateIdNamespaceOutput::id_namespace_name): <p>The name of the ID namespace.</p>
15 /// - [`id_namespace_arn(String)`](crate::operation::create_id_namespace::CreateIdNamespaceOutput::id_namespace_arn): <p>The Amazon Resource Name (ARN) of the ID namespace.</p>
16 /// - [`description(Option<String>)`](crate::operation::create_id_namespace::CreateIdNamespaceOutput::description): <p>The description of the ID namespace.</p>
17 /// - [`input_source_config(Option<Vec::<IdNamespaceInputSource>>)`](crate::operation::create_id_namespace::CreateIdNamespaceOutput::input_source_config): <p>A list of <code>InputSource</code> objects, which have the fields <code>InputSourceARN</code> and <code>SchemaName</code>.</p>
18 /// - [`id_mapping_workflow_properties(Option<Vec::<IdNamespaceIdMappingWorkflowProperties>>)`](crate::operation::create_id_namespace::CreateIdNamespaceOutput::id_mapping_workflow_properties): <p>Determines the properties of <code>IdMappingWorkflow</code> where this <code>IdNamespace</code> can be used as a <code>Source</code> or a <code>Target</code>.</p>
19 /// - [`r#type(IdNamespaceType)`](crate::operation::create_id_namespace::CreateIdNamespaceOutput::type): <p>The type of ID namespace. There are two types: <code>SOURCE</code> and <code>TARGET</code>.</p> <p>The <code>SOURCE</code> contains configurations for <code>sourceId</code> data that will be processed in an ID mapping workflow.</p> <p>The <code>TARGET</code> contains a configuration of <code>targetId</code> to which all <code>sourceIds</code> will resolve to.</p>
20 /// - [`role_arn(Option<String>)`](crate::operation::create_id_namespace::CreateIdNamespaceOutput::role_arn): <p>The Amazon Resource Name (ARN) of the IAM role. Entity Resolution assumes this role to access the resources defined in <code>inputSourceConfig</code> on your behalf as part of the workflow run.</p>
21 /// - [`created_at(DateTime)`](crate::operation::create_id_namespace::CreateIdNamespaceOutput::created_at): <p>The timestamp of when the ID namespace was created.</p>
22 /// - [`updated_at(DateTime)`](crate::operation::create_id_namespace::CreateIdNamespaceOutput::updated_at): <p>The timestamp of when the ID namespace was last updated.</p>
23 /// - [`tags(Option<HashMap::<String, String>>)`](crate::operation::create_id_namespace::CreateIdNamespaceOutput::tags): <p>The tags used to organize, track, or control access for this resource.</p>
24 /// - On failure, responds with [`SdkError<CreateIdNamespaceError>`](crate::operation::create_id_namespace::CreateIdNamespaceError)
25 pub fn create_id_namespace(&self) -> crate::operation::create_id_namespace::builders::CreateIdNamespaceFluentBuilder {
26 crate::operation::create_id_namespace::builders::CreateIdNamespaceFluentBuilder::new(self.handle.clone())
27 }
28}