@aws-sdk/client-codedeploy 3.975.0 → 3.980.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.
package/dist-cjs/index.js CHANGED
@@ -4121,59 +4121,6 @@ class UpdateDeploymentGroupCommand extends smithyClient.Command
4121
4121
  .build() {
4122
4122
  }
4123
4123
 
4124
- const commands = {
4125
- AddTagsToOnPremisesInstancesCommand,
4126
- BatchGetApplicationRevisionsCommand,
4127
- BatchGetApplicationsCommand,
4128
- BatchGetDeploymentGroupsCommand,
4129
- BatchGetDeploymentInstancesCommand,
4130
- BatchGetDeploymentsCommand,
4131
- BatchGetDeploymentTargetsCommand,
4132
- BatchGetOnPremisesInstancesCommand,
4133
- ContinueDeploymentCommand,
4134
- CreateApplicationCommand,
4135
- CreateDeploymentCommand,
4136
- CreateDeploymentConfigCommand,
4137
- CreateDeploymentGroupCommand,
4138
- DeleteApplicationCommand,
4139
- DeleteDeploymentConfigCommand,
4140
- DeleteDeploymentGroupCommand,
4141
- DeleteGitHubAccountTokenCommand,
4142
- DeleteResourcesByExternalIdCommand,
4143
- DeregisterOnPremisesInstanceCommand,
4144
- GetApplicationCommand,
4145
- GetApplicationRevisionCommand,
4146
- GetDeploymentCommand,
4147
- GetDeploymentConfigCommand,
4148
- GetDeploymentGroupCommand,
4149
- GetDeploymentInstanceCommand,
4150
- GetDeploymentTargetCommand,
4151
- GetOnPremisesInstanceCommand,
4152
- ListApplicationRevisionsCommand,
4153
- ListApplicationsCommand,
4154
- ListDeploymentConfigsCommand,
4155
- ListDeploymentGroupsCommand,
4156
- ListDeploymentInstancesCommand,
4157
- ListDeploymentsCommand,
4158
- ListDeploymentTargetsCommand,
4159
- ListGitHubAccountTokenNamesCommand,
4160
- ListOnPremisesInstancesCommand,
4161
- ListTagsForResourceCommand,
4162
- PutLifecycleEventHookExecutionStatusCommand,
4163
- RegisterApplicationRevisionCommand,
4164
- RegisterOnPremisesInstanceCommand,
4165
- RemoveTagsFromOnPremisesInstancesCommand,
4166
- SkipWaitTimeForInstanceTerminationCommand,
4167
- StopDeploymentCommand,
4168
- TagResourceCommand,
4169
- UntagResourceCommand,
4170
- UpdateApplicationCommand,
4171
- UpdateDeploymentGroupCommand,
4172
- };
4173
- class CodeDeploy extends CodeDeployClient {
4174
- }
4175
- smithyClient.createAggregatedClient(commands, CodeDeploy);
4176
-
4177
4124
  const paginateListApplicationRevisions = core.createPaginator(CodeDeployClient, ListApplicationRevisionsCommand, "nextToken", "nextToken", "");
4178
4125
 
4179
4126
  const paginateListApplications = core.createPaginator(CodeDeployClient, ListApplicationsCommand, "nextToken", "nextToken", "");
@@ -4234,6 +4181,70 @@ const waitUntilDeploymentSuccessful = async (params, input) => {
4234
4181
  return utilWaiter.checkExceptions(result);
4235
4182
  };
4236
4183
 
