Struct aws_sdk_comprehend::client::fluent_builders::StartPiiEntitiesDetectionJob [−][src]
pub struct StartPiiEntitiesDetectionJob<C = DynConnector, M = AwsMiddleware, R = Standard> { /* fields omitted */ }
Expand description
Fluent builder constructing a request to StartPiiEntitiesDetectionJob
.
Starts an asynchronous PII entity detection job for a collection of documents.
Implementations
impl<C, M, R> StartPiiEntitiesDetectionJob<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> StartPiiEntitiesDetectionJob<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<StartPiiEntitiesDetectionJobOutput, SdkError<StartPiiEntitiesDetectionJobError>> where
R::Policy: SmithyRetryPolicy<StartPiiEntitiesDetectionJobInputOperationOutputAlias, StartPiiEntitiesDetectionJobOutput, StartPiiEntitiesDetectionJobError, StartPiiEntitiesDetectionJobInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<StartPiiEntitiesDetectionJobOutput, SdkError<StartPiiEntitiesDetectionJobError>> where
R::Policy: SmithyRetryPolicy<StartPiiEntitiesDetectionJobInputOperationOutputAlias, StartPiiEntitiesDetectionJobOutput, StartPiiEntitiesDetectionJobError, StartPiiEntitiesDetectionJobInputOperationRetryAlias>,
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
The input properties for a PII entities detection job.
The input properties for a PII entities detection job.
Provides configuration parameters for the output of PII entity detection jobs.
Provides configuration parameters for the output of PII entity detection jobs.
Specifies whether the output provides the locations (offsets) of PII entities or a file in which PII entities are redacted.
Specifies whether the output provides the locations (offsets) of PII entities or a file in which PII entities are redacted.
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.
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.
The Amazon Resource Name (ARN) of the AWS Identity and Access Management (IAM) role that grants Amazon Comprehend read access to your input data.
The Amazon Resource Name (ARN) of the AWS Identity and Access Management (IAM) role that grants Amazon Comprehend read access to your input data.
The identifier of the job.
The language of the input documents.
The language of the input documents.
A unique identifier for the request. If you don't set the client request token, Amazon Comprehend generates one.
A unique identifier for the request. If you don't set the client request token, Amazon Comprehend generates one.
Appends an item to Tags
.
To override the contents of this collection use set_tags
.
Tags to be associated with the PII entities detection job. A tag is a key-value pair that adds metadata to a resource used by Amazon Comprehend. For example, a tag with "Sales" as the key might be added to a resource to indicate its use by the sales department.
Tags to be associated with the PII entities detection job. A tag is a key-value pair that adds metadata to a resource used by Amazon Comprehend. For example, a tag with "Sales" as the key might be added to a resource to indicate its use by the sales department.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !RefUnwindSafe for StartPiiEntitiesDetectionJob<C, M, R>
impl<C, M, R> Send for StartPiiEntitiesDetectionJob<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Sync for StartPiiEntitiesDetectionJob<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Unpin for StartPiiEntitiesDetectionJob<C, M, R>
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !UnwindSafe for StartPiiEntitiesDetectionJob<C, M, R>
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more