@aws-sdk/client-dynamodb 3.839.0 → 3.840.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 (47) hide show
  1. package/dist-cjs/endpoint/ruleset.js +1 -1
  2. package/dist-cjs/index.js +35 -22
  3. package/dist-es/endpoint/ruleset.js +1 -1
  4. package/dist-es/models/models_0.js +22 -12
  5. package/dist-es/protocols/Aws_json1_0.js +4 -3
  6. package/dist-types/commands/BatchWriteItemCommand.d.ts +4 -0
  7. package/dist-types/commands/CreateBackupCommand.d.ts +14 -11
  8. package/dist-types/commands/CreateGlobalTableCommand.d.ts +16 -13
  9. package/dist-types/commands/CreateTableCommand.d.ts +26 -16
  10. package/dist-types/commands/DeleteBackupCommand.d.ts +12 -10
  11. package/dist-types/commands/DeleteItemCommand.d.ts +2 -1
  12. package/dist-types/commands/DeleteResourcePolicyCommand.d.ts +18 -13
  13. package/dist-types/commands/DeleteTableCommand.d.ts +26 -20
  14. package/dist-types/commands/DescribeContinuousBackupsCommand.d.ts +2 -1
  15. package/dist-types/commands/DescribeExportCommand.d.ts +12 -10
  16. package/dist-types/commands/DescribeGlobalTableCommand.d.ts +2 -2
  17. package/dist-types/commands/DescribeGlobalTableSettingsCommand.d.ts +1 -1
  18. package/dist-types/commands/DescribeImportCommand.d.ts +1 -3
  19. package/dist-types/commands/DescribeTableCommand.d.ts +10 -8
  20. package/dist-types/commands/DescribeTableReplicaAutoScalingCommand.d.ts +2 -6
  21. package/dist-types/commands/DisableKinesisStreamingDestinationCommand.d.ts +16 -12
  22. package/dist-types/commands/EnableKinesisStreamingDestinationCommand.d.ts +16 -12
  23. package/dist-types/commands/ExecuteTransactionCommand.d.ts +28 -35
  24. package/dist-types/commands/ExportTableToPointInTimeCommand.d.ts +14 -11
  25. package/dist-types/commands/GetResourcePolicyCommand.d.ts +2 -1
  26. package/dist-types/commands/ImportTableCommand.d.ts +19 -17
  27. package/dist-types/commands/ListExportsCommand.d.ts +12 -10
  28. package/dist-types/commands/ListImportsCommand.d.ts +12 -10
  29. package/dist-types/commands/PutItemCommand.d.ts +2 -1
  30. package/dist-types/commands/PutResourcePolicyCommand.d.ts +18 -13
  31. package/dist-types/commands/RestoreTableFromBackupCommand.d.ts +22 -14
  32. package/dist-types/commands/RestoreTableToPointInTimeCommand.d.ts +24 -15
  33. package/dist-types/commands/TagResourceCommand.d.ts +16 -12
  34. package/dist-types/commands/TransactGetItemsCommand.d.ts +7 -8
  35. package/dist-types/commands/TransactWriteItemsCommand.d.ts +28 -35
  36. package/dist-types/commands/UntagResourceCommand.d.ts +16 -12
  37. package/dist-types/commands/UpdateContinuousBackupsCommand.d.ts +3 -2
  38. package/dist-types/commands/UpdateGlobalTableCommand.d.ts +6 -6
  39. package/dist-types/commands/UpdateGlobalTableSettingsCommand.d.ts +17 -13
  40. package/dist-types/commands/UpdateItemCommand.d.ts +2 -1
  41. package/dist-types/commands/UpdateKinesisStreamingDestinationCommand.d.ts +16 -12
  42. package/dist-types/commands/UpdateTableCommand.d.ts +36 -20
  43. package/dist-types/commands/UpdateTableReplicaAutoScalingCommand.d.ts +18 -18
  44. package/dist-types/commands/UpdateTimeToLiveCommand.d.ts +16 -12
  45. package/dist-types/models/models_0.d.ts +240 -112
  46. package/dist-types/ts3.4/models/models_0.d.ts +37 -10
  47. package/package.json +13 -13
@@ -331,6 +331,17 @@ export declare class ItemCollectionSizeLimitExceededException extends __BaseExce
331
331
  >
332
332
  );
333
333
  }
