@aws-sdk/client-dynamodb 3.282.0 → 3.284.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.
Files changed (49) hide show
  1. package/README.md +0 -2
  2. package/dist-cjs/endpoint/ruleset.js +3 -3
  3. package/dist-es/endpoint/ruleset.js +3 -3
  4. package/dist-types/DynamoDB.d.ts +314 -250
  5. package/dist-types/DynamoDBClient.d.ts +3 -6
  6. package/dist-types/commands/BatchExecuteStatementCommand.d.ts +4 -4
  7. package/dist-types/commands/BatchGetItemCommand.d.ts +11 -11
  8. package/dist-types/commands/BatchWriteItemCommand.d.ts +19 -20
  9. package/dist-types/commands/CreateBackupCommand.d.ts +11 -11
  10. package/dist-types/commands/CreateGlobalTableCommand.d.ts +27 -21
  11. package/dist-types/commands/CreateTableCommand.d.ts +3 -3
  12. package/dist-types/commands/DeleteBackupCommand.d.ts +1 -1
  13. package/dist-types/commands/DeleteItemCommand.d.ts +3 -3
  14. package/dist-types/commands/DeleteTableCommand.d.ts +10 -6
  15. package/dist-types/commands/DescribeBackupCommand.d.ts +1 -1
  16. package/dist-types/commands/DescribeContinuousBackupsCommand.d.ts +3 -3
  17. package/dist-types/commands/DescribeContributorInsightsCommand.d.ts +1 -1
  18. package/dist-types/commands/DescribeEndpointsCommand.d.ts +3 -1
  19. package/dist-types/commands/DescribeGlobalTableCommand.d.ts +11 -4
  20. package/dist-types/commands/DescribeGlobalTableSettingsCommand.d.ts +11 -3
  21. package/dist-types/commands/DescribeLimitsCommand.d.ts +23 -27
  22. package/dist-types/commands/DescribeTableCommand.d.ts +7 -2
  23. package/dist-types/commands/DescribeTableReplicaAutoScalingCommand.d.ts +4 -4
  24. package/dist-types/commands/ExecuteStatementCommand.d.ts +4 -3
  25. package/dist-types/commands/ExecuteTransactionCommand.d.ts +2 -2
  26. package/dist-types/commands/GetItemCommand.d.ts +1 -1
  27. package/dist-types/commands/ListBackupsCommand.d.ts +2 -2
  28. package/dist-types/commands/ListGlobalTablesCommand.d.ts +11 -3
  29. package/dist-types/commands/ListTagsOfResourceCommand.d.ts +1 -1
  30. package/dist-types/commands/PutItemCommand.d.ts +6 -7
  31. package/dist-types/commands/QueryCommand.d.ts +10 -11
  32. package/dist-types/commands/RestoreTableFromBackupCommand.d.ts +9 -9
  33. package/dist-types/commands/RestoreTableToPointInTimeCommand.d.ts +19 -20
  34. package/dist-types/commands/ScanCommand.d.ts +4 -4
  35. package/dist-types/commands/TagResourceCommand.d.ts +1 -1
  36. package/dist-types/commands/TransactGetItemsCommand.d.ts +6 -6
  37. package/dist-types/commands/TransactWriteItemsCommand.d.ts +14 -17
  38. package/dist-types/commands/UntagResourceCommand.d.ts +1 -1
  39. package/dist-types/commands/UpdateContinuousBackupsCommand.d.ts +2 -2
  40. package/dist-types/commands/UpdateGlobalTableCommand.d.ts +28 -9
  41. package/dist-types/commands/UpdateGlobalTableSettingsCommand.d.ts +12 -0
  42. package/dist-types/commands/UpdateItemCommand.d.ts +1 -1
  43. package/dist-types/commands/UpdateTableCommand.d.ts +11 -6
  44. package/dist-types/commands/UpdateTableReplicaAutoScalingCommand.d.ts +5 -4
  45. package/dist-types/commands/UpdateTimeToLiveCommand.d.ts +8 -8
  46. package/dist-types/endpoint/EndpointParameters.d.ts +1 -1
  47. package/dist-types/models/models_0.d.ts +1584 -1541
  48. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +1 -1
  49. package/package.json +1 -1