4184
+ const commands = {
4185
+ AddTagsToOnPremisesInstancesCommand,
4186
+ BatchGetApplicationRevisionsCommand,
4187
+ BatchGetApplicationsCommand,
4188
+ BatchGetDeploymentGroupsCommand,
4189
+ BatchGetDeploymentInstancesCommand,
4190
+ BatchGetDeploymentsCommand,
4191
+ BatchGetDeploymentTargetsCommand,
4192
+ BatchGetOnPremisesInstancesCommand,
4193
+ ContinueDeploymentCommand,
4194
+ CreateApplicationCommand,
4195
+ CreateDeploymentCommand,
4196
+ CreateDeploymentConfigCommand,
4197
+ CreateDeploymentGroupCommand,
4198
+ DeleteApplicationCommand,
4199
+ DeleteDeploymentConfigCommand,
4200
+ DeleteDeploymentGroupCommand,
4201
+ DeleteGitHubAccountTokenCommand,
4202
+ DeleteResourcesByExternalIdCommand,
4203
+ DeregisterOnPremisesInstanceCommand,
4204
+ GetApplicationCommand,
4205
+ GetApplicationRevisionCommand,
4206
+ GetDeploymentCommand,
4207
+ GetDeploymentConfigCommand,
4208
+ GetDeploymentGroupCommand,
4209
+ GetDeploymentInstanceCommand,
4210
+ GetDeploymentTargetCommand,
4211
+ GetOnPremisesInstanceCommand,
4212
+ ListApplicationRevisionsCommand,
4213
+ ListApplicationsCommand,
4214
+ ListDeploymentConfigsCommand,
4215
+ ListDeploymentGroupsCommand,
4216
+ ListDeploymentInstancesCommand,
4217
+ ListDeploymentsCommand,
4218
+ ListDeploymentTargetsCommand,
4219
+ ListGitHubAccountTokenNamesCommand,
4220
+ ListOnPremisesInstancesCommand,
4221
+ ListTagsForResourceCommand,
4222
+ PutLifecycleEventHookExecutionStatusCommand,
4223
+ RegisterApplicationRevisionCommand,
4224
+ RegisterOnPremisesInstanceCommand,
4225
+ RemoveTagsFromOnPremisesInstancesCommand,
4226
+ SkipWaitTimeForInstanceTerminationCommand,
4227
+ StopDeploymentCommand,
4228
+ TagResourceCommand,
4229
+ UntagResourceCommand,
4230
+ UpdateApplicationCommand,
4231
+ UpdateDeploymentGroupCommand,
4232
+ };
4233
+ const paginators = {
4234
+ paginateListApplicationRevisions,
4235
+ paginateListApplications,
4236
+ paginateListDeploymentConfigs,
4237
+ paginateListDeploymentGroups,
4238
+ paginateListDeploymentInstances,
4239
+ paginateListDeployments,
4240
+ };
4241
+ const waiters = {
4242
+ waitUntilDeploymentSuccessful,
4243
+ };
4244
+ class CodeDeploy extends CodeDeployClient {
4245
+ }
4246
+ smithyClient.createAggregatedClient(commands, CodeDeploy, { paginators, waiters });
4247
+
4237
4248
  const ComputePlatform = {
4238
4249
  ECS: "ECS",
4239
4250
  LAMBDA: "Lambda",
@@ -47,6 +47,13 @@ import { TagResourceCommand } from "./commands/TagResourceCommand";
47
47
  import { UntagResourceCommand, } from "./commands/UntagResourceCommand";
48
48
  import { UpdateApplicationCommand, } from "./commands/UpdateApplicationCommand";
49
49
  import { UpdateDeploymentGroupCommand, } from "./commands/UpdateDeploymentGroupCommand";
50
+ import { paginateListApplicationRevisions } from "./pagination/ListApplicationRevisionsPaginator";
51
+ import { paginateListApplications } from "./pagination/ListApplicationsPaginator";
52
+ import { paginateListDeploymentConfigs } from "./pagination/ListDeploymentConfigsPaginator";
53
+ import { paginateListDeploymentGroups } from "./pagination/ListDeploymentGroupsPaginator";
54
+ import { paginateListDeploymentInstances } from "./pagination/ListDeploymentInstancesPaginator";
55
+ import { paginateListDeployments } from "./pagination/ListDeploymentsPaginator";
56
+ import { waitUntilDeploymentSuccessful } from "./waiters/waitForDeploymentSuccessful";
50
57
  const commands = {
51
58
  AddTagsToOnPremisesInstancesCommand,
52
59
  BatchGetApplicationRevisionsCommand,
@@ -96,6 +103,17 @@ const commands = {
96
103
  UpdateApplicationCommand,
97
104
  UpdateDeploymentGroupCommand,
98
105
  };
106
+ const paginators = {
107
+ paginateListApplicationRevisions,
108
+ paginateListApplications,
109
+ paginateListDeploymentConfigs,
110
+ paginateListDeploymentGroups,
111
+ paginateListDeploymentInstances,
112
+ paginateListDeployments,
113
+ };
114
+ const waiters = {
115
+ waitUntilDeploymentSuccessful,
116
+ };
99
117
  export class CodeDeploy extends CodeDeployClient {
100
118
  }
101
- createAggregatedClient(commands, CodeDeploy);
119
+ createAggregatedClient(commands, CodeDeploy, { paginators, waiters });
@@ -1,4 +1,5 @@
1
- import type { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
1
+ import type { HttpHandlerOptions as __HttpHandlerOptions, PaginationConfiguration, Paginator, WaiterConfiguration } from "@smithy/types";
2
+ import type { WaiterResult } from "@smithy/util-waiter";
2
3
  import { CodeDeployClient } from "./CodeDeployClient";
3
4
  import { AddTagsToOnPremisesInstancesCommandInput, AddTagsToOnPremisesInstancesCommandOutput } from "./commands/AddTagsToOnPremisesInstancesCommand";
4
5
  import { BatchGetApplicationRevisionsCommandInput, BatchGetApplicationRevisionsCommandOutput } from "./commands/BatchGetApplicationRevisionsCommand";
@@ -341,6 +342,54 @@ export interface CodeDeploy {
341
342
  updateDeploymentGroup(args: UpdateDeploymentGroupCommandInput, options?: __HttpHandlerOptions): Promise<UpdateDeploymentGroupCommandOutput>;
342
343
  updateDeploymentGroup(args: UpdateDeploymentGroupCommandInput, cb: (err: any, data?: UpdateDeploymentGroupCommandOutput) => void): void;
343
344
  updateDeploymentGroup(args: UpdateDeploymentGroupCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateDeploymentGroupCommandOutput) => void): void;
345
+ /**
346
+ * @see {@link ListApplicationRevisionsCommand}
347
+ * @param args - command input.
348
+ * @param paginationConfig - optional pagination config.
349
+ * @returns AsyncIterable of {@link ListApplicationRevisionsCommandOutput}.
350
+ */
351
+ paginateListApplicationRevisions(args: ListApplicationRevisionsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListApplicationRevisionsCommandOutput>;
352
+ /**
353
+ * @see {@link ListApplicationsCommand}
354
+ * @param args - command input.
355
+ * @param paginationConfig - optional pagination config.
356
+ * @returns AsyncIterable of {@link ListApplicationsCommandOutput}.
357
+ */
358
+ paginateListApplications(args?: ListApplicationsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListApplicationsCommandOutput>;
359
+ /**
360
+ * @see {@link ListDeploymentConfigsCommand}
361
+ * @param args - command input.
362
+ * @param paginationConfig - optional pagination config.
363
+ * @returns AsyncIterable of {@link ListDeploymentConfigsCommandOutput}.
364
+ */
365
+ paginateListDeploymentConfigs(args?: ListDeploymentConfigsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListDeploymentConfigsCommandOutput>;
366
+ /**
367
+ * @see {@link ListDeploymentGroupsCommand}
368
+ * @param args - command input.
369
+ * @param paginationConfig - optional pagination config.
370
+ * @returns AsyncIterable of {@link ListDeploymentGroupsCommandOutput}.
371
+ */
372
+ paginateListDeploymentGroups(args: ListDeploymentGroupsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListDeploymentGroupsCommandOutput>;
373
+ /**
374
+ * @see {@link ListDeploymentInstancesCommand}
375
+ * @param args - command input.
376
+ * @param paginationConfig - optional pagination config.
377
+ * @returns AsyncIterable of {@link ListDeploymentInstancesCommandOutput}.
378
+ */
379
+ paginateListDeploymentInstances(args: ListDeploymentInstancesCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListDeploymentInstancesCommandOutput>;
380
+ /**
381
+ * @see {@link ListDeploymentsCommand}
382
+ * @param args - command input.
383
+ * @param paginationConfig - optional pagination config.
384
+ * @returns AsyncIterable of {@link ListDeploymentsCommandOutput}.
385
+ */
386
+ paginateListDeployments(args?: ListDeploymentsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListDeploymentsCommandOutput>;
387
+ /**
388
+ * @see {@link GetDeploymentCommand}
389
+ * @param args - command input.
390
+ * @param waiterConfig - `maxWaitTime` in seconds or waiter config object.
391
+ */
392
+ waitUntilDeploymentSuccessful(args: GetDeploymentCommandInput, waiterConfig: number | Omit<WaiterConfiguration<CodeDeploy>, "client">): Promise<WaiterResult>;
344
393
  }
345
394
  /**
346
395
  * <p>CodeDeploy is a deployment service that automates application deployments
@@ -1,4 +1,10 @@
1
- import { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
1
+ import {
2
+ HttpHandlerOptions as __HttpHandlerOptions,
3
+ PaginationConfiguration,
4
+ Paginator,
5
+ WaiterConfiguration,
6
+ } from "@smithy/types";
7
+ import { WaiterResult } from "@smithy/util-waiter";
2
8
  import { CodeDeployClient } from "./CodeDeployClient";
3
9
  import {
4
10
  AddTagsToOnPremisesInstancesCommandInput,
@@ -829,6 +835,57 @@ export interface CodeDeploy {
829
835
  options: __HttpHandlerOptions,
830
836
  cb: (err: any, data?: UpdateDeploymentGroupCommandOutput) => void
831
837
  ): void;
838
+ paginateListApplicationRevisions(
839
+ args: ListApplicationRevisionsCommandInput,
840
+ paginationConfig?: Pick<
841
+ PaginationConfiguration,
842
+ Exclude<keyof PaginationConfiguration, "client">
843
+ >
844
+ ): Paginator<ListApplicationRevisionsCommandOutput>;
845
+ paginateListApplications(
846
+ args?: ListApplicationsCommandInput,
847
+ paginationConfig?: Pick<
848
+ PaginationConfiguration,
849
+ Exclude<keyof PaginationConfiguration, "client">
850
+ >
851
+ ): Paginator<ListApplicationsCommandOutput>;
852
+ paginateListDeploymentConfigs(
853
+ args?: ListDeploymentConfigsCommandInput,
854
+ paginationConfig?: Pick<
855
+ PaginationConfiguration,
856
+ Exclude<keyof PaginationConfiguration, "client">
857
+ >
858
+ ): Paginator<ListDeploymentConfigsCommandOutput>;
859
+ paginateListDeploymentGroups(
860
+ args: ListDeploymentGroupsCommandInput,
861
+ paginationConfig?: Pick<
862
+ PaginationConfiguration,
863
+ Exclude<keyof PaginationConfiguration, "client">
864
+ >
865
+ ): Paginator<ListDeploymentGroupsCommandOutput>;
866
+ paginateListDeploymentInstances(
867
+ args: ListDeploymentInstancesCommandInput,
868
+ paginationConfig?: Pick<
869
+ PaginationConfiguration,
870
+ Exclude<keyof PaginationConfiguration, "client">
871
+ >
872
+ ): Paginator<ListDeploymentInstancesCommandOutput>;
873
+ paginateListDeployments(
874
+ args?: ListDeploymentsCommandInput,
875
+ paginationConfig?: Pick<
876
+ PaginationConfiguration,
877
+ Exclude<keyof PaginationConfiguration, "client">
878
+ >
879
+ ): Paginator<ListDeploymentsCommandOutput>;
880
+ waitUntilDeploymentSuccessful(
881
+ args: GetDeploymentCommandInput,
882
+ waiterConfig:
883
+ | number
884
+ | Pick<
885
+ WaiterConfiguration<CodeDeploy>,
886
+ Exclude<keyof WaiterConfiguration<CodeDeploy>, "client">
887
+ >
888
+ ): Promise<WaiterResult>;
832
889
  }
833
890
  export declare class CodeDeploy
834
891
  extends CodeDeployClient
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-codedeploy",
3
3
  "description": "AWS SDK for JavaScript Codedeploy Client for Node.js, Browser and React Native",
4
- "version": "3.975.0",
4
+ "version": "3.980.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-codedeploy",
@@ -23,38 +23,38 @@
23
23
  "dependencies": {
24
24
  "@aws-crypto/sha256-browser": "5.2.0",
25
25
  "@aws-crypto/sha256-js": "5.2.0",
26
- "@aws-sdk/core": "^3.973.1",
27
- "@aws-sdk/credential-provider-node": "^3.972.1",
28
- "@aws-sdk/middleware-host-header": "^3.972.1",
29
- "@aws-sdk/middleware-logger": "^3.972.1",
30
- "@aws-sdk/middleware-recursion-detection": "^3.972.1",
31
- "@aws-sdk/middleware-user-agent": "^3.972.2",
32
- "@aws-sdk/region-config-resolver": "^3.972.1",
33
- "@aws-sdk/types": "^3.973.0",
34
- "@aws-sdk/util-endpoints": "3.972.0",
35
- "@aws-sdk/util-user-agent-browser": "^3.972.1",
36
- "@aws-sdk/util-user-agent-node": "^3.972.1",
26
+ "@aws-sdk/core": "^3.973.5",
27
+ "@aws-sdk/credential-provider-node": "^3.972.4",
28
+ "@aws-sdk/middleware-host-header": "^3.972.3",
29
+ "@aws-sdk/middleware-logger": "^3.972.3",
30
+ "@aws-sdk/middleware-recursion-detection": "^3.972.3",
31
+ "@aws-sdk/middleware-user-agent": "^3.972.5",
32
+ "@aws-sdk/region-config-resolver": "^3.972.3",
33
+ "@aws-sdk/types": "^3.973.1",
34
+ "@aws-sdk/util-endpoints": "3.980.0",
35
+ "@aws-sdk/util-user-agent-browser": "^3.972.3",
36
+ "@aws-sdk/util-user-agent-node": "^3.972.3",
37
37
  "@smithy/config-resolver": "^4.4.6",
38
- "@smithy/core": "^3.21.1",
38
+ "@smithy/core": "^3.22.0",
39
39
  "@smithy/fetch-http-handler": "^5.3.9",
40
40
  "@smithy/hash-node": "^4.2.8",
41
41
  "@smithy/invalid-dependency": "^4.2.8",
42
42
  "@smithy/middleware-content-length": "^4.2.8",
43
- "@smithy/middleware-endpoint": "^4.4.11",
44
- "@smithy/middleware-retry": "^4.4.27",
43
+ "@smithy/middleware-endpoint": "^4.4.12",
44
+ "@smithy/middleware-retry": "^4.4.29",
45
45
  "@smithy/middleware-serde": "^4.2.9",
46
46
  "@smithy/middleware-stack": "^4.2.8",
47
47
  "@smithy/node-config-provider": "^4.3.8",
48
48
  "@smithy/node-http-handler": "^4.4.8",
49
49
  "@smithy/protocol-http": "^5.3.8",
50
- "@smithy/smithy-client": "^4.10.12",
50
+ "@smithy/smithy-client": "^4.11.1",
51
51
  "@smithy/types": "^4.12.0",
52
52
  "@smithy/url-parser": "^4.2.8",
53
53
  "@smithy/util-base64": "^4.3.0",
54
54
  "@smithy/util-body-length-browser": "^4.2.0",
55
55
  "@smithy/util-body-length-node": "^4.2.1",
56
- "@smithy/util-defaults-mode-browser": "^4.3.26",
57
- "@smithy/util-defaults-mode-node": "^4.2.29",
56
+ "@smithy/util-defaults-mode-browser": "^4.3.28",
57
+ "@smithy/util-defaults-mode-node": "^4.2.31",
58
58
  "@smithy/util-endpoints": "^3.2.8",
59
59
  "@smithy/util-middleware": "^4.2.8",
60
60
  "@smithy/util-retry": "^4.2.8",