amazonka-codepipeline-1.6.0: Amazon CodePipeline 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.CodePipeline.PollForThirdPartyJobs

Contents

Description

Determines whether there are any third party jobs for a job worker to act on. Only used for partner actions.

Important: When this API is called, AWS CodePipeline returns temporary credentials for the Amazon S3 bucket used to store artifacts for the pipeline, if the action requires access to that Amazon S3 bucket for input or output artifacts.

Synopsis

Creating a Request

pollForThirdPartyJobs #

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

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

data PollForThirdPartyJobs #

Represents the input of a PollForThirdPartyJobs action.

See: pollForThirdPartyJobs smart constructor.

Instances

Eq PollForThirdPartyJobs # 
Data PollForThirdPartyJobs # 

Methods

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

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

toConstr :: PollForThirdPartyJobs -> Constr #

dataTypeOf :: PollForThirdPartyJobs -> DataType #

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

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

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

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

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

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

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

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

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

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

Read PollForThirdPartyJobs # 
Show PollForThirdPartyJobs # 
Generic PollForThirdPartyJobs # 
Hashable PollForThirdPartyJobs # 
ToJSON PollForThirdPartyJobs # 
NFData PollForThirdPartyJobs # 

Methods

rnf :: PollForThirdPartyJobs -> () #

AWSRequest PollForThirdPartyJobs # 
ToHeaders PollForThirdPartyJobs # 
ToPath PollForThirdPartyJobs # 
ToQuery PollForThirdPartyJobs # 
type Rep PollForThirdPartyJobs # 
type Rep PollForThirdPartyJobs = D1 * (MetaData "PollForThirdPartyJobs" "Network.AWS.CodePipeline.PollForThirdPartyJobs" "amazonka-codepipeline-1.6.0-GX4ZtkGvrnsLYRyLBFiLdF" False) (C1 * (MetaCons "PollForThirdPartyJobs'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_pftpjMaxBatchSize") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Nat))) (S1 * (MetaSel (Just Symbol "_pftpjActionTypeId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * ActionTypeId))))
type Rs PollForThirdPartyJobs # 

Request Lenses

pftpjMaxBatchSize :: Lens' PollForThirdPartyJobs (Maybe Natural) #

The maximum number of jobs to return in a poll for jobs call.

pftpjActionTypeId :: Lens' PollForThirdPartyJobs ActionTypeId #

Represents information about an action type.

Destructuring the Response

pollForThirdPartyJobsResponse #

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

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

data PollForThirdPartyJobsResponse #

Represents the output of a PollForThirdPartyJobs action.

See: pollForThirdPartyJobsResponse smart constructor.

Instances

Eq PollForThirdPartyJobsResponse # 
Data PollForThirdPartyJobsResponse # 

Methods

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

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

toConstr :: PollForThirdPartyJobsResponse -> Constr #

dataTypeOf :: PollForThirdPartyJobsResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read PollForThirdPartyJobsResponse # 
Show PollForThirdPartyJobsResponse # 
Generic PollForThirdPartyJobsResponse # 
NFData PollForThirdPartyJobsResponse # 
type Rep PollForThirdPartyJobsResponse # 
type Rep PollForThirdPartyJobsResponse = D1 * (MetaData "PollForThirdPartyJobsResponse" "Network.AWS.CodePipeline.PollForThirdPartyJobs" "amazonka-codepipeline-1.6.0-GX4ZtkGvrnsLYRyLBFiLdF" False) (C1 * (MetaCons "PollForThirdPartyJobsResponse'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_pftpjrsJobs") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe [ThirdPartyJob]))) (S1 * (MetaSel (Just Symbol "_pftpjrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Int))))

Response Lenses

pftpjrsJobs :: Lens' PollForThirdPartyJobsResponse [ThirdPartyJob] #

Information about the jobs to take action on.