@cdklabs/cdk-ecs-codedeploy 0.0.95 → 0.0.97

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 (124) hide show
  1. package/.jsii +6 -6
  2. package/.projenrc.ts +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/abort-controller/package.json +6 -3
  8. package/node_modules/@aws-sdk/client-codedeploy/package.json +36 -41
  9. package/node_modules/@aws-sdk/client-sso/package.json +32 -37
  10. package/node_modules/@aws-sdk/client-sso-oidc/package.json +32 -37
  11. package/node_modules/@aws-sdk/client-sts/package.json +35 -40
  12. package/node_modules/@aws-sdk/config-resolver/package.json +10 -7
  13. package/node_modules/@aws-sdk/credential-provider-env/package.json +7 -4
  14. package/node_modules/@aws-sdk/credential-provider-imds/package.json +9 -6
  15. package/node_modules/@aws-sdk/credential-provider-ini/package.json +13 -10
  16. package/node_modules/@aws-sdk/credential-provider-node/package.json +14 -11
  17. package/node_modules/@aws-sdk/credential-provider-process/package.json +8 -5
  18. package/node_modules/@aws-sdk/credential-provider-sso/package.json +10 -7
  19. package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +7 -4
  20. package/node_modules/@aws-sdk/fetch-http-handler/package.json +10 -7
  21. package/node_modules/@aws-sdk/hash-node/package.json +8 -5
  22. package/node_modules/@aws-sdk/invalid-dependency/package.json +6 -3
  23. package/node_modules/@aws-sdk/is-array-buffer/package.json +5 -2
  24. package/node_modules/@aws-sdk/middleware-content-length/package.json +7 -4
  25. package/node_modules/@aws-sdk/middleware-endpoint/package.json +12 -9
  26. package/node_modules/@aws-sdk/middleware-host-header/package.json +7 -4
  27. package/node_modules/@aws-sdk/middleware-logger/package.json +6 -3
  28. package/node_modules/@aws-sdk/middleware-recursion-detection/package.json +7 -4
  29. package/node_modules/@aws-sdk/middleware-retry/dist-types/AdaptiveRetryStrategy.d.ts +1 -1
  30. package/node_modules/@aws-sdk/middleware-retry/dist-types/StandardRetryStrategy.d.ts +1 -1
  31. package/node_modules/@aws-sdk/middleware-retry/package.json +11 -8
  32. package/node_modules/@aws-sdk/middleware-sdk-sts/package.json +10 -7
  33. package/node_modules/@aws-sdk/middleware-serde/package.json +6 -3
  34. package/node_modules/@aws-sdk/middleware-signing/package.json +10 -7
  35. package/node_modules/@aws-sdk/middleware-stack/package.json +6 -3
  36. package/node_modules/@aws-sdk/middleware-user-agent/dist-cjs/user-agent-middleware.js +5 -1
  37. package/node_modules/@aws-sdk/middleware-user-agent/dist-es/user-agent-middleware.js +5 -1
  38. package/node_modules/@aws-sdk/middleware-user-agent/package.json +9 -5
  39. package/node_modules/@aws-sdk/node-config-provider/package.json +8 -5
  40. package/node_modules/@aws-sdk/node-http-handler/package.json +9 -6
  41. package/node_modules/@aws-sdk/property-provider/package.json +6 -3
  42. package/node_modules/@aws-sdk/protocol-http/dist-cjs/Field.js +1 -1
  43. package/node_modules/@aws-sdk/protocol-http/dist-cjs/Fields.js +0 -10
  44. package/node_modules/@aws-sdk/protocol-http/dist-cjs/httpRequest.js +24 -99
  45. package/node_modules/@aws-sdk/protocol-http/dist-es/Field.js +1 -1
  46. package/node_modules/@aws-sdk/protocol-http/dist-es/Fields.js +0 -10
  47. package/node_modules/@aws-sdk/protocol-http/dist-es/httpRequest.js +24 -99
  48. package/node_modules/@aws-sdk/protocol-http/dist-types/Field.d.ts +1 -1
  49. package/node_modules/@aws-sdk/protocol-http/dist-types/Fields.d.ts +1 -18
  50. package/node_modules/@aws-sdk/protocol-http/dist-types/httpRequest.d.ts +7 -50
  51. package/node_modules/@aws-sdk/protocol-http/dist-types/ts3.4/Fields.d.ts +1 -3
  52. package/node_modules/@aws-sdk/protocol-http/dist-types/ts3.4/httpRequest.d.ts +15 -30
  53. package/node_modules/@aws-sdk/protocol-http/package.json +7 -4
  54. package/node_modules/@aws-sdk/querystring-builder/package.json +7 -4
  55. package/node_modules/@aws-sdk/querystring-parser/package.json +6 -3
  56. package/node_modules/@aws-sdk/service-error-classification/package.json +6 -3
  57. package/node_modules/@aws-sdk/shared-ini-file-loader/package.json +6 -3
  58. package/node_modules/@aws-sdk/signature-v4/dist-cjs/prepareRequest.js +1 -18
  59. package/node_modules/@aws-sdk/signature-v4/dist-es/prepareRequest.js +1 -18
  60. package/node_modules/@aws-sdk/signature-v4/package.json +13 -10
  61. package/node_modules/@aws-sdk/smithy-client/dist-types/date-utils.d.ts +16 -16
  62. package/node_modules/@aws-sdk/smithy-client/dist-types/default-error-handler.d.ts +1 -1
  63. package/node_modules/@aws-sdk/smithy-client/dist-types/emitWarningIfUnsupportedVersion.d.ts +1 -1
  64. package/node_modules/@aws-sdk/smithy-client/dist-types/object-mapping.d.ts +1 -1
  65. package/node_modules/@aws-sdk/smithy-client/dist-types/parse-utils.d.ts +23 -23
  66. package/node_modules/@aws-sdk/smithy-client/dist-types/ser-utils.d.ts +1 -1
  67. package/node_modules/@aws-sdk/smithy-client/dist-types/split-every.d.ts +3 -3
  68. package/node_modules/@aws-sdk/smithy-client/package.json +7 -4
  69. package/node_modules/@aws-sdk/token-providers/package.json +9 -6
  70. package/node_modules/@aws-sdk/types/dist-types/abort.d.ts +1 -1
  71. package/node_modules/@aws-sdk/types/dist-types/auth.d.ts +1 -1
  72. package/node_modules/@aws-sdk/types/dist-types/checksum.d.ts +2 -2
  73. package/node_modules/@aws-sdk/types/dist-types/credentials.d.ts +2 -2
  74. package/node_modules/@aws-sdk/types/dist-types/dns.d.ts +3 -3
  75. package/node_modules/@aws-sdk/types/dist-types/http.d.ts +6 -10
  76. package/node_modules/@aws-sdk/types/dist-types/identity/Identity.d.ts +1 -1
  77. package/node_modules/@aws-sdk/types/dist-types/logger.d.ts +1 -1
  78. package/node_modules/@aws-sdk/types/dist-types/middleware.d.ts +15 -15
  79. package/node_modules/@aws-sdk/types/dist-types/profile.d.ts +1 -1
  80. package/node_modules/@aws-sdk/types/dist-types/retry.d.ts +2 -2
  81. package/node_modules/@aws-sdk/types/dist-types/serde.d.ts +7 -7
  82. package/node_modules/@aws-sdk/types/dist-types/shapes.d.ts +1 -2
  83. package/node_modules/@aws-sdk/types/dist-types/signature.d.ts +4 -4
  84. package/node_modules/@aws-sdk/types/dist-types/token.d.ts +2 -2
  85. package/node_modules/@aws-sdk/types/dist-types/util.d.ts +4 -4
  86. package/node_modules/@aws-sdk/types/package.json +5 -2
  87. package/node_modules/@aws-sdk/url-parser/package.json +7 -4
  88. package/node_modules/@aws-sdk/util-base64/package.json +6 -3
  89. package/node_modules/@aws-sdk/util-body-length-browser/package.json +5 -2
  90. package/node_modules/@aws-sdk/util-body-length-node/package.json +5 -2
  91. package/node_modules/@aws-sdk/util-buffer-from/package.json +6 -3
  92. package/node_modules/@aws-sdk/util-config-provider/package.json +5 -2
  93. package/node_modules/@aws-sdk/util-defaults-mode-browser/package.json +8 -5
  94. package/node_modules/@aws-sdk/util-defaults-mode-node/package.json +11 -8
  95. package/node_modules/@aws-sdk/util-endpoints/dist-cjs/lib/aws/partition.js +16 -3
  96. package/node_modules/@aws-sdk/util-endpoints/dist-es/lib/aws/partition.js +12 -2
  97. package/node_modules/@aws-sdk/util-endpoints/dist-types/lib/aws/partition.d.ts +30 -0
  98. package/node_modules/@aws-sdk/util-endpoints/dist-types/ts3.4/lib/aws/partition.d.ts +26 -0
  99. package/node_modules/@aws-sdk/util-endpoints/package.json +6 -3
  100. package/node_modules/@aws-sdk/util-hex-encoding/package.json +5 -2
  101. package/node_modules/@aws-sdk/util-locate-window/package.json +5 -2
  102. package/node_modules/@aws-sdk/util-middleware/package.json +6 -3
  103. package/node_modules/@aws-sdk/util-retry/package.json +7 -4
  104. package/node_modules/@aws-sdk/util-uri-escape/package.json +5 -2
  105. package/node_modules/@aws-sdk/util-user-agent-browser/package.json +7 -4
  106. package/node_modules/@aws-sdk/util-user-agent-node/package.json +8 -5
  107. package/node_modules/@aws-sdk/util-utf8/package.json +6 -3
  108. package/node_modules/@aws-sdk/util-waiter/dist-types/poller.d.ts +4 -4
  109. package/node_modules/@aws-sdk/util-waiter/dist-types/utils/validate.d.ts +1 -1
  110. package/node_modules/@aws-sdk/util-waiter/dist-types/waiter.d.ts +1 -1
  111. package/node_modules/@aws-sdk/util-waiter/package.json +7 -4
  112. package/package.json +14 -14
  113. package/node_modules/@aws-sdk/is-array-buffer/CHANGELOG.md +0 -663
  114. package/node_modules/@aws-sdk/protocol-http/dist-cjs/headersProxy.js +0 -52
  115. package/node_modules/@aws-sdk/protocol-http/dist-cjs/queryProxy.js +0 -71
  116. package/node_modules/@aws-sdk/protocol-http/dist-es/headersProxy.js +0 -45
  117. package/node_modules/@aws-sdk/protocol-http/dist-es/queryProxy.js +0 -65
  118. package/node_modules/@aws-sdk/protocol-http/dist-types/headersProxy.d.ts +0 -39
  119. package/node_modules/@aws-sdk/protocol-http/dist-types/queryProxy.d.ts +0 -29
  120. package/node_modules/@aws-sdk/protocol-http/dist-types/ts3.4/headersProxy.d.ts +0 -8
  121. package/node_modules/@aws-sdk/protocol-http/dist-types/ts3.4/queryProxy.d.ts +0 -10
  122. package/node_modules/@aws-sdk/util-body-length-browser/CHANGELOG.md +0 -681
  123. package/node_modules/@aws-sdk/util-hex-encoding/CHANGELOG.md +0 -676
  124. package/node_modules/@aws-sdk/util-uri-escape/CHANGELOG.md +0 -768
