| Copyright | (c) 2013-2018 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay <brendan.g.hay+amazonka@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.
- putActionRevision :: Text -> Text -> Text -> ActionRevision -> PutActionRevision
- data PutActionRevision
- pPipelineName :: Lens' PutActionRevision Text
- pStageName :: Lens' PutActionRevision Text
- pActionName :: Lens' PutActionRevision Text
- pActionRevision :: Lens' PutActionRevision ActionRevision
- putActionRevisionResponse :: Int -> PutActionRevisionResponse
- data PutActionRevisionResponse
- prsNewRevision :: Lens' PutActionRevisionResponse (Maybe Bool)
- prsPipelineExecutionId :: Lens' PutActionRevisionResponse (Maybe Text)
- prsResponseStatus :: 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:
pPipelineName- The name of the pipeline that will start processing the revision to the source.pStageName- The name of the stage that contains the action that will act upon the revision.pActionName- The name of the action that will process the revision.pActionRevision- Represents information about the version (or revision) of an action.
data PutActionRevision Source #
Represents the input of a PutActionRevision action.
See: putActionRevision smart constructor.
Instances
Request Lenses
pPipelineName :: Lens' PutActionRevision Text Source #
The name of the pipeline that will start processing the revision to the source.
pStageName :: Lens' PutActionRevision Text Source #
The name of the stage that contains the action that will act upon the revision.
pActionName :: Lens' PutActionRevision Text Source #
The name of the action that will process the revision.
pActionRevision :: Lens' PutActionRevision ActionRevision Source #
Represents information about the version (or revision) of an action.
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:
prsNewRevision- Indicates whether the artifact revision was previously used in an execution of the specified pipeline.prsPipelineExecutionId- The ID of the current workflow state of the pipeline.prsResponseStatus- -- | The response status code.
data PutActionRevisionResponse Source #
Represents the output of a PutActionRevision action.
See: putActionRevisionResponse smart constructor.
Response Lenses
prsNewRevision :: Lens' PutActionRevisionResponse (Maybe Bool) Source #
Indicates whether the artifact revision was previously used in an execution of the specified pipeline.
prsPipelineExecutionId :: Lens' PutActionRevisionResponse (Maybe Text) Source #
The ID of the current workflow state of the pipeline.
prsResponseStatus :: Lens' PutActionRevisionResponse Int Source #
- - | The response status code.