@aws-sdk/client-codedeploy 3.36.0 → 3.39.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (137) hide show
  1. package/CHANGELOG.md +42 -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/commands/index.js +50 -0
  52. package/dist-cjs/endpoints.js +6 -1
  53. package/dist-cjs/index.js +5 -57
  54. package/dist-cjs/models/models_0.js +0 -741
  55. package/dist-cjs/pagination/ListApplicationRevisionsPaginator.js +0 -10
  56. package/dist-cjs/pagination/ListApplicationsPaginator.js +0 -10
  57. package/dist-cjs/pagination/ListDeploymentConfigsPaginator.js +0 -10
  58. package/dist-cjs/pagination/ListDeploymentGroupsPaginator.js +0 -10
  59. package/dist-cjs/pagination/ListDeploymentInstancesPaginator.js +0 -10
  60. package/dist-cjs/pagination/ListDeploymentsPaginator.js +0 -10
  61. package/dist-cjs/pagination/index.js +10 -0
  62. package/dist-cjs/protocols/Aws_json1_1.js +0 -5
  63. package/dist-cjs/runtimeConfig.browser.js +1 -5
  64. package/dist-cjs/runtimeConfig.js +1 -5
  65. package/dist-cjs/runtimeConfig.native.js +0 -3
  66. package/dist-cjs/runtimeConfig.shared.js +0 -3
  67. package/dist-cjs/waiters/index.js +4 -0
  68. package/dist-cjs/waiters/waitForDeploymentSuccessful.js +0 -9
  69. package/dist-es/commands/index.js +47 -0
  70. package/dist-es/endpoints.js +6 -1
  71. package/dist-es/index.js +5 -57
  72. package/dist-es/pagination/index.js +7 -0
  73. package/dist-es/waiters/index.js +1 -0
  74. package/dist-types/commands/index.d.ts +47 -0
  75. package/dist-types/index.d.ts +5 -57
  76. package/dist-types/pagination/index.d.ts +7 -0
  77. package/dist-types/ts3.4/CodeDeploy.d.ts +48 -331
  78. package/dist-types/ts3.4/CodeDeployClient.d.ts +24 -188
  79. package/dist-types/ts3.4/commands/AddTagsToOnPremisesInstancesCommand.d.ts +2 -20
  80. package/dist-types/ts3.4/commands/BatchGetApplicationRevisionsCommand.d.ts +2 -21
  81. package/dist-types/ts3.4/commands/BatchGetApplicationsCommand.d.ts +2 -21
  82. package/dist-types/ts3.4/commands/BatchGetDeploymentGroupsCommand.d.ts +2 -20
  83. package/dist-types/ts3.4/commands/BatchGetDeploymentInstancesCommand.d.ts +2 -29
  84. package/dist-types/ts3.4/commands/BatchGetDeploymentTargetsCommand.d.ts +2 -47
  85. package/dist-types/ts3.4/commands/BatchGetDeploymentsCommand.d.ts +2 -21
  86. package/dist-types/ts3.4/commands/BatchGetOnPremisesInstancesCommand.d.ts +2 -21
  87. package/dist-types/ts3.4/commands/ContinueDeploymentCommand.d.ts +2 -24
  88. package/dist-types/ts3.4/commands/CreateApplicationCommand.d.ts +2 -20
  89. package/dist-types/ts3.4/commands/CreateDeploymentCommand.d.ts +2 -20
  90. package/dist-types/ts3.4/commands/CreateDeploymentConfigCommand.d.ts +2 -20
  91. package/dist-types/ts3.4/commands/CreateDeploymentGroupCommand.d.ts +2 -20
  92. package/dist-types/ts3.4/commands/DeleteApplicationCommand.d.ts +2 -20
  93. package/dist-types/ts3.4/commands/DeleteDeploymentConfigCommand.d.ts +2 -24
  94. package/dist-types/ts3.4/commands/DeleteDeploymentGroupCommand.d.ts +2 -20
  95. package/dist-types/ts3.4/commands/DeleteGitHubAccountTokenCommand.d.ts +2 -20
  96. package/dist-types/ts3.4/commands/DeleteResourcesByExternalIdCommand.d.ts +2 -20
  97. package/dist-types/ts3.4/commands/DeregisterOnPremisesInstanceCommand.d.ts +2 -20
  98. package/dist-types/ts3.4/commands/GetApplicationCommand.d.ts +2 -20
  99. package/dist-types/ts3.4/commands/GetApplicationRevisionCommand.d.ts +2 -20
  100. package/dist-types/ts3.4/commands/GetDeploymentCommand.d.ts +2 -26
  101. package/dist-types/ts3.4/commands/GetDeploymentConfigCommand.d.ts +2 -20
  102. package/dist-types/ts3.4/commands/GetDeploymentGroupCommand.d.ts +2 -20
  103. package/dist-types/ts3.4/commands/GetDeploymentInstanceCommand.d.ts +2 -22
  104. package/dist-types/ts3.4/commands/GetDeploymentTargetCommand.d.ts +2 -20
  105. package/dist-types/ts3.4/commands/GetOnPremisesInstanceCommand.d.ts +2 -20
  106. package/dist-types/ts3.4/commands/ListApplicationRevisionsCommand.d.ts +2 -20
  107. package/dist-types/ts3.4/commands/ListApplicationsCommand.d.ts +2 -20
  108. package/dist-types/ts3.4/commands/ListDeploymentConfigsCommand.d.ts +2 -20
  109. package/dist-types/ts3.4/commands/ListDeploymentGroupsCommand.d.ts +2 -21
  110. package/dist-types/ts3.4/commands/ListDeploymentInstancesCommand.d.ts +2 -28
  111. package/dist-types/ts3.4/commands/ListDeploymentTargetsCommand.d.ts +2 -20
  112. package/dist-types/ts3.4/commands/ListDeploymentsCommand.d.ts +2 -21
  113. package/dist-types/ts3.4/commands/ListGitHubAccountTokenNamesCommand.d.ts +2 -20
  114. package/dist-types/ts3.4/commands/ListOnPremisesInstancesCommand.d.ts +2 -23
  115. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +2 -21
  116. package/dist-types/ts3.4/commands/PutLifecycleEventHookExecutionStatusCommand.d.ts +2 -28
  117. package/dist-types/ts3.4/commands/RegisterApplicationRevisionCommand.d.ts +2 -20
  118. package/dist-types/ts3.4/commands/RegisterOnPremisesInstanceCommand.d.ts +2 -24
  119. package/dist-types/ts3.4/commands/RemoveTagsFromOnPremisesInstancesCommand.d.ts +2 -20
  120. package/dist-types/ts3.4/commands/SkipWaitTimeForInstanceTerminationCommand.d.ts +2 -23
  121. package/dist-types/ts3.4/commands/StopDeploymentCommand.d.ts +2 -20
  122. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +2 -21
  123. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +2 -22
  124. package/dist-types/ts3.4/commands/UpdateApplicationCommand.d.ts +2 -20
  125. package/dist-types/ts3.4/commands/UpdateDeploymentGroupCommand.d.ts +2 -20
  126. package/dist-types/ts3.4/commands/index.d.ts +47 -0
  127. package/dist-types/ts3.4/index.d.ts +5 -57
  128. package/dist-types/ts3.4/models/models_0.d.ts +1001 -4081
  129. package/dist-types/ts3.4/pagination/index.d.ts +7 -0
  130. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -3
  131. package/dist-types/ts3.4/runtimeConfig.d.ts +1 -3
  132. package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -3
  133. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -3
  134. package/dist-types/ts3.4/waiters/index.d.ts +1 -0
  135. package/dist-types/ts3.4/waiters/waitForDeploymentSuccessful.d.ts +2 -9
  136. package/dist-types/waiters/index.d.ts +1 -0
  137. package/package.json +33 -33
