@aws-sdk/client-keyspaces 3.490.0 → 3.494.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 (35) hide show
  1. package/README.md +8 -0
  2. package/dist-cjs/Keyspaces.js +2 -0
  3. package/dist-cjs/commands/GetTableAutoScalingSettingsCommand.js +28 -0
  4. package/dist-cjs/commands/index.js +1 -0
  5. package/dist-cjs/protocols/Aws_json1_0.js +196 -3
  6. package/dist-es/Keyspaces.js +2 -0
  7. package/dist-es/commands/GetTableAutoScalingSettingsCommand.js +24 -0
  8. package/dist-es/commands/index.js +1 -0
  9. package/dist-es/protocols/Aws_json1_0.js +194 -3
  10. package/dist-types/Keyspaces.d.ts +7 -0
  11. package/dist-types/KeyspacesClient.d.ts +3 -2
  12. package/dist-types/commands/CreateKeyspaceCommand.d.ts +2 -2
  13. package/dist-types/commands/CreateTableCommand.d.ts +49 -2
  14. package/dist-types/commands/DeleteKeyspaceCommand.d.ts +2 -2
  15. package/dist-types/commands/DeleteTableCommand.d.ts +2 -2
  16. package/dist-types/commands/GetKeyspaceCommand.d.ts +1 -1
  17. package/dist-types/commands/GetTableAutoScalingSettingsCommand.d.ts +142 -0
  18. package/dist-types/commands/GetTableCommand.d.ts +13 -1
  19. package/dist-types/commands/ListKeyspacesCommand.d.ts +1 -1
  20. package/dist-types/commands/ListTablesCommand.d.ts +1 -1
  21. package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -1
  22. package/dist-types/commands/RestoreTableCommand.d.ts +55 -9
  23. package/dist-types/commands/TagResourceCommand.d.ts +1 -1
  24. package/dist-types/commands/UntagResourceCommand.d.ts +2 -2
  25. package/dist-types/commands/UpdateTableCommand.d.ts +50 -3
  26. package/dist-types/commands/index.d.ts +1 -0
  27. package/dist-types/models/models_0.d.ts +362 -2
  28. package/dist-types/protocols/Aws_json1_0.d.ts +9 -0
  29. package/dist-types/ts3.4/Keyspaces.d.ts +17 -0
  30. package/dist-types/ts3.4/KeyspacesClient.d.ts +6 -0
  31. package/dist-types/ts3.4/commands/GetTableAutoScalingSettingsCommand.d.ts +30 -0
  32. package/dist-types/ts3.4/commands/index.d.ts +1 -0
  33. package/dist-types/ts3.4/models/models_0.d.ts +51 -0
  34. package/dist-types/ts3.4/protocols/Aws_json1_0.d.ts +12 -0
  35. package/package.json +1 -1
@@ -4,6 +4,7 @@ import { CreateTableCommandInput, CreateTableCommandOutput } from "./commands/Cr
4
4
  import { DeleteKeyspaceCommandInput, DeleteKeyspaceCommandOutput } from "./commands/DeleteKeyspaceCommand";
5
5
  import { DeleteTableCommandInput, DeleteTableCommandOutput } from "./commands/DeleteTableCommand";
6
6
  import { GetKeyspaceCommandInput, GetKeyspaceCommandOutput } from "./commands/GetKeyspaceCommand";
7
+ import { GetTableAutoScalingSettingsCommandInput, GetTableAutoScalingSettingsCommandOutput } from "./commands/GetTableAutoScalingSettingsCommand";
7
8
  import { GetTableCommandInput, GetTableCommandOutput } from "./commands/GetTableCommand";
8
9
  import { ListKeyspacesCommandInput, ListKeyspacesCommandOutput } from "./commands/ListKeyspacesCommand";
9
10
  import { ListTablesCommandInput, ListTablesCommandOutput } from "./commands/ListTablesCommand";
@@ -50,6 +51,12 @@ export interface Keyspaces {
50
51
  getTable(args: GetTableCommandInput, options?: __HttpHandlerOptions): Promise<GetTableCommandOutput>;
51
52
  getTable(args: GetTableCommandInput, cb: (err: any, data?: GetTableCommandOutput) => void): void;
52
53
  getTable(args: GetTableCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetTableCommandOutput) => void): void;