@@ -2,8 +2,8 @@ import { HttpRequest } from "./http";
2
2
  /**
3
3
  * @public
4
4
  *
5
- * A {Date} object, a unix (epoch) timestamp in seconds, or a string that can be
6
- * understood by the JavaScript {Date} constructor.
5
+ * A `Date` object, a unix (epoch) timestamp in seconds, or a string that can be
6
+ * understood by the JavaScript `Date` constructor.
7
7
  */
8
8
  export declare type DateInput = number | string | Date;
9
9
  /**
@@ -83,8 +83,8 @@ export interface RequestPresigner {
83
83
  * The request will be valid until either the provided `expiration` time has
84
84
  * passed or the underlying credentials have expired.
85
85
  *
86
- * @param requestToSign The request that should be signed.
87
- * @param options Additional signing options.
86
+ * @param requestToSign - The request that should be signed.
87
+ * @param options - Additional signing options.
88
88
  */
89
89
  presign(requestToSign: HttpRequest, options?: RequestPresigningArguments): Promise<HttpRequest>;
90
90
  }
@@ -5,13 +5,13 @@ import { Provider } from "./util";
5
5
  *
6
6
  * An object representing temporary or permanent AWS token.
7
7
  *
8
- * @deprecated Use {@TokenIdentity}
8
+ * @deprecated Use {@link TokenIdentity}
9
9
  */
