@aws-sdk/client-keyspaces 3.289.0 → 3.291.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/README.md +2 -1
- package/dist-cjs/endpoint/ruleset.js +3 -3
- package/dist-cjs/models/models_0.js +10 -2
- package/dist-cjs/protocols/Aws_json1_0.js +19 -0
- package/dist-es/endpoint/ruleset.js +3 -3
- package/dist-es/models/models_0.js +7 -0
- package/dist-es/protocols/Aws_json1_0.js +19 -0
- package/dist-types/Keyspaces.d.ts +29 -11
- package/dist-types/KeyspacesClient.d.ts +2 -1
- package/dist-types/commands/CreateKeyspaceCommand.d.ts +19 -0
- package/dist-types/commands/CreateTableCommand.d.ts +22 -0
- package/dist-types/commands/DeleteKeyspaceCommand.d.ts +22 -0
- package/dist-types/commands/DeleteTableCommand.d.ts +22 -0
- package/dist-types/commands/GetKeyspaceCommand.d.ts +17 -0
- package/dist-types/commands/GetTableCommand.d.ts +17 -0
- package/dist-types/commands/ListKeyspacesCommand.d.ts +17 -0
- package/dist-types/commands/ListTablesCommand.d.ts +17 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +17 -0
- package/dist-types/commands/RestoreTableCommand.d.ts +49 -10
- package/dist-types/commands/TagResourceCommand.d.ts +17 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +22 -0
- package/dist-types/commands/UpdateTableCommand.d.ts +22 -0
- package/dist-types/endpoint/EndpointParameters.d.ts +1 -1
- package/dist-types/models/models_0.d.ts +336 -99
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +1 -1
- package/dist-types/ts3.4/models/models_0.d.ts +12 -0
- package/package.json +29 -29
|
@@ -17,8 +17,7 @@ export interface RestoreTableCommandOutput extends RestoreTableResponse, __Metad
|
|
|
17
17
|
* <p>Restores the specified table to the specified point in time within the
|
|
18
18
|
* <code>earliest_restorable_timestamp</code> and the current time. For more information about restore points, see
|
|
19
19
|
* <a href="https://docs.aws.amazon.com/keyspaces/latest/devguide/PointInTimeRecovery_HowItWorks.html#howitworks_backup_window">
|
|
20
|
-
* Time window for PITR continuous backups</a> in the <i>Amazon Keyspaces Developer Guide</i
|
|
21
|
-
* </p>
|
|
20
|
+
* Time window for PITR continuous backups</a> in the <i>Amazon Keyspaces Developer Guide</i>.</p>
|
|
22
21
|
* <p>Any number of users can execute up to 4 concurrent restores (any type of restore) in a given account.</p>
|
|
23
22
|
* <p>When you restore using point in time recovery,
|
|
24
23
|
* Amazon Keyspaces restores your source table's schema and data to the state
|
|
@@ -31,19 +30,37 @@ export interface RestoreTableCommandOutput extends RestoreTableResponse, __Metad
|
|
|
31
30
|
* these settings are always restored based on the table's settings as of the current time or when the table was deleted.</p>
|
|
32
31
|
* <p>You can also overwrite
|
|
33
32
|
* these settings during restore:</p>
|
|
34
|
-
* <
|
|
35
|
-
*
|
|
36
|
-
*
|
|
37
|
-
*
|
|
33
|
+
* <ul>
|
|
34
|
+
* <li>
|
|
35
|
+
* <p>Read/write capacity mode</p>
|
|
36
|
+
* </li>
|
|
37
|
+
* <li>
|
|
38
|
+
* <p>Provisioned throughput capacity settings</p>
|
|
39
|
+
* </li>
|
|
40
|
+
* <li>
|
|
41
|
+
* <p>Point-in-time (PITR) settings</p>
|
|
42
|
+
* </li>
|
|
43
|
+
* <li>
|
|
44
|
+
* <p>Tags</p>
|
|
45
|
+
* </li>
|
|
46
|
+
* </ul>
|
|
38
47
|
* <p>For more
|
|
39
48
|
* 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
49
|
* Guide</i>.</p>
|
|
41
50
|
* <p>Note that the following settings are not restored, and you must configure them manually for
|
|
42
51
|
* the new table:</p>
|
|
43
|
-
* <
|
|
44
|
-
*
|
|
45
|
-
*
|
|
46
|
-
*
|
|
52
|
+
* <ul>
|
|
53
|
+
* <li>
|
|
54
|
+
* <p>Automatic scaling policies (for tables that use provisioned capacity
|
|
55
|
+
* mode)</p>
|
|
56
|
+
* </li>
|
|
57
|
+
* <li>
|
|
58
|
+
* <p>Identity and Access Management (IAM) policies</p>
|
|
59
|
+
* </li>
|
|
60
|
+
* <li>
|
|
61
|
+
* <p>Amazon CloudWatch metrics and alarms</p>
|
|
62
|
+
* </li>
|
|
63
|
+
* </ul>
|
|
47
64
|
* @example
|
|
48
65
|
* Use a bare-bones client and the command you need to make an API call.
|
|
49
66
|
* ```javascript
|
|
@@ -58,6 +75,28 @@ export interface RestoreTableCommandOutput extends RestoreTableResponse, __Metad
|
|
|
58
75
|
* @see {@link RestoreTableCommandOutput} for command's `response` shape.
|
|
59
76
|
* @see {@link KeyspacesClientResolvedConfig | config} for KeyspacesClient's `config` shape.
|
|
60
77
|
*
|
|
78
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
79
|
+
* <p>You do not have sufficient access to perform this action. </p>
|
|
80
|
+
*
|
|
81
|
+
* @throws {@link ConflictException} (client fault)
|
|
82
|
+
* <p>Amazon Keyspaces could not complete the requested action. This error may occur if you try to
|
|
83
|
+
* perform an action and the same or a different action is already
|
|
84
|
+
* in progress, or if you try to create a resource that already exists. </p>
|
|
85
|
+
*
|
|
86
|
+
* @throws {@link InternalServerException} (server fault)
|
|
87
|
+
* <p>Amazon Keyspaces was unable to fully process this request because of an internal server error.</p>
|
|
88
|
+
*
|
|
89
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
90
|
+
* <p>The operation tried to access a keyspace or table that doesn't exist. The resource might not be specified correctly, or its status might not be <code>ACTIVE</code>.</p>
|
|
91
|
+
*
|
|
92
|
+
* @throws {@link ServiceQuotaExceededException} (client fault)
|
|
93
|
+
* <p>The operation exceeded the service quota for this resource. For more information on service quotas, see <a href="https://docs.aws.amazon.com/keyspaces/latest/devguide/quotas.html">Quotas</a> in the <i>Amazon Keyspaces Developer
|
|
94
|
+
* Guide</i>.</p>
|
|
95
|
+
*
|
|
96
|
+
* @throws {@link ValidationException} (client fault)
|
|
97
|
+
* <p>The operation failed due to an invalid or malformed request.</p>
|
|
98
|
+
*
|
|
99
|
+
*
|
|
61
100
|
*/
|
|
62
101
|
export declare class RestoreTableCommand extends $Command<RestoreTableCommandInput, RestoreTableCommandOutput, KeyspacesClientResolvedConfig> {
|
|
63
102
|
readonly input: RestoreTableCommandInput;
|
|
@@ -35,6 +35,23 @@ export interface TagResourceCommandOutput extends TagResourceResponse, __Metadat
|
|
|
35
35
|
* @see {@link TagResourceCommandOutput} for command's `response` shape.
|
|
36
36
|
* @see {@link KeyspacesClientResolvedConfig | config} for KeyspacesClient's `config` shape.
|
|
37
37
|
*
|
|
38
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
39
|
+
* <p>You do not have sufficient access to perform this action. </p>
|
|
40
|
+
*
|
|
41
|
+
* @throws {@link InternalServerException} (server fault)
|
|
42
|
+
* <p>Amazon Keyspaces was unable to fully process this request because of an internal server error.</p>
|
|
43
|
+
*
|
|
44
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
45
|
+
* <p>The operation tried to access a keyspace or table that doesn't exist. The resource might not be specified correctly, or its status might not be <code>ACTIVE</code>.</p>
|
|
46
|
+
*
|
|
47
|
+
* @throws {@link ServiceQuotaExceededException} (client fault)
|
|
48
|
+
* <p>The operation exceeded the service quota for this resource. For more information on service quotas, see <a href="https://docs.aws.amazon.com/keyspaces/latest/devguide/quotas.html">Quotas</a> in the <i>Amazon Keyspaces Developer
|
|
49
|
+
* Guide</i>.</p>
|
|
50
|
+
*
|
|
51
|
+
* @throws {@link ValidationException} (client fault)
|
|
52
|
+
* <p>The operation failed due to an invalid or malformed request.</p>
|
|
53
|
+
*
|
|
54
|
+
*
|
|
38
55
|
*/
|
|
39
56
|
export declare class TagResourceCommand extends $Command<TagResourceCommandInput, TagResourceCommandOutput, KeyspacesClientResolvedConfig> {
|
|
40
57
|
readonly input: TagResourceCommandInput;
|
|
@@ -29,6 +29,28 @@ export interface UntagResourceCommandOutput extends UntagResourceResponse, __Met
|
|
|
29
29
|
* @see {@link UntagResourceCommandOutput} for command's `response` shape.
|
|
30
30
|
* @see {@link KeyspacesClientResolvedConfig | config} for KeyspacesClient's `config` shape.
|
|
31
31
|
*
|
|
32
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
33
|
+
* <p>You do not have sufficient access to perform this action. </p>
|
|
34
|
+
*
|
|
35
|
+
* @throws {@link ConflictException} (client fault)
|
|
36
|
+
* <p>Amazon Keyspaces could not complete the requested action. This error may occur if you try to
|
|
37
|
+
* perform an action and the same or a different action is already
|
|
38
|
+
* in progress, or if you try to create a resource that already exists. </p>
|
|
39
|
+
*
|
|
40
|
+
* @throws {@link InternalServerException} (server fault)
|
|
41
|
+
* <p>Amazon Keyspaces was unable to fully process this request because of an internal server error.</p>
|
|
42
|
+
*
|
|
43
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
44
|
+
* <p>The operation tried to access a keyspace or table that doesn't exist. The resource might not be specified correctly, or its status might not be <code>ACTIVE</code>.</p>
|
|
45
|
+
*
|
|
46
|
+
* @throws {@link ServiceQuotaExceededException} (client fault)
|
|
47
|
+
* <p>The operation exceeded the service quota for this resource. For more information on service quotas, see <a href="https://docs.aws.amazon.com/keyspaces/latest/devguide/quotas.html">Quotas</a> in the <i>Amazon Keyspaces Developer
|
|
48
|
+
* Guide</i>.</p>
|
|
49
|
+
*
|
|
50
|
+
* @throws {@link ValidationException} (client fault)
|
|
51
|
+
* <p>The operation failed due to an invalid or malformed request.</p>
|
|
52
|
+
*
|
|
53
|
+
*
|
|
32
54
|
*/
|
|
33
55
|
export declare class UntagResourceCommand extends $Command<UntagResourceCommandInput, UntagResourceCommandOutput, KeyspacesClientResolvedConfig> {
|
|
34
56
|
readonly input: UntagResourceCommandInput;
|
|
@@ -31,6 +31,28 @@ export interface UpdateTableCommandOutput extends UpdateTableResponse, __Metadat
|
|
|
31
31
|
* @see {@link UpdateTableCommandOutput} for command's `response` shape.
|
|
32
32
|
* @see {@link KeyspacesClientResolvedConfig | config} for KeyspacesClient's `config` shape.
|
|
33
33
|
*
|
|
34
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
35
|
+
* <p>You do not have sufficient access to perform this action. </p>
|
|
36
|
+
*
|
|
37
|
+
* @throws {@link ConflictException} (client fault)
|
|
38
|
+
* <p>Amazon Keyspaces could not complete the requested action. This error may occur if you try to
|
|
39
|
+
* perform an action and the same or a different action is already
|
|
40
|
+
* in progress, or if you try to create a resource that already exists. </p>
|
|
41
|
+
*
|
|
42
|
+
* @throws {@link InternalServerException} (server fault)
|
|
43
|
+
* <p>Amazon Keyspaces was unable to fully process this request because of an internal server error.</p>
|
|
44
|
+
*
|
|
45
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
46
|
+
* <p>The operation tried to access a keyspace or table that doesn't exist. The resource might not be specified correctly, or its status might not be <code>ACTIVE</code>.</p>
|
|
47
|
+
*
|
|
48
|
+
* @throws {@link ServiceQuotaExceededException} (client fault)
|
|
49
|
+
* <p>The operation exceeded the service quota for this resource. For more information on service quotas, see <a href="https://docs.aws.amazon.com/keyspaces/latest/devguide/quotas.html">Quotas</a> in the <i>Amazon Keyspaces Developer
|
|
50
|
+
* Guide</i>.</p>
|
|
51
|
+
*
|
|
52
|
+
* @throws {@link ValidationException} (client fault)
|
|
53
|
+
* <p>The operation failed due to an invalid or malformed request.</p>
|
|
54
|
+
*
|
|
55
|
+
*
|
|
34
56
|
*/
|
|
35
57
|
export declare class UpdateTableCommand extends $Command<UpdateTableCommandInput, UpdateTableCommandOutput, KeyspacesClientResolvedConfig> {
|
|
36
58
|
readonly input: UpdateTableCommandInput;
|
|
@@ -12,7 +12,7 @@ export declare const resolveClientEndpointParameters: <T>(options: T & ClientInp
|
|
|
12
12
|
defaultSigningName: string;
|
|
13
13
|
};
|
|
14
14
|
export interface EndpointParameters extends __EndpointParameters {
|
|
15
|
-
Region
|
|
15
|
+
Region?: string;
|
|
16
16
|
UseDualStack?: boolean;
|
|
17
17
|
UseFIPS?: boolean;
|
|
18
18
|
Endpoint?: string;
|