@aws-sdk/client-keyspaces 3.835.0 → 3.839.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 (29) hide show
  1. package/README.md +1 -14
  2. package/dist-cjs/index.js +26 -0
  3. package/dist-es/models/models_0.js +16 -0
  4. package/dist-es/protocols/Aws_json1_0.js +4 -0
  5. package/dist-types/Keyspaces.d.ts +1 -14
  6. package/dist-types/KeyspacesClient.d.ts +1 -14
  7. package/dist-types/commands/CreateKeyspaceCommand.d.ts +3 -12
  8. package/dist-types/commands/CreateTableCommand.d.ts +15 -15
  9. package/dist-types/commands/CreateTypeCommand.d.ts +4 -14
  10. package/dist-types/commands/DeleteKeyspaceCommand.d.ts +3 -7
  11. package/dist-types/commands/DeleteTableCommand.d.ts +4 -12
  12. package/dist-types/commands/DeleteTypeCommand.d.ts +4 -13
  13. package/dist-types/commands/GetKeyspaceCommand.d.ts +3 -6
  14. package/dist-types/commands/GetTableAutoScalingSettingsCommand.d.ts +3 -27
  15. package/dist-types/commands/GetTableCommand.d.ts +8 -9
  16. package/dist-types/commands/GetTypeCommand.d.ts +3 -12
  17. package/dist-types/commands/ListKeyspacesCommand.d.ts +2 -4
  18. package/dist-types/commands/ListTablesCommand.d.ts +3 -8
  19. package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -8
  20. package/dist-types/commands/ListTypesCommand.d.ts +3 -11
  21. package/dist-types/commands/RestoreTableCommand.d.ts +4 -53
  22. package/dist-types/commands/TagResourceCommand.d.ts +4 -14
  23. package/dist-types/commands/UntagResourceCommand.d.ts +3 -7
  24. package/dist-types/commands/UpdateKeyspaceCommand.d.ts +4 -108
  25. package/dist-types/commands/UpdateTableCommand.d.ts +15 -10
  26. package/dist-types/index.d.ts +1 -14
  27. package/dist-types/models/models_0.d.ts +225 -814
  28. package/dist-types/ts3.4/models/models_0.d.ts +38 -4
  29. package/package.json +11 -11
@@ -45,6 +45,40 @@ export interface CapacitySpecificationSummary {
45
45
  writeCapacityUnits?: number | undefined;
46
46
  lastUpdateToPayPerRequestTimestamp?: Date | undefined;
47
47
  }
48
+ export declare const CdcPropagateTags: {
49
+ readonly NONE: "NONE";
50
+ readonly TABLE: "TABLE";
51
+ };
52
+ export type CdcPropagateTags =
53
+ (typeof CdcPropagateTags)[keyof typeof CdcPropagateTags];
54
+ export declare const CdcStatus: {
55
+ readonly DISABLED: "DISABLED";
56
+ readonly DISABLING: "DISABLING";
57
+ readonly ENABLED: "ENABLED";
58
+ readonly ENABLING: "ENABLING";
59
+ };
60
+ export type CdcStatus = (typeof CdcStatus)[keyof typeof CdcStatus];
61
+ export interface Tag {
62
+ key: string | undefined;
63
+ value: string | undefined;
64
+ }
65
+ export declare const ViewType: {
66
+ readonly KEYS_ONLY: "KEYS_ONLY";
67
+ readonly NEW_AND_OLD_IMAGES: "NEW_AND_OLD_IMAGES";
68
+ readonly NEW_IMAGE: "NEW_IMAGE";
69
+ readonly OLD_IMAGE: "OLD_IMAGE";
70
+ };
71
+ export type ViewType = (typeof ViewType)[keyof typeof ViewType];
72
+ export interface CdcSpecification {
73
+ status: CdcStatus | undefined;
74
+ viewType?: ViewType | undefined;
75
+ tags?: Tag[] | undefined;
76
+ propagateTags?: CdcPropagateTags | undefined;
77
+ }
78
+ export interface CdcSpecificationSummary {
79
+ status: CdcStatus | undefined;
80
+ viewType?: ViewType | undefined;
81
+ }
48
82
  export declare const ClientSideTimestampsStatus: {
49
83
  readonly ENABLED: "ENABLED";
50
84
  };
@@ -83,10 +117,6 @@ export interface ReplicationSpecification {
83
117
  replicationStrategy: Rs | undefined;
84
118
  regionList?: string[] | undefined;
85
119
  }
