pub struct StartPiiEntitiesDetectionJobRequest {
pub client_request_token: Option<String>,
pub data_access_role_arn: String,
pub input_data_config: InputDataConfig,
pub job_name: Option<String>,
pub language_code: String,
pub mode: String,
pub output_data_config: OutputDataConfig,
pub redaction_config: Option<RedactionConfig>,
}
Fields
client_request_token: Option<String>
A unique identifier for the request. If you don't set the client request token, Amazon Comprehend generates one.
data_access_role_arn: String
The Amazon Resource Name (ARN) of the AWS Identity and Access Management (IAM) role that grants Amazon Comprehend read access to your input data.
input_data_config: InputDataConfig
The input properties for a PII entities detection job.
job_name: Option<String>
The identifier of the job.
language_code: String
The language of the input documents.
mode: String
Specifies whether the output provides the locations (offsets) of PII entities or a file in which PII entities are redacted.
output_data_config: OutputDataConfig
Provides configuration parameters for the output of PII entity detection jobs.
redaction_config: Option<RedactionConfig>
Provides configuration parameters for PII entity redaction.
This parameter is required if you set the Mode
parameter to ONLY_REDACTION
. In that case, you must provide a RedactionConfig
definition that includes the PiiEntityTypes
parameter.
Trait Implementations
sourceimpl Clone for StartPiiEntitiesDetectionJobRequest
impl Clone for StartPiiEntitiesDetectionJobRequest
sourcefn clone(&self) -> StartPiiEntitiesDetectionJobRequest
fn clone(&self) -> StartPiiEntitiesDetectionJobRequest
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Default for StartPiiEntitiesDetectionJobRequest
impl Default for StartPiiEntitiesDetectionJobRequest
sourcefn default() -> StartPiiEntitiesDetectionJobRequest
fn default() -> StartPiiEntitiesDetectionJobRequest
Returns the “default value” for a type. Read more
sourceimpl PartialEq<StartPiiEntitiesDetectionJobRequest> for StartPiiEntitiesDetectionJobRequest
impl PartialEq<StartPiiEntitiesDetectionJobRequest> for StartPiiEntitiesDetectionJobRequest
sourcefn eq(&self, other: &StartPiiEntitiesDetectionJobRequest) -> bool
fn eq(&self, other: &StartPiiEntitiesDetectionJobRequest) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &StartPiiEntitiesDetectionJobRequest) -> bool
fn ne(&self, other: &StartPiiEntitiesDetectionJobRequest) -> bool
This method tests for !=
.
impl StructuralPartialEq for StartPiiEntitiesDetectionJobRequest
Auto Trait Implementations
impl RefUnwindSafe for StartPiiEntitiesDetectionJobRequest
impl Send for StartPiiEntitiesDetectionJobRequest
impl Sync for StartPiiEntitiesDetectionJobRequest
impl Unpin for StartPiiEntitiesDetectionJobRequest
impl UnwindSafe for StartPiiEntitiesDetectionJobRequest
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more