10
10
  export interface Token extends TokenIdentity {
11
11
  }
12
12
  /**
13
13
  * @public
14
14
  *
15
- * @deprecated Use {@TokenIdentityProvider}
15
+ * @deprecated Use {@link TokenIdentityProvider}
16
16
  */
17
17
  export declare type TokenProvider = Provider<Token>;
@@ -8,8 +8,8 @@ import { MetadataBearer } from "./response";
8
8
  * representation thereof.
9
9
  *
10
10
  * @example An encoder function that converts bytes to hexadecimal
11
- * representation would return `'deadbeef'` when given `new
12
- * Uint8Array([0xde, 0xad, 0xbe, 0xef])`.
11
+ * representation would return `'deadbeef'` when given
12
+ * `new Uint8Array([0xde, 0xad, 0xbe, 0xef])`.
13
13
  */
14
14
  export interface Encoder {
15
15
  (input: Uint8Array): string;
@@ -119,12 +119,12 @@ export interface RegionInfo {
119
119
  export interface RegionInfoProviderOptions {
120
120
  /**
121
121
  * Enables IPv6/IPv4 dualstack endpoint.
122
- * @default false
122
+ * @defaultValue false
123
123
  */
124
124
  useDualstackEndpoint: boolean;
125
125
  /**
126
126
  * Enables FIPS compatible endpoints.
127
- * @default false
127
+ * @defaultValue false
128
128
  */
129
129
  useFipsEndpoint: boolean;
130
130
  }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/types",
3
- "version": "3.290.0",
3
+ "version": "3.292.0",
4
4
  "main": "./dist-cjs/index.js",
5
5
  "module": "./dist-es/index.js",
6
6
  "types": "./dist-types/index.d.ts",
@@ -47,7 +47,10 @@
47
47
  "concurrently": "7.0.0",
48
48
  "downlevel-dts": "0.10.1",
49
49
  "rimraf": "3.0.2",
50
- "typedoc": "0.19.2",
50
+ "typedoc": "0.23.23",
51
51
  "typescript": "~4.6.2"
52
+ },
53
+ "typedoc": {
54
+ "entryPoint": "src/index.ts"
52
55
  }
53
56
  }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/url-parser",
