@aws-sdk/client-keyspaces 3.54.1 → 3.55.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.
- package/CHANGELOG.md +11 -0
- package/README.md +3 -7
- package/dist-cjs/KeyspacesClient.js +13 -13
- package/dist-cjs/commands/CreateKeyspaceCommand.js +3 -3
- package/dist-cjs/commands/CreateTableCommand.js +3 -3
- package/dist-cjs/commands/DeleteKeyspaceCommand.js +3 -3
- package/dist-cjs/commands/DeleteTableCommand.js +3 -3
- package/dist-cjs/commands/GetKeyspaceCommand.js +3 -3
- package/dist-cjs/commands/GetTableCommand.js +3 -3
- package/dist-cjs/commands/ListKeyspacesCommand.js +3 -3
- package/dist-cjs/commands/ListTablesCommand.js +3 -3
- package/dist-cjs/commands/ListTagsForResourceCommand.js +3 -3
- package/dist-cjs/commands/RestoreTableCommand.js +3 -3
- package/dist-cjs/commands/TagResourceCommand.js +3 -3
- package/dist-cjs/commands/UntagResourceCommand.js +3 -3
- package/dist-cjs/commands/UpdateTableCommand.js +3 -3
- package/dist-cjs/endpoints.js +1 -1
- package/dist-cjs/protocols/Aws_json1_0.js +64 -64
- package/dist-cjs/runtimeConfig.browser.js +4 -4
- package/dist-cjs/runtimeConfig.js +9 -9
- package/dist-cjs/runtimeConfig.native.js +1 -1
- package/dist-es/Keyspaces.js +13 -13
- package/dist-es/pagination/ListKeyspacesPaginator.js +4 -4
- package/dist-es/pagination/ListTablesPaginator.js +4 -4
- package/dist-es/pagination/ListTagsForResourcePaginator.js +4 -4
- package/dist-types/Keyspaces.d.ts +27 -47
- package/dist-types/KeyspacesClient.d.ts +4 -8
- package/dist-types/commands/CreateKeyspaceCommand.d.ts +2 -2
- package/dist-types/commands/CreateTableCommand.d.ts +2 -2
- package/dist-types/commands/DeleteTableCommand.d.ts +1 -2
- package/dist-types/commands/RestoreTableCommand.d.ts +18 -33
- package/dist-types/models/models_0.d.ts +91 -318
- package/dist-types/runtimeConfig.native.d.ts +2 -2
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +2 -2
- package/package.json +34 -34
|
@@ -10,7 +10,7 @@ var makePagedClientRequest = function (client, input) {
|
|
|
10
10
|
return __awaiter(void 0, void 0, void 0, function () {
|
|
11
11
|
return __generator(this, function (_a) {
|
|
12
12
|
switch (_a.label) {
|
|
13
|
-
case 0: return [4, client.send.apply(client, __spreadArray([new ListTablesCommand(input)], __read(args)))];
|
|
13
|
+
case 0: return [4, client.send.apply(client, __spreadArray([new ListTablesCommand(input)], __read(args), false))];
|
|
14
14
|
case 1: return [2, _a.sent()];
|
|
15
15
|
}
|
|
16
16
|
});
|
|
@@ -24,7 +24,7 @@ var makePagedRequest = function (client, input) {
|
|
|
24
24
|
return __awaiter(void 0, void 0, void 0, function () {
|
|
25
25
|
return __generator(this, function (_a) {
|
|
26
26
|
switch (_a.label) {
|
|
27
|
-
case 0: return [4, client.listTables.apply(client, __spreadArray([input], __read(args)))];
|
|
27
|
+
case 0: return [4, client.listTables.apply(client, __spreadArray([input], __read(args), false))];
|
|
28
28
|
case 1: return [2, _a.sent()];
|
|
29
29
|
}
|
|
30
30
|
});
|
|
@@ -48,13 +48,13 @@ export function paginateListTables(config, input) {
|
|
|
48
48
|
input.nextToken = token;
|
|
49
49
|
input["maxResults"] = config.pageSize;
|
|
50
50
|
if (!(config.client instanceof Keyspaces)) return [3, 3];
|
|
51
|
-
return [4, __await(makePagedRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
|
|
51
|
+
return [4, __await(makePagedRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments), false)))];
|
|
52
52
|
case 2:
|
|
53
53
|
page = _a.sent();
|
|
54
54
|
return [3, 6];
|
|
55
55
|
case 3:
|
|
56
56
|
if (!(config.client instanceof KeyspacesClient)) return [3, 5];
|
|
57
|
-
return [4, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
|
|
57
|
+
return [4, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments), false)))];
|
|
58
58
|
case 4:
|
|
59
59
|
page = _a.sent();
|
|
60
60
|
return [3, 6];
|
|
@@ -10,7 +10,7 @@ var makePagedClientRequest = function (client, input) {
|
|
|
10
10
|
return __awaiter(void 0, void 0, void 0, function () {
|
|
11
11
|
return __generator(this, function (_a) {
|
|
12
12
|
switch (_a.label) {
|
|
13
|
-
case 0: return [4, client.send.apply(client, __spreadArray([new ListTagsForResourceCommand(input)], __read(args)))];
|
|
13
|
+
case 0: return [4, client.send.apply(client, __spreadArray([new ListTagsForResourceCommand(input)], __read(args), false))];
|
|
14
14
|
case 1: return [2, _a.sent()];
|
|
15
15
|
}
|
|
16
16
|
});
|
|
@@ -24,7 +24,7 @@ var makePagedRequest = function (client, input) {
|
|
|
24
24
|
return __awaiter(void 0, void 0, void 0, function () {
|
|
25
25
|
return __generator(this, function (_a) {
|
|
26
26
|
switch (_a.label) {
|
|
27
|
-
case 0: return [4, client.listTagsForResource.apply(client, __spreadArray([input], __read(args)))];
|
|
27
|
+
case 0: return [4, client.listTagsForResource.apply(client, __spreadArray([input], __read(args), false))];
|
|
28
28
|
case 1: return [2, _a.sent()];
|
|
29
29
|
}
|
|
30
30
|
});
|
|
@@ -48,13 +48,13 @@ export function paginateListTagsForResource(config, input) {
|
|
|
48
48
|
input.nextToken = token;
|
|
49
49
|
input["maxResults"] = config.pageSize;
|
|
50
50
|
if (!(config.client instanceof Keyspaces)) return [3, 3];
|
|
51
|
-
return [4, __await(makePagedRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
|
|
51
|
+
return [4, __await(makePagedRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments), false)))];
|
|
52
52
|
case 2:
|
|
53
53
|
page = _a.sent();
|
|
54
54
|
return [3, 6];
|
|
55
55
|
case 3:
|
|
56
56
|
if (!(config.client instanceof KeyspacesClient)) return [3, 5];
|
|
57
|
-
return [4, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
|
|
57
|
+
return [4, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments), false)))];
|
|
58
58
|
case 4:
|
|
59
59
|
page = _a.sent();
|
|
60
60
|
return [3, 6];
|
|
@@ -18,27 +18,23 @@ import { KeyspacesClient } from "./KeyspacesClient";
|
|
|
18
18
|
* highly available, and managed Apache Cassandra-compatible database service. Amazon Keyspaces makes it easy to migrate,
|
|
19
19
|
* run, and scale Cassandra workloads in the Amazon Web Services Cloud. With just a few clicks on the Amazon Web Services Management Console or a few lines of code,
|
|
20
20
|
* you can create keyspaces and tables in Amazon Keyspaces, without deploying any infrastructure or installing software. </p>
|
|
21
|
-
*
|
|
22
21
|
* <p>In addition to supporting Cassandra Query Language (CQL) requests via open-source Cassandra drivers,
|
|
23
22
|
* Amazon Keyspaces supports data definition language (DDL) operations to manage keyspaces and tables using the Amazon Web Services SDK and CLI. This API reference describes
|
|
24
|
-
* the supported DDL operations in detail
|
|
25
|
-
*
|
|
23
|
+
* the supported DDL operations in detail.</p>
|
|
26
24
|
* <p>For the list of all supported CQL APIs, see <a href="https://docs.aws.amazon.com/keyspaces/latest/devguide/cassandra-apis.html">Supported Cassandra APIs, operations, and data types
|
|
27
25
|
* in Amazon Keyspaces</a> in the <i>Amazon Keyspaces Developer
|
|
28
26
|
* Guide</i>.</p>
|
|
29
|
-
*
|
|
30
|
-
*
|
|
31
|
-
*
|
|
32
|
-
*
|
|
33
|
-
* <p>For more information about Amazon Web Services APIs, for example how to implement retry logic or how to sign Amazon Web Services API requests, see <a href="https://docs.aws.amazon.com/general/latest/gr/aws-apis.html">Amazon Web Services APIs</a> in the <i>General Reference</i>. </p>
|
|
27
|
+
* <p>To learn how Amazon Keyspaces API actions are recorded with CloudTrail, see <a href="https://docs.aws.amazon.com/keyspaces/latest/devguide/logging-using-cloudtrail.html#service-name-info-in-cloudtrail">Amazon Keyspaces information in CloudTrail</a> in the <i>Amazon Keyspaces Developer
|
|
28
|
+
* Guide</i>.</p>
|
|
29
|
+
* <p>For more information about Amazon Web Services APIs, for example how to implement retry logic or how to sign Amazon Web Services API requests, see <a href="https://docs.aws.amazon.com/general/latest/gr/aws-apis.html">Amazon Web Services APIs</a> in the <i>General Reference</i>.</p>
|
|
34
30
|
*/
|
|
35
31
|
export declare class Keyspaces extends KeyspacesClient {
|
|
36
32
|
/**
|
|
37
33
|
* <p>The <code>CreateKeyspace</code> operation adds a new keyspace to your account. In an Amazon Web Services account, keyspace names
|
|
38
|
-
* must be unique within each Region
|
|
34
|
+
* must be unique within each Region.</p>
|
|
39
35
|
* <p>
|
|
40
36
|
* <code>CreateKeyspace</code> is an asynchronous operation. You can monitor the creation status of the new keyspace
|
|
41
|
-
* by using the <code>GetKeyspace</code> operation
|
|
37
|
+
* by using the <code>GetKeyspace</code> operation.</p>
|
|
42
38
|
* <p>For more information, see <a href="https://docs.aws.amazon.com/keyspaces/latest/devguide/working-with-keyspaces.html#keyspaces-create">Creating keyspaces</a> in the <i>Amazon Keyspaces Developer
|
|
43
39
|
* Guide</i>.</p>
|
|
44
40
|
*/
|
|
@@ -47,11 +43,11 @@ export declare class Keyspaces extends KeyspacesClient {
|
|
|
47
43
|
createKeyspace(args: CreateKeyspaceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateKeyspaceCommandOutput) => void): void;
|
|
48
44
|
/**
|
|
49
45
|
* <p>The <code>CreateTable</code> operation adds a new table to the specified keyspace. Within a keyspace, table names
|
|
50
|
-
* must be unique
|
|
46
|
+
* must be unique.</p>
|
|
51
47
|
* <p>
|
|
52
48
|
* <code>CreateTable</code> is an asynchronous operation. When the request is received, the status of the table is set to <code>CREATING</code>.
|
|
53
49
|
* You can monitor the creation status of the new table by using the <code>GetTable</code>
|
|
54
|
-
* operation, which returns the current <code>status</code> of the table. You can start using a table when the status is <code>ACTIVE</code
|
|
50
|
+
* operation, which returns the current <code>status</code> of the table. You can start using a table when the status is <code>ACTIVE</code>.</p>
|
|
55
51
|
* <p>For more information, see <a href="https://docs.aws.amazon.com/keyspaces/latest/devguide/working-with-tables.html#tables-create">Creating tables</a> in the <i>Amazon Keyspaces Developer
|
|
56
52
|
* Guide</i>.</p>
|
|
57
53
|
*/
|
|
@@ -65,8 +61,7 @@ export declare class Keyspaces extends KeyspacesClient {
|
|
|
65
61
|
deleteKeyspace(args: DeleteKeyspaceCommandInput, cb: (err: any, data?: DeleteKeyspaceCommandOutput) => void): void;
|
|
66
62
|
deleteKeyspace(args: DeleteKeyspaceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteKeyspaceCommandOutput) => void): void;
|
|
67
63
|
/**
|
|
68
|
-
* <p>
|
|
69
|
-
* The <code>DeleteTable</code> operation deletes a table and all of its data. After a <code>DeleteTable</code> request is received,
|
|
64
|
+
* <p>The <code>DeleteTable</code> operation deletes a table and all of its data. After a <code>DeleteTable</code> request is received,
|
|
70
65
|
* the specified table is in the <code>DELETING</code> state until Amazon Keyspaces completes the deletion. If the table
|
|
71
66
|
* is in the <code>ACTIVE</code> state, you can delete it. If a table is either in the <code>CREATING</code> or <code>UPDATING</code> states, then
|
|
72
67
|
* Amazon Keyspaces returns a <code>ResourceInUseException</code>. If the specified table does not exist, Amazon Keyspaces returns
|
|
@@ -114,46 +109,31 @@ export declare class Keyspaces extends KeyspacesClient {
|
|
|
114
109
|
* <a href="https://docs.aws.amazon.com/keyspaces/latest/devguide/PointInTimeRecovery_HowItWorks.html#howitworks_backup_window">
|
|
115
110
|
* Time window for PITR continuous backups</a> in the <i>Amazon Keyspaces Developer Guide</i>.
|
|
116
111
|
* </p>
|
|
117
|
-
* <p>
|
|
118
|
-
*
|
|
119
|
-
*
|
|
112
|
+
* <p>Any number of users can execute up to 4 concurrent restores (any type of restore) in a given account.</p>
|
|
113
|
+
* <p>When you restore using point in time recovery,
|
|
114
|
+
* Amazon Keyspaces restores your source table's schema and data to the state
|
|
120
115
|
* based on the selected timestamp <code>(day:hour:minute:second)</code> to a new table. The Time to Live (TTL) settings
|
|
121
116
|
* are also restored to the state based on the selected timestamp.</p>
|
|
122
|
-
* <p>In addition to the table's schema, data, and TTL settings,
|
|
117
|
+
* <p>In addition to the table's schema, data, and TTL settings,
|
|
118
|
+
* <code>RestoreTable</code> restores the capacity mode, encryption, and
|
|
123
119
|
* point-in-time recovery settings from the source table.
|
|
124
120
|
* Unlike the table's schema data and TTL settings, which are restored based on the selected timestamp,
|
|
125
121
|
* these settings are always restored based on the table's settings as of the current time or when the table was deleted.</p>
|
|
126
|
-
* <p>You can also overwrite
|
|
127
|
-
*
|
|
128
|
-
*
|
|
129
|
-
*
|
|
130
|
-
*
|
|
131
|
-
*
|
|
132
|
-
*
|
|
133
|
-
*
|
|
134
|
-
* <li>
|
|
135
|
-
* <p>Point-in-time (PITR) settings</p>
|
|
136
|
-
* </li>
|
|
137
|
-
* <li>
|
|
138
|
-
* <p>Tags</p>
|
|
139
|
-
* </li>
|
|
140
|
-
* </ul>
|
|
141
|
-
* <p>For more information, see <a href="https://docs.aws.amazon.com/keyspaces/latest/devguide/PointInTimeRecovery_HowItWorks.html#howitworks_backup_settings">PITR restore settings</a> in the <i>Amazon Keyspaces Developer
|
|
122
|
+
* <p>You can also overwrite
|
|
123
|
+
* these settings during restore:</p>
|
|
124
|
+
* <p>• Read/write capacity mode</p>
|
|
125
|
+
* <p>• Provisioned throughput capacity settings</p>
|
|
126
|
+
* <p>• Point-in-time (PITR) settings</p>
|
|
127
|
+
* <p>• Tags</p>
|
|
128
|
+
* <p>For more
|
|
129
|
+
* information, see <a href="https://docs.aws.amazon.com/keyspaces/latest/devguide/PointInTimeRecovery_HowItWorks.html#howitworks_backup_settings">PITR restore settings</a> in the <i>Amazon Keyspaces Developer
|
|
142
130
|
* Guide</i>.</p>
|
|
143
|
-
* <p>
|
|
144
|
-
* new table
|
|
145
|
-
* <
|
|
146
|
-
* <li>
|
|
147
|
-
* <p>Automatic scaling policies (for tables that use provisioned capacity
|
|
131
|
+
* <p>Note that the following settings are not restored, and you must configure them manually for
|
|
132
|
+
* the new table:</p>
|
|
133
|
+
* <p>• Automatic scaling policies (for tables that use provisioned capacity
|
|
148
134
|
* mode)</p>
|
|
149
|
-
*
|
|
150
|
-
*
|
|
151
|
-
* <p>Identity and Access Management (IAM) policies</p>
|
|
152
|
-
* </li>
|
|
153
|
-
* <li>
|
|
154
|
-
* <p>Amazon CloudWatch metrics and alarms</p>
|
|
155
|
-
* </li>
|
|
156
|
-
* </ul>
|
|
135
|
+
* <p>• Identity and Access Management (IAM) policies</p>
|
|
136
|
+
* <p>• Amazon CloudWatch metrics and alarms</p>
|
|
157
137
|
*/
|
|
158
138
|
restoreTable(args: RestoreTableCommandInput, options?: __HttpHandlerOptions): Promise<RestoreTableCommandOutput>;
|
|
159
139
|
restoreTable(args: RestoreTableCommandInput, cb: (err: any, data?: RestoreTableCommandOutput) => void): void;
|
|
@@ -143,19 +143,15 @@ export interface KeyspacesClientResolvedConfig extends KeyspacesClientResolvedCo
|
|
|
143
143
|
* highly available, and managed Apache Cassandra-compatible database service. Amazon Keyspaces makes it easy to migrate,
|
|
144
144
|
* run, and scale Cassandra workloads in the Amazon Web Services Cloud. With just a few clicks on the Amazon Web Services Management Console or a few lines of code,
|
|
145
145
|
* you can create keyspaces and tables in Amazon Keyspaces, without deploying any infrastructure or installing software. </p>
|
|
146
|
-
*
|
|
147
146
|
* <p>In addition to supporting Cassandra Query Language (CQL) requests via open-source Cassandra drivers,
|
|
148
147
|
* Amazon Keyspaces supports data definition language (DDL) operations to manage keyspaces and tables using the Amazon Web Services SDK and CLI. This API reference describes
|
|
149
|
-
* the supported DDL operations in detail
|
|
150
|
-
*
|
|
148
|
+
* the supported DDL operations in detail.</p>
|
|
151
149
|
* <p>For the list of all supported CQL APIs, see <a href="https://docs.aws.amazon.com/keyspaces/latest/devguide/cassandra-apis.html">Supported Cassandra APIs, operations, and data types
|
|
152
150
|
* in Amazon Keyspaces</a> in the <i>Amazon Keyspaces Developer
|
|
153
151
|
* Guide</i>.</p>
|
|
154
|
-
*
|
|
155
|
-
*
|
|
156
|
-
*
|
|
157
|
-
*
|
|
158
|
-
* <p>For more information about Amazon Web Services APIs, for example how to implement retry logic or how to sign Amazon Web Services API requests, see <a href="https://docs.aws.amazon.com/general/latest/gr/aws-apis.html">Amazon Web Services APIs</a> in the <i>General Reference</i>. </p>
|
|
152
|
+
* <p>To learn how Amazon Keyspaces API actions are recorded with CloudTrail, see <a href="https://docs.aws.amazon.com/keyspaces/latest/devguide/logging-using-cloudtrail.html#service-name-info-in-cloudtrail">Amazon Keyspaces information in CloudTrail</a> in the <i>Amazon Keyspaces Developer
|
|
153
|
+
* Guide</i>.</p>
|
|
154
|
+
* <p>For more information about Amazon Web Services APIs, for example how to implement retry logic or how to sign Amazon Web Services API requests, see <a href="https://docs.aws.amazon.com/general/latest/gr/aws-apis.html">Amazon Web Services APIs</a> in the <i>General Reference</i>.</p>
|
|
159
155
|
*/
|
|
160
156
|
export declare class KeyspacesClient extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, KeyspacesClientResolvedConfig> {
|
|
161
157
|
/**
|
|
@@ -8,10 +8,10 @@ export interface CreateKeyspaceCommandOutput extends CreateKeyspaceResponse, __M
|
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
10
|
* <p>The <code>CreateKeyspace</code> operation adds a new keyspace to your account. In an Amazon Web Services account, keyspace names
|
|
11
|
-
* must be unique within each Region
|
|
11
|
+
* must be unique within each Region.</p>
|
|
12
12
|
* <p>
|
|
13
13
|
* <code>CreateKeyspace</code> is an asynchronous operation. You can monitor the creation status of the new keyspace
|
|
14
|
-
* by using the <code>GetKeyspace</code> operation
|
|
14
|
+
* by using the <code>GetKeyspace</code> operation.</p>
|
|
15
15
|
* <p>For more information, see <a href="https://docs.aws.amazon.com/keyspaces/latest/devguide/working-with-keyspaces.html#keyspaces-create">Creating keyspaces</a> in the <i>Amazon Keyspaces Developer
|
|
16
16
|
* Guide</i>.</p>
|
|
17
17
|
* @example
|
|
@@ -8,11 +8,11 @@ export interface CreateTableCommandOutput extends CreateTableResponse, __Metadat
|
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
10
|
* <p>The <code>CreateTable</code> operation adds a new table to the specified keyspace. Within a keyspace, table names
|
|
11
|
-
* must be unique
|
|
11
|
+
* must be unique.</p>
|
|
12
12
|
* <p>
|
|
13
13
|
* <code>CreateTable</code> is an asynchronous operation. When the request is received, the status of the table is set to <code>CREATING</code>.
|
|
14
14
|
* You can monitor the creation status of the new table by using the <code>GetTable</code>
|
|
15
|
-
* operation, which returns the current <code>status</code> of the table. You can start using a table when the status is <code>ACTIVE</code
|
|
15
|
+
* operation, which returns the current <code>status</code> of the table. You can start using a table when the status is <code>ACTIVE</code>.</p>
|
|
16
16
|
* <p>For more information, see <a href="https://docs.aws.amazon.com/keyspaces/latest/devguide/working-with-tables.html#tables-create">Creating tables</a> in the <i>Amazon Keyspaces Developer
|
|
17
17
|
* Guide</i>.</p>
|
|
18
18
|
* @example
|
|
@@ -7,8 +7,7 @@ export interface DeleteTableCommandInput extends DeleteTableRequest {
|
|
|
7
7
|
export interface DeleteTableCommandOutput extends DeleteTableResponse, __MetadataBearer {
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
|
-
* <p>
|
|
11
|
-
* The <code>DeleteTable</code> operation deletes a table and all of its data. After a <code>DeleteTable</code> request is received,
|
|
10
|
+
* <p>The <code>DeleteTable</code> operation deletes a table and all of its data. After a <code>DeleteTable</code> request is received,
|
|
12
11
|
* the specified table is in the <code>DELETING</code> state until Amazon Keyspaces completes the deletion. If the table
|
|
13
12
|
* is in the <code>ACTIVE</code> state, you can delete it. If a table is either in the <code>CREATING</code> or <code>UPDATING</code> states, then
|
|
14
13
|
* Amazon Keyspaces returns a <code>ResourceInUseException</code>. If the specified table does not exist, Amazon Keyspaces returns
|
|
@@ -12,46 +12,31 @@ export interface RestoreTableCommandOutput extends RestoreTableResponse, __Metad
|
|
|
12
12
|
* <a href="https://docs.aws.amazon.com/keyspaces/latest/devguide/PointInTimeRecovery_HowItWorks.html#howitworks_backup_window">
|
|
13
13
|
* Time window for PITR continuous backups</a> in the <i>Amazon Keyspaces Developer Guide</i>.
|
|
14
14
|
* </p>
|
|
15
|
-
* <p>
|
|
16
|
-
*
|
|
17
|
-
*
|
|
15
|
+
* <p>Any number of users can execute up to 4 concurrent restores (any type of restore) in a given account.</p>
|
|
16
|
+
* <p>When you restore using point in time recovery,
|
|
17
|
+
* Amazon Keyspaces restores your source table's schema and data to the state
|
|
18
18
|
* based on the selected timestamp <code>(day:hour:minute:second)</code> to a new table. The Time to Live (TTL) settings
|
|
19
19
|
* are also restored to the state based on the selected timestamp.</p>
|
|
20
|
-
* <p>In addition to the table's schema, data, and TTL settings,
|
|
20
|
+
* <p>In addition to the table's schema, data, and TTL settings,
|
|
21
|
+
* <code>RestoreTable</code> restores the capacity mode, encryption, and
|
|
21
22
|
* point-in-time recovery settings from the source table.
|
|
22
23
|
* Unlike the table's schema data and TTL settings, which are restored based on the selected timestamp,
|
|
23
24
|
* these settings are always restored based on the table's settings as of the current time or when the table was deleted.</p>
|
|
24
|
-
* <p>You can also overwrite
|
|
25
|
-
*
|
|
26
|
-
*
|
|
27
|
-
*
|
|
28
|
-
*
|
|
29
|
-
*
|
|
30
|
-
*
|
|
31
|
-
*
|
|
32
|
-
* <li>
|
|
33
|
-
* <p>Point-in-time (PITR) settings</p>
|
|
34
|
-
* </li>
|
|
35
|
-
* <li>
|
|
36
|
-
* <p>Tags</p>
|
|
37
|
-
* </li>
|
|
38
|
-
* </ul>
|
|
39
|
-
* <p>For more information, see <a href="https://docs.aws.amazon.com/keyspaces/latest/devguide/PointInTimeRecovery_HowItWorks.html#howitworks_backup_settings">PITR restore settings</a> in the <i>Amazon Keyspaces Developer
|
|
25
|
+
* <p>You can also overwrite
|
|
26
|
+
* these settings during restore:</p>
|
|
27
|
+
* <p>• Read/write capacity mode</p>
|
|
28
|
+
* <p>• Provisioned throughput capacity settings</p>
|
|
29
|
+
* <p>• Point-in-time (PITR) settings</p>
|
|
30
|
+
* <p>• Tags</p>
|
|
31
|
+
* <p>For more
|
|
32
|
+
* information, see <a href="https://docs.aws.amazon.com/keyspaces/latest/devguide/PointInTimeRecovery_HowItWorks.html#howitworks_backup_settings">PITR restore settings</a> in the <i>Amazon Keyspaces Developer
|
|
40
33
|
* Guide</i>.</p>
|
|
41
|
-
* <p>
|
|
42
|
-
* new table
|
|
43
|
-
* <
|
|
44
|
-
* <li>
|
|
45
|
-
* <p>Automatic scaling policies (for tables that use provisioned capacity
|
|
34
|
+
* <p>Note that the following settings are not restored, and you must configure them manually for
|
|
35
|
+
* the new table:</p>
|
|
36
|
+
* <p>• Automatic scaling policies (for tables that use provisioned capacity
|
|
46
37
|
* mode)</p>
|
|
47
|
-
*
|
|
48
|
-
*
|
|
49
|
-
* <p>Identity and Access Management (IAM) policies</p>
|
|
50
|
-
* </li>
|
|
51
|
-
* <li>
|
|
52
|
-
* <p>Amazon CloudWatch metrics and alarms</p>
|
|
53
|
-
* </li>
|
|
54
|
-
* </ul>
|
|
38
|
+
* <p>• Identity and Access Management (IAM) policies</p>
|
|
39
|
+
* <p>• Amazon CloudWatch metrics and alarms</p>
|
|
55
40
|
* @example
|
|
56
41
|
* Use a bare-bones client and the command you need to make an API call.
|
|
57
42
|
* ```javascript
|