package/README.md CHANGED
@@ -16,13 +16,11 @@ and predictable performance with seamless scalability. DynamoDB lets you
16
16
  offload the administrative burdens of operating and scaling a distributed database, so
17
17
  that you don't have to worry about hardware provisioning, setup and configuration,
18
18
  replication, software patching, or cluster scaling.</p>
19
-
20
19
  <p>With DynamoDB, you can create database tables that can store and retrieve
21
20
  any amount of data, and serve any level of request traffic. You can scale up or scale
22
21
  down your tables' throughput capacity without downtime or performance degradation, and
23
22
  use the Amazon Web Services Management Console to monitor resource utilization and performance
24
23
  metrics.</p>
25
-
26
24
  <p>DynamoDB automatically spreads the data and traffic for your tables over
27
25
  a sufficient number of servers to handle your throughput and storage requirements, while
28
26
  maintaining consistent and fast performance. All of your data is stored on solid state
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.ruleSet = void 0;
4
- const v = "fn", w = "argv", x = "ref";
5
- const a = true, b = false, c = "String", d = "PartitionResult", e = "tree", f = "error", g = "endpoint", h = "getAttr", i = "stringEquals", j = { "required": true, "default": false, "type": "Boolean" }, k = { [x]: "Region" }, l = { [x]: "Endpoint" }, m = { [v]: "booleanEquals", [w]: [{ [x]: "UseFIPS" }, true] }, n = { [v]: "booleanEquals", [w]: [{ [x]: "UseDualStack" }, true] }, o = {}, p = { [v]: "booleanEquals", [w]: [true, { [v]: h, [w]: [{ [x]: d }, "supportsFIPS"] }] }, q = { [x]: d }, r = { [v]: "booleanEquals", [w]: [true, { [v]: h, [w]: [q, "supportsDualStack"] }] }, s = { "url": "https://dynamodb.{Region}.{PartitionResult#dnsSuffix}", "properties": {}, "headers": {} }, t = [m], u = [n];
6
- const _data = { version: "1.0", parameters: { Region: { required: a, type: c }, UseDualStack: j, UseFIPS: j, Endpoint: { required: b, type: c } }, rules: [{ conditions: [{ [v]: "aws.partition", [w]: [k], assign: d }], type: e, rules: [{ conditions: [{ [v]: "isSet", [w]: [l] }], type: e, rules: [{ conditions: t, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: f }, { type: e, rules: [{ conditions: u, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: f }, { endpoint: { url: l, properties: o, headers: o }, type: g }] }] }, { conditions: [m, n], type: e, rules: [{ conditions: [p, r], type: e, rules: [{ endpoint: { url: "https://dynamodb-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: o, headers: o }, type: g }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: f }] }, { conditions: t, type: e, rules: [{ conditions: [p], type: e, rules: [{ type: e, rules: [{ conditions: [{ [v]: i, [w]: ["aws-us-gov", { [v]: h, [w]: [q, "name"] }] }], endpoint: s, type: g }, { endpoint: { url: "https://dynamodb-fips.{Region}.{PartitionResult#dnsSuffix}", properties: o, headers: o }, type: g }] }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: f }] }, { conditions: u, type: e, rules: [{ conditions: [r], type: e, rules: [{ endpoint: { url: "https://dynamodb.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: o, headers: o }, type: g }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: f }] }, { type: e, rules: [{ conditions: [{ [v]: i, [w]: [k, "local"] }], endpoint: { url: "http://localhost:8000", properties: { authSchemes: [{ name: "sigv4", signingRegion: "us-east-1", signingName: "dynamodb" }] }, headers: o }, type: g }, { endpoint: s, type: g }] }] }] };
4
+ const u = "required", v = "fn", w = "argv", x = "ref";
5
+ const a = "isSet", b = "tree", c = "error", d = "endpoint", e = "PartitionResult", f = "getAttr", g = "stringEquals", h = { [u]: false, "type": "String" }, i = { [u]: true, "default": false, "type": "Boolean" }, j = { [x]: "Endpoint" }, k = { [v]: "booleanEquals", [w]: [{ [x]: "UseFIPS" }, true] }, l = { [v]: "booleanEquals", [w]: [{ [x]: "UseDualStack" }, true] }, m = {}, n = { [x]: "Region" }, o = { [v]: "booleanEquals", [w]: [true, { [v]: f, [w]: [{ [x]: e }, "supportsFIPS"] }] }, p = { [x]: e }, q = { [v]: "booleanEquals", [w]: [true, { [v]: f, [w]: [p, "supportsDualStack"] }] }, r = [k], s = [l], t = [n];
6
+ const _data = { version: "1.0", parameters: { Region: h, UseDualStack: i, UseFIPS: i, Endpoint: h }, rules: [{ conditions: [{ [v]: a, [w]: [j] }], type: b, rules: [{ conditions: r, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: c }, { type: b, rules: [{ conditions: s, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: c }, { endpoint: { url: j, properties: m, headers: m }, type: d }] }] }, { type: b, rules: [{ conditions: [{ [v]: a, [w]: t }], type: b, rules: [{ conditions: [{ [v]: "aws.partition", [w]: t, assign: e }], type: b, rules: [{ conditions: [k, l], type: b, rules: [{ conditions: [o, q], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://dynamodb-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: m, headers: m }, type: d }] }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: c }] }, { conditions: r, type: b, rules: [{ conditions: [o], type: b, rules: [{ type: b, rules: [{ conditions: [{ [v]: g, [w]: ["aws-us-gov", { [v]: f, [w]: [p, "name"] }] }], endpoint: { url: "https://dynamodb.{Region}.amazonaws.com", properties: m, headers: m }, type: d }, { endpoint: { url: "https://dynamodb-fips.{Region}.{PartitionResult#dnsSuffix}", properties: m, headers: m }, type: d }] }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: c }] }, { conditions: s, type: b, rules: [{ conditions: [q], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://dynamodb.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: m, headers: m }, type: d }] }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: c }] }, { type: b, rules: [{ conditions: [{ [v]: g, [w]: [n, "local"] }], endpoint: { url: "http://localhost:8000", properties: { authSchemes: [{ name: "sigv4", signingName: "dynamodb", signingRegion: "us-east-1" }] }, headers: m }, type: d }, { endpoint: { url: "https://dynamodb.{Region}.{PartitionResult#dnsSuffix}", properties: m, headers: m }, type: d }] }] }] }, { error: "Invalid Configuration: Missing Region", type: c }] }] };
7
7
  exports.ruleSet = _data;
@@ -1,4 +1,4 @@
1
- const v = "fn", w = "argv", x = "ref";
2
- const a = true, b = false, c = "String", d = "PartitionResult", e = "tree", f = "error", g = "endpoint", h = "getAttr", i = "stringEquals", j = { "required": true, "default": false, "type": "Boolean" }, k = { [x]: "Region" }, l = { [x]: "Endpoint" }, m = { [v]: "booleanEquals", [w]: [{ [x]: "UseFIPS" }, true] }, n = { [v]: "booleanEquals", [w]: [{ [x]: "UseDualStack" }, true] }, o = {}, p = { [v]: "booleanEquals", [w]: [true, { [v]: h, [w]: [{ [x]: d }, "supportsFIPS"] }] }, q = { [x]: d }, r = { [v]: "booleanEquals", [w]: [true, { [v]: h, [w]: [q, "supportsDualStack"] }] }, s = { "url": "https://dynamodb.{Region}.{PartitionResult#dnsSuffix}", "properties": {}, "headers": {} }, t = [m], u = [n];
3
- const _data = { version: "1.0", parameters: { Region: { required: a, type: c }, UseDualStack: j, UseFIPS: j, Endpoint: { required: b, type: c } }, rules: [{ conditions: [{ [v]: "aws.partition", [w]: [k], assign: d }], type: e, rules: [{ conditions: [{ [v]: "isSet", [w]: [l] }], type: e, rules: [{ conditions: t, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: f }, { type: e, rules: [{ conditions: u, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: f }, { endpoint: { url: l, properties: o, headers: o }, type: g }] }] }, { conditions: [m, n], type: e, rules: [{ conditions: [p, r], type: e, rules: [{ endpoint: { url: "https://dynamodb-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: o, headers: o }, type: g }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: f }] }, { conditions: t, type: e, rules: [{ conditions: [p], type: e, rules: [{ type: e, rules: [{ conditions: [{ [v]: i, [w]: ["aws-us-gov", { [v]: h, [w]: [q, "name"] }] }], endpoint: s, type: g }, { endpoint: { url: "https://dynamodb-fips.{Region}.{PartitionResult#dnsSuffix}", properties: o, headers: o }, type: g }] }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: f }] }, { conditions: u, type: e, rules: [{ conditions: [r], type: e, rules: [{ endpoint: { url: "https://dynamodb.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: o, headers: o }, type: g }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: f }] }, { type: e, rules: [{ conditions: [{ [v]: i, [w]: [k, "local"] }], endpoint: { url: "http://localhost:8000", properties: { authSchemes: [{ name: "sigv4", signingRegion: "us-east-1", signingName: "dynamodb" }] }, headers: o }, type: g }, { endpoint: s, type: g }] }] }] };
1
+ const u = "required", v = "fn", w = "argv", x = "ref";
2
+ const a = "isSet", b = "tree", c = "error", d = "endpoint", e = "PartitionResult", f = "getAttr", g = "stringEquals", h = { [u]: false, "type": "String" }, i = { [u]: true, "default": false, "type": "Boolean" }, j = { [x]: "Endpoint" }, k = { [v]: "booleanEquals", [w]: [{ [x]: "UseFIPS" }, true] }, l = { [v]: "booleanEquals", [w]: [{ [x]: "UseDualStack" }, true] }, m = {}, n = { [x]: "Region" }, o = { [v]: "booleanEquals", [w]: [true, { [v]: f, [w]: [{ [x]: e }, "supportsFIPS"] }] }, p = { [x]: e }, q = { [v]: "booleanEquals", [w]: [true, { [v]: f, [w]: [p, "supportsDualStack"] }] }, r = [k], s = [l], t = [n];
3
+ const _data = { version: "1.0", parameters: { Region: h, UseDualStack: i, UseFIPS: i, Endpoint: h }, rules: [{ conditions: [{ [v]: a, [w]: [j] }], type: b, rules: [{ conditions: r, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: c }, { type: b, rules: [{ conditions: s, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: c }, { endpoint: { url: j, properties: m, headers: m }, type: d }] }] }, { type: b, rules: [{ conditions: [{ [v]: a, [w]: t }], type: b, rules: [{ conditions: [{ [v]: "aws.partition", [w]: t, assign: e }], type: b, rules: [{ conditions: [k, l], type: b, rules: [{ conditions: [o, q], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://dynamodb-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: m, headers: m }, type: d }] }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: c }] }, { conditions: r, type: b, rules: [{ conditions: [o], type: b, rules: [{ type: b, rules: [{ conditions: [{ [v]: g, [w]: ["aws-us-gov", { [v]: f, [w]: [p, "name"] }] }], endpoint: { url: "https://dynamodb.{Region}.amazonaws.com", properties: m, headers: m }, type: d }, { endpoint: { url: "https://dynamodb-fips.{Region}.{PartitionResult#dnsSuffix}", properties: m, headers: m }, type: d }] }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: c }] }, { conditions: s, type: b, rules: [{ conditions: [q], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://dynamodb.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: m, headers: m }, type: d }] }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: c }] }, { type: b, rules: [{ conditions: [{ [v]: g, [w]: [n, "local"] }], endpoint: { url: "http://localhost:8000", properties: { authSchemes: [{ name: "sigv4", signingName: "dynamodb", signingRegion: "us-east-1" }] }, headers: m }, type: d }, { endpoint: { url: "https://dynamodb.{Region}.{PartitionResult#dnsSuffix}", properties: m, headers: m }, type: d }] }] }] }, { error: "Invalid Configuration: Missing Region", type: c }] }] };
4
4
  export const ruleSet = _data;