@@ -56,223 +56,59 @@ import { UpdateDeploymentGroupCommandInput, UpdateDeploymentGroupCommandOutput }
56
56
  export declare type ServiceInputTypes = AddTagsToOnPremisesInstancesCommandInput | BatchGetApplicationRevisionsCommandInput | BatchGetApplicationsCommandInput | BatchGetDeploymentGroupsCommandInput | BatchGetDeploymentInstancesCommandInput | BatchGetDeploymentTargetsCommandInput | BatchGetDeploymentsCommandInput | BatchGetOnPremisesInstancesCommandInput | ContinueDeploymentCommandInput | CreateApplicationCommandInput | CreateDeploymentCommandInput | CreateDeploymentConfigCommandInput | CreateDeploymentGroupCommandInput | DeleteApplicationCommandInput | DeleteDeploymentConfigCommandInput | DeleteDeploymentGroupCommandInput | DeleteGitHubAccountTokenCommandInput | DeleteResourcesByExternalIdCommandInput | DeregisterOnPremisesInstanceCommandInput | GetApplicationCommandInput | GetApplicationRevisionCommandInput | GetDeploymentCommandInput | GetDeploymentConfigCommandInput | GetDeploymentGroupCommandInput | GetDeploymentInstanceCommandInput | GetDeploymentTargetCommandInput | GetOnPremisesInstanceCommandInput | ListApplicationRevisionsCommandInput | ListApplicationsCommandInput | ListDeploymentConfigsCommandInput | ListDeploymentGroupsCommandInput | ListDeploymentInstancesCommandInput | ListDeploymentTargetsCommandInput | ListDeploymentsCommandInput | ListGitHubAccountTokenNamesCommandInput | ListOnPremisesInstancesCommandInput | ListTagsForResourceCommandInput | PutLifecycleEventHookExecutionStatusCommandInput | RegisterApplicationRevisionCommandInput | RegisterOnPremisesInstanceCommandInput | RemoveTagsFromOnPremisesInstancesCommandInput | SkipWaitTimeForInstanceTerminationCommandInput | StopDeploymentCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateApplicationCommandInput | UpdateDeploymentGroupCommandInput;
