libZSservicesZSamazonka-comprehendmedicalZSamazonka-comprehendmedical
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.ComprehendMedical.StartPHIDetectionJob

Description

Starts an asynchronous job to detect protected health information (PHI). Use the DescribePHIDetectionJob operation to track the status of a job.

Synopsis

Creating a Request

data StartPHIDetectionJob Source #

See: newStartPHIDetectionJob smart constructor.

Constructors

StartPHIDetectionJob' 

Fields

Instances

Instances details
Eq StartPHIDetectionJob Source # 
Instance details

Defined in Amazonka.ComprehendMedical.StartPHIDetectionJob

Read StartPHIDetectionJob Source # 
Instance details

Defined in Amazonka.ComprehendMedical.StartPHIDetectionJob

Show StartPHIDetectionJob Source # 
Instance details

Defined in Amazonka.ComprehendMedical.StartPHIDetectionJob

Generic StartPHIDetectionJob Source # 
Instance details

Defined in Amazonka.ComprehendMedical.StartPHIDetectionJob

Associated Types

type Rep StartPHIDetectionJob :: Type -> Type #

NFData StartPHIDetectionJob Source # 
Instance details

Defined in Amazonka.ComprehendMedical.StartPHIDetectionJob

Methods

rnf :: StartPHIDetectionJob -> () #

Hashable StartPHIDetectionJob Source # 
Instance details

Defined in Amazonka.ComprehendMedical.StartPHIDetectionJob

ToJSON StartPHIDetectionJob Source # 
Instance details

Defined in Amazonka.ComprehendMedical.StartPHIDetectionJob

AWSRequest StartPHIDetectionJob Source # 
Instance details

Defined in Amazonka.ComprehendMedical.StartPHIDetectionJob

Associated Types

type AWSResponse StartPHIDetectionJob #

ToHeaders StartPHIDetectionJob Source # 
Instance details

Defined in Amazonka.ComprehendMedical.StartPHIDetectionJob

ToPath StartPHIDetectionJob Source # 
Instance details

Defined in Amazonka.ComprehendMedical.StartPHIDetectionJob

ToQuery StartPHIDetectionJob Source # 
Instance details

Defined in Amazonka.ComprehendMedical.StartPHIDetectionJob

type Rep StartPHIDetectionJob Source # 
Instance details

Defined in Amazonka.ComprehendMedical.StartPHIDetectionJob

type Rep StartPHIDetectionJob = D1 ('MetaData "StartPHIDetectionJob" "Amazonka.ComprehendMedical.StartPHIDetectionJob" "libZSservicesZSamazonka-comprehendmedicalZSamazonka-comprehendmedical" 'False) (C1 ('MetaCons "StartPHIDetectionJob'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "kmsKey") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "jobName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "clientRequestToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 ('MetaSel ('Just "inputDataConfig") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 InputDataConfig) :*: S1 ('MetaSel ('Just "outputDataConfig") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 OutputDataConfig)) :*: (S1 ('MetaSel ('Just "dataAccessRoleArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "languageCode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 LanguageCode)))))
type AWSResponse StartPHIDetectionJob Source # 
Instance details

Defined in Amazonka.ComprehendMedical.StartPHIDetectionJob

newStartPHIDetectionJob Source #

Create a value of StartPHIDetectionJob with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:kmsKey:StartPHIDetectionJob', startPHIDetectionJob_kmsKey - An AWS Key Management Service key to encrypt your output files. If you do not specify a key, the files are written in plain text.

$sel:jobName:StartPHIDetectionJob', startPHIDetectionJob_jobName - The identifier of the job.

$sel:clientRequestToken:StartPHIDetectionJob', startPHIDetectionJob_clientRequestToken - A unique identifier for the request. If you don't set the client request token, Amazon Comprehend Medical generates one.

$sel:inputDataConfig:StartPHIDetectionJob', startPHIDetectionJob_inputDataConfig - Specifies the format and location of the input data for the job.

