@aws-sdk/client-dynamodb 3.282.0 → 3.287.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 (66) hide show
  1. package/README.md +0 -2
  2. package/dist-cjs/endpoint/ruleset.js +3 -3
  3. package/dist-cjs/pagination/ListContributorInsightsPaginator.js +1 -8
  4. package/dist-cjs/pagination/ListExportsPaginator.js +1 -8
  5. package/dist-cjs/pagination/ListImportsPaginator.js +1 -8
  6. package/dist-cjs/pagination/ListTablesPaginator.js +1 -8
  7. package/dist-cjs/pagination/QueryPaginator.js +1 -8
  8. package/dist-cjs/pagination/ScanPaginator.js +1 -8
  9. package/dist-cjs/protocols/Aws_json1_0.js +3 -0
  10. package/dist-es/endpoint/ruleset.js +3 -3
  11. package/dist-es/pagination/ListContributorInsightsPaginator.js +1 -8
  12. package/dist-es/pagination/ListExportsPaginator.js +1 -8
  13. package/dist-es/pagination/ListImportsPaginator.js +1 -8
  14. package/dist-es/pagination/ListTablesPaginator.js +1 -8
  15. package/dist-es/pagination/QueryPaginator.js +1 -8
  16. package/dist-es/pagination/ScanPaginator.js +1 -8
  17. package/dist-es/protocols/Aws_json1_0.js +3 -0
  18. package/dist-types/DynamoDB.d.ts +314 -250
  19. package/dist-types/DynamoDBClient.d.ts +3 -6
  20. package/dist-types/commands/BatchExecuteStatementCommand.d.ts +4 -4
  21. package/dist-types/commands/BatchGetItemCommand.d.ts +11 -11
  22. package/dist-types/commands/BatchWriteItemCommand.d.ts +19 -20
  23. package/dist-types/commands/CreateBackupCommand.d.ts +11 -11
  24. package/dist-types/commands/CreateGlobalTableCommand.d.ts +27 -21
  25. package/dist-types/commands/CreateTableCommand.d.ts +3 -3
  26. package/dist-types/commands/DeleteBackupCommand.d.ts +1 -1
  27. package/dist-types/commands/DeleteItemCommand.d.ts +3 -3
  28. package/dist-types/commands/DeleteTableCommand.d.ts +10 -6
  29. package/dist-types/commands/DescribeBackupCommand.d.ts +1 -1
  30. package/dist-types/commands/DescribeContinuousBackupsCommand.d.ts +3 -3
  31. package/dist-types/commands/DescribeContributorInsightsCommand.d.ts +1 -1
  32. package/dist-types/commands/DescribeEndpointsCommand.d.ts +3 -1
  33. package/dist-types/commands/DescribeGlobalTableCommand.d.ts +11 -4
  34. package/dist-types/commands/DescribeGlobalTableSettingsCommand.d.ts +11 -3
  35. package/dist-types/commands/DescribeLimitsCommand.d.ts +23 -27
  36. package/dist-types/commands/DescribeTableCommand.d.ts +7 -2
  37. package/dist-types/commands/DescribeTableReplicaAutoScalingCommand.d.ts +4 -4
  38. package/dist-types/commands/ExecuteStatementCommand.d.ts +4 -3
  39. package/dist-types/commands/ExecuteTransactionCommand.d.ts +2 -2
  40. package/dist-types/commands/GetItemCommand.d.ts +1 -1
  41. package/dist-types/commands/ListBackupsCommand.d.ts +2 -2
  42. package/dist-types/commands/ListGlobalTablesCommand.d.ts +11 -3
  43. package/dist-types/commands/ListTagsOfResourceCommand.d.ts +1 -1
  44. package/dist-types/commands/PutItemCommand.d.ts +6 -7
  45. package/dist-types/commands/QueryCommand.d.ts +10 -11
  46. package/dist-types/commands/RestoreTableFromBackupCommand.d.ts +9 -9
  47. package/dist-types/commands/RestoreTableToPointInTimeCommand.d.ts +19 -20
  48. package/dist-types/commands/ScanCommand.d.ts +4 -4
  49. package/dist-types/commands/TagResourceCommand.d.ts +1 -1
  50. package/dist-types/commands/TransactGetItemsCommand.d.ts +6 -6
  51. package/dist-types/commands/TransactWriteItemsCommand.d.ts +14 -17
  52. package/dist-types/commands/UntagResourceCommand.d.ts +1 -1
  53. package/dist-types/commands/UpdateContinuousBackupsCommand.d.ts +2 -2
  54. package/dist-types/commands/UpdateGlobalTableCommand.d.ts +28 -9
  55. package/dist-types/commands/UpdateGlobalTableSettingsCommand.d.ts +12 -0
  56. package/dist-types/commands/UpdateItemCommand.d.ts +1 -1
  57. package/dist-types/commands/UpdateTableCommand.d.ts +11 -6
  58. package/dist-types/commands/UpdateTableReplicaAutoScalingCommand.d.ts +5 -4
  59. package/dist-types/commands/UpdateTimeToLiveCommand.d.ts +8 -8
  60. package/dist-types/endpoint/EndpointParameters.d.ts +1 -1
  61. package/dist-types/models/models_0.d.ts +1596 -1541
  62. package/dist-types/pagination/Interfaces.d.ts +1 -2
  63. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +1 -1
  64. package/dist-types/ts3.4/models/models_0.d.ts +3 -0
  65. package/dist-types/ts3.4/pagination/Interfaces.d.ts +1 -2
  66. package/package.json +10 -10
@@ -1,6 +1,5 @@
1
1
  import { PaginationConfiguration } from "@aws-sdk/types";
