@aws-sdk/client-codedeploy 3.36.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.
Files changed (119) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/dist-cjs/CodeDeploy.js +0 -102
  3. package/dist-cjs/CodeDeployClient.js +0 -107
  4. package/dist-cjs/commands/AddTagsToOnPremisesInstancesCommand.js +0 -24
  5. package/dist-cjs/commands/BatchGetApplicationRevisionsCommand.js +0 -25
  6. package/dist-cjs/commands/BatchGetApplicationsCommand.js +0 -25
  7. package/dist-cjs/commands/BatchGetDeploymentGroupsCommand.js +0 -24
  8. package/dist-cjs/commands/BatchGetDeploymentInstancesCommand.js +0 -33
  9. package/dist-cjs/commands/BatchGetDeploymentTargetsCommand.js +0 -51
  10. package/dist-cjs/commands/BatchGetDeploymentsCommand.js +0 -25
  11. package/dist-cjs/commands/BatchGetOnPremisesInstancesCommand.js +0 -25
  12. package/dist-cjs/commands/ContinueDeploymentCommand.js +0 -28
  13. package/dist-cjs/commands/CreateApplicationCommand.js +0 -24
  14. package/dist-cjs/commands/CreateDeploymentCommand.js +0 -24
  15. package/dist-cjs/commands/CreateDeploymentConfigCommand.js +0 -24
  16. package/dist-cjs/commands/CreateDeploymentGroupCommand.js +0 -24
  17. package/dist-cjs/commands/DeleteApplicationCommand.js +0 -24
  18. package/dist-cjs/commands/DeleteDeploymentConfigCommand.js +0 -28
  19. package/dist-cjs/commands/DeleteDeploymentGroupCommand.js +0 -24
  20. package/dist-cjs/commands/DeleteGitHubAccountTokenCommand.js +0 -24
  21. package/dist-cjs/commands/DeleteResourcesByExternalIdCommand.js +0 -24
  22. package/dist-cjs/commands/DeregisterOnPremisesInstanceCommand.js +0 -24
  23. package/dist-cjs/commands/GetApplicationCommand.js +0 -24
  24. package/dist-cjs/commands/GetApplicationRevisionCommand.js +0 -24
  25. package/dist-cjs/commands/GetDeploymentCommand.js +0 -30
  26. package/dist-cjs/commands/GetDeploymentConfigCommand.js +0 -24
  27. package/dist-cjs/commands/GetDeploymentGroupCommand.js +0 -24
  28. package/dist-cjs/commands/GetDeploymentInstanceCommand.js +0 -26
  29. package/dist-cjs/commands/GetDeploymentTargetCommand.js +0 -24
  30. package/dist-cjs/commands/GetOnPremisesInstanceCommand.js +0 -24
  31. package/dist-cjs/commands/ListApplicationRevisionsCommand.js +0 -24
  32. package/dist-cjs/commands/ListApplicationsCommand.js +0 -24
  33. package/dist-cjs/commands/ListDeploymentConfigsCommand.js +0 -24
  34. package/dist-cjs/commands/ListDeploymentGroupsCommand.js +0 -25
  35. package/dist-cjs/commands/ListDeploymentInstancesCommand.js +0 -32
  36. package/dist-cjs/commands/ListDeploymentTargetsCommand.js +0 -24
  37. package/dist-cjs/commands/ListDeploymentsCommand.js +0 -25
  38. package/dist-cjs/commands/ListGitHubAccountTokenNamesCommand.js +0 -24
  39. package/dist-cjs/commands/ListOnPremisesInstancesCommand.js +0 -27
  40. package/dist-cjs/commands/ListTagsForResourceCommand.js +0 -25
  41. package/dist-cjs/commands/PutLifecycleEventHookExecutionStatusCommand.js +0 -32
  42. package/dist-cjs/commands/RegisterApplicationRevisionCommand.js +0 -24
  43. package/dist-cjs/commands/RegisterOnPremisesInstanceCommand.js +0 -28
  44. package/dist-cjs/commands/RemoveTagsFromOnPremisesInstancesCommand.js +0 -24
  45. package/dist-cjs/commands/SkipWaitTimeForInstanceTerminationCommand.js +0 -27
  46. package/dist-cjs/commands/StopDeploymentCommand.js +0 -24
  47. package/dist-cjs/commands/TagResourceCommand.js +0 -25
  48. package/dist-cjs/commands/UntagResourceCommand.js +0 -26
  49. package/dist-cjs/commands/UpdateApplicationCommand.js +0 -24
  50. package/dist-cjs/commands/UpdateDeploymentGroupCommand.js +0 -24
  51. package/dist-cjs/models/models_0.js +0 -741
  52. package/dist-cjs/pagination/ListApplicationRevisionsPaginator.js +0 -10
  53. package/dist-cjs/pagination/ListApplicationsPaginator.js +0 -10
  54. package/dist-cjs/pagination/ListDeploymentConfigsPaginator.js +0 -10
  55. package/dist-cjs/pagination/ListDeploymentGroupsPaginator.js +0 -10
  56. package/dist-cjs/pagination/ListDeploymentInstancesPaginator.js +0 -10
  57. package/dist-cjs/pagination/ListDeploymentsPaginator.js +0 -10
  58. package/dist-cjs/protocols/Aws_json1_1.js +0 -5
  59. package/dist-cjs/runtimeConfig.browser.js +1 -5
  60. package/dist-cjs/runtimeConfig.js +1 -5
  61. package/dist-cjs/runtimeConfig.native.js +0 -3
  62. package/dist-cjs/runtimeConfig.shared.js +0 -3
  63. package/dist-cjs/waiters/waitForDeploymentSuccessful.js +0 -9
  64. package/dist-types/ts3.4/CodeDeploy.d.ts +48 -331
  65. package/dist-types/ts3.4/CodeDeployClient.d.ts +24 -188
  66. package/dist-types/ts3.4/commands/AddTagsToOnPremisesInstancesCommand.d.ts +2 -20
  67. package/dist-types/ts3.4/commands/BatchGetApplicationRevisionsCommand.d.ts +2 -21
  68. package/dist-types/ts3.4/commands/BatchGetApplicationsCommand.d.ts +2 -21
  69. package/dist-types/ts3.4/commands/BatchGetDeploymentGroupsCommand.d.ts +2 -20
  70. package/dist-types/ts3.4/commands/BatchGetDeploymentInstancesCommand.d.ts +2 -29
  71. package/dist-types/ts3.4/commands/BatchGetDeploymentTargetsCommand.d.ts +2 -47
  72. package/dist-types/ts3.4/commands/BatchGetDeploymentsCommand.d.ts +2 -21
  73. package/dist-types/ts3.4/commands/BatchGetOnPremisesInstancesCommand.d.ts +2 -21
  74. package/dist-types/ts3.4/commands/ContinueDeploymentCommand.d.ts +2 -24
  75. package/dist-types/ts3.4/commands/CreateApplicationCommand.d.ts +2 -20
  76. package/dist-types/ts3.4/commands/CreateDeploymentCommand.d.ts +2 -20
  77. package/dist-types/ts3.4/commands/CreateDeploymentConfigCommand.d.ts +2 -20
  78. package/dist-types/ts3.4/commands/CreateDeploymentGroupCommand.d.ts +2 -20
  79. package/dist-types/ts3.4/commands/DeleteApplicationCommand.d.ts +2 -20
  80. package/dist-types/ts3.4/commands/DeleteDeploymentConfigCommand.d.ts +2 -24
  81. package/dist-types/ts3.4/commands/DeleteDeploymentGroupCommand.d.ts +2 -20
  82. package/dist-types/ts3.4/commands/DeleteGitHubAccountTokenCommand.d.ts +2 -20
  83. package/dist-types/ts3.4/commands/DeleteResourcesByExternalIdCommand.d.ts +2 -20
  84. package/dist-types/ts3.4/commands/DeregisterOnPremisesInstanceCommand.d.ts +2 -20
  85. package/dist-types/ts3.4/commands/GetApplicationCommand.d.ts +2 -20
  86. package/dist-types/ts3.4/commands/GetApplicationRevisionCommand.d.ts +2 -20
  87. package/dist-types/ts3.4/commands/GetDeploymentCommand.d.ts +2 -26
  88. package/dist-types/ts3.4/commands/GetDeploymentConfigCommand.d.ts +2 -20
  89. package/dist-types/ts3.4/commands/GetDeploymentGroupCommand.d.ts +2 -20
  90. package/dist-types/ts3.4/commands/GetDeploymentInstanceCommand.d.ts +2 -22
  91. package/dist-types/ts3.4/commands/GetDeploymentTargetCommand.d.ts +2 -20
  92. package/dist-types/ts3.4/commands/GetOnPremisesInstanceCommand.d.ts +2 -20
  93. package/dist-types/ts3.4/commands/ListApplicationRevisionsCommand.d.ts +2 -20
  94. package/dist-types/ts3.4/commands/ListApplicationsCommand.d.ts +2 -20
  95. package/dist-types/ts3.4/commands/ListDeploymentConfigsCommand.d.ts +2 -20
  96. package/dist-types/ts3.4/commands/ListDeploymentGroupsCommand.d.ts +2 -21
  97. package/dist-types/ts3.4/commands/ListDeploymentInstancesCommand.d.ts +2 -28
  98. package/dist-types/ts3.4/commands/ListDeploymentTargetsCommand.d.ts +2 -20
  99. package/dist-types/ts3.4/commands/ListDeploymentsCommand.d.ts +2 -21
  100. package/dist-types/ts3.4/commands/ListGitHubAccountTokenNamesCommand.d.ts +2 -20
  101. package/dist-types/ts3.4/commands/ListOnPremisesInstancesCommand.d.ts +2 -23
  102. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +2 -21
  103. package/dist-types/ts3.4/commands/PutLifecycleEventHookExecutionStatusCommand.d.ts +2 -28
  104. package/dist-types/ts3.4/commands/RegisterApplicationRevisionCommand.d.ts +2 -20
  105. package/dist-types/ts3.4/commands/RegisterOnPremisesInstanceCommand.d.ts +2 -24
  106. package/dist-types/ts3.4/commands/RemoveTagsFromOnPremisesInstancesCommand.d.ts +2 -20
  107. package/dist-types/ts3.4/commands/SkipWaitTimeForInstanceTerminationCommand.d.ts +2 -23
  108. package/dist-types/ts3.4/commands/StopDeploymentCommand.d.ts +2 -20
  109. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +2 -21
  110. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +2 -22
  111. package/dist-types/ts3.4/commands/UpdateApplicationCommand.d.ts +2 -20
  112. package/dist-types/ts3.4/commands/UpdateDeploymentGroupCommand.d.ts +2 -20
  113. package/dist-types/ts3.4/models/models_0.d.ts +1001 -4081
  114. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -3
  115. package/dist-types/ts3.4/runtimeConfig.d.ts +1 -3
  116. package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -3
  117. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -3
  118. package/dist-types/ts3.4/waiters/waitForDeploymentSuccessful.d.ts +2 -9
  119. package/package.json +3 -3
