@aws-sdk/client-dynamodb 3.1013.0 → 3.1014.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.
@@ -3,5 +3,5 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.ruleSet = void 0;
4
4
  const K = "required", L = "type", M = "rules", N = "conditions", O = "fn", P = "argv", Q = "ref", R = "assign", S = "url", T = "properties", U = "headers", V = "metricValues";
5
5
  const a = false, b = "error", c = "stringEquals", d = "https://dynamodb.{Region}.{PartitionResult#dualStackDnsSuffix}", e = "endpoint", f = "tree", g = "dynamodb", h = { [K]: false, [L]: "string" }, i = { [K]: true, "default": false, [L]: "boolean" }, j = { [O]: "isSet", [P]: [{ [Q]: "Endpoint" }] }, k = { [Q]: "Endpoint" }, l = { [O]: "isSet", [P]: [{ [Q]: "Region" }] }, m = { [Q]: "Region" }, n = { [O]: "aws.partition", [P]: [m], [R]: "PartitionResult" }, o = { [N]: [{ [O]: "booleanEquals", [P]: [{ [Q]: "UseFIPS" }, true] }], [b]: "Invalid Configuration: FIPS and custom endpoint are not supported", [L]: b }, p = { [O]: "booleanEquals", [P]: [{ [Q]: "UseFIPS" }, true] }, q = { [N]: [{ [O]: "booleanEquals", [P]: [{ [Q]: "UseDualStack" }, true] }], [b]: "Invalid Configuration: Dualstack and custom endpoint are not supported", [L]: b }, r = { [O]: "booleanEquals", [P]: [{ [Q]: "UseDualStack" }, true] }, s = { [e]: { [S]: "{Endpoint}", [T]: {}, [U]: {} }, [L]: e }, t = {}, u = { [O]: "booleanEquals", [P]: [{ [O]: "getAttr", [P]: [{ [Q]: "PartitionResult" }, "supportsFIPS"] }, true] }, v = { [O]: "booleanEquals", [P]: [{ [O]: "getAttr", [P]: [{ [Q]: "PartitionResult" }, "supportsDualStack"] }, true] }, w = { [N]: [{ [O]: "isSet", [P]: [{ [Q]: "AccountIdEndpointMode" }] }, { [O]: c, [P]: [{ [Q]: "AccountIdEndpointMode" }, "required"] }], [M]: [{ [b]: "Invalid Configuration: AccountIdEndpointMode is required and FIPS is enabled, but FIPS account endpoints are not supported", [L]: b }], [L]: f }, x = { [O]: "getAttr", [P]: [{ [Q]: "PartitionResult" }, "name"] }, y = { [e]: { [S]: "https://dynamodb.{Region}.{PartitionResult#dnsSuffix}", [T]: {}, [U]: {} }, [L]: e }, z = { [S]: "https://{ParsedArn#accountId}.ddb.{Region}.{PartitionResult#dualStackDnsSuffix}", [T]: { [V]: ["O"] }, [U]: {} }, A = { [V]: ["O"] }, B = { [b]: "Credentials-sourced account ID parameter is invalid", [L]: b }, C = { [N]: [{ [O]: "isSet", [P]: [{ [Q]: "AccountIdEndpointMode" }] }, { [O]: c, [P]: [{ [Q]: "AccountIdEndpointMode" }, "required"] }], [M]: [{ [N]: [{ [O]: "not", [P]: [p] }], [M]: [{ [N]: [{ [O]: c, [P]: [x, "aws"] }], [M]: [{ [b]: "AccountIdEndpointMode is required but no AccountID was provided or able to be loaded", [L]: b }], [L]: f }, { [b]: "Invalid Configuration: AccountIdEndpointMode is required but account endpoints are not supported in this partition", [L]: b }], [L]: f }, { [b]: "Invalid Configuration: AccountIdEndpointMode is required and FIPS is enabled, but FIPS account endpoints are not supported", [L]: b }], [L]: f }, D = { [S]: "https://{ParsedArn#accountId}.ddb.{Region}.{PartitionResult#dnsSuffix}", [T]: A, [U]: {} }, E = [p], F = [r], G = [{ [O]: "isSet", [P]: [{ [Q]: "AccountIdEndpointMode" }] }, { [O]: "not", [P]: [{ [O]: c, [P]: [{ [Q]: "AccountIdEndpointMode" }, "disabled"] }] }, { [O]: c, [P]: [x, "aws"] }, { [O]: "not", [P]: [p] }, { [O]: "isSet", [P]: [{ [Q]: "ResourceArn" }] }, { [O]: "aws.parseArn", [P]: [{ [Q]: "ResourceArn" }], [R]: "ParsedArn" }, { [O]: c, [P]: [{ [O]: "getAttr", [P]: [{ [Q]: "ParsedArn" }, "service"] }, g] }, { [O]: "isValidHostLabel", [P]: [{ [O]: "getAttr", [P]: [{ [Q]: "ParsedArn" }, "region"] }, false] }, { [O]: c, [P]: [{ [O]: "getAttr", [P]: [{ [Q]: "ParsedArn" }, "region"] }, "{Region}"] }, { [O]: "isValidHostLabel", [P]: [{ [O]: "getAttr", [P]: [{ [Q]: "ParsedArn" }, "accountId"] }, false] }], H = [{ [O]: "isSet", [P]: [{ [Q]: "AccountIdEndpointMode" }] }, { [O]: "not", [P]: [{ [O]: c, [P]: [{ [Q]: "AccountIdEndpointMode" }, "disabled"] }] }, { [O]: c, [P]: [x, "aws"] }, { [O]: "not", [P]: [p] }, { [O]: "isSet", [P]: [{ [Q]: "ResourceArnList" }] }, { [O]: "getAttr", [P]: [{ [Q]: "ResourceArnList" }, "[0]"], [R]: "FirstArn" }, { [O]: "aws.parseArn", [P]: [{ [Q]: "FirstArn" }], [R]: "ParsedArn" }, { [O]: c, [P]: [{ [O]: "getAttr", [P]: [{ [Q]: "ParsedArn" }, "service"] }, g] }, { [O]: "isValidHostLabel", [P]: [{ [O]: "getAttr", [P]: [{ [Q]: "ParsedArn" }, "region"] }, false] }, { [O]: c, [P]: [{ [O]: "getAttr", [P]: [{ [Q]: "ParsedArn" }, "region"] }, "{Region}"] }, { [O]: "isValidHostLabel", [P]: [{ [O]: "getAttr", [P]: [{ [Q]: "ParsedArn" }, "accountId"] }, false] }], I = [{ [O]: "isSet", [P]: [{ [Q]: "AccountIdEndpointMode" }] }, { [O]: "not", [P]: [{ [O]: c, [P]: [{ [Q]: "AccountIdEndpointMode" }, "disabled"] }] }, { [O]: c, [P]: [x, "aws"] }, { [O]: "not", [P]: [p] }, { [O]: "isSet", [P]: [{ [Q]: "AccountId" }] }], J = [{ [O]: "isValidHostLabel", [P]: [{ [Q]: "AccountId" }, false] }];