2
- import { DynamoDB } from "../DynamoDB";
3
2
  import { DynamoDBClient } from "../DynamoDBClient";
4
3
  export interface DynamoDBPaginationConfiguration extends PaginationConfiguration {
5
- client: DynamoDB | DynamoDBClient;
4
+ client: DynamoDBClient;
6
5
  }
@@ -27,7 +27,7 @@ export declare const resolveClientEndpointParameters: <T>(
27
27
  defaultSigningName: string;
28
28
  };
29
29
  export interface EndpointParameters extends __EndpointParameters {
30
- Region: string;
30
+ Region?: string;
31
31
  UseDualStack?: boolean;
32
32
  UseFIPS?: boolean;
33
33
  Endpoint?: string;
@@ -519,6 +519,7 @@ export interface CreateTableInput {
519
519
  SSESpecification?: SSESpecification;
520
520
  Tags?: Tag[];
521
521
  TableClass?: TableClass | string;
522
+ DeletionProtectionEnabled?: boolean;
522
523
  }
523
524
  export declare enum IndexStatus {
524
525
  ACTIVE = "ACTIVE",
@@ -590,6 +591,7 @@ export interface TableDescription {
590
591
  SSEDescription?: SSEDescription;
591
592
  ArchivalSummary?: ArchivalSummary;
592
593
  TableClassSummary?: TableClassSummary;
594
+ DeletionProtectionEnabled?: boolean;
593
595
  }
594
596
  export interface CreateTableOutput {
595
597
  TableDescription?: TableDescription;
@@ -1234,6 +1236,7 @@ export interface UpdateTableInput {
1234
1236
  SSESpecification?: SSESpecification;
1235
1237
  ReplicaUpdates?: ReplicationGroupUpdate[];
1236
1238
  TableClass?: TableClass | string;
1239
+ DeletionProtectionEnabled?: boolean;
1237
1240
  }
1238
1241
  export interface UpdateTableOutput {
1239
1242
  TableDescription?: TableDescription;
@@ -1,7 +1,6 @@
1
1
  import { PaginationConfiguration } from "@aws-sdk/types";
2
- import { DynamoDB } from "../DynamoDB";
3
2
  import { DynamoDBClient } from "../DynamoDBClient";
4
3
  export interface DynamoDBPaginationConfiguration
5
4
  extends PaginationConfiguration {
6
- client: DynamoDB | DynamoDBClient;
5
+ client: DynamoDBClient;
7
6
  }
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.282.0",
4
+ "version": "3.287.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",
@@ -20,24 +20,24 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "3.0.0",
22
22
  "@aws-crypto/sha256-js": "3.0.0",
23
- "@aws-sdk/client-sts": "3.282.0",
24
- "@aws-sdk/config-resolver": "3.282.0",
25
- "@aws-sdk/credential-provider-node": "3.282.0",
23
+ "@aws-sdk/client-sts": "3.287.0",
24
+ "@aws-sdk/config-resolver": "3.287.0",
25
+ "@aws-sdk/credential-provider-node": "3.287.0",
26
26
  "@aws-sdk/fetch-http-handler": "3.282.0",
27
27
  "@aws-sdk/hash-node": "3.272.0",
28
28
  "@aws-sdk/invalid-dependency": "3.272.0",
29
29
  "@aws-sdk/middleware-content-length": "3.282.0",
30
30
  "@aws-sdk/middleware-endpoint": "3.282.0",
31
- "@aws-sdk/middleware-endpoint-discovery": "3.282.0",
31
+ "@aws-sdk/middleware-endpoint-discovery": "3.287.0",
32
32
  "@aws-sdk/middleware-host-header": "3.282.0",
33
- "@aws-sdk/middleware-logger": "3.272.0",
33
+ "@aws-sdk/middleware-logger": "3.287.0",
34
34
  "@aws-sdk/middleware-recursion-detection": "3.282.0",
35
- "@aws-sdk/middleware-retry": "3.282.0",
35
+ "@aws-sdk/middleware-retry": "3.287.0",
36
36
  "@aws-sdk/middleware-serde": "3.272.0",
37
37
  "@aws-sdk/middleware-signing": "3.282.0",
38
38
  "@aws-sdk/middleware-stack": "3.272.0",
39
39
  "@aws-sdk/middleware-user-agent": "3.282.0",
40
- "@aws-sdk/node-config-provider": "3.272.0",
40
+ "@aws-sdk/node-config-provider": "3.287.0",
41
41
  "@aws-sdk/node-http-handler": "3.282.0",
42
42
  "@aws-sdk/protocol-http": "3.282.0",
43
43
  "@aws-sdk/smithy-client": "3.279.0",
@@ -47,11 +47,11 @@
47
47
  "@aws-sdk/util-body-length-browser": "3.188.0",
48
48
  "@aws-sdk/util-body-length-node": "3.208.0",
49
49
  "@aws-sdk/util-defaults-mode-browser": "3.279.0",
50
- "@aws-sdk/util-defaults-mode-node": "3.282.0",
50
+ "@aws-sdk/util-defaults-mode-node": "3.287.0",
51
51
  "@aws-sdk/util-endpoints": "3.272.0",
52
52
  "@aws-sdk/util-retry": "3.272.0",
53
53
  "@aws-sdk/util-user-agent-browser": "3.282.0",
54
- "@aws-sdk/util-user-agent-node": "3.282.0",
54
+ "@aws-sdk/util-user-agent-node": "3.287.0",
55
55
  "@aws-sdk/util-utf8": "3.254.0",
56
56
  "@aws-sdk/util-waiter": "3.272.0",
57
57
  "tslib": "^2.3.1",