package/CHANGELOG.md CHANGED
@@ -3,6 +3,17 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [3.36.1](https://github.com/aws/aws-sdk-js-v3/compare/v3.36.0...v3.36.1) (2021-10-12)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+ * **clients:** emitDeclarationOnly in tsconfig.types.json ([#2893](https://github.com/aws/aws-sdk-js-v3/issues/2893)) ([6dc3d56](https://github.com/aws/aws-sdk-js-v3/commit/6dc3d56c20809c90cbdc4dd48627eeebc64af99d))
12
+
13
+
14
+
15
+
16
+
6
17
  # [3.36.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.35.0...v3.36.0) (2021-10-08)
7
18
 
8
19
 
@@ -49,108 +49,6 @@ const TagResourceCommand_1 = require("./commands/TagResourceCommand");
49
49
  const UntagResourceCommand_1 = require("./commands/UntagResourceCommand");
50
50
  const UpdateApplicationCommand_1 = require("./commands/UpdateApplicationCommand");
51
51
  const UpdateDeploymentGroupCommand_1 = require("./commands/UpdateDeploymentGroupCommand");
52
- /**
53
- * <fullname>AWS CodeDeploy</fullname>
54
- * <p>AWS CodeDeploy is a deployment service that automates application deployments to
55
- * Amazon EC2 instances, on-premises instances running in your own facility, serverless AWS
56
- * Lambda functions, or applications in an Amazon ECS service.</p>
57
- * <p>You can deploy a nearly unlimited variety of application content, such as an updated
58
- * Lambda function, updated applications in an Amazon ECS service, code, web and
59
- * configuration files, executables, packages, scripts, multimedia files, and so on. AWS
60
- * CodeDeploy can deploy application content stored in Amazon S3 buckets, GitHub
61
- * repositories, or Bitbucket repositories. You do not need to make changes to your
62
- * existing code before you can use AWS CodeDeploy.</p>
63
- * <p>AWS CodeDeploy makes it easier for you to rapidly release new features, helps you
64
- * avoid downtime during application deployment, and handles the complexity of updating
65
- * your applications, without many of the risks associated with error-prone manual
66
- * deployments.</p>
67
- * <p>
68
- * <b>AWS CodeDeploy Components</b>
69
- * </p>
70
- * <p>Use the information in this guide to help you work with the following AWS CodeDeploy
71
- * components:</p>
72
- * <ul>
73
- * <li>
74
- * <p>
75
- * <b>Application</b>: A name that uniquely identifies
76
- * the application you want to deploy. AWS CodeDeploy uses this name, which
77
- * functions as a container, to ensure the correct combination of revision,
78
- * deployment configuration, and deployment group are referenced during a
79
- * deployment.</p>
80
- * </li>
81
- * <li>
82
- * <p>
83
- * <b>Deployment group</b>: A set of individual
84
- * instances, CodeDeploy Lambda deployment configuration settings, or an Amazon ECS
85
- * service and network details. A Lambda deployment group specifies how to route
86
- * traffic to a new version of a Lambda function. An Amazon ECS deployment group
87
- * specifies the service created in Amazon ECS to deploy, a load balancer, and a
88
- * listener to reroute production traffic to an updated containerized application.
89
- * An EC2/On-premises deployment group contains individually tagged instances,
90
- * Amazon EC2 instances in Amazon EC2 Auto Scaling groups, or both. All deployment
91
- * groups can specify optional trigger, alarm, and rollback settings.</p>
92
- * </li>
93
- * <li>
94
- * <p>
95
- * <b>Deployment configuration</b>: A set of deployment
96
- * rules and deployment success and failure conditions used by AWS CodeDeploy
97
- * during a deployment.</p>
98
- * </li>
99
- * <li>
100
- * <p>
101
- * <b>Deployment</b>: The process and the components used
102
- * when updating a Lambda function, a containerized application in an Amazon ECS
103
- * service, or of installing content on one or more instances. </p>
104
- * </li>
105
- * <li>
106
- * <p>
107
- * <b>Application revisions</b>: For an AWS Lambda
108
- * deployment, this is an AppSpec file that specifies the Lambda function to be
109
- * updated and one or more functions to validate deployment lifecycle events. For
110
- * an Amazon ECS deployment, this is an AppSpec file that specifies the Amazon ECS
111
- * task definition, container, and port where production traffic is rerouted. For
112
- * an EC2/On-premises deployment, this is an archive file that contains source
113
- * content—source code, webpages, executable files, and deployment scripts—along
114
- * with an AppSpec file. Revisions are stored in Amazon S3 buckets or GitHub
115
- * repositories. For Amazon S3, a revision is uniquely identified by its Amazon S3
116
- * object key and its ETag, version, or both. For GitHub, a revision is uniquely
117
- * identified by its commit ID.</p>
118
- * </li>
119
- * </ul>
120
- * <p>This guide also contains information to help you get details about the instances in
121
- * your deployments, to make on-premises instances available for AWS CodeDeploy
122
- * deployments, to get details about a Lambda function deployment, and to get details about
123
- * Amazon ECS service deployments.</p>
124
- * <p>
125
- * <b>AWS CodeDeploy Information Resources</b>
126
- * </p>
127
- * <ul>
128
- * <li>
129
- * <p>
130
- * <a href="https://docs.aws.amazon.com/codedeploy/latest/userguide">AWS CodeDeploy
131
- * User Guide</a>
132
- * </p>
133
- * </li>
134
- * <li>
135
- * <p>
136
- * <a href="https://docs.aws.amazon.com/codedeploy/latest/APIReference/">AWS
137
- * CodeDeploy API Reference Guide</a>
138
- * </p>
139
- * </li>
140
- * <li>
141
- * <p>
142
- * <a href="https://docs.aws.amazon.com/cli/latest/reference/deploy/index.html">AWS
143
- * CLI Reference for AWS CodeDeploy</a>
144
- * </p>
145
- * </li>
146
- * <li>
147
- * <p>
148
- * <a href="https://forums.aws.amazon.com/forum.jspa?forumID=179">AWS CodeDeploy
149
- * Developer Forum</a>
150
- * </p>
151
- * </li>
152
- * </ul>
153
- */
154
52
  class CodeDeploy extends CodeDeployClient_1.CodeDeployClient {
155
53
  addTagsToOnPremisesInstances(args, optionsOrCb, cb) {
156
54
  const command = new AddTagsToOnPremisesInstancesCommand_1.AddTagsToOnPremisesInstancesCommand(args);
@@ -10,108 +10,6 @@ const middleware_signing_1 = require("@aws-sdk/middleware-signing");
10
10
  const middleware_user_agent_1 = require("@aws-sdk/middleware-user-agent");
11
11
  const smithy_client_1 = require("@aws-sdk/smithy-client");
12
12
  const runtimeConfig_1 = require("./runtimeConfig");
13
- /**
14
- * <fullname>AWS CodeDeploy</fullname>
15
- * <p>AWS CodeDeploy is a deployment service that automates application deployments to
16
- * Amazon EC2 instances, on-premises instances running in your own facility, serverless AWS
17
- * Lambda functions, or applications in an Amazon ECS service.</p>
18
- * <p>You can deploy a nearly unlimited variety of application content, such as an updated
19
- * Lambda function, updated applications in an Amazon ECS service, code, web and
20
- * configuration files, executables, packages, scripts, multimedia files, and so on. AWS
21
- * CodeDeploy can deploy application content stored in Amazon S3 buckets, GitHub
22
- * repositories, or Bitbucket repositories. You do not need to make changes to your
23
- * existing code before you can use AWS CodeDeploy.</p>
24
- * <p>AWS CodeDeploy makes it easier for you to rapidly release new features, helps you
25
- * avoid downtime during application deployment, and handles the complexity of updating
26
- * your applications, without many of the risks associated with error-prone manual
27
- * deployments.</p>
28
- * <p>
29
- * <b>AWS CodeDeploy Components</b>
30
- * </p>
31
- * <p>Use the information in this guide to help you work with the following AWS CodeDeploy
32
- * components:</p>
33
- * <ul>
34
- * <li>
35
- * <p>
36
- * <b>Application</b>: A name that uniquely identifies
37
- * the application you want to deploy. AWS CodeDeploy uses this name, which
38
- * functions as a container, to ensure the correct combination of revision,
39
- * deployment configuration, and deployment group are referenced during a
40
- * deployment.</p>
41
- * </li>
42
- * <li>
43
- * <p>
44
- * <b>Deployment group</b>: A set of individual
45
- * instances, CodeDeploy Lambda deployment configuration settings, or an Amazon ECS
46
- * service and network details. A Lambda deployment group specifies how to route
47
- * traffic to a new version of a Lambda function. An Amazon ECS deployment group
48
- * specifies the service created in Amazon ECS to deploy, a load balancer, and a
49
- * listener to reroute production traffic to an updated containerized application.
50
- * An EC2/On-premises deployment group contains individually tagged instances,
51
- * Amazon EC2 instances in Amazon EC2 Auto Scaling groups, or both. All deployment
52
- * groups can specify optional trigger, alarm, and rollback settings.</p>
53
- * </li>
54
- * <li>
55
- * <p>
56
- * <b>Deployment configuration</b>: A set of deployment
57
- * rules and deployment success and failure conditions used by AWS CodeDeploy
58
- * during a deployment.</p>
59
- * </li>
60
- * <li>
61
- * <p>
62
- * <b>Deployment</b>: The process and the components used
63
- * when updating a Lambda function, a containerized application in an Amazon ECS
64
- * service, or of installing content on one or more instances. </p>
65
- * </li>
66
- * <li>
67
- * <p>
68
- * <b>Application revisions</b>: For an AWS Lambda
69
- * deployment, this is an AppSpec file that specifies the Lambda function to be
70
- * updated and one or more functions to validate deployment lifecycle events. For
71
- * an Amazon ECS deployment, this is an AppSpec file that specifies the Amazon ECS
72
- * task definition, container, and port where production traffic is rerouted. For
73
- * an EC2/On-premises deployment, this is an archive file that contains source
74
- * content—source code, webpages, executable files, and deployment scripts—along
75
- * with an AppSpec file. Revisions are stored in Amazon S3 buckets or GitHub
76
- * repositories. For Amazon S3, a revision is uniquely identified by its Amazon S3
77
- * object key and its ETag, version, or both. For GitHub, a revision is uniquely
78
- * identified by its commit ID.</p>
79
- * </li>
80
- * </ul>
81
- * <p>This guide also contains information to help you get details about the instances in
82
- * your deployments, to make on-premises instances available for AWS CodeDeploy
83
- * deployments, to get details about a Lambda function deployment, and to get details about
84
- * Amazon ECS service deployments.</p>
85
- * <p>
86
- * <b>AWS CodeDeploy Information Resources</b>
87
- * </p>
88
- * <ul>
89
- * <li>
90
- * <p>
91
- * <a href="https://docs.aws.amazon.com/codedeploy/latest/userguide">AWS CodeDeploy
92
- * User Guide</a>
93
- * </p>
94
- * </li>
95
- * <li>
96
- * <p>
97
- * <a href="https://docs.aws.amazon.com/codedeploy/latest/APIReference/">AWS
98
- * CodeDeploy API Reference Guide</a>
99
- * </p>
100
- * </li>
101
- * <li>
102
- * <p>
103
- * <a href="https://docs.aws.amazon.com/cli/latest/reference/deploy/index.html">AWS
104
- * CLI Reference for AWS CodeDeploy</a>
105
- * </p>
106
- * </li>
107
- * <li>
108
- * <p>
109
- * <a href="https://forums.aws.amazon.com/forum.jspa?forumID=179">AWS CodeDeploy
110
- * Developer Forum</a>
111
- * </p>
112
- * </li>
113
- * </ul>
114
- */
115
13
  class CodeDeployClient extends smithy_client_1.Client {
116
14
  constructor(configuration) {
117
15
  const _config_0 = runtimeConfig_1.getRuntimeConfig(configuration);
@@ -130,11 +28,6 @@ class CodeDeployClient extends smithy_client_1.Client {
130
28
  this.middlewareStack.use(middleware_signing_1.getAwsAuthPlugin(this.config));
131
29
  this.middlewareStack.use(middleware_user_agent_1.getUserAgentPlugin(this.config));
132
30
  }
133
- /**
134
- * Destroy underlying resources, like sockets. It's usually not necessary to do this.
135
- * However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
136
- * Otherwise, sockets might stay open for quite a long time before the server terminates them.
137
- */
138
31
  destroy() {
139
32
  super.destroy();
140
33
  }
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
8
- /**
9
- * <p>Adds tags to on-premises instances.</p>
10
- * @example
11
- * Use a bare-bones client and the command you need to make an API call.
12
- * ```javascript
13
- * import { CodeDeployClient, AddTagsToOnPremisesInstancesCommand } from "@aws-sdk/client-codedeploy"; // ES Modules import
14
- * // const { CodeDeployClient, AddTagsToOnPremisesInstancesCommand } = require("@aws-sdk/client-codedeploy"); // CommonJS import
15
- * const client = new CodeDeployClient(config);
16
- * const command = new AddTagsToOnPremisesInstancesCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link AddTagsToOnPremisesInstancesCommandInput} for command's `input` shape.
21
- * @see {@link AddTagsToOnPremisesInstancesCommandOutput} for command's `response` shape.
22
- * @see {@link CodeDeployClientResolvedConfig | config} for command's `input` shape.
23
- *
24
- */
25
8
  class AddTagsToOnPremisesInstancesCommand extends smithy_client_1.Command {
26
- // Start section: command_properties
27
- // End section: command_properties
28
9
  constructor(input) {
29
- // Start section: command_constructor
30
10
  super();
31
11
  this.input = input;
32
- // End section: command_constructor
33
12
  }
34
- /**
35
- * @internal
36
- */
37
13
  resolveMiddleware(clientStack, configuration, options) {
38
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
39
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,36 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
8
- /**
9
- * <p>Gets information about one or more application revisions. The maximum number of
10
- * application revisions that can be returned is 25.</p>
11
- * @example
12
- * Use a bare-bones client and the command you need to make an API call.
13
- * ```javascript
14
- * import { CodeDeployClient, BatchGetApplicationRevisionsCommand } from "@aws-sdk/client-codedeploy"; // ES Modules import
15
- * // const { CodeDeployClient, BatchGetApplicationRevisionsCommand } = require("@aws-sdk/client-codedeploy"); // CommonJS import
16
- * const client = new CodeDeployClient(config);
17
- * const command = new BatchGetApplicationRevisionsCommand(input);
18
- * const response = await client.send(command);
19
- * ```
20
- *
21
- * @see {@link BatchGetApplicationRevisionsCommandInput} for command's `input` shape.
22
- * @see {@link BatchGetApplicationRevisionsCommandOutput} for command's `response` shape.
23
- * @see {@link CodeDeployClientResolvedConfig | config} for command's `input` shape.
24
- *
25
- */
26
8
  class BatchGetApplicationRevisionsCommand extends smithy_client_1.Command {
27
- // Start section: command_properties
28
- // End section: command_properties
29
9
  constructor(input) {
30
- // Start section: command_constructor
31
10
  super();
32
11
  this.input = input;
33
- // End section: command_constructor
34
12
  }
35
- /**
36
- * @internal
37
- */
38
13
  resolveMiddleware(clientStack, configuration, options) {
39
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
40
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,36 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
8
- /**
9
- * <p>Gets information about one or more applications. The maximum number of applications
10
- * that can be returned is 100.</p>
11
- * @example
12
- * Use a bare-bones client and the command you need to make an API call.
13
- * ```javascript
14
- * import { CodeDeployClient, BatchGetApplicationsCommand } from "@aws-sdk/client-codedeploy"; // ES Modules import
15
- * // const { CodeDeployClient, BatchGetApplicationsCommand } = require("@aws-sdk/client-codedeploy"); // CommonJS import
16
- * const client = new CodeDeployClient(config);
17
- * const command = new BatchGetApplicationsCommand(input);
18
- * const response = await client.send(command);
19
- * ```
20
- *
21
- * @see {@link BatchGetApplicationsCommandInput} for command's `input` shape.
22
- * @see {@link BatchGetApplicationsCommandOutput} for command's `response` shape.
23
- * @see {@link CodeDeployClientResolvedConfig | config} for command's `input` shape.
24
- *
25
- */
26
8
  class BatchGetApplicationsCommand extends smithy_client_1.Command {
27
- // Start section: command_properties
28
- // End section: command_properties
29
9
  constructor(input) {
30
- // Start section: command_constructor
31
10
  super();
32
11
  this.input = input;
33
- // End section: command_constructor
34
12
  }
35
- /**
36
- * @internal
37
- */
38
13
  resolveMiddleware(clientStack, configuration, options) {
39
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
40
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
8
- /**
9
- * <p>Gets information about one or more deployment groups.</p>
10
- * @example
11
- * Use a bare-bones client and the command you need to make an API call.
12
- * ```javascript
13
- * import { CodeDeployClient, BatchGetDeploymentGroupsCommand } from "@aws-sdk/client-codedeploy"; // ES Modules import
14
- * // const { CodeDeployClient, BatchGetDeploymentGroupsCommand } = require("@aws-sdk/client-codedeploy"); // CommonJS import
15
- * const client = new CodeDeployClient(config);
16
- * const command = new BatchGetDeploymentGroupsCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link BatchGetDeploymentGroupsCommandInput} for command's `input` shape.
21
- * @see {@link BatchGetDeploymentGroupsCommandOutput} for command's `response` shape.
22
- * @see {@link CodeDeployClientResolvedConfig | config} for command's `input` shape.
23
- *
24
- */
25
8
  class BatchGetDeploymentGroupsCommand extends smithy_client_1.Command {
26
- // Start section: command_properties
27
- // End section: command_properties
28
9
  constructor(input) {
29
- // Start section: command_constructor
30
10
  super();
31
11
  this.input = input;
32
- // End section: command_constructor
33
12
  }
34
- /**
35
- * @internal
36
- */
37
13
  resolveMiddleware(clientStack, configuration, options) {
38
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
39
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,44 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
8
- /**
9
- * @deprecated
10
- *
11
- * <note>
12
- * <p> This method works, but is deprecated. Use <code>BatchGetDeploymentTargets</code>
13
- * instead. </p>
14
- * </note>
15
- * <p> Returns an array of one or more instances associated with a deployment. This method
16
- * works with EC2/On-premises and AWS Lambda compute platforms. The newer
17
- * <code>BatchGetDeploymentTargets</code> works with all compute platforms. The maximum
18
- * number of instances that can be returned is 25.</p>
19
- * @example
20
- * Use a bare-bones client and the command you need to make an API call.
21
- * ```javascript
22
- * import { CodeDeployClient, BatchGetDeploymentInstancesCommand } from "@aws-sdk/client-codedeploy"; // ES Modules import
23
- * // const { CodeDeployClient, BatchGetDeploymentInstancesCommand } = require("@aws-sdk/client-codedeploy"); // CommonJS import
24
- * const client = new CodeDeployClient(config);
25
- * const command = new BatchGetDeploymentInstancesCommand(input);
26
- * const response = await client.send(command);
27
- * ```
28
- *
29
- * @see {@link BatchGetDeploymentInstancesCommandInput} for command's `input` shape.
30
- * @see {@link BatchGetDeploymentInstancesCommandOutput} for command's `response` shape.
31
- * @see {@link CodeDeployClientResolvedConfig | config} for command's `input` shape.
32
- *
33
- */
34
8
  class BatchGetDeploymentInstancesCommand extends smithy_client_1.Command {
35
- // Start section: command_properties
36
- // End section: command_properties
37
9
  constructor(input) {
38
- // Start section: command_constructor
39
10
  super();
40
11
  this.input = input;
41
- // End section: command_constructor
42
12
  }
43
- /**
44
- * @internal
45
- */
46
13
  resolveMiddleware(clientStack, configuration, options) {
47
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
48
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,62 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
8
- /**
9
- * <p> Returns an array of one or more targets associated with a deployment. This method
10
- * works with all compute types and should be used instead of the deprecated
11
- * <code>BatchGetDeploymentInstances</code>. The maximum number of targets that can be
12
- * returned is 25.</p>
13
- * <p> The type of targets returned depends on the deployment's compute platform or
14
- * deployment method: </p>
15
- * <ul>
16
- * <li>
17
- * <p>
18
- * <b>EC2/On-premises</b>: Information about EC2 instance
19
- * targets. </p>
20
- * </li>
21
- * <li>
22
- * <p>
23
- * <b>AWS Lambda</b>: Information about Lambda functions
24
- * targets. </p>
25
- * </li>
26
- * <li>
27
- * <p>
28
- * <b>Amazon ECS</b>: Information about Amazon ECS
29
- * service targets. </p>
30
- * </li>
31
- * <li>
32
- * <p>
33
- * <b>CloudFormation</b>: Information about targets of
34
- * blue/green deployments initiated by a CloudFormation stack update.</p>
35
- * </li>
36
- * </ul>
37
- * @example
38
- * Use a bare-bones client and the command you need to make an API call.
39
- * ```javascript
40
- * import { CodeDeployClient, BatchGetDeploymentTargetsCommand } from "@aws-sdk/client-codedeploy"; // ES Modules import
41
- * // const { CodeDeployClient, BatchGetDeploymentTargetsCommand } = require("@aws-sdk/client-codedeploy"); // CommonJS import
42
- * const client = new CodeDeployClient(config);
43
- * const command = new BatchGetDeploymentTargetsCommand(input);
44
- * const response = await client.send(command);
45
- * ```
46
- *
47
- * @see {@link BatchGetDeploymentTargetsCommandInput} for command's `input` shape.
48
- * @see {@link BatchGetDeploymentTargetsCommandOutput} for command's `response` shape.
49
- * @see {@link CodeDeployClientResolvedConfig | config} for command's `input` shape.
50
- *
51
- */
52
8
  class BatchGetDeploymentTargetsCommand extends smithy_client_1.Command {
53
- // Start section: command_properties
54
- // End section: command_properties
55
9
  constructor(input) {
56
- // Start section: command_constructor
57
10
  super();
58
11
  this.input = input;
59
- // End section: command_constructor
60
12
  }
61
- /**
62
- * @internal
63
- */
64
13
  resolveMiddleware(clientStack, configuration, options) {
65
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
66
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,36 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
8
- /**
9
- * <p>Gets information about one or more deployments. The maximum number of deployments that
10
- * can be returned is 25.</p>
11
- * @example
12
- * Use a bare-bones client and the command you need to make an API call.
13
- * ```javascript
14
- * import { CodeDeployClient, BatchGetDeploymentsCommand } from "@aws-sdk/client-codedeploy"; // ES Modules import
15
- * // const { CodeDeployClient, BatchGetDeploymentsCommand } = require("@aws-sdk/client-codedeploy"); // CommonJS import
16
- * const client = new CodeDeployClient(config);
17
- * const command = new BatchGetDeploymentsCommand(input);
18
- * const response = await client.send(command);
19
- * ```
20
- *
21
- * @see {@link BatchGetDeploymentsCommandInput} for command's `input` shape.
22
- * @see {@link BatchGetDeploymentsCommandOutput} for command's `response` shape.
23
- * @see {@link CodeDeployClientResolvedConfig | config} for command's `input` shape.
24
- *
25
- */
26
8
  class BatchGetDeploymentsCommand extends smithy_client_1.Command {
27
- // Start section: command_properties
28
- // End section: command_properties
29
9
  constructor(input) {
30
- // Start section: command_constructor
31
10
  super();
32
11
  this.input = input;
33
- // End section: command_constructor
34
12
  }
35
- /**
36
- * @internal
37
- */
38
13
  resolveMiddleware(clientStack, configuration, options) {
39
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
40
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,36 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
8
- /**
9
- * <p>Gets information about one or more on-premises instances. The maximum number of
10
- * on-premises instances that can be returned is 25.</p>
11
- * @example
12
- * Use a bare-bones client and the command you need to make an API call.
13
- * ```javascript
14
- * import { CodeDeployClient, BatchGetOnPremisesInstancesCommand } from "@aws-sdk/client-codedeploy"; // ES Modules import
15
- * // const { CodeDeployClient, BatchGetOnPremisesInstancesCommand } = require("@aws-sdk/client-codedeploy"); // CommonJS import
16
- * const client = new CodeDeployClient(config);
17
- * const command = new BatchGetOnPremisesInstancesCommand(input);
18
- * const response = await client.send(command);
19
- * ```
20
- *
21
- * @see {@link BatchGetOnPremisesInstancesCommandInput} for command's `input` shape.
22
- * @see {@link BatchGetOnPremisesInstancesCommandOutput} for command's `response` shape.
23
- * @see {@link CodeDeployClientResolvedConfig | config} for command's `input` shape.
24
- *
25
- */
26
8
  class BatchGetOnPremisesInstancesCommand extends smithy_client_1.Command {
27
- // Start section: command_properties
28
- // End section: command_properties
29
9
  constructor(input) {
30
- // Start section: command_constructor
31
10
  super();
32
11
  this.input = input;
33
- // End section: command_constructor
34
12
  }
35
- /**
36
- * @internal
37
- */
38
13
  resolveMiddleware(clientStack, configuration, options) {
39
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
40
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,39 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
8
- /**
9
- * <p>For a blue/green deployment, starts the process of rerouting traffic from instances in
10
- * the original environment to instances in the replacement environment without waiting for
11
- * a specified wait time to elapse. (Traffic rerouting, which is achieved by registering
12
- * instances in the replacement environment with the load balancer, can start as soon as
13
- * all instances have a status of Ready.) </p>
14
- * @example
15
- * Use a bare-bones client and the command you need to make an API call.
16
- * ```javascript
17
- * import { CodeDeployClient, ContinueDeploymentCommand } from "@aws-sdk/client-codedeploy"; // ES Modules import
18
- * // const { CodeDeployClient, ContinueDeploymentCommand } = require("@aws-sdk/client-codedeploy"); // CommonJS import
19
- * const client = new CodeDeployClient(config);
20
- * const command = new ContinueDeploymentCommand(input);
21
- * const response = await client.send(command);
22
- * ```
23
- *
24
- * @see {@link ContinueDeploymentCommandInput} for command's `input` shape.
25
- * @see {@link ContinueDeploymentCommandOutput} for command's `response` shape.
26
- * @see {@link CodeDeployClientResolvedConfig | config} for command's `input` shape.
27
- *
28
- */
29
8
  class ContinueDeploymentCommand extends smithy_client_1.Command {
30
- // Start section: command_properties
31
- // End section: command_properties
32
9
  constructor(input) {
33
- // Start section: command_constructor
34
10
  super();
35
11
  this.input = input;
36
- // End section: command_constructor
37
12
  }
38
- /**
39
- * @internal
40
- */
41
13
  resolveMiddleware(clientStack, configuration, options) {
42
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
43
15
  const stack = clientStack.concat(this.middlewareStack);