57
57
  export declare type ServiceOutputTypes = AddTagsToOnPremisesInstancesCommandOutput | BatchGetApplicationRevisionsCommandOutput | BatchGetApplicationsCommandOutput | BatchGetDeploymentGroupsCommandOutput | BatchGetDeploymentInstancesCommandOutput | BatchGetDeploymentTargetsCommandOutput | BatchGetDeploymentsCommandOutput | BatchGetOnPremisesInstancesCommandOutput | ContinueDeploymentCommandOutput | CreateApplicationCommandOutput | CreateDeploymentCommandOutput | CreateDeploymentConfigCommandOutput | CreateDeploymentGroupCommandOutput | DeleteApplicationCommandOutput | DeleteDeploymentConfigCommandOutput | DeleteDeploymentGroupCommandOutput | DeleteGitHubAccountTokenCommandOutput | DeleteResourcesByExternalIdCommandOutput | DeregisterOnPremisesInstanceCommandOutput | GetApplicationCommandOutput | GetApplicationRevisionCommandOutput | GetDeploymentCommandOutput | GetDeploymentConfigCommandOutput | GetDeploymentGroupCommandOutput | GetDeploymentInstanceCommandOutput | GetDeploymentTargetCommandOutput | GetOnPremisesInstanceCommandOutput | ListApplicationRevisionsCommandOutput | ListApplicationsCommandOutput | ListDeploymentConfigsCommandOutput | ListDeploymentGroupsCommandOutput | ListDeploymentInstancesCommandOutput | ListDeploymentTargetsCommandOutput | ListDeploymentsCommandOutput | ListGitHubAccountTokenNamesCommandOutput | ListOnPremisesInstancesCommandOutput | ListTagsForResourceCommandOutput | PutLifecycleEventHookExecutionStatusCommandOutput | RegisterApplicationRevisionCommandOutput | RegisterOnPremisesInstanceCommandOutput | RemoveTagsFromOnPremisesInstancesCommandOutput | SkipWaitTimeForInstanceTerminationCommandOutput | StopDeploymentCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateApplicationCommandOutput | UpdateDeploymentGroupCommandOutput;
58
58
  export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
59
- /**
60
- * The HTTP handler to use. Fetch in browser and Https in Nodejs.
61
- */
59
+
62
60
  requestHandler?: __HttpHandler;
63
- /**
64
- * A constructor for a class implementing the {@link __Hash} interface
65
- * that computes the SHA-256 HMAC or checksum of a string or binary buffer.
66
- * @internal
67
- */
61
+
68
62
  sha256?: __HashConstructor;
69
- /**
70
- * The function that will be used to convert strings into HTTP endpoints.
71
- * @internal
72
- */
63
+
73
64
  urlParser?: __UrlParser;
74
- /**
75
- * A function that can calculate the length of a request body.
76
- * @internal
77
- */
65
+
78
66
  bodyLengthChecker?: (body: any) => number | undefined;
79
- /**
80
- * A function that converts a stream into an array of bytes.
81
- * @internal
82
- */
67
+
83
68
  streamCollector?: __StreamCollector;
84
- /**
85
- * The function that will be used to convert a base64-encoded string to a byte array.
86
- * @internal
87
- */
69
+
88
70
  base64Decoder?: __Decoder;
89
- /**
90
- * The function that will be used to convert binary data to a base64-encoded string.
91
- * @internal
92
- */
71
+
93
72
  base64Encoder?: __Encoder;
94
- /**
95
- * The function that will be used to convert a UTF8-encoded string to a byte array.
96
- * @internal
97
- */
73
+
98
74
  utf8Decoder?: __Decoder;
99
- /**
100
- * The function that will be used to convert binary data to a UTF-8 encoded string.
101
- * @internal
102
- */
75
+
103
76
  utf8Encoder?: __Encoder;
104
- /**
105
- * The runtime environment.
106
- * @internal
107
- */
77
+
108
78
  runtime?: string;
109
- /**
110
- * Disable dyanamically changing the endpoint of the client based on the hostPrefix
111
- * trait of an operation.
112
- */
79
+
113
80
  disableHostPrefix?: boolean;
114
- /**
115
- * Value for how many times a request will be made at most in case of retry.
116
- */
81
+
117
82
  maxAttempts?: number | __Provider<number>;
118
- /**
119
- * Specifies which retry algorithm to use.
120
- */
83
+
121
84
  retryMode?: string | __Provider<string>;
122
- /**
123
- * Optional logger for logging debug/info/warn/error.
124
- */
85
+
125
86
  logger?: __Logger;
126
- /**
127
- * Unique service identifier.
128
- * @internal
129
- */
87
+
130
88
  serviceId?: string;
131
- /**
132
- * The AWS region to which this client will send requests
133
- */
89
+
134
90
  region?: string | __Provider<string>;
135
- /**
136
- * Default credentials provider; Not available in browser runtime.
137
- * @internal
138
- */
91
+
139
92
  credentialDefaultProvider?: (input: any) => __Provider<__Credentials>;
140
- /**
141
- * Fetch related hostname, signing name or signing region with given region.
142
- * @internal
143
- */
93
+
144
94
  regionInfoProvider?: RegionInfoProvider;
145
- /**
146
- * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header
147
- * @internal
148
- */
95
+
149
96
  defaultUserAgentProvider?: Provider<__UserAgent>;
150
97
  }
151
98
  declare type CodeDeployClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointsInputConfig & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig;
152
- /**
153
- * The configuration interface of CodeDeployClient class constructor that set the region, credentials and other options.
154
- */
99
+
155
100
  export interface CodeDeployClientConfig extends CodeDeployClientConfigType {
156
101
  }
157
102
  declare type CodeDeployClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RegionResolvedConfig & EndpointsResolvedConfig & RetryResolvedConfig & HostHeaderResolvedConfig & AwsAuthResolvedConfig & UserAgentResolvedConfig;
158
- /**
159
- * The resolved configuration interface of CodeDeployClient class. This is resolved and normalized from the {@link CodeDeployClientConfig | constructor configuration interface}.
160
- */
103
+
161
104
  export interface CodeDeployClientResolvedConfig extends CodeDeployClientResolvedConfigType {
162
105
  }
