@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
@@ -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 an on-premises instance. </p>
10
- * @example
11
- * Use a bare-bones client and the command you need to make an API call.
12
- * ```javascript
13
- * import { CodeDeployClient, GetOnPremisesInstanceCommand } from "@aws-sdk/client-codedeploy"; // ES Modules import
14
- * // const { CodeDeployClient, GetOnPremisesInstanceCommand } = require("@aws-sdk/client-codedeploy"); // CommonJS import
15
- * const client = new CodeDeployClient(config);
16
- * const command = new GetOnPremisesInstanceCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link GetOnPremisesInstanceCommandInput} for command's `input` shape.
21
- * @see {@link GetOnPremisesInstanceCommandOutput} for command's `response` shape.
22
- * @see {@link CodeDeployClientResolvedConfig | config} for command's `input` shape.
23
- *
24
- */
25
8
  class GetOnPremisesInstanceCommand 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,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>Lists information about revisions for an application.</p>
10
- * @example
11
- * Use a bare-bones client and the command you need to make an API call.
12
- * ```javascript
13
- * import { CodeDeployClient, ListApplicationRevisionsCommand } from "@aws-sdk/client-codedeploy"; // ES Modules import
14
- * // const { CodeDeployClient, ListApplicationRevisionsCommand } = require("@aws-sdk/client-codedeploy"); // CommonJS import
15
- * const client = new CodeDeployClient(config);
16
- * const command = new ListApplicationRevisionsCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link ListApplicationRevisionsCommandInput} for command's `input` shape.
21
- * @see {@link ListApplicationRevisionsCommandOutput} for command's `response` shape.
22
- * @see {@link CodeDeployClientResolvedConfig | config} for command's `input` shape.
23
- *
24
- */
25
8
  class ListApplicationRevisionsCommand 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,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>Lists the applications registered with the IAM user or AWS account.</p>
10
- * @example
11
- * Use a bare-bones client and the command you need to make an API call.
12
- * ```javascript
13
- * import { CodeDeployClient, ListApplicationsCommand } from "@aws-sdk/client-codedeploy"; // ES Modules import
14
- * // const { CodeDeployClient, ListApplicationsCommand } = require("@aws-sdk/client-codedeploy"); // CommonJS import
15
- * const client = new CodeDeployClient(config);
16
- * const command = new ListApplicationsCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link ListApplicationsCommandInput} for command's `input` shape.
21
- * @see {@link ListApplicationsCommandOutput} for command's `response` shape.
22
- * @see {@link CodeDeployClientResolvedConfig | config} for command's `input` shape.
23
- *
24
- */
25
8
  class ListApplicationsCommand 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,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>Lists the deployment configurations with the IAM user or AWS account.</p>
10
- * @example
11
- * Use a bare-bones client and the command you need to make an API call.
12
- * ```javascript
13
- * import { CodeDeployClient, ListDeploymentConfigsCommand } from "@aws-sdk/client-codedeploy"; // ES Modules import
14
- * // const { CodeDeployClient, ListDeploymentConfigsCommand } = require("@aws-sdk/client-codedeploy"); // CommonJS import
15
- * const client = new CodeDeployClient(config);
16
- * const command = new ListDeploymentConfigsCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link ListDeploymentConfigsCommandInput} for command's `input` shape.
21
- * @see {@link ListDeploymentConfigsCommandOutput} for command's `response` shape.
22
- * @see {@link CodeDeployClientResolvedConfig | config} for command's `input` shape.
23
- *
24
- */
25
8
  class ListDeploymentConfigsCommand 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>Lists the deployment groups for an application registered with the IAM user or AWS