$sel:outputDataConfig:StartPHIDetectionJob', startPHIDetectionJob_outputDataConfig - Specifies where to send the output files.

$sel:dataAccessRoleArn:StartPHIDetectionJob', startPHIDetectionJob_dataAccessRoleArn - The Amazon Resource Name (ARN) of the AWS Identity and Access Management (IAM) role that grants Amazon Comprehend Medical read access to your input data. For more information, see Role-Based Permissions Required for Asynchronous Operations.

$sel:languageCode:StartPHIDetectionJob', startPHIDetectionJob_languageCode - The language of the input documents. All documents must be in the same language.

Request Lenses

startPHIDetectionJob_kmsKey :: Lens' StartPHIDetectionJob (Maybe Text) Source #

An AWS Key Management Service key to encrypt your output files. If you do not specify a key, the files are written in plain text.

startPHIDetectionJob_clientRequestToken :: Lens' StartPHIDetectionJob (Maybe Text) Source #

A unique identifier for the request. If you don't set the client request token, Amazon Comprehend Medical generates one.

startPHIDetectionJob_inputDataConfig :: Lens' StartPHIDetectionJob InputDataConfig Source #

Specifies the format and location of the input data for the job.

startPHIDetectionJob_dataAccessRoleArn :: Lens' StartPHIDetectionJob Text Source #

The Amazon Resource Name (ARN) of the AWS Identity and Access Management (IAM) role that grants Amazon Comprehend Medical read access to your input data. For more information, see Role-Based Permissions Required for Asynchronous Operations.

startPHIDetectionJob_languageCode :: Lens' StartPHIDetectionJob LanguageCode Source #

The language of the input documents. All documents must be in the same language.

Destructuring the Response

data StartPHIDetectionJobResponse Source #

See: newStartPHIDetectionJobResponse smart constructor.

Constructors

StartPHIDetectionJobResponse' 

Fields

  • jobId :: Maybe Text

    The identifier generated for the job. To get the status of a job, use this identifier with the DescribePHIDetectionJob operation.

  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Eq StartPHIDetectionJobResponse Source # 
Instance details

Defined in Amazonka.ComprehendMedical.StartPHIDetectionJob

Read StartPHIDetectionJobResponse Source # 
Instance details

Defined in Amazonka.ComprehendMedical.StartPHIDetectionJob

Show StartPHIDetectionJobResponse Source # 
Instance details

Defined in Amazonka.ComprehendMedical.StartPHIDetectionJob

Generic StartPHIDetectionJobResponse Source # 
Instance details

Defined in Amazonka.ComprehendMedical.StartPHIDetectionJob

Associated Types

type Rep StartPHIDetectionJobResponse :: Type -> Type #

NFData StartPHIDetectionJobResponse Source # 
Instance details

Defined in Amazonka.ComprehendMedical.StartPHIDetectionJob

type Rep StartPHIDetectionJobResponse Source # 
Instance details

Defined in Amazonka.ComprehendMedical.StartPHIDetectionJob

type Rep StartPHIDetectionJobResponse = D1 ('MetaData "StartPHIDetectionJobResponse" "Amazonka.ComprehendMedical.StartPHIDetectionJob" "libZSservicesZSamazonka-comprehendmedicalZSamazonka-comprehendmedical" 'False) (C1 ('MetaCons "StartPHIDetectionJobResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "jobId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newStartPHIDetectionJobResponse Source #

Create a value of StartPHIDetectionJobResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:jobId:StartPHIDetectionJobResponse', startPHIDetectionJobResponse_jobId - The identifier generated for the job. To get the status of a job, use this identifier with the DescribePHIDetectionJob operation.

$sel:httpStatus:StartPHIDetectionJobResponse', startPHIDetectionJobResponse_httpStatus - The response's http status code.

Response Lenses

startPHIDetectionJobResponse_jobId :: Lens' StartPHIDetectionJobResponse (Maybe Text) Source #

The identifier generated for the job. To get the status of a job, use this identifier with the DescribePHIDetectionJob operation.