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 |
Starts the specified pipeline. Specifically, it begins processing the latest commit to the source location specified as part of the pipeline.
Synopsis
- data StartPipelineExecution = StartPipelineExecution' {
- clientRequestToken :: Maybe Text
- name :: Text
- newStartPipelineExecution :: Text -> StartPipelineExecution
- startPipelineExecution_clientRequestToken :: Lens' StartPipelineExecution (Maybe Text)
- startPipelineExecution_name :: Lens' StartPipelineExecution Text
- data StartPipelineExecutionResponse = StartPipelineExecutionResponse' {}
- newStartPipelineExecutionResponse :: Int -> StartPipelineExecutionResponse
- startPipelineExecutionResponse_pipelineExecutionId :: Lens' StartPipelineExecutionResponse (Maybe Text)
- startPipelineExecutionResponse_httpStatus :: Lens' StartPipelineExecutionResponse Int
Creating a Request
data StartPipelineExecution Source #
Represents the input of a StartPipelineExecution
action.
See: newStartPipelineExecution
smart constructor.
StartPipelineExecution' | |
|
Instances
newStartPipelineExecution Source #
Create a value of StartPipelineExecution
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:clientRequestToken:StartPipelineExecution'
, startPipelineExecution_clientRequestToken
- The system-generated unique ID used to identify a unique execution
request.
$sel:name:StartPipelineExecution'
, startPipelineExecution_name
- The name of the pipeline to start.
Request Lenses
startPipelineExecution_clientRequestToken :: Lens' StartPipelineExecution (Maybe Text) Source #
The system-generated unique ID used to identify a unique execution request.
startPipelineExecution_name :: Lens' StartPipelineExecution Text Source #
The name of the pipeline to start.
Destructuring the Response
data StartPipelineExecutionResponse Source #
Represents the output of a StartPipelineExecution
action.
See: newStartPipelineExecutionResponse
smart constructor.
StartPipelineExecutionResponse' | |
|
Instances
Eq StartPipelineExecutionResponse Source # | |
Read StartPipelineExecutionResponse Source # | |
Show StartPipelineExecutionResponse Source # | |
Defined in Amazonka.CodePipeline.StartPipelineExecution | |
Generic StartPipelineExecutionResponse Source # | |
NFData StartPipelineExecutionResponse Source # | |
Defined in Amazonka.CodePipeline.StartPipelineExecution rnf :: StartPipelineExecutionResponse -> () # | |
type Rep StartPipelineExecutionResponse Source # | |
Defined in Amazonka.CodePipeline.StartPipelineExecution type Rep StartPipelineExecutionResponse = D1 ('MetaData "StartPipelineExecutionResponse" "Amazonka.CodePipeline.StartPipelineExecution" "libZSservicesZSamazonka-codepipelineZSamazonka-codepipeline" 'False) (C1 ('MetaCons "StartPipelineExecutionResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "pipelineExecutionId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
newStartPipelineExecutionResponse Source #
Create a value of StartPipelineExecutionResponse
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:pipelineExecutionId:StartPipelineExecutionResponse'
, startPipelineExecutionResponse_pipelineExecutionId
- The unique system-generated ID of the pipeline execution that was
started.
$sel:httpStatus:StartPipelineExecutionResponse'
, startPipelineExecutionResponse_httpStatus
- The response's http status code.
Response Lenses
startPipelineExecutionResponse_pipelineExecutionId :: Lens' StartPipelineExecutionResponse (Maybe Text) Source #
The unique system-generated ID of the pipeline execution that was started.
startPipelineExecutionResponse_httpStatus :: Lens' StartPipelineExecutionResponse Int Source #
The response's http status code.