3
- "version": "3.290.0",
3
+ "version": "3.292.0",
4
4
  "scripts": {
5
5
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
6
6
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -20,8 +20,8 @@
20
20
  },
21
21
  "license": "Apache-2.0",
22
22
  "dependencies": {
23
- "@aws-sdk/querystring-parser": "3.290.0",
24
- "@aws-sdk/types": "3.290.0",
23
+ "@aws-sdk/querystring-parser": "3.292.0",
24
+ "@aws-sdk/types": "3.292.0",
25
25
  "tslib": "^2.3.1"
26
26
  },
27
27
  "typesVersions": {
@@ -45,7 +45,10 @@
45
45
  "concurrently": "7.0.0",
46
46
  "downlevel-dts": "0.10.1",
47
47
  "rimraf": "3.0.2",
48
- "typedoc": "0.19.2",
48
+ "typedoc": "0.23.23",
49
49
  "typescript": "~4.6.2"
50
+ },
51
+ "typedoc": {
52
+ "entryPoint": "src/index.ts"
50
53
  }
51
54
  }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/util-base64",
3
- "version": "3.208.0",
3
+ "version": "3.292.0",
4
4
  "description": "A Base64 <-> UInt8Array converter",
5
5
  "main": "./dist-cjs/index.js",
6
6
  "module": "./dist-es/index.js",
@@ -20,7 +20,7 @@
20
20
  },
21
21
  "license": "Apache-2.0",
22
22
  "dependencies": {
23
- "@aws-sdk/util-buffer-from": "3.208.0",
23
+ "@aws-sdk/util-buffer-from": "3.292.0",
24
24
  "tslib": "^2.3.1"
25
25
  },
26
26
  "devDependencies": {
@@ -29,7 +29,7 @@
29
29
  "concurrently": "7.0.0",
30
30
  "downlevel-dts": "0.10.1",
31
31
  "rimraf": "3.0.2",
32
- "typedoc": "0.19.2",
32
+ "typedoc": "0.23.23",
33
33
  "typescript": "~4.6.2"
34
34
  },
35
35
  "types": "./dist-types/index.d.ts",
@@ -59,5 +59,8 @@
59
59
  "type": "git",
60
60
  "url": "https://github.com/aws/aws-sdk-js-v3.git",
61
61
  "directory": "packages/util-base64"
62
+ },
63
+ "typedoc": {
64
+ "entryPoint": "src/index.ts"
62
65
  }
63
66
  }
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/util-body-length-browser",
3
3
  "description": "Determines the length of a request body in browsers",
4
- "version": "3.188.0",
4
+ "version": "3.292.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -44,7 +44,10 @@
44
44
  "concurrently": "7.0.0",
45
45
  "downlevel-dts": "0.10.1",
46
46
  "rimraf": "3.0.2",
47
- "typedoc": "0.19.2",
47
+ "typedoc": "0.23.23",
48
48
  "typescript": "~4.6.2"
49
+ },
50
+ "typedoc": {
51
+ "entryPoint": "src/index.ts"
49
52
  }
50
53
  }
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/util-body-length-node",
3
3
  "description": "Determines the length of a request body in node.js",
4
- "version": "3.208.0",
4
+ "version": "3.292.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -18,7 +18,7 @@
18
18
  "concurrently": "7.0.0",
19
19
  "downlevel-dts": "0.10.1",
20
20
  "rimraf": "3.0.2",
