@aws-sdk/client-dynamodb 3.901.0 → 3.906.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/endpoint/ruleset.js +3 -3
- package/dist-cjs/index.js +5197 -5488
- package/dist-es/endpoint/ruleset.js +3 -3
- package/package.json +5 -5
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const
|
|
2
|
-
const a = false, b = "
|
|
3
|
-
const _data = { version: "1.0", parameters: { Region:
|
|
1
|
+
const J = "required", K = "type", L = "rules", M = "conditions", N = "fn", O = "argv", P = "ref", Q = "assign", R = "url", S = "properties", T = "headers";
|
|
2
|
+
const a = false, b = "error", c = "stringEquals", d = "https://dynamodb.{Region}.{PartitionResult#dualStackDnsSuffix}", e = "endpoint", f = "tree", g = "dynamodb", h = { [J]: false, [K]: "string" }, i = { [J]: true, "default": false, [K]: "boolean" }, j = { [N]: "isSet", [O]: [{ [P]: "Endpoint" }] }, k = { [P]: "Endpoint" }, l = { [N]: "isSet", [O]: [{ [P]: "Region" }] }, m = { [P]: "Region" }, n = { [N]: "aws.partition", [O]: [m], [Q]: "PartitionResult" }, o = { [M]: [{ [N]: "booleanEquals", [O]: [{ [P]: "UseFIPS" }, true] }], [b]: "Invalid Configuration: FIPS and custom endpoint are not supported", [K]: b }, p = { [N]: "booleanEquals", [O]: [{ [P]: "UseFIPS" }, true] }, q = { [M]: [{ [N]: "booleanEquals", [O]: [{ [P]: "UseDualStack" }, true] }], [b]: "Invalid Configuration: Dualstack and custom endpoint are not supported", [K]: b }, r = { [N]: "booleanEquals", [O]: [{ [P]: "UseDualStack" }, true] }, s = { [e]: { [R]: "{Endpoint}", [S]: {}, [T]: {} }, [K]: e }, t = {}, u = { [N]: "booleanEquals", [O]: [{ [N]: "getAttr", [O]: [{ [P]: "PartitionResult" }, "supportsFIPS"] }, true] }, v = { [N]: "booleanEquals", [O]: [{ [N]: "getAttr", [O]: [{ [P]: "PartitionResult" }, "supportsDualStack"] }, true] }, w = { [M]: [{ [N]: "isSet", [O]: [{ [P]: "AccountIdEndpointMode" }] }, { [N]: c, [O]: [{ [P]: "AccountIdEndpointMode" }, "required"] }], [L]: [{ [b]: "Invalid Configuration: AccountIdEndpointMode is required and FIPS is enabled, but FIPS account endpoints are not supported", [K]: b }], [K]: f }, x = { [N]: "getAttr", [O]: [{ [P]: "PartitionResult" }, "name"] }, y = { [e]: { [R]: "https://dynamodb.{Region}.{PartitionResult#dnsSuffix}", [S]: {}, [T]: {} }, [K]: e }, z = { [R]: "https://{ParsedArn#accountId}.ddb.{Region}.{PartitionResult#dualStackDnsSuffix}", [S]: {}, [T]: {} }, A = { [b]: "Credentials-sourced account ID parameter is invalid", [K]: b }, B = { [M]: [{ [N]: "isSet", [O]: [{ [P]: "AccountIdEndpointMode" }] }, { [N]: c, [O]: [{ [P]: "AccountIdEndpointMode" }, "required"] }], [L]: [{ [M]: [{ [N]: "not", [O]: [p] }], [L]: [{ [M]: [{ [N]: c, [O]: [x, "aws"] }], [L]: [{ [b]: "AccountIdEndpointMode is required but no AccountID was provided or able to be loaded", [K]: b }], [K]: f }, { [b]: "Invalid Configuration: AccountIdEndpointMode is required but account endpoints are not supported in this partition", [K]: b }], [K]: f }, { [b]: "Invalid Configuration: AccountIdEndpointMode is required and FIPS is enabled, but FIPS account endpoints are not supported", [K]: b }], [K]: f }, C = { [R]: "https://{ParsedArn#accountId}.ddb.{Region}.{PartitionResult#dnsSuffix}", [S]: {}, [T]: {} }, D = [p], E = [r], F = [{ [N]: "isSet", [O]: [{ [P]: "AccountIdEndpointMode" }] }, { [N]: "not", [O]: [{ [N]: c, [O]: [{ [P]: "AccountIdEndpointMode" }, "disabled"] }] }, { [N]: c, [O]: [x, "aws"] }, { [N]: "not", [O]: [p] }, { [N]: "isSet", [O]: [{ [P]: "ResourceArn" }] }, { [N]: "aws.parseArn", [O]: [{ [P]: "ResourceArn" }], [Q]: "ParsedArn" }, { [N]: c, [O]: [{ [N]: "getAttr", [O]: [{ [P]: "ParsedArn" }, "service"] }, g] }, { [N]: "isValidHostLabel", [O]: [{ [N]: "getAttr", [O]: [{ [P]: "ParsedArn" }, "region"] }, false] }, { [N]: c, [O]: [{ [N]: "getAttr", [O]: [{ [P]: "ParsedArn" }, "region"] }, "{Region}"] }, { [N]: "isValidHostLabel", [O]: [{ [N]: "getAttr", [O]: [{ [P]: "ParsedArn" }, "accountId"] }, false] }], G = [{ [N]: "isSet", [O]: [{ [P]: "AccountIdEndpointMode" }] }, { [N]: "not", [O]: [{ [N]: c, [O]: [{ [P]: "AccountIdEndpointMode" }, "disabled"] }] }, { [N]: c, [O]: [x, "aws"] }, { [N]: "not", [O]: [p] }, { [N]: "isSet", [O]: [{ [P]: "ResourceArnList" }] }, { [N]: "getAttr", [O]: [{ [P]: "ResourceArnList" }, "[0]"], [Q]: "FirstArn" }, { [N]: "aws.parseArn", [O]: [{ [P]: "FirstArn" }], [Q]: "ParsedArn" }, { [N]: c, [O]: [{ [N]: "getAttr", [O]: [{ [P]: "ParsedArn" }, "service"] }, g] }, { [N]: "isValidHostLabel", [O]: [{ [N]: "getAttr", [O]: [{ [P]: "ParsedArn" }, "region"] }, false] }, { [N]: c, [O]: [{ [N]: "getAttr", [O]: [{ [P]: "ParsedArn" }, "region"] }, "{Region}"] }, { [N]: "isValidHostLabel", [O]: [{ [N]: "getAttr", [O]: [{ [P]: "ParsedArn" }, "accountId"] }, false] }], H = [{ [N]: "isSet", [O]: [{ [P]: "AccountIdEndpointMode" }] }, { [N]: "not", [O]: [{ [N]: c, [O]: [{ [P]: "AccountIdEndpointMode" }, "disabled"] }] }, { [N]: c, [O]: [x, "aws"] }, { [N]: "not", [O]: [p] }, { [N]: "isSet", [O]: [{ [P]: "AccountId" }] }], I = [{ [N]: "isValidHostLabel", [O]: [{ [P]: "AccountId" }, false] }];
|
|
3
|
+
const _data = { version: "1.0", parameters: { Region: h, UseDualStack: i, UseFIPS: i, Endpoint: h, AccountId: h, AccountIdEndpointMode: h, ResourceArn: h, ResourceArnList: { [J]: a, [K]: "stringArray" } }, [L]: [{ [M]: [j, l, n], [L]: [o, q, { [M]: [{ [N]: c, [O]: [k, d] }], error: "Endpoint override is not supported for dual-stack endpoints. Please enable dual-stack functionality by enabling the configuration. For more details, see: https://docs.aws.amazon.com/sdkref/latest/guide/feature-endpoints.html", [K]: b }, s], [K]: f }, { [M]: [j], [L]: [o, q, s], [K]: f }, { [M]: [l], [L]: [{ [M]: [n], [L]: [{ [M]: [{ [N]: c, [O]: [m, "local"] }], [L]: [{ [M]: D, error: "Invalid Configuration: FIPS and local endpoint are not supported", [K]: b }, { [M]: E, error: "Invalid Configuration: Dualstack and local endpoint are not supported", [K]: b }, { endpoint: { [R]: "http://localhost:8000", [S]: { authSchemes: [{ signingRegion: "us-east-1", name: "sigv4", signingName: g }] }, [T]: t }, [K]: e }], [K]: f }, { [M]: [p, r], [L]: [{ [M]: [u, v], [L]: [w, { endpoint: { [R]: "https://dynamodb-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", [S]: t, [T]: t }, [K]: e }], [K]: f }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", [K]: b }], [K]: f }, { [M]: D, [L]: [{ [M]: [u], [L]: [{ [M]: [{ [N]: c, [O]: [x, "aws-us-gov"] }], [L]: [w, y], [K]: f }, w, { endpoint: { [R]: "https://dynamodb-fips.{Region}.{PartitionResult#dnsSuffix}", [S]: t, [T]: t }, [K]: e }], [K]: f }, { error: "FIPS is enabled but this partition does not support FIPS", [K]: b }], [K]: f }, { [M]: E, [L]: [{ [M]: [v], [L]: [{ [M]: F, endpoint: z, [K]: e }, { [M]: G, endpoint: z, [K]: e }, { [M]: H, [L]: [{ [M]: I, [L]: [{ endpoint: { [R]: "https://{AccountId}.ddb.{Region}.{PartitionResult#dualStackDnsSuffix}", [S]: t, [T]: t }, [K]: e }], [K]: f }, A], [K]: f }, B, { endpoint: { [R]: d, [S]: t, [T]: t }, [K]: e }], [K]: f }, { error: "DualStack is enabled but this partition does not support DualStack", [K]: b }], [K]: f }, { [M]: F, endpoint: C, [K]: e }, { [M]: G, endpoint: C, [K]: e }, { [M]: H, [L]: [{ [M]: I, [L]: [{ endpoint: { [R]: "https://{AccountId}.ddb.{Region}.{PartitionResult#dnsSuffix}", [S]: t, [T]: t }, [K]: e }], [K]: f }, A], [K]: f }, B, y], [K]: f }], [K]: f }, { error: "Invalid Configuration: Missing Region", [K]: b }] };
|
|
4
4
|
export const ruleSet = _data;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-dynamodb",
|
|
3
3
|
"description": "AWS SDK for JavaScript Dynamodb Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.906.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-dynamodb",
|
|
@@ -20,18 +20,18 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
|
-
"@aws-sdk/core": "3.
|
|
24
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
23
|
+
"@aws-sdk/core": "3.906.0",
|
|
24
|
+
"@aws-sdk/credential-provider-node": "3.906.0",
|
|
25
25
|
"@aws-sdk/middleware-endpoint-discovery": "3.901.0",
|
|
26
26
|
"@aws-sdk/middleware-host-header": "3.901.0",
|
|
27
27
|
"@aws-sdk/middleware-logger": "3.901.0",
|
|
28
28
|
"@aws-sdk/middleware-recursion-detection": "3.901.0",
|
|
29
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
29
|
+
"@aws-sdk/middleware-user-agent": "3.906.0",
|
|
30
30
|
"@aws-sdk/region-config-resolver": "3.901.0",
|
|
31
31
|
"@aws-sdk/types": "3.901.0",
|
|
32
32
|
"@aws-sdk/util-endpoints": "3.901.0",
|
|
33
33
|
"@aws-sdk/util-user-agent-browser": "3.901.0",
|
|
34
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
34
|
+
"@aws-sdk/util-user-agent-node": "3.906.0",
|
|
35
35
|
"@smithy/config-resolver": "^4.3.0",
|
|
36
36
|
"@smithy/core": "^3.14.0",
|
|
37
37
|
"@smithy/fetch-http-handler": "^5.3.0",
|