| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.CodePipeline.PutActionRevision
Description
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.
Constructors
| PutActionRevision' | |
Fields
| |
Instances
Arguments
| :: 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:
PutActionRevision, putActionRevision_pipelineName - The name of the pipeline that starts processing the revision to the
source.
PutActionRevision, putActionRevision_stageName - The name of the stage that contains the action that acts on the
revision.
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.
Constructors
| PutActionRevisionResponse' | |
Fields
| |
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.
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.