| 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.CreatePipeline
Description
Creates a pipeline.
In the pipeline structure, you must include either artifactStore or
artifactStores in your pipeline, but you cannot use both. If you
create a cross-region action in your pipeline, you must use
artifactStores.
Synopsis
- data CreatePipeline = CreatePipeline' {
- tags :: Maybe [Tag]
- pipeline :: PipelineDeclaration
- newCreatePipeline :: PipelineDeclaration -> CreatePipeline
- createPipeline_tags :: Lens' CreatePipeline (Maybe [Tag])
- createPipeline_pipeline :: Lens' CreatePipeline PipelineDeclaration
- data CreatePipelineResponse = CreatePipelineResponse' {
- pipeline :: Maybe PipelineDeclaration
- tags :: Maybe [Tag]
- httpStatus :: Int
- newCreatePipelineResponse :: Int -> CreatePipelineResponse
- createPipelineResponse_pipeline :: Lens' CreatePipelineResponse (Maybe PipelineDeclaration)
- createPipelineResponse_tags :: Lens' CreatePipelineResponse (Maybe [Tag])
- createPipelineResponse_httpStatus :: Lens' CreatePipelineResponse Int
Creating a Request
data CreatePipeline Source #
Represents the input of a CreatePipeline action.
See: newCreatePipeline smart constructor.
Constructors
| CreatePipeline' | |
Fields
| |
Instances
Arguments
| :: PipelineDeclaration | |
| -> CreatePipeline |
Create a value of CreatePipeline 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:
CreatePipeline, createPipeline_tags - The tags for the pipeline.
CreatePipeline, createPipeline_pipeline - Represents the structure of actions and stages to be performed in the
pipeline.
Request Lenses
createPipeline_tags :: Lens' CreatePipeline (Maybe [Tag]) Source #
The tags for the pipeline.
createPipeline_pipeline :: Lens' CreatePipeline PipelineDeclaration Source #
Represents the structure of actions and stages to be performed in the pipeline.
Destructuring the Response
data CreatePipelineResponse Source #
Represents the output of a CreatePipeline action.
See: newCreatePipelineResponse smart constructor.
Constructors
| CreatePipelineResponse' | |
Fields
| |
Instances
newCreatePipelineResponse Source #
Create a value of CreatePipelineResponse 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:
CreatePipeline, createPipelineResponse_pipeline - Represents the structure of actions and stages to be performed in the
pipeline.
CreatePipeline, createPipelineResponse_tags - Specifies the tags applied to the pipeline.
$sel:httpStatus:CreatePipelineResponse', createPipelineResponse_httpStatus - The response's http status code.
Response Lenses
createPipelineResponse_pipeline :: Lens' CreatePipelineResponse (Maybe PipelineDeclaration) Source #
Represents the structure of actions and stages to be performed in the pipeline.
createPipelineResponse_tags :: Lens' CreatePipelineResponse (Maybe [Tag]) Source #
Specifies the tags applied to the pipeline.
createPipelineResponse_httpStatus :: Lens' CreatePipelineResponse Int Source #
The response's http status code.