amazonka-comprehend-1.6.1: Amazon Comprehend SDK.

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

Network.AWS.Comprehend.StartTopicsDetectionJob

Contents

Description

Starts an asynchronous topic detection job. Use the DescribeTopicDetectionJob operation to track the status of a job.

Synopsis

Creating a Request

startTopicsDetectionJob Source #

Creates a value of StartTopicsDetectionJob with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

data StartTopicsDetectionJob Source #

See: startTopicsDetectionJob smart constructor.

Instances
Eq StartTopicsDetectionJob Source # 
Instance details

Defined in Network.AWS.Comprehend.StartTopicsDetectionJob

Data StartTopicsDetectionJob Source # 
Instance details

Defined in Network.AWS.Comprehend.StartTopicsDetectionJob

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> StartTopicsDetectionJob -> c StartTopicsDetectionJob #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c StartTopicsDetectionJob #

toConstr :: StartTopicsDetectionJob -> Constr #

dataTypeOf :: StartTopicsDetectionJob -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c StartTopicsDetectionJob) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c StartTopicsDetectionJob) #

gmapT :: (forall b. Data b => b -> b) -> StartTopicsDetectionJob -> StartTopicsDetectionJob #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> StartTopicsDetectionJob -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> StartTopicsDetectionJob -> r #

gmapQ :: (forall d. Data d => d -> u) -> StartTopicsDetectionJob -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> StartTopicsDetectionJob -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> StartTopicsDetectionJob -> m StartTopicsDetectionJob #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> StartTopicsDetectionJob -> m StartTopicsDetectionJob #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> StartTopicsDetectionJob -> m StartTopicsDetectionJob #

Read StartTopicsDetectionJob Source # 
Instance details

Defined in Network.AWS.Comprehend.StartTopicsDetectionJob

Show StartTopicsDetectionJob Source # 
Instance details

Defined in Network.AWS.Comprehend.StartTopicsDetectionJob

Generic StartTopicsDetectionJob Source # 
Instance details

Defined in Network.AWS.Comprehend.StartTopicsDetectionJob

Associated Types

type Rep StartTopicsDetectionJob :: Type -> Type #

Hashable StartTopicsDetectionJob Source # 
Instance details

Defined in Network.AWS.Comprehend.StartTopicsDetectionJob

ToJSON StartTopicsDetectionJob Source # 
Instance details

Defined in Network.AWS.Comprehend.StartTopicsDetectionJob

AWSRequest StartTopicsDetectionJob Source # 
Instance details

Defined in Network.AWS.Comprehend.StartTopicsDetectionJob

Associated Types

type Rs StartTopicsDetectionJob :: Type #

ToHeaders StartTopicsDetectionJob Source # 
Instance details

Defined in Network.AWS.Comprehend.StartTopicsDetectionJob

ToPath StartTopicsDetectionJob Source # 
Instance details

Defined in Network.AWS.Comprehend.StartTopicsDetectionJob

ToQuery StartTopicsDetectionJob Source # 
Instance details

Defined in Network.AWS.Comprehend.StartTopicsDetectionJob

NFData StartTopicsDetectionJob Source # 
Instance details

Defined in Network.AWS.Comprehend.StartTopicsDetectionJob

Methods

rnf :: StartTopicsDetectionJob -> () #

type Rep StartTopicsDetectionJob Source # 
Instance details

Defined in Network.AWS.Comprehend.StartTopicsDetectionJob

type Rep StartTopicsDetectionJob = D1 (MetaData "StartTopicsDetectionJob" "Network.AWS.Comprehend.StartTopicsDetectionJob" "amazonka-comprehend-1.6.1-JmZRhcK5vJN1rBy4HW0MWx" False) (C1 (MetaCons "StartTopicsDetectionJob'" PrefixI True) ((S1 (MetaSel (Just "_stdjJobName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_stdjNumberOfTopics") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Nat)) :*: S1 (MetaSel (Just "_stdjClientRequestToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 (MetaSel (Just "_stdjInputDataConfig") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 InputDataConfig) :*: (S1 (MetaSel (Just "_stdjOutputDataConfig") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 OutputDataConfig) :*: S1 (MetaSel (Just "_stdjDataAccessRoleARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))))
type Rs StartTopicsDetectionJob Source # 
Instance details

Defined in Network.AWS.Comprehend.StartTopicsDetectionJob

Request Lenses

stdjJobName :: Lens' StartTopicsDetectionJob (Maybe Text) Source #

The identifier of the job.

stdjClientRequestToken :: Lens' StartTopicsDetectionJob (Maybe Text) Source #

