@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
package/CodeDeploy.ts
DELETED
|
@@ -1,1923 +0,0 @@
|
|
|
1
|
-
import { CodeDeployClient } from "./CodeDeployClient";
|
|
2
|
-
import {
|
|
3
|
-
AddTagsToOnPremisesInstancesCommand,
|
|
4
|
-
AddTagsToOnPremisesInstancesCommandInput,
|
|
5
|
-
AddTagsToOnPremisesInstancesCommandOutput,
|
|
6
|
-
} from "./commands/AddTagsToOnPremisesInstancesCommand";
|
|
7
|
-
import {
|
|
8
|
-
BatchGetApplicationRevisionsCommand,
|
|
9
|
-
BatchGetApplicationRevisionsCommandInput,
|
|
10
|
-
BatchGetApplicationRevisionsCommandOutput,
|
|
11
|
-
} from "./commands/BatchGetApplicationRevisionsCommand";
|
|
12
|
-
import {
|
|
13
|
-
BatchGetApplicationsCommand,
|
|
14
|
-
BatchGetApplicationsCommandInput,
|
|
15
|
-
BatchGetApplicationsCommandOutput,
|
|
16
|
-
} from "./commands/BatchGetApplicationsCommand";
|
|
17
|
-
import {
|
|
18
|
-
BatchGetDeploymentGroupsCommand,
|
|
19
|
-
BatchGetDeploymentGroupsCommandInput,
|
|
20
|
-
BatchGetDeploymentGroupsCommandOutput,
|
|
21
|
-
} from "./commands/BatchGetDeploymentGroupsCommand";
|
|
22
|
-
import {
|
|
23
|
-
BatchGetDeploymentInstancesCommand,
|
|
24
|
-
BatchGetDeploymentInstancesCommandInput,
|
|
25
|
-
BatchGetDeploymentInstancesCommandOutput,
|
|
26
|
-
} from "./commands/BatchGetDeploymentInstancesCommand";
|
|
27
|
-
import {
|
|
28
|
-
BatchGetDeploymentTargetsCommand,
|
|
29
|
-
BatchGetDeploymentTargetsCommandInput,
|
|
30
|
-
BatchGetDeploymentTargetsCommandOutput,
|
|
31
|
-
} from "./commands/BatchGetDeploymentTargetsCommand";
|
|
32
|
-
import {
|
|
33
|
-
BatchGetDeploymentsCommand,
|
|
34
|
-
BatchGetDeploymentsCommandInput,
|
|
35
|
-
BatchGetDeploymentsCommandOutput,
|
|
36
|
-
} from "./commands/BatchGetDeploymentsCommand";
|
|
37
|
-
import {
|
|
38
|
-
BatchGetOnPremisesInstancesCommand,
|
|
39
|
-
BatchGetOnPremisesInstancesCommandInput,
|
|
40
|
-
BatchGetOnPremisesInstancesCommandOutput,
|
|
41
|
-
} from "./commands/BatchGetOnPremisesInstancesCommand";
|
|
42
|
-
import {
|
|
43
|
-
ContinueDeploymentCommand,
|
|
44
|
-
ContinueDeploymentCommandInput,
|
|
45
|
-
ContinueDeploymentCommandOutput,
|
|
46
|
-
} from "./commands/ContinueDeploymentCommand";
|
|
47
|
-
import {
|
|
48
|
-
CreateApplicationCommand,
|
|
49
|
-
CreateApplicationCommandInput,
|
|
50
|
-
CreateApplicationCommandOutput,
|
|
51
|
-
} from "./commands/CreateApplicationCommand";
|
|
52
|
-
import {
|
|
53
|
-
CreateDeploymentCommand,
|
|
54
|
-
CreateDeploymentCommandInput,
|
|
55
|
-
CreateDeploymentCommandOutput,
|
|
56
|
-
} from "./commands/CreateDeploymentCommand";
|
|
57
|
-
import {
|
|
58
|
-
CreateDeploymentConfigCommand,
|
|
59
|
-
CreateDeploymentConfigCommandInput,
|
|
60
|
-
CreateDeploymentConfigCommandOutput,
|
|
61
|
-
} from "./commands/CreateDeploymentConfigCommand";
|
|
62
|
-
import {
|
|
63
|
-
CreateDeploymentGroupCommand,
|
|
64
|
-
CreateDeploymentGroupCommandInput,
|
|
65
|
-
CreateDeploymentGroupCommandOutput,
|
|
66
|
-
} from "./commands/CreateDeploymentGroupCommand";
|
|
67
|
-
import {
|
|
68
|
-
DeleteApplicationCommand,
|
|
69
|
-
DeleteApplicationCommandInput,
|
|
70
|
-
DeleteApplicationCommandOutput,
|
|
71
|
-
} from "./commands/DeleteApplicationCommand";
|
|
72
|
-
import {
|
|
73
|
-
DeleteDeploymentConfigCommand,
|
|
74
|
-
DeleteDeploymentConfigCommandInput,
|
|
75
|
-
DeleteDeploymentConfigCommandOutput,
|
|
76
|
-
} from "./commands/DeleteDeploymentConfigCommand";
|
|
77
|
-
import {
|
|
78
|
-
DeleteDeploymentGroupCommand,
|
|
79
|
-
DeleteDeploymentGroupCommandInput,
|
|
80
|
-
DeleteDeploymentGroupCommandOutput,
|
|
81
|
-
} from "./commands/DeleteDeploymentGroupCommand";
|
|
82
|
-
import {
|
|
83
|
-
DeleteGitHubAccountTokenCommand,
|
|
84
|
-
DeleteGitHubAccountTokenCommandInput,
|
|
85
|
-
DeleteGitHubAccountTokenCommandOutput,
|
|
86
|
-
} from "./commands/DeleteGitHubAccountTokenCommand";
|
|
87
|
-
import {
|
|
88
|
-
DeleteResourcesByExternalIdCommand,
|
|
89
|
-
DeleteResourcesByExternalIdCommandInput,
|
|
90
|
-
DeleteResourcesByExternalIdCommandOutput,
|
|
91
|
-
} from "./commands/DeleteResourcesByExternalIdCommand";
|
|
92
|
-
import {
|
|
93
|
-
DeregisterOnPremisesInstanceCommand,
|
|
94
|
-
DeregisterOnPremisesInstanceCommandInput,
|
|
95
|
-
DeregisterOnPremisesInstanceCommandOutput,
|
|
96
|
-
} from "./commands/DeregisterOnPremisesInstanceCommand";
|
|
97
|
-
import {
|
|
98
|
-
GetApplicationCommand,
|
|
99
|
-
GetApplicationCommandInput,
|
|
100
|
-
GetApplicationCommandOutput,
|
|
101
|
-
} from "./commands/GetApplicationCommand";
|
|
102
|
-
import {
|
|
103
|
-
GetApplicationRevisionCommand,
|
|
104
|
-
GetApplicationRevisionCommandInput,
|
|
105
|
-
GetApplicationRevisionCommandOutput,
|
|
106
|
-
} from "./commands/GetApplicationRevisionCommand";
|
|
107
|
-
import {
|
|
108
|
-
GetDeploymentCommand,
|
|
109
|
-
GetDeploymentCommandInput,
|
|
110
|
-
GetDeploymentCommandOutput,
|
|
111
|
-
} from "./commands/GetDeploymentCommand";
|
|
112
|
-
import {
|
|
113
|
-
GetDeploymentConfigCommand,
|
|
114
|
-
GetDeploymentConfigCommandInput,
|
|
115
|
-
GetDeploymentConfigCommandOutput,
|
|
116
|
-
} from "./commands/GetDeploymentConfigCommand";
|
|
117
|
-
import {
|
|
118
|
-
GetDeploymentGroupCommand,
|
|
119
|
-
GetDeploymentGroupCommandInput,
|
|
120
|
-
GetDeploymentGroupCommandOutput,
|
|
121
|
-
} from "./commands/GetDeploymentGroupCommand";
|
|
122
|
-
import {
|
|
123
|
-
GetDeploymentInstanceCommand,
|
|
124
|
-
GetDeploymentInstanceCommandInput,
|
|
125
|
-
GetDeploymentInstanceCommandOutput,
|
|
126
|
-
} from "./commands/GetDeploymentInstanceCommand";
|
|
127
|
-
import {
|
|
128
|
-
GetDeploymentTargetCommand,
|
|
129
|
-
GetDeploymentTargetCommandInput,
|
|
130
|
-
GetDeploymentTargetCommandOutput,
|
|
131
|
-
} from "./commands/GetDeploymentTargetCommand";
|
|
132
|
-
import {
|
|
133
|
-
GetOnPremisesInstanceCommand,
|
|
134
|
-
GetOnPremisesInstanceCommandInput,
|
|
135
|
-
GetOnPremisesInstanceCommandOutput,
|
|
136
|
-
} from "./commands/GetOnPremisesInstanceCommand";
|
|
137
|
-
import {
|
|
138
|
-
ListApplicationRevisionsCommand,
|
|
139
|
-
ListApplicationRevisionsCommandInput,
|
|
140
|
-
ListApplicationRevisionsCommandOutput,
|
|
141
|
-
} from "./commands/ListApplicationRevisionsCommand";
|
|
142
|
-
import {
|
|
143
|
-
ListApplicationsCommand,
|
|
144
|
-
ListApplicationsCommandInput,
|
|
145
|
-
ListApplicationsCommandOutput,
|
|
146
|
-
} from "./commands/ListApplicationsCommand";
|
|
147
|
-
import {
|
|
148
|
-
ListDeploymentConfigsCommand,
|
|
149
|
-
ListDeploymentConfigsCommandInput,
|
|
150
|
-
ListDeploymentConfigsCommandOutput,
|
|
151
|
-
} from "./commands/ListDeploymentConfigsCommand";
|
|
152
|
-
import {
|
|
153
|
-
ListDeploymentGroupsCommand,
|
|
154
|
-
ListDeploymentGroupsCommandInput,
|
|
155
|
-
ListDeploymentGroupsCommandOutput,
|
|
156
|
-
} from "./commands/ListDeploymentGroupsCommand";
|
|
157
|
-
import {
|
|
158
|
-
ListDeploymentInstancesCommand,
|
|
159
|
-
ListDeploymentInstancesCommandInput,
|
|
160
|
-
ListDeploymentInstancesCommandOutput,
|
|
161
|
-
} from "./commands/ListDeploymentInstancesCommand";
|
|
162
|
-
import {
|
|
163
|
-
ListDeploymentTargetsCommand,
|
|
164
|
-
ListDeploymentTargetsCommandInput,
|
|
165
|
-
ListDeploymentTargetsCommandOutput,
|
|
166
|
-
} from "./commands/ListDeploymentTargetsCommand";
|
|
167
|
-
import {
|
|
168
|
-
ListDeploymentsCommand,
|
|
169
|
-
ListDeploymentsCommandInput,
|
|
170
|
-
ListDeploymentsCommandOutput,
|
|
171
|
-
} from "./commands/ListDeploymentsCommand";
|
|
172
|
-
import {
|
|
173
|
-
ListGitHubAccountTokenNamesCommand,
|
|
174
|
-
ListGitHubAccountTokenNamesCommandInput,
|
|
175
|
-
ListGitHubAccountTokenNamesCommandOutput,
|
|
176
|
-
} from "./commands/ListGitHubAccountTokenNamesCommand";
|
|
177
|
-
import {
|
|
178
|
-
ListOnPremisesInstancesCommand,
|
|
179
|
-
ListOnPremisesInstancesCommandInput,
|
|
180
|
-
ListOnPremisesInstancesCommandOutput,
|
|
181
|
-
} from "./commands/ListOnPremisesInstancesCommand";
|
|
182
|
-
import {
|
|
183
|
-
ListTagsForResourceCommand,
|
|
184
|
-
ListTagsForResourceCommandInput,
|
|
185
|
-
ListTagsForResourceCommandOutput,
|
|
186
|
-
} from "./commands/ListTagsForResourceCommand";
|
|
187
|
-
import {
|
|
188
|
-
PutLifecycleEventHookExecutionStatusCommand,
|
|
189
|
-
PutLifecycleEventHookExecutionStatusCommandInput,
|
|
190
|
-
PutLifecycleEventHookExecutionStatusCommandOutput,
|
|
191
|
-
} from "./commands/PutLifecycleEventHookExecutionStatusCommand";
|
|
192
|
-
import {
|
|
193
|
-
RegisterApplicationRevisionCommand,
|
|
194
|
-
RegisterApplicationRevisionCommandInput,
|
|
195
|
-
RegisterApplicationRevisionCommandOutput,
|
|
196
|
-
} from "./commands/RegisterApplicationRevisionCommand";
|
|
197
|
-
import {
|
|
198
|
-
RegisterOnPremisesInstanceCommand,
|
|
199
|
-
RegisterOnPremisesInstanceCommandInput,
|
|
200
|
-
RegisterOnPremisesInstanceCommandOutput,
|
|
201
|
-
} from "./commands/RegisterOnPremisesInstanceCommand";
|
|
202
|
-
import {
|
|
203
|
-
RemoveTagsFromOnPremisesInstancesCommand,
|
|
204
|
-
RemoveTagsFromOnPremisesInstancesCommandInput,
|
|
205
|
-
RemoveTagsFromOnPremisesInstancesCommandOutput,
|
|
206
|
-
} from "./commands/RemoveTagsFromOnPremisesInstancesCommand";
|
|
207
|
-
import {
|
|
208
|
-
SkipWaitTimeForInstanceTerminationCommand,
|
|
209
|
-
SkipWaitTimeForInstanceTerminationCommandInput,
|
|
210
|
-
SkipWaitTimeForInstanceTerminationCommandOutput,
|
|
211
|
-
} from "./commands/SkipWaitTimeForInstanceTerminationCommand";
|
|
212
|
-
import {
|
|
213
|
-
StopDeploymentCommand,
|
|
214
|
-
StopDeploymentCommandInput,
|
|
215
|
-
StopDeploymentCommandOutput,
|
|
216
|
-
} from "./commands/StopDeploymentCommand";
|
|
217
|
-
import { TagResourceCommand, TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
218
|
-
import {
|
|
219
|
-
UntagResourceCommand,
|
|
220
|
-
UntagResourceCommandInput,
|
|
221
|
-
UntagResourceCommandOutput,
|
|
222
|
-
} from "./commands/UntagResourceCommand";
|
|
223
|
-
import {
|
|
224
|
-
UpdateApplicationCommand,
|
|
225
|
-
UpdateApplicationCommandInput,
|
|
226
|
-
UpdateApplicationCommandOutput,
|
|
227
|
-
} from "./commands/UpdateApplicationCommand";
|
|
228
|
-
import {
|
|
229
|
-
UpdateDeploymentGroupCommand,
|
|
230
|
-
UpdateDeploymentGroupCommandInput,
|
|
231
|
-
UpdateDeploymentGroupCommandOutput,
|
|
232
|
-
} from "./commands/UpdateDeploymentGroupCommand";
|
|
233
|
-
import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types";
|
|
234
|
-
|
|
235
|
-
/**
|
|
236
|
-
* <fullname>AWS CodeDeploy</fullname>
|
|
237
|
-
* <p>AWS CodeDeploy is a deployment service that automates application deployments to
|
|
238
|
-
* Amazon EC2 instances, on-premises instances running in your own facility, serverless AWS
|
|
239
|
-
* Lambda functions, or applications in an Amazon ECS service.</p>
|
|
240
|
-
* <p>You can deploy a nearly unlimited variety of application content, such as an updated
|
|
241
|
-
* Lambda function, updated applications in an Amazon ECS service, code, web and
|
|
242
|
-
* configuration files, executables, packages, scripts, multimedia files, and so on. AWS
|
|
243
|
-
* CodeDeploy can deploy application content stored in Amazon S3 buckets, GitHub
|
|
244
|
-
* repositories, or Bitbucket repositories. You do not need to make changes to your
|
|
245
|
-
* existing code before you can use AWS CodeDeploy.</p>
|
|
246
|
-
* <p>AWS CodeDeploy makes it easier for you to rapidly release new features, helps you
|
|
247
|
-
* avoid downtime during application deployment, and handles the complexity of updating
|
|
248
|
-
* your applications, without many of the risks associated with error-prone manual
|
|
249
|
-
* deployments.</p>
|
|
250
|
-
* <p>
|
|
251
|
-
* <b>AWS CodeDeploy Components</b>
|
|
252
|
-
* </p>
|
|
253
|
-
* <p>Use the information in this guide to help you work with the following AWS CodeDeploy
|
|
254
|
-
* components:</p>
|
|
255
|
-
* <ul>
|
|
256
|
-
* <li>
|
|
257
|
-
* <p>
|
|
258
|
-
* <b>Application</b>: A name that uniquely identifies
|
|
259
|
-
* the application you want to deploy. AWS CodeDeploy uses this name, which
|
|
260
|
-
* functions as a container, to ensure the correct combination of revision,
|
|
261
|
-
* deployment configuration, and deployment group are referenced during a
|
|
262
|
-
* deployment.</p>
|
|
263
|
-
* </li>
|
|
264
|
-
* <li>
|
|
265
|
-
* <p>
|
|
266
|
-
* <b>Deployment group</b>: A set of individual
|
|
267
|
-
* instances, CodeDeploy Lambda deployment configuration settings, or an Amazon ECS
|
|
268
|
-
* service and network details. A Lambda deployment group specifies how to route
|
|
269
|
-
* traffic to a new version of a Lambda function. An Amazon ECS deployment group
|
|
270
|
-
* specifies the service created in Amazon ECS to deploy, a load balancer, and a
|
|
271
|
-
* listener to reroute production traffic to an updated containerized application.
|
|
272
|
-
* An EC2/On-premises deployment group contains individually tagged instances,
|
|
273
|
-
* Amazon EC2 instances in Amazon EC2 Auto Scaling groups, or both. All deployment
|
|
274
|
-
* groups can specify optional trigger, alarm, and rollback settings.</p>
|
|
275
|
-
* </li>
|
|
276
|
-
* <li>
|
|
277
|
-
* <p>
|
|
278
|
-
* <b>Deployment configuration</b>: A set of deployment
|
|
279
|
-
* rules and deployment success and failure conditions used by AWS CodeDeploy
|
|
280
|
-
* during a deployment.</p>
|
|
281
|
-
* </li>
|
|
282
|
-
* <li>
|
|
283
|
-
* <p>
|
|
284
|
-
* <b>Deployment</b>: The process and the components used
|
|
285
|
-
* when updating a Lambda function, a containerized application in an Amazon ECS
|
|
286
|
-
* service, or of installing content on one or more instances. </p>
|
|
287
|
-
* </li>
|
|
288
|
-
* <li>
|
|
289
|
-
* <p>
|
|
290
|
-
* <b>Application revisions</b>: For an AWS Lambda
|
|
291
|
-
* deployment, this is an AppSpec file that specifies the Lambda function to be
|
|
292
|
-
* updated and one or more functions to validate deployment lifecycle events. For
|
|
293
|
-
* an Amazon ECS deployment, this is an AppSpec file that specifies the Amazon ECS
|
|
294
|
-
* task definition, container, and port where production traffic is rerouted. For
|
|
295
|
-
* an EC2/On-premises deployment, this is an archive file that contains source
|
|
296
|
-
* content—source code, webpages, executable files, and deployment scripts—along
|
|
297
|
-
* with an AppSpec file. Revisions are stored in Amazon S3 buckets or GitHub
|
|
298
|
-
* repositories. For Amazon S3, a revision is uniquely identified by its Amazon S3
|
|
299
|
-
* object key and its ETag, version, or both. For GitHub, a revision is uniquely
|
|
300
|
-
* identified by its commit ID.</p>
|
|
301
|
-
* </li>
|
|
302
|
-
* </ul>
|
|
303
|
-
* <p>This guide also contains information to help you get details about the instances in
|
|
304
|
-
* your deployments, to make on-premises instances available for AWS CodeDeploy
|
|
305
|
-
* deployments, to get details about a Lambda function deployment, and to get details about
|
|
306
|
-
* Amazon ECS service deployments.</p>
|
|
307
|
-
* <p>
|
|
308
|
-
* <b>AWS CodeDeploy Information Resources</b>
|
|
309
|
-
* </p>
|
|
310
|
-
* <ul>
|
|
311
|
-
* <li>
|
|
312
|
-
* <p>
|
|
313
|
-
* <a href="https://docs.aws.amazon.com/codedeploy/latest/userguide">AWS CodeDeploy
|
|
314
|
-
* User Guide</a>
|
|
315
|
-
* </p>
|
|
316
|
-
* </li>
|
|
317
|
-
* <li>
|
|
318
|
-
* <p>
|
|
319
|
-
* <a href="https://docs.aws.amazon.com/codedeploy/latest/APIReference/">AWS
|
|
320
|
-
* CodeDeploy API Reference Guide</a>
|
|
321
|
-
* </p>
|
|
322
|
-
* </li>
|
|
323
|
-
* <li>
|
|
324
|
-
* <p>
|
|
325
|
-
* <a href="https://docs.aws.amazon.com/cli/latest/reference/deploy/index.html">AWS
|
|
326
|
-
* CLI Reference for AWS CodeDeploy</a>
|
|
327
|
-
* </p>
|
|
328
|
-
* </li>
|
|
329
|
-
* <li>
|
|
330
|
-
* <p>
|
|
331
|
-
* <a href="https://forums.aws.amazon.com/forum.jspa?forumID=179">AWS CodeDeploy
|
|
332
|
-
* Developer Forum</a>
|
|
333
|
-
* </p>
|
|
334
|
-
* </li>
|
|
335
|
-
* </ul>
|
|
336
|
-
*/
|
|
337
|
-
export class CodeDeploy extends CodeDeployClient {
|
|
338
|
-
/**
|
|
339
|
-
* <p>Adds tags to on-premises instances.</p>
|
|
340
|
-
*/
|
|
341
|
-
public addTagsToOnPremisesInstances(
|
|
342
|
-
args: AddTagsToOnPremisesInstancesCommandInput,
|
|
343
|
-
options?: __HttpHandlerOptions
|
|
344
|
-
): Promise<AddTagsToOnPremisesInstancesCommandOutput>;
|
|
345
|
-
public addTagsToOnPremisesInstances(
|
|
346
|
-
args: AddTagsToOnPremisesInstancesCommandInput,
|
|
347
|
-
cb: (err: any, data?: AddTagsToOnPremisesInstancesCommandOutput) => void
|
|
348
|
-
): void;
|
|
349
|
-
public addTagsToOnPremisesInstances(
|
|
350
|
-
args: AddTagsToOnPremisesInstancesCommandInput,
|
|
351
|
-
options: __HttpHandlerOptions,
|
|
352
|
-
cb: (err: any, data?: AddTagsToOnPremisesInstancesCommandOutput) => void
|
|
353
|
-
): void;
|
|
354
|
-
public addTagsToOnPremisesInstances(
|
|
355
|
-
args: AddTagsToOnPremisesInstancesCommandInput,
|
|
356
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: AddTagsToOnPremisesInstancesCommandOutput) => void),
|
|
357
|
-
cb?: (err: any, data?: AddTagsToOnPremisesInstancesCommandOutput) => void
|
|
358
|
-
): Promise<AddTagsToOnPremisesInstancesCommandOutput> | void {
|
|
359
|
-
const command = new AddTagsToOnPremisesInstancesCommand(args);
|
|
360
|
-
if (typeof optionsOrCb === "function") {
|
|
361
|
-
this.send(command, optionsOrCb);
|
|
362
|
-
} else if (typeof cb === "function") {
|
|
363
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
364
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
365
|
-
} else {
|
|
366
|
-
return this.send(command, optionsOrCb);
|
|
367
|
-
}
|
|
368
|
-
}
|
|
369
|
-
|
|
370
|
-
/**
|
|
371
|
-
* <p>Gets information about one or more application revisions. The maximum number of
|
|
372
|
-
* application revisions that can be returned is 25.</p>
|
|
373
|
-
*/
|
|
374
|
-
public batchGetApplicationRevisions(
|
|
375
|
-
args: BatchGetApplicationRevisionsCommandInput,
|
|
376
|
-
options?: __HttpHandlerOptions
|
|
377
|
-
): Promise<BatchGetApplicationRevisionsCommandOutput>;
|
|
378
|
-
public batchGetApplicationRevisions(
|
|
379
|
-
args: BatchGetApplicationRevisionsCommandInput,
|
|
380
|
-
cb: (err: any, data?: BatchGetApplicationRevisionsCommandOutput) => void
|
|
381
|
-
): void;
|
|
382
|
-
public batchGetApplicationRevisions(
|
|
383
|
-
args: BatchGetApplicationRevisionsCommandInput,
|
|
384
|
-
options: __HttpHandlerOptions,
|
|
385
|
-
cb: (err: any, data?: BatchGetApplicationRevisionsCommandOutput) => void
|
|
386
|
-
): void;
|
|
387
|
-
public batchGetApplicationRevisions(
|
|
388
|
-
args: BatchGetApplicationRevisionsCommandInput,
|
|
389
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: BatchGetApplicationRevisionsCommandOutput) => void),
|
|
390
|
-
cb?: (err: any, data?: BatchGetApplicationRevisionsCommandOutput) => void
|
|
391
|
-
): Promise<BatchGetApplicationRevisionsCommandOutput> | void {
|
|
392
|
-
const command = new BatchGetApplicationRevisionsCommand(args);
|
|
393
|
-
if (typeof optionsOrCb === "function") {
|
|
394
|
-
this.send(command, optionsOrCb);
|
|
395
|
-
} else if (typeof cb === "function") {
|
|
396
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
397
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
398
|
-
} else {
|
|
399
|
-
return this.send(command, optionsOrCb);
|
|
400
|
-
}
|
|
401
|
-
}
|
|
402
|
-
|
|
403
|
-
/**
|
|
404
|
-
* <p>Gets information about one or more applications. The maximum number of applications
|
|
405
|
-
* that can be returned is 100.</p>
|
|
406
|
-
*/
|
|
407
|
-
public batchGetApplications(
|
|
408
|
-
args: BatchGetApplicationsCommandInput,
|
|
409
|
-
options?: __HttpHandlerOptions
|
|
410
|
-
): Promise<BatchGetApplicationsCommandOutput>;
|
|
411
|
-
public batchGetApplications(
|
|
412
|
-
args: BatchGetApplicationsCommandInput,
|
|
413
|
-
cb: (err: any, data?: BatchGetApplicationsCommandOutput) => void
|
|
414
|
-
): void;
|
|
415
|
-
public batchGetApplications(
|
|
416
|
-
args: BatchGetApplicationsCommandInput,
|
|
417
|
-
options: __HttpHandlerOptions,
|
|
418
|
-
cb: (err: any, data?: BatchGetApplicationsCommandOutput) => void
|
|
419
|
-
): void;
|
|
420
|
-
public batchGetApplications(
|
|
421
|
-
args: BatchGetApplicationsCommandInput,
|
|
422
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: BatchGetApplicationsCommandOutput) => void),
|
|
423
|
-
cb?: (err: any, data?: BatchGetApplicationsCommandOutput) => void
|
|
424
|
-
): Promise<BatchGetApplicationsCommandOutput> | void {
|
|
425
|
-
const command = new BatchGetApplicationsCommand(args);
|
|
426
|
-
if (typeof optionsOrCb === "function") {
|
|
427
|
-
this.send(command, optionsOrCb);
|
|
428
|
-
} else if (typeof cb === "function") {
|
|
429
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
430
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
431
|
-
} else {
|
|
432
|
-
return this.send(command, optionsOrCb);
|
|
433
|
-
}
|
|
434
|
-
}
|
|
435
|
-
|
|
436
|
-
/**
|
|
437
|
-
* <p>Gets information about one or more deployment groups.</p>
|
|
438
|
-
*/
|
|
439
|
-
public batchGetDeploymentGroups(
|
|
440
|
-
args: BatchGetDeploymentGroupsCommandInput,
|
|
441
|
-
options?: __HttpHandlerOptions
|
|
442
|
-
): Promise<BatchGetDeploymentGroupsCommandOutput>;
|
|
443
|
-
public batchGetDeploymentGroups(
|
|
444
|
-
args: BatchGetDeploymentGroupsCommandInput,
|
|
445
|
-
cb: (err: any, data?: BatchGetDeploymentGroupsCommandOutput) => void
|
|
446
|
-
): void;
|
|
447
|
-
public batchGetDeploymentGroups(
|
|
448
|
-
args: BatchGetDeploymentGroupsCommandInput,
|
|
449
|
-
options: __HttpHandlerOptions,
|
|
450
|
-
cb: (err: any, data?: BatchGetDeploymentGroupsCommandOutput) => void
|
|
451
|
-
): void;
|
|
452
|
-
public batchGetDeploymentGroups(
|
|
453
|
-
args: BatchGetDeploymentGroupsCommandInput,
|
|
454
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: BatchGetDeploymentGroupsCommandOutput) => void),
|
|
455
|
-
cb?: (err: any, data?: BatchGetDeploymentGroupsCommandOutput) => void
|
|
456
|
-
): Promise<BatchGetDeploymentGroupsCommandOutput> | void {
|
|
457
|
-
const command = new BatchGetDeploymentGroupsCommand(args);
|
|
458
|
-
if (typeof optionsOrCb === "function") {
|
|
459
|
-
this.send(command, optionsOrCb);
|
|
460
|
-
} else if (typeof cb === "function") {
|
|
461
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
462
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
463
|
-
} else {
|
|
464
|
-
return this.send(command, optionsOrCb);
|
|
465
|
-
}
|
|
466
|
-
}
|
|
467
|
-
|
|
468
|
-
/**
|
|
469
|
-
* @deprecated
|
|
470
|
-
*
|
|
471
|
-
* <note>
|
|
472
|
-
* <p> This method works, but is deprecated. Use <code>BatchGetDeploymentTargets</code>
|
|
473
|
-
* instead. </p>
|
|
474
|
-
* </note>
|
|
475
|
-
* <p> Returns an array of one or more instances associated with a deployment. This method
|
|
476
|
-
* works with EC2/On-premises and AWS Lambda compute platforms. The newer
|
|
477
|
-
* <code>BatchGetDeploymentTargets</code> works with all compute platforms. The maximum
|
|
478
|
-
* number of instances that can be returned is 25.</p>
|
|
479
|
-
*/
|
|
480
|
-
public batchGetDeploymentInstances(
|
|
481
|
-
args: BatchGetDeploymentInstancesCommandInput,
|
|
482
|
-
options?: __HttpHandlerOptions
|
|
483
|
-
): Promise<BatchGetDeploymentInstancesCommandOutput>;
|
|
484
|
-
public batchGetDeploymentInstances(
|
|
485
|
-
args: BatchGetDeploymentInstancesCommandInput,
|
|
486
|
-
cb: (err: any, data?: BatchGetDeploymentInstancesCommandOutput) => void
|
|
487
|
-
): void;
|
|
488
|
-
public batchGetDeploymentInstances(
|
|
489
|
-
args: BatchGetDeploymentInstancesCommandInput,
|
|
490
|
-
options: __HttpHandlerOptions,
|
|
491
|
-
cb: (err: any, data?: BatchGetDeploymentInstancesCommandOutput) => void
|
|
492
|
-
): void;
|
|
493
|
-
public batchGetDeploymentInstances(
|
|
494
|
-
args: BatchGetDeploymentInstancesCommandInput,
|
|
495
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: BatchGetDeploymentInstancesCommandOutput) => void),
|
|
496
|
-
cb?: (err: any, data?: BatchGetDeploymentInstancesCommandOutput) => void
|
|
497
|
-
): Promise<BatchGetDeploymentInstancesCommandOutput> | void {
|
|
498
|
-
const command = new BatchGetDeploymentInstancesCommand(args);
|
|
499
|
-
if (typeof optionsOrCb === "function") {
|
|
500
|
-
this.send(command, optionsOrCb);
|
|
501
|
-
} else if (typeof cb === "function") {
|
|
502
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
503
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
504
|
-
} else {
|
|
505
|
-
return this.send(command, optionsOrCb);
|
|
506
|
-
}
|
|
507
|
-
}
|
|
508
|
-
|
|
509
|
-
/**
|
|
510
|
-
* <p>Gets information about one or more deployments. The maximum number of deployments that
|
|
511
|
-
* can be returned is 25.</p>
|
|
512
|
-
*/
|
|
513
|
-
public batchGetDeployments(
|
|
514
|
-
args: BatchGetDeploymentsCommandInput,
|
|
515
|
-
options?: __HttpHandlerOptions
|
|
516
|
-
): Promise<BatchGetDeploymentsCommandOutput>;
|
|
517
|
-
public batchGetDeployments(
|
|
518
|
-
args: BatchGetDeploymentsCommandInput,
|
|
519
|
-
cb: (err: any, data?: BatchGetDeploymentsCommandOutput) => void
|
|
520
|
-
): void;
|
|
521
|
-
public batchGetDeployments(
|
|
522
|
-
args: BatchGetDeploymentsCommandInput,
|
|
523
|
-
options: __HttpHandlerOptions,
|
|
524
|
-
cb: (err: any, data?: BatchGetDeploymentsCommandOutput) => void
|
|
525
|
-
): void;
|
|
526
|
-
public batchGetDeployments(
|
|
527
|
-
args: BatchGetDeploymentsCommandInput,
|
|
528
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: BatchGetDeploymentsCommandOutput) => void),
|
|
529
|
-
cb?: (err: any, data?: BatchGetDeploymentsCommandOutput) => void
|
|
530
|
-
): Promise<BatchGetDeploymentsCommandOutput> | void {
|
|
531
|
-
const command = new BatchGetDeploymentsCommand(args);
|
|
532
|
-
if (typeof optionsOrCb === "function") {
|
|
533
|
-
this.send(command, optionsOrCb);
|
|
534
|
-
} else if (typeof cb === "function") {
|
|
535
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
536
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
537
|
-
} else {
|
|
538
|
-
return this.send(command, optionsOrCb);
|
|
539
|
-
}
|
|
540
|
-
}
|
|
541
|
-
|
|
542
|
-
/**
|
|
543
|
-
* <p> Returns an array of one or more targets associated with a deployment. This method
|
|
544
|
-
* works with all compute types and should be used instead of the deprecated
|
|
545
|
-
* <code>BatchGetDeploymentInstances</code>. The maximum number of targets that can be
|
|
546
|
-
* returned is 25.</p>
|
|
547
|
-
* <p> The type of targets returned depends on the deployment's compute platform or
|
|
548
|
-
* deployment method: </p>
|
|
549
|
-
* <ul>
|
|
550
|
-
* <li>
|
|
551
|
-
* <p>
|
|
552
|
-
* <b>EC2/On-premises</b>: Information about EC2 instance
|
|
553
|
-
* targets. </p>
|
|
554
|
-
* </li>
|
|
555
|
-
* <li>
|
|
556
|
-
* <p>
|
|
557
|
-
* <b>AWS Lambda</b>: Information about Lambda functions
|
|
558
|
-
* targets. </p>
|
|
559
|
-
* </li>
|
|
560
|
-
* <li>
|
|
561
|
-
* <p>
|
|
562
|
-
* <b>Amazon ECS</b>: Information about Amazon ECS
|
|
563
|
-
* service targets. </p>
|
|
564
|
-
* </li>
|
|
565
|
-
* <li>
|
|
566
|
-
* <p>
|
|
567
|
-
* <b>CloudFormation</b>: Information about targets of
|
|
568
|
-
* blue/green deployments initiated by a CloudFormation stack update.</p>
|
|
569
|
-
* </li>
|
|
570
|
-
* </ul>
|
|
571
|
-
*/
|
|
572
|
-
public batchGetDeploymentTargets(
|
|
573
|
-
args: BatchGetDeploymentTargetsCommandInput,
|
|
574
|
-
options?: __HttpHandlerOptions
|
|
575
|
-
): Promise<BatchGetDeploymentTargetsCommandOutput>;
|
|
576
|
-
public batchGetDeploymentTargets(
|
|
577
|
-
args: BatchGetDeploymentTargetsCommandInput,
|
|
578
|
-
cb: (err: any, data?: BatchGetDeploymentTargetsCommandOutput) => void
|
|
579
|
-
): void;
|
|
580
|
-
public batchGetDeploymentTargets(
|
|
581
|
-
args: BatchGetDeploymentTargetsCommandInput,
|
|
582
|
-
options: __HttpHandlerOptions,
|
|
583
|
-
cb: (err: any, data?: BatchGetDeploymentTargetsCommandOutput) => void
|
|
584
|
-
): void;
|
|
585
|
-
public batchGetDeploymentTargets(
|
|
586
|
-
args: BatchGetDeploymentTargetsCommandInput,
|
|
587
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: BatchGetDeploymentTargetsCommandOutput) => void),
|
|
588
|
-
cb?: (err: any, data?: BatchGetDeploymentTargetsCommandOutput) => void
|
|
589
|
-
): Promise<BatchGetDeploymentTargetsCommandOutput> | void {
|
|
590
|
-
const command = new BatchGetDeploymentTargetsCommand(args);
|
|
591
|
-
if (typeof optionsOrCb === "function") {
|
|
592
|
-
this.send(command, optionsOrCb);
|
|
593
|
-
} else if (typeof cb === "function") {
|
|
594
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
595
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
596
|
-
} else {
|
|
597
|
-
return this.send(command, optionsOrCb);
|
|
598
|
-
}
|
|
599
|
-
}
|
|
600
|
-
|
|
601
|
-
/**
|
|
602
|
-
* <p>Gets information about one or more on-premises instances. The maximum number of
|
|
603
|
-
* on-premises instances that can be returned is 25.</p>
|
|
604
|
-
*/
|
|
605
|
-
public batchGetOnPremisesInstances(
|
|
606
|
-
args: BatchGetOnPremisesInstancesCommandInput,
|
|
607
|
-
options?: __HttpHandlerOptions
|
|
608
|
-
): Promise<BatchGetOnPremisesInstancesCommandOutput>;
|
|
609
|
-
public batchGetOnPremisesInstances(
|
|
610
|
-
args: BatchGetOnPremisesInstancesCommandInput,
|
|
611
|
-
cb: (err: any, data?: BatchGetOnPremisesInstancesCommandOutput) => void
|
|
612
|
-
): void;
|
|
613
|
-
public batchGetOnPremisesInstances(
|
|
614
|
-
args: BatchGetOnPremisesInstancesCommandInput,
|
|
615
|
-
options: __HttpHandlerOptions,
|
|
616
|
-
cb: (err: any, data?: BatchGetOnPremisesInstancesCommandOutput) => void
|
|
617
|
-
): void;
|
|
618
|
-
public batchGetOnPremisesInstances(
|
|
619
|
-
args: BatchGetOnPremisesInstancesCommandInput,
|
|
620
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: BatchGetOnPremisesInstancesCommandOutput) => void),
|
|
621
|
-
cb?: (err: any, data?: BatchGetOnPremisesInstancesCommandOutput) => void
|
|
622
|
-
): Promise<BatchGetOnPremisesInstancesCommandOutput> | void {
|
|
623
|
-
const command = new BatchGetOnPremisesInstancesCommand(args);
|
|
624
|
-
if (typeof optionsOrCb === "function") {
|
|
625
|
-
this.send(command, optionsOrCb);
|
|
626
|
-
} else if (typeof cb === "function") {
|
|
627
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
628
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
629
|
-
} else {
|
|
630
|
-
return this.send(command, optionsOrCb);
|
|
631
|
-
}
|
|
632
|
-
}
|
|
633
|
-
|
|
634
|
-
/**
|
|
635
|
-
* <p>For a blue/green deployment, starts the process of rerouting traffic from instances in
|
|
636
|
-
* the original environment to instances in the replacement environment without waiting for
|
|
637
|
-
* a specified wait time to elapse. (Traffic rerouting, which is achieved by registering
|
|
638
|
-
* instances in the replacement environment with the load balancer, can start as soon as
|
|
639
|
-
* all instances have a status of Ready.) </p>
|
|
640
|
-
*/
|
|
641
|
-
public continueDeployment(
|
|
642
|
-
args: ContinueDeploymentCommandInput,
|
|
643
|
-
options?: __HttpHandlerOptions
|
|
644
|
-
): Promise<ContinueDeploymentCommandOutput>;
|
|
645
|
-
public continueDeployment(
|
|
646
|
-
args: ContinueDeploymentCommandInput,
|
|
647
|
-
cb: (err: any, data?: ContinueDeploymentCommandOutput) => void
|
|
648
|
-
): void;
|
|
649
|
-
public continueDeployment(
|
|
650
|
-
args: ContinueDeploymentCommandInput,
|
|
651
|
-
options: __HttpHandlerOptions,
|
|
652
|
-
cb: (err: any, data?: ContinueDeploymentCommandOutput) => void
|
|
653
|
-
): void;
|
|
654
|
-
public continueDeployment(
|
|
655
|
-
args: ContinueDeploymentCommandInput,
|
|
656
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ContinueDeploymentCommandOutput) => void),
|
|
657
|
-
cb?: (err: any, data?: ContinueDeploymentCommandOutput) => void
|
|
658
|
-
): Promise<ContinueDeploymentCommandOutput> | void {
|
|
659
|
-
const command = new ContinueDeploymentCommand(args);
|
|
660
|
-
if (typeof optionsOrCb === "function") {
|
|
661
|
-
this.send(command, optionsOrCb);
|
|
662
|
-
} else if (typeof cb === "function") {
|
|
663
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
664
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
665
|
-
} else {
|
|
666
|
-
return this.send(command, optionsOrCb);
|
|
667
|
-
}
|
|
668
|
-
}
|
|
669
|
-
|
|
670
|
-
/**
|
|
671
|
-
* <p>Creates an application.</p>
|
|
672
|
-
*/
|
|
673
|
-
public createApplication(
|
|
674
|
-
args: CreateApplicationCommandInput,
|
|
675
|
-
options?: __HttpHandlerOptions
|
|
676
|
-
): Promise<CreateApplicationCommandOutput>;
|
|
677
|
-
public createApplication(
|
|
678
|
-
args: CreateApplicationCommandInput,
|
|
679
|
-
cb: (err: any, data?: CreateApplicationCommandOutput) => void
|
|
680
|
-
): void;
|
|
681
|
-
public createApplication(
|
|
682
|
-
args: CreateApplicationCommandInput,
|
|
683
|
-
options: __HttpHandlerOptions,
|
|
684
|
-
cb: (err: any, data?: CreateApplicationCommandOutput) => void
|
|
685
|
-
): void;
|
|
686
|
-
public createApplication(
|
|
687
|
-
args: CreateApplicationCommandInput,
|
|
688
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateApplicationCommandOutput) => void),
|
|
689
|
-
cb?: (err: any, data?: CreateApplicationCommandOutput) => void
|
|
690
|
-
): Promise<CreateApplicationCommandOutput> | void {
|
|
691
|
-
const command = new CreateApplicationCommand(args);
|
|
692
|
-
if (typeof optionsOrCb === "function") {
|
|
693
|
-
this.send(command, optionsOrCb);
|
|
694
|
-
} else if (typeof cb === "function") {
|
|
695
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
696
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
697
|
-
} else {
|
|
698
|
-
return this.send(command, optionsOrCb);
|
|
699
|
-
}
|
|
700
|
-
}
|
|
701
|
-
|
|
702
|
-
/**
|
|
703
|
-
* <p>Deploys an application revision through the specified deployment group.</p>
|
|
704
|
-
*/
|
|
705
|
-
public createDeployment(
|
|
706
|
-
args: CreateDeploymentCommandInput,
|
|
707
|
-
options?: __HttpHandlerOptions
|
|
708
|
-
): Promise<CreateDeploymentCommandOutput>;
|
|
709
|
-
public createDeployment(
|
|
710
|
-
args: CreateDeploymentCommandInput,
|
|
711
|
-
cb: (err: any, data?: CreateDeploymentCommandOutput) => void
|
|
712
|
-
): void;
|
|
713
|
-
public createDeployment(
|
|
714
|
-
args: CreateDeploymentCommandInput,
|
|
715
|
-
options: __HttpHandlerOptions,
|
|
716
|
-
cb: (err: any, data?: CreateDeploymentCommandOutput) => void
|
|
717
|
-
): void;
|
|
718
|
-
public createDeployment(
|
|
719
|
-
args: CreateDeploymentCommandInput,
|
|
720
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateDeploymentCommandOutput) => void),
|
|
721
|
-
cb?: (err: any, data?: CreateDeploymentCommandOutput) => void
|
|
722
|
-
): Promise<CreateDeploymentCommandOutput> | void {
|
|
723
|
-
const command = new CreateDeploymentCommand(args);
|
|
724
|
-
if (typeof optionsOrCb === "function") {
|
|
725
|
-
this.send(command, optionsOrCb);
|
|
726
|
-
} else if (typeof cb === "function") {
|
|
727
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
728
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
729
|
-
} else {
|
|
730
|
-
return this.send(command, optionsOrCb);
|
|
731
|
-
}
|
|
732
|
-
}
|
|
733
|
-
|
|
734
|
-
/**
|
|
735
|
-
* <p> Creates a deployment configuration. </p>
|
|
736
|
-
*/
|
|
737
|
-
public createDeploymentConfig(
|
|
738
|
-
args: CreateDeploymentConfigCommandInput,
|
|
739
|
-
options?: __HttpHandlerOptions
|
|
740
|
-
): Promise<CreateDeploymentConfigCommandOutput>;
|
|
741
|
-
public createDeploymentConfig(
|
|
742
|
-
args: CreateDeploymentConfigCommandInput,
|
|
743
|
-
cb: (err: any, data?: CreateDeploymentConfigCommandOutput) => void
|
|
744
|
-
): void;
|
|
745
|
-
public createDeploymentConfig(
|
|
746
|
-
args: CreateDeploymentConfigCommandInput,
|
|
747
|
-
options: __HttpHandlerOptions,
|
|
748
|
-
cb: (err: any, data?: CreateDeploymentConfigCommandOutput) => void
|
|
749
|
-
): void;
|
|
750
|
-
public createDeploymentConfig(
|
|
751
|
-
args: CreateDeploymentConfigCommandInput,
|
|
752
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateDeploymentConfigCommandOutput) => void),
|
|
753
|
-
cb?: (err: any, data?: CreateDeploymentConfigCommandOutput) => void
|
|
754
|
-
): Promise<CreateDeploymentConfigCommandOutput> | void {
|
|
755
|
-
const command = new CreateDeploymentConfigCommand(args);
|
|
756
|
-
if (typeof optionsOrCb === "function") {
|
|
757
|
-
this.send(command, optionsOrCb);
|
|
758
|
-
} else if (typeof cb === "function") {
|
|
759
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
760
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
761
|
-
} else {
|
|
762
|
-
return this.send(command, optionsOrCb);
|
|
763
|
-
}
|
|
764
|
-
}
|
|
765
|
-
|
|
766
|
-
/**
|
|
767
|
-
* <p>Creates a deployment group to which application revisions are deployed.</p>
|
|
768
|
-
*/
|
|
769
|
-
public createDeploymentGroup(
|
|
770
|
-
args: CreateDeploymentGroupCommandInput,
|
|
771
|
-
options?: __HttpHandlerOptions
|
|
772
|
-
): Promise<CreateDeploymentGroupCommandOutput>;
|
|
773
|
-
public createDeploymentGroup(
|
|
774
|
-
args: CreateDeploymentGroupCommandInput,
|
|
775
|
-
cb: (err: any, data?: CreateDeploymentGroupCommandOutput) => void
|
|
776
|
-
): void;
|
|
777
|
-
public createDeploymentGroup(
|
|
778
|
-
args: CreateDeploymentGroupCommandInput,
|
|
779
|
-
options: __HttpHandlerOptions,
|
|
780
|
-
cb: (err: any, data?: CreateDeploymentGroupCommandOutput) => void
|
|
781
|
-
): void;
|
|
782
|
-
public createDeploymentGroup(
|
|
783
|
-
args: CreateDeploymentGroupCommandInput,
|
|
784
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: CreateDeploymentGroupCommandOutput) => void),
|
|
785
|
-
cb?: (err: any, data?: CreateDeploymentGroupCommandOutput) => void
|
|
786
|
-
): Promise<CreateDeploymentGroupCommandOutput> | void {
|
|
787
|
-
const command = new CreateDeploymentGroupCommand(args);
|
|
788
|
-
if (typeof optionsOrCb === "function") {
|
|
789
|
-
this.send(command, optionsOrCb);
|
|
790
|
-
} else if (typeof cb === "function") {
|
|
791
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
792
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
793
|
-
} else {
|
|
794
|
-
return this.send(command, optionsOrCb);
|
|
795
|
-
}
|
|
796
|
-
}
|
|
797
|
-
|
|
798
|
-
/**
|
|
799
|
-
* <p>Deletes an application.</p>
|
|
800
|
-
*/
|
|
801
|
-
public deleteApplication(
|
|
802
|
-
args: DeleteApplicationCommandInput,
|
|
803
|
-
options?: __HttpHandlerOptions
|
|
804
|
-
): Promise<DeleteApplicationCommandOutput>;
|
|
805
|
-
public deleteApplication(
|
|
806
|
-
args: DeleteApplicationCommandInput,
|
|
807
|
-
cb: (err: any, data?: DeleteApplicationCommandOutput) => void
|
|
808
|
-
): void;
|
|
809
|
-
public deleteApplication(
|
|
810
|
-
args: DeleteApplicationCommandInput,
|
|
811
|
-
options: __HttpHandlerOptions,
|
|
812
|
-
cb: (err: any, data?: DeleteApplicationCommandOutput) => void
|
|
813
|
-
): void;
|
|
814
|
-
public deleteApplication(
|
|
815
|
-
args: DeleteApplicationCommandInput,
|
|
816
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteApplicationCommandOutput) => void),
|
|
817
|
-
cb?: (err: any, data?: DeleteApplicationCommandOutput) => void
|
|
818
|
-
): Promise<DeleteApplicationCommandOutput> | void {
|
|
819
|
-
const command = new DeleteApplicationCommand(args);
|
|
820
|
-
if (typeof optionsOrCb === "function") {
|
|
821
|
-
this.send(command, optionsOrCb);
|
|
822
|
-
} else if (typeof cb === "function") {
|
|
823
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
824
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
825
|
-
} else {
|
|
826
|
-
return this.send(command, optionsOrCb);
|
|
827
|
-
}
|
|
828
|
-
}
|
|
829
|
-
|
|
830
|
-
/**
|
|
831
|
-
* <p>Deletes a deployment configuration.</p>
|
|
832
|
-
* <note>
|
|
833
|
-
* <p>A deployment configuration cannot be deleted if it is currently in use. Predefined
|
|
834
|
-
* configurations cannot be deleted.</p>
|
|
835
|
-
* </note>
|
|
836
|
-
*/
|
|
837
|
-
public deleteDeploymentConfig(
|
|
838
|
-
args: DeleteDeploymentConfigCommandInput,
|
|
839
|
-
options?: __HttpHandlerOptions
|
|
840
|
-
): Promise<DeleteDeploymentConfigCommandOutput>;
|
|
841
|
-
public deleteDeploymentConfig(
|
|
842
|
-
args: DeleteDeploymentConfigCommandInput,
|
|
843
|
-
cb: (err: any, data?: DeleteDeploymentConfigCommandOutput) => void
|
|
844
|
-
): void;
|
|
845
|
-
public deleteDeploymentConfig(
|
|
846
|
-
args: DeleteDeploymentConfigCommandInput,
|
|
847
|
-
options: __HttpHandlerOptions,
|
|
848
|
-
cb: (err: any, data?: DeleteDeploymentConfigCommandOutput) => void
|
|
849
|
-
): void;
|
|
850
|
-
public deleteDeploymentConfig(
|
|
851
|
-
args: DeleteDeploymentConfigCommandInput,
|
|
852
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteDeploymentConfigCommandOutput) => void),
|
|
853
|
-
cb?: (err: any, data?: DeleteDeploymentConfigCommandOutput) => void
|
|
854
|
-
): Promise<DeleteDeploymentConfigCommandOutput> | void {
|
|
855
|
-
const command = new DeleteDeploymentConfigCommand(args);
|
|
856
|
-
if (typeof optionsOrCb === "function") {
|
|
857
|
-
this.send(command, optionsOrCb);
|
|
858
|
-
} else if (typeof cb === "function") {
|
|
859
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
860
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
861
|
-
} else {
|
|
862
|
-
return this.send(command, optionsOrCb);
|
|
863
|
-
}
|
|
864
|
-
}
|
|
865
|
-
|
|
866
|
-
/**
|
|
867
|
-
* <p>Deletes a deployment group.</p>
|
|
868
|
-
*/
|
|
869
|
-
public deleteDeploymentGroup(
|
|
870
|
-
args: DeleteDeploymentGroupCommandInput,
|
|
871
|
-
options?: __HttpHandlerOptions
|
|
872
|
-
): Promise<DeleteDeploymentGroupCommandOutput>;
|
|
873
|
-
public deleteDeploymentGroup(
|
|
874
|
-
args: DeleteDeploymentGroupCommandInput,
|
|
875
|
-
cb: (err: any, data?: DeleteDeploymentGroupCommandOutput) => void
|
|
876
|
-
): void;
|
|
877
|
-
public deleteDeploymentGroup(
|
|
878
|
-
args: DeleteDeploymentGroupCommandInput,
|
|
879
|
-
options: __HttpHandlerOptions,
|
|
880
|
-
cb: (err: any, data?: DeleteDeploymentGroupCommandOutput) => void
|
|
881
|
-
): void;
|
|
882
|
-
public deleteDeploymentGroup(
|
|
883
|
-
args: DeleteDeploymentGroupCommandInput,
|
|
884
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteDeploymentGroupCommandOutput) => void),
|
|
885
|
-
cb?: (err: any, data?: DeleteDeploymentGroupCommandOutput) => void
|
|
886
|
-
): Promise<DeleteDeploymentGroupCommandOutput> | void {
|
|
887
|
-
const command = new DeleteDeploymentGroupCommand(args);
|
|
888
|
-
if (typeof optionsOrCb === "function") {
|
|
889
|
-
this.send(command, optionsOrCb);
|
|
890
|
-
} else if (typeof cb === "function") {
|
|
891
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
892
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
893
|
-
} else {
|
|
894
|
-
return this.send(command, optionsOrCb);
|
|
895
|
-
}
|
|
896
|
-
}
|
|
897
|
-
|
|
898
|
-
/**
|
|
899
|
-
* <p>Deletes a GitHub account connection.</p>
|
|
900
|
-
*/
|
|
901
|
-
public deleteGitHubAccountToken(
|
|
902
|
-
args: DeleteGitHubAccountTokenCommandInput,
|
|
903
|
-
options?: __HttpHandlerOptions
|
|
904
|
-
): Promise<DeleteGitHubAccountTokenCommandOutput>;
|
|
905
|
-
public deleteGitHubAccountToken(
|
|
906
|
-
args: DeleteGitHubAccountTokenCommandInput,
|
|
907
|
-
cb: (err: any, data?: DeleteGitHubAccountTokenCommandOutput) => void
|
|
908
|
-
): void;
|
|
909
|
-
public deleteGitHubAccountToken(
|
|
910
|
-
args: DeleteGitHubAccountTokenCommandInput,
|
|
911
|
-
options: __HttpHandlerOptions,
|
|
912
|
-
cb: (err: any, data?: DeleteGitHubAccountTokenCommandOutput) => void
|
|
913
|
-
): void;
|
|
914
|
-
public deleteGitHubAccountToken(
|
|
915
|
-
args: DeleteGitHubAccountTokenCommandInput,
|
|
916
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteGitHubAccountTokenCommandOutput) => void),
|
|
917
|
-
cb?: (err: any, data?: DeleteGitHubAccountTokenCommandOutput) => void
|
|
918
|
-
): Promise<DeleteGitHubAccountTokenCommandOutput> | void {
|
|
919
|
-
const command = new DeleteGitHubAccountTokenCommand(args);
|
|
920
|
-
if (typeof optionsOrCb === "function") {
|
|
921
|
-
this.send(command, optionsOrCb);
|
|
922
|
-
} else if (typeof cb === "function") {
|
|
923
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
924
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
925
|
-
} else {
|
|
926
|
-
return this.send(command, optionsOrCb);
|
|
927
|
-
}
|
|
928
|
-
}
|
|
929
|
-
|
|
930
|
-
/**
|
|
931
|
-
* <p>Deletes resources linked to an external ID.</p>
|
|
932
|
-
*/
|
|
933
|
-
public deleteResourcesByExternalId(
|
|
934
|
-
args: DeleteResourcesByExternalIdCommandInput,
|
|
935
|
-
options?: __HttpHandlerOptions
|
|
936
|
-
): Promise<DeleteResourcesByExternalIdCommandOutput>;
|
|
937
|
-
public deleteResourcesByExternalId(
|
|
938
|
-
args: DeleteResourcesByExternalIdCommandInput,
|
|
939
|
-
cb: (err: any, data?: DeleteResourcesByExternalIdCommandOutput) => void
|
|
940
|
-
): void;
|
|
941
|
-
public deleteResourcesByExternalId(
|
|
942
|
-
args: DeleteResourcesByExternalIdCommandInput,
|
|
943
|
-
options: __HttpHandlerOptions,
|
|
944
|
-
cb: (err: any, data?: DeleteResourcesByExternalIdCommandOutput) => void
|
|
945
|
-
): void;
|
|
946
|
-
public deleteResourcesByExternalId(
|
|
947
|
-
args: DeleteResourcesByExternalIdCommandInput,
|
|
948
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeleteResourcesByExternalIdCommandOutput) => void),
|
|
949
|
-
cb?: (err: any, data?: DeleteResourcesByExternalIdCommandOutput) => void
|
|
950
|
-
): Promise<DeleteResourcesByExternalIdCommandOutput> | void {
|
|
951
|
-
const command = new DeleteResourcesByExternalIdCommand(args);
|
|
952
|
-
if (typeof optionsOrCb === "function") {
|
|
953
|
-
this.send(command, optionsOrCb);
|
|
954
|
-
} else if (typeof cb === "function") {
|
|
955
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
956
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
957
|
-
} else {
|
|
958
|
-
return this.send(command, optionsOrCb);
|
|
959
|
-
}
|
|
960
|
-
}
|
|
961
|
-
|
|
962
|
-
/**
|
|
963
|
-
* <p>Deregisters an on-premises instance.</p>
|
|
964
|
-
*/
|
|
965
|
-
public deregisterOnPremisesInstance(
|
|
966
|
-
args: DeregisterOnPremisesInstanceCommandInput,
|
|
967
|
-
options?: __HttpHandlerOptions
|
|
968
|
-
): Promise<DeregisterOnPremisesInstanceCommandOutput>;
|
|
969
|
-
public deregisterOnPremisesInstance(
|
|
970
|
-
args: DeregisterOnPremisesInstanceCommandInput,
|
|
971
|
-
cb: (err: any, data?: DeregisterOnPremisesInstanceCommandOutput) => void
|
|
972
|
-
): void;
|
|
973
|
-
public deregisterOnPremisesInstance(
|
|
974
|
-
args: DeregisterOnPremisesInstanceCommandInput,
|
|
975
|
-
options: __HttpHandlerOptions,
|
|
976
|
-
cb: (err: any, data?: DeregisterOnPremisesInstanceCommandOutput) => void
|
|
977
|
-
): void;
|
|
978
|
-
public deregisterOnPremisesInstance(
|
|
979
|
-
args: DeregisterOnPremisesInstanceCommandInput,
|
|
980
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: DeregisterOnPremisesInstanceCommandOutput) => void),
|
|
981
|
-
cb?: (err: any, data?: DeregisterOnPremisesInstanceCommandOutput) => void
|
|
982
|
-
): Promise<DeregisterOnPremisesInstanceCommandOutput> | void {
|
|
983
|
-
const command = new DeregisterOnPremisesInstanceCommand(args);
|
|
984
|
-
if (typeof optionsOrCb === "function") {
|
|
985
|
-
this.send(command, optionsOrCb);
|
|
986
|
-
} else if (typeof cb === "function") {
|
|
987
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
988
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
989
|
-
} else {
|
|
990
|
-
return this.send(command, optionsOrCb);
|
|
991
|
-
}
|
|
992
|
-
}
|
|
993
|
-
|
|
994
|
-
/**
|
|
995
|
-
* <p>Gets information about an application.</p>
|
|
996
|
-
*/
|
|
997
|
-
public getApplication(
|
|
998
|
-
args: GetApplicationCommandInput,
|
|
999
|
-
options?: __HttpHandlerOptions
|
|
1000
|
-
): Promise<GetApplicationCommandOutput>;
|
|
1001
|
-
public getApplication(
|
|
1002
|
-
args: GetApplicationCommandInput,
|
|
1003
|
-
cb: (err: any, data?: GetApplicationCommandOutput) => void
|
|
1004
|
-
): void;
|
|
1005
|
-
public getApplication(
|
|
1006
|
-
args: GetApplicationCommandInput,
|
|
1007
|
-
options: __HttpHandlerOptions,
|
|
1008
|
-
cb: (err: any, data?: GetApplicationCommandOutput) => void
|
|
1009
|
-
): void;
|
|
1010
|
-
public getApplication(
|
|
1011
|
-
args: GetApplicationCommandInput,
|
|
1012
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetApplicationCommandOutput) => void),
|
|
1013
|
-
cb?: (err: any, data?: GetApplicationCommandOutput) => void
|
|
1014
|
-
): Promise<GetApplicationCommandOutput> | void {
|
|
1015
|
-
const command = new GetApplicationCommand(args);
|
|
1016
|
-
if (typeof optionsOrCb === "function") {
|
|
1017
|
-
this.send(command, optionsOrCb);
|
|
1018
|
-
} else if (typeof cb === "function") {
|
|
1019
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1020
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1021
|
-
} else {
|
|
1022
|
-
return this.send(command, optionsOrCb);
|
|
1023
|
-
}
|
|
1024
|
-
}
|
|
1025
|
-
|
|
1026
|
-
/**
|
|
1027
|
-
* <p>Gets information about an application revision.</p>
|
|
1028
|
-
*/
|
|
1029
|
-
public getApplicationRevision(
|
|
1030
|
-
args: GetApplicationRevisionCommandInput,
|
|
1031
|
-
options?: __HttpHandlerOptions
|
|
1032
|
-
): Promise<GetApplicationRevisionCommandOutput>;
|
|
1033
|
-
public getApplicationRevision(
|
|
1034
|
-
args: GetApplicationRevisionCommandInput,
|
|
1035
|
-
cb: (err: any, data?: GetApplicationRevisionCommandOutput) => void
|
|
1036
|
-
): void;
|
|
1037
|
-
public getApplicationRevision(
|
|
1038
|
-
args: GetApplicationRevisionCommandInput,
|
|
1039
|
-
options: __HttpHandlerOptions,
|
|
1040
|
-
cb: (err: any, data?: GetApplicationRevisionCommandOutput) => void
|
|
1041
|
-
): void;
|
|
1042
|
-
public getApplicationRevision(
|
|
1043
|
-
args: GetApplicationRevisionCommandInput,
|
|
1044
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetApplicationRevisionCommandOutput) => void),
|
|
1045
|
-
cb?: (err: any, data?: GetApplicationRevisionCommandOutput) => void
|
|
1046
|
-
): Promise<GetApplicationRevisionCommandOutput> | void {
|
|
1047
|
-
const command = new GetApplicationRevisionCommand(args);
|
|
1048
|
-
if (typeof optionsOrCb === "function") {
|
|
1049
|
-
this.send(command, optionsOrCb);
|
|
1050
|
-
} else if (typeof cb === "function") {
|
|
1051
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1052
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1053
|
-
} else {
|
|
1054
|
-
return this.send(command, optionsOrCb);
|
|
1055
|
-
}
|
|
1056
|
-
}
|
|
1057
|
-
|
|
1058
|
-
/**
|
|
1059
|
-
* <p>Gets information about a deployment.</p>
|
|
1060
|
-
* <note>
|
|
1061
|
-
* <p> The <code>content</code> property of the <code>appSpecContent</code> object in
|
|
1062
|
-
* the returned revision is always null. Use <code>GetApplicationRevision</code> and
|
|
1063
|
-
* the <code>sha256</code> property of the returned <code>appSpecContent</code> object
|
|
1064
|
-
* to get the content of the deployment’s AppSpec file. </p>
|
|
1065
|
-
* </note>
|
|
1066
|
-
*/
|
|
1067
|
-
public getDeployment(
|
|
1068
|
-
args: GetDeploymentCommandInput,
|
|
1069
|
-
options?: __HttpHandlerOptions
|
|
1070
|
-
): Promise<GetDeploymentCommandOutput>;
|
|
1071
|
-
public getDeployment(
|
|
1072
|
-
args: GetDeploymentCommandInput,
|
|
1073
|
-
cb: (err: any, data?: GetDeploymentCommandOutput) => void
|
|
1074
|
-
): void;
|
|
1075
|
-
public getDeployment(
|
|
1076
|
-
args: GetDeploymentCommandInput,
|
|
1077
|
-
options: __HttpHandlerOptions,
|
|
1078
|
-
cb: (err: any, data?: GetDeploymentCommandOutput) => void
|
|
1079
|
-
): void;
|
|
1080
|
-
public getDeployment(
|
|
1081
|
-
args: GetDeploymentCommandInput,
|
|
1082
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetDeploymentCommandOutput) => void),
|
|
1083
|
-
cb?: (err: any, data?: GetDeploymentCommandOutput) => void
|
|
1084
|
-
): Promise<GetDeploymentCommandOutput> | void {
|
|
1085
|
-
const command = new GetDeploymentCommand(args);
|
|
1086
|
-
if (typeof optionsOrCb === "function") {
|
|
1087
|
-
this.send(command, optionsOrCb);
|
|
1088
|
-
} else if (typeof cb === "function") {
|
|
1089
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1090
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1091
|
-
} else {
|
|
1092
|
-
return this.send(command, optionsOrCb);
|
|
1093
|
-
}
|
|
1094
|
-
}
|
|
1095
|
-
|
|
1096
|
-
/**
|
|
1097
|
-
* <p>Gets information about a deployment configuration.</p>
|
|
1098
|
-
*/
|
|
1099
|
-
public getDeploymentConfig(
|
|
1100
|
-
args: GetDeploymentConfigCommandInput,
|
|
1101
|
-
options?: __HttpHandlerOptions
|
|
1102
|
-
): Promise<GetDeploymentConfigCommandOutput>;
|
|
1103
|
-
public getDeploymentConfig(
|
|
1104
|
-
args: GetDeploymentConfigCommandInput,
|
|
1105
|
-
cb: (err: any, data?: GetDeploymentConfigCommandOutput) => void
|
|
1106
|
-
): void;
|
|
1107
|
-
public getDeploymentConfig(
|
|
1108
|
-
args: GetDeploymentConfigCommandInput,
|
|
1109
|
-
options: __HttpHandlerOptions,
|
|
1110
|
-
cb: (err: any, data?: GetDeploymentConfigCommandOutput) => void
|
|
1111
|
-
): void;
|
|
1112
|
-
public getDeploymentConfig(
|
|
1113
|
-
args: GetDeploymentConfigCommandInput,
|
|
1114
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetDeploymentConfigCommandOutput) => void),
|
|
1115
|
-
cb?: (err: any, data?: GetDeploymentConfigCommandOutput) => void
|
|
1116
|
-
): Promise<GetDeploymentConfigCommandOutput> | void {
|
|
1117
|
-
const command = new GetDeploymentConfigCommand(args);
|
|
1118
|
-
if (typeof optionsOrCb === "function") {
|
|
1119
|
-
this.send(command, optionsOrCb);
|
|
1120
|
-
} else if (typeof cb === "function") {
|
|
1121
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1122
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1123
|
-
} else {
|
|
1124
|
-
return this.send(command, optionsOrCb);
|
|
1125
|
-
}
|
|
1126
|
-
}
|
|
1127
|
-
|
|
1128
|
-
/**
|
|
1129
|
-
* <p>Gets information about a deployment group.</p>
|
|
1130
|
-
*/
|
|
1131
|
-
public getDeploymentGroup(
|
|
1132
|
-
args: GetDeploymentGroupCommandInput,
|
|
1133
|
-
options?: __HttpHandlerOptions
|
|
1134
|
-
): Promise<GetDeploymentGroupCommandOutput>;
|
|
1135
|
-
public getDeploymentGroup(
|
|
1136
|
-
args: GetDeploymentGroupCommandInput,
|
|
1137
|
-
cb: (err: any, data?: GetDeploymentGroupCommandOutput) => void
|
|
1138
|
-
): void;
|
|
1139
|
-
public getDeploymentGroup(
|
|
1140
|
-
args: GetDeploymentGroupCommandInput,
|
|
1141
|
-
options: __HttpHandlerOptions,
|
|
1142
|
-
cb: (err: any, data?: GetDeploymentGroupCommandOutput) => void
|
|
1143
|
-
): void;
|
|
1144
|
-
public getDeploymentGroup(
|
|
1145
|
-
args: GetDeploymentGroupCommandInput,
|
|
1146
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetDeploymentGroupCommandOutput) => void),
|
|
1147
|
-
cb?: (err: any, data?: GetDeploymentGroupCommandOutput) => void
|
|
1148
|
-
): Promise<GetDeploymentGroupCommandOutput> | void {
|
|
1149
|
-
const command = new GetDeploymentGroupCommand(args);
|
|
1150
|
-
if (typeof optionsOrCb === "function") {
|
|
1151
|
-
this.send(command, optionsOrCb);
|
|
1152
|
-
} else if (typeof cb === "function") {
|
|
1153
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1154
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1155
|
-
} else {
|
|
1156
|
-
return this.send(command, optionsOrCb);
|
|
1157
|
-
}
|
|
1158
|
-
}
|
|
1159
|
-
|
|
1160
|
-
/**
|
|
1161
|
-
* @deprecated
|
|
1162
|
-
*
|
|
1163
|
-
* <p>Gets information about an instance as part of a deployment.</p>
|
|
1164
|
-
*/
|
|
1165
|
-
public getDeploymentInstance(
|
|
1166
|
-
args: GetDeploymentInstanceCommandInput,
|
|
1167
|
-
options?: __HttpHandlerOptions
|
|
1168
|
-
): Promise<GetDeploymentInstanceCommandOutput>;
|
|
1169
|
-
public getDeploymentInstance(
|
|
1170
|
-
args: GetDeploymentInstanceCommandInput,
|
|
1171
|
-
cb: (err: any, data?: GetDeploymentInstanceCommandOutput) => void
|
|
1172
|
-
): void;
|
|
1173
|
-
public getDeploymentInstance(
|
|
1174
|
-
args: GetDeploymentInstanceCommandInput,
|
|
1175
|
-
options: __HttpHandlerOptions,
|
|
1176
|
-
cb: (err: any, data?: GetDeploymentInstanceCommandOutput) => void
|
|
1177
|
-
): void;
|
|
1178
|
-
public getDeploymentInstance(
|
|
1179
|
-
args: GetDeploymentInstanceCommandInput,
|
|
1180
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetDeploymentInstanceCommandOutput) => void),
|
|
1181
|
-
cb?: (err: any, data?: GetDeploymentInstanceCommandOutput) => void
|
|
1182
|
-
): Promise<GetDeploymentInstanceCommandOutput> | void {
|
|
1183
|
-
const command = new GetDeploymentInstanceCommand(args);
|
|
1184
|
-
if (typeof optionsOrCb === "function") {
|
|
1185
|
-
this.send(command, optionsOrCb);
|
|
1186
|
-
} else if (typeof cb === "function") {
|
|
1187
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1188
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1189
|
-
} else {
|
|
1190
|
-
return this.send(command, optionsOrCb);
|
|
1191
|
-
}
|
|
1192
|
-
}
|
|
1193
|
-
|
|
1194
|
-
/**
|
|
1195
|
-
* <p> Returns information about a deployment target. </p>
|
|
1196
|
-
*/
|
|
1197
|
-
public getDeploymentTarget(
|
|
1198
|
-
args: GetDeploymentTargetCommandInput,
|
|
1199
|
-
options?: __HttpHandlerOptions
|
|
1200
|
-
): Promise<GetDeploymentTargetCommandOutput>;
|
|
1201
|
-
public getDeploymentTarget(
|
|
1202
|
-
args: GetDeploymentTargetCommandInput,
|
|
1203
|
-
cb: (err: any, data?: GetDeploymentTargetCommandOutput) => void
|
|
1204
|
-
): void;
|
|
1205
|
-
public getDeploymentTarget(
|
|
1206
|
-
args: GetDeploymentTargetCommandInput,
|
|
1207
|
-
options: __HttpHandlerOptions,
|
|
1208
|
-
cb: (err: any, data?: GetDeploymentTargetCommandOutput) => void
|
|
1209
|
-
): void;
|
|
1210
|
-
public getDeploymentTarget(
|
|
1211
|
-
args: GetDeploymentTargetCommandInput,
|
|
1212
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetDeploymentTargetCommandOutput) => void),
|
|
1213
|
-
cb?: (err: any, data?: GetDeploymentTargetCommandOutput) => void
|
|
1214
|
-
): Promise<GetDeploymentTargetCommandOutput> | void {
|
|
1215
|
-
const command = new GetDeploymentTargetCommand(args);
|
|
1216
|
-
if (typeof optionsOrCb === "function") {
|
|
1217
|
-
this.send(command, optionsOrCb);
|
|
1218
|
-
} else if (typeof cb === "function") {
|
|
1219
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1220
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1221
|
-
} else {
|
|
1222
|
-
return this.send(command, optionsOrCb);
|
|
1223
|
-
}
|
|
1224
|
-
}
|
|
1225
|
-
|
|
1226
|
-
/**
|
|
1227
|
-
* <p> Gets information about an on-premises instance. </p>
|
|
1228
|
-
*/
|
|
1229
|
-
public getOnPremisesInstance(
|
|
1230
|
-
args: GetOnPremisesInstanceCommandInput,
|
|
1231
|
-
options?: __HttpHandlerOptions
|
|
1232
|
-
): Promise<GetOnPremisesInstanceCommandOutput>;
|
|
1233
|
-
public getOnPremisesInstance(
|
|
1234
|
-
args: GetOnPremisesInstanceCommandInput,
|
|
1235
|
-
cb: (err: any, data?: GetOnPremisesInstanceCommandOutput) => void
|
|
1236
|
-
): void;
|
|
1237
|
-
public getOnPremisesInstance(
|
|
1238
|
-
args: GetOnPremisesInstanceCommandInput,
|
|
1239
|
-
options: __HttpHandlerOptions,
|
|
1240
|
-
cb: (err: any, data?: GetOnPremisesInstanceCommandOutput) => void
|
|
1241
|
-
): void;
|
|
1242
|
-
public getOnPremisesInstance(
|
|
1243
|
-
args: GetOnPremisesInstanceCommandInput,
|
|
1244
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: GetOnPremisesInstanceCommandOutput) => void),
|
|
1245
|
-
cb?: (err: any, data?: GetOnPremisesInstanceCommandOutput) => void
|
|
1246
|
-
): Promise<GetOnPremisesInstanceCommandOutput> | void {
|
|
1247
|
-
const command = new GetOnPremisesInstanceCommand(args);
|
|
1248
|
-
if (typeof optionsOrCb === "function") {
|
|
1249
|
-
this.send(command, optionsOrCb);
|
|
1250
|
-
} else if (typeof cb === "function") {
|
|
1251
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1252
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1253
|
-
} else {
|
|
1254
|
-
return this.send(command, optionsOrCb);
|
|
1255
|
-
}
|
|
1256
|
-
}
|
|
1257
|
-
|
|
1258
|
-
/**
|
|
1259
|
-
* <p>Lists information about revisions for an application.</p>
|
|
1260
|
-
*/
|
|
1261
|
-
public listApplicationRevisions(
|
|
1262
|
-
args: ListApplicationRevisionsCommandInput,
|
|
1263
|
-
options?: __HttpHandlerOptions
|
|
1264
|
-
): Promise<ListApplicationRevisionsCommandOutput>;
|
|
1265
|
-
public listApplicationRevisions(
|
|
1266
|
-
args: ListApplicationRevisionsCommandInput,
|
|
1267
|
-
cb: (err: any, data?: ListApplicationRevisionsCommandOutput) => void
|
|
1268
|
-
): void;
|
|
1269
|
-
public listApplicationRevisions(
|
|
1270
|
-
args: ListApplicationRevisionsCommandInput,
|
|
1271
|
-
options: __HttpHandlerOptions,
|
|
1272
|
-
cb: (err: any, data?: ListApplicationRevisionsCommandOutput) => void
|
|
1273
|
-
): void;
|
|
1274
|
-
public listApplicationRevisions(
|
|
1275
|
-
args: ListApplicationRevisionsCommandInput,
|
|
1276
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListApplicationRevisionsCommandOutput) => void),
|
|
1277
|
-
cb?: (err: any, data?: ListApplicationRevisionsCommandOutput) => void
|
|
1278
|
-
): Promise<ListApplicationRevisionsCommandOutput> | void {
|
|
1279
|
-
const command = new ListApplicationRevisionsCommand(args);
|
|
1280
|
-
if (typeof optionsOrCb === "function") {
|
|
1281
|
-
this.send(command, optionsOrCb);
|
|
1282
|
-
} else if (typeof cb === "function") {
|
|
1283
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1284
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1285
|
-
} else {
|
|
1286
|
-
return this.send(command, optionsOrCb);
|
|
1287
|
-
}
|
|
1288
|
-
}
|
|
1289
|
-
|
|
1290
|
-
/**
|
|
1291
|
-
* <p>Lists the applications registered with the IAM user or AWS account.</p>
|
|
1292
|
-
*/
|
|
1293
|
-
public listApplications(
|
|
1294
|
-
args: ListApplicationsCommandInput,
|
|
1295
|
-
options?: __HttpHandlerOptions
|
|
1296
|
-
): Promise<ListApplicationsCommandOutput>;
|
|
1297
|
-
public listApplications(
|
|
1298
|
-
args: ListApplicationsCommandInput,
|
|
1299
|
-
cb: (err: any, data?: ListApplicationsCommandOutput) => void
|
|
1300
|
-
): void;
|
|
1301
|
-
public listApplications(
|
|
1302
|
-
args: ListApplicationsCommandInput,
|
|
1303
|
-
options: __HttpHandlerOptions,
|
|
1304
|
-
cb: (err: any, data?: ListApplicationsCommandOutput) => void
|
|
1305
|
-
): void;
|
|
1306
|
-
public listApplications(
|
|
1307
|
-
args: ListApplicationsCommandInput,
|
|
1308
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListApplicationsCommandOutput) => void),
|
|
1309
|
-
cb?: (err: any, data?: ListApplicationsCommandOutput) => void
|
|
1310
|
-
): Promise<ListApplicationsCommandOutput> | void {
|
|
1311
|
-
const command = new ListApplicationsCommand(args);
|
|
1312
|
-
if (typeof optionsOrCb === "function") {
|
|
1313
|
-
this.send(command, optionsOrCb);
|
|
1314
|
-
} else if (typeof cb === "function") {
|
|
1315
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1316
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1317
|
-
} else {
|
|
1318
|
-
return this.send(command, optionsOrCb);
|
|
1319
|
-
}
|
|
1320
|
-
}
|
|
1321
|
-
|
|
1322
|
-
/**
|
|
1323
|
-
* <p>Lists the deployment configurations with the IAM user or AWS account.</p>
|
|
1324
|
-
*/
|
|
1325
|
-
public listDeploymentConfigs(
|
|
1326
|
-
args: ListDeploymentConfigsCommandInput,
|
|
1327
|
-
options?: __HttpHandlerOptions
|
|
1328
|
-
): Promise<ListDeploymentConfigsCommandOutput>;
|
|
1329
|
-
public listDeploymentConfigs(
|
|
1330
|
-
args: ListDeploymentConfigsCommandInput,
|
|
1331
|
-
cb: (err: any, data?: ListDeploymentConfigsCommandOutput) => void
|
|
1332
|
-
): void;
|
|
1333
|
-
public listDeploymentConfigs(
|
|
1334
|
-
args: ListDeploymentConfigsCommandInput,
|
|
1335
|
-
options: __HttpHandlerOptions,
|
|
1336
|
-
cb: (err: any, data?: ListDeploymentConfigsCommandOutput) => void
|
|
1337
|
-
): void;
|
|
1338
|
-
public listDeploymentConfigs(
|
|
1339
|
-
args: ListDeploymentConfigsCommandInput,
|
|
1340
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListDeploymentConfigsCommandOutput) => void),
|
|
1341
|
-
cb?: (err: any, data?: ListDeploymentConfigsCommandOutput) => void
|
|
1342
|
-
): Promise<ListDeploymentConfigsCommandOutput> | void {
|
|
1343
|
-
const command = new ListDeploymentConfigsCommand(args);
|
|
1344
|
-
if (typeof optionsOrCb === "function") {
|
|
1345
|
-
this.send(command, optionsOrCb);
|
|
1346
|
-
} else if (typeof cb === "function") {
|
|
1347
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1348
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1349
|
-
} else {
|
|
1350
|
-
return this.send(command, optionsOrCb);
|
|
1351
|
-
}
|
|
1352
|
-
}
|
|
1353
|
-
|
|
1354
|
-
/**
|
|
1355
|
-
* <p>Lists the deployment groups for an application registered with the IAM user or AWS
|
|
1356
|
-
* account.</p>
|
|
1357
|
-
*/
|
|
1358
|
-
public listDeploymentGroups(
|
|
1359
|
-
args: ListDeploymentGroupsCommandInput,
|
|
1360
|
-
options?: __HttpHandlerOptions
|
|
1361
|
-
): Promise<ListDeploymentGroupsCommandOutput>;
|
|
1362
|
-
public listDeploymentGroups(
|
|
1363
|
-
args: ListDeploymentGroupsCommandInput,
|
|
1364
|
-
cb: (err: any, data?: ListDeploymentGroupsCommandOutput) => void
|
|
1365
|
-
): void;
|
|
1366
|
-
public listDeploymentGroups(
|
|
1367
|
-
args: ListDeploymentGroupsCommandInput,
|
|
1368
|
-
options: __HttpHandlerOptions,
|
|
1369
|
-
cb: (err: any, data?: ListDeploymentGroupsCommandOutput) => void
|
|
1370
|
-
): void;
|
|
1371
|
-
public listDeploymentGroups(
|
|
1372
|
-
args: ListDeploymentGroupsCommandInput,
|
|
1373
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListDeploymentGroupsCommandOutput) => void),
|
|
1374
|
-
cb?: (err: any, data?: ListDeploymentGroupsCommandOutput) => void
|
|
1375
|
-
): Promise<ListDeploymentGroupsCommandOutput> | void {
|
|
1376
|
-
const command = new ListDeploymentGroupsCommand(args);
|
|
1377
|
-
if (typeof optionsOrCb === "function") {
|
|
1378
|
-
this.send(command, optionsOrCb);
|
|
1379
|
-
} else if (typeof cb === "function") {
|
|
1380
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1381
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1382
|
-
} else {
|
|
1383
|
-
return this.send(command, optionsOrCb);
|
|
1384
|
-
}
|
|
1385
|
-
}
|
|
1386
|
-
|
|
1387
|
-
/**
|
|
1388
|
-
* @deprecated
|
|
1389
|
-
*
|
|
1390
|
-
* <note>
|
|
1391
|
-
* <p> The newer <code>BatchGetDeploymentTargets</code> should be used instead because
|
|
1392
|
-
* it works with all compute types. <code>ListDeploymentInstances</code> throws an
|
|
1393
|
-
* exception if it is used with a compute platform other than EC2/On-premises or AWS
|
|
1394
|
-
* Lambda. </p>
|
|
1395
|
-
* </note>
|
|
1396
|
-
* <p> Lists the instance for a deployment associated with the IAM user or AWS account. </p>
|
|
1397
|
-
*/
|
|
1398
|
-
public listDeploymentInstances(
|
|
1399
|
-
args: ListDeploymentInstancesCommandInput,
|
|
1400
|
-
options?: __HttpHandlerOptions
|
|
1401
|
-
): Promise<ListDeploymentInstancesCommandOutput>;
|
|
1402
|
-
public listDeploymentInstances(
|
|
1403
|
-
args: ListDeploymentInstancesCommandInput,
|
|
1404
|
-
cb: (err: any, data?: ListDeploymentInstancesCommandOutput) => void
|
|
1405
|
-
): void;
|
|
1406
|
-
public listDeploymentInstances(
|
|
1407
|
-
args: ListDeploymentInstancesCommandInput,
|
|
1408
|
-
options: __HttpHandlerOptions,
|
|
1409
|
-
cb: (err: any, data?: ListDeploymentInstancesCommandOutput) => void
|
|
1410
|
-
): void;
|
|
1411
|
-
public listDeploymentInstances(
|
|
1412
|
-
args: ListDeploymentInstancesCommandInput,
|
|
1413
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListDeploymentInstancesCommandOutput) => void),
|
|
1414
|
-
cb?: (err: any, data?: ListDeploymentInstancesCommandOutput) => void
|
|
1415
|
-
): Promise<ListDeploymentInstancesCommandOutput> | void {
|
|
1416
|
-
const command = new ListDeploymentInstancesCommand(args);
|
|
1417
|
-
if (typeof optionsOrCb === "function") {
|
|
1418
|
-
this.send(command, optionsOrCb);
|
|
1419
|
-
} else if (typeof cb === "function") {
|
|
1420
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1421
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1422
|
-
} else {
|
|
1423
|
-
return this.send(command, optionsOrCb);
|
|
1424
|
-
}
|
|
1425
|
-
}
|
|
1426
|
-
|
|
1427
|
-
/**
|
|
1428
|
-
* <p>Lists the deployments in a deployment group for an application registered with the IAM
|
|
1429
|
-
* user or AWS account.</p>
|
|
1430
|
-
*/
|
|
1431
|
-
public listDeployments(
|
|
1432
|
-
args: ListDeploymentsCommandInput,
|
|
1433
|
-
options?: __HttpHandlerOptions
|
|
1434
|
-
): Promise<ListDeploymentsCommandOutput>;
|
|
1435
|
-
public listDeployments(
|
|
1436
|
-
args: ListDeploymentsCommandInput,
|
|
1437
|
-
cb: (err: any, data?: ListDeploymentsCommandOutput) => void
|
|
1438
|
-
): void;
|
|
1439
|
-
public listDeployments(
|
|
1440
|
-
args: ListDeploymentsCommandInput,
|
|
1441
|
-
options: __HttpHandlerOptions,
|
|
1442
|
-
cb: (err: any, data?: ListDeploymentsCommandOutput) => void
|
|
1443
|
-
): void;
|
|
1444
|
-
public listDeployments(
|
|
1445
|
-
args: ListDeploymentsCommandInput,
|
|
1446
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListDeploymentsCommandOutput) => void),
|
|
1447
|
-
cb?: (err: any, data?: ListDeploymentsCommandOutput) => void
|
|
1448
|
-
): Promise<ListDeploymentsCommandOutput> | void {
|
|
1449
|
-
const command = new ListDeploymentsCommand(args);
|
|
1450
|
-
if (typeof optionsOrCb === "function") {
|
|
1451
|
-
this.send(command, optionsOrCb);
|
|
1452
|
-
} else if (typeof cb === "function") {
|
|
1453
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1454
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1455
|
-
} else {
|
|
1456
|
-
return this.send(command, optionsOrCb);
|
|
1457
|
-
}
|
|
1458
|
-
}
|
|
1459
|
-
|
|
1460
|
-
/**
|
|
1461
|
-
* <p> Returns an array of target IDs that are associated a deployment. </p>
|
|
1462
|
-
*/
|
|
1463
|
-
public listDeploymentTargets(
|
|
1464
|
-
args: ListDeploymentTargetsCommandInput,
|
|
1465
|
-
options?: __HttpHandlerOptions
|
|
1466
|
-
): Promise<ListDeploymentTargetsCommandOutput>;
|
|
1467
|
-
public listDeploymentTargets(
|
|
1468
|
-
args: ListDeploymentTargetsCommandInput,
|
|
1469
|
-
cb: (err: any, data?: ListDeploymentTargetsCommandOutput) => void
|
|
1470
|
-
): void;
|
|
1471
|
-
public listDeploymentTargets(
|
|
1472
|
-
args: ListDeploymentTargetsCommandInput,
|
|
1473
|
-
options: __HttpHandlerOptions,
|
|
1474
|
-
cb: (err: any, data?: ListDeploymentTargetsCommandOutput) => void
|
|
1475
|
-
): void;
|
|
1476
|
-
public listDeploymentTargets(
|
|
1477
|
-
args: ListDeploymentTargetsCommandInput,
|
|
1478
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListDeploymentTargetsCommandOutput) => void),
|
|
1479
|
-
cb?: (err: any, data?: ListDeploymentTargetsCommandOutput) => void
|
|
1480
|
-
): Promise<ListDeploymentTargetsCommandOutput> | void {
|
|
1481
|
-
const command = new ListDeploymentTargetsCommand(args);
|
|
1482
|
-
if (typeof optionsOrCb === "function") {
|
|
1483
|
-
this.send(command, optionsOrCb);
|
|
1484
|
-
} else if (typeof cb === "function") {
|
|
1485
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1486
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1487
|
-
} else {
|
|
1488
|
-
return this.send(command, optionsOrCb);
|
|
1489
|
-
}
|
|
1490
|
-
}
|
|
1491
|
-
|
|
1492
|
-
/**
|
|
1493
|
-
* <p>Lists the names of stored connections to GitHub accounts.</p>
|
|
1494
|
-
*/
|
|
1495
|
-
public listGitHubAccountTokenNames(
|
|
1496
|
-
args: ListGitHubAccountTokenNamesCommandInput,
|
|
1497
|
-
options?: __HttpHandlerOptions
|
|
1498
|
-
): Promise<ListGitHubAccountTokenNamesCommandOutput>;
|
|
1499
|
-
public listGitHubAccountTokenNames(
|
|
1500
|
-
args: ListGitHubAccountTokenNamesCommandInput,
|
|
1501
|
-
cb: (err: any, data?: ListGitHubAccountTokenNamesCommandOutput) => void
|
|
1502
|
-
): void;
|
|
1503
|
-
public listGitHubAccountTokenNames(
|
|
1504
|
-
args: ListGitHubAccountTokenNamesCommandInput,
|
|
1505
|
-
options: __HttpHandlerOptions,
|
|
1506
|
-
cb: (err: any, data?: ListGitHubAccountTokenNamesCommandOutput) => void
|
|
1507
|
-
): void;
|
|
1508
|
-
public listGitHubAccountTokenNames(
|
|
1509
|
-
args: ListGitHubAccountTokenNamesCommandInput,
|
|
1510
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListGitHubAccountTokenNamesCommandOutput) => void),
|
|
1511
|
-
cb?: (err: any, data?: ListGitHubAccountTokenNamesCommandOutput) => void
|
|
1512
|
-
): Promise<ListGitHubAccountTokenNamesCommandOutput> | void {
|
|
1513
|
-
const command = new ListGitHubAccountTokenNamesCommand(args);
|
|
1514
|
-
if (typeof optionsOrCb === "function") {
|
|
1515
|
-
this.send(command, optionsOrCb);
|
|
1516
|
-
} else if (typeof cb === "function") {
|
|
1517
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1518
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1519
|
-
} else {
|
|
1520
|
-
return this.send(command, optionsOrCb);
|
|
1521
|
-
}
|
|
1522
|
-
}
|
|
1523
|
-
|
|
1524
|
-
/**
|
|
1525
|
-
* <p>Gets a list of names for one or more on-premises instances.</p>
|
|
1526
|
-
* <p>Unless otherwise specified, both registered and deregistered on-premises instance
|
|
1527
|
-
* names are listed. To list only registered or deregistered on-premises instance names,
|
|
1528
|
-
* use the registration status parameter.</p>
|
|
1529
|
-
*/
|
|
1530
|
-
public listOnPremisesInstances(
|
|
1531
|
-
args: ListOnPremisesInstancesCommandInput,
|
|
1532
|
-
options?: __HttpHandlerOptions
|
|
1533
|
-
): Promise<ListOnPremisesInstancesCommandOutput>;
|
|
1534
|
-
public listOnPremisesInstances(
|
|
1535
|
-
args: ListOnPremisesInstancesCommandInput,
|
|
1536
|
-
cb: (err: any, data?: ListOnPremisesInstancesCommandOutput) => void
|
|
1537
|
-
): void;
|
|
1538
|
-
public listOnPremisesInstances(
|
|
1539
|
-
args: ListOnPremisesInstancesCommandInput,
|
|
1540
|
-
options: __HttpHandlerOptions,
|
|
1541
|
-
cb: (err: any, data?: ListOnPremisesInstancesCommandOutput) => void
|
|
1542
|
-
): void;
|
|
1543
|
-
public listOnPremisesInstances(
|
|
1544
|
-
args: ListOnPremisesInstancesCommandInput,
|
|
1545
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListOnPremisesInstancesCommandOutput) => void),
|
|
1546
|
-
cb?: (err: any, data?: ListOnPremisesInstancesCommandOutput) => void
|
|
1547
|
-
): Promise<ListOnPremisesInstancesCommandOutput> | void {
|
|
1548
|
-
const command = new ListOnPremisesInstancesCommand(args);
|
|
1549
|
-
if (typeof optionsOrCb === "function") {
|
|
1550
|
-
this.send(command, optionsOrCb);
|
|
1551
|
-
} else if (typeof cb === "function") {
|
|
1552
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1553
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1554
|
-
} else {
|
|
1555
|
-
return this.send(command, optionsOrCb);
|
|
1556
|
-
}
|
|
1557
|
-
}
|
|
1558
|
-
|
|
1559
|
-
/**
|
|
1560
|
-
* <p> Returns a list of tags for the resource identified by a specified Amazon Resource
|
|
1561
|
-
* Name (ARN). Tags are used to organize and categorize your CodeDeploy resources. </p>
|
|
1562
|
-
*/
|
|
1563
|
-
public listTagsForResource(
|
|
1564
|
-
args: ListTagsForResourceCommandInput,
|
|
1565
|
-
options?: __HttpHandlerOptions
|
|
1566
|
-
): Promise<ListTagsForResourceCommandOutput>;
|
|
1567
|
-
public listTagsForResource(
|
|
1568
|
-
args: ListTagsForResourceCommandInput,
|
|
1569
|
-
cb: (err: any, data?: ListTagsForResourceCommandOutput) => void
|
|
1570
|
-
): void;
|
|
1571
|
-
public listTagsForResource(
|
|
1572
|
-
args: ListTagsForResourceCommandInput,
|
|
1573
|
-
options: __HttpHandlerOptions,
|
|
1574
|
-
cb: (err: any, data?: ListTagsForResourceCommandOutput) => void
|
|
1575
|
-
): void;
|
|
1576
|
-
public listTagsForResource(
|
|
1577
|
-
args: ListTagsForResourceCommandInput,
|
|
1578
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: ListTagsForResourceCommandOutput) => void),
|
|
1579
|
-
cb?: (err: any, data?: ListTagsForResourceCommandOutput) => void
|
|
1580
|
-
): Promise<ListTagsForResourceCommandOutput> | void {
|
|
1581
|
-
const command = new ListTagsForResourceCommand(args);
|
|
1582
|
-
if (typeof optionsOrCb === "function") {
|
|
1583
|
-
this.send(command, optionsOrCb);
|
|
1584
|
-
} else if (typeof cb === "function") {
|
|
1585
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1586
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1587
|
-
} else {
|
|
1588
|
-
return this.send(command, optionsOrCb);
|
|
1589
|
-
}
|
|
1590
|
-
}
|
|
1591
|
-
|
|
1592
|
-
/**
|
|
1593
|
-
* <p> Sets the result of a Lambda validation function. The function validates lifecycle
|
|
1594
|
-
* hooks during a deployment that uses the AWS Lambda or Amazon ECS compute platform. For
|
|
1595
|
-
* AWS Lambda deployments, the available lifecycle hooks are
|
|
1596
|
-
* <code>BeforeAllowTraffic</code> and <code>AfterAllowTraffic</code>. For Amazon ECS
|
|
1597
|
-
* deployments, the available lifecycle hooks are <code>BeforeInstall</code>,
|
|
1598
|
-
* <code>AfterInstall</code>, <code>AfterAllowTestTraffic</code>,
|
|
1599
|
-
* <code>BeforeAllowTraffic</code>, and <code>AfterAllowTraffic</code>. Lambda
|
|
1600
|
-
* validation functions return <code>Succeeded</code> or <code>Failed</code>. For more
|
|
1601
|
-
* information, see <a href="https://docs.aws.amazon.com/codedeploy/latest/userguide/reference-appspec-file-structure-hooks.html#appspec-hooks-lambda">AppSpec 'hooks' Section for an AWS Lambda Deployment </a> and <a href="https://docs.aws.amazon.com/codedeploy/latest/userguide/reference-appspec-file-structure-hooks.html#appspec-hooks-ecs">AppSpec 'hooks' Section for an Amazon ECS Deployment</a>.</p>
|
|
1602
|
-
*/
|
|
1603
|
-
public putLifecycleEventHookExecutionStatus(
|
|
1604
|
-
args: PutLifecycleEventHookExecutionStatusCommandInput,
|
|
1605
|
-
options?: __HttpHandlerOptions
|
|
1606
|
-
): Promise<PutLifecycleEventHookExecutionStatusCommandOutput>;
|
|
1607
|
-
public putLifecycleEventHookExecutionStatus(
|
|
1608
|
-
args: PutLifecycleEventHookExecutionStatusCommandInput,
|
|
1609
|
-
cb: (err: any, data?: PutLifecycleEventHookExecutionStatusCommandOutput) => void
|
|
1610
|
-
): void;
|
|
1611
|
-
public putLifecycleEventHookExecutionStatus(
|
|
1612
|
-
args: PutLifecycleEventHookExecutionStatusCommandInput,
|
|
1613
|
-
options: __HttpHandlerOptions,
|
|
1614
|
-
cb: (err: any, data?: PutLifecycleEventHookExecutionStatusCommandOutput) => void
|
|
1615
|
-
): void;
|
|
1616
|
-
public putLifecycleEventHookExecutionStatus(
|
|
1617
|
-
args: PutLifecycleEventHookExecutionStatusCommandInput,
|
|
1618
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: PutLifecycleEventHookExecutionStatusCommandOutput) => void),
|
|
1619
|
-
cb?: (err: any, data?: PutLifecycleEventHookExecutionStatusCommandOutput) => void
|
|
1620
|
-
): Promise<PutLifecycleEventHookExecutionStatusCommandOutput> | void {
|
|
1621
|
-
const command = new PutLifecycleEventHookExecutionStatusCommand(args);
|
|
1622
|
-
if (typeof optionsOrCb === "function") {
|
|
1623
|
-
this.send(command, optionsOrCb);
|
|
1624
|
-
} else if (typeof cb === "function") {
|
|
1625
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1626
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1627
|
-
} else {
|
|
1628
|
-
return this.send(command, optionsOrCb);
|
|
1629
|
-
}
|
|
1630
|
-
}
|
|
1631
|
-
|
|
1632
|
-
/**
|
|
1633
|
-
* <p>Registers with AWS CodeDeploy a revision for the specified application.</p>
|
|
1634
|
-
*/
|
|
1635
|
-
public registerApplicationRevision(
|
|
1636
|
-
args: RegisterApplicationRevisionCommandInput,
|
|
1637
|
-
options?: __HttpHandlerOptions
|
|
1638
|
-
): Promise<RegisterApplicationRevisionCommandOutput>;
|
|
1639
|
-
public registerApplicationRevision(
|
|
1640
|
-
args: RegisterApplicationRevisionCommandInput,
|
|
1641
|
-
cb: (err: any, data?: RegisterApplicationRevisionCommandOutput) => void
|
|
1642
|
-
): void;
|
|
1643
|
-
public registerApplicationRevision(
|
|
1644
|
-
args: RegisterApplicationRevisionCommandInput,
|
|
1645
|
-
options: __HttpHandlerOptions,
|
|
1646
|
-
cb: (err: any, data?: RegisterApplicationRevisionCommandOutput) => void
|
|
1647
|
-
): void;
|
|
1648
|
-
public registerApplicationRevision(
|
|
1649
|
-
args: RegisterApplicationRevisionCommandInput,
|
|
1650
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: RegisterApplicationRevisionCommandOutput) => void),
|
|
1651
|
-
cb?: (err: any, data?: RegisterApplicationRevisionCommandOutput) => void
|
|
1652
|
-
): Promise<RegisterApplicationRevisionCommandOutput> | void {
|
|
1653
|
-
const command = new RegisterApplicationRevisionCommand(args);
|
|
1654
|
-
if (typeof optionsOrCb === "function") {
|
|
1655
|
-
this.send(command, optionsOrCb);
|
|
1656
|
-
} else if (typeof cb === "function") {
|
|
1657
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1658
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1659
|
-
} else {
|
|
1660
|
-
return this.send(command, optionsOrCb);
|
|
1661
|
-
}
|
|
1662
|
-
}
|
|
1663
|
-
|
|
1664
|
-
/**
|
|
1665
|
-
* <p>Registers an on-premises instance.</p>
|
|
1666
|
-
* <note>
|
|
1667
|
-
* <p>Only one IAM ARN (an IAM session ARN or IAM user ARN) is supported in the request.
|
|
1668
|
-
* You cannot use both.</p>
|
|
1669
|
-
* </note>
|
|
1670
|
-
*/
|
|
1671
|
-
public registerOnPremisesInstance(
|
|
1672
|
-
args: RegisterOnPremisesInstanceCommandInput,
|
|
1673
|
-
options?: __HttpHandlerOptions
|
|
1674
|
-
): Promise<RegisterOnPremisesInstanceCommandOutput>;
|
|
1675
|
-
public registerOnPremisesInstance(
|
|
1676
|
-
args: RegisterOnPremisesInstanceCommandInput,
|
|
1677
|
-
cb: (err: any, data?: RegisterOnPremisesInstanceCommandOutput) => void
|
|
1678
|
-
): void;
|
|
1679
|
-
public registerOnPremisesInstance(
|
|
1680
|
-
args: RegisterOnPremisesInstanceCommandInput,
|
|
1681
|
-
options: __HttpHandlerOptions,
|
|
1682
|
-
cb: (err: any, data?: RegisterOnPremisesInstanceCommandOutput) => void
|
|
1683
|
-
): void;
|
|
1684
|
-
public registerOnPremisesInstance(
|
|
1685
|
-
args: RegisterOnPremisesInstanceCommandInput,
|
|
1686
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: RegisterOnPremisesInstanceCommandOutput) => void),
|
|
1687
|
-
cb?: (err: any, data?: RegisterOnPremisesInstanceCommandOutput) => void
|
|
1688
|
-
): Promise<RegisterOnPremisesInstanceCommandOutput> | void {
|
|
1689
|
-
const command = new RegisterOnPremisesInstanceCommand(args);
|
|
1690
|
-
if (typeof optionsOrCb === "function") {
|
|
1691
|
-
this.send(command, optionsOrCb);
|
|
1692
|
-
} else if (typeof cb === "function") {
|
|
1693
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1694
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1695
|
-
} else {
|
|
1696
|
-
return this.send(command, optionsOrCb);
|
|
1697
|
-
}
|
|
1698
|
-
}
|
|
1699
|
-
|
|
1700
|
-
/**
|
|
1701
|
-
* <p>Removes one or more tags from one or more on-premises instances.</p>
|
|
1702
|
-
*/
|
|
1703
|
-
public removeTagsFromOnPremisesInstances(
|
|
1704
|
-
args: RemoveTagsFromOnPremisesInstancesCommandInput,
|
|
1705
|
-
options?: __HttpHandlerOptions
|
|
1706
|
-
): Promise<RemoveTagsFromOnPremisesInstancesCommandOutput>;
|
|
1707
|
-
public removeTagsFromOnPremisesInstances(
|
|
1708
|
-
args: RemoveTagsFromOnPremisesInstancesCommandInput,
|
|
1709
|
-
cb: (err: any, data?: RemoveTagsFromOnPremisesInstancesCommandOutput) => void
|
|
1710
|
-
): void;
|
|
1711
|
-
public removeTagsFromOnPremisesInstances(
|
|
1712
|
-
args: RemoveTagsFromOnPremisesInstancesCommandInput,
|
|
1713
|
-
options: __HttpHandlerOptions,
|
|
1714
|
-
cb: (err: any, data?: RemoveTagsFromOnPremisesInstancesCommandOutput) => void
|
|
1715
|
-
): void;
|
|
1716
|
-
public removeTagsFromOnPremisesInstances(
|
|
1717
|
-
args: RemoveTagsFromOnPremisesInstancesCommandInput,
|
|
1718
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: RemoveTagsFromOnPremisesInstancesCommandOutput) => void),
|
|
1719
|
-
cb?: (err: any, data?: RemoveTagsFromOnPremisesInstancesCommandOutput) => void
|
|
1720
|
-
): Promise<RemoveTagsFromOnPremisesInstancesCommandOutput> | void {
|
|
1721
|
-
const command = new RemoveTagsFromOnPremisesInstancesCommand(args);
|
|
1722
|
-
if (typeof optionsOrCb === "function") {
|
|
1723
|
-
this.send(command, optionsOrCb);
|
|
1724
|
-
} else if (typeof cb === "function") {
|
|
1725
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1726
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1727
|
-
} else {
|
|
1728
|
-
return this.send(command, optionsOrCb);
|
|
1729
|
-
}
|
|
1730
|
-
}
|
|
1731
|
-
|
|
1732
|
-
/**
|
|
1733
|
-
* @deprecated
|
|
1734
|
-
*
|
|
1735
|
-
* <p>In a blue/green deployment, overrides any specified wait time and starts terminating
|
|
1736
|
-
* instances immediately after the traffic routing is complete.</p>
|
|
1737
|
-
*/
|
|
1738
|
-
public skipWaitTimeForInstanceTermination(
|
|
1739
|
-
args: SkipWaitTimeForInstanceTerminationCommandInput,
|
|
1740
|
-
options?: __HttpHandlerOptions
|
|
1741
|
-
): Promise<SkipWaitTimeForInstanceTerminationCommandOutput>;
|
|
1742
|
-
public skipWaitTimeForInstanceTermination(
|
|
1743
|
-
args: SkipWaitTimeForInstanceTerminationCommandInput,
|
|
1744
|
-
cb: (err: any, data?: SkipWaitTimeForInstanceTerminationCommandOutput) => void
|
|
1745
|
-
): void;
|
|
1746
|
-
public skipWaitTimeForInstanceTermination(
|
|
1747
|
-
args: SkipWaitTimeForInstanceTerminationCommandInput,
|
|
1748
|
-
options: __HttpHandlerOptions,
|
|
1749
|
-
cb: (err: any, data?: SkipWaitTimeForInstanceTerminationCommandOutput) => void
|
|
1750
|
-
): void;
|
|
1751
|
-
public skipWaitTimeForInstanceTermination(
|
|
1752
|
-
args: SkipWaitTimeForInstanceTerminationCommandInput,
|
|
1753
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: SkipWaitTimeForInstanceTerminationCommandOutput) => void),
|
|
1754
|
-
cb?: (err: any, data?: SkipWaitTimeForInstanceTerminationCommandOutput) => void
|
|
1755
|
-
): Promise<SkipWaitTimeForInstanceTerminationCommandOutput> | void {
|
|
1756
|
-
const command = new SkipWaitTimeForInstanceTerminationCommand(args);
|
|
1757
|
-
if (typeof optionsOrCb === "function") {
|
|
1758
|
-
this.send(command, optionsOrCb);
|
|
1759
|
-
} else if (typeof cb === "function") {
|
|
1760
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1761
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1762
|
-
} else {
|
|
1763
|
-
return this.send(command, optionsOrCb);
|
|
1764
|
-
}
|
|
1765
|
-
}
|
|
1766
|
-
|
|
1767
|
-
/**
|
|
1768
|
-
* <p>Attempts to stop an ongoing deployment.</p>
|
|
1769
|
-
*/
|
|
1770
|
-
public stopDeployment(
|
|
1771
|
-
args: StopDeploymentCommandInput,
|
|
1772
|
-
options?: __HttpHandlerOptions
|
|
1773
|
-
): Promise<StopDeploymentCommandOutput>;
|
|
1774
|
-
public stopDeployment(
|
|
1775
|
-
args: StopDeploymentCommandInput,
|
|
1776
|
-
cb: (err: any, data?: StopDeploymentCommandOutput) => void
|
|
1777
|
-
): void;
|
|
1778
|
-
public stopDeployment(
|
|
1779
|
-
args: StopDeploymentCommandInput,
|
|
1780
|
-
options: __HttpHandlerOptions,
|
|
1781
|
-
cb: (err: any, data?: StopDeploymentCommandOutput) => void
|
|
1782
|
-
): void;
|
|
1783
|
-
public stopDeployment(
|
|
1784
|
-
args: StopDeploymentCommandInput,
|
|
1785
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: StopDeploymentCommandOutput) => void),
|
|
1786
|
-
cb?: (err: any, data?: StopDeploymentCommandOutput) => void
|
|
1787
|
-
): Promise<StopDeploymentCommandOutput> | void {
|
|
1788
|
-
const command = new StopDeploymentCommand(args);
|
|
1789
|
-
if (typeof optionsOrCb === "function") {
|
|
1790
|
-
this.send(command, optionsOrCb);
|
|
1791
|
-
} else if (typeof cb === "function") {
|
|
1792
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1793
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1794
|
-
} else {
|
|
1795
|
-
return this.send(command, optionsOrCb);
|
|
1796
|
-
}
|
|
1797
|
-
}
|
|
1798
|
-
|
|
1799
|
-
/**
|
|
1800
|
-
* <p> Associates the list of tags in the input <code>Tags</code> parameter with the
|
|
1801
|
-
* resource identified by the <code>ResourceArn</code> input parameter. </p>
|
|
1802
|
-
*/
|
|
1803
|
-
public tagResource(args: TagResourceCommandInput, options?: __HttpHandlerOptions): Promise<TagResourceCommandOutput>;
|
|
1804
|
-
public tagResource(args: TagResourceCommandInput, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
|
|
1805
|
-
public tagResource(
|
|
1806
|
-
args: TagResourceCommandInput,
|
|
1807
|
-
options: __HttpHandlerOptions,
|
|
1808
|
-
cb: (err: any, data?: TagResourceCommandOutput) => void
|
|
1809
|
-
): void;
|
|
1810
|
-
public tagResource(
|
|
1811
|
-
args: TagResourceCommandInput,
|
|
1812
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: TagResourceCommandOutput) => void),
|
|
1813
|
-
cb?: (err: any, data?: TagResourceCommandOutput) => void
|
|
1814
|
-
): Promise<TagResourceCommandOutput> | void {
|
|
1815
|
-
const command = new TagResourceCommand(args);
|
|
1816
|
-
if (typeof optionsOrCb === "function") {
|
|
1817
|
-
this.send(command, optionsOrCb);
|
|
1818
|
-
} else if (typeof cb === "function") {
|
|
1819
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1820
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1821
|
-
} else {
|
|
1822
|
-
return this.send(command, optionsOrCb);
|
|
1823
|
-
}
|
|
1824
|
-
}
|
|
1825
|
-
|
|
1826
|
-
/**
|
|
1827
|
-
* <p> Disassociates a resource from a list of tags. The resource is identified by the
|
|
1828
|
-
* <code>ResourceArn</code> input parameter. The tags are identified by the list of
|
|
1829
|
-
* keys in the <code>TagKeys</code> input parameter. </p>
|
|
1830
|
-
*/
|
|
1831
|
-
public untagResource(
|
|
1832
|
-
args: UntagResourceCommandInput,
|
|
1833
|
-
options?: __HttpHandlerOptions
|
|
1834
|
-
): Promise<UntagResourceCommandOutput>;
|
|
1835
|
-
public untagResource(
|
|
1836
|
-
args: UntagResourceCommandInput,
|
|
1837
|
-
cb: (err: any, data?: UntagResourceCommandOutput) => void
|
|
1838
|
-
): void;
|
|
1839
|
-
public untagResource(
|
|
1840
|
-
args: UntagResourceCommandInput,
|
|
1841
|
-
options: __HttpHandlerOptions,
|
|
1842
|
-
cb: (err: any, data?: UntagResourceCommandOutput) => void
|
|
1843
|
-
): void;
|
|
1844
|
-
public untagResource(
|
|
1845
|
-
args: UntagResourceCommandInput,
|
|
1846
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: UntagResourceCommandOutput) => void),
|
|
1847
|
-
cb?: (err: any, data?: UntagResourceCommandOutput) => void
|
|
1848
|
-
): Promise<UntagResourceCommandOutput> | void {
|
|
1849
|
-
const command = new UntagResourceCommand(args);
|
|
1850
|
-
if (typeof optionsOrCb === "function") {
|
|
1851
|
-
this.send(command, optionsOrCb);
|
|
1852
|
-
} else if (typeof cb === "function") {
|
|
1853
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1854
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1855
|
-
} else {
|
|
1856
|
-
return this.send(command, optionsOrCb);
|
|
1857
|
-
}
|
|
1858
|
-
}
|
|
1859
|
-
|
|
1860
|
-
/**
|
|
1861
|
-
* <p>Changes the name of an application.</p>
|
|
1862
|
-
*/
|
|
1863
|
-
public updateApplication(
|
|
1864
|
-
args: UpdateApplicationCommandInput,
|
|
1865
|
-
options?: __HttpHandlerOptions
|
|
1866
|
-
): Promise<UpdateApplicationCommandOutput>;
|
|
1867
|
-
public updateApplication(
|
|
1868
|
-
args: UpdateApplicationCommandInput,
|
|
1869
|
-
cb: (err: any, data?: UpdateApplicationCommandOutput) => void
|
|
1870
|
-
): void;
|
|
1871
|
-
public updateApplication(
|
|
1872
|
-
args: UpdateApplicationCommandInput,
|
|
1873
|
-
options: __HttpHandlerOptions,
|
|
1874
|
-
cb: (err: any, data?: UpdateApplicationCommandOutput) => void
|
|
1875
|
-
): void;
|
|
1876
|
-
public updateApplication(
|
|
1877
|
-
args: UpdateApplicationCommandInput,
|
|
1878
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: UpdateApplicationCommandOutput) => void),
|
|
1879
|
-
cb?: (err: any, data?: UpdateApplicationCommandOutput) => void
|
|
1880
|
-
): Promise<UpdateApplicationCommandOutput> | void {
|
|
1881
|
-
const command = new UpdateApplicationCommand(args);
|
|
1882
|
-
if (typeof optionsOrCb === "function") {
|
|
1883
|
-
this.send(command, optionsOrCb);
|
|
1884
|
-
} else if (typeof cb === "function") {
|
|
1885
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1886
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1887
|
-
} else {
|
|
1888
|
-
return this.send(command, optionsOrCb);
|
|
1889
|
-
}
|
|
1890
|
-
}
|
|
1891
|
-
|
|
1892
|
-
/**
|
|
1893
|
-
* <p>Changes information about a deployment group.</p>
|
|
1894
|
-
*/
|
|
1895
|
-
public updateDeploymentGroup(
|
|
1896
|
-
args: UpdateDeploymentGroupCommandInput,
|
|
1897
|
-
options?: __HttpHandlerOptions
|
|
1898
|
-
): Promise<UpdateDeploymentGroupCommandOutput>;
|
|
1899
|
-
public updateDeploymentGroup(
|
|
1900
|
-
args: UpdateDeploymentGroupCommandInput,
|
|
1901
|
-
cb: (err: any, data?: UpdateDeploymentGroupCommandOutput) => void
|
|
1902
|
-
): void;
|
|
1903
|
-
public updateDeploymentGroup(
|
|
1904
|
-
args: UpdateDeploymentGroupCommandInput,
|
|
1905
|
-
options: __HttpHandlerOptions,
|
|
1906
|
-
cb: (err: any, data?: UpdateDeploymentGroupCommandOutput) => void
|
|
1907
|
-
): void;
|
|
1908
|
-
public updateDeploymentGroup(
|
|
1909
|
-
args: UpdateDeploymentGroupCommandInput,
|
|
1910
|
-
optionsOrCb?: __HttpHandlerOptions | ((err: any, data?: UpdateDeploymentGroupCommandOutput) => void),
|
|
1911
|
-
cb?: (err: any, data?: UpdateDeploymentGroupCommandOutput) => void
|
|
1912
|
-
): Promise<UpdateDeploymentGroupCommandOutput> | void {
|
|
1913
|
-
const command = new UpdateDeploymentGroupCommand(args);
|
|
1914
|
-
if (typeof optionsOrCb === "function") {
|
|
1915
|
-
this.send(command, optionsOrCb);
|
|
1916
|
-
} else if (typeof cb === "function") {
|
|
1917
|
-
if (typeof optionsOrCb !== "object") throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
1918
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
1919
|
-
} else {
|
|
1920
|
-
return this.send(command, optionsOrCb);
|
|
1921
|
-
}
|
|
1922
|
-
}
|
|
1923
|
-
}
|