Copyright | (c) 2013-2021 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 |
Provides information to AWS CodePipeline about new revisions to a source.
Synopsis
- data PutActionRevision = PutActionRevision' {}
- newPutActionRevision :: Text -> Text -> Text -> ActionRevision -> PutActionRevision
- putActionRevision_pipelineName :: Lens' PutActionRevision Text
- putActionRevision_stageName :: Lens' PutActionRevision Text
- putActionRevision_actionName :: Lens' PutActionRevision Text
- putActionRevision_actionRevision :: Lens' PutActionRevision ActionRevision
- data PutActionRevisionResponse = PutActionRevisionResponse' {}
- newPutActionRevisionResponse :: Int -> PutActionRevisionResponse
- putActionRevisionResponse_newRevision :: Lens' PutActionRevisionResponse (Maybe Bool)
- putActionRevisionResponse_pipelineExecutionId :: Lens' PutActionRevisionResponse (Maybe Text)
- putActionRevisionResponse_httpStatus :: Lens' PutActionRevisionResponse Int
Creating a Request
data PutActionRevision Source #
Represents the input of a PutActionRevision
action.
See: newPutActionRevision
smart constructor.
PutActionRevision' | |
|
Instances
:: Text | |
-> Text | |
-> Text | |
-> ActionRevision | |
-> PutActionRevision |
Create a value of PutActionRevision
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:pipelineName:PutActionRevision'
, putActionRevision_pipelineName
- The name of the pipeline that starts processing the revision to the
source.
$sel:stageName:PutActionRevision'
, putActionRevision_stageName
- The name of the stage that contains the action that acts on the
revision.
$sel:actionName:PutActionRevision'
, putActionRevision_actionName
- The name of the action that processes the revision.
$sel:actionRevision:PutActionRevision'
, putActionRevision_actionRevision
- Represents information about the version (or revision) of an action.
Request Lenses
putActionRevision_pipelineName :: Lens' PutActionRevision Text Source #
The name of the pipeline that starts processing the revision to the source.
putActionRevision_stageName :: Lens' PutActionRevision Text Source #
The name of the stage that contains the action that acts on the revision.
putActionRevision_actionName :: Lens' PutActionRevision Text Source #
The name of the action that processes the revision.
putActionRevision_actionRevision :: Lens' PutActionRevision ActionRevision Source #
Represents information about the version (or revision) of an action.
Destructuring the Response
data PutActionRevisionResponse Source #
Represents the output of a PutActionRevision
action.
See: newPutActionRevisionResponse
smart constructor.
PutActionRevisionResponse' | |
|
Instances
newPutActionRevisionResponse Source #
Create a value of PutActionRevisionResponse
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:newRevision':PutActionRevisionResponse'
, putActionRevisionResponse_newRevision
- Indicates whether the artifact revision was previously used in an
execution of the specified pipeline.
$sel:pipelineExecutionId:PutActionRevisionResponse'
, putActionRevisionResponse_pipelineExecutionId
- The ID of the current workflow state of the pipeline.
$sel:httpStatus:PutActionRevisionResponse'
, putActionRevisionResponse_httpStatus
- The response's http status code.
Response Lenses
putActionRevisionResponse_newRevision :: Lens' PutActionRevisionResponse (Maybe Bool) Source #
Indicates whether the artifact revision was previously used in an execution of the specified pipeline.
putActionRevisionResponse_pipelineExecutionId :: Lens' PutActionRevisionResponse (Maybe Text) Source #
The ID of the current workflow state of the pipeline.
putActionRevisionResponse_httpStatus :: Lens' PutActionRevisionResponse Int Source #
The response's http status code.