1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`CreateIdNamespace`](crate::operation::create_id_namespace::builders::CreateIdNamespaceFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`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>
    ///   - [`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>
    ///   - [`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>
    ///   - [`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>
    ///   - [`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>
    ///   - [`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>
    ///   - [`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>
    /// - On success, responds with [`CreateIdNamespaceOutput`](crate::operation::create_id_namespace::CreateIdNamespaceOutput) with field(s):
    ///   - [`id_namespace_name(String)`](crate::operation::create_id_namespace::CreateIdNamespaceOutput::id_namespace_name): <p>The name of the ID namespace.</p>
    ///   - [`id_namespace_arn(String)`](crate::operation::create_id_namespace::CreateIdNamespaceOutput::id_namespace_arn): <p>The Amazon Resource Name (ARN) of the ID namespace.</p>
    ///   - [`description(Option<String>)`](crate::operation::create_id_namespace::CreateIdNamespaceOutput::description): <p>The description of the ID namespace.</p>
    ///   - [`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>
    ///   - [`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>
    ///   - [`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>
    ///   - [`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>
    ///   - [`created_at(DateTime)`](crate::operation::create_id_namespace::CreateIdNamespaceOutput::created_at): <p>The timestamp of when the ID namespace was created.</p>
    ///   - [`updated_at(DateTime)`](crate::operation::create_id_namespace::CreateIdNamespaceOutput::updated_at): <p>The timestamp of when the ID namespace was last updated.</p>
    ///   - [`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>
    /// - On failure, responds with [`SdkError<CreateIdNamespaceError>`](crate::operation::create_id_namespace::CreateIdNamespaceError)
    pub fn create_id_namespace(&self) -> crate::operation::create_id_namespace::builders::CreateIdNamespaceFluentBuilder {
        crate::operation::create_id_namespace::builders::CreateIdNamespaceFluentBuilder::new(self.handle.clone())
    }
}