163
- /**
164
- * <fullname>AWS CodeDeploy</fullname>
165
- * <p>AWS CodeDeploy is a deployment service that automates application deployments to
166
- * Amazon EC2 instances, on-premises instances running in your own facility, serverless AWS
167
- * Lambda functions, or applications in an Amazon ECS service.</p>
168
- * <p>You can deploy a nearly unlimited variety of application content, such as an updated
169
- * Lambda function, updated applications in an Amazon ECS service, code, web and
170
- * configuration files, executables, packages, scripts, multimedia files, and so on. AWS
171
- * CodeDeploy can deploy application content stored in Amazon S3 buckets, GitHub
172
- * repositories, or Bitbucket repositories. You do not need to make changes to your
173
- * existing code before you can use AWS CodeDeploy.</p>
174
- * <p>AWS CodeDeploy makes it easier for you to rapidly release new features, helps you
175
- * avoid downtime during application deployment, and handles the complexity of updating
176
- * your applications, without many of the risks associated with error-prone manual
177
- * deployments.</p>
178
- * <p>
179
- * <b>AWS CodeDeploy Components</b>
180
- * </p>
181
- * <p>Use the information in this guide to help you work with the following AWS CodeDeploy
182
- * components:</p>
183
- * <ul>
184
- * <li>
185
- * <p>
186
- * <b>Application</b>: A name that uniquely identifies
187
- * the application you want to deploy. AWS CodeDeploy uses this name, which
188
- * functions as a container, to ensure the correct combination of revision,
189
- * deployment configuration, and deployment group are referenced during a
190
- * deployment.</p>
191
- * </li>
192
- * <li>
193
- * <p>
194
- * <b>Deployment group</b>: A set of individual
195
- * instances, CodeDeploy Lambda deployment configuration settings, or an Amazon ECS
196
- * service and network details. A Lambda deployment group specifies how to route
197
- * traffic to a new version of a Lambda function. An Amazon ECS deployment group
198
- * specifies the service created in Amazon ECS to deploy, a load balancer, and a
199
- * listener to reroute production traffic to an updated containerized application.
200
- * An EC2/On-premises deployment group contains individually tagged instances,
201
- * Amazon EC2 instances in Amazon EC2 Auto Scaling groups, or both. All deployment
202
- * groups can specify optional trigger, alarm, and rollback settings.</p>
203
- * </li>
204
- * <li>
205
- * <p>
206
- * <b>Deployment configuration</b>: A set of deployment
207
- * rules and deployment success and failure conditions used by AWS CodeDeploy
208
- * during a deployment.</p>
209
- * </li>
210
- * <li>
211
- * <p>
212
- * <b>Deployment</b>: The process and the components used
213
- * when updating a Lambda function, a containerized application in an Amazon ECS
214
- * service, or of installing content on one or more instances. </p>
215
- * </li>
216
- * <li>
217
- * <p>
218
- * <b>Application revisions</b>: For an AWS Lambda
219
- * deployment, this is an AppSpec file that specifies the Lambda function to be
220
- * updated and one or more functions to validate deployment lifecycle events. For
221
- * an Amazon ECS deployment, this is an AppSpec file that specifies the Amazon ECS
222
- * task definition, container, and port where production traffic is rerouted. For
223
- * an EC2/On-premises deployment, this is an archive file that contains source
224
- * content—source code, webpages, executable files, and deployment scripts—along
225
- * with an AppSpec file. Revisions are stored in Amazon S3 buckets or GitHub
226
- * repositories. For Amazon S3, a revision is uniquely identified by its Amazon S3
227
- * object key and its ETag, version, or both. For GitHub, a revision is uniquely
228
- * identified by its commit ID.</p>
229
- * </li>
230
- * </ul>
231
- * <p>This guide also contains information to help you get details about the instances in
232
- * your deployments, to make on-premises instances available for AWS CodeDeploy
233
- * deployments, to get details about a Lambda function deployment, and to get details about
234
- * Amazon ECS service deployments.</p>
235
- * <p>
236
- * <b>AWS CodeDeploy Information Resources</b>
237
- * </p>
238
- * <ul>
239
- * <li>
240
- * <p>
241
- * <a href="https://docs.aws.amazon.com/codedeploy/latest/userguide">AWS CodeDeploy
242
- * User Guide</a>
243
- * </p>
244
- * </li>
245
- * <li>
246
- * <p>
247
- * <a href="https://docs.aws.amazon.com/codedeploy/latest/APIReference/">AWS
248
- * CodeDeploy API Reference Guide</a>
249
- * </p>
250
- * </li>
251
- * <li>
252
- * <p>
253
- * <a href="https://docs.aws.amazon.com/cli/latest/reference/deploy/index.html">AWS
254
- * CLI Reference for AWS CodeDeploy</a>
255
- * </p>
256
- * </li>
257
- * <li>
258
- * <p>
259
- * <a href="https://forums.aws.amazon.com/forum.jspa?forumID=179">AWS CodeDeploy
260
- * Developer Forum</a>
261
- * </p>
262
- * </li>
263
- * </ul>
264
- */
106
+
265
107
  export declare class CodeDeployClient extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, CodeDeployClientResolvedConfig> {
266
- /**
267
- * The resolved configuration of CodeDeployClient class. This is resolved and normalized from the {@link CodeDeployClientConfig | constructor configuration interface}.
268
- */
108
+
269
109
  readonly config: CodeDeployClientResolvedConfig;
270
110
  constructor(configuration: CodeDeployClientConfig);
271
- /**
272
- * Destroy underlying resources, like sockets. It's usually not necessary to do this.
273
- * However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
274
- * Otherwise, sockets might stay open for quite a long time before the server terminates them.
275
- */
111
+
276
112
  destroy(): void;
277
113
  }