21
- "typedoc": "0.19.2",
21
+ "typedoc": "0.23.23",
22
22
  "typescript": "~4.6.2"
23
23
  },
24
24
  "main": "./dist-cjs/index.js",
@@ -50,5 +50,8 @@
50
50
  "type": "git",
51
51
  "url": "https://github.com/aws/aws-sdk-js-v3.git",
52
52
  "directory": "packages/util-body-length-node"
53
+ },
54
+ "typedoc": {
55
+ "entryPoint": "src/index.ts"
53
56
  }
54
57
  }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/util-buffer-from",
3
- "version": "3.208.0",
3
+ "version": "3.292.0",
4
4
  "scripts": {
5
5
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
6
6
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -17,7 +17,7 @@
17
17
  },
18
18
  "license": "Apache-2.0",
19
19
  "dependencies": {
20
- "@aws-sdk/is-array-buffer": "3.201.0",
20
+ "@aws-sdk/is-array-buffer": "3.292.0",
21
21
  "tslib": "^2.3.1"
22
22
  },
23
23
  "devDependencies": {
@@ -26,7 +26,7 @@
26
26
  "concurrently": "7.0.0",
27
27
  "downlevel-dts": "0.10.1",
28
28
  "rimraf": "3.0.2",
29
- "typedoc": "0.19.2",
29
+ "typedoc": "0.23.23",
30
30
  "typescript": "~4.6.2"
31
31
  },
32
32
  "main": "./dist-cjs/index.js",
@@ -50,5 +50,8 @@
50
50
  "type": "git",
51
51
  "url": "https://github.com/aws/aws-sdk-js-v3.git",
52
52
  "directory": "packages/util-buffer-from"
53
+ },
54
+ "typedoc": {
55
+ "entryPoint": "src/index.ts"
53
56
  }
54
57
  }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/util-config-provider",
3
- "version": "3.208.0",
3
+ "version": "3.292.0",
4
4
  "description": "Utilities package for configuration providers",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
@@ -30,7 +30,7 @@
30
30
  "concurrently": "7.0.0",
31
31
  "downlevel-dts": "0.10.1",
32
32
  "rimraf": "3.0.2",
33
- "typedoc": "0.19.2",
33
+ "typedoc": "0.23.23",
34
34
  "typescript": "~4.6.2"
35
35
  },
36
36
  "engines": {
@@ -51,5 +51,8 @@
51
51
  "type": "git",
52
52
  "url": "https://github.com/aws/aws-sdk-js-v3.git",
53
53
  "directory": "packages/util-config-provider"
54
+ },
55
+ "typedoc": {
56
+ "entryPoint": "src/index.ts"
54
57
  }
55
58
  }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/util-defaults-mode-browser",
3
- "version": "3.290.0",
3
+ "version": "3.292.0",
4
4
  "scripts": {
5
5
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
6
6
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -19,19 +19,19 @@
19
19
  },
20
20
  "license": "Apache-2.0",
21
21
  "dependencies": {
22
- "@aws-sdk/property-provider": "3.290.0",
23
- "@aws-sdk/types": "3.290.0",
22
+ "@aws-sdk/property-provider": "3.292.0",
23
+ "@aws-sdk/types": "3.292.0",
24
24
  "bowser": "^2.11.0",
25
25
  "tslib": "^2.3.1"
26
26
  },
27
27
  "devDependencies": {
28
- "@aws-sdk/smithy-client": "3.290.0",
28
+ "@aws-sdk/smithy-client": "3.292.0",
29
29
  "@tsconfig/recommended": "1.0.1",
30
30
  "@types/node": "^14.14.31",
31
31
  "concurrently": "7.0.0",
32
32
  "downlevel-dts": "0.10.1",
33
33
  "rimraf": "3.0.2",
34
- "typedoc": "0.19.2",
34
+ "typedoc": "0.23.23",
35
35
  "typescript": "~4.6.2"
36
36
  },
37
37
  "engines": {
@@ -55,5 +55,8 @@
55
55
  "type": "git",
56
56
  "url": "https://github.com/aws/aws-sdk-js-v3.git",
57
57
  "directory": "packages/util-defaults-mode-node"
58
+ },
59
+ "typedoc": {
60
+ "entryPoint": "src/index.ts"
58
61
  }
59
62
  }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/util-defaults-mode-node",
3
- "version": "3.290.0",
3
+ "version": "3.292.0",
4
4
  "scripts": {
5
5
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
6
6
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -19,21 +19,21 @@
19
19
  },
20
20
  "license": "Apache-2.0",
