@cdklabs/cdk-ecs-codedeploy 0.0.424 → 0.0.426

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 (76) hide show
  1. package/.jsii +3 -3
  2. package/.jsii.tabl.json +1 -1
  3. package/lib/api-canary/index.js +1 -1
  4. package/lib/ecs-appspec/index.js +1 -1
  5. package/lib/ecs-deployment/index.js +1 -1
  6. package/lib/ecs-patterns/application-load-balanced-codedeployed-fargate-service.js +1 -1
  7. package/node_modules/@aws-sdk/client-codedeploy/dist-cjs/index.js +64 -53
  8. package/node_modules/@aws-sdk/client-codedeploy/dist-es/CodeDeploy.js +19 -1
  9. package/node_modules/@aws-sdk/client-codedeploy/dist-types/CodeDeploy.d.ts +50 -1
  10. package/node_modules/@aws-sdk/client-codedeploy/dist-types/ts3.4/CodeDeploy.d.ts +58 -1
  11. package/node_modules/@aws-sdk/client-codedeploy/package.json +20 -20
  12. package/node_modules/@aws-sdk/client-sso/dist-cjs/index.js +9 -5
  13. package/node_modules/@aws-sdk/client-sso/dist-es/SSO.js +7 -1
  14. package/node_modules/@aws-sdk/client-sso/dist-types/SSO.d.ts +15 -1
  15. package/node_modules/@aws-sdk/client-sso/dist-types/ts3.4/SSO.d.ts +19 -1
  16. package/node_modules/@aws-sdk/client-sso/package.json +19 -19
  17. package/node_modules/@aws-sdk/core/account-id-endpoint.js +0 -1
  18. package/node_modules/@aws-sdk/core/dist-cjs/index.js +4 -44
  19. package/node_modules/@aws-sdk/core/dist-cjs/submodules/protocols/index.js +4 -44
  20. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/JsonShapeDeserializer.js +1 -2
  21. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/JsonShapeSerializer.js +1 -2
  22. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/experimental/SinglePassJsonShapeSerializer.js +1 -2
  23. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/query/QueryShapeSerializer.js +1 -2
  24. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/xml/XmlShapeSerializer.js +1 -2
  25. package/node_modules/@aws-sdk/core/package.json +11 -11
  26. package/node_modules/@aws-sdk/credential-provider-env/package.json +7 -7
  27. package/node_modules/@aws-sdk/credential-provider-http/package.json +8 -8
  28. package/node_modules/@aws-sdk/credential-provider-ini/package.json +14 -14
  29. package/node_modules/@aws-sdk/credential-provider-login/package.json +8 -8
  30. package/node_modules/@aws-sdk/credential-provider-node/README.md +3 -3
  31. package/node_modules/@aws-sdk/credential-provider-node/dist-cjs/index.js +8 -2
  32. package/node_modules/@aws-sdk/credential-provider-node/dist-es/runtime/memoize-chain.js +8 -2
  33. package/node_modules/@aws-sdk/credential-provider-node/package.json +12 -12
  34. package/node_modules/@aws-sdk/credential-provider-process/package.json +7 -7
  35. package/node_modules/@aws-sdk/credential-provider-sso/package.json +9 -9
  36. package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +8 -8
  37. package/node_modules/@aws-sdk/middleware-host-header/package.json +6 -6
  38. package/node_modules/@aws-sdk/middleware-logger/package.json +6 -6
  39. package/node_modules/@aws-sdk/middleware-recursion-detection/package.json +6 -6
  40. package/node_modules/@aws-sdk/middleware-user-agent/package.json +9 -9
  41. package/node_modules/@aws-sdk/nested-clients/package.json +19 -19
  42. package/node_modules/@aws-sdk/region-config-resolver/package.json +6 -6
  43. package/node_modules/@aws-sdk/token-providers/package.json +6 -6
  44. package/node_modules/@aws-sdk/types/dist-types/blob/blob-types.d.ts +1 -1
  45. package/node_modules/@aws-sdk/types/package.json +5 -5
  46. package/node_modules/@aws-sdk/util-endpoints/package.json +4 -4
  47. package/node_modules/@aws-sdk/util-locate-window/package.json +5 -5
  48. package/node_modules/@aws-sdk/util-user-agent-browser/package.json +6 -6
  49. package/node_modules/@aws-sdk/util-user-agent-node/package.json +7 -7
  50. package/node_modules/@aws-sdk/xml-builder/package.json +5 -5
  51. package/node_modules/@smithy/core/dist-cjs/submodules/event-streams/index.js +5 -0
  52. package/node_modules/@smithy/core/dist-cjs/submodules/protocols/index.js +3 -1
  53. package/node_modules/@smithy/core/dist-cjs/submodules/schema/index.js +23 -7
  54. package/node_modules/@smithy/core/dist-es/submodules/event-streams/EventStreamSerde.js +5 -0
  55. package/node_modules/@smithy/core/dist-es/submodules/protocols/HttpBindingProtocol.js +3 -1
  56. package/node_modules/@smithy/core/dist-es/submodules/schema/schemas/NormalizedSchema.js +23 -7
  57. package/node_modules/@smithy/core/dist-types/submodules/schema/schemas/NormalizedSchema.d.ts +0 -1
  58. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/schema/schemas/NormalizedSchema.d.ts +0 -1
  59. package/node_modules/@smithy/core/package.json +2 -2
  60. package/node_modules/@smithy/middleware-endpoint/package.json +2 -2
  61. package/node_modules/@smithy/middleware-retry/package.json +2 -2
  62. package/node_modules/@smithy/node-http-handler/dist-cjs/index.js +2 -2
  63. package/node_modules/@smithy/node-http-handler/dist-es/node-http-handler.js +2 -2
  64. package/node_modules/@smithy/node-http-handler/package.json +5 -5
  65. package/node_modules/@smithy/smithy-client/dist-cjs/index.js +29 -3
  66. package/node_modules/@smithy/smithy-client/dist-es/create-aggregated-client.js +29 -3
  67. package/node_modules/@smithy/smithy-client/dist-types/create-aggregated-client.d.ts +8 -1
  68. package/node_modules/@smithy/smithy-client/dist-types/ts3.4/create-aggregated-client.d.ts +8 -1
  69. package/node_modules/@smithy/smithy-client/package.json +4 -4
  70. package/node_modules/@smithy/util-defaults-mode-browser/package.json +2 -2
  71. package/node_modules/@smithy/util-defaults-mode-node/package.json +2 -2
  72. package/node_modules/@smithy/util-stream/package.json +6 -6
  73. package/package.json +6 -6
  74. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/structIterator.js +0 -40
  75. package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/structIterator.d.ts +0 -27
  76. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/structIterator.d.ts +0 -12