278
114
  export {};
@@ -6,29 +6,11 @@ export interface AddTagsToOnPremisesInstancesCommandInput extends AddTagsToOnPre
6
6
  }
7
7
  export interface AddTagsToOnPremisesInstancesCommandOutput extends __MetadataBearer {
8
8
  }
9
- /**
10
- * <p>Adds tags to on-premises instances.</p>
11
- * @example
12
- * Use a bare-bones client and the command you need to make an API call.
13
- * ```javascript
14
- * import { CodeDeployClient, AddTagsToOnPremisesInstancesCommand } from "@aws-sdk/client-codedeploy"; // ES Modules import
15
- * // const { CodeDeployClient, AddTagsToOnPremisesInstancesCommand } = require("@aws-sdk/client-codedeploy"); // CommonJS import
16
- * const client = new CodeDeployClient(config);
17
- * const command = new AddTagsToOnPremisesInstancesCommand(input);
18
- * const response = await client.send(command);
19
- * ```
20
- *
21
- * @see {@link AddTagsToOnPremisesInstancesCommandInput} for command's `input` shape.
22
- * @see {@link AddTagsToOnPremisesInstancesCommandOutput} for command's `response` shape.
23
- * @see {@link CodeDeployClientResolvedConfig | config} for command's `input` shape.
24
- *
25
- */
9
+
26
10
  export declare class AddTagsToOnPremisesInstancesCommand extends $Command<AddTagsToOnPremisesInstancesCommandInput, AddTagsToOnPremisesInstancesCommandOutput, CodeDeployClientResolvedConfig> {
27
11
  readonly input: AddTagsToOnPremisesInstancesCommandInput;
28
12
  constructor(input: AddTagsToOnPremisesInstancesCommandInput);
29
- /**
30
- * @internal
31
- */
13
+
32
14
  resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CodeDeployClientResolvedConfig, options?: __HttpHandlerOptions): Handler<AddTagsToOnPremisesInstancesCommandInput, AddTagsToOnPremisesInstancesCommandOutput>;
33
15
  private serialize;
34
16
  private deserialize;
@@ -6,30 +6,11 @@ export interface BatchGetApplicationRevisionsCommandInput extends BatchGetApplic
6
6
  }
7
7
  export interface BatchGetApplicationRevisionsCommandOutput extends BatchGetApplicationRevisionsOutput, __MetadataBearer {
8
8
  }
9
- /**
10
- * <p>Gets information about one or more application revisions. The maximum number of
11
- * application revisions that can be returned is 25.</p>
12
- * @example
13
- * Use a bare-bones client and the command you need to make an API call.
14
- * ```javascript
15
- * import { CodeDeployClient, BatchGetApplicationRevisionsCommand } from "@aws-sdk/client-codedeploy"; // ES Modules import
16
- * // const { CodeDeployClient, BatchGetApplicationRevisionsCommand } = require("@aws-sdk/client-codedeploy"); // CommonJS import
17
- * const client = new CodeDeployClient(config);
18
- * const command = new BatchGetApplicationRevisionsCommand(input);
19
- * const response = await client.send(command);
20
- * ```
21
- *
22
- * @see {@link BatchGetApplicationRevisionsCommandInput} for command's `input` shape.
23
- * @see {@link BatchGetApplicationRevisionsCommandOutput} for command's `response` shape.
24
- * @see {@link CodeDeployClientResolvedConfig | config} for command's `input` shape.
25
- *
26
- */
9
+
27
10
  export declare class BatchGetApplicationRevisionsCommand extends $Command<BatchGetApplicationRevisionsCommandInput, BatchGetApplicationRevisionsCommandOutput, CodeDeployClientResolvedConfig> {
28
11
  readonly input: BatchGetApplicationRevisionsCommandInput;
29
12
  constructor(input: BatchGetApplicationRevisionsCommandInput);
30
- /**
31
- * @internal
32
- */
13
+
33
14
  resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CodeDeployClientResolvedConfig, options?: __HttpHandlerOptions): Handler<BatchGetApplicationRevisionsCommandInput, BatchGetApplicationRevisionsCommandOutput>;
34
15
  private serialize;
35
16
  private deserialize;
@@ -6,30 +6,11 @@ export interface BatchGetApplicationsCommandInput extends BatchGetApplicationsIn
6
6
  }
7
7
  export interface BatchGetApplicationsCommandOutput extends BatchGetApplicationsOutput, __MetadataBearer {
8
8
  }