21
21
  "dependencies": {
22
- "@aws-sdk/config-resolver": "3.290.0",
23
- "@aws-sdk/credential-provider-imds": "3.290.0",
24
- "@aws-sdk/node-config-provider": "3.290.0",
25
- "@aws-sdk/property-provider": "3.290.0",
26
- "@aws-sdk/types": "3.290.0",
22
+ "@aws-sdk/config-resolver": "3.292.0",
23
+ "@aws-sdk/credential-provider-imds": "3.292.0",
24
+ "@aws-sdk/node-config-provider": "3.292.0",
25
+ "@aws-sdk/property-provider": "3.292.0",
26
+ "@aws-sdk/types": "3.292.0",
27
27
  "tslib": "^2.3.1"
28
28
  },
29
29
  "devDependencies": {
30
- "@aws-sdk/smithy-client": "3.290.0",
30
+ "@aws-sdk/smithy-client": "3.292.0",
31
31
  "@tsconfig/recommended": "1.0.1",
32
32
  "@types/node": "^14.14.31",
33
33
  "concurrently": "7.0.0",
34
34
  "downlevel-dts": "0.10.1",
35
35
  "rimraf": "3.0.2",
36
- "typedoc": "0.19.2",
36
+ "typedoc": "0.23.23",
37
37
  "typescript": "~4.6.2"
38
38
  },
39
39
  "engines": {
@@ -54,5 +54,8 @@
54
54
  "type": "git",
55
55
  "url": "https://github.com/aws/aws-sdk-js-v3.git",
56
56
  "directory": "packages/util-defaults-mode-node"
57
+ },
58
+ "typedoc": {
59
+ "entryPoint": "src/index.ts"
57
60
  }
58
61
  }
@@ -1,11 +1,12 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.partition = void 0;
3
+ exports.getUserAgentPrefix = exports.useDefaultPartitionInfo = exports.setPartitionInfo = exports.partition = void 0;
4
4
  const tslib_1 = require("tslib");
5
5
  const partitions_json_1 = tslib_1.__importDefault(require("./partitions.json"));