10
- * account.</p>
11
- * @example
12
- * Use a bare-bones client and the command you need to make an API call.
13
- * ```javascript
14
- * import { CodeDeployClient, ListDeploymentGroupsCommand } from "@aws-sdk/client-codedeploy"; // ES Modules import
15
- * // const { CodeDeployClient, ListDeploymentGroupsCommand } = require("@aws-sdk/client-codedeploy"); // CommonJS import
16
- * const client = new CodeDeployClient(config);
17
- * const command = new ListDeploymentGroupsCommand(input);
18
- * const response = await client.send(command);
19
- * ```
20
- *
21
- * @see {@link ListDeploymentGroupsCommandInput} for command's `input` shape.
22
- * @see {@link ListDeploymentGroupsCommandOutput} for command's `response` shape.
23
- * @see {@link CodeDeployClientResolvedConfig | config} for command's `input` shape.
24
- *
25
- */
26
8
  class ListDeploymentGroupsCommand 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,43 +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> The newer <code>BatchGetDeploymentTargets</code> should be used instead because
13
- * it works with all compute types. <code>ListDeploymentInstances</code> throws an
14
- * exception if it is used with a compute platform other than EC2/On-premises or AWS
15
- * Lambda. </p>
16
- * </note>
17
- * <p> Lists the instance for a deployment associated with the IAM user or AWS account. </p>
18
- * @example
19
- * Use a bare-bones client and the command you need to make an API call.
20
- * ```javascript
21
- * import { CodeDeployClient, ListDeploymentInstancesCommand } from "@aws-sdk/client-codedeploy"; // ES Modules import
22
- * // const { CodeDeployClient, ListDeploymentInstancesCommand } = require("@aws-sdk/client-codedeploy"); // CommonJS import
23
- * const client = new CodeDeployClient(config);
24
- * const command = new ListDeploymentInstancesCommand(input);
25
- * const response = await client.send(command);
26
- * ```
27
- *
28
- * @see {@link ListDeploymentInstancesCommandInput} for command's `input` shape.
29
- * @see {@link ListDeploymentInstancesCommandOutput} for command's `response` shape.
30
- * @see {@link CodeDeployClientResolvedConfig | config} for command's `input` shape.
31
- *
32
- */
33
8
  class ListDeploymentInstancesCommand extends smithy_client_1.Command {
34
- // Start section: command_properties
35
- // End section: command_properties
36
9
  constructor(input) {
37
- // Start section: command_constructor
38
10
  super();
39
11
  this.input = input;
40
- // End section: command_constructor
41
12
  }
42
- /**
43
- * @internal
44
- */
45
13
  resolveMiddleware(clientStack, configuration, options) {
46
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
47
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> Returns an array of target IDs that are associated a deployment. </p>
10
- * @example
11
- * Use a bare-bones client and the command you need to make an API call.
12
- * ```javascript
13
- * import { CodeDeployClient, ListDeploymentTargetsCommand } from "@aws-sdk/client-codedeploy"; // ES Modules import
14
- * // const { CodeDeployClient, ListDeploymentTargetsCommand } = require("@aws-sdk/client-codedeploy"); // CommonJS import
15
- * const client = new CodeDeployClient(config);
16
- * const command = new ListDeploymentTargetsCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link ListDeploymentTargetsCommandInput} for command's `input` shape.
21
- * @see {@link ListDeploymentTargetsCommandOutput} for command's `response` shape.
22
- * @see {@link CodeDeployClientResolvedConfig | config} for command's `input` shape.
23
- *
24
- */
25
8
  class ListDeploymentTargetsCommand 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>Lists the deployments in a deployment group for an application registered with the IAM
10
- * user or AWS account.</p>
11
- * @example
12
- * Use a bare-bones client and the command you need to make an API call.
13
- * ```javascript
14
- * import { CodeDeployClient, ListDeploymentsCommand } from "@aws-sdk/client-codedeploy"; // ES Modules import
15
- * // const { CodeDeployClient, ListDeploymentsCommand } = require("@aws-sdk/client-codedeploy"); // CommonJS import
16
- * const client = new CodeDeployClient(config);
17
- * const command = new ListDeploymentsCommand(input);
18
- * const response = await client.send(command);
19
- * ```
20
- *
21
- * @see {@link ListDeploymentsCommandInput} for command's `input` shape.
22
- * @see {@link ListDeploymentsCommandOutput} for command's `response` shape.
23
- * @see {@link CodeDeployClientResolvedConfig | config} for command's `input` shape.
24
- *
25
- */
26
8
  class ListDeploymentsCommand 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>Lists the names of stored connections to GitHub accounts.</p>
10
- * @example
11
- * Use a bare-bones client and the command you need to make an API call.
12
- * ```javascript
13
- * import { CodeDeployClient, ListGitHubAccountTokenNamesCommand } from "@aws-sdk/client-codedeploy"; // ES Modules import
14
- * // const { CodeDeployClient, ListGitHubAccountTokenNamesCommand } = require("@aws-sdk/client-codedeploy"); // CommonJS import
15
- * const client = new CodeDeployClient(config);
16
- * const command = new ListGitHubAccountTokenNamesCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link ListGitHubAccountTokenNamesCommandInput} for command's `input` shape.
21
- * @see {@link ListGitHubAccountTokenNamesCommandOutput} for command's `response` shape.
22
- * @see {@link CodeDeployClientResolvedConfig | config} for command's `input` shape.
23
- *
24
- */
25
8
  class ListGitHubAccountTokenNamesCommand 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,38 +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 a list of names for one or more on-premises instances.</p>
10
- * <p>Unless otherwise specified, both registered and deregistered on-premises instance
11
- * names are listed. To list only registered or deregistered on-premises instance names,
12
- * use the registration status parameter.</p>
13
- * @example
14
- * Use a bare-bones client and the command you need to make an API call.
15
- * ```javascript
16
- * import { CodeDeployClient, ListOnPremisesInstancesCommand } from "@aws-sdk/client-codedeploy"; // ES Modules import
17
- * // const { CodeDeployClient, ListOnPremisesInstancesCommand } = require("@aws-sdk/client-codedeploy"); // CommonJS import
18
- * const client = new CodeDeployClient(config);
19
- * const command = new ListOnPremisesInstancesCommand(input);
20
- * const response = await client.send(command);
21
- * ```
22
- *
23
- * @see {@link ListOnPremisesInstancesCommandInput} for command's `input` shape.
24
- * @see {@link ListOnPremisesInstancesCommandOutput} for command's `response` shape.
25
- * @see {@link CodeDeployClientResolvedConfig | config} for command's `input` shape.
26
- *
27
- */
28
8
  class ListOnPremisesInstancesCommand extends smithy_client_1.Command {
29
- // Start section: command_properties
30
- // End section: command_properties
31
9
  constructor(input) {
32
- // Start section: command_constructor
33
10
  super();
34
11
  this.input = input;
35
- // End section: command_constructor
36
12
  }
37
- /**
38
- * @internal
39
- */
40
13
  resolveMiddleware(clientStack, configuration, options) {
41
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
42
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> Returns a list of tags for the resource identified by a specified Amazon Resource
10
- * Name (ARN). Tags are used to organize and categorize your CodeDeploy resources. </p>
11
- * @example
12
- * Use a bare-bones client and the command you need to make an API call.
13
- * ```javascript
14
- * import { CodeDeployClient, ListTagsForResourceCommand } from "@aws-sdk/client-codedeploy"; // ES Modules import
15
- * // const { CodeDeployClient, ListTagsForResourceCommand } = require("@aws-sdk/client-codedeploy"); // CommonJS import
16
- * const client = new CodeDeployClient(config);
17
- * const command = new ListTagsForResourceCommand(input);
18
- * const response = await client.send(command);
19
- * ```
20
- *
21
- * @see {@link ListTagsForResourceCommandInput} for command's `input` shape.
22
- * @see {@link ListTagsForResourceCommandOutput} for command's `response` shape.
23
- * @see {@link CodeDeployClientResolvedConfig | config} for command's `input` shape.
24
- *
25
- */
26
8
  class ListTagsForResourceCommand 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,43 +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> Sets the result of a Lambda validation function. The function validates lifecycle
10
- * hooks during a deployment that uses the AWS Lambda or Amazon ECS compute platform. For
11
- * AWS Lambda deployments, the available lifecycle hooks are
12
- * <code>BeforeAllowTraffic</code> and <code>AfterAllowTraffic</code>. For Amazon ECS
13
- * deployments, the available lifecycle hooks are <code>BeforeInstall</code>,
14
- * <code>AfterInstall</code>, <code>AfterAllowTestTraffic</code>,
15
- * <code>BeforeAllowTraffic</code>, and <code>AfterAllowTraffic</code>. Lambda
16
- * validation functions return <code>Succeeded</code> or <code>Failed</code>. For more
17
- * 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>
18
- * @example
19
- * Use a bare-bones client and the command you need to make an API call.
20
- * ```javascript
21
- * import { CodeDeployClient, PutLifecycleEventHookExecutionStatusCommand } from "@aws-sdk/client-codedeploy"; // ES Modules import
22
- * // const { CodeDeployClient, PutLifecycleEventHookExecutionStatusCommand } = require("@aws-sdk/client-codedeploy"); // CommonJS import
23
- * const client = new CodeDeployClient(config);
24
- * const command = new PutLifecycleEventHookExecutionStatusCommand(input);
25
- * const response = await client.send(command);
26
- * ```
27
- *
28
- * @see {@link PutLifecycleEventHookExecutionStatusCommandInput} for command's `input` shape.
29
- * @see {@link PutLifecycleEventHookExecutionStatusCommandOutput} for command's `response` shape.
30
- * @see {@link CodeDeployClientResolvedConfig | config} for command's `input` shape.
31
- *
32
- */
33
8
  class PutLifecycleEventHookExecutionStatusCommand extends smithy_client_1.Command {
34
- // Start section: command_properties
35
- // End section: command_properties
36
9
  constructor(input) {
37
- // Start section: command_constructor
38
10
  super();
39
11
  this.input = input;
40
- // End section: command_constructor
41
12
  }
42
- /**
43
- * @internal
44
- */
45
13
  resolveMiddleware(clientStack, configuration, options) {
46
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
47
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>Registers with AWS CodeDeploy a revision for the specified application.</p>
10
- * @example
11
- * Use a bare-bones client and the command you need to make an API call.
12
- * ```javascript
13
- * import { CodeDeployClient, RegisterApplicationRevisionCommand } from "@aws-sdk/client-codedeploy"; // ES Modules import
14
- * // const { CodeDeployClient, RegisterApplicationRevisionCommand } = require("@aws-sdk/client-codedeploy"); // CommonJS import
15
- * const client = new CodeDeployClient(config);
16
- * const command = new RegisterApplicationRevisionCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link RegisterApplicationRevisionCommandInput} for command's `input` shape.
21
- * @see {@link RegisterApplicationRevisionCommandOutput} for command's `response` shape.
22
- * @see {@link CodeDeployClientResolvedConfig | config} for command's `input` shape.
23
- *
24
- */
25
8
  class RegisterApplicationRevisionCommand 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,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>Registers an on-premises instance.</p>
10
- * <note>
11
- * <p>Only one IAM ARN (an IAM session ARN or IAM user ARN) is supported in the request.
12
- * You cannot use both.</p>
13
- * </note>
14
- * @example
15
- * Use a bare-bones client and the command you need to make an API call.
16
- * ```javascript
17
- * import { CodeDeployClient, RegisterOnPremisesInstanceCommand } from "@aws-sdk/client-codedeploy"; // ES Modules import
18
- * // const { CodeDeployClient, RegisterOnPremisesInstanceCommand } = require("@aws-sdk/client-codedeploy"); // CommonJS import
19
- * const client = new CodeDeployClient(config);
20
- * const command = new RegisterOnPremisesInstanceCommand(input);
21
- * const response = await client.send(command);
22
- * ```
23
- *
24
- * @see {@link RegisterOnPremisesInstanceCommandInput} for command's `input` shape.
25
- * @see {@link RegisterOnPremisesInstanceCommandOutput} for command's `response` shape.
26
- * @see {@link CodeDeployClientResolvedConfig | config} for command's `input` shape.
27
- *
28
- */
29
8
  class RegisterOnPremisesInstanceCommand 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);
@@ -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>Removes one or more tags from one or more 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, RemoveTagsFromOnPremisesInstancesCommand } from "@aws-sdk/client-codedeploy"; // ES Modules import
14
- * // const { CodeDeployClient, RemoveTagsFromOnPremisesInstancesCommand } = require("@aws-sdk/client-codedeploy"); // CommonJS import
15
- * const client = new CodeDeployClient(config);
16
- * const command = new RemoveTagsFromOnPremisesInstancesCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link RemoveTagsFromOnPremisesInstancesCommandInput} for command's `input` shape.
21
- * @see {@link RemoveTagsFromOnPremisesInstancesCommandOutput} for command's `response` shape.
22
- * @see {@link CodeDeployClientResolvedConfig | config} for command's `input` shape.
23
- *
24
- */
25
8
  class RemoveTagsFromOnPremisesInstancesCommand 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,38 +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
- * <p>In a blue/green deployment, overrides any specified wait time and starts terminating
12
- * instances immediately after the traffic routing is complete.</p>
13
- * @example
14
- * Use a bare-bones client and the command you need to make an API call.
15
- * ```javascript
16
- * import { CodeDeployClient, SkipWaitTimeForInstanceTerminationCommand } from "@aws-sdk/client-codedeploy"; // ES Modules import
17
- * // const { CodeDeployClient, SkipWaitTimeForInstanceTerminationCommand } = require("@aws-sdk/client-codedeploy"); // CommonJS import
18
- * const client = new CodeDeployClient(config);
19
- * const command = new SkipWaitTimeForInstanceTerminationCommand(input);
20
- * const response = await client.send(command);
21
- * ```
22
- *
23
- * @see {@link SkipWaitTimeForInstanceTerminationCommandInput} for command's `input` shape.
24
- * @see {@link SkipWaitTimeForInstanceTerminationCommandOutput} for command's `response` shape.
25
- * @see {@link CodeDeployClientResolvedConfig | config} for command's `input` shape.
26
- *
27
- */
28
8
  class SkipWaitTimeForInstanceTerminationCommand extends smithy_client_1.Command {
29
- // Start section: command_properties
30
- // End section: command_properties
31
9
  constructor(input) {
32
- // Start section: command_constructor
33
10
  super();
34
11
  this.input = input;
35
- // End section: command_constructor
36
12
  }
37
- /**
38
- * @internal
39
- */
40
13
  resolveMiddleware(clientStack, configuration, options) {
41
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
42
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>Attempts to stop an ongoing deployment.</p>
10
- * @example
11
- * Use a bare-bones client and the command you need to make an API call.
12
- * ```javascript
13
- * import { CodeDeployClient, StopDeploymentCommand } from "@aws-sdk/client-codedeploy"; // ES Modules import
14
- * // const { CodeDeployClient, StopDeploymentCommand } = require("@aws-sdk/client-codedeploy"); // CommonJS import
15
- * const client = new CodeDeployClient(config);
16
- * const command = new StopDeploymentCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link StopDeploymentCommandInput} for command's `input` shape.
21
- * @see {@link StopDeploymentCommandOutput} for command's `response` shape.
22
- * @see {@link CodeDeployClientResolvedConfig | config} for command's `input` shape.
23
- *
24
- */
25
8
  class StopDeploymentCommand 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);