9
- /**
10
- * <p>Gets information about one or more applications. The maximum number of applications
11
- * that can be returned is 100.</p>
12
- * @example
13
- * Use a bare-bones client and the command you need to make an API call.
14
- * ```javascript
15
- * import { CodeDeployClient, BatchGetApplicationsCommand } from "@aws-sdk/client-codedeploy"; // ES Modules import
16
- * // const { CodeDeployClient, BatchGetApplicationsCommand } = require("@aws-sdk/client-codedeploy"); // CommonJS import
17
- * const client = new CodeDeployClient(config);
18
- * const command = new BatchGetApplicationsCommand(input);
19
- * const response = await client.send(command);
20
- * ```
21
- *
22
- * @see {@link BatchGetApplicationsCommandInput} for command's `input` shape.
23
- * @see {@link BatchGetApplicationsCommandOutput} for command's `response` shape.
24
- * @see {@link CodeDeployClientResolvedConfig | config} for command's `input` shape.
25
- *
26
- */
9
+
27
10
  export declare class BatchGetApplicationsCommand extends $Command<BatchGetApplicationsCommandInput, BatchGetApplicationsCommandOutput, CodeDeployClientResolvedConfig> {
28
11
  readonly input: BatchGetApplicationsCommandInput;
29
12
  constructor(input: BatchGetApplicationsCommandInput);
30
- /**
31
- * @internal
32
- */
13
+
33
14
  resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CodeDeployClientResolvedConfig, options?: __HttpHandlerOptions): Handler<BatchGetApplicationsCommandInput, BatchGetApplicationsCommandOutput>;
34
15
  private serialize;
35
16
  private deserialize;
@@ -6,29 +6,11 @@ export interface BatchGetDeploymentGroupsCommandInput extends BatchGetDeployment
6
6
  }
7
7
  export interface BatchGetDeploymentGroupsCommandOutput extends BatchGetDeploymentGroupsOutput, __MetadataBearer {
8
8
  }
9
- /**
10
- * <p>Gets information about one or more deployment groups.</p>
11
- * @example
12
- * Use a bare-bones client and the command you need to make an API call.
13
- * ```javascript
14
- * import { CodeDeployClient, BatchGetDeploymentGroupsCommand } from "@aws-sdk/client-codedeploy"; // ES Modules import
15
- * // const { CodeDeployClient, BatchGetDeploymentGroupsCommand } = require("@aws-sdk/client-codedeploy"); // CommonJS import
16
- * const client = new CodeDeployClient(config);
17
- * const command = new BatchGetDeploymentGroupsCommand(input);
18
- * const response = await client.send(command);
19
- * ```
20
- *
21
- * @see {@link BatchGetDeploymentGroupsCommandInput} for command's `input` shape.
22
- * @see {@link BatchGetDeploymentGroupsCommandOutput} for command's `response` shape.
23
- * @see {@link CodeDeployClientResolvedConfig | config} for command's `input` shape.
24
- *
25
- */
9
+
26
10
  export declare class BatchGetDeploymentGroupsCommand extends $Command<BatchGetDeploymentGroupsCommandInput, BatchGetDeploymentGroupsCommandOutput, CodeDeployClientResolvedConfig> {
27
11
  readonly input: BatchGetDeploymentGroupsCommandInput;
28
12
  constructor(input: BatchGetDeploymentGroupsCommandInput);
29
- /**
30
- * @internal
31
- */
13
+
32
14
  resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CodeDeployClientResolvedConfig, options?: __HttpHandlerOptions): Handler<BatchGetDeploymentGroupsCommandInput, BatchGetDeploymentGroupsCommandOutput>;
33
15
  private serialize;
34
16
  private deserialize;
@@ -6,38 +6,11 @@ export interface BatchGetDeploymentInstancesCommandInput extends BatchGetDeploym
6
6
  }
7
7
  export interface BatchGetDeploymentInstancesCommandOutput extends BatchGetDeploymentInstancesOutput, __MetadataBearer {
8
8
  }
9
- /**
10
- * @deprecated
11
- *
12
- * <note>
13
- * <p> This method works, but is deprecated. Use <code>BatchGetDeploymentTargets</code>
14
- * instead. </p>
15
- * </note>
16
- * <p> Returns an array of one or more instances associated with a deployment. This method
17
- * works with EC2/On-premises and AWS Lambda compute platforms. The newer
18
- * <code>BatchGetDeploymentTargets</code> works with all compute platforms. The maximum
19
- * number of instances that can be returned is 25.</p>
20
- * @example
21
- * Use a bare-bones client and the command you need to make an API call.
22
- * ```javascript
23
- * import { CodeDeployClient, BatchGetDeploymentInstancesCommand } from "@aws-sdk/client-codedeploy"; // ES Modules import
24
- * // const { CodeDeployClient, BatchGetDeploymentInstancesCommand } = require("@aws-sdk/client-codedeploy"); // CommonJS import
25
- * const client = new CodeDeployClient(config);
26
- * const command = new BatchGetDeploymentInstancesCommand(input);
27
- * const response = await client.send(command);
28
- * ```
29
- *
30
- * @see {@link BatchGetDeploymentInstancesCommandInput} for command's `input` shape.
31
- * @see {@link BatchGetDeploymentInstancesCommandOutput} for command's `response` shape.
32
- * @see {@link CodeDeployClientResolvedConfig | config} for command's `input` shape.
33
- *
34
- */
9
+
35
10
  export declare class BatchGetDeploymentInstancesCommand extends $Command<BatchGetDeploymentInstancesCommandInput, BatchGetDeploymentInstancesCommandOutput, CodeDeployClientResolvedConfig> {
36
11
  readonly input: BatchGetDeploymentInstancesCommandInput;
37
12
  constructor(input: BatchGetDeploymentInstancesCommandInput);
38
- /**
39
- * @internal
40
- */
13
+
41
14
  resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CodeDeployClientResolvedConfig, options?: __HttpHandlerOptions): Handler<BatchGetDeploymentInstancesCommandInput, BatchGetDeploymentInstancesCommandOutput>;
42
15
  private serialize;
43
16
  private deserialize;