6
- const { partitions } = partitions_json_1.default;
7
- const DEFAULT_PARTITION = partitions.find((partition) => partition.id === "aws");
6
+ let selectedPartitionsInfo = partitions_json_1.default;
7
+ let selectedUserAgentPrefix = "";
8
8
  const partition = (value) => {
9
+ const { partitions } = selectedPartitionsInfo;
9
10
  for (const partition of partitions) {
10
11
  const { regions, outputs } = partition;
11
12
  for (const [region, regionData] of Object.entries(regions)) {
@@ -25,6 +26,7 @@ const partition = (value) => {
25
26
  };
26
27
  }
27
28
  }
29
+ const DEFAULT_PARTITION = partitions.find((partition) => partition.id === "aws");
28
30
  if (!DEFAULT_PARTITION) {
29
31
  throw new Error("Provided region was not found in the partition array or regex," +
30
32
  " and default partition with id 'aws' doesn't exist.");
@@ -34,3 +36,14 @@ const partition = (value) => {
34
36
  };
35
37
  };
36
38
  exports.partition = partition;
39
+ const setPartitionInfo = (partitionsInfo, userAgentPrefix = "") => {
40
+ selectedPartitionsInfo = partitionsInfo;
41
+ selectedUserAgentPrefix = userAgentPrefix;
42
+ };
43
+ exports.setPartitionInfo = setPartitionInfo;
44
+ const useDefaultPartitionInfo = () => {
45
+ (0, exports.setPartitionInfo)(partitions_json_1.default, "");
46
+ };
47
+ exports.useDefaultPartitionInfo = useDefaultPartitionInfo;
48
+ const getUserAgentPrefix = () => selectedUserAgentPrefix;
49
+ exports.getUserAgentPrefix = getUserAgentPrefix;
@@ -1,7 +1,8 @@
1
1
  import partitionsInfo from "./partitions.json";
2
- const { partitions } = partitionsInfo;
3
- const DEFAULT_PARTITION = partitions.find((partition) => partition.id === "aws");
2
+ let selectedPartitionsInfo = partitionsInfo;
3
+ let selectedUserAgentPrefix = "";
4
4
  export const partition = (value) => {
5
+ const { partitions } = selectedPartitionsInfo;
5
6
  for (const partition of partitions) {
6
7
  const { regions, outputs } = partition;
7
8
  for (const [region, regionData] of Object.entries(regions)) {
@@ -21,6 +22,7 @@ export const partition = (value) => {
21
22
  };
22
23
  }
23
24
  }
25
+ const DEFAULT_PARTITION = partitions.find((partition) => partition.id === "aws");
24
26
  if (!DEFAULT_PARTITION) {
25
27
  throw new Error("Provided region was not found in the partition array or regex," +
26
28
  " and default partition with id 'aws' doesn't exist.");
@@ -29,3 +31,11 @@ export const partition = (value) => {
29
31
  ...DEFAULT_PARTITION.outputs,
30
32
  };
31
33
  };
34
+ export const setPartitionInfo = (partitionsInfo, userAgentPrefix = "") => {
35
+ selectedPartitionsInfo = partitionsInfo;
36
+ selectedUserAgentPrefix = userAgentPrefix;
37
+ };
38
+ export const useDefaultPartitionInfo = () => {
39
+ setPartitionInfo(partitionsInfo, "");
40
+ };
41
+ export const getUserAgentPrefix = () => selectedUserAgentPrefix;
@@ -1,4 +1,20 @@
1
1
  import { EndpointPartition } from "@aws-sdk/types";
2
+ export declare type PartitionsInfo = {
3
+ partitions: Array<{
4
+ id: string;
5
+ outputs: {
6
+ dnsSuffix: string;
7
+ dualStackDnsSuffix: string;
8
+ name: string;
9
+ supportsDualStack: boolean;
10
+ supportsFIPS: boolean;
11
+ };
12
+ regionRegex: string;
13
+ regions: Record<string, {
14
+ description?: string;
15
+ } | undefined>;
16
+ }>;
17
+ };
2
18
  /**
3
19
  * Evaluates a single string argument value as a region, and matches the
4
20
  * string value to an AWS partition.
@@ -6,3 +22,17 @@ import { EndpointPartition } from "@aws-sdk/types";
6
22
  * that the region has been determined to be a part of.
7
23
  */
8
24
  export declare const partition: (value: string) => EndpointPartition;
25
+ /**
26
+ * Set custom partitions.json data.
27
+ * @internal
28
+ */
29
+ export declare const setPartitionInfo: (partitionsInfo: PartitionsInfo, userAgentPrefix?: string) => void;
30
+ /**
31
+ * Reset to the default partitions.json data.
32
+ * @internal
33
+ */
34
+ export declare const useDefaultPartitionInfo: () => void;
35
+ /**
36
+ * @internal
37
+ */
38
+ export declare const getUserAgentPrefix: () => string;
@@ -1,2 +1,28 @@
1
1
  import { EndpointPartition } from "@aws-sdk/types";
2
+ export declare type PartitionsInfo = {
3
+ partitions: Array<{
4
+ id: string;
5
+ outputs: {
6
+ dnsSuffix: string;
7
+ dualStackDnsSuffix: string;
8
+ name: string;
9
+ supportsDualStack: boolean;
10
+ supportsFIPS: boolean;
11
+ };
12
+ regionRegex: string;
13
+ regions: Record<
14
+ string,
15
+ | {
16
+ description?: string;
17
+ }
18
+ | undefined
19
+ >;
20
+ }>;
21
+ };
2
22
  export declare const partition: (value: string) => EndpointPartition;
23
+ export declare const setPartitionInfo: (
24
+ partitionsInfo: PartitionsInfo,
25
+ userAgentPrefix?: string
26
+ ) => void;
27
+ export declare const useDefaultPartitionInfo: () => void;
28
+ export declare const getUserAgentPrefix: () => string;
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/util-endpoints",
3
- "version": "3.290.0",
3
+ "version": "3.293.0",
4
4
  "description": "Utilities to help with endpoint resolution",
5
5
  "main": "./dist-cjs/index.js",
6
6
  "module": "./dist-es/index.js",
@@ -21,7 +21,7 @@
21
21
  },
22
22
  "license": "Apache-2.0",
23
23
  "dependencies": {
24
- "@aws-sdk/types": "3.290.0",
24
+ "@aws-sdk/types": "3.292.0",
25
25
  "tslib": "^2.3.1"
26
26
  },
27
27
  "engines": {
@@ -48,7 +48,10 @@
48
48
  "concurrently": "7.0.0",
49
49
  "downlevel-dts": "0.10.1",
50
50
  "rimraf": "3.0.2",
51
- "typedoc": "0.19.2",
51
+ "typedoc": "0.23.23",
52
52
  "typescript": "~4.6.2"
53
+ },
54
+ "typedoc": {
55
+ "entryPoint": "src/index.ts"
53
56
  }
54
57
  }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/util-hex-encoding",
3
- "version": "3.201.0",
3
+ "version": "3.292.0",
4
4
  "description": "Converts binary buffers to and from lowercase hexadecimal encoding",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
@@ -47,7 +47,10 @@
47
47
  "concurrently": "7.0.0",
48
48
  "downlevel-dts": "0.10.1",
49
49
  "rimraf": "3.0.2",