@@ -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.971.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",
@@ -9,7 +9,7 @@
9
9
  "build:include:deps": "yarn g:turbo run build -F=\"$npm_package_name\"",
10
10
  "build:types": "tsc -p tsconfig.types.json",
11
11
  "build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
12
- "clean": "rimraf ./dist-* && rimraf *.tsbuildinfo",
12
+ "clean": "premove dist-cjs dist-es dist-types tsconfig.cjs.tsbuildinfo tsconfig.es.tsbuildinfo tsconfig.types.tsbuildinfo",
13
13
  "extract:docs": "api-extractor run --local",
14
14
  "generate:client": "node ../../scripts/generate-clients/single-service --solo codedeploy",
15
15
  "test:e2e": "yarn g:vitest run -c vitest.config.e2e.mts",
@@ -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.970.0",
27
- "@aws-sdk/credential-provider-node": "3.971.0",
28
- "@aws-sdk/middleware-host-header": "3.969.0",
29
- "@aws-sdk/middleware-logger": "3.969.0",
30
- "@aws-sdk/middleware-recursion-detection": "3.969.0",
31
- "@aws-sdk/middleware-user-agent": "3.970.0",
32
- "@aws-sdk/region-config-resolver": "3.969.0",
33
- "@aws-sdk/types": "3.969.0",
34
- "@aws-sdk/util-endpoints": "3.970.0",
35
- "@aws-sdk/util-user-agent-browser": "3.969.0",
36
- "@aws-sdk/util-user-agent-node": "3.971.0",
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.20.6",
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.7",
44
- "@smithy/middleware-retry": "^4.4.23",
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.8",
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.22",
57
- "@smithy/util-defaults-mode-node": "^4.2.25",
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",
@@ -67,7 +67,7 @@
67
67
  "@types/node": "^20.14.8",
68
68
  "concurrently": "7.0.0",
69
69
  "downlevel-dts": "0.10.1",
70
- "rimraf": "5.0.10",
70
+ "premove": "4.0.0",
71
71
  "typescript": "~5.8.3"
72
72
  },