@@ -6,56 +6,11 @@ export interface BatchGetDeploymentTargetsCommandInput extends BatchGetDeploymen
6
6
  }
7
7
  export interface BatchGetDeploymentTargetsCommandOutput extends BatchGetDeploymentTargetsOutput, __MetadataBearer {
8
8
  }
9
- /**
10
- * <p> Returns an array of one or more targets associated with a deployment. This method
11
- * works with all compute types and should be used instead of the deprecated
12
- * <code>BatchGetDeploymentInstances</code>. The maximum number of targets that can be
13
- * returned is 25.</p>
14
- * <p> The type of targets returned depends on the deployment's compute platform or
15
- * deployment method: </p>
16
- * <ul>
17
- * <li>
18
- * <p>
19
- * <b>EC2/On-premises</b>: Information about EC2 instance
20
- * targets. </p>
21
- * </li>
22
- * <li>
23
- * <p>
24
- * <b>AWS Lambda</b>: Information about Lambda functions
25
- * targets. </p>
26
- * </li>
27
- * <li>
28
- * <p>
29
- * <b>Amazon ECS</b>: Information about Amazon ECS
30
- * service targets. </p>
31
- * </li>
32
- * <li>
33
- * <p>
34
- * <b>CloudFormation</b>: Information about targets of
35
- * blue/green deployments initiated by a CloudFormation stack update.</p>
36
- * </li>
37
- * </ul>
38
- * @example
39
- * Use a bare-bones client and the command you need to make an API call.
40
- * ```javascript
41
- * import { CodeDeployClient, BatchGetDeploymentTargetsCommand } from "@aws-sdk/client-codedeploy"; // ES Modules import
42
- * // const { CodeDeployClient, BatchGetDeploymentTargetsCommand } = require("@aws-sdk/client-codedeploy"); // CommonJS import
43
- * const client = new CodeDeployClient(config);
44
- * const command = new BatchGetDeploymentTargetsCommand(input);
45
- * const response = await client.send(command);
46
- * ```
47
- *
48
- * @see {@link BatchGetDeploymentTargetsCommandInput} for command's `input` shape.
49
- * @see {@link BatchGetDeploymentTargetsCommandOutput} for command's `response` shape.
50
- * @see {@link CodeDeployClientResolvedConfig | config} for command's `input` shape.
51
- *
52
- */
9
+
53
10
  export declare class BatchGetDeploymentTargetsCommand extends $Command<BatchGetDeploymentTargetsCommandInput, BatchGetDeploymentTargetsCommandOutput, CodeDeployClientResolvedConfig> {
54
11
  readonly input: BatchGetDeploymentTargetsCommandInput;
55
12
  constructor(input: BatchGetDeploymentTargetsCommandInput);
56
- /**
57
- * @internal
58
- */
13
+
59
14
  resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CodeDeployClientResolvedConfig, options?: __HttpHandlerOptions): Handler<BatchGetDeploymentTargetsCommandInput, BatchGetDeploymentTargetsCommandOutput>;
60
15
  private serialize;
61
16
  private deserialize;
@@ -6,30 +6,11 @@ export interface BatchGetDeploymentsCommandInput extends BatchGetDeploymentsInpu
6
6
  }
7
7
  export interface BatchGetDeploymentsCommandOutput extends BatchGetDeploymentsOutput, __MetadataBearer {
8
8
  }
9
- /**
10
- * <p>Gets information about one or more deployments. The maximum number of deployments that
11
- * can be returned is 25.</p>
12
- * @example
13
- * Use a bare-bones client and the command you need to make an API call.
14
- * ```javascript
15
- * import { CodeDeployClient, BatchGetDeploymentsCommand } from "@aws-sdk/client-codedeploy"; // ES Modules import
16
- * // const { CodeDeployClient, BatchGetDeploymentsCommand } = require("@aws-sdk/client-codedeploy"); // CommonJS import
17
- * const client = new CodeDeployClient(config);
18
- * const command = new BatchGetDeploymentsCommand(input);
19
- * const response = await client.send(command);
20
- * ```
21
- *
22
- * @see {@link BatchGetDeploymentsCommandInput} for command's `input` shape.
23
- * @see {@link BatchGetDeploymentsCommandOutput} for command's `response` shape.
24
- * @see {@link CodeDeployClientResolvedConfig | config} for command's `input` shape.
25
- *
26
- */
9
+
27
10
  export declare class BatchGetDeploymentsCommand extends $Command<BatchGetDeploymentsCommandInput, BatchGetDeploymentsCommandOutput, CodeDeployClientResolvedConfig> {
28
11
  readonly input: BatchGetDeploymentsCommandInput;
29
12
  constructor(input: BatchGetDeploymentsCommandInput);
30
- /**
31
- * @internal
32
- */
13
+
33
14
  resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CodeDeployClientResolvedConfig, options?: __HttpHandlerOptions): Handler<BatchGetDeploymentsCommandInput, BatchGetDeploymentsCommandOutput>;
34
15
  private serialize;
35
16
  private deserialize;
@@ -6,30 +6,11 @@ export interface BatchGetOnPremisesInstancesCommandInput extends BatchGetOnPremi
6
6
  }
7
7
  export interface BatchGetOnPremisesInstancesCommandOutput extends BatchGetOnPremisesInstancesOutput, __MetadataBearer {
8
8
  }