50
- "typedoc": "0.19.2",
50
+ "typedoc": "0.23.23",
51
51
  "typescript": "~4.6.2"
52
+ },
53
+ "typedoc": {
54
+ "entryPoint": "src/index.ts"
52
55
  }
53
56
  }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/util-locate-window",
3
- "version": "3.208.0",
3
+ "version": "3.292.0",
4
4
  "scripts": {
5
5
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
6
6
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -25,7 +25,7 @@
25
25
  "concurrently": "7.0.0",
26
26
  "downlevel-dts": "0.10.1",
27
27
  "rimraf": "3.0.2",
28
- "typedoc": "0.19.2",
28
+ "typedoc": "0.23.23",
29
29
  "typescript": "~4.6.2"
30
30
  },
31
31
  "main": "./dist-cjs/index.js",
@@ -49,5 +49,8 @@
49
49
  "type": "git",
50
50
  "url": "https://github.com/aws/aws-sdk-js-v3.git",
51
51
  "directory": "packages/util-locate-window"
52
+ },
53
+ "typedoc": {
54
+ "entryPoint": "src/index.ts"
52
55
  }
53
56
  }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/util-middleware",
3
- "version": "3.290.0",
3
+ "version": "3.292.0",
4
4
  "description": "Shared utilities for to be used in middleware packages.",
5
5
  "main": "./dist-cjs/index.js",
6
6
  "module": "./dist-es/index.js",
@@ -27,13 +27,13 @@
27
27
  "tslib": "^2.3.1"
28
28
  },
29
29
  "devDependencies": {
30
- "@aws-sdk/types": "3.290.0",
30
+ "@aws-sdk/types": "3.292.0",
31
31
  "@tsconfig/recommended": "1.0.1",
32
32
  "@types/node": "^14.14.31",
33
33
  "concurrently": "7.0.0",
34
34
  "downlevel-dts": "0.10.1",
35
35
  "rimraf": "3.0.2",
36
- "typedoc": "0.19.2",
36
+ "typedoc": "0.23.23",
37
37
  "typescript": "~4.6.2"
38
38
  },
39
39
  "types": "./dist-types/index.d.ts",
@@ -55,5 +55,8 @@
55
55
  "type": "git",
56
56
  "url": "https://github.com/aws/aws-sdk-js-v3.git",
57
57
  "directory": "packages/util-middleware"
58
+ },
59
+ "typedoc": {
60
+ "entryPoint": "src/index.ts"
58
61
  }
59
62
  }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/util-retry",
3
- "version": "3.290.0",
3
+ "version": "3.292.0",
4
4
  "description": "Shared retry utilities to be used in middleware packages.",
5
5
  "main": "./dist-cjs/index.js",
6
6
  "module": "./dist-es/index.js",
@@ -24,17 +24,17 @@
24
24
  },
25
25
  "license": "Apache-2.0",
26
26
  "dependencies": {
27
- "@aws-sdk/service-error-classification": "3.290.0",
27
+ "@aws-sdk/service-error-classification": "3.292.0",
28
28
  "tslib": "^2.3.1"
29
29
  },
30
30
  "devDependencies": {
31
- "@aws-sdk/types": "3.290.0",
31
+ "@aws-sdk/types": "3.292.0",
32
32
  "@tsconfig/recommended": "1.0.1",
33
33
  "@types/node": "^14.14.31",
34
34
  "concurrently": "7.0.0",
35
35
  "downlevel-dts": "0.10.1",
36
36
  "rimraf": "3.0.2",
37
- "typedoc": "0.19.2",
37
+ "typedoc": "0.23.23",
38
38
  "typescript": "~4.6.2"
39
39
  },
40
40
  "types": "./dist-types/index.d.ts",
@@ -56,5 +56,8 @@
56
56
  "type": "git",
57
57
  "url": "https://github.com/aws/aws-sdk-js-v3.git",
58
58
  "directory": "packages/util-retry"
59
+ },
60
+ "typedoc": {
61
+ "entryPoint": "src/index.ts"
59
62
  }
60
63
  }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/util-uri-escape",
3
- "version": "3.201.0",
3
+ "version": "3.292.0",
4
4
  "scripts": {
5
5
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
6
6
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -46,7 +46,10 @@
46
46
  "concurrently": "7.0.0",
47
47
  "downlevel-dts": "0.10.1",
48
48
  "rimraf": "3.0.2",
49
- "typedoc": "0.19.2",
49
+ "typedoc": "0.23.23",
50
50
  "typescript": "~4.6.2"
51
+ },
52
+ "typedoc": {
53
+ "entryPoint": "src/index.ts"
51
54
  }
52
55
  }