54
+ /**
55
+ * @see {@link GetTableAutoScalingSettingsCommand}
56
+ */
57
+ getTableAutoScalingSettings(args: GetTableAutoScalingSettingsCommandInput, options?: __HttpHandlerOptions): Promise<GetTableAutoScalingSettingsCommandOutput>;
58
+ getTableAutoScalingSettings(args: GetTableAutoScalingSettingsCommandInput, cb: (err: any, data?: GetTableAutoScalingSettingsCommandOutput) => void): void;
59
+ getTableAutoScalingSettings(args: GetTableAutoScalingSettingsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetTableAutoScalingSettingsCommandOutput) => void): void;
53
60
  /**
54
61
  * @see {@link ListKeyspacesCommand}
55
62
  */
@@ -13,6 +13,7 @@ import { CreateTableCommandInput, CreateTableCommandOutput } from "./commands/Cr
13
13
  import { DeleteKeyspaceCommandInput, DeleteKeyspaceCommandOutput } from "./commands/DeleteKeyspaceCommand";
14
14
  import { DeleteTableCommandInput, DeleteTableCommandOutput } from "./commands/DeleteTableCommand";
15
15
  import { GetKeyspaceCommandInput, GetKeyspaceCommandOutput } from "./commands/GetKeyspaceCommand";
16
+ import { GetTableAutoScalingSettingsCommandInput, GetTableAutoScalingSettingsCommandOutput } from "./commands/GetTableAutoScalingSettingsCommand";
16
17
  import { GetTableCommandInput, GetTableCommandOutput } from "./commands/GetTableCommand";
17
18
  import { ListKeyspacesCommandInput, ListKeyspacesCommandOutput } from "./commands/ListKeyspacesCommand";
18
19
  import { ListTablesCommandInput, ListTablesCommandOutput } from "./commands/ListTablesCommand";
@@ -27,11 +28,11 @@ export { __Client };
27
28
  /**
28
29
  * @public
29
30
  */
30
- export type ServiceInputTypes = CreateKeyspaceCommandInput | CreateTableCommandInput | DeleteKeyspaceCommandInput | DeleteTableCommandInput | GetKeyspaceCommandInput | GetTableCommandInput | ListKeyspacesCommandInput | ListTablesCommandInput | ListTagsForResourceCommandInput | RestoreTableCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateTableCommandInput;
31
+ export type ServiceInputTypes = CreateKeyspaceCommandInput | CreateTableCommandInput | DeleteKeyspaceCommandInput | DeleteTableCommandInput | GetKeyspaceCommandInput | GetTableAutoScalingSettingsCommandInput | GetTableCommandInput | ListKeyspacesCommandInput | ListTablesCommandInput | ListTagsForResourceCommandInput | RestoreTableCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateTableCommandInput;
31
32
  /**
32
33
  * @public
33
34
  */
34
- export type ServiceOutputTypes = CreateKeyspaceCommandOutput | CreateTableCommandOutput | DeleteKeyspaceCommandOutput | DeleteTableCommandOutput | GetKeyspaceCommandOutput | GetTableCommandOutput | ListKeyspacesCommandOutput | ListTablesCommandOutput | ListTagsForResourceCommandOutput | RestoreTableCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateTableCommandOutput;
35
+ export type ServiceOutputTypes = CreateKeyspaceCommandOutput | CreateTableCommandOutput | DeleteKeyspaceCommandOutput | DeleteTableCommandOutput | GetKeyspaceCommandOutput | GetTableAutoScalingSettingsCommandOutput | GetTableCommandOutput | ListKeyspacesCommandOutput | ListTablesCommandOutput | ListTagsForResourceCommandOutput | RestoreTableCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateTableCommandOutput;
35
36
  /**
36
37
  * @public
37
38
  */