9
- /**
10
- * <p>Gets information about one or more on-premises instances. The maximum number of
11
- * on-premises instances that can be returned is 25.</p>
12
- * @example
13
- * Use a bare-bones client and the command you need to make an API call.
14
- * ```javascript
15
- * import { CodeDeployClient, BatchGetOnPremisesInstancesCommand } from "@aws-sdk/client-codedeploy"; // ES Modules import
16
- * // const { CodeDeployClient, BatchGetOnPremisesInstancesCommand } = require("@aws-sdk/client-codedeploy"); // CommonJS import
17
- * const client = new CodeDeployClient(config);
18
- * const command = new BatchGetOnPremisesInstancesCommand(input);
19
- * const response = await client.send(command);
20
- * ```
21
- *
22
- * @see {@link BatchGetOnPremisesInstancesCommandInput} for command's `input` shape.
23
- * @see {@link BatchGetOnPremisesInstancesCommandOutput} for command's `response` shape.
24
- * @see {@link CodeDeployClientResolvedConfig | config} for command's `input` shape.
25
- *
26
- */
9
+
27
10
  export declare class BatchGetOnPremisesInstancesCommand extends $Command<BatchGetOnPremisesInstancesCommandInput, BatchGetOnPremisesInstancesCommandOutput, CodeDeployClientResolvedConfig> {
28
11
  readonly input: BatchGetOnPremisesInstancesCommandInput;
29
12
  constructor(input: BatchGetOnPremisesInstancesCommandInput);
30
- /**
31
- * @internal
32
- */
13
+
33
14
  resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CodeDeployClientResolvedConfig, options?: __HttpHandlerOptions): Handler<BatchGetOnPremisesInstancesCommandInput, BatchGetOnPremisesInstancesCommandOutput>;
34
15
  private serialize;
35
16
  private deserialize;
@@ -6,33 +6,11 @@ export interface ContinueDeploymentCommandInput extends ContinueDeploymentInput
6
6
  }
7
7
  export interface ContinueDeploymentCommandOutput extends __MetadataBearer {
8
8
  }
9
- /**
10
- * <p>For a blue/green deployment, starts the process of rerouting traffic from instances in
11
- * the original environment to instances in the replacement environment without waiting for
12
- * a specified wait time to elapse. (Traffic rerouting, which is achieved by registering
13
- * instances in the replacement environment with the load balancer, can start as soon as
14
- * all instances have a status of Ready.) </p>
15
- * @example
16
- * Use a bare-bones client and the command you need to make an API call.
17
- * ```javascript
18
- * import { CodeDeployClient, ContinueDeploymentCommand } from "@aws-sdk/client-codedeploy"; // ES Modules import
19
- * // const { CodeDeployClient, ContinueDeploymentCommand } = require("@aws-sdk/client-codedeploy"); // CommonJS import
20
- * const client = new CodeDeployClient(config);
21
- * const command = new ContinueDeploymentCommand(input);
22
- * const response = await client.send(command);
23
- * ```
24
- *
25
- * @see {@link ContinueDeploymentCommandInput} for command's `input` shape.
26
- * @see {@link ContinueDeploymentCommandOutput} for command's `response` shape.
27
- * @see {@link CodeDeployClientResolvedConfig | config} for command's `input` shape.
28
- *
29
- */
9
+
30
10
  export declare class ContinueDeploymentCommand extends $Command<ContinueDeploymentCommandInput, ContinueDeploymentCommandOutput, CodeDeployClientResolvedConfig> {
31
11
  readonly input: ContinueDeploymentCommandInput;
32
12
  constructor(input: ContinueDeploymentCommandInput);
33
- /**
34
- * @internal
35
- */
13
+
36
14
  resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CodeDeployClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ContinueDeploymentCommandInput, ContinueDeploymentCommandOutput>;
37
15
  private serialize;
38
16
  private deserialize;
@@ -6,29 +6,11 @@ export interface CreateApplicationCommandInput extends CreateApplicationInput {
6
6
  }
7
7
  export interface CreateApplicationCommandOutput extends CreateApplicationOutput, __MetadataBearer {
8
8
  }
9
- /**
10
- * <p>Creates an application.</p>
11
- * @example
12
- * Use a bare-bones client and the command you need to make an API call.
13
- * ```javascript
14
- * import { CodeDeployClient, CreateApplicationCommand } from "@aws-sdk/client-codedeploy"; // ES Modules import
15
- * // const { CodeDeployClient, CreateApplicationCommand } = require("@aws-sdk/client-codedeploy"); // CommonJS import
16
- * const client = new CodeDeployClient(config);
17
- * const command = new CreateApplicationCommand(input);
18
- * const response = await client.send(command);
19
- * ```
20
- *
21
- * @see {@link CreateApplicationCommandInput} for command's `input` shape.
22
- * @see {@link CreateApplicationCommandOutput} for command's `response` shape.
23
- * @see {@link CodeDeployClientResolvedConfig | config} for command's `input` shape.
24
- *
25
- */
9
+
26
10
  export declare class CreateApplicationCommand extends $Command<CreateApplicationCommandInput, CreateApplicationCommandOutput, CodeDeployClientResolvedConfig> {
27
11
  readonly input: CreateApplicationCommandInput;
28
12
  constructor(input: CreateApplicationCommandInput);
29
- /**
30
- * @internal
31
- */
13
+
32
14
  resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CodeDeployClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateApplicationCommandInput, CreateApplicationCommandOutput>;
33
15
  private serialize;
34
16
  private deserialize;