#[non_exhaustive]pub struct CreateIdNamespaceInput {
pub id_namespace_name: Option<String>,
pub description: Option<String>,
pub input_source_config: Option<Vec<IdNamespaceInputSource>>,
pub id_mapping_workflow_properties: Option<Vec<IdNamespaceIdMappingWorkflowProperties>>,
pub type: Option<IdNamespaceType>,
pub role_arn: Option<String>,
pub tags: Option<HashMap<String, String>>,
}
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.id_namespace_name: Option<String>
The name of the ID namespace.
description: Option<String>
The description of the ID namespace.
input_source_config: Option<Vec<IdNamespaceInputSource>>
A list of InputSource
objects, which have the fields InputSourceARN
and SchemaName
.
id_mapping_workflow_properties: Option<Vec<IdNamespaceIdMappingWorkflowProperties>>
Determines the properties of IdMappingWorflow
where this IdNamespace
can be used as a Source
or a Target
.
type: Option<IdNamespaceType>
The type of ID namespace. There are two types: SOURCE
and TARGET
.
The SOURCE
contains configurations for sourceId
data that will be processed in an ID mapping workflow.
The TARGET
contains a configuration of targetId
to which all sourceIds
will resolve to.
role_arn: Option<String>
The Amazon Resource Name (ARN) of the IAM role. Entity Resolution assumes this role to access the resources defined in this IdNamespace
on your behalf as part of the workflow run.
The tags used to organize, track, or control access for this resource.
Implementations§
source§impl CreateIdNamespaceInput
impl CreateIdNamespaceInput
sourcepub fn id_namespace_name(&self) -> Option<&str>
pub fn id_namespace_name(&self) -> Option<&str>
The name of the ID namespace.
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
The description of the ID namespace.
sourcepub fn input_source_config(&self) -> &[IdNamespaceInputSource]
pub fn input_source_config(&self) -> &[IdNamespaceInputSource]
A list of InputSource
objects, which have the fields InputSourceARN
and SchemaName
.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .input_source_config.is_none()
.
sourcepub fn id_mapping_workflow_properties(
&self
) -> &[IdNamespaceIdMappingWorkflowProperties]
pub fn id_mapping_workflow_properties( &self ) -> &[IdNamespaceIdMappingWorkflowProperties]
Determines the properties of IdMappingWorflow
where this IdNamespace
can be used as a Source
or a Target
.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .id_mapping_workflow_properties.is_none()
.
sourcepub fn type(&self) -> Option<&IdNamespaceType>
pub fn type(&self) -> Option<&IdNamespaceType>
The type of ID namespace. There are two types: SOURCE
and TARGET
.
The SOURCE
contains configurations for sourceId
data that will be processed in an ID mapping workflow.
The TARGET
contains a configuration of targetId
to which all sourceIds
will resolve to.
sourcepub fn role_arn(&self) -> Option<&str>
pub fn role_arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) of the IAM role. Entity Resolution assumes this role to access the resources defined in this IdNamespace
on your behalf as part of the workflow run.
The tags used to organize, track, or control access for this resource.
source§impl CreateIdNamespaceInput
impl CreateIdNamespaceInput
sourcepub fn builder() -> CreateIdNamespaceInputBuilder
pub fn builder() -> CreateIdNamespaceInputBuilder
Creates a new builder-style object to manufacture CreateIdNamespaceInput
.
Trait Implementations§
source§impl Clone for CreateIdNamespaceInput
impl Clone for CreateIdNamespaceInput
source§fn clone(&self) -> CreateIdNamespaceInput
fn clone(&self) -> CreateIdNamespaceInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CreateIdNamespaceInput
impl Debug for CreateIdNamespaceInput
source§impl PartialEq for CreateIdNamespaceInput
impl PartialEq for CreateIdNamespaceInput
source§fn eq(&self, other: &CreateIdNamespaceInput) -> bool
fn eq(&self, other: &CreateIdNamespaceInput) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CreateIdNamespaceInput
Auto Trait Implementations§
impl Freeze for CreateIdNamespaceInput
impl RefUnwindSafe for CreateIdNamespaceInput
impl Send for CreateIdNamespaceInput
impl Sync for CreateIdNamespaceInput
impl Unpin for CreateIdNamespaceInput
impl UnwindSafe for CreateIdNamespaceInput
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more