334
+ export declare class ReplicatedWriteConflictException extends __BaseException {
335
+ readonly name: "ReplicatedWriteConflictException";
336
+ readonly $fault: "client";
337
+ $retryable: {};
338
+ constructor(
339
+ opts: __ExceptionOptionType<
340
+ ReplicatedWriteConflictException,
341
+ __BaseException
342
+ >
343
+ );
344
+ }
334
345
  export interface BillingModeSummary {
335
346
  BillingMode?: BillingMode | undefined;
336
347
  LastUpdateToPayPerRequestDateTime?: Date | undefined;
@@ -491,11 +502,14 @@ export interface ReplicaGlobalSecondaryIndexDescription {
491
502
  }
492
503
  export declare const ReplicaStatus: {
493
504
  readonly ACTIVE: "ACTIVE";
505
+ readonly ARCHIVED: "ARCHIVED";
506
+ readonly ARCHIVING: "ARCHIVING";
494
507
  readonly CREATING: "CREATING";
495
508
  readonly CREATION_FAILED: "CREATION_FAILED";
496
509
  readonly DELETING: "DELETING";
497
510
  readonly INACCESSIBLE_ENCRYPTION_CREDENTIALS: "INACCESSIBLE_ENCRYPTION_CREDENTIALS";
498
511
  readonly REGION_DISABLED: "REGION_DISABLED";
512
+ readonly REPLICATION_NOT_AUTHORIZED: "REPLICATION_NOT_AUTHORIZED";
499
513
  readonly UPDATING: "UPDATING";
500
514
  };
501
515
  export type ReplicaStatus = (typeof ReplicaStatus)[keyof typeof ReplicaStatus];
@@ -515,6 +529,7 @@ export declare const TableStatus: {
515
529
  readonly CREATING: "CREATING";
516
530
  readonly DELETING: "DELETING";
517
531
  readonly INACCESSIBLE_ENCRYPTION_CREDENTIALS: "INACCESSIBLE_ENCRYPTION_CREDENTIALS";
532
+ readonly REPLICATION_NOT_AUTHORIZED: "REPLICATION_NOT_AUTHORIZED";
518
533
  readonly UPDATING: "UPDATING";
519
534
  };
520
535
  export type TableStatus = (typeof TableStatus)[keyof typeof TableStatus];
@@ -556,6 +571,9 @@ export declare class GlobalTableAlreadyExistsException extends __BaseException {
556
571
  >
557
572
  );
558
573
  }
574
+ export interface CreateGlobalTableWitnessGroupMemberAction {
575
+ RegionName: string | undefined;
576
+ }
559
577
  export interface CreateReplicaAction {
560
578
  RegionName: string | undefined;
561
579
  }
@@ -631,6 +649,16 @@ export interface GlobalSecondaryIndexDescription {
631
649
  OnDemandThroughput?: OnDemandThroughput | undefined;
632
650
  WarmThroughput?: GlobalSecondaryIndexWarmThroughputDescription | undefined;
633
651
  }