@@ -69,10 +69,10 @@ declare const CreateKeyspaceCommand_base: {
69
69
  * @see {@link KeyspacesClientResolvedConfig | config} for KeyspacesClient's `config` shape.
70
70
  *
71
71
  * @throws {@link AccessDeniedException} (client fault)
72
- * <p>You do not have sufficient access to perform this action. </p>
72
+ * <p>You don't have sufficient access permissions to perform this action. </p>
73
73
  *
74
74
  * @throws {@link ConflictException} (client fault)
75
- * <p>Amazon Keyspaces could not complete the requested action. This error may occur if you try to
75
+ * <p>Amazon Keyspaces couldn't complete the requested action. This error may occur if you try to
76
76
  * perform an action and the same or a different action is already
77
77
  * in progress, or if you try to create a resource that already exists. </p>
78
78
  *
@@ -95,6 +95,53 @@ declare const CreateTableCommand_base: {
95
95
  * clientSideTimestamps: { // ClientSideTimestamps
96
96
  * status: "STRING_VALUE", // required
97
97
  * },
98
+ * autoScalingSpecification: { // AutoScalingSpecification
99
+ * writeCapacityAutoScaling: { // AutoScalingSettings
100
+ * autoScalingDisabled: true || false,
101
+ * minimumUnits: Number("long"),
102
+ * maximumUnits: Number("long"),
103
+ * scalingPolicy: { // AutoScalingPolicy
104
+ * targetTrackingScalingPolicyConfiguration: { // TargetTrackingScalingPolicyConfiguration
105
+ * disableScaleIn: true || false,
106
+ * scaleInCooldown: Number("int"),
107
+ * scaleOutCooldown: Number("int"),
108
+ * targetValue: Number("double"), // required
109
+ * },
110
+ * },
111
+ * },
112
+ * readCapacityAutoScaling: {
113
+ * autoScalingDisabled: true || false,
114
+ * minimumUnits: Number("long"),
115
+ * maximumUnits: Number("long"),
116
+ * scalingPolicy: {
117
+ * targetTrackingScalingPolicyConfiguration: {
118
+ * disableScaleIn: true || false,
119
+ * scaleInCooldown: Number("int"),
120
+ * scaleOutCooldown: Number("int"),
121
+ * targetValue: Number("double"), // required
122
+ * },
123
+ * },
124
+ * },
125
+ * },
126
+ * replicaSpecifications: [ // ReplicaSpecificationList
127
+ * { // ReplicaSpecification
128
+ * region: "STRING_VALUE", // required
129
+ * readCapacityUnits: Number("long"),
130
+ * readCapacityAutoScaling: {
131
+ * autoScalingDisabled: true || false,
132
+ * minimumUnits: Number("long"),
133
+ * maximumUnits: Number("long"),
134
+ * scalingPolicy: {
135
+ * targetTrackingScalingPolicyConfiguration: {
136
+ * disableScaleIn: true || false,
137
+ * scaleInCooldown: Number("int"),
138
+ * scaleOutCooldown: Number("int"),
139
+ * targetValue: Number("double"), // required
140
+ * },
141
+ * },
142
+ * },
143
+ * },
144
+ * ],
98
145
  * };
99
146
  * const command = new CreateTableCommand(input);
100
147
  * const response = await client.send(command);
@@ -111,10 +158,10 @@ declare const CreateTableCommand_base: {
111
158
  * @see {@link KeyspacesClientResolvedConfig | config} for KeyspacesClient's `config` shape.
112
159
  *
113
160
  * @throws {@link AccessDeniedException} (client fault)
114
- * <p>You do not have sufficient access to perform this action. </p>
161
+ * <p>You don't have sufficient access permissions to perform this action. </p>
115
162
  *
116
163
  * @throws {@link ConflictException} (client fault)
117
- * <p>Amazon Keyspaces could not complete the requested action. This error may occur if you try to
164
+ * <p>Amazon Keyspaces couldn't complete the requested action. This error may occur if you try to
118
165
  * perform an action and the same or a different action is already
119
166
  * in progress, or if you try to create a resource that already exists. </p>
120
167
  *
@@ -49,10 +49,10 @@ declare const DeleteKeyspaceCommand_base: {
49
49
  * @see {@link KeyspacesClientResolvedConfig | config} for KeyspacesClient's `config` shape.
50
50
  *
51
51
  * @throws {@link AccessDeniedException} (client fault)
52
- * <p>You do not have sufficient access to perform this action. </p>
52
+ * <p>You don't have sufficient access permissions to perform this action. </p>
53
53
  *
54
54
  * @throws {@link ConflictException} (client fault)
55
- * <p>Amazon Keyspaces could not complete the requested action. This error may occur if you try to
55
+ * <p>Amazon Keyspaces couldn't complete the requested action. This error may occur if you try to
56
56
  * perform an action and the same or a different action is already
57
57
  * in progress, or if you try to create a resource that already exists. </p>
58
58
  *
@@ -54,10 +54,10 @@ declare const DeleteTableCommand_base: {
54
54
  * @see {@link KeyspacesClientResolvedConfig | config} for KeyspacesClient's `config` shape.
55
55
  *
56
56
  * @throws {@link AccessDeniedException} (client fault)
57
- * <p>You do not have sufficient access to perform this action. </p>
57
+ * <p>You don't have sufficient access permissions to perform this action. </p>
58
58
  *
59
59
  * @throws {@link ConflictException} (client fault)
60
- * <p>Amazon Keyspaces could not complete the requested action. This error may occur if you try to
60
+ * <p>Amazon Keyspaces couldn't complete the requested action. This error may occur if you try to
61
61
  * perform an action and the same or a different action is already
62
62
  * in progress, or if you try to create a resource that already exists. </p>
63
63
  *
@@ -56,7 +56,7 @@ declare const GetKeyspaceCommand_base: {
56
56
  * @see {@link KeyspacesClientResolvedConfig | config} for KeyspacesClient's `config` shape.
57
57
  *
58
58
  * @throws {@link AccessDeniedException} (client fault)
59
- * <p>You do not have sufficient access to perform this action. </p>
59
+ * <p>You don't have sufficient access permissions to perform this action. </p>
60
60
  *
61
61
  * @throws {@link InternalServerException} (server fault)
62
62
  * <p>Amazon Keyspaces was unable to fully process this request because of an internal server error.</p>
@@ -0,0 +1,142 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { KeyspacesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../KeyspacesClient";
4
+ import { GetTableAutoScalingSettingsRequest, GetTableAutoScalingSettingsResponse } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export { __MetadataBearer, $Command };
9
+ /**
10
+ * @public
11
+ *
12
+ * The input for {@link GetTableAutoScalingSettingsCommand}.
13
+ */
14
+ export interface GetTableAutoScalingSettingsCommandInput extends GetTableAutoScalingSettingsRequest {
15
+ }
16
+ /**
17
+ * @public
18
+ *
19
+ * The output of {@link GetTableAutoScalingSettingsCommand}.
20
+ */
21
+ export interface GetTableAutoScalingSettingsCommandOutput extends GetTableAutoScalingSettingsResponse, __MetadataBearer {
22
+ }
23
+ declare const GetTableAutoScalingSettingsCommand_base: {
24
+ new (input: GetTableAutoScalingSettingsCommandInput): import("@smithy/smithy-client").CommandImpl<GetTableAutoScalingSettingsCommandInput, GetTableAutoScalingSettingsCommandOutput, KeyspacesClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
27
+ /**
28
+ * @public
29
+ * <p>Returns auto scaling related settings of the specified table in JSON format. If the table is a multi-Region table, the
30
+ * Amazon Web Services Region specific auto scaling settings of the table are included.</p>
31
+ * <p>Amazon Keyspaces auto scaling helps you provision throughput capacity for variable workloads efficiently by increasing and decreasing
32
+ * your table's read and write capacity automatically in response to application traffic. For more information, see <a href="https://docs.aws.amazon.com/keyspaces/latest/devguide/autoscaling.html">Managing throughput capacity automatically with Amazon Keyspaces auto scaling</a> in the <i>Amazon Keyspaces Developer
33
+ * Guide</i>.</p>
34
+ * @example
35
+ * Use a bare-bones client and the command you need to make an API call.
36
+ * ```javascript
37
+ * import { KeyspacesClient, GetTableAutoScalingSettingsCommand } from "@aws-sdk/client-keyspaces"; // ES Modules import
38
+ * // const { KeyspacesClient, GetTableAutoScalingSettingsCommand } = require("@aws-sdk/client-keyspaces"); // CommonJS import
39
+ * const client = new KeyspacesClient(config);
40
+ * const input = { // GetTableAutoScalingSettingsRequest
41
+ * keyspaceName: "STRING_VALUE", // required
42
+ * tableName: "STRING_VALUE", // required
43
+ * };
44
+ * const command = new GetTableAutoScalingSettingsCommand(input);
45
+ * const response = await client.send(command);
46
+ * // { // GetTableAutoScalingSettingsResponse
47
+ * // keyspaceName: "STRING_VALUE", // required
48
+ * // tableName: "STRING_VALUE", // required
49
+ * // resourceArn: "STRING_VALUE", // required
50
+ * // autoScalingSpecification: { // AutoScalingSpecification
51
+ * // writeCapacityAutoScaling: { // AutoScalingSettings
52
+ * // autoScalingDisabled: true || false,
53
+ * // minimumUnits: Number("long"),
54
+ * // maximumUnits: Number("long"),
55
+ * // scalingPolicy: { // AutoScalingPolicy
56
+ * // targetTrackingScalingPolicyConfiguration: { // TargetTrackingScalingPolicyConfiguration
57
+ * // disableScaleIn: true || false,
58
+ * // scaleInCooldown: Number("int"),
59
+ * // scaleOutCooldown: Number("int"),
60
+ * // targetValue: Number("double"), // required
61
+ * // },
62
+ * // },
63
+ * // },
64
+ * // readCapacityAutoScaling: {
65
+ * // autoScalingDisabled: true || false,
66
+ * // minimumUnits: Number("long"),
67
+ * // maximumUnits: Number("long"),
68
+ * // scalingPolicy: {
69
+ * // targetTrackingScalingPolicyConfiguration: {
70
+ * // disableScaleIn: true || false,
71
+ * // scaleInCooldown: Number("int"),
72
+ * // scaleOutCooldown: Number("int"),
73
+ * // targetValue: Number("double"), // required
74
+ * // },
75
+ * // },
76
+ * // },
77
+ * // },
78
+ * // replicaSpecifications: [ // ReplicaAutoScalingSpecificationList
79
+ * // { // ReplicaAutoScalingSpecification
80
+ * // region: "STRING_VALUE",
81
+ * // autoScalingSpecification: {
82
+ * // writeCapacityAutoScaling: {
83
+ * // autoScalingDisabled: true || false,
84
+ * // minimumUnits: Number("long"),
85
+ * // maximumUnits: Number("long"),
86
+ * // scalingPolicy: {
87
+ * // targetTrackingScalingPolicyConfiguration: {
88
+ * // disableScaleIn: true || false,
89
+ * // scaleInCooldown: Number("int"),
90
+ * // scaleOutCooldown: Number("int"),
91
+ * // targetValue: Number("double"), // required
92
+ * // },
93
+ * // },
94
+ * // },
95
+ * // readCapacityAutoScaling: {
96
+ * // autoScalingDisabled: true || false,
97
+ * // minimumUnits: Number("long"),
98
+ * // maximumUnits: Number("long"),
99
+ * // scalingPolicy: {
100
+ * // targetTrackingScalingPolicyConfiguration: {
101
+ * // disableScaleIn: true || false,
102
+ * // scaleInCooldown: Number("int"),
103
+ * // scaleOutCooldown: Number("int"),
104
+ * // targetValue: Number("double"), // required
105
+ * // },
106
+ * // },
107
+ * // },
108
+ * // },
109
+ * // },
110
+ * // ],
111
+ * // };
112
+ *
113
+ * ```
114
+ *
115
+ * @param GetTableAutoScalingSettingsCommandInput - {@link GetTableAutoScalingSettingsCommandInput}
116
+ * @returns {@link GetTableAutoScalingSettingsCommandOutput}
117
+ * @see {@link GetTableAutoScalingSettingsCommandInput} for command's `input` shape.
118
+ * @see {@link GetTableAutoScalingSettingsCommandOutput} for command's `response` shape.
119
+ * @see {@link KeyspacesClientResolvedConfig | config} for KeyspacesClient's `config` shape.
120
+ *
121
+ * @throws {@link AccessDeniedException} (client fault)
122
+ * <p>You don't have sufficient access permissions to perform this action. </p>
123
+ *
124
+ * @throws {@link InternalServerException} (server fault)
125
+ * <p>Amazon Keyspaces was unable to fully process this request because of an internal server error.</p>
126
+ *
127
+ * @throws {@link ResourceNotFoundException} (client fault)
128
+ * <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>
129
+ *
130
+ * @throws {@link ServiceQuotaExceededException} (client fault)
131
+ * <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
132
+ * Guide</i>.</p>
133
+ *
134
+ * @throws {@link ValidationException} (client fault)
135
+ * <p>The operation failed due to an invalid or malformed request.</p>
136
+ *
137
+ * @throws {@link KeyspacesServiceException}
138
+ * <p>Base exception class for all service exceptions from Keyspaces service.</p>
139
+ *
140
+ */
141
+ export declare class GetTableAutoScalingSettingsCommand extends GetTableAutoScalingSettingsCommand_base {
142
+ }
@@ -96,6 +96,18 @@ declare const GetTableCommand_base: {
96
96
  * // clientSideTimestamps: { // ClientSideTimestamps
97
97
  * // status: "STRING_VALUE", // required
98
98
  * // },
99
+ * // replicaSpecifications: [ // ReplicaSpecificationSummaryList
100
+ * // { // ReplicaSpecificationSummary
101
+ * // region: "STRING_VALUE",
102
+ * // status: "STRING_VALUE",
103
+ * // capacitySpecification: {
104
+ * // throughputMode: "STRING_VALUE", // required
105
+ * // readCapacityUnits: Number("long"),
106
+ * // writeCapacityUnits: Number("long"),
107
+ * // lastUpdateToPayPerRequestTimestamp: new Date("TIMESTAMP"),
108
+ * // },
109
+ * // },
110
+ * // ],
99
111
  * // };
100
112
  *
101
113
  * ```
@@ -107,7 +119,7 @@ declare const GetTableCommand_base: {
107
119
  * @see {@link KeyspacesClientResolvedConfig | config} for KeyspacesClient's `config` shape.
108
120
  *
109
121
  * @throws {@link AccessDeniedException} (client fault)
110
- * <p>You do not have sufficient access to perform this action. </p>
122
+ * <p>You don't have sufficient access permissions to perform this action. </p>
111
123
  *
112
124
  * @throws {@link InternalServerException} (server fault)
113
125
  * <p>Amazon Keyspaces was unable to fully process this request because of an internal server error.</p>
@@ -62,7 +62,7 @@ declare const ListKeyspacesCommand_base: {
62
62
  * @see {@link KeyspacesClientResolvedConfig | config} for KeyspacesClient's `config` shape.
63
63
  *
64
64
  * @throws {@link AccessDeniedException} (client fault)
65
- * <p>You do not have sufficient access to perform this action. </p>
65
+ * <p>You don't have sufficient access permissions to perform this action. </p>
66
66
  *
67
67
  * @throws {@link InternalServerException} (server fault)
68
68
  * <p>Amazon Keyspaces was unable to fully process this request because of an internal server error.</p>
@@ -60,7 +60,7 @@ declare const ListTablesCommand_base: {
60
60
  * @see {@link KeyspacesClientResolvedConfig | config} for KeyspacesClient's `config` shape.
61
61
  *
62
62
  * @throws {@link AccessDeniedException} (client fault)
63
- * <p>You do not have sufficient access to perform this action. </p>
63
+ * <p>You don't have sufficient access permissions to perform this action. </p>
64
64
  *
65
65
  * @throws {@link InternalServerException} (server fault)
66
66
  * <p>Amazon Keyspaces was unable to fully process this request because of an internal server error.</p>
@@ -59,7 +59,7 @@ declare const ListTagsForResourceCommand_base: {
59
59
  * @see {@link KeyspacesClientResolvedConfig | config} for KeyspacesClient's `config` shape.
60
60
  *
61
61
  * @throws {@link AccessDeniedException} (client fault)
62
- * <p>You do not have sufficient access to perform this action. </p>
62
+ * <p>You don't have sufficient access permissions to perform this action. </p>
63
63
  *
64
64
  * @throws {@link InternalServerException} (server fault)
65
65
  * <p>Amazon Keyspaces was unable to fully process this request because of an internal server error.</p>
@@ -26,7 +26,7 @@ declare const RestoreTableCommand_base: {
26
26
  };
27
27
  /**
28
28
  * @public
29
- * <p>Restores the specified table to the specified point in time within the
29
+ * <p>Restores the table to the specified point in time within the
30
30
  * <code>earliest_restorable_timestamp</code> and the current time. For more information about restore points, see
31
31
  * <a href="https://docs.aws.amazon.com/keyspaces/latest/devguide/PointInTimeRecovery_HowItWorks.html#howitworks_backup_window">
32
32
  * Time window for PITR continuous backups</a> in the <i>Amazon Keyspaces Developer Guide</i>.</p>
@@ -36,7 +36,7 @@ declare const RestoreTableCommand_base: {
36
36
  * based on the selected timestamp <code>(day:hour:minute:second)</code> to a new table. The Time to Live (TTL) settings
37
37
  * are also restored to the state based on the selected timestamp.</p>
38
38
  * <p>In addition to the table's schema, data, and TTL settings,
39
- * <code>RestoreTable</code> restores the capacity mode, encryption, and
39
+ * <code>RestoreTable</code> restores the capacity mode, auto scaling settings, encryption settings, and
40
40
  * point-in-time recovery settings from the source table.
41
41
  * Unlike the table's schema data and TTL settings, which are restored based on the selected timestamp,
42
42
  * these settings are always restored based on the table's settings as of the current time or when the table was deleted.</p>
@@ -47,7 +47,10 @@ declare const RestoreTableCommand_base: {
47
47
  * <p>Read/write capacity mode</p>
48
48
  * </li>
49
49
  * <li>
50
- * <p>Provisioned throughput capacity settings</p>
50
+ * <p>Provisioned throughput capacity units</p>
51
+ * </li>
52
+ * <li>
53
+ * <p>Auto scaling settings</p>
51
54
  * </li>
52
55
  * <li>
53
56
  * <p>Point-in-time (PITR) settings</p>
@@ -63,10 +66,6 @@ declare const RestoreTableCommand_base: {
63
66
  * the new table:</p>
64
67
  * <ul>
65
68
  * <li>
66
- * <p>Automatic scaling policies (for tables that use provisioned capacity
67
- * mode)</p>
68
- * </li>
69
- * <li>
70
69
  * <p>Identity and Access Management (IAM) policies</p>
71
70
  * </li>
72
71
  * <li>
@@ -103,6 +102,53 @@ declare const RestoreTableCommand_base: {
103
102
  * value: "STRING_VALUE", // required
104
103
  * },
105
104
  * ],
105
+ * autoScalingSpecification: { // AutoScalingSpecification
106
+ * writeCapacityAutoScaling: { // AutoScalingSettings
107
+ * autoScalingDisabled: true || false,
108
+ * minimumUnits: Number("long"),
109
+ * maximumUnits: Number("long"),
110
+ * scalingPolicy: { // AutoScalingPolicy
111
+ * targetTrackingScalingPolicyConfiguration: { // TargetTrackingScalingPolicyConfiguration
112
+ * disableScaleIn: true || false,
113
+ * scaleInCooldown: Number("int"),
114
+ * scaleOutCooldown: Number("int"),
115
+ * targetValue: Number("double"), // required
116
+ * },
117
+ * },
118
+ * },
119
+ * readCapacityAutoScaling: {
120
+ * autoScalingDisabled: true || false,
121
+ * minimumUnits: Number("long"),
122
+ * maximumUnits: Number("long"),
123
+ * scalingPolicy: {
124
+ * targetTrackingScalingPolicyConfiguration: {
125
+ * disableScaleIn: true || false,
126
+ * scaleInCooldown: Number("int"),
127
+ * scaleOutCooldown: Number("int"),
128
+ * targetValue: Number("double"), // required
129
+ * },
130
+ * },
131
+ * },
132
+ * },
133
+ * replicaSpecifications: [ // ReplicaSpecificationList
134
+ * { // ReplicaSpecification
135
+ * region: "STRING_VALUE", // required
136
+ * readCapacityUnits: Number("long"),
137
+ * readCapacityAutoScaling: {
138
+ * autoScalingDisabled: true || false,
139
+ * minimumUnits: Number("long"),
140
+ * maximumUnits: Number("long"),
141
+ * scalingPolicy: {
142
+ * targetTrackingScalingPolicyConfiguration: {
143
+ * disableScaleIn: true || false,
144
+ * scaleInCooldown: Number("int"),
145
+ * scaleOutCooldown: Number("int"),
146
+ * targetValue: Number("double"), // required
147
+ * },
148
+ * },
149
+ * },
150
+ * },
151
+ * ],
106
152
  * };
107
153
  * const command = new RestoreTableCommand(input);
108
154
  * const response = await client.send(command);
@@ -119,10 +165,10 @@ declare const RestoreTableCommand_base: {
119
165
  * @see {@link KeyspacesClientResolvedConfig | config} for KeyspacesClient's `config` shape.
120
166
  *
121
167
  * @throws {@link AccessDeniedException} (client fault)
122
- * <p>You do not have sufficient access to perform this action. </p>
168
+ * <p>You don't have sufficient access permissions to perform this action. </p>
123
169
  *
124
170
  * @throws {@link ConflictException} (client fault)
125
- * <p>Amazon Keyspaces could not complete the requested action. This error may occur if you try to
171
+ * <p>Amazon Keyspaces couldn't complete the requested action. This error may occur if you try to
126
172
  * perform an action and the same or a different action is already
127
173
  * in progress, or if you try to create a resource that already exists. </p>
128
174
  *
@@ -61,7 +61,7 @@ declare const TagResourceCommand_base: {
61
61
  * @see {@link KeyspacesClientResolvedConfig | config} for KeyspacesClient's `config` shape.
62
62
  *
63
63
  * @throws {@link AccessDeniedException} (client fault)
64
- * <p>You do not have sufficient access to perform this action. </p>
64
+ * <p>You don't have sufficient access permissions to perform this action. </p>
65
65
  *
66
66
  * @throws {@link InternalServerException} (server fault)
67
67
  * <p>Amazon Keyspaces was unable to fully process this request because of an internal server error.</p>
@@ -55,10 +55,10 @@ declare const UntagResourceCommand_base: {
55
55
  * @see {@link KeyspacesClientResolvedConfig | config} for KeyspacesClient's `config` shape.
56
56
  *
57
57
  * @throws {@link AccessDeniedException} (client fault)
58
- * <p>You do not have sufficient access to perform this action. </p>
58
+ * <p>You don't have sufficient access permissions to perform this action. </p>
59
59
  *
60
60
  * @throws {@link ConflictException} (client fault)
61
- * <p>Amazon Keyspaces could not complete the requested action. This error may occur if you try to
61
+ * <p>Amazon Keyspaces couldn't complete the requested action. This error may occur if you try to
62
62
  * perform an action and the same or a different action is already
63
63
  * in progress, or if you try to create a resource that already exists. </p>
64
64
  *
@@ -27,7 +27,7 @@ declare const UpdateTableCommand_base: {
27
27
  /**
28
28
  * @public
29
29
  * <p>Adds new columns to the table or updates one of the table's settings, for example
30
- * capacity mode, encryption, point-in-time recovery, or ttl settings.
30
+ * capacity mode, auto scaling, encryption, point-in-time recovery, or ttl settings.
31
31
  * Note that you can only update one specific table setting per update operation.</p>
32
32
  * @example
33
33
  * Use a bare-bones client and the command you need to make an API call.
@@ -63,6 +63,53 @@ declare const UpdateTableCommand_base: {
63
63
  * clientSideTimestamps: { // ClientSideTimestamps
64
64
  * status: "STRING_VALUE", // required
65
65
  * },
66
+ * autoScalingSpecification: { // AutoScalingSpecification
67
+ * writeCapacityAutoScaling: { // AutoScalingSettings
68
+ * autoScalingDisabled: true || false,
69
+ * minimumUnits: Number("long"),
70
+ * maximumUnits: Number("long"),
71
+ * scalingPolicy: { // AutoScalingPolicy
72
+ * targetTrackingScalingPolicyConfiguration: { // TargetTrackingScalingPolicyConfiguration
73
+ * disableScaleIn: true || false,
74
+ * scaleInCooldown: Number("int"),
75
+ * scaleOutCooldown: Number("int"),
76
+ * targetValue: Number("double"), // required
77
+ * },
78
+ * },
79
+ * },
80
+ * readCapacityAutoScaling: {
81
+ * autoScalingDisabled: true || false,
82
+ * minimumUnits: Number("long"),
83
+ * maximumUnits: Number("long"),
84
+ * scalingPolicy: {
85
+ * targetTrackingScalingPolicyConfiguration: {
86
+ * disableScaleIn: true || false,
87
+ * scaleInCooldown: Number("int"),
88
+ * scaleOutCooldown: Number("int"),
89
+ * targetValue: Number("double"), // required
90
+ * },
91
+ * },
92
+ * },
93
+ * },
94
+ * replicaSpecifications: [ // ReplicaSpecificationList
95
+ * { // ReplicaSpecification
96
+ * region: "STRING_VALUE", // required
97
+ * readCapacityUnits: Number("long"),
98
+ * readCapacityAutoScaling: {
99
+ * autoScalingDisabled: true || false,
100
+ * minimumUnits: Number("long"),
101
+ * maximumUnits: Number("long"),
102
+ * scalingPolicy: {
103
+ * targetTrackingScalingPolicyConfiguration: {
104
+ * disableScaleIn: true || false,
105
+ * scaleInCooldown: Number("int"),
106
+ * scaleOutCooldown: Number("int"),
107
+ * targetValue: Number("double"), // required
108
+ * },
109
+ * },
110
+ * },
111
+ * },
112
+ * ],
66
113
  * };
67
114
  * const command = new UpdateTableCommand(input);
68
115
  * const response = await client.send(command);
@@ -79,10 +126,10 @@ declare const UpdateTableCommand_base: {
79
126
  * @see {@link KeyspacesClientResolvedConfig | config} for KeyspacesClient's `config` shape.
80
127
  *
81
128
  * @throws {@link AccessDeniedException} (client fault)
82
- * <p>You do not have sufficient access to perform this action. </p>
129
+ * <p>You don't have sufficient access permissions to perform this action. </p>
83
130
  *
84
131
  * @throws {@link ConflictException} (client fault)
85
- * <p>Amazon Keyspaces could not complete the requested action. This error may occur if you try to
132
+ * <p>Amazon Keyspaces couldn't complete the requested action. This error may occur if you try to
86
133
  * perform an action and the same or a different action is already
87
134
  * in progress, or if you try to create a resource that already exists. </p>
88
135
  *
@@ -3,6 +3,7 @@ export * from "./CreateTableCommand";
3
3
  export * from "./DeleteKeyspaceCommand";
4
4
  export * from "./DeleteTableCommand";
5
5
  export * from "./GetKeyspaceCommand";
6
+ export * from "./GetTableAutoScalingSettingsCommand";
6
7
  export * from "./GetTableCommand";
7
8
  export * from "./ListKeyspacesCommand";
8
9
  export * from "./ListTablesCommand";