73
73
  "engines": {
@@ -364,19 +364,23 @@ class LogoutCommand extends smithyClient.Command
364
364
  .build() {
365
365
  }
366
366
 
367
+ const paginateListAccountRoles = core.createPaginator(SSOClient, ListAccountRolesCommand, "nextToken", "nextToken", "maxResults");
368
+
369
+ const paginateListAccounts = core.createPaginator(SSOClient, ListAccountsCommand, "nextToken", "nextToken", "maxResults");
370
+
367
371
  const commands = {
368
372
  GetRoleCredentialsCommand,
369
373
  ListAccountRolesCommand,
370
374
  ListAccountsCommand,
371
375
  LogoutCommand,
372
376
  };
377
+ const paginators = {
378
+ paginateListAccountRoles,
379
+ paginateListAccounts,
380
+ };
373
381
  class SSO extends SSOClient {
374
382
  }
375
- smithyClient.createAggregatedClient(commands, SSO);
376
-
377
- const paginateListAccountRoles = core.createPaginator(SSOClient, ListAccountRolesCommand, "nextToken", "nextToken", "maxResults");
378
-
379
- const paginateListAccounts = core.createPaginator(SSOClient, ListAccountsCommand, "nextToken", "nextToken", "maxResults");
383
+ smithyClient.createAggregatedClient(commands, SSO, { paginators });
380
384
 
381
385
  Object.defineProperty(exports, "$Command", {
382
386
  enumerable: true,
@@ -3,6 +3,8 @@ import { GetRoleCredentialsCommand, } from "./commands/GetRoleCredentialsCommand
3
3
  import { ListAccountRolesCommand, } from "./commands/ListAccountRolesCommand";
4
4
  import { ListAccountsCommand, } from "./commands/ListAccountsCommand";
5
5
  import { LogoutCommand } from "./commands/LogoutCommand";
6
+ import { paginateListAccountRoles } from "./pagination/ListAccountRolesPaginator";
7
+ import { paginateListAccounts } from "./pagination/ListAccountsPaginator";
6
8
  import { SSOClient } from "./SSOClient";
7
9
  const commands = {
8
10
  GetRoleCredentialsCommand,
@@ -10,6 +12,10 @@ const commands = {
10
12
  ListAccountsCommand,
11
13
  LogoutCommand,
12
14
  };
15
+ const paginators = {
16
+ paginateListAccountRoles,
17
+ paginateListAccounts,
18
+ };
13
19
  export class SSO extends SSOClient {
14
20
  }
15
- createAggregatedClient(commands, SSO);
21
+ createAggregatedClient(commands, SSO, { paginators });
@@ -1,4 +1,4 @@
1
- import type { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
1
+ import type { HttpHandlerOptions as __HttpHandlerOptions, PaginationConfiguration, Paginator } from "@smithy/types";
2
2
  import { GetRoleCredentialsCommandInput, GetRoleCredentialsCommandOutput } from "./commands/GetRoleCredentialsCommand";
3
3
  import { ListAccountRolesCommandInput, ListAccountRolesCommandOutput } from "./commands/ListAccountRolesCommand";
4
4
  import { ListAccountsCommandInput, ListAccountsCommandOutput } from "./commands/ListAccountsCommand";
@@ -29,6 +29,20 @@ export interface SSO {
29
29
  logout(args: LogoutCommandInput, options?: __HttpHandlerOptions): Promise<LogoutCommandOutput>;
30
30
  logout(args: LogoutCommandInput, cb: (err: any, data?: LogoutCommandOutput) => void): void;
31
31
  logout(args: LogoutCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: LogoutCommandOutput) => void): void;
32
+ /**
33
+ * @see {@link ListAccountRolesCommand}
34
+ * @param args - command input.
35
+ * @param paginationConfig - optional pagination config.
36
+ * @returns AsyncIterable of {@link ListAccountRolesCommandOutput}.
37
+ */
38
+ paginateListAccountRoles(args: ListAccountRolesCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListAccountRolesCommandOutput>;
39
+ /**
40
+ * @see {@link ListAccountsCommand}
41
+ * @param args - command input.
42
+ * @param paginationConfig - optional pagination config.
43
+ * @returns AsyncIterable of {@link ListAccountsCommandOutput}.
44
+ */
45
+ paginateListAccounts(args: ListAccountsCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListAccountsCommandOutput>;
32
46
  }
33
47
  /**
34
48
  * <p>AWS IAM Identity Center (successor to AWS Single Sign-On) Portal is a web service that makes it easy for you to assign user access to
@@ -1,4 +1,8 @@
1
- import { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
1
+ import {
2
+ HttpHandlerOptions as __HttpHandlerOptions,
3
+ PaginationConfiguration,
4
+ Paginator,
5
+ } from "@smithy/types";
2
6
  import {
3
7
  GetRoleCredentialsCommandInput,
4
8
  GetRoleCredentialsCommandOutput,
@@ -69,5 +73,19 @@ export interface SSO {
69
73
  options: __HttpHandlerOptions,
70
74
  cb: (err: any, data?: LogoutCommandOutput) => void
71
75
  ): void;
76
+ paginateListAccountRoles(
77
+ args: ListAccountRolesCommandInput,
78
+ paginationConfig?: Pick<
79
+ PaginationConfiguration,
80
+ Exclude<keyof PaginationConfiguration, "client">
81
+ >
82
+ ): Paginator<ListAccountRolesCommandOutput>;
83
+ paginateListAccounts(
84
+ args: ListAccountsCommandInput,
85
+ paginationConfig?: Pick<
86
+ PaginationConfiguration,
87
+ Exclude<keyof PaginationConfiguration, "client">
88
+ >
89
+ ): Paginator<ListAccountsCommandOutput>;
72
90
  }
73
91
  export declare class SSO extends SSOClient implements SSO {}
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-sso",
3
3
  "description": "AWS SDK for JavaScript Sso Client for Node.js, Browser and React Native",
4
- "version": "3.971.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-sso",
@@ -9,7 +9,7 @@
9
9
  "build:include:deps": "yarn g:turbo run build -F=\"$npm_package_name\"",
10
10
  "build:types": "tsc -p tsconfig.types.json",
11
11
  "build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
12
- "clean": "rimraf ./dist-* && rimraf *.tsbuildinfo",
12
+ "clean": "premove dist-cjs dist-es dist-types tsconfig.cjs.tsbuildinfo tsconfig.es.tsbuildinfo tsconfig.types.tsbuildinfo",
13
13
  "extract:docs": "api-extractor run --local",
14
14
  "generate:client": "node ../../scripts/generate-clients/single-service --solo sso",
15
15
  "test:index": "tsc --noEmit ./test/index-types.ts && node ./test/index-objects.spec.mjs"
@@ -21,37 +21,37 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "5.2.0",
23
23
  "@aws-crypto/sha256-js": "5.2.0",
24
- "@aws-sdk/core": "3.970.0",
25
- "@aws-sdk/middleware-host-header": "3.969.0",
26
- "@aws-sdk/middleware-logger": "3.969.0",
27
- "@aws-sdk/middleware-recursion-detection": "3.969.0",
28
- "@aws-sdk/middleware-user-agent": "3.970.0",
29
- "@aws-sdk/region-config-resolver": "3.969.0",
30
- "@aws-sdk/types": "3.969.0",
31
- "@aws-sdk/util-endpoints": "3.970.0",
32
- "@aws-sdk/util-user-agent-browser": "3.969.0",
33
- "@aws-sdk/util-user-agent-node": "3.971.0",
24
+ "@aws-sdk/core": "^3.973.5",
25
+ "@aws-sdk/middleware-host-header": "^3.972.3",
26
+ "@aws-sdk/middleware-logger": "^3.972.3",
27
+ "@aws-sdk/middleware-recursion-detection": "^3.972.3",
28
+ "@aws-sdk/middleware-user-agent": "^3.972.5",
29
+ "@aws-sdk/region-config-resolver": "^3.972.3",
30
+ "@aws-sdk/types": "^3.973.1",
31
+ "@aws-sdk/util-endpoints": "3.980.0",
32
+ "@aws-sdk/util-user-agent-browser": "^3.972.3",
33
+ "@aws-sdk/util-user-agent-node": "^3.972.3",
34
34
  "@smithy/config-resolver": "^4.4.6",
35
- "@smithy/core": "^3.20.6",
35
+ "@smithy/core": "^3.22.0",
36
36
  "@smithy/fetch-http-handler": "^5.3.9",
37
37
  "@smithy/hash-node": "^4.2.8",
38
38
  "@smithy/invalid-dependency": "^4.2.8",
39
39
  "@smithy/middleware-content-length": "^4.2.8",
40
- "@smithy/middleware-endpoint": "^4.4.7",
41
- "@smithy/middleware-retry": "^4.4.23",
40
+ "@smithy/middleware-endpoint": "^4.4.12",
41
+ "@smithy/middleware-retry": "^4.4.29",
42
42
  "@smithy/middleware-serde": "^4.2.9",
43
43
  "@smithy/middleware-stack": "^4.2.8",
44
44
  "@smithy/node-config-provider": "^4.3.8",
45
45
  "@smithy/node-http-handler": "^4.4.8",
46
46
  "@smithy/protocol-http": "^5.3.8",
47
- "@smithy/smithy-client": "^4.10.8",
47
+ "@smithy/smithy-client": "^4.11.1",
48
48
  "@smithy/types": "^4.12.0",
49
49
  "@smithy/url-parser": "^4.2.8",
50
50
  "@smithy/util-base64": "^4.3.0",
51
51
  "@smithy/util-body-length-browser": "^4.2.0",
52
52
  "@smithy/util-body-length-node": "^4.2.1",
53
- "@smithy/util-defaults-mode-browser": "^4.3.22",
54
- "@smithy/util-defaults-mode-node": "^4.2.25",
53
+ "@smithy/util-defaults-mode-browser": "^4.3.28",
54
+ "@smithy/util-defaults-mode-node": "^4.2.31",
55
55
  "@smithy/util-endpoints": "^3.2.8",
56
56
  "@smithy/util-middleware": "^4.2.8",
57
57
  "@smithy/util-retry": "^4.2.8",
@@ -63,7 +63,7 @@
63
63
  "@types/node": "^20.14.8",
64
64
  "concurrently": "7.0.0",
65
65
  "downlevel-dts": "0.10.1",
66
- "rimraf": "5.0.10",
66
+ "premove": "4.0.0",
67
67
  "typescript": "~5.8.3"
68
68
  },
69
69
  "engines": {
@@ -1,4 +1,3 @@
1
-
2
1
  /**
3
2
  * Do not edit:
4
3
  * This is a compatibility redirect for contexts that do not understand package.json exports field.
@@ -572,46 +572,6 @@ class SerdeContextConfig {
572
572
  }
573
573
  }
574
574
 
575
- function* serializingStructIterator(ns, sourceObject) {
576
- if (ns.isUnitSchema()) {
577
- return;
578
- }
579
- const struct = ns.getSchema();
580
- for (let i = 0; i < struct[4].length; ++i) {
581
- const key = struct[4][i];
582
- const memberSchema = struct[5][i];
583
- const memberNs = new schema.NormalizedSchema([memberSchema, 0], key);
584
- if (!(key in sourceObject) && !memberNs.isIdempotencyToken()) {
585
- continue;
586
- }
587
- yield [key, memberNs];
588
- }
589
- }
590
- function* deserializingStructIterator(ns, sourceObject, nameTrait) {
591
- if (ns.isUnitSchema()) {
592
- return;
593
- }
594
- const struct = ns.getSchema();
595
- let keysRemaining = Object.keys(sourceObject).filter((k) => k !== "__type").length;
596
- for (let i = 0; i < struct[4].length; ++i) {
597
- if (keysRemaining === 0) {
598
- break;
599
- }
600
- const key = struct[4][i];
601
- const memberSchema = struct[5][i];
602
- const memberNs = new schema.NormalizedSchema([memberSchema, 0], key);
603
- let serializationKey = key;
604
- if (nameTrait) {
605
- serializationKey = memberNs.getMergedTraits()[nameTrait] ?? key;
606
- }
607
- if (!(serializationKey in sourceObject)) {
608
- continue;
609
- }
610
- yield [key, memberNs];
611
- keysRemaining -= 1;
612
- }
613
- }
614
-
615
575
  class UnionSerde {
616
576
  from;
617
577
  to;
@@ -739,7 +699,7 @@ class JsonShapeDeserializer extends SerdeContextConfig {
739
699
  if (union) {
740
700
  unionSerde = new UnionSerde(record, out);
741
701
  }
742
- for (const [memberName, memberSchema] of deserializingStructIterator(ns, record, jsonName ? "jsonName" : false)) {
702
+ for (const [memberName, memberSchema] of ns.structIterator()) {
743
703
  let fromKey = memberName;
744
704
  if (jsonName) {
745
705
  fromKey = memberSchema.getMergedTraits().jsonName ?? fromKey;
@@ -948,7 +908,7 @@ class JsonShapeSerializer extends SerdeContextConfig {
948
908
  if (jsonName) {
949
909
  nameMap = {};
950
910
  }
951
- for (const [memberName, memberSchema] of serializingStructIterator(ns, record)) {
911
+ for (const [memberName, memberSchema] of ns.structIterator()) {
952
912
  const serializableValue = this._write(memberSchema, record[memberName], ns);
953
913
  if (serializableValue !== undefined) {
954
914
  let targetKey = memberName;
@@ -1567,7 +1527,7 @@ class QueryShapeSerializer extends SerdeContextConfig {
1567
1527
  else if (ns.isStructSchema()) {
1568
1528
  if (value && typeof value === "object") {
1569
1529
  let didWriteMember = false;
1570
- for (const [memberName, member] of serializingStructIterator(ns, value)) {
1530
+ for (const [memberName, member] of ns.structIterator()) {
1571
1531
  if (value[memberName] == null && !member.isIdempotencyToken()) {
1572
1532
  continue;
1573
1533
  }
@@ -1868,7 +1828,7 @@ class XmlShapeSerializer extends SerdeContextConfig {
1868
1828
  }
1869
1829
  const structXmlNode = xmlBuilder.XmlNode.of(name);
1870
1830
  const [xmlnsAttr, xmlns] = this.getXmlnsAttribute(ns, parentXmlns);
1871
- for (const [memberName, memberSchema] of serializingStructIterator(ns, value)) {
1831
+ for (const [memberName, memberSchema] of ns.structIterator()) {
1872
1832
  const val = value[memberName];
1873
1833
  if (val != null || memberSchema.isIdempotencyToken()) {
1874
1834
  if (memberSchema.getMergedTraits().xmlAttribute) {
@@ -234,46 +234,6 @@ class SerdeContextConfig {
234
234
  }
235
235
  }
236
236
 
237
- function* serializingStructIterator(ns, sourceObject) {
238
- if (ns.isUnitSchema()) {
239
- return;
240
- }
241
- const struct = ns.getSchema();
242
- for (let i = 0; i < struct[4].length; ++i) {
243
- const key = struct[4][i];
244
- const memberSchema = struct[5][i];
245
- const memberNs = new schema.NormalizedSchema([memberSchema, 0], key);
246
- if (!(key in sourceObject) && !memberNs.isIdempotencyToken()) {
247
- continue;
248
- }
249
- yield [key, memberNs];
250
- }
251
- }
252
- function* deserializingStructIterator(ns, sourceObject, nameTrait) {
253
- if (ns.isUnitSchema()) {
254
- return;
255
- }
256
- const struct = ns.getSchema();
257
- let keysRemaining = Object.keys(sourceObject).filter((k) => k !== "__type").length;
258
- for (let i = 0; i < struct[4].length; ++i) {
259
- if (keysRemaining === 0) {
260
- break;
261
- }
262
- const key = struct[4][i];
263
- const memberSchema = struct[5][i];
264
- const memberNs = new schema.NormalizedSchema([memberSchema, 0], key);
265
- let serializationKey = key;
266
- if (nameTrait) {
267
- serializationKey = memberNs.getMergedTraits()[nameTrait] ?? key;
268
- }
269
- if (!(serializationKey in sourceObject)) {
270
- continue;
271
- }
272
- yield [key, memberNs];
273
- keysRemaining -= 1;
274
- }
275
- }
276
-
277
237
  class UnionSerde {
278
238
  from;
279
239
  to;
@@ -401,7 +361,7 @@ class JsonShapeDeserializer extends SerdeContextConfig {
401
361
  if (union) {
402
362
  unionSerde = new UnionSerde(record, out);
403
363
  }
404
- for (const [memberName, memberSchema] of deserializingStructIterator(ns, record, jsonName ? "jsonName" : false)) {
364
+ for (const [memberName, memberSchema] of ns.structIterator()) {
405
365
  let fromKey = memberName;
406
366
  if (jsonName) {
407
367
  fromKey = memberSchema.getMergedTraits().jsonName ?? fromKey;
@@ -610,7 +570,7 @@ class JsonShapeSerializer extends SerdeContextConfig {
610
570
  if (jsonName) {
611
571
  nameMap = {};
612
572
  }
613
- for (const [memberName, memberSchema] of serializingStructIterator(ns, record)) {
573
+ for (const [memberName, memberSchema] of ns.structIterator()) {
614
574
  const serializableValue = this._write(memberSchema, record[memberName], ns);
615
575
  if (serializableValue !== undefined) {
616
576
  let targetKey = memberName;
@@ -1229,7 +1189,7 @@ class QueryShapeSerializer extends SerdeContextConfig {
1229
1189
  else if (ns.isStructSchema()) {
1230
1190
  if (value && typeof value === "object") {
1231
1191
  let didWriteMember = false;
1232
- for (const [memberName, member] of serializingStructIterator(ns, value)) {
1192
+ for (const [memberName, member] of ns.structIterator()) {
1233
1193
  if (value[memberName] == null && !member.isIdempotencyToken()) {
1234
1194
  continue;
1235
1195
  }
@@ -1530,7 +1490,7 @@ class XmlShapeSerializer extends SerdeContextConfig {
1530
1490
  }
1531
1491
  const structXmlNode = xmlBuilder.XmlNode.of(name);
1532
1492
  const [xmlnsAttr, xmlns] = this.getXmlnsAttribute(ns, parentXmlns);
1533
- for (const [memberName, memberSchema] of serializingStructIterator(ns, value)) {
1493
+ for (const [memberName, memberSchema] of ns.structIterator()) {
1534
1494
  const val = value[memberName];
1535
1495
  if (val != null || memberSchema.isIdempotencyToken()) {
1536
1496
  if (memberSchema.getMergedTraits().xmlAttribute) {
@@ -3,7 +3,6 @@ import { NormalizedSchema } from "@smithy/core/schema";
3
3
  import { LazyJsonString, NumericValue, parseEpochTimestamp, parseRfc3339DateTimeWithOffset, parseRfc7231DateTime, } from "@smithy/core/serde";
4
4
  import { fromBase64 } from "@smithy/util-base64";
5
5
  import { SerdeContextConfig } from "../ConfigurableSerdeContext";
6
- import { deserializingStructIterator } from "../structIterator";
7
6
  import { UnionSerde } from "../UnionSerde";
8
7
  import { jsonReviver } from "./jsonReviver";
9
8
  import { parseJsonBody } from "./parseJsonBody";
@@ -36,7 +35,7 @@ export class JsonShapeDeserializer extends SerdeContextConfig {
36
35
  if (union) {
37
36
  unionSerde = new UnionSerde(record, out);
38
37
  }
39
- for (const [memberName, memberSchema] of deserializingStructIterator(ns, record, jsonName ? "jsonName" : false)) {
38
+ for (const [memberName, memberSchema] of ns.structIterator()) {
40
39
  let fromKey = memberName;
41
40
  if (jsonName) {
42
41
  fromKey = memberSchema.getMergedTraits().jsonName ?? fromKey;
@@ -3,7 +3,6 @@ import { NormalizedSchema } from "@smithy/core/schema";
3
3
  import { dateToUtcString, generateIdempotencyToken, LazyJsonString, NumericValue } from "@smithy/core/serde";
4
4
  import { toBase64 } from "@smithy/util-base64";
5
5
  import { SerdeContextConfig } from "../ConfigurableSerdeContext";
6
- import { serializingStructIterator } from "../structIterator";
7
6
  import { JsonReplacer } from "./jsonReplacer";
8
7
  export class JsonShapeSerializer extends SerdeContextConfig {
9
8
  settings;
@@ -49,7 +48,7 @@ export class JsonShapeSerializer extends SerdeContextConfig {
49
48
  if (jsonName) {
50
49
  nameMap = {};
51
50
  }
52
- for (const [memberName, memberSchema] of serializingStructIterator(ns, record)) {
51
+ for (const [memberName, memberSchema] of ns.structIterator()) {
53
52
  const serializableValue = this._write(memberSchema, record[memberName], ns);
54
53
  if (serializableValue !== undefined) {
55
54
  let targetKey = memberName;
@@ -3,7 +3,6 @@ import { NormalizedSchema } from "@smithy/core/schema";
3
3
  import { dateToUtcString, generateIdempotencyToken, LazyJsonString, NumericValue } from "@smithy/core/serde";
4
4
  import { toBase64 } from "@smithy/util-base64";
5
5
  import { SerdeContextConfig } from "../../ConfigurableSerdeContext";
6
- import { serializingStructIterator } from "../../structIterator";
7
6
  export class SinglePassJsonShapeSerializer extends SerdeContextConfig {
8
7
  settings;
9
8
  buffer;
@@ -46,7 +45,7 @@ export class SinglePassJsonShapeSerializer extends SerdeContextConfig {
46
45
  else if (ns.isStructSchema()) {
47
46
  b += "{";
48
47
  let didWriteMember = false;
49
- for (const [name, member] of serializingStructIterator(ns, value)) {
48
+ for (const [name, member] of ns.structIterator()) {
50
49
  const item = value[name];
51
50
  const targetKey = this.settings.jsonName ? member.getMergedTraits().jsonName ?? name : name;
52
51
  const serializableValue = this.writeValue(member, item);
@@ -4,7 +4,6 @@ import { generateIdempotencyToken, NumericValue } from "@smithy/core/serde";
4
4
  import { dateToUtcString } from "@smithy/smithy-client";
5
5
  import { toBase64 } from "@smithy/util-base64";
6
6
  import { SerdeContextConfig } from "../ConfigurableSerdeContext";
7
- import { serializingStructIterator } from "../structIterator";
8
7
  export class QueryShapeSerializer extends SerdeContextConfig {
9
8
  settings;
10
9
  buffer;
@@ -130,7 +129,7 @@ export class QueryShapeSerializer extends SerdeContextConfig {
130
129
  else if (ns.isStructSchema()) {
131
130
  if (value && typeof value === "object") {
132
131
  let didWriteMember = false;
133
- for (const [memberName, member] of serializingStructIterator(ns, value)) {
132
+ for (const [memberName, member] of ns.structIterator()) {
134
133
  if (value[memberName] == null && !member.isIdempotencyToken()) {
135
134
  continue;
136
135
  }
@@ -5,7 +5,6 @@ import { generateIdempotencyToken, NumericValue } from "@smithy/core/serde";
5
5
  import { dateToUtcString } from "@smithy/smithy-client";
6
6
  import { fromBase64, toBase64 } from "@smithy/util-base64";
7
7
  import { SerdeContextConfig } from "../ConfigurableSerdeContext";
8
- import { serializingStructIterator } from "../structIterator";
9
8
  export class XmlShapeSerializer extends SerdeContextConfig {
10
9
  settings;
11
10
  stringBuffer;
@@ -64,7 +63,7 @@ export class XmlShapeSerializer extends SerdeContextConfig {
64
63
  }
65
64
  const structXmlNode = XmlNode.of(name);
66
65
  const [xmlnsAttr, xmlns] = this.getXmlnsAttribute(ns, parentXmlns);
67
- for (const [memberName, memberSchema] of serializingStructIterator(ns, value)) {
66
+ for (const [memberName, memberSchema] of ns.structIterator()) {
68
67
  const val = value[memberName];
69
68
  if (val != null || memberSchema.isIdempotencyToken()) {
70
69
  if (memberSchema.getMergedTraits().xmlAttribute) {
@@ -1,16 +1,16 @@
1
1
  {
2
2
  "name": "@aws-sdk/core",
3
- "version": "3.970.0",
3
+ "version": "3.973.5",
4
4
  "description": "Core functions & classes shared by multiple AWS SDK clients.",
5
5
  "scripts": {
6
6
  "build": "yarn lint && concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
7
- "build:cjs": "node ../../scripts/compilation/inline core && rimraf ./dist-cjs/api-extractor-type-index.js",
8
- "build:es": "tsc -p tsconfig.es.json && rimraf ./dist-es/api-extractor-type-index.js",
7
+ "build:cjs": "node ../../scripts/compilation/inline core && premove ./dist-cjs/api-extractor-type-index.js",
8
+ "build:es": "tsc -p tsconfig.es.json && premove ./dist-es/api-extractor-type-index.js",
9
9
  "build:include:deps": "yarn g:turbo run build -F=\"$npm_package_name\"",
10
10
  "build:types": "tsc -p tsconfig.types.json",
11
11
  "build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
12
12
  "lint": "node ../../scripts/validation/submodules-linter.js --pkg core",
13
- "clean": "rimraf ./dist-* && rimraf *.tsbuildinfo",
13
+ "clean": "premove dist-cjs dist-es dist-types tsconfig.cjs.tsbuildinfo tsconfig.es.tsbuildinfo tsconfig.types.tsbuildinfo",
14
14
  "extract:docs": "api-extractor run --local",
15
15
  "test": "yarn g:vitest run",
16
16
  "test:watch": "yarn g:vitest watch",
@@ -81,14 +81,14 @@
81
81
  },
82
82
  "license": "Apache-2.0",
83
83
  "dependencies": {
84
- "@aws-sdk/types": "3.969.0",
85
- "@aws-sdk/xml-builder": "3.969.0",
86
- "@smithy/core": "^3.20.6",
84
+ "@aws-sdk/types": "^3.973.1",
85
+ "@aws-sdk/xml-builder": "^3.972.2",
86
+ "@smithy/core": "^3.22.0",
87
87
  "@smithy/node-config-provider": "^4.3.8",
88
88
  "@smithy/property-provider": "^4.2.8",
89
89
  "@smithy/protocol-http": "^5.3.8",
90
90
  "@smithy/signature-v4": "^5.3.8",
91
- "@smithy/smithy-client": "^4.10.8",
91
+ "@smithy/smithy-client": "^4.11.1",
92
92
  "@smithy/types": "^4.12.0",
93
93
  "@smithy/util-base64": "^4.3.0",
94
94
  "@smithy/util-middleware": "^4.2.8",
@@ -99,7 +99,7 @@
99
99
  "@tsconfig/recommended": "1.0.1",
100
100
  "concurrently": "7.0.0",
101
101
  "downlevel-dts": "0.10.1",
102
- "rimraf": "5.0.10",
102
+ "premove": "4.0.0",
103
103
  "typescript": "~5.8.3"
104
104
  },
105
105
  "engines": {
@@ -112,10 +112,10 @@
112
112
  ]
113
113
  }
114
114
  },
115
- "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/packages/core",
115
+ "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/packages-internal/core",
116
116
  "repository": {
117
117
  "type": "git",
118
118
  "url": "https://github.com/aws/aws-sdk-js-v3.git",
119
- "directory": "packages/core"
119
+ "directory": "packages-internal/core"
120
120
  }
121
121
  }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/credential-provider-env",
3
- "version": "3.970.0",
3
+ "version": "3.972.3",
4
4
  "description": "AWS credential provider that sources credentials from known environment variables",
5
5
  "main": "./dist-cjs/index.js",
6
6
  "module": "./dist-es/index.js",
@@ -11,7 +11,7 @@
11
11
  "build:include:deps": "yarn g:turbo run build -F=\"$npm_package_name\"",
12
12
  "build:types": "tsc -p tsconfig.types.json",
13
13
  "build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
14
- "clean": "rimraf ./dist-* && rimraf *.tsbuildinfo",
14
+ "clean": "premove dist-cjs dist-es dist-types tsconfig.cjs.tsbuildinfo tsconfig.es.tsbuildinfo tsconfig.types.tsbuildinfo",
15
15
  "test": "yarn g:vitest run",
16
16
  "test:watch": "yarn g:vitest watch"
17
17
  },
@@ -26,8 +26,8 @@
26
26
  },
27
27
  "license": "Apache-2.0",
28
28
  "dependencies": {
29
- "@aws-sdk/core": "3.970.0",
30
- "@aws-sdk/types": "3.969.0",
29
+ "@aws-sdk/core": "^3.973.5",
30
+ "@aws-sdk/types": "^3.973.1",
31
31
  "@smithy/property-provider": "^4.2.8",
32
32
  "@smithy/types": "^4.12.0",
33
33
  "tslib": "^2.6.2"
@@ -37,7 +37,7 @@
37
37
  "@types/node": "^20.14.8",
38
38
  "concurrently": "7.0.0",
39
39
  "downlevel-dts": "0.10.1",
40
- "rimraf": "5.0.10",
40
+ "premove": "4.0.0",
41
41
  "typescript": "~5.8.3"
42
42
  },
43
43
  "types": "./dist-types/index.d.ts",
@@ -54,10 +54,10 @@
54
54
  "files": [
55
55
  "dist-*/**"
56
56
  ],
57
- "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/packages/credential-provider-env",
57
+ "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/packages-internal/credential-provider-env",
58
58
  "repository": {
59
59
  "type": "git",
60
60
  "url": "https://github.com/aws/aws-sdk-js-v3.git",
61
- "directory": "packages/credential-provider-env"
61
+ "directory": "packages-internal/credential-provider-env"
62
62
  }
63
63
  }