652
+ export declare const WitnessStatus: {
653
+ readonly ACTIVE: "ACTIVE";
654
+ readonly CREATING: "CREATING";
655
+ readonly DELETING: "DELETING";
656
+ };
657
+ export type WitnessStatus = (typeof WitnessStatus)[keyof typeof WitnessStatus];
658
+ export interface GlobalTableWitnessDescription {
659
+ RegionName?: string | undefined;
660
+ WitnessStatus?: WitnessStatus | undefined;
661
+ }
634
662
  export interface LocalSecondaryIndexDescription {
635
663
  IndexName?: string | undefined;
636
664
  KeySchema?: KeySchemaElement[] | undefined;
@@ -670,6 +698,7 @@ export interface TableDescription {
670
698
  LatestStreamArn?: string | undefined;
671
699
  GlobalTableVersion?: string | undefined;
672
700
  Replicas?: ReplicaDescription[] | undefined;
701
+ GlobalTableWitnesses?: GlobalTableWitnessDescription[] | undefined;
673
702
  RestoreSummary?: RestoreSummary | undefined;
674
703
  SSEDescription?: SSEDescription | undefined;
675
704
  ArchivalSummary?: ArchivalSummary | undefined;
@@ -702,6 +731,9 @@ export interface DeleteBackupOutput {
702
731
  export interface DeleteGlobalSecondaryIndexAction {
703
732
  IndexName: string | undefined;
704
733
  }
734
+ export interface DeleteGlobalTableWitnessGroupMemberAction {
735
+ RegionName: string | undefined;
736
+ }
705
737
  export declare const ReturnValue: {
706
738
  readonly ALL_NEW: "ALL_NEW";
707
739
  readonly ALL_OLD: "ALL_OLD";
@@ -710,16 +742,6 @@ export declare const ReturnValue: {
710
742
  readonly UPDATED_OLD: "UPDATED_OLD";
711
743
  };
712
744
  export type ReturnValue = (typeof ReturnValue)[keyof typeof ReturnValue];
713
- export declare class ReplicatedWriteConflictException extends __BaseException {
714
- readonly name: "ReplicatedWriteConflictException";
715
- readonly $fault: "client";
716
- constructor(
717
- opts: __ExceptionOptionType<
718
- ReplicatedWriteConflictException,
719
- __BaseException
720
- >
721
- );
722
- }
723
745
  export declare class TransactionConflictException extends __BaseException {
724
746
  readonly name: "TransactionConflictException";
725
747
  readonly $fault: "client";
@@ -1446,6 +1468,10 @@ export interface GlobalSecondaryIndexUpdate {
1446
1468
  Create?: CreateGlobalSecondaryIndexAction | undefined;
1447
1469
  Delete?: DeleteGlobalSecondaryIndexAction | undefined;
1448
1470
  }
1471
+ export interface GlobalTableWitnessGroupUpdate {
1472
+ Create?: CreateGlobalTableWitnessGroupMemberAction | undefined;
1473
+ Delete?: DeleteGlobalTableWitnessGroupMemberAction | undefined;
1474
+ }
1449
1475
  export interface UpdateReplicationGroupMemberAction {
1450
1476
  RegionName: string | undefined;
1451
1477
  KMSMasterKeyId?: string | undefined;
@@ -1471,6 +1497,7 @@ export interface UpdateTableInput {
1471
1497
  TableClass?: TableClass | undefined;
1472
1498
  DeletionProtectionEnabled?: boolean | undefined;
1473
1499
  MultiRegionConsistency?: MultiRegionConsistency | undefined;
1500
+ GlobalTableWitnessUpdates?: GlobalTableWitnessGroupUpdate[] | undefined;
1474
1501
  OnDemandThroughput?: OnDemandThroughput | undefined;
1475
1502
  WarmThroughput?: WarmThroughput | undefined;
1476
1503
  }
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.839.0",
4
+ "version": "3.840.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.839.0",
24
- "@aws-sdk/credential-provider-node": "3.839.0",
25
- "@aws-sdk/middleware-endpoint-discovery": "3.821.0",
26
- "@aws-sdk/middleware-host-header": "3.821.0",
27
- "@aws-sdk/middleware-logger": "3.821.0",
28
- "@aws-sdk/middleware-recursion-detection": "3.821.0",
29
- "@aws-sdk/middleware-user-agent": "3.839.0",
30
- "@aws-sdk/region-config-resolver": "3.821.0",
31
- "@aws-sdk/types": "3.821.0",
32
- "@aws-sdk/util-endpoints": "3.828.0",
33
- "@aws-sdk/util-user-agent-browser": "3.821.0",
34
- "@aws-sdk/util-user-agent-node": "3.839.0",
23
+ "@aws-sdk/core": "3.840.0",
24
+ "@aws-sdk/credential-provider-node": "3.840.0",
25
+ "@aws-sdk/middleware-endpoint-discovery": "3.840.0",
26
+ "@aws-sdk/middleware-host-header": "3.840.0",
27
+ "@aws-sdk/middleware-logger": "3.840.0",
28
+ "@aws-sdk/middleware-recursion-detection": "3.840.0",
29
+ "@aws-sdk/middleware-user-agent": "3.840.0",
30
+ "@aws-sdk/region-config-resolver": "3.840.0",
31
+ "@aws-sdk/types": "3.840.0",
32
+ "@aws-sdk/util-endpoints": "3.840.0",
33
+ "@aws-sdk/util-user-agent-browser": "3.840.0",
34
+ "@aws-sdk/util-user-agent-node": "3.840.0",
35
35
  "@smithy/config-resolver": "^4.1.4",
36
36
  "@smithy/core": "^3.6.0",
37
37
  "@smithy/fetch-http-handler": "^5.0.4",