@aws-sdk/client-codepipeline 3.34.0 → 3.37.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +47 -0
- package/{dist/cjs → dist-cjs}/CodePipeline.js +0 -198
- package/dist-cjs/CodePipelineClient.js +35 -0
- package/{dist/cjs → dist-cjs}/commands/AcknowledgeJobCommand.js +2 -28
- package/{dist/cjs → dist-cjs}/commands/AcknowledgeThirdPartyJobCommand.js +2 -28
- package/{dist/cjs → dist-cjs}/commands/CreateCustomActionTypeCommand.js +2 -28
- package/{dist/cjs → dist-cjs}/commands/CreatePipelineCommand.js +2 -33
- package/dist-cjs/commands/DeleteCustomActionTypeCommand.js +36 -0
- package/{dist/cjs → dist-cjs}/commands/DeletePipelineCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/DeleteWebhookCommand.js +2 -31
- package/{dist/cjs → dist-cjs}/commands/DeregisterWebhookWithThirdPartyCommand.js +2 -29
- package/{dist/cjs → dist-cjs}/commands/DisableStageTransitionCommand.js +2 -28
- package/{dist/cjs → dist-cjs}/commands/EnableStageTransitionCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/GetActionTypeCommand.js +2 -29
- package/{dist/cjs → dist-cjs}/commands/GetJobDetailsCommand.js +2 -33
- package/{dist/cjs → dist-cjs}/commands/GetPipelineCommand.js +2 -29
- package/{dist/cjs → dist-cjs}/commands/GetPipelineExecutionCommand.js +2 -29
- package/{dist/cjs → dist-cjs}/commands/GetPipelineStateCommand.js +2 -33
- package/{dist/cjs → dist-cjs}/commands/GetThirdPartyJobDetailsCommand.js +2 -34
- package/{dist/cjs → dist-cjs}/commands/ListActionExecutionsCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/ListActionTypesCommand.js +2 -28
- package/{dist/cjs → dist-cjs}/commands/ListPipelineExecutionsCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/ListPipelinesCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/ListTagsForResourceCommand.js +2 -28
- package/{dist/cjs → dist-cjs}/commands/ListWebhooksCommand.js +2 -29
- package/dist-cjs/commands/PollForJobsCommand.js +36 -0
- package/{dist/cjs → dist-cjs}/commands/PollForThirdPartyJobsCommand.js +2 -33
- package/{dist/cjs → dist-cjs}/commands/PutActionRevisionCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/PutApprovalResultCommand.js +2 -28
- package/{dist/cjs → dist-cjs}/commands/PutJobFailureResultCommand.js +2 -28
- package/{dist/cjs → dist-cjs}/commands/PutJobSuccessResultCommand.js +2 -28
- package/{dist/cjs → dist-cjs}/commands/PutThirdPartyJobFailureResultCommand.js +2 -28
- package/{dist/cjs → dist-cjs}/commands/PutThirdPartyJobSuccessResultCommand.js +2 -28
- package/dist-cjs/commands/PutWebhookCommand.js +36 -0
- package/{dist/cjs → dist-cjs}/commands/RegisterWebhookWithThirdPartyCommand.js +2 -28
- package/{dist/cjs → dist-cjs}/commands/RetryStageExecutionCommand.js +2 -30
- package/{dist/cjs → dist-cjs}/commands/StartPipelineExecutionCommand.js +2 -28
- package/{dist/cjs → dist-cjs}/commands/StopPipelineExecutionCommand.js +2 -32
- package/{dist/cjs → dist-cjs}/commands/TagResourceCommand.js +2 -28
- package/{dist/cjs → dist-cjs}/commands/UntagResourceCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/UpdateActionTypeCommand.js +2 -30
- package/{dist/cjs → dist-cjs}/commands/UpdatePipelineCommand.js +2 -30
- package/{dist/cjs → dist-cjs}/endpoints.js +1 -2
- package/{dist/cjs → dist-cjs}/index.js +0 -1
- package/{dist/cjs → dist-cjs}/models/index.js +0 -1
- package/{dist/cjs → dist-cjs}/models/models_0.js +0 -520
- package/{dist/cjs → dist-cjs}/pagination/Interfaces.js +0 -1
- package/{dist/cjs → dist-cjs}/pagination/ListActionExecutionsPaginator.js +0 -11
- package/{dist/cjs → dist-cjs}/pagination/ListActionTypesPaginator.js +0 -11
- package/{dist/cjs → dist-cjs}/pagination/ListPipelineExecutionsPaginator.js +0 -11
- package/{dist/cjs → dist-cjs}/pagination/ListPipelinesPaginator.js +0 -11
- package/{dist/cjs → dist-cjs}/pagination/ListTagsForResourcePaginator.js +0 -11
- package/{dist/cjs → dist-cjs}/pagination/ListWebhooksPaginator.js +0 -11
- package/{dist/cjs → dist-cjs}/protocols/Aws_json1_1.js +0 -6
- package/{dist/cjs → dist-cjs}/runtimeConfig.browser.js +1 -5
- package/{dist/cjs → dist-cjs}/runtimeConfig.js +1 -5
- package/{dist/cjs → dist-cjs}/runtimeConfig.native.js +0 -4
- package/{dist/cjs → dist-cjs}/runtimeConfig.shared.js +1 -5
- package/{dist/es → dist-es}/CodePipeline.js +0 -1
- package/{dist/es → dist-es}/CodePipelineClient.js +1 -2
- package/{dist/es → dist-es}/commands/AcknowledgeJobCommand.js +2 -3
- package/{dist/es → dist-es}/commands/AcknowledgeThirdPartyJobCommand.js +2 -3
- package/{dist/es → dist-es}/commands/CreateCustomActionTypeCommand.js +2 -3
- package/{dist/es → dist-es}/commands/CreatePipelineCommand.js +2 -3
- package/{dist/es → dist-es}/commands/DeleteCustomActionTypeCommand.js +2 -3
- package/{dist/es → dist-es}/commands/DeletePipelineCommand.js +2 -3
- package/{dist/es → dist-es}/commands/DeleteWebhookCommand.js +2 -3
- package/{dist/es → dist-es}/commands/DeregisterWebhookWithThirdPartyCommand.js +2 -3
- package/{dist/es → dist-es}/commands/DisableStageTransitionCommand.js +2 -3
- package/{dist/es → dist-es}/commands/EnableStageTransitionCommand.js +2 -3
- package/{dist/es → dist-es}/commands/GetActionTypeCommand.js +2 -3
- package/{dist/es → dist-es}/commands/GetJobDetailsCommand.js +2 -3
- package/{dist/es → dist-es}/commands/GetPipelineCommand.js +2 -3
- package/{dist/es → dist-es}/commands/GetPipelineExecutionCommand.js +2 -3
- package/{dist/es → dist-es}/commands/GetPipelineStateCommand.js +2 -3
- package/{dist/es → dist-es}/commands/GetThirdPartyJobDetailsCommand.js +2 -3
- package/{dist/es → dist-es}/commands/ListActionExecutionsCommand.js +2 -3
- package/{dist/es → dist-es}/commands/ListActionTypesCommand.js +2 -3
- package/{dist/es → dist-es}/commands/ListPipelineExecutionsCommand.js +2 -3
- package/{dist/es → dist-es}/commands/ListPipelinesCommand.js +2 -3
- package/{dist/es → dist-es}/commands/ListTagsForResourceCommand.js +2 -3
- package/{dist/es → dist-es}/commands/ListWebhooksCommand.js +2 -3
- package/{dist/es → dist-es}/commands/PollForJobsCommand.js +2 -3
- package/{dist/es → dist-es}/commands/PollForThirdPartyJobsCommand.js +2 -3
- package/{dist/es → dist-es}/commands/PutActionRevisionCommand.js +2 -3
- package/{dist/es → dist-es}/commands/PutApprovalResultCommand.js +2 -3
- package/{dist/es → dist-es}/commands/PutJobFailureResultCommand.js +2 -3
- package/{dist/es → dist-es}/commands/PutJobSuccessResultCommand.js +2 -3
- package/{dist/es → dist-es}/commands/PutThirdPartyJobFailureResultCommand.js +2 -3
- package/{dist/es → dist-es}/commands/PutThirdPartyJobSuccessResultCommand.js +2 -3
- package/{dist/es → dist-es}/commands/PutWebhookCommand.js +2 -3
- package/{dist/es → dist-es}/commands/RegisterWebhookWithThirdPartyCommand.js +2 -3
- package/{dist/es → dist-es}/commands/RetryStageExecutionCommand.js +2 -3
- package/{dist/es → dist-es}/commands/StartPipelineExecutionCommand.js +2 -3
- package/{dist/es → dist-es}/commands/StopPipelineExecutionCommand.js +2 -3
- package/{dist/es → dist-es}/commands/TagResourceCommand.js +2 -3
- package/{dist/es → dist-es}/commands/UntagResourceCommand.js +2 -3
- package/{dist/es → dist-es}/commands/UpdateActionTypeCommand.js +2 -3
- package/{dist/es → dist-es}/commands/UpdatePipelineCommand.js +2 -3
- package/{dist/es → dist-es}/endpoints.js +1 -2
- package/{dist/types/index.d.ts → dist-es/index.js} +0 -0
- package/{dist/types/models/index.d.ts → dist-es/models/index.js} +0 -0
- package/{dist/es → dist-es}/models/models_0.js +0 -1
- package/dist-es/pagination/Interfaces.js +1 -0
- package/{dist/es → dist-es}/pagination/ListActionExecutionsPaginator.js +0 -1
- package/{dist/es → dist-es}/pagination/ListActionTypesPaginator.js +0 -1
- package/{dist/es → dist-es}/pagination/ListPipelineExecutionsPaginator.js +0 -1
- package/{dist/es → dist-es}/pagination/ListPipelinesPaginator.js +0 -1
- package/{dist/es → dist-es}/pagination/ListTagsForResourcePaginator.js +0 -1
- package/{dist/es → dist-es}/pagination/ListWebhooksPaginator.js +0 -1
- package/{dist/es → dist-es}/protocols/Aws_json1_1.js +0 -1
- package/{dist/es → dist-es}/runtimeConfig.browser.js +1 -2
- package/{dist/es → dist-es}/runtimeConfig.js +1 -2
- package/{dist/es → dist-es}/runtimeConfig.native.js +0 -1
- package/{dist/es → dist-es}/runtimeConfig.shared.js +1 -2
- package/{dist/types → dist-types}/CodePipeline.d.ts +1 -1
- package/{dist/types → dist-types}/CodePipelineClient.d.ts +8 -8
- package/{dist/types → dist-types}/commands/AcknowledgeJobCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/AcknowledgeThirdPartyJobCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/CreateCustomActionTypeCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/CreatePipelineCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DeleteCustomActionTypeCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DeletePipelineCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DeleteWebhookCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DeregisterWebhookWithThirdPartyCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DisableStageTransitionCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/EnableStageTransitionCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/GetActionTypeCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/GetJobDetailsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/GetPipelineCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/GetPipelineExecutionCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/GetPipelineStateCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/GetThirdPartyJobDetailsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/ListActionExecutionsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/ListActionTypesCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/ListPipelineExecutionsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/ListPipelinesCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/ListTagsForResourceCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/ListWebhooksCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/PollForJobsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/PollForThirdPartyJobsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/PutActionRevisionCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/PutApprovalResultCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/PutJobFailureResultCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/PutJobSuccessResultCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/PutThirdPartyJobFailureResultCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/PutThirdPartyJobSuccessResultCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/PutWebhookCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/RegisterWebhookWithThirdPartyCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/RetryStageExecutionCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/StartPipelineExecutionCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/StopPipelineExecutionCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/TagResourceCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/UntagResourceCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/UpdateActionTypeCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/UpdatePipelineCommand.d.ts +2 -2
- package/{dist/types → dist-types}/endpoints.d.ts +0 -0
- package/{index.ts → dist-types/index.d.ts} +0 -0
- package/{models/index.ts → dist-types/models/index.d.ts} +0 -0
- package/{dist/types → dist-types}/models/models_0.d.ts +0 -0
- package/{dist/types → dist-types}/pagination/Interfaces.d.ts +1 -1
- package/{dist/types → dist-types}/pagination/ListActionExecutionsPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/pagination/ListActionTypesPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/pagination/ListPipelineExecutionsPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/pagination/ListPipelinesPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/pagination/ListTagsForResourcePaginator.d.ts +1 -1
- package/{dist/types → dist-types}/pagination/ListWebhooksPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/protocols/Aws_json1_1.d.ts +2 -2
- package/{dist/types → dist-types}/runtimeConfig.browser.d.ts +0 -0
- package/{dist/types → dist-types}/runtimeConfig.d.ts +1 -1
- package/{dist/types → dist-types}/runtimeConfig.native.d.ts +0 -0
- package/{dist/types → dist-types}/runtimeConfig.shared.d.ts +0 -0
- package/{dist/types → dist-types}/ts3.4/CodePipeline.d.ts +41 -411
- package/dist-types/ts3.4/CodePipelineClient.d.ts +106 -0
- package/dist-types/ts3.4/commands/AcknowledgeJobCommand.d.ts +17 -0
- package/{dist/types → dist-types}/ts3.4/commands/AcknowledgeThirdPartyJobCommand.d.ts +4 -23
- package/dist-types/ts3.4/commands/CreateCustomActionTypeCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/CreatePipelineCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteCustomActionTypeCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeletePipelineCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteWebhookCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeregisterWebhookWithThirdPartyCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DisableStageTransitionCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/EnableStageTransitionCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetActionTypeCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetJobDetailsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetPipelineCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetPipelineExecutionCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetPipelineStateCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetThirdPartyJobDetailsCommand.d.ts +17 -0
- package/{dist/types → dist-types}/ts3.4/commands/ListActionExecutionsCommand.d.ts +4 -22
- package/dist-types/ts3.4/commands/ListActionTypesCommand.d.ts +17 -0
- package/{dist/types → dist-types}/ts3.4/commands/ListPipelineExecutionsCommand.d.ts +4 -22
- package/dist-types/ts3.4/commands/ListPipelinesCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListWebhooksCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/PollForJobsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/PollForThirdPartyJobsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/PutActionRevisionCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/PutApprovalResultCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/PutJobFailureResultCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/PutJobSuccessResultCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/PutThirdPartyJobFailureResultCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/PutThirdPartyJobSuccessResultCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/PutWebhookCommand.d.ts +17 -0
- package/{dist/types → dist-types}/ts3.4/commands/RegisterWebhookWithThirdPartyCommand.d.ts +4 -23
- package/dist-types/ts3.4/commands/RetryStageExecutionCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/StartPipelineExecutionCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/StopPipelineExecutionCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UpdateActionTypeCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UpdatePipelineCommand.d.ts +17 -0
- package/{dist/types → dist-types}/ts3.4/endpoints.d.ts +0 -0
- package/{dist/types → dist-types}/ts3.4/index.d.ts +0 -0
- package/{dist/types → dist-types}/ts3.4/models/index.d.ts +0 -0
- package/dist-types/ts3.4/models/models_0.d.ts +2230 -0
- package/{dist/types → dist-types}/ts3.4/pagination/Interfaces.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/pagination/ListActionExecutionsPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/pagination/ListActionTypesPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/pagination/ListPipelineExecutionsPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/pagination/ListPipelinesPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/pagination/ListTagsForResourcePaginator.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/pagination/ListWebhooksPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/protocols/Aws_json1_1.d.ts +2 -2
- package/{dist/types → dist-types}/ts3.4/runtimeConfig.browser.d.ts +1 -3
- package/{dist/types → dist-types}/ts3.4/runtimeConfig.d.ts +2 -4
- package/{dist/types → dist-types}/ts3.4/runtimeConfig.native.d.ts +1 -3
- package/{dist/types → dist-types}/ts3.4/runtimeConfig.shared.d.ts +1 -3
- package/package.json +45 -42
- package/CodePipeline.ts +0 -1697
- package/CodePipelineClient.ts +0 -606
- package/commands/AcknowledgeJobCommand.ts +0 -95
- package/commands/AcknowledgeThirdPartyJobCommand.ts +0 -95
- package/commands/CreateCustomActionTypeCommand.ts +0 -95
- package/commands/CreatePipelineCommand.ts +0 -100
- package/commands/DeleteCustomActionTypeCommand.ts +0 -102
- package/commands/DeletePipelineCommand.ts +0 -94
- package/commands/DeleteWebhookCommand.ts +0 -98
- package/commands/DeregisterWebhookWithThirdPartyCommand.ts +0 -104
- package/commands/DisableStageTransitionCommand.ts +0 -95
- package/commands/EnableStageTransitionCommand.ts +0 -94
- package/commands/GetActionTypeCommand.ts +0 -96
- package/commands/GetJobDetailsCommand.ts +0 -100
- package/commands/GetPipelineCommand.ts +0 -96
- package/commands/GetPipelineExecutionCommand.ts +0 -96
- package/commands/GetPipelineStateCommand.ts +0 -100
- package/commands/GetThirdPartyJobDetailsCommand.ts +0 -101
- package/commands/ListActionExecutionsCommand.ts +0 -94
- package/commands/ListActionTypesCommand.ts +0 -95
- package/commands/ListPipelineExecutionsCommand.ts +0 -94
- package/commands/ListPipelinesCommand.ts +0 -94
- package/commands/ListTagsForResourceCommand.ts +0 -95
- package/commands/ListWebhooksCommand.ts +0 -96
- package/commands/PollForJobsCommand.ts +0 -103
- package/commands/PollForThirdPartyJobsCommand.ts +0 -100
- package/commands/PutActionRevisionCommand.ts +0 -94
- package/commands/PutApprovalResultCommand.ts +0 -95
- package/commands/PutJobFailureResultCommand.ts +0 -95
- package/commands/PutJobSuccessResultCommand.ts +0 -95
- package/commands/PutThirdPartyJobFailureResultCommand.ts +0 -98
- package/commands/PutThirdPartyJobSuccessResultCommand.ts +0 -98
- package/commands/PutWebhookCommand.ts +0 -100
- package/commands/RegisterWebhookWithThirdPartyCommand.ts +0 -100
- package/commands/RetryStageExecutionCommand.ts +0 -97
- package/commands/StartPipelineExecutionCommand.ts +0 -95
- package/commands/StopPipelineExecutionCommand.ts +0 -99
- package/commands/TagResourceCommand.ts +0 -95
- package/commands/UntagResourceCommand.ts +0 -94
- package/commands/UpdateActionTypeCommand.ts +0 -97
- package/commands/UpdatePipelineCommand.ts +0 -97
- package/dist/cjs/CodePipeline.js.map +0 -1
- package/dist/cjs/CodePipelineClient.js +0 -238
- package/dist/cjs/CodePipelineClient.js.map +0 -1
- package/dist/cjs/commands/AcknowledgeJobCommand.js.map +0 -1
- package/dist/cjs/commands/AcknowledgeThirdPartyJobCommand.js.map +0 -1
- package/dist/cjs/commands/CreateCustomActionTypeCommand.js.map +0 -1
- package/dist/cjs/commands/CreatePipelineCommand.js.map +0 -1
- package/dist/cjs/commands/DeleteCustomActionTypeCommand.js +0 -69
- package/dist/cjs/commands/DeleteCustomActionTypeCommand.js.map +0 -1
- package/dist/cjs/commands/DeletePipelineCommand.js.map +0 -1
- package/dist/cjs/commands/DeleteWebhookCommand.js.map +0 -1
- package/dist/cjs/commands/DeregisterWebhookWithThirdPartyCommand.js.map +0 -1
- package/dist/cjs/commands/DisableStageTransitionCommand.js.map +0 -1
- package/dist/cjs/commands/EnableStageTransitionCommand.js.map +0 -1
- package/dist/cjs/commands/GetActionTypeCommand.js.map +0 -1
- package/dist/cjs/commands/GetJobDetailsCommand.js.map +0 -1
- package/dist/cjs/commands/GetPipelineCommand.js.map +0 -1
- package/dist/cjs/commands/GetPipelineExecutionCommand.js.map +0 -1
- package/dist/cjs/commands/GetPipelineStateCommand.js.map +0 -1
- package/dist/cjs/commands/GetThirdPartyJobDetailsCommand.js.map +0 -1
- package/dist/cjs/commands/ListActionExecutionsCommand.js.map +0 -1
- package/dist/cjs/commands/ListActionTypesCommand.js.map +0 -1
- package/dist/cjs/commands/ListPipelineExecutionsCommand.js.map +0 -1
- package/dist/cjs/commands/ListPipelinesCommand.js.map +0 -1
- package/dist/cjs/commands/ListTagsForResourceCommand.js.map +0 -1
- package/dist/cjs/commands/ListWebhooksCommand.js.map +0 -1
- package/dist/cjs/commands/PollForJobsCommand.js +0 -70
- package/dist/cjs/commands/PollForJobsCommand.js.map +0 -1
- package/dist/cjs/commands/PollForThirdPartyJobsCommand.js.map +0 -1
- package/dist/cjs/commands/PutActionRevisionCommand.js.map +0 -1
- package/dist/cjs/commands/PutApprovalResultCommand.js.map +0 -1
- package/dist/cjs/commands/PutJobFailureResultCommand.js.map +0 -1
- package/dist/cjs/commands/PutJobSuccessResultCommand.js.map +0 -1
- package/dist/cjs/commands/PutThirdPartyJobFailureResultCommand.js.map +0 -1
- package/dist/cjs/commands/PutThirdPartyJobSuccessResultCommand.js.map +0 -1
- package/dist/cjs/commands/PutWebhookCommand.js +0 -67
- package/dist/cjs/commands/PutWebhookCommand.js.map +0 -1
- package/dist/cjs/commands/RegisterWebhookWithThirdPartyCommand.js.map +0 -1
- package/dist/cjs/commands/RetryStageExecutionCommand.js.map +0 -1
- package/dist/cjs/commands/StartPipelineExecutionCommand.js.map +0 -1
- package/dist/cjs/commands/StopPipelineExecutionCommand.js.map +0 -1
- package/dist/cjs/commands/TagResourceCommand.js.map +0 -1
- package/dist/cjs/commands/UntagResourceCommand.js.map +0 -1
- package/dist/cjs/commands/UpdateActionTypeCommand.js.map +0 -1
- package/dist/cjs/commands/UpdatePipelineCommand.js.map +0 -1
- package/dist/cjs/endpoints.js.map +0 -1
- package/dist/cjs/index.js.map +0 -1
- package/dist/cjs/models/index.js.map +0 -1
- package/dist/cjs/models/models_0.js.map +0 -1
- package/dist/cjs/package.json +0 -93
- package/dist/cjs/pagination/Interfaces.js.map +0 -1
- package/dist/cjs/pagination/ListActionExecutionsPaginator.js.map +0 -1
- package/dist/cjs/pagination/ListActionTypesPaginator.js.map +0 -1
- package/dist/cjs/pagination/ListPipelineExecutionsPaginator.js.map +0 -1
- package/dist/cjs/pagination/ListPipelinesPaginator.js.map +0 -1
- package/dist/cjs/pagination/ListTagsForResourcePaginator.js.map +0 -1
- package/dist/cjs/pagination/ListWebhooksPaginator.js.map +0 -1
- package/dist/cjs/protocols/Aws_json1_1.js.map +0 -1
- package/dist/cjs/runtimeConfig.browser.js.map +0 -1
- package/dist/cjs/runtimeConfig.js.map +0 -1
- package/dist/cjs/runtimeConfig.native.js.map +0 -1
- package/dist/cjs/runtimeConfig.shared.js.map +0 -1
- package/dist/es/CodePipeline.js.map +0 -1
- package/dist/es/CodePipelineClient.js.map +0 -1
- package/dist/es/commands/AcknowledgeJobCommand.js.map +0 -1
- package/dist/es/commands/AcknowledgeThirdPartyJobCommand.js.map +0 -1
- package/dist/es/commands/CreateCustomActionTypeCommand.js.map +0 -1
- package/dist/es/commands/CreatePipelineCommand.js.map +0 -1
- package/dist/es/commands/DeleteCustomActionTypeCommand.js.map +0 -1
- package/dist/es/commands/DeletePipelineCommand.js.map +0 -1
- package/dist/es/commands/DeleteWebhookCommand.js.map +0 -1
- package/dist/es/commands/DeregisterWebhookWithThirdPartyCommand.js.map +0 -1
- package/dist/es/commands/DisableStageTransitionCommand.js.map +0 -1
- package/dist/es/commands/EnableStageTransitionCommand.js.map +0 -1
- package/dist/es/commands/GetActionTypeCommand.js.map +0 -1
- package/dist/es/commands/GetJobDetailsCommand.js.map +0 -1
- package/dist/es/commands/GetPipelineCommand.js.map +0 -1
- package/dist/es/commands/GetPipelineExecutionCommand.js.map +0 -1
- package/dist/es/commands/GetPipelineStateCommand.js.map +0 -1
- package/dist/es/commands/GetThirdPartyJobDetailsCommand.js.map +0 -1
- package/dist/es/commands/ListActionExecutionsCommand.js.map +0 -1
- package/dist/es/commands/ListActionTypesCommand.js.map +0 -1
- package/dist/es/commands/ListPipelineExecutionsCommand.js.map +0 -1
- package/dist/es/commands/ListPipelinesCommand.js.map +0 -1
- package/dist/es/commands/ListTagsForResourceCommand.js.map +0 -1
- package/dist/es/commands/ListWebhooksCommand.js.map +0 -1
- package/dist/es/commands/PollForJobsCommand.js.map +0 -1
- package/dist/es/commands/PollForThirdPartyJobsCommand.js.map +0 -1
- package/dist/es/commands/PutActionRevisionCommand.js.map +0 -1
- package/dist/es/commands/PutApprovalResultCommand.js.map +0 -1
- package/dist/es/commands/PutJobFailureResultCommand.js.map +0 -1
- package/dist/es/commands/PutJobSuccessResultCommand.js.map +0 -1
- package/dist/es/commands/PutThirdPartyJobFailureResultCommand.js.map +0 -1
- package/dist/es/commands/PutThirdPartyJobSuccessResultCommand.js.map +0 -1
- package/dist/es/commands/PutWebhookCommand.js.map +0 -1
- package/dist/es/commands/RegisterWebhookWithThirdPartyCommand.js.map +0 -1
- package/dist/es/commands/RetryStageExecutionCommand.js.map +0 -1
- package/dist/es/commands/StartPipelineExecutionCommand.js.map +0 -1
- package/dist/es/commands/StopPipelineExecutionCommand.js.map +0 -1
- package/dist/es/commands/TagResourceCommand.js.map +0 -1
- package/dist/es/commands/UntagResourceCommand.js.map +0 -1
- package/dist/es/commands/UpdateActionTypeCommand.js.map +0 -1
- package/dist/es/commands/UpdatePipelineCommand.js.map +0 -1
- package/dist/es/endpoints.js.map +0 -1
- package/dist/es/index.js +0 -50
- package/dist/es/index.js.map +0 -1
- package/dist/es/models/index.js +0 -2
- package/dist/es/models/index.js.map +0 -1
- package/dist/es/models/models_0.js.map +0 -1
- package/dist/es/package.json +0 -93
- package/dist/es/pagination/Interfaces.js +0 -2
- package/dist/es/pagination/Interfaces.js.map +0 -1
- package/dist/es/pagination/ListActionExecutionsPaginator.js.map +0 -1
- package/dist/es/pagination/ListActionTypesPaginator.js.map +0 -1
- package/dist/es/pagination/ListPipelineExecutionsPaginator.js.map +0 -1
- package/dist/es/pagination/ListPipelinesPaginator.js.map +0 -1
- package/dist/es/pagination/ListTagsForResourcePaginator.js.map +0 -1
- package/dist/es/pagination/ListWebhooksPaginator.js.map +0 -1
- package/dist/es/protocols/Aws_json1_1.js.map +0 -1
- package/dist/es/runtimeConfig.browser.js.map +0 -1
- package/dist/es/runtimeConfig.js.map +0 -1
- package/dist/es/runtimeConfig.native.js.map +0 -1
- package/dist/es/runtimeConfig.shared.js.map +0 -1
- package/dist/types/ts3.4/CodePipelineClient.d.ts +0 -365
- package/dist/types/ts3.4/commands/AcknowledgeJobCommand.d.ts +0 -36
- package/dist/types/ts3.4/commands/CreateCustomActionTypeCommand.d.ts +0 -36
- package/dist/types/ts3.4/commands/CreatePipelineCommand.d.ts +0 -41
- package/dist/types/ts3.4/commands/DeleteCustomActionTypeCommand.d.ts +0 -43
- package/dist/types/ts3.4/commands/DeletePipelineCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/DeleteWebhookCommand.d.ts +0 -39
- package/dist/types/ts3.4/commands/DeregisterWebhookWithThirdPartyCommand.d.ts +0 -37
- package/dist/types/ts3.4/commands/DisableStageTransitionCommand.d.ts +0 -36
- package/dist/types/ts3.4/commands/EnableStageTransitionCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/GetActionTypeCommand.d.ts +0 -37
- package/dist/types/ts3.4/commands/GetJobDetailsCommand.d.ts +0 -41
- package/dist/types/ts3.4/commands/GetPipelineCommand.d.ts +0 -37
- package/dist/types/ts3.4/commands/GetPipelineExecutionCommand.d.ts +0 -37
- package/dist/types/ts3.4/commands/GetPipelineStateCommand.d.ts +0 -41
- package/dist/types/ts3.4/commands/GetThirdPartyJobDetailsCommand.d.ts +0 -42
- package/dist/types/ts3.4/commands/ListActionTypesCommand.d.ts +0 -36
- package/dist/types/ts3.4/commands/ListPipelinesCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/ListTagsForResourceCommand.d.ts +0 -36
- package/dist/types/ts3.4/commands/ListWebhooksCommand.d.ts +0 -37
- package/dist/types/ts3.4/commands/PollForJobsCommand.d.ts +0 -44
- package/dist/types/ts3.4/commands/PollForThirdPartyJobsCommand.d.ts +0 -41
- package/dist/types/ts3.4/commands/PutActionRevisionCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/PutApprovalResultCommand.d.ts +0 -36
- package/dist/types/ts3.4/commands/PutJobFailureResultCommand.d.ts +0 -36
- package/dist/types/ts3.4/commands/PutJobSuccessResultCommand.d.ts +0 -36
- package/dist/types/ts3.4/commands/PutThirdPartyJobFailureResultCommand.d.ts +0 -36
- package/dist/types/ts3.4/commands/PutThirdPartyJobSuccessResultCommand.d.ts +0 -36
- package/dist/types/ts3.4/commands/PutWebhookCommand.d.ts +0 -41
- package/dist/types/ts3.4/commands/RetryStageExecutionCommand.d.ts +0 -38
- package/dist/types/ts3.4/commands/StartPipelineExecutionCommand.d.ts +0 -36
- package/dist/types/ts3.4/commands/StopPipelineExecutionCommand.d.ts +0 -40
- package/dist/types/ts3.4/commands/TagResourceCommand.d.ts +0 -36
- package/dist/types/ts3.4/commands/UntagResourceCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/UpdateActionTypeCommand.d.ts +0 -38
- package/dist/types/ts3.4/commands/UpdatePipelineCommand.d.ts +0 -38
- package/dist/types/ts3.4/models/models_0.d.ts +0 -4297
- package/endpoints.ts +0 -87
- package/jest.config.js +0 -4
- package/models/models_0.ts +0 -5263
- package/pagination/Interfaces.ts +0 -7
- package/pagination/ListActionExecutionsPaginator.ts +0 -58
- package/pagination/ListActionTypesPaginator.ts +0 -57
- package/pagination/ListPipelineExecutionsPaginator.ts +0 -58
- package/pagination/ListPipelinesPaginator.ts +0 -58
- package/pagination/ListTagsForResourcePaginator.ts +0 -58
- package/pagination/ListWebhooksPaginator.ts +0 -58
- package/protocols/Aws_json1_1.ts +0 -7092
- package/runtimeConfig.browser.ts +0 -40
- package/runtimeConfig.native.ts +0 -16
- package/runtimeConfig.shared.ts +0 -16
- package/runtimeConfig.ts +0 -45
- package/tsconfig.es.json +0 -10
- package/tsconfig.json +0 -31
- package/tsconfig.types.json +0 -8
|
@@ -1,98 +0,0 @@
|
|
|
1
|
-
import { CodePipelineClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CodePipelineClient";
|
|
2
|
-
import { PutThirdPartyJobFailureResultInput } from "../models/models_0";
|
|
3
|
-
import {
|
|
4
|
-
deserializeAws_json1_1PutThirdPartyJobFailureResultCommand,
|
|
5
|
-
serializeAws_json1_1PutThirdPartyJobFailureResultCommand,
|
|
6
|
-
} from "../protocols/Aws_json1_1";
|
|
7
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
8
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
9
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
10
|
-
import {
|
|
11
|
-
FinalizeHandlerArguments,
|
|
12
|
-
Handler,
|
|
13
|
-
HandlerExecutionContext,
|
|
14
|
-
MiddlewareStack,
|
|
15
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
16
|
-
MetadataBearer as __MetadataBearer,
|
|
17
|
-
SerdeContext as __SerdeContext,
|
|
18
|
-
} from "@aws-sdk/types";
|
|
19
|
-
|
|
20
|
-
export interface PutThirdPartyJobFailureResultCommandInput extends PutThirdPartyJobFailureResultInput {}
|
|
21
|
-
export interface PutThirdPartyJobFailureResultCommandOutput extends __MetadataBearer {}
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* <p>Represents the failure of a third party job as returned to the pipeline by a job
|
|
25
|
-
* worker. Used for partner actions only.</p>
|
|
26
|
-
* @example
|
|
27
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
28
|
-
* ```javascript
|
|
29
|
-
* import { CodePipelineClient, PutThirdPartyJobFailureResultCommand } from "@aws-sdk/client-codepipeline"; // ES Modules import
|
|
30
|
-
* // const { CodePipelineClient, PutThirdPartyJobFailureResultCommand } = require("@aws-sdk/client-codepipeline"); // CommonJS import
|
|
31
|
-
* const client = new CodePipelineClient(config);
|
|
32
|
-
* const command = new PutThirdPartyJobFailureResultCommand(input);
|
|
33
|
-
* const response = await client.send(command);
|
|
34
|
-
* ```
|
|
35
|
-
*
|
|
36
|
-
* @see {@link PutThirdPartyJobFailureResultCommandInput} for command's `input` shape.
|
|
37
|
-
* @see {@link PutThirdPartyJobFailureResultCommandOutput} for command's `response` shape.
|
|
38
|
-
* @see {@link CodePipelineClientResolvedConfig | config} for command's `input` shape.
|
|
39
|
-
*
|
|
40
|
-
*/
|
|
41
|
-
export class PutThirdPartyJobFailureResultCommand extends $Command<
|
|
42
|
-
PutThirdPartyJobFailureResultCommandInput,
|
|
43
|
-
PutThirdPartyJobFailureResultCommandOutput,
|
|
44
|
-
CodePipelineClientResolvedConfig
|
|
45
|
-
> {
|
|
46
|
-
// Start section: command_properties
|
|
47
|
-
// End section: command_properties
|
|
48
|
-
|
|
49
|
-
constructor(readonly input: PutThirdPartyJobFailureResultCommandInput) {
|
|
50
|
-
// Start section: command_constructor
|
|
51
|
-
super();
|
|
52
|
-
// End section: command_constructor
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
/**
|
|
56
|
-
* @internal
|
|
57
|
-
*/
|
|
58
|
-
resolveMiddleware(
|
|
59
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
60
|
-
configuration: CodePipelineClientResolvedConfig,
|
|
61
|
-
options?: __HttpHandlerOptions
|
|
62
|
-
): Handler<PutThirdPartyJobFailureResultCommandInput, PutThirdPartyJobFailureResultCommandOutput> {
|
|
63
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
64
|
-
|
|
65
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
66
|
-
|
|
67
|
-
const { logger } = configuration;
|
|
68
|
-
const clientName = "CodePipelineClient";
|
|
69
|
-
const commandName = "PutThirdPartyJobFailureResultCommand";
|
|
70
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
71
|
-
logger,
|
|
72
|
-
clientName,
|
|
73
|
-
commandName,
|
|
74
|
-
inputFilterSensitiveLog: PutThirdPartyJobFailureResultInput.filterSensitiveLog,
|
|
75
|
-
outputFilterSensitiveLog: (output: any) => output,
|
|
76
|
-
};
|
|
77
|
-
const { requestHandler } = configuration;
|
|
78
|
-
return stack.resolve(
|
|
79
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
80
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
81
|
-
handlerExecutionContext
|
|
82
|
-
);
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
private serialize(input: PutThirdPartyJobFailureResultCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
86
|
-
return serializeAws_json1_1PutThirdPartyJobFailureResultCommand(input, context);
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
private deserialize(
|
|
90
|
-
output: __HttpResponse,
|
|
91
|
-
context: __SerdeContext
|
|
92
|
-
): Promise<PutThirdPartyJobFailureResultCommandOutput> {
|
|
93
|
-
return deserializeAws_json1_1PutThirdPartyJobFailureResultCommand(output, context);
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
// Start section: command_body_extra
|
|
97
|
-
// End section: command_body_extra
|
|
98
|
-
}
|
|
@@ -1,98 +0,0 @@
|
|
|
1
|
-
import { CodePipelineClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CodePipelineClient";
|
|
2
|
-
import { PutThirdPartyJobSuccessResultInput } from "../models/models_0";
|
|
3
|
-
import {
|
|
4
|
-
deserializeAws_json1_1PutThirdPartyJobSuccessResultCommand,
|
|
5
|
-
serializeAws_json1_1PutThirdPartyJobSuccessResultCommand,
|
|
6
|
-
} from "../protocols/Aws_json1_1";
|
|
7
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
8
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
9
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
10
|
-
import {
|
|
11
|
-
FinalizeHandlerArguments,
|
|
12
|
-
Handler,
|
|
13
|
-
HandlerExecutionContext,
|
|
14
|
-
MiddlewareStack,
|
|
15
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
16
|
-
MetadataBearer as __MetadataBearer,
|
|
17
|
-
SerdeContext as __SerdeContext,
|
|
18
|
-
} from "@aws-sdk/types";
|
|
19
|
-
|
|
20
|
-
export interface PutThirdPartyJobSuccessResultCommandInput extends PutThirdPartyJobSuccessResultInput {}
|
|
21
|
-
export interface PutThirdPartyJobSuccessResultCommandOutput extends __MetadataBearer {}
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* <p>Represents the success of a third party job as returned to the pipeline by a job
|
|
25
|
-
* worker. Used for partner actions only.</p>
|
|
26
|
-
* @example
|
|
27
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
28
|
-
* ```javascript
|
|
29
|
-
* import { CodePipelineClient, PutThirdPartyJobSuccessResultCommand } from "@aws-sdk/client-codepipeline"; // ES Modules import
|
|
30
|
-
* // const { CodePipelineClient, PutThirdPartyJobSuccessResultCommand } = require("@aws-sdk/client-codepipeline"); // CommonJS import
|
|
31
|
-
* const client = new CodePipelineClient(config);
|
|
32
|
-
* const command = new PutThirdPartyJobSuccessResultCommand(input);
|
|
33
|
-
* const response = await client.send(command);
|
|
34
|
-
* ```
|
|
35
|
-
*
|
|
36
|
-
* @see {@link PutThirdPartyJobSuccessResultCommandInput} for command's `input` shape.
|
|
37
|
-
* @see {@link PutThirdPartyJobSuccessResultCommandOutput} for command's `response` shape.
|
|
38
|
-
* @see {@link CodePipelineClientResolvedConfig | config} for command's `input` shape.
|
|
39
|
-
*
|
|
40
|
-
*/
|
|
41
|
-
export class PutThirdPartyJobSuccessResultCommand extends $Command<
|
|
42
|
-
PutThirdPartyJobSuccessResultCommandInput,
|
|
43
|
-
PutThirdPartyJobSuccessResultCommandOutput,
|
|
44
|
-
CodePipelineClientResolvedConfig
|
|
45
|
-
> {
|
|
46
|
-
// Start section: command_properties
|
|
47
|
-
// End section: command_properties
|
|
48
|
-
|
|
49
|
-
constructor(readonly input: PutThirdPartyJobSuccessResultCommandInput) {
|
|
50
|
-
// Start section: command_constructor
|
|
51
|
-
super();
|
|
52
|
-
// End section: command_constructor
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
/**
|
|
56
|
-
* @internal
|
|
57
|
-
*/
|
|
58
|
-
resolveMiddleware(
|
|
59
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
60
|
-
configuration: CodePipelineClientResolvedConfig,
|
|
61
|
-
options?: __HttpHandlerOptions
|
|
62
|
-
): Handler<PutThirdPartyJobSuccessResultCommandInput, PutThirdPartyJobSuccessResultCommandOutput> {
|
|
63
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
64
|
-
|
|
65
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
66
|
-
|
|
67
|
-
const { logger } = configuration;
|
|
68
|
-
const clientName = "CodePipelineClient";
|
|
69
|
-
const commandName = "PutThirdPartyJobSuccessResultCommand";
|
|
70
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
71
|
-
logger,
|
|
72
|
-
clientName,
|
|
73
|
-
commandName,
|
|
74
|
-
inputFilterSensitiveLog: PutThirdPartyJobSuccessResultInput.filterSensitiveLog,
|
|
75
|
-
outputFilterSensitiveLog: (output: any) => output,
|
|
76
|
-
};
|
|
77
|
-
const { requestHandler } = configuration;
|
|
78
|
-
return stack.resolve(
|
|
79
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
80
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
81
|
-
handlerExecutionContext
|
|
82
|
-
);
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
private serialize(input: PutThirdPartyJobSuccessResultCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
86
|
-
return serializeAws_json1_1PutThirdPartyJobSuccessResultCommand(input, context);
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
private deserialize(
|
|
90
|
-
output: __HttpResponse,
|
|
91
|
-
context: __SerdeContext
|
|
92
|
-
): Promise<PutThirdPartyJobSuccessResultCommandOutput> {
|
|
93
|
-
return deserializeAws_json1_1PutThirdPartyJobSuccessResultCommand(output, context);
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
// Start section: command_body_extra
|
|
97
|
-
// End section: command_body_extra
|
|
98
|
-
}
|
|
@@ -1,100 +0,0 @@
|
|
|
1
|
-
import { CodePipelineClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CodePipelineClient";
|
|
2
|
-
import { PutWebhookInput, PutWebhookOutput } from "../models/models_0";
|
|
3
|
-
import {
|
|
4
|
-
deserializeAws_json1_1PutWebhookCommand,
|
|
5
|
-
serializeAws_json1_1PutWebhookCommand,
|
|
6
|
-
} from "../protocols/Aws_json1_1";
|
|
7
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
8
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
9
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
10
|
-
import {
|
|
11
|
-
FinalizeHandlerArguments,
|
|
12
|
-
Handler,
|
|
13
|
-
HandlerExecutionContext,
|
|
14
|
-
MiddlewareStack,
|
|
15
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
16
|
-
MetadataBearer as __MetadataBearer,
|
|
17
|
-
SerdeContext as __SerdeContext,
|
|
18
|
-
} from "@aws-sdk/types";
|
|
19
|
-
|
|
20
|
-
export interface PutWebhookCommandInput extends PutWebhookInput {}
|
|
21
|
-
export interface PutWebhookCommandOutput extends PutWebhookOutput, __MetadataBearer {}
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* <p>Defines a webhook and returns a unique webhook URL generated by CodePipeline. This
|
|
25
|
-
* URL can be supplied to third party source hosting providers to call every time there's a
|
|
26
|
-
* code change. When CodePipeline receives a POST request on this URL, the pipeline defined
|
|
27
|
-
* in the webhook is started as long as the POST request satisfied the authentication and
|
|
28
|
-
* filtering requirements supplied when defining the webhook. RegisterWebhookWithThirdParty
|
|
29
|
-
* and DeregisterWebhookWithThirdParty APIs can be used to automatically configure
|
|
30
|
-
* supported third parties to call the generated webhook URL.</p>
|
|
31
|
-
* @example
|
|
32
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
-
* ```javascript
|
|
34
|
-
* import { CodePipelineClient, PutWebhookCommand } from "@aws-sdk/client-codepipeline"; // ES Modules import
|
|
35
|
-
* // const { CodePipelineClient, PutWebhookCommand } = require("@aws-sdk/client-codepipeline"); // CommonJS import
|
|
36
|
-
* const client = new CodePipelineClient(config);
|
|
37
|
-
* const command = new PutWebhookCommand(input);
|
|
38
|
-
* const response = await client.send(command);
|
|
39
|
-
* ```
|
|
40
|
-
*
|
|
41
|
-
* @see {@link PutWebhookCommandInput} for command's `input` shape.
|
|
42
|
-
* @see {@link PutWebhookCommandOutput} for command's `response` shape.
|
|
43
|
-
* @see {@link CodePipelineClientResolvedConfig | config} for command's `input` shape.
|
|
44
|
-
*
|
|
45
|
-
*/
|
|
46
|
-
export class PutWebhookCommand extends $Command<
|
|
47
|
-
PutWebhookCommandInput,
|
|
48
|
-
PutWebhookCommandOutput,
|
|
49
|
-
CodePipelineClientResolvedConfig
|
|
50
|
-
> {
|
|
51
|
-
// Start section: command_properties
|
|
52
|
-
// End section: command_properties
|
|
53
|
-
|
|
54
|
-
constructor(readonly input: PutWebhookCommandInput) {
|
|
55
|
-
// Start section: command_constructor
|
|
56
|
-
super();
|
|
57
|
-
// End section: command_constructor
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
/**
|
|
61
|
-
* @internal
|
|
62
|
-
*/
|
|
63
|
-
resolveMiddleware(
|
|
64
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
65
|
-
configuration: CodePipelineClientResolvedConfig,
|
|
66
|
-
options?: __HttpHandlerOptions
|
|
67
|
-
): Handler<PutWebhookCommandInput, PutWebhookCommandOutput> {
|
|
68
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
69
|
-
|
|
70
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
71
|
-
|
|
72
|
-
const { logger } = configuration;
|
|
73
|
-
const clientName = "CodePipelineClient";
|
|
74
|
-
const commandName = "PutWebhookCommand";
|
|
75
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
76
|
-
logger,
|
|
77
|
-
clientName,
|
|
78
|
-
commandName,
|
|
79
|
-
inputFilterSensitiveLog: PutWebhookInput.filterSensitiveLog,
|
|
80
|
-
outputFilterSensitiveLog: PutWebhookOutput.filterSensitiveLog,
|
|
81
|
-
};
|
|
82
|
-
const { requestHandler } = configuration;
|
|
83
|
-
return stack.resolve(
|
|
84
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
85
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
86
|
-
handlerExecutionContext
|
|
87
|
-
);
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
private serialize(input: PutWebhookCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
91
|
-
return serializeAws_json1_1PutWebhookCommand(input, context);
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<PutWebhookCommandOutput> {
|
|
95
|
-
return deserializeAws_json1_1PutWebhookCommand(output, context);
|
|
96
|
-
}
|
|
97
|
-
|
|
98
|
-
// Start section: command_body_extra
|
|
99
|
-
// End section: command_body_extra
|
|
100
|
-
}
|
|
@@ -1,100 +0,0 @@
|
|
|
1
|
-
import { CodePipelineClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CodePipelineClient";
|
|
2
|
-
import { RegisterWebhookWithThirdPartyInput, RegisterWebhookWithThirdPartyOutput } from "../models/models_0";
|
|
3
|
-
import {
|
|
4
|
-
deserializeAws_json1_1RegisterWebhookWithThirdPartyCommand,
|
|
5
|
-
serializeAws_json1_1RegisterWebhookWithThirdPartyCommand,
|
|
6
|
-
} from "../protocols/Aws_json1_1";
|
|
7
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
8
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
9
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
10
|
-
import {
|
|
11
|
-
FinalizeHandlerArguments,
|
|
12
|
-
Handler,
|
|
13
|
-
HandlerExecutionContext,
|
|
14
|
-
MiddlewareStack,
|
|
15
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
16
|
-
MetadataBearer as __MetadataBearer,
|
|
17
|
-
SerdeContext as __SerdeContext,
|
|
18
|
-
} from "@aws-sdk/types";
|
|
19
|
-
|
|
20
|
-
export interface RegisterWebhookWithThirdPartyCommandInput extends RegisterWebhookWithThirdPartyInput {}
|
|
21
|
-
export interface RegisterWebhookWithThirdPartyCommandOutput
|
|
22
|
-
extends RegisterWebhookWithThirdPartyOutput,
|
|
23
|
-
__MetadataBearer {}
|
|
24
|
-
|
|
25
|
-
/**
|
|
26
|
-
* <p>Configures a connection between the webhook that was created and the external tool
|
|
27
|
-
* with events to be detected.</p>
|
|
28
|
-
* @example
|
|
29
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
30
|
-
* ```javascript
|
|
31
|
-
* import { CodePipelineClient, RegisterWebhookWithThirdPartyCommand } from "@aws-sdk/client-codepipeline"; // ES Modules import
|
|
32
|
-
* // const { CodePipelineClient, RegisterWebhookWithThirdPartyCommand } = require("@aws-sdk/client-codepipeline"); // CommonJS import
|
|
33
|
-
* const client = new CodePipelineClient(config);
|
|
34
|
-
* const command = new RegisterWebhookWithThirdPartyCommand(input);
|
|
35
|
-
* const response = await client.send(command);
|
|
36
|
-
* ```
|
|
37
|
-
*
|
|
38
|
-
* @see {@link RegisterWebhookWithThirdPartyCommandInput} for command's `input` shape.
|
|
39
|
-
* @see {@link RegisterWebhookWithThirdPartyCommandOutput} for command's `response` shape.
|
|
40
|
-
* @see {@link CodePipelineClientResolvedConfig | config} for command's `input` shape.
|
|
41
|
-
*
|
|
42
|
-
*/
|
|
43
|
-
export class RegisterWebhookWithThirdPartyCommand extends $Command<
|
|
44
|
-
RegisterWebhookWithThirdPartyCommandInput,
|
|
45
|
-
RegisterWebhookWithThirdPartyCommandOutput,
|
|
46
|
-
CodePipelineClientResolvedConfig
|
|
47
|
-
> {
|
|
48
|
-
// Start section: command_properties
|
|
49
|
-
// End section: command_properties
|
|
50
|
-
|
|
51
|
-
constructor(readonly input: RegisterWebhookWithThirdPartyCommandInput) {
|
|
52
|
-
// Start section: command_constructor
|
|
53
|
-
super();
|
|
54
|
-
// End section: command_constructor
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
/**
|
|
58
|
-
* @internal
|
|
59
|
-
*/
|
|
60
|
-
resolveMiddleware(
|
|
61
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
62
|
-
configuration: CodePipelineClientResolvedConfig,
|
|
63
|
-
options?: __HttpHandlerOptions
|
|
64
|
-
): Handler<RegisterWebhookWithThirdPartyCommandInput, RegisterWebhookWithThirdPartyCommandOutput> {
|
|
65
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
66
|
-
|
|
67
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
68
|
-
|
|
69
|
-
const { logger } = configuration;
|
|
70
|
-
const clientName = "CodePipelineClient";
|
|
71
|
-
const commandName = "RegisterWebhookWithThirdPartyCommand";
|
|
72
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
73
|
-
logger,
|
|
74
|
-
clientName,
|
|
75
|
-
commandName,
|
|
76
|
-
inputFilterSensitiveLog: RegisterWebhookWithThirdPartyInput.filterSensitiveLog,
|
|
77
|
-
outputFilterSensitiveLog: RegisterWebhookWithThirdPartyOutput.filterSensitiveLog,
|
|
78
|
-
};
|
|
79
|
-
const { requestHandler } = configuration;
|
|
80
|
-
return stack.resolve(
|
|
81
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
82
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
83
|
-
handlerExecutionContext
|
|
84
|
-
);
|
|
85
|
-
}
|
|
86
|
-
|
|
87
|
-
private serialize(input: RegisterWebhookWithThirdPartyCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
88
|
-
return serializeAws_json1_1RegisterWebhookWithThirdPartyCommand(input, context);
|
|
89
|
-
}
|
|
90
|
-
|
|
91
|
-
private deserialize(
|
|
92
|
-
output: __HttpResponse,
|
|
93
|
-
context: __SerdeContext
|
|
94
|
-
): Promise<RegisterWebhookWithThirdPartyCommandOutput> {
|
|
95
|
-
return deserializeAws_json1_1RegisterWebhookWithThirdPartyCommand(output, context);
|
|
96
|
-
}
|
|
97
|
-
|
|
98
|
-
// Start section: command_body_extra
|
|
99
|
-
// End section: command_body_extra
|
|
100
|
-
}
|
|
@@ -1,97 +0,0 @@
|
|
|
1
|
-
import { CodePipelineClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CodePipelineClient";
|
|
2
|
-
import { RetryStageExecutionInput, RetryStageExecutionOutput } from "../models/models_0";
|
|
3
|
-
import {
|
|
4
|
-
deserializeAws_json1_1RetryStageExecutionCommand,
|
|
5
|
-
serializeAws_json1_1RetryStageExecutionCommand,
|
|
6
|
-
} from "../protocols/Aws_json1_1";
|
|
7
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
8
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
9
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
10
|
-
import {
|
|
11
|
-
FinalizeHandlerArguments,
|
|
12
|
-
Handler,
|
|
13
|
-
HandlerExecutionContext,
|
|
14
|
-
MiddlewareStack,
|
|
15
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
16
|
-
MetadataBearer as __MetadataBearer,
|
|
17
|
-
SerdeContext as __SerdeContext,
|
|
18
|
-
} from "@aws-sdk/types";
|
|
19
|
-
|
|
20
|
-
export interface RetryStageExecutionCommandInput extends RetryStageExecutionInput {}
|
|
21
|
-
export interface RetryStageExecutionCommandOutput extends RetryStageExecutionOutput, __MetadataBearer {}
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* <p>Resumes the pipeline execution by retrying the last failed actions in a stage. You
|
|
25
|
-
* can retry a stage immediately if any of the actions in the stage fail. When you retry,
|
|
26
|
-
* all actions that are still in progress continue working, and failed actions are
|
|
27
|
-
* triggered again.</p>
|
|
28
|
-
* @example
|
|
29
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
30
|
-
* ```javascript
|
|
31
|
-
* import { CodePipelineClient, RetryStageExecutionCommand } from "@aws-sdk/client-codepipeline"; // ES Modules import
|
|
32
|
-
* // const { CodePipelineClient, RetryStageExecutionCommand } = require("@aws-sdk/client-codepipeline"); // CommonJS import
|
|
33
|
-
* const client = new CodePipelineClient(config);
|
|
34
|
-
* const command = new RetryStageExecutionCommand(input);
|
|
35
|
-
* const response = await client.send(command);
|
|
36
|
-
* ```
|
|
37
|
-
*
|
|
38
|
-
* @see {@link RetryStageExecutionCommandInput} for command's `input` shape.
|
|
39
|
-
* @see {@link RetryStageExecutionCommandOutput} for command's `response` shape.
|
|
40
|
-
* @see {@link CodePipelineClientResolvedConfig | config} for command's `input` shape.
|
|
41
|
-
*
|
|
42
|
-
*/
|
|
43
|
-
export class RetryStageExecutionCommand extends $Command<
|
|
44
|
-
RetryStageExecutionCommandInput,
|
|
45
|
-
RetryStageExecutionCommandOutput,
|
|
46
|
-
CodePipelineClientResolvedConfig
|
|
47
|
-
> {
|
|
48
|
-
// Start section: command_properties
|
|
49
|
-
// End section: command_properties
|
|
50
|
-
|
|
51
|
-
constructor(readonly input: RetryStageExecutionCommandInput) {
|
|
52
|
-
// Start section: command_constructor
|
|
53
|
-
super();
|
|
54
|
-
// End section: command_constructor
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
/**
|
|
58
|
-
* @internal
|
|
59
|
-
*/
|
|
60
|
-
resolveMiddleware(
|
|
61
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
62
|
-
configuration: CodePipelineClientResolvedConfig,
|
|
63
|
-
options?: __HttpHandlerOptions
|
|
64
|
-
): Handler<RetryStageExecutionCommandInput, RetryStageExecutionCommandOutput> {
|
|
65
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
66
|
-
|
|
67
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
68
|
-
|
|
69
|
-
const { logger } = configuration;
|
|
70
|
-
const clientName = "CodePipelineClient";
|
|
71
|
-
const commandName = "RetryStageExecutionCommand";
|
|
72
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
73
|
-
logger,
|
|
74
|
-
clientName,
|
|
75
|
-
commandName,
|
|
76
|
-
inputFilterSensitiveLog: RetryStageExecutionInput.filterSensitiveLog,
|
|
77
|
-
outputFilterSensitiveLog: RetryStageExecutionOutput.filterSensitiveLog,
|
|
78
|
-
};
|
|
79
|
-
const { requestHandler } = configuration;
|
|
80
|
-
return stack.resolve(
|
|
81
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
82
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
83
|
-
handlerExecutionContext
|
|
84
|
-
);
|
|
85
|
-
}
|
|
86
|
-
|
|
87
|
-
private serialize(input: RetryStageExecutionCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
88
|
-
return serializeAws_json1_1RetryStageExecutionCommand(input, context);
|
|
89
|
-
}
|
|
90
|
-
|
|
91
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<RetryStageExecutionCommandOutput> {
|
|
92
|
-
return deserializeAws_json1_1RetryStageExecutionCommand(output, context);
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
// Start section: command_body_extra
|
|
96
|
-
// End section: command_body_extra
|
|
97
|
-
}
|
|
@@ -1,95 +0,0 @@
|
|
|
1
|
-
import { CodePipelineClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CodePipelineClient";
|
|
2
|
-
import { StartPipelineExecutionInput, StartPipelineExecutionOutput } from "../models/models_0";
|
|
3
|
-
import {
|
|
4
|
-
deserializeAws_json1_1StartPipelineExecutionCommand,
|
|
5
|
-
serializeAws_json1_1StartPipelineExecutionCommand,
|
|
6
|
-
} from "../protocols/Aws_json1_1";
|
|
7
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
8
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
9
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
10
|
-
import {
|
|
11
|
-
FinalizeHandlerArguments,
|
|
12
|
-
Handler,
|
|
13
|
-
HandlerExecutionContext,
|
|
14
|
-
MiddlewareStack,
|
|
15
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
16
|
-
MetadataBearer as __MetadataBearer,
|
|
17
|
-
SerdeContext as __SerdeContext,
|
|
18
|
-
} from "@aws-sdk/types";
|
|
19
|
-
|
|
20
|
-
export interface StartPipelineExecutionCommandInput extends StartPipelineExecutionInput {}
|
|
21
|
-
export interface StartPipelineExecutionCommandOutput extends StartPipelineExecutionOutput, __MetadataBearer {}
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* <p>Starts the specified pipeline. Specifically, it begins processing the latest commit
|
|
25
|
-
* to the source location specified as part of the pipeline.</p>
|
|
26
|
-
* @example
|
|
27
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
28
|
-
* ```javascript
|
|
29
|
-
* import { CodePipelineClient, StartPipelineExecutionCommand } from "@aws-sdk/client-codepipeline"; // ES Modules import
|
|
30
|
-
* // const { CodePipelineClient, StartPipelineExecutionCommand } = require("@aws-sdk/client-codepipeline"); // CommonJS import
|
|
31
|
-
* const client = new CodePipelineClient(config);
|
|
32
|
-
* const command = new StartPipelineExecutionCommand(input);
|
|
33
|
-
* const response = await client.send(command);
|
|
34
|
-
* ```
|
|
35
|
-
*
|
|
36
|
-
* @see {@link StartPipelineExecutionCommandInput} for command's `input` shape.
|
|
37
|
-
* @see {@link StartPipelineExecutionCommandOutput} for command's `response` shape.
|
|
38
|
-
* @see {@link CodePipelineClientResolvedConfig | config} for command's `input` shape.
|
|
39
|
-
*
|
|
40
|
-
*/
|
|
41
|
-
export class StartPipelineExecutionCommand extends $Command<
|
|
42
|
-
StartPipelineExecutionCommandInput,
|
|
43
|
-
StartPipelineExecutionCommandOutput,
|
|
44
|
-
CodePipelineClientResolvedConfig
|
|
45
|
-
> {
|
|
46
|
-
// Start section: command_properties
|
|
47
|
-
// End section: command_properties
|
|
48
|
-
|
|
49
|
-
constructor(readonly input: StartPipelineExecutionCommandInput) {
|
|
50
|
-
// Start section: command_constructor
|
|
51
|
-
super();
|
|
52
|
-
// End section: command_constructor
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
/**
|
|
56
|
-
* @internal
|
|
57
|
-
*/
|
|
58
|
-
resolveMiddleware(
|
|
59
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
60
|
-
configuration: CodePipelineClientResolvedConfig,
|
|
61
|
-
options?: __HttpHandlerOptions
|
|
62
|
-
): Handler<StartPipelineExecutionCommandInput, StartPipelineExecutionCommandOutput> {
|
|
63
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
64
|
-
|
|
65
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
66
|
-
|
|
67
|
-
const { logger } = configuration;
|
|
68
|
-
const clientName = "CodePipelineClient";
|
|
69
|
-
const commandName = "StartPipelineExecutionCommand";
|
|
70
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
71
|
-
logger,
|
|
72
|
-
clientName,
|
|
73
|
-
commandName,
|
|
74
|
-
inputFilterSensitiveLog: StartPipelineExecutionInput.filterSensitiveLog,
|
|
75
|
-
outputFilterSensitiveLog: StartPipelineExecutionOutput.filterSensitiveLog,
|
|
76
|
-
};
|
|
77
|
-
const { requestHandler } = configuration;
|
|
78
|
-
return stack.resolve(
|
|
79
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
80
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
81
|
-
handlerExecutionContext
|
|
82
|
-
);
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
private serialize(input: StartPipelineExecutionCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
86
|
-
return serializeAws_json1_1StartPipelineExecutionCommand(input, context);
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<StartPipelineExecutionCommandOutput> {
|
|
90
|
-
return deserializeAws_json1_1StartPipelineExecutionCommand(output, context);
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
// Start section: command_body_extra
|
|
94
|
-
// End section: command_body_extra
|
|
95
|
-
}
|