@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,96 +0,0 @@
|
|
|
1
|
-
import { CodePipelineClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CodePipelineClient";
|
|
2
|
-
import { ListWebhooksInput, ListWebhooksOutput } from "../models/models_0";
|
|
3
|
-
import {
|
|
4
|
-
deserializeAws_json1_1ListWebhooksCommand,
|
|
5
|
-
serializeAws_json1_1ListWebhooksCommand,
|
|
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 ListWebhooksCommandInput extends ListWebhooksInput {}
|
|
21
|
-
export interface ListWebhooksCommandOutput extends ListWebhooksOutput, __MetadataBearer {}
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* <p>Gets a listing of all the webhooks in this AWS Region for this account. The output
|
|
25
|
-
* lists all webhooks and includes the webhook URL and ARN and the configuration for each
|
|
26
|
-
* webhook.</p>
|
|
27
|
-
* @example
|
|
28
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
29
|
-
* ```javascript
|
|
30
|
-
* import { CodePipelineClient, ListWebhooksCommand } from "@aws-sdk/client-codepipeline"; // ES Modules import
|
|
31
|
-
* // const { CodePipelineClient, ListWebhooksCommand } = require("@aws-sdk/client-codepipeline"); // CommonJS import
|
|
32
|
-
* const client = new CodePipelineClient(config);
|
|
33
|
-
* const command = new ListWebhooksCommand(input);
|
|
34
|
-
* const response = await client.send(command);
|
|
35
|
-
* ```
|
|
36
|
-
*
|
|
37
|
-
* @see {@link ListWebhooksCommandInput} for command's `input` shape.
|
|
38
|
-
* @see {@link ListWebhooksCommandOutput} for command's `response` shape.
|
|
39
|
-
* @see {@link CodePipelineClientResolvedConfig | config} for command's `input` shape.
|
|
40
|
-
*
|
|
41
|
-
*/
|
|
42
|
-
export class ListWebhooksCommand extends $Command<
|
|
43
|
-
ListWebhooksCommandInput,
|
|
44
|
-
ListWebhooksCommandOutput,
|
|
45
|
-
CodePipelineClientResolvedConfig
|
|
46
|
-
> {
|
|
47
|
-
// Start section: command_properties
|
|
48
|
-
// End section: command_properties
|
|
49
|
-
|
|
50
|
-
constructor(readonly input: ListWebhooksCommandInput) {
|
|
51
|
-
// Start section: command_constructor
|
|
52
|
-
super();
|
|
53
|
-
// End section: command_constructor
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
/**
|
|
57
|
-
* @internal
|
|
58
|
-
*/
|
|
59
|
-
resolveMiddleware(
|
|
60
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
61
|
-
configuration: CodePipelineClientResolvedConfig,
|
|
62
|
-
options?: __HttpHandlerOptions
|
|
63
|
-
): Handler<ListWebhooksCommandInput, ListWebhooksCommandOutput> {
|
|
64
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
65
|
-
|
|
66
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
67
|
-
|
|
68
|
-
const { logger } = configuration;
|
|
69
|
-
const clientName = "CodePipelineClient";
|
|
70
|
-
const commandName = "ListWebhooksCommand";
|
|
71
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
72
|
-
logger,
|
|
73
|
-
clientName,
|
|
74
|
-
commandName,
|
|
75
|
-
inputFilterSensitiveLog: ListWebhooksInput.filterSensitiveLog,
|
|
76
|
-
outputFilterSensitiveLog: ListWebhooksOutput.filterSensitiveLog,
|
|
77
|
-
};
|
|
78
|
-
const { requestHandler } = configuration;
|
|
79
|
-
return stack.resolve(
|
|
80
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
81
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
82
|
-
handlerExecutionContext
|
|
83
|
-
);
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
private serialize(input: ListWebhooksCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
87
|
-
return serializeAws_json1_1ListWebhooksCommand(input, context);
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<ListWebhooksCommandOutput> {
|
|
91
|
-
return deserializeAws_json1_1ListWebhooksCommand(output, context);
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
// Start section: command_body_extra
|
|
95
|
-
// End section: command_body_extra
|
|
96
|
-
}
|
|
@@ -1,103 +0,0 @@
|
|
|
1
|
-
import { CodePipelineClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CodePipelineClient";
|
|
2
|
-
import { PollForJobsInput, PollForJobsOutput } from "../models/models_0";
|
|
3
|
-
import {
|
|
4
|
-
deserializeAws_json1_1PollForJobsCommand,
|
|
5
|
-
serializeAws_json1_1PollForJobsCommand,
|
|
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 PollForJobsCommandInput extends PollForJobsInput {}
|
|
21
|
-
export interface PollForJobsCommandOutput extends PollForJobsOutput, __MetadataBearer {}
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* <p>Returns information about any jobs for AWS CodePipeline to act on.
|
|
25
|
-
* <code>PollForJobs</code> is valid only for action types with "Custom" in the owner
|
|
26
|
-
* field. If the action type contains "AWS" or "ThirdParty" in the owner field, the
|
|
27
|
-
* <code>PollForJobs</code> action returns an error.</p>
|
|
28
|
-
* <important>
|
|
29
|
-
* <p>When this API is called, AWS CodePipeline returns temporary credentials for the
|
|
30
|
-
* S3 bucket used to store artifacts for the pipeline, if the action requires access to
|
|
31
|
-
* that S3 bucket for input or output artifacts. This API also returns any secret
|
|
32
|
-
* values defined for the action.</p>
|
|
33
|
-
* </important>
|
|
34
|
-
* @example
|
|
35
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
36
|
-
* ```javascript
|
|
37
|
-
* import { CodePipelineClient, PollForJobsCommand } from "@aws-sdk/client-codepipeline"; // ES Modules import
|
|
38
|
-
* // const { CodePipelineClient, PollForJobsCommand } = require("@aws-sdk/client-codepipeline"); // CommonJS import
|
|
39
|
-
* const client = new CodePipelineClient(config);
|
|
40
|
-
* const command = new PollForJobsCommand(input);
|
|
41
|
-
* const response = await client.send(command);
|
|
42
|
-
* ```
|
|
43
|
-
*
|
|
44
|
-
* @see {@link PollForJobsCommandInput} for command's `input` shape.
|
|
45
|
-
* @see {@link PollForJobsCommandOutput} for command's `response` shape.
|
|
46
|
-
* @see {@link CodePipelineClientResolvedConfig | config} for command's `input` shape.
|
|
47
|
-
*
|
|
48
|
-
*/
|
|
49
|
-
export class PollForJobsCommand extends $Command<
|
|
50
|
-
PollForJobsCommandInput,
|
|
51
|
-
PollForJobsCommandOutput,
|
|
52
|
-
CodePipelineClientResolvedConfig
|
|
53
|
-
> {
|
|
54
|
-
// Start section: command_properties
|
|
55
|
-
// End section: command_properties
|
|
56
|
-
|
|
57
|
-
constructor(readonly input: PollForJobsCommandInput) {
|
|
58
|
-
// Start section: command_constructor
|
|
59
|
-
super();
|
|
60
|
-
// End section: command_constructor
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
/**
|
|
64
|
-
* @internal
|
|
65
|
-
*/
|
|
66
|
-
resolveMiddleware(
|
|
67
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
68
|
-
configuration: CodePipelineClientResolvedConfig,
|
|
69
|
-
options?: __HttpHandlerOptions
|
|
70
|
-
): Handler<PollForJobsCommandInput, PollForJobsCommandOutput> {
|
|
71
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
72
|
-
|
|
73
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
74
|
-
|
|
75
|
-
const { logger } = configuration;
|
|
76
|
-
const clientName = "CodePipelineClient";
|
|
77
|
-
const commandName = "PollForJobsCommand";
|
|
78
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
79
|
-
logger,
|
|
80
|
-
clientName,
|
|
81
|
-
commandName,
|
|
82
|
-
inputFilterSensitiveLog: PollForJobsInput.filterSensitiveLog,
|
|
83
|
-
outputFilterSensitiveLog: PollForJobsOutput.filterSensitiveLog,
|
|
84
|
-
};
|
|
85
|
-
const { requestHandler } = configuration;
|
|
86
|
-
return stack.resolve(
|
|
87
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
88
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
89
|
-
handlerExecutionContext
|
|
90
|
-
);
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
private serialize(input: PollForJobsCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
94
|
-
return serializeAws_json1_1PollForJobsCommand(input, context);
|
|
95
|
-
}
|
|
96
|
-
|
|
97
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<PollForJobsCommandOutput> {
|
|
98
|
-
return deserializeAws_json1_1PollForJobsCommand(output, context);
|
|
99
|
-
}
|
|
100
|
-
|
|
101
|
-
// Start section: command_body_extra
|
|
102
|
-
// End section: command_body_extra
|
|
103
|
-
}
|
|
@@ -1,100 +0,0 @@
|
|
|
1
|
-
import { CodePipelineClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CodePipelineClient";
|
|
2
|
-
import { PollForThirdPartyJobsInput, PollForThirdPartyJobsOutput } from "../models/models_0";
|
|
3
|
-
import {
|
|
4
|
-
deserializeAws_json1_1PollForThirdPartyJobsCommand,
|
|
5
|
-
serializeAws_json1_1PollForThirdPartyJobsCommand,
|
|
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 PollForThirdPartyJobsCommandInput extends PollForThirdPartyJobsInput {}
|
|
21
|
-
export interface PollForThirdPartyJobsCommandOutput extends PollForThirdPartyJobsOutput, __MetadataBearer {}
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* <p>Determines whether there are any third party jobs for a job worker to act on. Used
|
|
25
|
-
* for partner actions only.</p>
|
|
26
|
-
* <important>
|
|
27
|
-
* <p>When this API is called, AWS CodePipeline returns temporary credentials for the
|
|
28
|
-
* S3 bucket used to store artifacts for the pipeline, if the action requires access to
|
|
29
|
-
* that S3 bucket for input or output artifacts.</p>
|
|
30
|
-
* </important>
|
|
31
|
-
* @example
|
|
32
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
-
* ```javascript
|
|
34
|
-
* import { CodePipelineClient, PollForThirdPartyJobsCommand } from "@aws-sdk/client-codepipeline"; // ES Modules import
|
|
35
|
-
* // const { CodePipelineClient, PollForThirdPartyJobsCommand } = require("@aws-sdk/client-codepipeline"); // CommonJS import
|
|
36
|
-
* const client = new CodePipelineClient(config);
|
|
37
|
-
* const command = new PollForThirdPartyJobsCommand(input);
|
|
38
|
-
* const response = await client.send(command);
|
|
39
|
-
* ```
|
|
40
|
-
*
|
|
41
|
-
* @see {@link PollForThirdPartyJobsCommandInput} for command's `input` shape.
|
|
42
|
-
* @see {@link PollForThirdPartyJobsCommandOutput} for command's `response` shape.
|
|
43
|
-
* @see {@link CodePipelineClientResolvedConfig | config} for command's `input` shape.
|
|
44
|
-
*
|
|
45
|
-
*/
|
|
46
|
-
export class PollForThirdPartyJobsCommand extends $Command<
|
|
47
|
-
PollForThirdPartyJobsCommandInput,
|
|
48
|
-
PollForThirdPartyJobsCommandOutput,
|
|
49
|
-
CodePipelineClientResolvedConfig
|
|
50
|
-
> {
|
|
51
|
-
// Start section: command_properties
|
|
52
|
-
// End section: command_properties
|
|
53
|
-
|
|
54
|
-
constructor(readonly input: PollForThirdPartyJobsCommandInput) {
|
|
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<PollForThirdPartyJobsCommandInput, PollForThirdPartyJobsCommandOutput> {
|
|
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 = "PollForThirdPartyJobsCommand";
|
|
75
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
76
|
-
logger,
|
|
77
|
-
clientName,
|
|
78
|
-
commandName,
|
|
79
|
-
inputFilterSensitiveLog: PollForThirdPartyJobsInput.filterSensitiveLog,
|
|
80
|
-
outputFilterSensitiveLog: PollForThirdPartyJobsOutput.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: PollForThirdPartyJobsCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
91
|
-
return serializeAws_json1_1PollForThirdPartyJobsCommand(input, context);
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<PollForThirdPartyJobsCommandOutput> {
|
|
95
|
-
return deserializeAws_json1_1PollForThirdPartyJobsCommand(output, context);
|
|
96
|
-
}
|
|
97
|
-
|
|
98
|
-
// Start section: command_body_extra
|
|
99
|
-
// End section: command_body_extra
|
|
100
|
-
}
|
|
@@ -1,94 +0,0 @@
|
|
|
1
|
-
import { CodePipelineClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CodePipelineClient";
|
|
2
|
-
import { PutActionRevisionInput, PutActionRevisionOutput } from "../models/models_0";
|
|
3
|
-
import {
|
|
4
|
-
deserializeAws_json1_1PutActionRevisionCommand,
|
|
5
|
-
serializeAws_json1_1PutActionRevisionCommand,
|
|
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 PutActionRevisionCommandInput extends PutActionRevisionInput {}
|
|
21
|
-
export interface PutActionRevisionCommandOutput extends PutActionRevisionOutput, __MetadataBearer {}
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* <p>Provides information to AWS CodePipeline about new revisions to a source.</p>
|
|
25
|
-
* @example
|
|
26
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
27
|
-
* ```javascript
|
|
28
|
-
* import { CodePipelineClient, PutActionRevisionCommand } from "@aws-sdk/client-codepipeline"; // ES Modules import
|
|
29
|
-
* // const { CodePipelineClient, PutActionRevisionCommand } = require("@aws-sdk/client-codepipeline"); // CommonJS import
|
|
30
|
-
* const client = new CodePipelineClient(config);
|
|
31
|
-
* const command = new PutActionRevisionCommand(input);
|
|
32
|
-
* const response = await client.send(command);
|
|
33
|
-
* ```
|
|
34
|
-
*
|
|
35
|
-
* @see {@link PutActionRevisionCommandInput} for command's `input` shape.
|
|
36
|
-
* @see {@link PutActionRevisionCommandOutput} for command's `response` shape.
|
|
37
|
-
* @see {@link CodePipelineClientResolvedConfig | config} for command's `input` shape.
|
|
38
|
-
*
|
|
39
|
-
*/
|
|
40
|
-
export class PutActionRevisionCommand extends $Command<
|
|
41
|
-
PutActionRevisionCommandInput,
|
|
42
|
-
PutActionRevisionCommandOutput,
|
|
43
|
-
CodePipelineClientResolvedConfig
|
|
44
|
-
> {
|
|
45
|
-
// Start section: command_properties
|
|
46
|
-
// End section: command_properties
|
|
47
|
-
|
|
48
|
-
constructor(readonly input: PutActionRevisionCommandInput) {
|
|
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<PutActionRevisionCommandInput, PutActionRevisionCommandOutput> {
|
|
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 = "PutActionRevisionCommand";
|
|
69
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
70
|
-
logger,
|
|
71
|
-
clientName,
|
|
72
|
-
commandName,
|
|
73
|
-
inputFilterSensitiveLog: PutActionRevisionInput.filterSensitiveLog,
|
|
74
|
-
outputFilterSensitiveLog: PutActionRevisionOutput.filterSensitiveLog,
|
|
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: PutActionRevisionCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
85
|
-
return serializeAws_json1_1PutActionRevisionCommand(input, context);
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<PutActionRevisionCommandOutput> {
|
|
89
|
-
return deserializeAws_json1_1PutActionRevisionCommand(output, context);
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
// Start section: command_body_extra
|
|
93
|
-
// End section: command_body_extra
|
|
94
|
-
}
|
|
@@ -1,95 +0,0 @@
|
|
|
1
|
-
import { CodePipelineClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CodePipelineClient";
|
|
2
|
-
import { PutApprovalResultInput, PutApprovalResultOutput } from "../models/models_0";
|
|
3
|
-
import {
|
|
4
|
-
deserializeAws_json1_1PutApprovalResultCommand,
|
|
5
|
-
serializeAws_json1_1PutApprovalResultCommand,
|
|
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 PutApprovalResultCommandInput extends PutApprovalResultInput {}
|
|
21
|
-
export interface PutApprovalResultCommandOutput extends PutApprovalResultOutput, __MetadataBearer {}
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* <p>Provides the response to a manual approval request to AWS CodePipeline. Valid
|
|
25
|
-
* responses include Approved and Rejected.</p>
|
|
26
|
-
* @example
|
|
27
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
28
|
-
* ```javascript
|
|
29
|
-
* import { CodePipelineClient, PutApprovalResultCommand } from "@aws-sdk/client-codepipeline"; // ES Modules import
|
|
30
|
-
* // const { CodePipelineClient, PutApprovalResultCommand } = require("@aws-sdk/client-codepipeline"); // CommonJS import
|
|
31
|
-
* const client = new CodePipelineClient(config);
|
|
32
|
-
* const command = new PutApprovalResultCommand(input);
|
|
33
|
-
* const response = await client.send(command);
|
|
34
|
-
* ```
|
|
35
|
-
*
|
|
36
|
-
* @see {@link PutApprovalResultCommandInput} for command's `input` shape.
|
|
37
|
-
* @see {@link PutApprovalResultCommandOutput} for command's `response` shape.
|
|
38
|
-
* @see {@link CodePipelineClientResolvedConfig | config} for command's `input` shape.
|
|
39
|
-
*
|
|
40
|
-
*/
|
|
41
|
-
export class PutApprovalResultCommand extends $Command<
|
|
42
|
-
PutApprovalResultCommandInput,
|
|
43
|
-
PutApprovalResultCommandOutput,
|
|
44
|
-
CodePipelineClientResolvedConfig
|
|
45
|
-
> {
|
|
46
|
-
// Start section: command_properties
|
|
47
|
-
// End section: command_properties
|
|
48
|
-
|
|
49
|
-
constructor(readonly input: PutApprovalResultCommandInput) {
|
|
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<PutApprovalResultCommandInput, PutApprovalResultCommandOutput> {
|
|
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 = "PutApprovalResultCommand";
|
|
70
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
71
|
-
logger,
|
|
72
|
-
clientName,
|
|
73
|
-
commandName,
|
|
74
|
-
inputFilterSensitiveLog: PutApprovalResultInput.filterSensitiveLog,
|
|
75
|
-
outputFilterSensitiveLog: PutApprovalResultOutput.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: PutApprovalResultCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
86
|
-
return serializeAws_json1_1PutApprovalResultCommand(input, context);
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<PutApprovalResultCommandOutput> {
|
|
90
|
-
return deserializeAws_json1_1PutApprovalResultCommand(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 { PutJobFailureResultInput } from "../models/models_0";
|
|
3
|
-
import {
|
|
4
|
-
deserializeAws_json1_1PutJobFailureResultCommand,
|
|
5
|
-
serializeAws_json1_1PutJobFailureResultCommand,
|
|
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 PutJobFailureResultCommandInput extends PutJobFailureResultInput {}
|
|
21
|
-
export interface PutJobFailureResultCommandOutput extends __MetadataBearer {}
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* <p>Represents the failure of a job as returned to the pipeline by a job worker. Used
|
|
25
|
-
* 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, PutJobFailureResultCommand } from "@aws-sdk/client-codepipeline"; // ES Modules import
|
|
30
|
-
* // const { CodePipelineClient, PutJobFailureResultCommand } = require("@aws-sdk/client-codepipeline"); // CommonJS import
|
|
31
|
-
* const client = new CodePipelineClient(config);
|
|
32
|
-
* const command = new PutJobFailureResultCommand(input);
|
|
33
|
-
* const response = await client.send(command);
|
|
34
|
-
* ```
|
|
35
|
-
*
|
|
36
|
-
* @see {@link PutJobFailureResultCommandInput} for command's `input` shape.
|
|
37
|
-
* @see {@link PutJobFailureResultCommandOutput} for command's `response` shape.
|
|
38
|
-
* @see {@link CodePipelineClientResolvedConfig | config} for command's `input` shape.
|
|
39
|
-
*
|
|
40
|
-
*/
|
|
41
|
-
export class PutJobFailureResultCommand extends $Command<
|
|
42
|
-
PutJobFailureResultCommandInput,
|
|
43
|
-
PutJobFailureResultCommandOutput,
|
|
44
|
-
CodePipelineClientResolvedConfig
|
|
45
|
-
> {
|
|
46
|
-
// Start section: command_properties
|
|
47
|
-
// End section: command_properties
|
|
48
|
-
|
|
49
|
-
constructor(readonly input: PutJobFailureResultCommandInput) {
|
|
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<PutJobFailureResultCommandInput, PutJobFailureResultCommandOutput> {
|
|
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 = "PutJobFailureResultCommand";
|
|
70
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
71
|
-
logger,
|
|
72
|
-
clientName,
|
|
73
|
-
commandName,
|
|
74
|
-
inputFilterSensitiveLog: PutJobFailureResultInput.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: PutJobFailureResultCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
86
|
-
return serializeAws_json1_1PutJobFailureResultCommand(input, context);
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<PutJobFailureResultCommandOutput> {
|
|
90
|
-
return deserializeAws_json1_1PutJobFailureResultCommand(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 { PutJobSuccessResultInput } from "../models/models_0";
|
|
3
|
-
import {
|
|
4
|
-
deserializeAws_json1_1PutJobSuccessResultCommand,
|
|
5
|
-
serializeAws_json1_1PutJobSuccessResultCommand,
|
|
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 PutJobSuccessResultCommandInput extends PutJobSuccessResultInput {}
|
|
21
|
-
export interface PutJobSuccessResultCommandOutput extends __MetadataBearer {}
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* <p>Represents the success of a job as returned to the pipeline by a job worker. Used
|
|
25
|
-
* 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, PutJobSuccessResultCommand } from "@aws-sdk/client-codepipeline"; // ES Modules import
|
|
30
|
-
* // const { CodePipelineClient, PutJobSuccessResultCommand } = require("@aws-sdk/client-codepipeline"); // CommonJS import
|
|
31
|
-
* const client = new CodePipelineClient(config);
|
|
32
|
-
* const command = new PutJobSuccessResultCommand(input);
|
|
33
|
-
* const response = await client.send(command);
|
|
34
|
-
* ```
|
|
35
|
-
*
|
|
36
|
-
* @see {@link PutJobSuccessResultCommandInput} for command's `input` shape.
|
|
37
|
-
* @see {@link PutJobSuccessResultCommandOutput} for command's `response` shape.
|
|
38
|
-
* @see {@link CodePipelineClientResolvedConfig | config} for command's `input` shape.
|
|
39
|
-
*
|
|
40
|
-
*/
|
|
41
|
-
export class PutJobSuccessResultCommand extends $Command<
|
|
42
|
-
PutJobSuccessResultCommandInput,
|
|
43
|
-
PutJobSuccessResultCommandOutput,
|
|
44
|
-
CodePipelineClientResolvedConfig
|
|
45
|
-
> {
|
|
46
|
-
// Start section: command_properties
|
|
47
|
-
// End section: command_properties
|
|
48
|
-
|
|
49
|
-
constructor(readonly input: PutJobSuccessResultCommandInput) {
|
|
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<PutJobSuccessResultCommandInput, PutJobSuccessResultCommandOutput> {
|
|
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 = "PutJobSuccessResultCommand";
|
|
70
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
71
|
-
logger,
|
|
72
|
-
clientName,
|
|
73
|
-
commandName,
|
|
74
|
-
inputFilterSensitiveLog: PutJobSuccessResultInput.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: PutJobSuccessResultCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
86
|
-
return serializeAws_json1_1PutJobSuccessResultCommand(input, context);
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<PutJobSuccessResultCommandOutput> {
|
|
90
|
-
return deserializeAws_json1_1PutJobSuccessResultCommand(output, context);
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
// Start section: command_body_extra
|
|
94
|
-
// End section: command_body_extra
|
|
95
|
-
}
|