A unique identifier for the request. If you do not set the client request token, Amazon Comprehend generates one.

stdjInputDataConfig :: Lens' StartTopicsDetectionJob InputDataConfig Source #

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

stdjOutputDataConfig :: Lens' StartTopicsDetectionJob OutputDataConfig Source #

Specifies where to send the output files.

stdjDataAccessRoleARN :: Lens' StartTopicsDetectionJob Text Source #

The Amazon Resource Name (ARN) of the AWS Identity and Access Management (IAM) role that grants Amazon Comprehend read access to your input data.

Destructuring the Response

startTopicsDetectionJobResponse Source #

Creates a value of StartTopicsDetectionJobResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • stdjrsJobId - The identifier generated for the job. To get the status of the job, use this identifier with the DescribeTopicDetectionJob operation.
  • stdjrsJobStatus - The status of the job: * SUBMITTED - The job has been received and is queued for processing. * IN_PROGRESS - Amazon Comprehend is processing the job. * COMPLETED - The job was successfully completed and the output is available. * FAILED - The job did not complete. To get details, use the DescribeTopicDetectionJob operation.
  • stdjrsResponseStatus - -- | The response status code.

data StartTopicsDetectionJobResponse Source #

See: startTopicsDetectionJobResponse smart constructor.

Instances
Eq StartTopicsDetectionJobResponse Source # 
Instance details

Defined in Network.AWS.Comprehend.StartTopicsDetectionJob

Data StartTopicsDetectionJobResponse Source # 
Instance details

Defined in Network.AWS.Comprehend.StartTopicsDetectionJob

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> StartTopicsDetectionJobResponse -> c StartTopicsDetectionJobResponse #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c StartTopicsDetectionJobResponse #

toConstr :: StartTopicsDetectionJobResponse -> Constr #

dataTypeOf :: StartTopicsDetectionJobResponse -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c StartTopicsDetectionJobResponse) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c StartTopicsDetectionJobResponse) #

gmapT :: (forall b. Data b => b -> b) -> StartTopicsDetectionJobResponse -> StartTopicsDetectionJobResponse #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> StartTopicsDetectionJobResponse -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> StartTopicsDetectionJobResponse -> r #

gmapQ :: (forall d. Data d => d -> u) -> StartTopicsDetectionJobResponse -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> StartTopicsDetectionJobResponse -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> StartTopicsDetectionJobResponse -> m StartTopicsDetectionJobResponse #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> StartTopicsDetectionJobResponse -> m StartTopicsDetectionJobResponse #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> StartTopicsDetectionJobResponse -> m StartTopicsDetectionJobResponse #

Read StartTopicsDetectionJobResponse Source # 
Instance details

Defined in Network.AWS.Comprehend.StartTopicsDetectionJob

Show StartTopicsDetectionJobResponse Source # 
Instance details

Defined in Network.AWS.Comprehend.StartTopicsDetectionJob

Generic StartTopicsDetectionJobResponse Source # 
Instance details

Defined in Network.AWS.Comprehend.StartTopicsDetectionJob

Associated Types

type Rep StartTopicsDetectionJobResponse :: Type -> Type #

NFData StartTopicsDetectionJobResponse Source # 
Instance details

Defined in Network.AWS.Comprehend.StartTopicsDetectionJob

type Rep StartTopicsDetectionJobResponse Source # 
Instance details

Defined in Network.AWS.Comprehend.StartTopicsDetectionJob

type Rep StartTopicsDetectionJobResponse = D1 (MetaData "StartTopicsDetectionJobResponse" "Network.AWS.Comprehend.StartTopicsDetectionJob" "amazonka-comprehend-1.6.1-JmZRhcK5vJN1rBy4HW0MWx" False) (C1 (MetaCons "StartTopicsDetectionJobResponse'" PrefixI True) (S1 (MetaSel (Just "_stdjrsJobId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_stdjrsJobStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe JobStatus)) :*: S1 (MetaSel (Just "_stdjrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int))))

Response Lenses

stdjrsJobId :: Lens' StartTopicsDetectionJobResponse (Maybe Text) Source #

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

stdjrsJobStatus :: Lens' StartTopicsDetectionJobResponse (Maybe JobStatus) Source #

The status of the job: * SUBMITTED - The job has been received and is queued for processing. * IN_PROGRESS - Amazon Comprehend is processing the job. * COMPLETED - The job was successfully completed and the output is available. * FAILED - The job did not complete. To get details, use the DescribeTopicDetectionJob operation.