@aws-sdk/client-codedeploy 3.33.0 → 3.36.1
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}/CodeDeploy.js +2 -105
- package/dist-cjs/CodeDeployClient.js +35 -0
- package/{dist/cjs → dist-cjs}/commands/AddTagsToOnPremisesInstancesCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/BatchGetApplicationRevisionsCommand.js +2 -28
- package/{dist/cjs → dist-cjs}/commands/BatchGetApplicationsCommand.js +2 -28
- package/{dist/cjs → dist-cjs}/commands/BatchGetDeploymentGroupsCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/BatchGetDeploymentInstancesCommand.js +2 -36
- package/dist-cjs/commands/BatchGetDeploymentTargetsCommand.js +36 -0
- package/{dist/cjs → dist-cjs}/commands/BatchGetDeploymentsCommand.js +2 -28
- package/{dist/cjs → dist-cjs}/commands/BatchGetOnPremisesInstancesCommand.js +2 -28
- package/{dist/cjs → dist-cjs}/commands/ContinueDeploymentCommand.js +2 -31
- package/{dist/cjs → dist-cjs}/commands/CreateApplicationCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/CreateDeploymentCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/CreateDeploymentConfigCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/CreateDeploymentGroupCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/DeleteApplicationCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/DeleteDeploymentConfigCommand.js +2 -31
- package/{dist/cjs → dist-cjs}/commands/DeleteDeploymentGroupCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/DeleteGitHubAccountTokenCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/DeleteResourcesByExternalIdCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/DeregisterOnPremisesInstanceCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/GetApplicationCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/GetApplicationRevisionCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/GetDeploymentCommand.js +2 -33
- package/{dist/cjs → dist-cjs}/commands/GetDeploymentConfigCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/GetDeploymentGroupCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/GetDeploymentInstanceCommand.js +2 -29
- package/{dist/cjs → dist-cjs}/commands/GetDeploymentTargetCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/GetOnPremisesInstanceCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/ListApplicationRevisionsCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/ListApplicationsCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/ListDeploymentConfigsCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/ListDeploymentGroupsCommand.js +2 -28
- package/{dist/cjs → dist-cjs}/commands/ListDeploymentInstancesCommand.js +2 -35
- package/{dist/cjs → dist-cjs}/commands/ListDeploymentTargetsCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/ListDeploymentsCommand.js +2 -28
- package/{dist/cjs → dist-cjs}/commands/ListGitHubAccountTokenNamesCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/ListOnPremisesInstancesCommand.js +2 -30
- package/{dist/cjs → dist-cjs}/commands/ListTagsForResourceCommand.js +2 -28
- package/dist-cjs/commands/PutLifecycleEventHookExecutionStatusCommand.js +36 -0
- package/{dist/cjs → dist-cjs}/commands/RegisterApplicationRevisionCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/RegisterOnPremisesInstanceCommand.js +2 -31
- package/{dist/cjs → dist-cjs}/commands/RemoveTagsFromOnPremisesInstancesCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/SkipWaitTimeForInstanceTerminationCommand.js +2 -30
- package/{dist/cjs → dist-cjs}/commands/StopDeploymentCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/TagResourceCommand.js +2 -28
- package/{dist/cjs → dist-cjs}/commands/UntagResourceCommand.js +2 -29
- package/{dist/cjs → dist-cjs}/commands/UpdateApplicationCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/commands/UpdateDeploymentGroupCommand.js +2 -27
- package/{dist/cjs → dist-cjs}/endpoints.js +0 -1
- 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 -742
- package/{dist/cjs → dist-cjs}/pagination/Interfaces.js +0 -1
- package/{dist/cjs → dist-cjs}/pagination/ListApplicationRevisionsPaginator.js +0 -11
- package/{dist/cjs → dist-cjs}/pagination/ListApplicationsPaginator.js +0 -11
- package/{dist/cjs → dist-cjs}/pagination/ListDeploymentConfigsPaginator.js +0 -11
- package/{dist/cjs → dist-cjs}/pagination/ListDeploymentGroupsPaginator.js +0 -11
- package/{dist/cjs → dist-cjs}/pagination/ListDeploymentInstancesPaginator.js +0 -11
- package/{dist/cjs → dist-cjs}/pagination/ListDeploymentsPaginator.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/cjs → dist-cjs}/waiters/waitForDeploymentSuccessful.js +5 -15
- package/{dist/es → dist-es}/CodeDeploy.js +3 -106
- package/dist-es/CodeDeployClient.js +37 -0
- package/{dist/es → dist-es}/commands/AddTagsToOnPremisesInstancesCommand.js +4 -30
- package/{dist/es → dist-es}/commands/BatchGetApplicationRevisionsCommand.js +4 -31
- package/{dist/es → dist-es}/commands/BatchGetApplicationsCommand.js +4 -31
- package/{dist/es → dist-es}/commands/BatchGetDeploymentGroupsCommand.js +4 -30
- package/{dist/es → dist-es}/commands/BatchGetDeploymentInstancesCommand.js +4 -39
- package/dist-es/commands/BatchGetDeploymentTargetsCommand.js +39 -0
- package/{dist/es → dist-es}/commands/BatchGetDeploymentsCommand.js +4 -31
- package/{dist/es → dist-es}/commands/BatchGetOnPremisesInstancesCommand.js +4 -31
- package/{dist/es → dist-es}/commands/ContinueDeploymentCommand.js +4 -34
- package/{dist/es → dist-es}/commands/CreateApplicationCommand.js +4 -30
- package/{dist/es → dist-es}/commands/CreateDeploymentCommand.js +4 -30
- package/{dist/es → dist-es}/commands/CreateDeploymentConfigCommand.js +4 -30
- package/{dist/es → dist-es}/commands/CreateDeploymentGroupCommand.js +4 -30
- package/{dist/es → dist-es}/commands/DeleteApplicationCommand.js +4 -30
- package/{dist/es → dist-es}/commands/DeleteDeploymentConfigCommand.js +4 -34
- package/{dist/es → dist-es}/commands/DeleteDeploymentGroupCommand.js +4 -30
- package/{dist/es → dist-es}/commands/DeleteGitHubAccountTokenCommand.js +4 -30
- package/{dist/es → dist-es}/commands/DeleteResourcesByExternalIdCommand.js +4 -30
- package/{dist/es → dist-es}/commands/DeregisterOnPremisesInstanceCommand.js +4 -30
- package/{dist/es → dist-es}/commands/GetApplicationCommand.js +4 -30
- package/{dist/es → dist-es}/commands/GetApplicationRevisionCommand.js +4 -30
- package/{dist/es → dist-es}/commands/GetDeploymentCommand.js +4 -36
- package/{dist/es → dist-es}/commands/GetDeploymentConfigCommand.js +4 -30
- package/{dist/es → dist-es}/commands/GetDeploymentGroupCommand.js +4 -30
- package/{dist/es → dist-es}/commands/GetDeploymentInstanceCommand.js +4 -32
- package/{dist/es → dist-es}/commands/GetDeploymentTargetCommand.js +4 -30
- package/{dist/es → dist-es}/commands/GetOnPremisesInstanceCommand.js +4 -30
- package/{dist/es → dist-es}/commands/ListApplicationRevisionsCommand.js +4 -30
- package/{dist/es → dist-es}/commands/ListApplicationsCommand.js +4 -30
- package/{dist/es → dist-es}/commands/ListDeploymentConfigsCommand.js +4 -30
- package/{dist/es → dist-es}/commands/ListDeploymentGroupsCommand.js +4 -31
- package/{dist/es → dist-es}/commands/ListDeploymentInstancesCommand.js +4 -38
- package/{dist/es → dist-es}/commands/ListDeploymentTargetsCommand.js +4 -30
- package/{dist/es → dist-es}/commands/ListDeploymentsCommand.js +4 -31
- package/{dist/es → dist-es}/commands/ListGitHubAccountTokenNamesCommand.js +4 -30
- package/{dist/es → dist-es}/commands/ListOnPremisesInstancesCommand.js +4 -33
- package/{dist/es → dist-es}/commands/ListTagsForResourceCommand.js +4 -31
- package/dist-es/commands/PutLifecycleEventHookExecutionStatusCommand.js +39 -0
- package/{dist/es → dist-es}/commands/RegisterApplicationRevisionCommand.js +4 -30
- package/{dist/es → dist-es}/commands/RegisterOnPremisesInstanceCommand.js +4 -34
- package/{dist/es → dist-es}/commands/RemoveTagsFromOnPremisesInstancesCommand.js +4 -30
- package/{dist/es → dist-es}/commands/SkipWaitTimeForInstanceTerminationCommand.js +4 -33
- package/{dist/es → dist-es}/commands/StopDeploymentCommand.js +4 -30
- package/{dist/es → dist-es}/commands/TagResourceCommand.js +4 -31
- package/{dist/es → dist-es}/commands/UntagResourceCommand.js +4 -32
- package/{dist/es → dist-es}/commands/UpdateApplicationCommand.js +4 -30
- package/{dist/es → dist-es}/commands/UpdateDeploymentGroupCommand.js +4 -30
- 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 -742
- package/dist-es/pagination/Interfaces.js +1 -0
- package/{dist/es → dist-es}/pagination/ListApplicationRevisionsPaginator.js +16 -29
- package/{dist/es → dist-es}/pagination/ListApplicationsPaginator.js +16 -29
- package/{dist/es → dist-es}/pagination/ListDeploymentConfigsPaginator.js +16 -29
- package/{dist/es → dist-es}/pagination/ListDeploymentGroupsPaginator.js +16 -29
- package/{dist/es → dist-es}/pagination/ListDeploymentInstancesPaginator.js +16 -29
- package/{dist/es → dist-es}/pagination/ListDeploymentsPaginator.js +16 -29
- package/{dist/es → dist-es}/protocols/Aws_json1_1.js +1763 -1769
- package/{dist/es → dist-es}/runtimeConfig.browser.js +1 -5
- package/{dist/es → dist-es}/runtimeConfig.js +1 -5
- package/{dist/es → dist-es}/runtimeConfig.native.js +0 -4
- package/{dist/es → dist-es}/runtimeConfig.shared.js +1 -5
- package/{dist/es → dist-es}/waiters/waitForDeploymentSuccessful.js +11 -21
- package/{dist/types → dist-types}/CodeDeploy.d.ts +3 -3
- package/{dist/types → dist-types}/CodeDeployClient.d.ts +10 -10
- package/{dist/types → dist-types}/commands/AddTagsToOnPremisesInstancesCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/BatchGetApplicationRevisionsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/BatchGetApplicationsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/BatchGetDeploymentGroupsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/BatchGetDeploymentInstancesCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/BatchGetDeploymentTargetsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/BatchGetDeploymentsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/BatchGetOnPremisesInstancesCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/ContinueDeploymentCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/CreateApplicationCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/CreateDeploymentCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/CreateDeploymentConfigCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/CreateDeploymentGroupCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DeleteApplicationCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DeleteDeploymentConfigCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DeleteDeploymentGroupCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DeleteGitHubAccountTokenCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DeleteResourcesByExternalIdCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/DeregisterOnPremisesInstanceCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/GetApplicationCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/GetApplicationRevisionCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/GetDeploymentCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/GetDeploymentConfigCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/GetDeploymentGroupCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/GetDeploymentInstanceCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/GetDeploymentTargetCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/GetOnPremisesInstanceCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/ListApplicationRevisionsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/ListApplicationsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/ListDeploymentConfigsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/ListDeploymentGroupsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/ListDeploymentInstancesCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/ListDeploymentTargetsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/ListDeploymentsCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/ListGitHubAccountTokenNamesCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/ListOnPremisesInstancesCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/ListTagsForResourceCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/PutLifecycleEventHookExecutionStatusCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/RegisterApplicationRevisionCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/RegisterOnPremisesInstanceCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/RemoveTagsFromOnPremisesInstancesCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/SkipWaitTimeForInstanceTerminationCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/StopDeploymentCommand.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/UpdateApplicationCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/UpdateDeploymentGroupCommand.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/ListApplicationRevisionsPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/pagination/ListApplicationsPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/pagination/ListDeploymentConfigsPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/pagination/ListDeploymentGroupsPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/pagination/ListDeploymentInstancesPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/pagination/ListDeploymentsPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/protocols/Aws_json1_1.d.ts +4 -4
- 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/CodeDeploy.d.ts +51 -334
- package/{dist/types → dist-types}/ts3.4/CodeDeployClient.d.ts +34 -198
- package/{dist/types → dist-types}/ts3.4/commands/AddTagsToOnPremisesInstancesCommand.d.ts +4 -22
- package/{dist/types → dist-types}/ts3.4/commands/BatchGetApplicationRevisionsCommand.d.ts +4 -23
- package/dist-types/ts3.4/commands/BatchGetApplicationsCommand.d.ts +17 -0
- package/{dist/types → dist-types}/ts3.4/commands/BatchGetDeploymentGroupsCommand.d.ts +4 -22
- package/dist-types/ts3.4/commands/BatchGetDeploymentInstancesCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/BatchGetDeploymentTargetsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/BatchGetDeploymentsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/BatchGetOnPremisesInstancesCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ContinueDeploymentCommand.d.ts +17 -0
- package/{dist/types → dist-types}/ts3.4/commands/CreateApplicationCommand.d.ts +4 -22
- package/dist-types/ts3.4/commands/CreateDeploymentCommand.d.ts +17 -0
- package/{dist/types → dist-types}/ts3.4/commands/CreateDeploymentConfigCommand.d.ts +4 -22
- package/{dist/types → dist-types}/ts3.4/commands/CreateDeploymentGroupCommand.d.ts +4 -22
- package/dist-types/ts3.4/commands/DeleteApplicationCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteDeploymentConfigCommand.d.ts +17 -0
- package/{dist/types → dist-types}/ts3.4/commands/DeleteDeploymentGroupCommand.d.ts +4 -22
- package/{dist/types → dist-types}/ts3.4/commands/DeleteGitHubAccountTokenCommand.d.ts +4 -22
- package/{dist/types → dist-types}/ts3.4/commands/DeleteResourcesByExternalIdCommand.d.ts +4 -22
- package/{dist/types → dist-types}/ts3.4/commands/DeregisterOnPremisesInstanceCommand.d.ts +4 -22
- package/dist-types/ts3.4/commands/GetApplicationCommand.d.ts +17 -0
- package/{dist/types → dist-types}/ts3.4/commands/GetApplicationRevisionCommand.d.ts +4 -22
- package/dist-types/ts3.4/commands/GetDeploymentCommand.d.ts +17 -0
- package/{dist/types → dist-types}/ts3.4/commands/GetDeploymentConfigCommand.d.ts +4 -22
- package/{dist/types → dist-types}/ts3.4/commands/GetDeploymentGroupCommand.d.ts +4 -22
- package/{dist/types → dist-types}/ts3.4/commands/GetDeploymentInstanceCommand.d.ts +4 -24
- package/{dist/types → dist-types}/ts3.4/commands/GetDeploymentTargetCommand.d.ts +4 -22
- package/{dist/types → dist-types}/ts3.4/commands/GetOnPremisesInstanceCommand.d.ts +4 -22
- package/{dist/types → dist-types}/ts3.4/commands/ListApplicationRevisionsCommand.d.ts +4 -22
- package/dist-types/ts3.4/commands/ListApplicationsCommand.d.ts +17 -0
- package/{dist/types → dist-types}/ts3.4/commands/ListDeploymentConfigsCommand.d.ts +4 -22
- package/dist-types/ts3.4/commands/ListDeploymentGroupsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListDeploymentInstancesCommand.d.ts +17 -0
- package/{dist/types → dist-types}/ts3.4/commands/ListDeploymentTargetsCommand.d.ts +4 -22
- package/dist-types/ts3.4/commands/ListDeploymentsCommand.d.ts +17 -0
- package/{dist/types → dist-types}/ts3.4/commands/ListGitHubAccountTokenNamesCommand.d.ts +4 -22
- package/dist-types/ts3.4/commands/ListOnPremisesInstancesCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/PutLifecycleEventHookExecutionStatusCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/RegisterApplicationRevisionCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/RegisterOnPremisesInstanceCommand.d.ts +17 -0
- package/{dist/types → dist-types}/ts3.4/commands/RemoveTagsFromOnPremisesInstancesCommand.d.ts +4 -22
- package/dist-types/ts3.4/commands/SkipWaitTimeForInstanceTerminationCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/StopDeploymentCommand.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/UpdateApplicationCommand.d.ts +17 -0
- package/{dist/types → dist-types}/ts3.4/commands/UpdateDeploymentGroupCommand.d.ts +4 -22
- 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 +3195 -0
- package/{dist/types → dist-types}/ts3.4/pagination/Interfaces.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/pagination/ListApplicationRevisionsPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/pagination/ListApplicationsPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/pagination/ListDeploymentConfigsPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/pagination/ListDeploymentGroupsPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/pagination/ListDeploymentInstancesPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/pagination/ListDeploymentsPaginator.d.ts +1 -1
- package/{dist/types → dist-types}/ts3.4/protocols/Aws_json1_1.d.ts +4 -4
- 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/{dist/types → dist-types}/ts3.4/waiters/waitForDeploymentSuccessful.d.ts +3 -10
- package/{dist/types → dist-types}/waiters/waitForDeploymentSuccessful.d.ts +1 -1
- package/package.json +53 -50
- package/CodeDeploy.ts +0 -1923
- package/CodeDeployClient.ts +0 -577
- package/commands/AddTagsToOnPremisesInstancesCommand.ts +0 -97
- package/commands/BatchGetApplicationRevisionsCommand.ts +0 -100
- package/commands/BatchGetApplicationsCommand.ts +0 -95
- package/commands/BatchGetDeploymentGroupsCommand.ts +0 -94
- package/commands/BatchGetDeploymentInstancesCommand.ts +0 -106
- package/commands/BatchGetDeploymentTargetsCommand.ts +0 -124
- package/commands/BatchGetDeploymentsCommand.ts +0 -95
- package/commands/BatchGetOnPremisesInstancesCommand.ts +0 -98
- package/commands/ContinueDeploymentCommand.ts +0 -98
- package/commands/CreateApplicationCommand.ts +0 -94
- package/commands/CreateDeploymentCommand.ts +0 -94
- package/commands/CreateDeploymentConfigCommand.ts +0 -94
- package/commands/CreateDeploymentGroupCommand.ts +0 -94
- package/commands/DeleteApplicationCommand.ts +0 -94
- package/commands/DeleteDeploymentConfigCommand.ts +0 -98
- package/commands/DeleteDeploymentGroupCommand.ts +0 -94
- package/commands/DeleteGitHubAccountTokenCommand.ts +0 -94
- package/commands/DeleteResourcesByExternalIdCommand.ts +0 -97
- package/commands/DeregisterOnPremisesInstanceCommand.ts +0 -97
- package/commands/GetApplicationCommand.ts +0 -94
- package/commands/GetApplicationRevisionCommand.ts +0 -94
- package/commands/GetDeploymentCommand.ts +0 -100
- package/commands/GetDeploymentConfigCommand.ts +0 -94
- package/commands/GetDeploymentGroupCommand.ts +0 -94
- package/commands/GetDeploymentInstanceCommand.ts +0 -96
- package/commands/GetDeploymentTargetCommand.ts +0 -94
- package/commands/GetOnPremisesInstanceCommand.ts +0 -94
- package/commands/ListApplicationRevisionsCommand.ts +0 -94
- package/commands/ListApplicationsCommand.ts +0 -94
- package/commands/ListDeploymentConfigsCommand.ts +0 -94
- package/commands/ListDeploymentGroupsCommand.ts +0 -95
- package/commands/ListDeploymentInstancesCommand.ts +0 -102
- package/commands/ListDeploymentTargetsCommand.ts +0 -94
- package/commands/ListDeploymentsCommand.ts +0 -95
- package/commands/ListGitHubAccountTokenNamesCommand.ts +0 -97
- package/commands/ListOnPremisesInstancesCommand.ts +0 -97
- package/commands/ListTagsForResourceCommand.ts +0 -95
- package/commands/PutLifecycleEventHookExecutionStatusCommand.ts +0 -113
- package/commands/RegisterApplicationRevisionCommand.ts +0 -97
- package/commands/RegisterOnPremisesInstanceCommand.ts +0 -101
- package/commands/RemoveTagsFromOnPremisesInstancesCommand.ts +0 -100
- package/commands/SkipWaitTimeForInstanceTerminationCommand.ts +0 -103
- package/commands/StopDeploymentCommand.ts +0 -94
- package/commands/TagResourceCommand.ts +0 -95
- package/commands/UntagResourceCommand.ts +0 -96
- package/commands/UpdateApplicationCommand.ts +0 -94
- package/commands/UpdateDeploymentGroupCommand.ts +0 -94
- package/dist/cjs/CodeDeploy.js.map +0 -1
- package/dist/cjs/CodeDeployClient.js +0 -143
- package/dist/cjs/CodeDeployClient.js.map +0 -1
- package/dist/cjs/commands/AddTagsToOnPremisesInstancesCommand.js.map +0 -1
- package/dist/cjs/commands/BatchGetApplicationRevisionsCommand.js.map +0 -1
- package/dist/cjs/commands/BatchGetApplicationsCommand.js.map +0 -1
- package/dist/cjs/commands/BatchGetDeploymentGroupsCommand.js.map +0 -1
- package/dist/cjs/commands/BatchGetDeploymentInstancesCommand.js.map +0 -1
- package/dist/cjs/commands/BatchGetDeploymentTargetsCommand.js +0 -88
- package/dist/cjs/commands/BatchGetDeploymentTargetsCommand.js.map +0 -1
- package/dist/cjs/commands/BatchGetDeploymentsCommand.js.map +0 -1
- package/dist/cjs/commands/BatchGetOnPremisesInstancesCommand.js.map +0 -1
- package/dist/cjs/commands/ContinueDeploymentCommand.js.map +0 -1
- package/dist/cjs/commands/CreateApplicationCommand.js.map +0 -1
- package/dist/cjs/commands/CreateDeploymentCommand.js.map +0 -1
- package/dist/cjs/commands/CreateDeploymentConfigCommand.js.map +0 -1
- package/dist/cjs/commands/CreateDeploymentGroupCommand.js.map +0 -1
- package/dist/cjs/commands/DeleteApplicationCommand.js.map +0 -1
- package/dist/cjs/commands/DeleteDeploymentConfigCommand.js.map +0 -1
- package/dist/cjs/commands/DeleteDeploymentGroupCommand.js.map +0 -1
- package/dist/cjs/commands/DeleteGitHubAccountTokenCommand.js.map +0 -1
- package/dist/cjs/commands/DeleteResourcesByExternalIdCommand.js.map +0 -1
- package/dist/cjs/commands/DeregisterOnPremisesInstanceCommand.js.map +0 -1
- package/dist/cjs/commands/GetApplicationCommand.js.map +0 -1
- package/dist/cjs/commands/GetApplicationRevisionCommand.js.map +0 -1
- package/dist/cjs/commands/GetDeploymentCommand.js.map +0 -1
- package/dist/cjs/commands/GetDeploymentConfigCommand.js.map +0 -1
- package/dist/cjs/commands/GetDeploymentGroupCommand.js.map +0 -1
- package/dist/cjs/commands/GetDeploymentInstanceCommand.js.map +0 -1
- package/dist/cjs/commands/GetDeploymentTargetCommand.js.map +0 -1
- package/dist/cjs/commands/GetOnPremisesInstanceCommand.js.map +0 -1
- package/dist/cjs/commands/ListApplicationRevisionsCommand.js.map +0 -1
- package/dist/cjs/commands/ListApplicationsCommand.js.map +0 -1
- package/dist/cjs/commands/ListDeploymentConfigsCommand.js.map +0 -1
- package/dist/cjs/commands/ListDeploymentGroupsCommand.js.map +0 -1
- package/dist/cjs/commands/ListDeploymentInstancesCommand.js.map +0 -1
- package/dist/cjs/commands/ListDeploymentTargetsCommand.js.map +0 -1
- package/dist/cjs/commands/ListDeploymentsCommand.js.map +0 -1
- package/dist/cjs/commands/ListGitHubAccountTokenNamesCommand.js.map +0 -1
- package/dist/cjs/commands/ListOnPremisesInstancesCommand.js.map +0 -1
- package/dist/cjs/commands/ListTagsForResourceCommand.js.map +0 -1
- package/dist/cjs/commands/PutLifecycleEventHookExecutionStatusCommand.js +0 -69
- package/dist/cjs/commands/PutLifecycleEventHookExecutionStatusCommand.js.map +0 -1
- package/dist/cjs/commands/RegisterApplicationRevisionCommand.js.map +0 -1
- package/dist/cjs/commands/RegisterOnPremisesInstanceCommand.js.map +0 -1
- package/dist/cjs/commands/RemoveTagsFromOnPremisesInstancesCommand.js.map +0 -1
- package/dist/cjs/commands/SkipWaitTimeForInstanceTerminationCommand.js.map +0 -1
- package/dist/cjs/commands/StopDeploymentCommand.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/UpdateApplicationCommand.js.map +0 -1
- package/dist/cjs/commands/UpdateDeploymentGroupCommand.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 -92
- package/dist/cjs/pagination/Interfaces.js.map +0 -1
- package/dist/cjs/pagination/ListApplicationRevisionsPaginator.js.map +0 -1
- package/dist/cjs/pagination/ListApplicationsPaginator.js.map +0 -1
- package/dist/cjs/pagination/ListDeploymentConfigsPaginator.js.map +0 -1
- package/dist/cjs/pagination/ListDeploymentGroupsPaginator.js.map +0 -1
- package/dist/cjs/pagination/ListDeploymentInstancesPaginator.js.map +0 -1
- package/dist/cjs/pagination/ListDeploymentsPaginator.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/cjs/waiters/waitForDeploymentSuccessful.js.map +0 -1
- package/dist/es/CodeDeploy.js.map +0 -1
- package/dist/es/CodeDeployClient.js +0 -145
- package/dist/es/CodeDeployClient.js.map +0 -1
- package/dist/es/commands/AddTagsToOnPremisesInstancesCommand.js.map +0 -1
- package/dist/es/commands/BatchGetApplicationRevisionsCommand.js.map +0 -1
- package/dist/es/commands/BatchGetApplicationsCommand.js.map +0 -1
- package/dist/es/commands/BatchGetDeploymentGroupsCommand.js.map +0 -1
- package/dist/es/commands/BatchGetDeploymentInstancesCommand.js.map +0 -1
- package/dist/es/commands/BatchGetDeploymentTargetsCommand.js +0 -92
- package/dist/es/commands/BatchGetDeploymentTargetsCommand.js.map +0 -1
- package/dist/es/commands/BatchGetDeploymentsCommand.js.map +0 -1
- package/dist/es/commands/BatchGetOnPremisesInstancesCommand.js.map +0 -1
- package/dist/es/commands/ContinueDeploymentCommand.js.map +0 -1
- package/dist/es/commands/CreateApplicationCommand.js.map +0 -1
- package/dist/es/commands/CreateDeploymentCommand.js.map +0 -1
- package/dist/es/commands/CreateDeploymentConfigCommand.js.map +0 -1
- package/dist/es/commands/CreateDeploymentGroupCommand.js.map +0 -1
- package/dist/es/commands/DeleteApplicationCommand.js.map +0 -1
- package/dist/es/commands/DeleteDeploymentConfigCommand.js.map +0 -1
- package/dist/es/commands/DeleteDeploymentGroupCommand.js.map +0 -1
- package/dist/es/commands/DeleteGitHubAccountTokenCommand.js.map +0 -1
- package/dist/es/commands/DeleteResourcesByExternalIdCommand.js.map +0 -1
- package/dist/es/commands/DeregisterOnPremisesInstanceCommand.js.map +0 -1
- package/dist/es/commands/GetApplicationCommand.js.map +0 -1
- package/dist/es/commands/GetApplicationRevisionCommand.js.map +0 -1
- package/dist/es/commands/GetDeploymentCommand.js.map +0 -1
- package/dist/es/commands/GetDeploymentConfigCommand.js.map +0 -1
- package/dist/es/commands/GetDeploymentGroupCommand.js.map +0 -1
- package/dist/es/commands/GetDeploymentInstanceCommand.js.map +0 -1
- package/dist/es/commands/GetDeploymentTargetCommand.js.map +0 -1
- package/dist/es/commands/GetOnPremisesInstanceCommand.js.map +0 -1
- package/dist/es/commands/ListApplicationRevisionsCommand.js.map +0 -1
- package/dist/es/commands/ListApplicationsCommand.js.map +0 -1
- package/dist/es/commands/ListDeploymentConfigsCommand.js.map +0 -1
- package/dist/es/commands/ListDeploymentGroupsCommand.js.map +0 -1
- package/dist/es/commands/ListDeploymentInstancesCommand.js.map +0 -1
- package/dist/es/commands/ListDeploymentTargetsCommand.js.map +0 -1
- package/dist/es/commands/ListDeploymentsCommand.js.map +0 -1
- package/dist/es/commands/ListGitHubAccountTokenNamesCommand.js.map +0 -1
- package/dist/es/commands/ListOnPremisesInstancesCommand.js.map +0 -1
- package/dist/es/commands/ListTagsForResourceCommand.js.map +0 -1
- package/dist/es/commands/PutLifecycleEventHookExecutionStatusCommand.js +0 -73
- package/dist/es/commands/PutLifecycleEventHookExecutionStatusCommand.js.map +0 -1
- package/dist/es/commands/RegisterApplicationRevisionCommand.js.map +0 -1
- package/dist/es/commands/RegisterOnPremisesInstanceCommand.js.map +0 -1
- package/dist/es/commands/RemoveTagsFromOnPremisesInstancesCommand.js.map +0 -1
- package/dist/es/commands/SkipWaitTimeForInstanceTerminationCommand.js.map +0 -1
- package/dist/es/commands/StopDeploymentCommand.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/UpdateApplicationCommand.js.map +0 -1
- package/dist/es/commands/UpdateDeploymentGroupCommand.js.map +0 -1
- package/dist/es/endpoints.js.map +0 -1
- package/dist/es/index.js +0 -59
- 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 -92
- package/dist/es/pagination/Interfaces.js +0 -2
- package/dist/es/pagination/Interfaces.js.map +0 -1
- package/dist/es/pagination/ListApplicationRevisionsPaginator.js.map +0 -1
- package/dist/es/pagination/ListApplicationsPaginator.js.map +0 -1
- package/dist/es/pagination/ListDeploymentConfigsPaginator.js.map +0 -1
- package/dist/es/pagination/ListDeploymentGroupsPaginator.js.map +0 -1
- package/dist/es/pagination/ListDeploymentInstancesPaginator.js.map +0 -1
- package/dist/es/pagination/ListDeploymentsPaginator.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/es/waiters/waitForDeploymentSuccessful.js.map +0 -1
- package/dist/types/ts3.4/commands/BatchGetApplicationsCommand.d.ts +0 -36
- package/dist/types/ts3.4/commands/BatchGetDeploymentInstancesCommand.d.ts +0 -44
- package/dist/types/ts3.4/commands/BatchGetDeploymentTargetsCommand.d.ts +0 -62
- package/dist/types/ts3.4/commands/BatchGetDeploymentsCommand.d.ts +0 -36
- package/dist/types/ts3.4/commands/BatchGetOnPremisesInstancesCommand.d.ts +0 -36
- package/dist/types/ts3.4/commands/ContinueDeploymentCommand.d.ts +0 -39
- package/dist/types/ts3.4/commands/CreateDeploymentCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/DeleteApplicationCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/DeleteDeploymentConfigCommand.d.ts +0 -39
- package/dist/types/ts3.4/commands/GetApplicationCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/GetDeploymentCommand.d.ts +0 -41
- package/dist/types/ts3.4/commands/ListApplicationsCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/ListDeploymentGroupsCommand.d.ts +0 -36
- package/dist/types/ts3.4/commands/ListDeploymentInstancesCommand.d.ts +0 -43
- package/dist/types/ts3.4/commands/ListDeploymentsCommand.d.ts +0 -36
- package/dist/types/ts3.4/commands/ListOnPremisesInstancesCommand.d.ts +0 -38
- package/dist/types/ts3.4/commands/ListTagsForResourceCommand.d.ts +0 -36
- package/dist/types/ts3.4/commands/PutLifecycleEventHookExecutionStatusCommand.d.ts +0 -43
- package/dist/types/ts3.4/commands/RegisterApplicationRevisionCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/RegisterOnPremisesInstanceCommand.d.ts +0 -39
- package/dist/types/ts3.4/commands/SkipWaitTimeForInstanceTerminationCommand.d.ts +0 -38
- package/dist/types/ts3.4/commands/StopDeploymentCommand.d.ts +0 -35
- package/dist/types/ts3.4/commands/TagResourceCommand.d.ts +0 -36
- package/dist/types/ts3.4/commands/UntagResourceCommand.d.ts +0 -37
- package/dist/types/ts3.4/commands/UpdateApplicationCommand.d.ts +0 -35
- package/dist/types/ts3.4/models/models_0.d.ts +0 -6275
- package/endpoints.ts +0 -86
- package/jest.config.js +0 -4
- package/models/models_0.ts +0 -7572
- package/pagination/Interfaces.ts +0 -7
- package/pagination/ListApplicationRevisionsPaginator.ts +0 -57
- package/pagination/ListApplicationsPaginator.ts +0 -57
- package/pagination/ListDeploymentConfigsPaginator.ts +0 -57
- package/pagination/ListDeploymentGroupsPaginator.ts +0 -57
- package/pagination/ListDeploymentInstancesPaginator.ts +0 -57
- package/pagination/ListDeploymentsPaginator.ts +0 -57
- package/protocols/Aws_json1_1.ts +0 -11358
- 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 -12
- package/tsconfig.json +0 -32
- package/waiters/waitForDeploymentSuccessful.ts +0 -62
|
@@ -1,100 +0,0 @@
|
|
|
1
|
-
import { CodeDeployClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CodeDeployClient";
|
|
2
|
-
import { GetDeploymentInput, GetDeploymentOutput } from "../models/models_0";
|
|
3
|
-
import {
|
|
4
|
-
deserializeAws_json1_1GetDeploymentCommand,
|
|
5
|
-
serializeAws_json1_1GetDeploymentCommand,
|
|
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 GetDeploymentCommandInput extends GetDeploymentInput {}
|
|
21
|
-
export interface GetDeploymentCommandOutput extends GetDeploymentOutput, __MetadataBearer {}
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* <p>Gets information about a deployment.</p>
|
|
25
|
-
* <note>
|
|
26
|
-
* <p> The <code>content</code> property of the <code>appSpecContent</code> object in
|
|
27
|
-
* the returned revision is always null. Use <code>GetApplicationRevision</code> and
|
|
28
|
-
* the <code>sha256</code> property of the returned <code>appSpecContent</code> object
|
|
29
|
-
* to get the content of the deployment’s AppSpec file. </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 { CodeDeployClient, GetDeploymentCommand } from "@aws-sdk/client-codedeploy"; // ES Modules import
|
|
35
|
-
* // const { CodeDeployClient, GetDeploymentCommand } = require("@aws-sdk/client-codedeploy"); // CommonJS import
|
|
36
|
-
* const client = new CodeDeployClient(config);
|
|
37
|
-
* const command = new GetDeploymentCommand(input);
|
|
38
|
-
* const response = await client.send(command);
|
|
39
|
-
* ```
|
|
40
|
-
*
|
|
41
|
-
* @see {@link GetDeploymentCommandInput} for command's `input` shape.
|
|
42
|
-
* @see {@link GetDeploymentCommandOutput} for command's `response` shape.
|
|
43
|
-
* @see {@link CodeDeployClientResolvedConfig | config} for command's `input` shape.
|
|
44
|
-
*
|
|
45
|
-
*/
|
|
46
|
-
export class GetDeploymentCommand extends $Command<
|
|
47
|
-
GetDeploymentCommandInput,
|
|
48
|
-
GetDeploymentCommandOutput,
|
|
49
|
-
CodeDeployClientResolvedConfig
|
|
50
|
-
> {
|
|
51
|
-
// Start section: command_properties
|
|
52
|
-
// End section: command_properties
|
|
53
|
-
|
|
54
|
-
constructor(readonly input: GetDeploymentCommandInput) {
|
|
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: CodeDeployClientResolvedConfig,
|
|
66
|
-
options?: __HttpHandlerOptions
|
|
67
|
-
): Handler<GetDeploymentCommandInput, GetDeploymentCommandOutput> {
|
|
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 = "CodeDeployClient";
|
|
74
|
-
const commandName = "GetDeploymentCommand";
|
|
75
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
76
|
-
logger,
|
|
77
|
-
clientName,
|
|
78
|
-
commandName,
|
|
79
|
-
inputFilterSensitiveLog: GetDeploymentInput.filterSensitiveLog,
|
|
80
|
-
outputFilterSensitiveLog: GetDeploymentOutput.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: GetDeploymentCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
91
|
-
return serializeAws_json1_1GetDeploymentCommand(input, context);
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<GetDeploymentCommandOutput> {
|
|
95
|
-
return deserializeAws_json1_1GetDeploymentCommand(output, context);
|
|
96
|
-
}
|
|
97
|
-
|
|
98
|
-
// Start section: command_body_extra
|
|
99
|
-
// End section: command_body_extra
|
|
100
|
-
}
|
|
@@ -1,94 +0,0 @@
|
|
|
1
|
-
import { CodeDeployClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CodeDeployClient";
|
|
2
|
-
import { GetDeploymentConfigInput, GetDeploymentConfigOutput } from "../models/models_0";
|
|
3
|
-
import {
|
|
4
|
-
deserializeAws_json1_1GetDeploymentConfigCommand,
|
|
5
|
-
serializeAws_json1_1GetDeploymentConfigCommand,
|
|
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 GetDeploymentConfigCommandInput extends GetDeploymentConfigInput {}
|
|
21
|
-
export interface GetDeploymentConfigCommandOutput extends GetDeploymentConfigOutput, __MetadataBearer {}
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* <p>Gets information about a deployment configuration.</p>
|
|
25
|
-
* @example
|
|
26
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
27
|
-
* ```javascript
|
|
28
|
-
* import { CodeDeployClient, GetDeploymentConfigCommand } from "@aws-sdk/client-codedeploy"; // ES Modules import
|
|
29
|
-
* // const { CodeDeployClient, GetDeploymentConfigCommand } = require("@aws-sdk/client-codedeploy"); // CommonJS import
|
|
30
|
-
* const client = new CodeDeployClient(config);
|
|
31
|
-
* const command = new GetDeploymentConfigCommand(input);
|
|
32
|
-
* const response = await client.send(command);
|
|
33
|
-
* ```
|
|
34
|
-
*
|
|
35
|
-
* @see {@link GetDeploymentConfigCommandInput} for command's `input` shape.
|
|
36
|
-
* @see {@link GetDeploymentConfigCommandOutput} for command's `response` shape.
|
|
37
|
-
* @see {@link CodeDeployClientResolvedConfig | config} for command's `input` shape.
|
|
38
|
-
*
|
|
39
|
-
*/
|
|
40
|
-
export class GetDeploymentConfigCommand extends $Command<
|
|
41
|
-
GetDeploymentConfigCommandInput,
|
|
42
|
-
GetDeploymentConfigCommandOutput,
|
|
43
|
-
CodeDeployClientResolvedConfig
|
|
44
|
-
> {
|
|
45
|
-
// Start section: command_properties
|
|
46
|
-
// End section: command_properties
|
|
47
|
-
|
|
48
|
-
constructor(readonly input: GetDeploymentConfigCommandInput) {
|
|
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: CodeDeployClientResolvedConfig,
|
|
60
|
-
options?: __HttpHandlerOptions
|
|
61
|
-
): Handler<GetDeploymentConfigCommandInput, GetDeploymentConfigCommandOutput> {
|
|
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 = "CodeDeployClient";
|
|
68
|
-
const commandName = "GetDeploymentConfigCommand";
|
|
69
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
70
|
-
logger,
|
|
71
|
-
clientName,
|
|
72
|
-
commandName,
|
|
73
|
-
inputFilterSensitiveLog: GetDeploymentConfigInput.filterSensitiveLog,
|
|
74
|
-
outputFilterSensitiveLog: GetDeploymentConfigOutput.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: GetDeploymentConfigCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
85
|
-
return serializeAws_json1_1GetDeploymentConfigCommand(input, context);
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<GetDeploymentConfigCommandOutput> {
|
|
89
|
-
return deserializeAws_json1_1GetDeploymentConfigCommand(output, context);
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
// Start section: command_body_extra
|
|
93
|
-
// End section: command_body_extra
|
|
94
|
-
}
|
|
@@ -1,94 +0,0 @@
|
|
|
1
|
-
import { CodeDeployClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CodeDeployClient";
|
|
2
|
-
import { GetDeploymentGroupInput, GetDeploymentGroupOutput } from "../models/models_0";
|
|
3
|
-
import {
|
|
4
|
-
deserializeAws_json1_1GetDeploymentGroupCommand,
|
|
5
|
-
serializeAws_json1_1GetDeploymentGroupCommand,
|
|
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 GetDeploymentGroupCommandInput extends GetDeploymentGroupInput {}
|
|
21
|
-
export interface GetDeploymentGroupCommandOutput extends GetDeploymentGroupOutput, __MetadataBearer {}
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* <p>Gets information about a deployment group.</p>
|
|
25
|
-
* @example
|
|
26
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
27
|
-
* ```javascript
|
|
28
|
-
* import { CodeDeployClient, GetDeploymentGroupCommand } from "@aws-sdk/client-codedeploy"; // ES Modules import
|
|
29
|
-
* // const { CodeDeployClient, GetDeploymentGroupCommand } = require("@aws-sdk/client-codedeploy"); // CommonJS import
|
|
30
|
-
* const client = new CodeDeployClient(config);
|
|
31
|
-
* const command = new GetDeploymentGroupCommand(input);
|
|
32
|
-
* const response = await client.send(command);
|
|
33
|
-
* ```
|
|
34
|
-
*
|
|
35
|
-
* @see {@link GetDeploymentGroupCommandInput} for command's `input` shape.
|
|
36
|
-
* @see {@link GetDeploymentGroupCommandOutput} for command's `response` shape.
|
|
37
|
-
* @see {@link CodeDeployClientResolvedConfig | config} for command's `input` shape.
|
|
38
|
-
*
|
|
39
|
-
*/
|
|
40
|
-
export class GetDeploymentGroupCommand extends $Command<
|
|
41
|
-
GetDeploymentGroupCommandInput,
|
|
42
|
-
GetDeploymentGroupCommandOutput,
|
|
43
|
-
CodeDeployClientResolvedConfig
|
|
44
|
-
> {
|
|
45
|
-
// Start section: command_properties
|
|
46
|
-
// End section: command_properties
|
|
47
|
-
|
|
48
|
-
constructor(readonly input: GetDeploymentGroupCommandInput) {
|
|
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: CodeDeployClientResolvedConfig,
|
|
60
|
-
options?: __HttpHandlerOptions
|
|
61
|
-
): Handler<GetDeploymentGroupCommandInput, GetDeploymentGroupCommandOutput> {
|
|
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 = "CodeDeployClient";
|
|
68
|
-
const commandName = "GetDeploymentGroupCommand";
|
|
69
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
70
|
-
logger,
|
|
71
|
-
clientName,
|
|
72
|
-
commandName,
|
|
73
|
-
inputFilterSensitiveLog: GetDeploymentGroupInput.filterSensitiveLog,
|
|
74
|
-
outputFilterSensitiveLog: GetDeploymentGroupOutput.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: GetDeploymentGroupCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
85
|
-
return serializeAws_json1_1GetDeploymentGroupCommand(input, context);
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<GetDeploymentGroupCommandOutput> {
|
|
89
|
-
return deserializeAws_json1_1GetDeploymentGroupCommand(output, context);
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
// Start section: command_body_extra
|
|
93
|
-
// End section: command_body_extra
|
|
94
|
-
}
|
|
@@ -1,96 +0,0 @@
|
|
|
1
|
-
import { CodeDeployClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CodeDeployClient";
|
|
2
|
-
import { GetDeploymentInstanceInput, GetDeploymentInstanceOutput } from "../models/models_0";
|
|
3
|
-
import {
|
|
4
|
-
deserializeAws_json1_1GetDeploymentInstanceCommand,
|
|
5
|
-
serializeAws_json1_1GetDeploymentInstanceCommand,
|
|
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 GetDeploymentInstanceCommandInput extends GetDeploymentInstanceInput {}
|
|
21
|
-
export interface GetDeploymentInstanceCommandOutput extends GetDeploymentInstanceOutput, __MetadataBearer {}
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* @deprecated
|
|
25
|
-
*
|
|
26
|
-
* <p>Gets information about an instance as part of a deployment.</p>
|
|
27
|
-
* @example
|
|
28
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
29
|
-
* ```javascript
|
|
30
|
-
* import { CodeDeployClient, GetDeploymentInstanceCommand } from "@aws-sdk/client-codedeploy"; // ES Modules import
|
|
31
|
-
* // const { CodeDeployClient, GetDeploymentInstanceCommand } = require("@aws-sdk/client-codedeploy"); // CommonJS import
|
|
32
|
-
* const client = new CodeDeployClient(config);
|
|
33
|
-
* const command = new GetDeploymentInstanceCommand(input);
|
|
34
|
-
* const response = await client.send(command);
|
|
35
|
-
* ```
|
|
36
|
-
*
|
|
37
|
-
* @see {@link GetDeploymentInstanceCommandInput} for command's `input` shape.
|
|
38
|
-
* @see {@link GetDeploymentInstanceCommandOutput} for command's `response` shape.
|
|
39
|
-
* @see {@link CodeDeployClientResolvedConfig | config} for command's `input` shape.
|
|
40
|
-
*
|
|
41
|
-
*/
|
|
42
|
-
export class GetDeploymentInstanceCommand extends $Command<
|
|
43
|
-
GetDeploymentInstanceCommandInput,
|
|
44
|
-
GetDeploymentInstanceCommandOutput,
|
|
45
|
-
CodeDeployClientResolvedConfig
|
|
46
|
-
> {
|
|
47
|
-
// Start section: command_properties
|
|
48
|
-
// End section: command_properties
|
|
49
|
-
|
|
50
|
-
constructor(readonly input: GetDeploymentInstanceCommandInput) {
|
|
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: CodeDeployClientResolvedConfig,
|
|
62
|
-
options?: __HttpHandlerOptions
|
|
63
|
-
): Handler<GetDeploymentInstanceCommandInput, GetDeploymentInstanceCommandOutput> {
|
|
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 = "CodeDeployClient";
|
|
70
|
-
const commandName = "GetDeploymentInstanceCommand";
|
|
71
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
72
|
-
logger,
|
|
73
|
-
clientName,
|
|
74
|
-
commandName,
|
|
75
|
-
inputFilterSensitiveLog: GetDeploymentInstanceInput.filterSensitiveLog,
|
|
76
|
-
outputFilterSensitiveLog: GetDeploymentInstanceOutput.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: GetDeploymentInstanceCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
87
|
-
return serializeAws_json1_1GetDeploymentInstanceCommand(input, context);
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<GetDeploymentInstanceCommandOutput> {
|
|
91
|
-
return deserializeAws_json1_1GetDeploymentInstanceCommand(output, context);
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
// Start section: command_body_extra
|
|
95
|
-
// End section: command_body_extra
|
|
96
|
-
}
|
|
@@ -1,94 +0,0 @@
|
|
|
1
|
-
import { CodeDeployClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CodeDeployClient";
|
|
2
|
-
import { GetDeploymentTargetInput, GetDeploymentTargetOutput } from "../models/models_0";
|
|
3
|
-
import {
|
|
4
|
-
deserializeAws_json1_1GetDeploymentTargetCommand,
|
|
5
|
-
serializeAws_json1_1GetDeploymentTargetCommand,
|
|
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 GetDeploymentTargetCommandInput extends GetDeploymentTargetInput {}
|
|
21
|
-
export interface GetDeploymentTargetCommandOutput extends GetDeploymentTargetOutput, __MetadataBearer {}
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* <p> Returns information about a deployment target. </p>
|
|
25
|
-
* @example
|
|
26
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
27
|
-
* ```javascript
|
|
28
|
-
* import { CodeDeployClient, GetDeploymentTargetCommand } from "@aws-sdk/client-codedeploy"; // ES Modules import
|
|
29
|
-
* // const { CodeDeployClient, GetDeploymentTargetCommand } = require("@aws-sdk/client-codedeploy"); // CommonJS import
|
|
30
|
-
* const client = new CodeDeployClient(config);
|
|
31
|
-
* const command = new GetDeploymentTargetCommand(input);
|
|
32
|
-
* const response = await client.send(command);
|
|
33
|
-
* ```
|
|
34
|
-
*
|
|
35
|
-
* @see {@link GetDeploymentTargetCommandInput} for command's `input` shape.
|
|
36
|
-
* @see {@link GetDeploymentTargetCommandOutput} for command's `response` shape.
|
|
37
|
-
* @see {@link CodeDeployClientResolvedConfig | config} for command's `input` shape.
|
|
38
|
-
*
|
|
39
|
-
*/
|
|
40
|
-
export class GetDeploymentTargetCommand extends $Command<
|
|
41
|
-
GetDeploymentTargetCommandInput,
|
|
42
|
-
GetDeploymentTargetCommandOutput,
|
|
43
|
-
CodeDeployClientResolvedConfig
|
|
44
|
-
> {
|
|
45
|
-
// Start section: command_properties
|
|
46
|
-
// End section: command_properties
|
|
47
|
-
|
|
48
|
-
constructor(readonly input: GetDeploymentTargetCommandInput) {
|
|
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: CodeDeployClientResolvedConfig,
|
|
60
|
-
options?: __HttpHandlerOptions
|
|
61
|
-
): Handler<GetDeploymentTargetCommandInput, GetDeploymentTargetCommandOutput> {
|
|
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 = "CodeDeployClient";
|
|
68
|
-
const commandName = "GetDeploymentTargetCommand";
|
|
69
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
70
|
-
logger,
|
|
71
|
-
clientName,
|
|
72
|
-
commandName,
|
|
73
|
-
inputFilterSensitiveLog: GetDeploymentTargetInput.filterSensitiveLog,
|
|
74
|
-
outputFilterSensitiveLog: GetDeploymentTargetOutput.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: GetDeploymentTargetCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
85
|
-
return serializeAws_json1_1GetDeploymentTargetCommand(input, context);
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<GetDeploymentTargetCommandOutput> {
|
|
89
|
-
return deserializeAws_json1_1GetDeploymentTargetCommand(output, context);
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
// Start section: command_body_extra
|
|
93
|
-
// End section: command_body_extra
|
|
94
|
-
}
|
|
@@ -1,94 +0,0 @@
|
|
|
1
|
-
import { CodeDeployClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CodeDeployClient";
|
|
2
|
-
import { GetOnPremisesInstanceInput, GetOnPremisesInstanceOutput } from "../models/models_0";
|
|
3
|
-
import {
|
|
4
|
-
deserializeAws_json1_1GetOnPremisesInstanceCommand,
|
|
5
|
-
serializeAws_json1_1GetOnPremisesInstanceCommand,
|
|
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 GetOnPremisesInstanceCommandInput extends GetOnPremisesInstanceInput {}
|
|
21
|
-
export interface GetOnPremisesInstanceCommandOutput extends GetOnPremisesInstanceOutput, __MetadataBearer {}
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* <p> Gets information about an on-premises instance. </p>
|
|
25
|
-
* @example
|
|
26
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
27
|
-
* ```javascript
|
|
28
|
-
* import { CodeDeployClient, GetOnPremisesInstanceCommand } from "@aws-sdk/client-codedeploy"; // ES Modules import
|
|
29
|
-
* // const { CodeDeployClient, GetOnPremisesInstanceCommand } = require("@aws-sdk/client-codedeploy"); // CommonJS import
|
|
30
|
-
* const client = new CodeDeployClient(config);
|
|
31
|
-
* const command = new GetOnPremisesInstanceCommand(input);
|
|
32
|
-
* const response = await client.send(command);
|
|
33
|
-
* ```
|
|
34
|
-
*
|
|
35
|
-
* @see {@link GetOnPremisesInstanceCommandInput} for command's `input` shape.
|
|
36
|
-
* @see {@link GetOnPremisesInstanceCommandOutput} for command's `response` shape.
|
|
37
|
-
* @see {@link CodeDeployClientResolvedConfig | config} for command's `input` shape.
|
|
38
|
-
*
|
|
39
|
-
*/
|
|
40
|
-
export class GetOnPremisesInstanceCommand extends $Command<
|
|
41
|
-
GetOnPremisesInstanceCommandInput,
|
|
42
|
-
GetOnPremisesInstanceCommandOutput,
|
|
43
|
-
CodeDeployClientResolvedConfig
|
|
44
|
-
> {
|
|
45
|
-
// Start section: command_properties
|
|
46
|
-
// End section: command_properties
|
|
47
|
-
|
|
48
|
-
constructor(readonly input: GetOnPremisesInstanceCommandInput) {
|
|
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: CodeDeployClientResolvedConfig,
|
|
60
|
-
options?: __HttpHandlerOptions
|
|
61
|
-
): Handler<GetOnPremisesInstanceCommandInput, GetOnPremisesInstanceCommandOutput> {
|
|
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 = "CodeDeployClient";
|
|
68
|
-
const commandName = "GetOnPremisesInstanceCommand";
|
|
69
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
70
|
-
logger,
|
|
71
|
-
clientName,
|
|
72
|
-
commandName,
|
|
73
|
-
inputFilterSensitiveLog: GetOnPremisesInstanceInput.filterSensitiveLog,
|
|
74
|
-
outputFilterSensitiveLog: GetOnPremisesInstanceOutput.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: GetOnPremisesInstanceCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
85
|
-
return serializeAws_json1_1GetOnPremisesInstanceCommand(input, context);
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<GetOnPremisesInstanceCommandOutput> {
|
|
89
|
-
return deserializeAws_json1_1GetOnPremisesInstanceCommand(output, context);
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
// Start section: command_body_extra
|
|
93
|
-
// End section: command_body_extra
|
|
94
|
-
}
|
|
@@ -1,94 +0,0 @@
|
|
|
1
|
-
import { CodeDeployClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CodeDeployClient";
|
|
2
|
-
import { ListApplicationRevisionsInput, ListApplicationRevisionsOutput } from "../models/models_0";
|
|
3
|
-
import {
|
|
4
|
-
deserializeAws_json1_1ListApplicationRevisionsCommand,
|
|
5
|
-
serializeAws_json1_1ListApplicationRevisionsCommand,
|
|
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 ListApplicationRevisionsCommandInput extends ListApplicationRevisionsInput {}
|
|
21
|
-
export interface ListApplicationRevisionsCommandOutput extends ListApplicationRevisionsOutput, __MetadataBearer {}
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* <p>Lists information about revisions for an application.</p>
|
|
25
|
-
* @example
|
|
26
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
27
|
-
* ```javascript
|
|
28
|
-
* import { CodeDeployClient, ListApplicationRevisionsCommand } from "@aws-sdk/client-codedeploy"; // ES Modules import
|
|
29
|
-
* // const { CodeDeployClient, ListApplicationRevisionsCommand } = require("@aws-sdk/client-codedeploy"); // CommonJS import
|
|
30
|
-
* const client = new CodeDeployClient(config);
|
|
31
|
-
* const command = new ListApplicationRevisionsCommand(input);
|
|
32
|
-
* const response = await client.send(command);
|
|
33
|
-
* ```
|
|
34
|
-
*
|
|
35
|
-
* @see {@link ListApplicationRevisionsCommandInput} for command's `input` shape.
|
|
36
|
-
* @see {@link ListApplicationRevisionsCommandOutput} for command's `response` shape.
|
|
37
|
-
* @see {@link CodeDeployClientResolvedConfig | config} for command's `input` shape.
|
|
38
|
-
*
|
|
39
|
-
*/
|
|
40
|
-
export class ListApplicationRevisionsCommand extends $Command<
|
|
41
|
-
ListApplicationRevisionsCommandInput,
|
|
42
|
-
ListApplicationRevisionsCommandOutput,
|
|
43
|
-
CodeDeployClientResolvedConfig
|
|
44
|
-
> {
|
|
45
|
-
// Start section: command_properties
|
|
46
|
-
// End section: command_properties
|
|
47
|
-
|
|
48
|
-
constructor(readonly input: ListApplicationRevisionsCommandInput) {
|
|
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: CodeDeployClientResolvedConfig,
|
|
60
|
-
options?: __HttpHandlerOptions
|
|
61
|
-
): Handler<ListApplicationRevisionsCommandInput, ListApplicationRevisionsCommandOutput> {
|
|
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 = "CodeDeployClient";
|
|
68
|
-
const commandName = "ListApplicationRevisionsCommand";
|
|
69
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
70
|
-
logger,
|
|
71
|
-
clientName,
|
|
72
|
-
commandName,
|
|
73
|
-
inputFilterSensitiveLog: ListApplicationRevisionsInput.filterSensitiveLog,
|
|
74
|
-
outputFilterSensitiveLog: ListApplicationRevisionsOutput.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: ListApplicationRevisionsCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
85
|
-
return serializeAws_json1_1ListApplicationRevisionsCommand(input, context);
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<ListApplicationRevisionsCommandOutput> {
|
|
89
|
-
return deserializeAws_json1_1ListApplicationRevisionsCommand(output, context);
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
// Start section: command_body_extra
|
|
93
|
-
// End section: command_body_extra
|
|
94
|
-
}
|