@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,95 +0,0 @@
|
|
|
1
|
-
import { CodePipelineClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CodePipelineClient";
|
|
2
|
-
import { AcknowledgeJobInput, AcknowledgeJobOutput } from "../models/models_0";
|
|
3
|
-
import {
|
|
4
|
-
deserializeAws_json1_1AcknowledgeJobCommand,
|
|
5
|
-
serializeAws_json1_1AcknowledgeJobCommand,
|
|
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 AcknowledgeJobCommandInput extends AcknowledgeJobInput {}
|
|
21
|
-
export interface AcknowledgeJobCommandOutput extends AcknowledgeJobOutput, __MetadataBearer {}
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* <p>Returns information about a specified job and whether that job has been received by
|
|
25
|
-
* the job worker. Used for custom 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, AcknowledgeJobCommand } from "@aws-sdk/client-codepipeline"; // ES Modules import
|
|
30
|
-
* // const { CodePipelineClient, AcknowledgeJobCommand } = require("@aws-sdk/client-codepipeline"); // CommonJS import
|
|
31
|
-
* const client = new CodePipelineClient(config);
|
|
32
|
-
* const command = new AcknowledgeJobCommand(input);
|
|
33
|
-
* const response = await client.send(command);
|
|
34
|
-
* ```
|
|
35
|
-
*
|
|
36
|
-
* @see {@link AcknowledgeJobCommandInput} for command's `input` shape.
|
|
37
|
-
* @see {@link AcknowledgeJobCommandOutput} for command's `response` shape.
|
|
38
|
-
* @see {@link CodePipelineClientResolvedConfig | config} for command's `input` shape.
|
|
39
|
-
*
|
|
40
|
-
*/
|
|
41
|
-
export class AcknowledgeJobCommand extends $Command<
|
|
42
|
-
AcknowledgeJobCommandInput,
|
|
43
|
-
AcknowledgeJobCommandOutput,
|
|
44
|
-
CodePipelineClientResolvedConfig
|
|
45
|
-
> {
|
|
46
|
-
// Start section: command_properties
|
|
47
|
-
// End section: command_properties
|
|
48
|
-
|
|
49
|
-
constructor(readonly input: AcknowledgeJobCommandInput) {
|
|
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<AcknowledgeJobCommandInput, AcknowledgeJobCommandOutput> {
|
|
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 = "AcknowledgeJobCommand";
|
|
70
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
71
|
-
logger,
|
|
72
|
-
clientName,
|
|
73
|
-
commandName,
|
|
74
|
-
inputFilterSensitiveLog: AcknowledgeJobInput.filterSensitiveLog,
|
|
75
|
-
outputFilterSensitiveLog: AcknowledgeJobOutput.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: AcknowledgeJobCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
86
|
-
return serializeAws_json1_1AcknowledgeJobCommand(input, context);
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<AcknowledgeJobCommandOutput> {
|
|
90
|
-
return deserializeAws_json1_1AcknowledgeJobCommand(output, context);
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
// Start section: command_body_extra
|
|
94
|
-
// End section: command_body_extra
|
|
95
|
-
}
|
|
@@ -1,95 +0,0 @@
|
|
|
1
|
-
import { CodePipelineClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CodePipelineClient";
|
|
2
|
-
import { AcknowledgeThirdPartyJobInput, AcknowledgeThirdPartyJobOutput } from "../models/models_0";
|
|
3
|
-
import {
|
|
4
|
-
deserializeAws_json1_1AcknowledgeThirdPartyJobCommand,
|
|
5
|
-
serializeAws_json1_1AcknowledgeThirdPartyJobCommand,
|
|
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 AcknowledgeThirdPartyJobCommandInput extends AcknowledgeThirdPartyJobInput {}
|
|
21
|
-
export interface AcknowledgeThirdPartyJobCommandOutput extends AcknowledgeThirdPartyJobOutput, __MetadataBearer {}
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* <p>Confirms a job worker has received the specified job. Used for partner actions
|
|
25
|
-
* 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, AcknowledgeThirdPartyJobCommand } from "@aws-sdk/client-codepipeline"; // ES Modules import
|
|
30
|
-
* // const { CodePipelineClient, AcknowledgeThirdPartyJobCommand } = require("@aws-sdk/client-codepipeline"); // CommonJS import
|
|
31
|
-
* const client = new CodePipelineClient(config);
|
|
32
|
-
* const command = new AcknowledgeThirdPartyJobCommand(input);
|
|
33
|
-
* const response = await client.send(command);
|
|
34
|
-
* ```
|
|
35
|
-
*
|
|
36
|
-
* @see {@link AcknowledgeThirdPartyJobCommandInput} for command's `input` shape.
|
|
37
|
-
* @see {@link AcknowledgeThirdPartyJobCommandOutput} for command's `response` shape.
|
|
38
|
-
* @see {@link CodePipelineClientResolvedConfig | config} for command's `input` shape.
|
|
39
|
-
*
|
|
40
|
-
*/
|
|
41
|
-
export class AcknowledgeThirdPartyJobCommand extends $Command<
|
|
42
|
-
AcknowledgeThirdPartyJobCommandInput,
|
|
43
|
-
AcknowledgeThirdPartyJobCommandOutput,
|
|
44
|
-
CodePipelineClientResolvedConfig
|
|
45
|
-
> {
|
|
46
|
-
// Start section: command_properties
|
|
47
|
-
// End section: command_properties
|
|
48
|
-
|
|
49
|
-
constructor(readonly input: AcknowledgeThirdPartyJobCommandInput) {
|
|
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<AcknowledgeThirdPartyJobCommandInput, AcknowledgeThirdPartyJobCommandOutput> {
|
|
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 = "AcknowledgeThirdPartyJobCommand";
|
|
70
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
71
|
-
logger,
|
|
72
|
-
clientName,
|
|
73
|
-
commandName,
|
|
74
|
-
inputFilterSensitiveLog: AcknowledgeThirdPartyJobInput.filterSensitiveLog,
|
|
75
|
-
outputFilterSensitiveLog: AcknowledgeThirdPartyJobOutput.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: AcknowledgeThirdPartyJobCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
86
|
-
return serializeAws_json1_1AcknowledgeThirdPartyJobCommand(input, context);
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<AcknowledgeThirdPartyJobCommandOutput> {
|
|
90
|
-
return deserializeAws_json1_1AcknowledgeThirdPartyJobCommand(output, context);
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
// Start section: command_body_extra
|
|
94
|
-
// End section: command_body_extra
|
|
95
|
-
}
|
|
@@ -1,95 +0,0 @@
|
|
|
1
|
-
import { CodePipelineClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CodePipelineClient";
|
|
2
|
-
import { CreateCustomActionTypeInput, CreateCustomActionTypeOutput } from "../models/models_0";
|
|
3
|
-
import {
|
|
4
|
-
deserializeAws_json1_1CreateCustomActionTypeCommand,
|
|
5
|
-
serializeAws_json1_1CreateCustomActionTypeCommand,
|
|
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 CreateCustomActionTypeCommandInput extends CreateCustomActionTypeInput {}
|
|
21
|
-
export interface CreateCustomActionTypeCommandOutput extends CreateCustomActionTypeOutput, __MetadataBearer {}
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* <p>Creates a new custom action that can be used in all pipelines associated with the
|
|
25
|
-
* AWS account. Only used for custom actions.</p>
|
|
26
|
-
* @example
|
|
27
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
28
|
-
* ```javascript
|
|
29
|
-
* import { CodePipelineClient, CreateCustomActionTypeCommand } from "@aws-sdk/client-codepipeline"; // ES Modules import
|
|
30
|
-
* // const { CodePipelineClient, CreateCustomActionTypeCommand } = require("@aws-sdk/client-codepipeline"); // CommonJS import
|
|
31
|
-
* const client = new CodePipelineClient(config);
|
|
32
|
-
* const command = new CreateCustomActionTypeCommand(input);
|
|
33
|
-
* const response = await client.send(command);
|
|
34
|
-
* ```
|
|
35
|
-
*
|
|
36
|
-
* @see {@link CreateCustomActionTypeCommandInput} for command's `input` shape.
|
|
37
|
-
* @see {@link CreateCustomActionTypeCommandOutput} for command's `response` shape.
|
|
38
|
-
* @see {@link CodePipelineClientResolvedConfig | config} for command's `input` shape.
|
|
39
|
-
*
|
|
40
|
-
*/
|
|
41
|
-
export class CreateCustomActionTypeCommand extends $Command<
|
|
42
|
-
CreateCustomActionTypeCommandInput,
|
|
43
|
-
CreateCustomActionTypeCommandOutput,
|
|
44
|
-
CodePipelineClientResolvedConfig
|
|
45
|
-
> {
|
|
46
|
-
// Start section: command_properties
|
|
47
|
-
// End section: command_properties
|
|
48
|
-
|
|
49
|
-
constructor(readonly input: CreateCustomActionTypeCommandInput) {
|
|
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<CreateCustomActionTypeCommandInput, CreateCustomActionTypeCommandOutput> {
|
|
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 = "CreateCustomActionTypeCommand";
|
|
70
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
71
|
-
logger,
|
|
72
|
-
clientName,
|
|
73
|
-
commandName,
|
|
74
|
-
inputFilterSensitiveLog: CreateCustomActionTypeInput.filterSensitiveLog,
|
|
75
|
-
outputFilterSensitiveLog: CreateCustomActionTypeOutput.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: CreateCustomActionTypeCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
86
|
-
return serializeAws_json1_1CreateCustomActionTypeCommand(input, context);
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<CreateCustomActionTypeCommandOutput> {
|
|
90
|
-
return deserializeAws_json1_1CreateCustomActionTypeCommand(output, context);
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
// Start section: command_body_extra
|
|
94
|
-
// End section: command_body_extra
|
|
95
|
-
}
|
|
@@ -1,100 +0,0 @@
|
|
|
1
|
-
import { CodePipelineClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CodePipelineClient";
|
|
2
|
-
import { CreatePipelineInput, CreatePipelineOutput } from "../models/models_0";
|
|
3
|
-
import {
|
|
4
|
-
deserializeAws_json1_1CreatePipelineCommand,
|
|
5
|
-
serializeAws_json1_1CreatePipelineCommand,
|
|
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 CreatePipelineCommandInput extends CreatePipelineInput {}
|
|
21
|
-
export interface CreatePipelineCommandOutput extends CreatePipelineOutput, __MetadataBearer {}
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* <p>Creates a pipeline.</p>
|
|
25
|
-
* <note>
|
|
26
|
-
* <p>In the pipeline structure, you must include either <code>artifactStore</code>
|
|
27
|
-
* or <code>artifactStores</code> in your pipeline, but you cannot use both. If you
|
|
28
|
-
* create a cross-region action in your pipeline, you must use
|
|
29
|
-
* <code>artifactStores</code>.</p>
|
|
30
|
-
* </note>
|
|
31
|
-
* @example
|
|
32
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
-
* ```javascript
|
|
34
|
-
* import { CodePipelineClient, CreatePipelineCommand } from "@aws-sdk/client-codepipeline"; // ES Modules import
|
|
35
|
-
* // const { CodePipelineClient, CreatePipelineCommand } = require("@aws-sdk/client-codepipeline"); // CommonJS import
|
|
36
|
-
* const client = new CodePipelineClient(config);
|
|
37
|
-
* const command = new CreatePipelineCommand(input);
|
|
38
|
-
* const response = await client.send(command);
|
|
39
|
-
* ```
|
|
40
|
-
*
|
|
41
|
-
* @see {@link CreatePipelineCommandInput} for command's `input` shape.
|
|
42
|
-
* @see {@link CreatePipelineCommandOutput} for command's `response` shape.
|
|
43
|
-
* @see {@link CodePipelineClientResolvedConfig | config} for command's `input` shape.
|
|
44
|
-
*
|
|
45
|
-
*/
|
|
46
|
-
export class CreatePipelineCommand extends $Command<
|
|
47
|
-
CreatePipelineCommandInput,
|
|
48
|
-
CreatePipelineCommandOutput,
|
|
49
|
-
CodePipelineClientResolvedConfig
|
|
50
|
-
> {
|
|
51
|
-
// Start section: command_properties
|
|
52
|
-
// End section: command_properties
|
|
53
|
-
|
|
54
|
-
constructor(readonly input: CreatePipelineCommandInput) {
|
|
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<CreatePipelineCommandInput, CreatePipelineCommandOutput> {
|
|
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 = "CreatePipelineCommand";
|
|
75
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
76
|
-
logger,
|
|
77
|
-
clientName,
|
|
78
|
-
commandName,
|
|
79
|
-
inputFilterSensitiveLog: CreatePipelineInput.filterSensitiveLog,
|
|
80
|
-
outputFilterSensitiveLog: CreatePipelineOutput.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: CreatePipelineCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
91
|
-
return serializeAws_json1_1CreatePipelineCommand(input, context);
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<CreatePipelineCommandOutput> {
|
|
95
|
-
return deserializeAws_json1_1CreatePipelineCommand(output, context);
|
|
96
|
-
}
|
|
97
|
-
|
|
98
|
-
// Start section: command_body_extra
|
|
99
|
-
// End section: command_body_extra
|
|
100
|
-
}
|
|
@@ -1,102 +0,0 @@
|
|
|
1
|
-
import { CodePipelineClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CodePipelineClient";
|
|
2
|
-
import { DeleteCustomActionTypeInput } from "../models/models_0";
|
|
3
|
-
import {
|
|
4
|
-
deserializeAws_json1_1DeleteCustomActionTypeCommand,
|
|
5
|
-
serializeAws_json1_1DeleteCustomActionTypeCommand,
|
|
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 DeleteCustomActionTypeCommandInput extends DeleteCustomActionTypeInput {}
|
|
21
|
-
export interface DeleteCustomActionTypeCommandOutput extends __MetadataBearer {}
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* <p>Marks a custom action as deleted. <code>PollForJobs</code> for the custom action
|
|
25
|
-
* fails after the action is marked for deletion. Used for custom actions only.</p>
|
|
26
|
-
* <important>
|
|
27
|
-
* <p>To re-create a custom action after it has been deleted you must use a string in
|
|
28
|
-
* the version field that has never been used before. This string can be an incremented
|
|
29
|
-
* version number, for example. To restore a deleted custom action, use a JSON file
|
|
30
|
-
* that is identical to the deleted action, including the original string in the
|
|
31
|
-
* version field.</p>
|
|
32
|
-
* </important>
|
|
33
|
-
* @example
|
|
34
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
35
|
-
* ```javascript
|
|
36
|
-
* import { CodePipelineClient, DeleteCustomActionTypeCommand } from "@aws-sdk/client-codepipeline"; // ES Modules import
|
|
37
|
-
* // const { CodePipelineClient, DeleteCustomActionTypeCommand } = require("@aws-sdk/client-codepipeline"); // CommonJS import
|
|
38
|
-
* const client = new CodePipelineClient(config);
|
|
39
|
-
* const command = new DeleteCustomActionTypeCommand(input);
|
|
40
|
-
* const response = await client.send(command);
|
|
41
|
-
* ```
|
|
42
|
-
*
|
|
43
|
-
* @see {@link DeleteCustomActionTypeCommandInput} for command's `input` shape.
|
|
44
|
-
* @see {@link DeleteCustomActionTypeCommandOutput} for command's `response` shape.
|
|
45
|
-
* @see {@link CodePipelineClientResolvedConfig | config} for command's `input` shape.
|
|
46
|
-
*
|
|
47
|
-
*/
|
|
48
|
-
export class DeleteCustomActionTypeCommand extends $Command<
|
|
49
|
-
DeleteCustomActionTypeCommandInput,
|
|
50
|
-
DeleteCustomActionTypeCommandOutput,
|
|
51
|
-
CodePipelineClientResolvedConfig
|
|
52
|
-
> {
|
|
53
|
-
// Start section: command_properties
|
|
54
|
-
// End section: command_properties
|
|
55
|
-
|
|
56
|
-
constructor(readonly input: DeleteCustomActionTypeCommandInput) {
|
|
57
|
-
// Start section: command_constructor
|
|
58
|
-
super();
|
|
59
|
-
// End section: command_constructor
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
/**
|
|
63
|
-
* @internal
|
|
64
|
-
*/
|
|
65
|
-
resolveMiddleware(
|
|
66
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
67
|
-
configuration: CodePipelineClientResolvedConfig,
|
|
68
|
-
options?: __HttpHandlerOptions
|
|
69
|
-
): Handler<DeleteCustomActionTypeCommandInput, DeleteCustomActionTypeCommandOutput> {
|
|
70
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
71
|
-
|
|
72
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
73
|
-
|
|
74
|
-
const { logger } = configuration;
|
|
75
|
-
const clientName = "CodePipelineClient";
|
|
76
|
-
const commandName = "DeleteCustomActionTypeCommand";
|
|
77
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
78
|
-
logger,
|
|
79
|
-
clientName,
|
|
80
|
-
commandName,
|
|
81
|
-
inputFilterSensitiveLog: DeleteCustomActionTypeInput.filterSensitiveLog,
|
|
82
|
-
outputFilterSensitiveLog: (output: any) => output,
|
|
83
|
-
};
|
|
84
|
-
const { requestHandler } = configuration;
|
|
85
|
-
return stack.resolve(
|
|
86
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
87
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
88
|
-
handlerExecutionContext
|
|
89
|
-
);
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
private serialize(input: DeleteCustomActionTypeCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
93
|
-
return serializeAws_json1_1DeleteCustomActionTypeCommand(input, context);
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<DeleteCustomActionTypeCommandOutput> {
|
|
97
|
-
return deserializeAws_json1_1DeleteCustomActionTypeCommand(output, context);
|
|
98
|
-
}
|
|
99
|
-
|
|
100
|
-
// Start section: command_body_extra
|
|
101
|
-
// End section: command_body_extra
|
|
102
|
-
}
|
|
@@ -1,94 +0,0 @@
|
|
|
1
|
-
import { CodePipelineClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CodePipelineClient";
|
|
2
|
-
import { DeletePipelineInput } from "../models/models_0";
|
|
3
|
-
import {
|
|
4
|
-
deserializeAws_json1_1DeletePipelineCommand,
|
|
5
|
-
serializeAws_json1_1DeletePipelineCommand,
|
|
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 DeletePipelineCommandInput extends DeletePipelineInput {}
|
|
21
|
-
export interface DeletePipelineCommandOutput extends __MetadataBearer {}
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* <p>Deletes the specified pipeline.</p>
|
|
25
|
-
* @example
|
|
26
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
27
|
-
* ```javascript
|
|
28
|
-
* import { CodePipelineClient, DeletePipelineCommand } from "@aws-sdk/client-codepipeline"; // ES Modules import
|
|
29
|
-
* // const { CodePipelineClient, DeletePipelineCommand } = require("@aws-sdk/client-codepipeline"); // CommonJS import
|
|
30
|
-
* const client = new CodePipelineClient(config);
|
|
31
|
-
* const command = new DeletePipelineCommand(input);
|
|
32
|
-
* const response = await client.send(command);
|
|
33
|
-
* ```
|
|
34
|
-
*
|
|
35
|
-
* @see {@link DeletePipelineCommandInput} for command's `input` shape.
|
|
36
|
-
* @see {@link DeletePipelineCommandOutput} for command's `response` shape.
|
|
37
|
-
* @see {@link CodePipelineClientResolvedConfig | config} for command's `input` shape.
|
|
38
|
-
*
|
|
39
|
-
*/
|
|
40
|
-
export class DeletePipelineCommand extends $Command<
|
|
41
|
-
DeletePipelineCommandInput,
|
|
42
|
-
DeletePipelineCommandOutput,
|
|
43
|
-
CodePipelineClientResolvedConfig
|
|
44
|
-
> {
|
|
45
|
-
// Start section: command_properties
|
|
46
|
-
// End section: command_properties
|
|
47
|
-
|
|
48
|
-
constructor(readonly input: DeletePipelineCommandInput) {
|
|
49
|
-
// Start section: command_constructor
|
|
50
|
-
super();
|
|
51
|
-
// End section: command_constructor
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
/**
|
|
55
|
-
* @internal
|
|
56
|
-
*/
|
|
57
|
-
resolveMiddleware(
|
|
58
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
59
|
-
configuration: CodePipelineClientResolvedConfig,
|
|
60
|
-
options?: __HttpHandlerOptions
|
|
61
|
-
): Handler<DeletePipelineCommandInput, DeletePipelineCommandOutput> {
|
|
62
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
63
|
-
|
|
64
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
65
|
-
|
|
66
|
-
const { logger } = configuration;
|
|
67
|
-
const clientName = "CodePipelineClient";
|
|
68
|
-
const commandName = "DeletePipelineCommand";
|
|
69
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
70
|
-
logger,
|
|
71
|
-
clientName,
|
|
72
|
-
commandName,
|
|
73
|
-
inputFilterSensitiveLog: DeletePipelineInput.filterSensitiveLog,
|
|
74
|
-
outputFilterSensitiveLog: (output: any) => output,
|
|
75
|
-
};
|
|
76
|
-
const { requestHandler } = configuration;
|
|
77
|
-
return stack.resolve(
|
|
78
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
79
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
80
|
-
handlerExecutionContext
|
|
81
|
-
);
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
private serialize(input: DeletePipelineCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
85
|
-
return serializeAws_json1_1DeletePipelineCommand(input, context);
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<DeletePipelineCommandOutput> {
|
|
89
|
-
return deserializeAws_json1_1DeletePipelineCommand(output, context);
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
// Start section: command_body_extra
|
|
93
|
-
// End section: command_body_extra
|
|
94
|
-
}
|
|
@@ -1,98 +0,0 @@
|
|
|
1
|
-
import { CodePipelineClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CodePipelineClient";
|
|
2
|
-
import { DeleteWebhookInput, DeleteWebhookOutput } from "../models/models_0";
|
|
3
|
-
import {
|
|
4
|
-
deserializeAws_json1_1DeleteWebhookCommand,
|
|
5
|
-
serializeAws_json1_1DeleteWebhookCommand,
|
|
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 DeleteWebhookCommandInput extends DeleteWebhookInput {}
|
|
21
|
-
export interface DeleteWebhookCommandOutput extends DeleteWebhookOutput, __MetadataBearer {}
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* <p>Deletes a previously created webhook by name. Deleting the webhook stops AWS
|
|
25
|
-
* CodePipeline from starting a pipeline every time an external event occurs. The API
|
|
26
|
-
* returns successfully when trying to delete a webhook that is already deleted. If a
|
|
27
|
-
* deleted webhook is re-created by calling PutWebhook with the same name, it will have a
|
|
28
|
-
* different URL.</p>
|
|
29
|
-
* @example
|
|
30
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
31
|
-
* ```javascript
|
|
32
|
-
* import { CodePipelineClient, DeleteWebhookCommand } from "@aws-sdk/client-codepipeline"; // ES Modules import
|
|
33
|
-
* // const { CodePipelineClient, DeleteWebhookCommand } = require("@aws-sdk/client-codepipeline"); // CommonJS import
|
|
34
|
-
* const client = new CodePipelineClient(config);
|
|
35
|
-
* const command = new DeleteWebhookCommand(input);
|
|
36
|
-
* const response = await client.send(command);
|
|
37
|
-
* ```
|
|
38
|
-
*
|
|
39
|
-
* @see {@link DeleteWebhookCommandInput} for command's `input` shape.
|
|
40
|
-
* @see {@link DeleteWebhookCommandOutput} for command's `response` shape.
|
|
41
|
-
* @see {@link CodePipelineClientResolvedConfig | config} for command's `input` shape.
|
|
42
|
-
*
|
|
43
|
-
*/
|
|
44
|
-
export class DeleteWebhookCommand extends $Command<
|
|
45
|
-
DeleteWebhookCommandInput,
|
|
46
|
-
DeleteWebhookCommandOutput,
|
|
47
|
-
CodePipelineClientResolvedConfig
|
|
48
|
-
> {
|
|
49
|
-
// Start section: command_properties
|
|
50
|
-
// End section: command_properties
|
|
51
|
-
|
|
52
|
-
constructor(readonly input: DeleteWebhookCommandInput) {
|
|
53
|
-
// Start section: command_constructor
|
|
54
|
-
super();
|
|
55
|
-
// End section: command_constructor
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
/**
|
|
59
|
-
* @internal
|
|
60
|
-
*/
|
|
61
|
-
resolveMiddleware(
|
|
62
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
63
|
-
configuration: CodePipelineClientResolvedConfig,
|
|
64
|
-
options?: __HttpHandlerOptions
|
|
65
|
-
): Handler<DeleteWebhookCommandInput, DeleteWebhookCommandOutput> {
|
|
66
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
67
|
-
|
|
68
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
69
|
-
|
|
70
|
-
const { logger } = configuration;
|
|
71
|
-
const clientName = "CodePipelineClient";
|
|
72
|
-
const commandName = "DeleteWebhookCommand";
|
|
73
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
74
|
-
logger,
|
|
75
|
-
clientName,
|
|
76
|
-
commandName,
|
|
77
|
-
inputFilterSensitiveLog: DeleteWebhookInput.filterSensitiveLog,
|
|
78
|
-
outputFilterSensitiveLog: DeleteWebhookOutput.filterSensitiveLog,
|
|
79
|
-
};
|
|
80
|
-
const { requestHandler } = configuration;
|
|
81
|
-
return stack.resolve(
|
|
82
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
83
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
84
|
-
handlerExecutionContext
|
|
85
|
-
);
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
private serialize(input: DeleteWebhookCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
89
|
-
return serializeAws_json1_1DeleteWebhookCommand(input, context);
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<DeleteWebhookCommandOutput> {
|
|
93
|
-
return deserializeAws_json1_1DeleteWebhookCommand(output, context);
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
// Start section: command_body_extra
|
|
97
|
-
// End section: command_body_extra
|
|
98
|
-
}
|