86
- export interface Tag {
87
- key: string | undefined;
88
- value: string | undefined;
89
- }
90
120
  export interface CreateKeyspaceRequest {
91
121
  keyspaceName: string | undefined;
92
122
  tags?: Tag[] | undefined;
@@ -174,6 +204,7 @@ export interface CreateTableRequest {
174
204
  clientSideTimestamps?: ClientSideTimestamps | undefined;
175
205
  autoScalingSpecification?: AutoScalingSpecification | undefined;
176
206
  replicaSpecifications?: ReplicaSpecification[] | undefined;
207
+ cdcSpecification?: CdcSpecification | undefined;
177
208
  }
178
209
  export interface CreateTableResponse {
179
210
  resourceArn: string | undefined;
@@ -277,6 +308,8 @@ export interface GetTableResponse {
277
308
  comment?: Comment | undefined;
278
309
  clientSideTimestamps?: ClientSideTimestamps | undefined;
279
310
  replicaSpecifications?: ReplicaSpecificationSummary[] | undefined;
311
+ latestStreamArn?: string | undefined;
312
+ cdcSpecification?: CdcSpecificationSummary | undefined;
280
313
  }
281
314
  export interface GetTableAutoScalingSettingsRequest {
282
315
  keyspaceName: string | undefined;
@@ -407,6 +440,7 @@ export interface UpdateTableRequest {
407
440
  clientSideTimestamps?: ClientSideTimestamps | undefined;
408
441
  autoScalingSpecification?: AutoScalingSpecification | undefined;
409
442
  replicaSpecifications?: ReplicaSpecification[] | undefined;
443
+ cdcSpecification?: CdcSpecification | undefined;
410
444
  }
411
445
  export interface UpdateTableResponse {
412
446
  resourceArn: string | undefined;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-keyspaces",
3
3
  "description": "AWS SDK for JavaScript Keyspaces Client for Node.js, Browser and React Native",
4
- "version": "3.835.0",
4
+ "version": "3.839.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-keyspaces",
@@ -20,38 +20,38 @@
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.835.0",
24
- "@aws-sdk/credential-provider-node": "3.835.0",
23
+ "@aws-sdk/core": "3.839.0",
24
+ "@aws-sdk/credential-provider-node": "3.839.0",
25
25
  "@aws-sdk/middleware-host-header": "3.821.0",
26
26
  "@aws-sdk/middleware-logger": "3.821.0",
27
27
  "@aws-sdk/middleware-recursion-detection": "3.821.0",
28
- "@aws-sdk/middleware-user-agent": "3.835.0",
28
+ "@aws-sdk/middleware-user-agent": "3.839.0",
29
29
  "@aws-sdk/region-config-resolver": "3.821.0",
30
30
  "@aws-sdk/types": "3.821.0",
31
31
  "@aws-sdk/util-endpoints": "3.828.0",
32
32
  "@aws-sdk/util-user-agent-browser": "3.821.0",
33
- "@aws-sdk/util-user-agent-node": "3.835.0",
33
+ "@aws-sdk/util-user-agent-node": "3.839.0",
34
34
  "@smithy/config-resolver": "^4.1.4",
35
- "@smithy/core": "^3.5.3",
35
+ "@smithy/core": "^3.6.0",
36
36
  "@smithy/fetch-http-handler": "^5.0.4",
37
37
  "@smithy/hash-node": "^4.0.4",
38
38
  "@smithy/invalid-dependency": "^4.0.4",
39
39
  "@smithy/middleware-content-length": "^4.0.4",
40
- "@smithy/middleware-endpoint": "^4.1.12",
41
- "@smithy/middleware-retry": "^4.1.13",
40
+ "@smithy/middleware-endpoint": "^4.1.13",
41
+ "@smithy/middleware-retry": "^4.1.14",
42
42
  "@smithy/middleware-serde": "^4.0.8",
43
43
  "@smithy/middleware-stack": "^4.0.4",
44
44
  "@smithy/node-config-provider": "^4.1.3",
45
45
  "@smithy/node-http-handler": "^4.0.6",
46
46
  "@smithy/protocol-http": "^5.1.2",
47
- "@smithy/smithy-client": "^4.4.4",
47
+ "@smithy/smithy-client": "^4.4.5",
48
48
  "@smithy/types": "^4.3.1",
49
49
  "@smithy/url-parser": "^4.0.4",
50
50
  "@smithy/util-base64": "^4.0.0",
51
51
  "@smithy/util-body-length-browser": "^4.0.0",
52
52
  "@smithy/util-body-length-node": "^4.0.0",
53
- "@smithy/util-defaults-mode-browser": "^4.0.20",
54
- "@smithy/util-defaults-mode-node": "^4.0.20",
53
+ "@smithy/util-defaults-mode-browser": "^4.0.21",
54
+ "@smithy/util-defaults-mode-node": "^4.0.21",
55
55
  "@smithy/util-endpoints": "^3.0.6",
56
56
  "@smithy/util-middleware": "^4.0.4",
57
57
  "@smithy/util-retry": "^4.0.6",