Copyright | (c) 2013-2015 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Network.AWS.CodePipeline.PutActionRevision
Description
Provides information to AWS CodePipeline about new revisions to a source.
See: AWS API Reference for PutActionRevision.
- putActionRevision :: Text -> Text -> Text -> ActionRevision -> PutActionRevision
- data PutActionRevision
- parPipelineName :: Lens' PutActionRevision Text
- parStageName :: Lens' PutActionRevision Text
- parActionName :: Lens' PutActionRevision Text
- parActionRevision :: Lens' PutActionRevision ActionRevision
- putActionRevisionResponse :: Int -> PutActionRevisionResponse
- data PutActionRevisionResponse
- parrsNewRevision :: Lens' PutActionRevisionResponse (Maybe Bool)
- parrsPipelineExecutionId :: Lens' PutActionRevisionResponse (Maybe Text)
- parrsStatus :: Lens' PutActionRevisionResponse Int
Creating a Request
Arguments
:: Text | |
-> Text | |
-> Text | |
-> ActionRevision | |
-> PutActionRevision |
Creates a value of PutActionRevision
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data PutActionRevision Source
Represents the input of a put action revision action.
See: putActionRevision
smart constructor.
Instances
Request Lenses
parPipelineName :: Lens' PutActionRevision Text Source
The name of the pipeline that will start processing the revision to the source.
parStageName :: Lens' PutActionRevision Text Source
The name of the stage that contains the action that will act upon the revision.
parActionName :: Lens' PutActionRevision Text Source
The name of the action that will process the revision.
parActionRevision :: Lens' PutActionRevision ActionRevision Source
Undocumented member.
Destructuring the Response
putActionRevisionResponse Source
Arguments
:: Int | |
-> PutActionRevisionResponse |
Creates a value of PutActionRevisionResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data PutActionRevisionResponse Source
Represents the output of a put action revision action.
See: putActionRevisionResponse
smart constructor.
Response Lenses
parrsNewRevision :: Lens' PutActionRevisionResponse (Maybe Bool) Source
The new revision number or ID for the revision after the action completes.
parrsPipelineExecutionId :: Lens' PutActionRevisionResponse (Maybe Text) Source
The ID of the current workflow state of the pipeline.
parrsStatus :: Lens' PutActionRevisionResponse Int Source
The response status code.