6
- const _data = { version: "1.0", parameters: { Region: h, UseDualStack: i, UseFIPS: i, Endpoint: h, AccountId: h, AccountIdEndpointMode: h, ResourceArn: h, ResourceArnList: { [K]: a, [L]: "stringArray" } }, [M]: [{ [N]: [j, l, n], [M]: [o, q, { [N]: [{ [O]: c, [P]: [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", [L]: b }, s], [L]: f }, { [N]: [j], [M]: [o, q, s], [L]: f }, { [N]: [l], [M]: [{ [N]: [n], [M]: [{ [N]: [{ [O]: c, [P]: [m, "local"] }], [M]: [{ [N]: E, error: "Invalid Configuration: FIPS and local endpoint are not supported", [L]: b }, { [N]: F, error: "Invalid Configuration: Dualstack and local endpoint are not supported", [L]: b }, { endpoint: { [S]: "http://localhost:8000", [T]: { authSchemes: [{ signingRegion: "us-east-1", signingName: g, name: "sigv4" }] }, [U]: t }, [L]: e }], [L]: f }, { [N]: [p, r], [M]: [{ [N]: [u, v], [M]: [w, { endpoint: { [S]: "https://dynamodb-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", [T]: t, [U]: t }, [L]: e }], [L]: f }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", [L]: b }], [L]: f }, { [N]: E, [M]: [{ [N]: [u], [M]: [{ [N]: [{ [O]: c, [P]: [x, "aws-us-gov"] }], [M]: [w, y], [L]: f }, w, { endpoint: { [S]: "https://dynamodb-fips.{Region}.{PartitionResult#dnsSuffix}", [T]: t, [U]: t }, [L]: e }], [L]: f }, { error: "FIPS is enabled but this partition does not support FIPS", [L]: b }], [L]: f }, { [N]: F, [M]: [{ [N]: [v], [M]: [{ [N]: G, endpoint: z, [L]: e }, { [N]: H, endpoint: z, [L]: e }, { [N]: I, [M]: [{ [N]: J, [M]: [{ endpoint: { [S]: "https://{AccountId}.ddb.{Region}.{PartitionResult#dualStackDnsSuffix}", [T]: A, [U]: t }, [L]: e }], [L]: f }, B], [L]: f }, C, { endpoint: { [S]: d, [T]: t, [U]: t }, [L]: e }], [L]: f }, { error: "DualStack is enabled but this partition does not support DualStack", [L]: b }], [L]: f }, { [N]: G, endpoint: D, [L]: e }, { [N]: H, endpoint: D, [L]: e }, { [N]: I, [M]: [{ [N]: J, [M]: [{ endpoint: { [S]: "https://{AccountId}.ddb.{Region}.{PartitionResult#dnsSuffix}", [T]: A, [U]: t }, [L]: e }], [L]: f }, B], [L]: f }, C, y], [L]: f }], [L]: f }, { error: "Invalid Configuration: Missing Region", [L]: b }] };
6
+ const _data = { version: "1.0", parameters: { Region: h, UseDualStack: i, UseFIPS: i, Endpoint: h, AccountId: h, AccountIdEndpointMode: h, ResourceArn: h, ResourceArnList: { [K]: a, [L]: "stringArray" } }, [M]: [{ [N]: [j, l, n], [M]: [o, q, { [N]: [{ [O]: c, [P]: [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", [L]: b }, s], [L]: f }, { [N]: [j], [M]: [o, q, s], [L]: f }, { [N]: [l], [M]: [{ [N]: [n], [M]: [{ [N]: [{ [O]: c, [P]: [m, "local"] }], [M]: [{ [N]: E, error: "Invalid Configuration: FIPS and local endpoint are not supported", [L]: b }, { [N]: F, error: "Invalid Configuration: Dualstack and local endpoint are not supported", [L]: b }, { endpoint: { [S]: "http://localhost:8000", [T]: { authSchemes: [{ name: "sigv4", signingName: g, signingRegion: "us-east-1" }] }, [U]: t }, [L]: e }], [L]: f }, { [N]: [p, r], [M]: [{ [N]: [u, v], [M]: [w, { endpoint: { [S]: "https://dynamodb-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", [T]: t, [U]: t }, [L]: e }], [L]: f }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", [L]: b }], [L]: f }, { [N]: E, [M]: [{ [N]: [u], [M]: [{ [N]: [{ [O]: c, [P]: [x, "aws-us-gov"] }], [M]: [w, y], [L]: f }, w, { endpoint: { [S]: "https://dynamodb-fips.{Region}.{PartitionResult#dnsSuffix}", [T]: t, [U]: t }, [L]: e }], [L]: f }, { error: "FIPS is enabled but this partition does not support FIPS", [L]: b }], [L]: f }, { [N]: F, [M]: [{ [N]: [v], [M]: [{ [N]: G, endpoint: z, [L]: e }, { [N]: H, endpoint: z, [L]: e }, { [N]: I, [M]: [{ [N]: J, [M]: [{ endpoint: { [S]: "https://{AccountId}.ddb.{Region}.{PartitionResult#dualStackDnsSuffix}", [T]: A, [U]: t }, [L]: e }], [L]: f }, B], [L]: f }, C, { endpoint: { [S]: d, [T]: t, [U]: t }, [L]: e }], [L]: f }, { error: "DualStack is enabled but this partition does not support DualStack", [L]: b }], [L]: f }, { [N]: G, endpoint: D, [L]: e }, { [N]: H, endpoint: D, [L]: e }, { [N]: I, [M]: [{ [N]: J, [M]: [{ endpoint: { [S]: "https://{AccountId}.ddb.{Region}.{PartitionResult#dnsSuffix}", [T]: A, [U]: t }, [L]: e }], [L]: f }, B], [L]: f }, C, y], [L]: f }], [L]: f }, { error: "Invalid Configuration: Missing Region", [L]: b }] };
7
7
  exports.ruleSet = _data;
@@ -443,6 +443,7 @@ const _RASD = "ReplicaAutoScalingDescription";
443
443
  const _RASDL = "ReplicaAutoScalingDescriptionList";
444
444
  const _RASU = "ReplicaAutoScalingUpdate";
445
445
  const _RASUL = "ReplicaAutoScalingUpdateList";
446
+ const _RAe = "ReplicaArn";
446
447
  const _RBMS = "ReplicaBillingModeSummary";
447
448
  const _RCC = "ReturnConsumedCapacity";
448
449
  const _RCU = "ReadCapacityUnits";
@@ -1676,8 +1677,8 @@ exports.ReplicaAutoScalingUpdate$ = [3, n0, _RASU,
1676
1677
  ];
1677
1678
  exports.ReplicaDescription$ = [3, n0, _RD,
1678
1679
  0,
1679
- [_RN, _RSe, _RSD, _RSPP, _KMSMKI, _PTO, _ODTO, _WT, _GSI, _RIDT, _RTCS, _GTSRM],
1680
- [0, 0, 0, 0, 0, () => exports.ProvisionedThroughputOverride$, () => exports.OnDemandThroughputOverride$, () => exports.TableWarmThroughputDescription$, () => ReplicaGlobalSecondaryIndexDescriptionList, 4, () => exports.TableClassSummary$, 0]
1680
+ [_RN, _RSe, _RAe, _RSD, _RSPP, _KMSMKI, _PTO, _ODTO, _WT, _GSI, _RIDT, _RTCS, _GTSRM],
1681
+ [0, 0, 0, 0, 0, 0, () => exports.ProvisionedThroughputOverride$, () => exports.OnDemandThroughputOverride$, () => exports.TableWarmThroughputDescription$, () => ReplicaGlobalSecondaryIndexDescriptionList, 4, () => exports.TableClassSummary$, 0]
1681
1682
  ];
1682
1683
  exports.ReplicaGlobalSecondaryIndex$ = [3, n0, _RGSI,
1683
1684
  0,
@@ -1,4 +1,4 @@
1
1
  const K = "required", L = "type", M = "rules", N = "conditions", O = "fn", P = "argv", Q = "ref", R = "assign", S = "url", T = "properties", U = "headers", V = "metricValues";
2
2
  const a = false, b = "error", c = "stringEquals", d = "https://dynamodb.{Region}.{PartitionResult#dualStackDnsSuffix}", e = "endpoint", f = "tree", g = "dynamodb", h = { [K]: false, [L]: "string" }, i = { [K]: true, "default": false, [L]: "boolean" }, j = { [O]: "isSet", [P]: [{ [Q]: "Endpoint" }] }, k = { [Q]: "Endpoint" }, l = { [O]: "isSet", [P]: [{ [Q]: "Region" }] }, m = { [Q]: "Region" }, n = { [O]: "aws.partition", [P]: [m], [R]: "PartitionResult" }, o = { [N]: [{ [O]: "booleanEquals", [P]: [{ [Q]: "UseFIPS" }, true] }], [b]: "Invalid Configuration: FIPS and custom endpoint are not supported", [L]: b }, p = { [O]: "booleanEquals", [P]: [{ [Q]: "UseFIPS" }, true] }, q = { [N]: [{ [O]: "booleanEquals", [P]: [{ [Q]: "UseDualStack" }, true] }], [b]: "Invalid Configuration: Dualstack and custom endpoint are not supported", [L]: b }, r = { [O]: "booleanEquals", [P]: [{ [Q]: "UseDualStack" }, true] }, s = { [e]: { [S]: "{Endpoint}", [T]: {}, [U]: {} }, [L]: e }, t = {}, u = { [O]: "booleanEquals", [P]: [{ [O]: "getAttr", [P]: [{ [Q]: "PartitionResult" }, "supportsFIPS"] }, true] }, v = { [O]: "booleanEquals", [P]: [{ [O]: "getAttr", [P]: [{ [Q]: "PartitionResult" }, "supportsDualStack"] }, true] }, w = { [N]: [{ [O]: "isSet", [P]: [{ [Q]: "AccountIdEndpointMode" }] }, { [O]: c, [P]: [{ [Q]: "AccountIdEndpointMode" }, "required"] }], [M]: [{ [b]: "Invalid Configuration: AccountIdEndpointMode is required and FIPS is enabled, but FIPS account endpoints are not supported", [L]: b }], [L]: f }, x = { [O]: "getAttr", [P]: [{ [Q]: "PartitionResult" }, "name"] }, y = { [e]: { [S]: "https://dynamodb.{Region}.{PartitionResult#dnsSuffix}", [T]: {}, [U]: {} }, [L]: e }, z = { [S]: "https://{ParsedArn#accountId}.ddb.{Region}.{PartitionResult#dualStackDnsSuffix}", [T]: { [V]: ["O"] }, [U]: {} }, A = { [V]: ["O"] }, B = { [b]: "Credentials-sourced account ID parameter is invalid", [L]: b }, C = { [N]: [{ [O]: "isSet", [P]: [{ [Q]: "AccountIdEndpointMode" }] }, { [O]: c, [P]: [{ [Q]: "AccountIdEndpointMode" }, "required"] }], [M]: [{ [N]: [{ [O]: "not", [P]: [p] }], [M]: [{ [N]: [{ [O]: c, [P]: [x, "aws"] }], [M]: [{ [b]: "AccountIdEndpointMode is required but no AccountID was provided or able to be loaded", [L]: b }], [L]: f }, { [b]: "Invalid Configuration: AccountIdEndpointMode is required but account endpoints are not supported in this partition", [L]: b }], [L]: f }, { [b]: "Invalid Configuration: AccountIdEndpointMode is required and FIPS is enabled, but FIPS account endpoints are not supported", [L]: b }], [L]: f }, D = { [S]: "https://{ParsedArn#accountId}.ddb.{Region}.{PartitionResult#dnsSuffix}", [T]: A, [U]: {} }, E = [p], F = [r], G = [{ [O]: "isSet", [P]: [{ [Q]: "AccountIdEndpointMode" }] }, { [O]: "not", [P]: [{ [O]: c, [P]: [{ [Q]: "AccountIdEndpointMode" }, "disabled"] }] }, { [O]: c, [P]: [x, "aws"] }, { [O]: "not", [P]: [p] }, { [O]: "isSet", [P]: [{ [Q]: "ResourceArn" }] }, { [O]: "aws.parseArn", [P]: [{ [Q]: "ResourceArn" }], [R]: "ParsedArn" }, { [O]: c, [P]: [{ [O]: "getAttr", [P]: [{ [Q]: "ParsedArn" }, "service"] }, g] }, { [O]: "isValidHostLabel", [P]: [{ [O]: "getAttr", [P]: [{ [Q]: "ParsedArn" }, "region"] }, false] }, { [O]: c, [P]: [{ [O]: "getAttr", [P]: [{ [Q]: "ParsedArn" }, "region"] }, "{Region}"] }, { [O]: "isValidHostLabel", [P]: [{ [O]: "getAttr", [P]: [{ [Q]: "ParsedArn" }, "accountId"] }, false] }], H = [{ [O]: "isSet", [P]: [{ [Q]: "AccountIdEndpointMode" }] }, { [O]: "not", [P]: [{ [O]: c, [P]: [{ [Q]: "AccountIdEndpointMode" }, "disabled"] }] }, { [O]: c, [P]: [x, "aws"] }, { [O]: "not", [P]: [p] }, { [O]: "isSet", [P]: [{ [Q]: "ResourceArnList" }] }, { [O]: "getAttr", [P]: [{ [Q]: "ResourceArnList" }, "[0]"], [R]: "FirstArn" }, { [O]: "aws.parseArn", [P]: [{ [Q]: "FirstArn" }], [R]: "ParsedArn" }, { [O]: c, [P]: [{ [O]: "getAttr", [P]: [{ [Q]: "ParsedArn" }, "service"] }, g] }, { [O]: "isValidHostLabel", [P]: [{ [O]: "getAttr", [P]: [{ [Q]: "ParsedArn" }, "region"] }, false] }, { [O]: c, [P]: [{ [O]: "getAttr", [P]: [{ [Q]: "ParsedArn" }, "region"] }, "{Region}"] }, { [O]: "isValidHostLabel", [P]: [{ [O]: "getAttr", [P]: [{ [Q]: "ParsedArn" }, "accountId"] }, false] }], I = [{ [O]: "isSet", [P]: [{ [Q]: "AccountIdEndpointMode" }] }, { [O]: "not", [P]: [{ [O]: c, [P]: [{ [Q]: "AccountIdEndpointMode" }, "disabled"] }] }, { [O]: c, [P]: [x, "aws"] }, { [O]: "not", [P]: [p] }, { [O]: "isSet", [P]: [{ [Q]: "AccountId" }] }], J = [{ [O]: "isValidHostLabel", [P]: [{ [Q]: "AccountId" }, false] }];
3
- const _data = { version: "1.0", parameters: { Region: h, UseDualStack: i, UseFIPS: i, Endpoint: h, AccountId: h, AccountIdEndpointMode: h, ResourceArn: h, ResourceArnList: { [K]: a, [L]: "stringArray" } }, [M]: [{ [N]: [j, l, n], [M]: [o, q, { [N]: [{ [O]: c, [P]: [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", [L]: b }, s], [L]: f }, { [N]: [j], [M]: [o, q, s], [L]: f }, { [N]: [l], [M]: [{ [N]: [n], [M]: [{ [N]: [{ [O]: c, [P]: [m, "local"] }], [M]: [{ [N]: E, error: "Invalid Configuration: FIPS and local endpoint are not supported", [L]: b }, { [N]: F, error: "Invalid Configuration: Dualstack and local endpoint are not supported", [L]: b }, { endpoint: { [S]: "http://localhost:8000", [T]: { authSchemes: [{ signingRegion: "us-east-1", signingName: g, name: "sigv4" }] }, [U]: t }, [L]: e }], [L]: f }, { [N]: [p, r], [M]: [{ [N]: [u, v], [M]: [w, { endpoint: { [S]: "https://dynamodb-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", [T]: t, [U]: t }, [L]: e }], [L]: f }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", [L]: b }], [L]: f }, { [N]: E, [M]: [{ [N]: [u], [M]: [{ [N]: [{ [O]: c, [P]: [x, "aws-us-gov"] }], [M]: [w, y], [L]: f }, w, { endpoint: { [S]: "https://dynamodb-fips.{Region}.{PartitionResult#dnsSuffix}", [T]: t, [U]: t }, [L]: e }], [L]: f }, { error: "FIPS is enabled but this partition does not support FIPS", [L]: b }], [L]: f }, { [N]: F, [M]: [{ [N]: [v], [M]: [{ [N]: G, endpoint: z, [L]: e }, { [N]: H, endpoint: z, [L]: e }, { [N]: I, [M]: [{ [N]: J, [M]: [{ endpoint: { [S]: "https://{AccountId}.ddb.{Region}.{PartitionResult#dualStackDnsSuffix}", [T]: A, [U]: t }, [L]: e }], [L]: f }, B], [L]: f }, C, { endpoint: { [S]: d, [T]: t, [U]: t }, [L]: e }], [L]: f }, { error: "DualStack is enabled but this partition does not support DualStack", [L]: b }], [L]: f }, { [N]: G, endpoint: D, [L]: e }, { [N]: H, endpoint: D, [L]: e }, { [N]: I, [M]: [{ [N]: J, [M]: [{ endpoint: { [S]: "https://{AccountId}.ddb.{Region}.{PartitionResult#dnsSuffix}", [T]: A, [U]: t }, [L]: e }], [L]: f }, B], [L]: f }, C, y], [L]: f }], [L]: f }, { error: "Invalid Configuration: Missing Region", [L]: b }] };
3
+ const _data = { version: "1.0", parameters: { Region: h, UseDualStack: i, UseFIPS: i, Endpoint: h, AccountId: h, AccountIdEndpointMode: h, ResourceArn: h, ResourceArnList: { [K]: a, [L]: "stringArray" } }, [M]: [{ [N]: [j, l, n], [M]: [o, q, { [N]: [{ [O]: c, [P]: [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", [L]: b }, s], [L]: f }, { [N]: [j], [M]: [o, q, s], [L]: f }, { [N]: [l], [M]: [{ [N]: [n], [M]: [{ [N]: [{ [O]: c, [P]: [m, "local"] }], [M]: [{ [N]: E, error: "Invalid Configuration: FIPS and local endpoint are not supported", [L]: b }, { [N]: F, error: "Invalid Configuration: Dualstack and local endpoint are not supported", [L]: b }, { endpoint: { [S]: "http://localhost:8000", [T]: { authSchemes: [{ name: "sigv4", signingName: g, signingRegion: "us-east-1" }] }, [U]: t }, [L]: e }], [L]: f }, { [N]: [p, r], [M]: [{ [N]: [u, v], [M]: [w, { endpoint: { [S]: "https://dynamodb-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", [T]: t, [U]: t }, [L]: e }], [L]: f }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", [L]: b }], [L]: f }, { [N]: E, [M]: [{ [N]: [u], [M]: [{ [N]: [{ [O]: c, [P]: [x, "aws-us-gov"] }], [M]: [w, y], [L]: f }, w, { endpoint: { [S]: "https://dynamodb-fips.{Region}.{PartitionResult#dnsSuffix}", [T]: t, [U]: t }, [L]: e }], [L]: f }, { error: "FIPS is enabled but this partition does not support FIPS", [L]: b }], [L]: f }, { [N]: F, [M]: [{ [N]: [v], [M]: [{ [N]: G, endpoint: z, [L]: e }, { [N]: H, endpoint: z, [L]: e }, { [N]: I, [M]: [{ [N]: J, [M]: [{ endpoint: { [S]: "https://{AccountId}.ddb.{Region}.{PartitionResult#dualStackDnsSuffix}", [T]: A, [U]: t }, [L]: e }], [L]: f }, B], [L]: f }, C, { endpoint: { [S]: d, [T]: t, [U]: t }, [L]: e }], [L]: f }, { error: "DualStack is enabled but this partition does not support DualStack", [L]: b }], [L]: f }, { [N]: G, endpoint: D, [L]: e }, { [N]: H, endpoint: D, [L]: e }, { [N]: I, [M]: [{ [N]: J, [M]: [{ endpoint: { [S]: "https://{AccountId}.ddb.{Region}.{PartitionResult#dnsSuffix}", [T]: A, [U]: t }, [L]: e }], [L]: f }, B], [L]: f }, C, y], [L]: f }], [L]: f }, { error: "Invalid Configuration: Missing Region", [L]: b }] };
4
4
  export const ruleSet = _data;
@@ -434,6 +434,7 @@ const _RASD = "ReplicaAutoScalingDescription";
434
434
  const _RASDL = "ReplicaAutoScalingDescriptionList";
435
435
  const _RASU = "ReplicaAutoScalingUpdate";
436
436
  const _RASUL = "ReplicaAutoScalingUpdateList";
437
+ const _RAe = "ReplicaArn";
437
438
  const _RBMS = "ReplicaBillingModeSummary";
438
439
  const _RCC = "ReturnConsumedCapacity";
439
440
  const _RCU = "ReadCapacityUnits";
@@ -1667,8 +1668,8 @@ export var ReplicaAutoScalingUpdate$ = [3, n0, _RASU,
1667
1668
  ];
1668
1669
  export var ReplicaDescription$ = [3, n0, _RD,
1669
1670
  0,
1670
- [_RN, _RSe, _RSD, _RSPP, _KMSMKI, _PTO, _ODTO, _WT, _GSI, _RIDT, _RTCS, _GTSRM],
1671
- [0, 0, 0, 0, 0, () => ProvisionedThroughputOverride$, () => OnDemandThroughputOverride$, () => TableWarmThroughputDescription$, () => ReplicaGlobalSecondaryIndexDescriptionList, 4, () => TableClassSummary$, 0]
1671
+ [_RN, _RSe, _RAe, _RSD, _RSPP, _KMSMKI, _PTO, _ODTO, _WT, _GSI, _RIDT, _RTCS, _GTSRM],
1672
+ [0, 0, 0, 0, 0, 0, () => ProvisionedThroughputOverride$, () => OnDemandThroughputOverride$, () => TableWarmThroughputDescription$, () => ReplicaGlobalSecondaryIndexDescriptionList, 4, () => TableClassSummary$, 0]
1672
1673
  ];
1673
1674
  export var ReplicaGlobalSecondaryIndex$ = [3, n0, _RGSI,
1674
1675
  0,
@@ -106,6 +106,7 @@ declare const CreateGlobalTableCommand_base: {
106
106
  * // { // ReplicaDescription
107
107
  * // RegionName: "STRING_VALUE",
108
108
  * // ReplicaStatus: "CREATING" || "CREATION_FAILED" || "UPDATING" || "DELETING" || "ACTIVE" || "REGION_DISABLED" || "INACCESSIBLE_ENCRYPTION_CREDENTIALS" || "ARCHIVING" || "ARCHIVED" || "REPLICATION_NOT_AUTHORIZED",
109
+ * // ReplicaArn: "STRING_VALUE",
109
110
  * // ReplicaStatusDescription: "STRING_VALUE",
110
111
  * // ReplicaStatusPercentProgress: "STRING_VALUE",
111
112
  * // KMSMasterKeyId: "STRING_VALUE",
@@ -245,6 +245,7 @@ declare const CreateTableCommand_base: {
245
245
  * // { // ReplicaDescription
246
246
  * // RegionName: "STRING_VALUE",
247
247
  * // ReplicaStatus: "CREATING" || "CREATION_FAILED" || "UPDATING" || "DELETING" || "ACTIVE" || "REGION_DISABLED" || "INACCESSIBLE_ENCRYPTION_CREDENTIALS" || "ARCHIVING" || "ARCHIVED" || "REPLICATION_NOT_AUTHORIZED",
248
+ * // ReplicaArn: "STRING_VALUE",
248
249
  * // ReplicaStatusDescription: "STRING_VALUE",
249
250
  * // ReplicaStatusPercentProgress: "STRING_VALUE",
250
251
  * // KMSMasterKeyId: "STRING_VALUE",
@@ -160,6 +160,7 @@ declare const DeleteTableCommand_base: {
160
160
  * // { // ReplicaDescription
161
161
  * // RegionName: "STRING_VALUE",
162
162
  * // ReplicaStatus: "CREATING" || "CREATION_FAILED" || "UPDATING" || "DELETING" || "ACTIVE" || "REGION_DISABLED" || "INACCESSIBLE_ENCRYPTION_CREDENTIALS" || "ARCHIVING" || "ARCHIVED" || "REPLICATION_NOT_AUTHORIZED",
163
+ * // ReplicaArn: "STRING_VALUE",
163
164
  * // ReplicaStatusDescription: "STRING_VALUE",
164
165
  * // ReplicaStatusPercentProgress: "STRING_VALUE",
165
166
  * // KMSMasterKeyId: "STRING_VALUE",
@@ -51,6 +51,7 @@ declare const DescribeGlobalTableCommand_base: {
51
51
  * // { // ReplicaDescription
52
52
  * // RegionName: "STRING_VALUE",
53
53
  * // ReplicaStatus: "CREATING" || "CREATION_FAILED" || "UPDATING" || "DELETING" || "ACTIVE" || "REGION_DISABLED" || "INACCESSIBLE_ENCRYPTION_CREDENTIALS" || "ARCHIVING" || "ARCHIVED" || "REPLICATION_NOT_AUTHORIZED",
54
+ * // ReplicaArn: "STRING_VALUE",
54
55
  * // ReplicaStatusDescription: "STRING_VALUE",
55
56
  * // ReplicaStatusPercentProgress: "STRING_VALUE",
56
57
  * // KMSMasterKeyId: "STRING_VALUE",
@@ -151,6 +151,7 @@ declare const DescribeTableCommand_base: {
151
151
  * // { // ReplicaDescription
152
152
  * // RegionName: "STRING_VALUE",
153
153
  * // ReplicaStatus: "CREATING" || "CREATION_FAILED" || "UPDATING" || "DELETING" || "ACTIVE" || "REGION_DISABLED" || "INACCESSIBLE_ENCRYPTION_CREDENTIALS" || "ARCHIVING" || "ARCHIVED" || "REPLICATION_NOT_AUTHORIZED",
154
+ * // ReplicaArn: "STRING_VALUE",
154
155
  * // ReplicaStatusDescription: "STRING_VALUE",
155
156
  * // ReplicaStatusPercentProgress: "STRING_VALUE",
156
157
  * // KMSMasterKeyId: "STRING_VALUE",
@@ -227,6 +227,7 @@ declare const RestoreTableFromBackupCommand_base: {
227
227
  * // { // ReplicaDescription
228
228
  * // RegionName: "STRING_VALUE",
229
229
  * // ReplicaStatus: "CREATING" || "CREATION_FAILED" || "UPDATING" || "DELETING" || "ACTIVE" || "REGION_DISABLED" || "INACCESSIBLE_ENCRYPTION_CREDENTIALS" || "ARCHIVING" || "ARCHIVED" || "REPLICATION_NOT_AUTHORIZED",
230
+ * // ReplicaArn: "STRING_VALUE",
230
231
  * // ReplicaStatusDescription: "STRING_VALUE",
231
232
  * // ReplicaStatusPercentProgress: "STRING_VALUE",
232
233
  * // KMSMasterKeyId: "STRING_VALUE",
@@ -256,6 +256,7 @@ declare const RestoreTableToPointInTimeCommand_base: {
256
256
  * // { // ReplicaDescription
257
257
  * // RegionName: "STRING_VALUE",
258
258
  * // ReplicaStatus: "CREATING" || "CREATION_FAILED" || "UPDATING" || "DELETING" || "ACTIVE" || "REGION_DISABLED" || "INACCESSIBLE_ENCRYPTION_CREDENTIALS" || "ARCHIVING" || "ARCHIVED" || "REPLICATION_NOT_AUTHORIZED",
259
+ * // ReplicaArn: "STRING_VALUE",
259
260
  * // ReplicaStatusDescription: "STRING_VALUE",
260
261
  * // ReplicaStatusPercentProgress: "STRING_VALUE",
261
262
  * // KMSMasterKeyId: "STRING_VALUE",
@@ -86,6 +86,7 @@ declare const UpdateGlobalTableCommand_base: {
86
86
  * // { // ReplicaDescription
87
87
  * // RegionName: "STRING_VALUE",
88
88
  * // ReplicaStatus: "CREATING" || "CREATION_FAILED" || "UPDATING" || "DELETING" || "ACTIVE" || "REGION_DISABLED" || "INACCESSIBLE_ENCRYPTION_CREDENTIALS" || "ARCHIVING" || "ARCHIVED" || "REPLICATION_NOT_AUTHORIZED",
89
+ * // ReplicaArn: "STRING_VALUE",
89
90
  * // ReplicaStatusDescription: "STRING_VALUE",
90
91
  * // ReplicaStatusPercentProgress: "STRING_VALUE",
91
92
  * // KMSMasterKeyId: "STRING_VALUE",
@@ -305,6 +305,7 @@ declare const UpdateTableCommand_base: {
305
305
  * // { // ReplicaDescription
306
306
  * // RegionName: "STRING_VALUE",
307
307
  * // ReplicaStatus: "CREATING" || "CREATION_FAILED" || "UPDATING" || "DELETING" || "ACTIVE" || "REGION_DISABLED" || "INACCESSIBLE_ENCRYPTION_CREDENTIALS" || "ARCHIVING" || "ARCHIVED" || "REPLICATION_NOT_AUTHORIZED",
308
+ * // ReplicaArn: "STRING_VALUE",
308
309
  * // ReplicaStatusDescription: "STRING_VALUE",
309
310
  * // ReplicaStatusPercentProgress: "STRING_VALUE",
310
311
  * // KMSMasterKeyId: "STRING_VALUE",
@@ -1421,6 +1421,11 @@ export interface ReplicaDescription {
1421
1421
  * @public
1422
1422
  */
1423
1423
  ReplicaStatus?: ReplicaStatus | undefined;
1424
+ /**
1425
+ * <p>The Amazon Resource Name (ARN) of the global table replica.</p>
1426
+ * @public
1427
+ */
1428
+ ReplicaArn?: string | undefined;
1424
1429
  /**
1425
1430
  * <p>Detailed information about the replica status.</p>
1426
1431
  * @public
@@ -270,6 +270,7 @@ export interface TableWarmThroughputDescription {
270
270
  export interface ReplicaDescription {
271
271
  RegionName?: string | undefined;
272
272
  ReplicaStatus?: ReplicaStatus | undefined;
273
+ ReplicaArn?: string | undefined;
273
274
  ReplicaStatusDescription?: string | undefined;
274
275
  ReplicaStatusPercentProgress?: string | undefined;
275
276
  KMSMasterKeyId?: string | undefined;
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.1013.0",
4
+ "version": "3.1014.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-dynamodb",
@@ -27,40 +27,40 @@
27
27
  "dependencies": {
28
28
  "@aws-crypto/sha256-browser": "5.2.0",
29
29
  "@aws-crypto/sha256-js": "5.2.0",
30
- "@aws-sdk/core": "^3.973.22",
31
- "@aws-sdk/credential-provider-node": "^3.972.23",
32
- "@aws-sdk/dynamodb-codec": "^3.972.23",
30
+ "@aws-sdk/core": "^3.973.23",
31
+ "@aws-sdk/credential-provider-node": "^3.972.24",
32
+ "@aws-sdk/dynamodb-codec": "^3.972.24",
33
33
  "@aws-sdk/middleware-endpoint-discovery": "^3.972.8",
34
34
  "@aws-sdk/middleware-host-header": "^3.972.8",
35
35
  "@aws-sdk/middleware-logger": "^3.972.8",
36
36
  "@aws-sdk/middleware-recursion-detection": "^3.972.8",
37
- "@aws-sdk/middleware-user-agent": "^3.972.23",
38
- "@aws-sdk/region-config-resolver": "^3.972.8",
37
+ "@aws-sdk/middleware-user-agent": "^3.972.24",
38
+ "@aws-sdk/region-config-resolver": "^3.972.9",
39
39
  "@aws-sdk/types": "^3.973.6",
40
40
  "@aws-sdk/util-endpoints": "^3.996.5",
41
41
  "@aws-sdk/util-user-agent-browser": "^3.972.8",
42
- "@aws-sdk/util-user-agent-node": "^3.973.9",
43
- "@smithy/config-resolver": "^4.4.11",
42
+ "@aws-sdk/util-user-agent-node": "^3.973.10",
43
+ "@smithy/config-resolver": "^4.4.13",
44
44
  "@smithy/core": "^3.23.12",
45
45
  "@smithy/fetch-http-handler": "^5.3.15",
46
46
  "@smithy/hash-node": "^4.2.12",
47
47
  "@smithy/invalid-dependency": "^4.2.12",
48
48
  "@smithy/middleware-content-length": "^4.2.12",
49
- "@smithy/middleware-endpoint": "^4.4.26",
50
- "@smithy/middleware-retry": "^4.4.43",
49
+ "@smithy/middleware-endpoint": "^4.4.27",
50
+ "@smithy/middleware-retry": "^4.4.44",
51
51
  "@smithy/middleware-serde": "^4.2.15",
52
52
  "@smithy/middleware-stack": "^4.2.12",
53
53
  "@smithy/node-config-provider": "^4.3.12",
54
54
  "@smithy/node-http-handler": "^4.5.0",
55
55
  "@smithy/protocol-http": "^5.3.12",
56
- "@smithy/smithy-client": "^4.12.6",
56
+ "@smithy/smithy-client": "^4.12.7",
57
57
  "@smithy/types": "^4.13.1",
58
58
  "@smithy/url-parser": "^4.2.12",
59
59
  "@smithy/util-base64": "^4.3.2",
60
60
  "@smithy/util-body-length-browser": "^4.2.2",
61
61
  "@smithy/util-body-length-node": "^4.2.3",
62
- "@smithy/util-defaults-mode-browser": "^4.3.42",
63
- "@smithy/util-defaults-mode-node": "^4.2.45",
62
+ "@smithy/util-defaults-mode-browser": "^4.3.43",
63
+ "@smithy/util-defaults-mode-node": "^4.2.47",
64
64
  "@smithy/util-endpoints": "^3.3.3",
65
65
  "@smithy/util-middleware": "^4.2.12",
66
66
  "@smithy/util-retry": "^4.2.12",