@aws-sdk/client-keyspaces 3.490.0 → 3.495.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 +8 -0
- package/dist-cjs/Keyspaces.js +1 -37
- package/dist-cjs/KeyspacesClient.js +1 -43
- package/dist-cjs/commands/CreateKeyspaceCommand.js +1 -28
- package/dist-cjs/commands/CreateTableCommand.js +1 -28
- package/dist-cjs/commands/DeleteKeyspaceCommand.js +1 -28
- package/dist-cjs/commands/DeleteTableCommand.js +1 -28
- package/dist-cjs/commands/GetKeyspaceCommand.js +1 -28
- package/dist-cjs/commands/GetTableAutoScalingSettingsCommand.js +1 -0
- package/dist-cjs/commands/GetTableCommand.js +1 -28
- package/dist-cjs/commands/ListKeyspacesCommand.js +1 -28
- package/dist-cjs/commands/ListTablesCommand.js +1 -28
- package/dist-cjs/commands/ListTagsForResourceCommand.js +1 -28
- package/dist-cjs/commands/RestoreTableCommand.js +1 -28
- package/dist-cjs/commands/TagResourceCommand.js +1 -28
- package/dist-cjs/commands/UntagResourceCommand.js +1 -28
- package/dist-cjs/commands/UpdateTableCommand.js +1 -28
- package/dist-cjs/commands/index.js +1 -16
- package/dist-cjs/endpoint/EndpointParameters.js +1 -18
- package/dist-cjs/extensionConfiguration.js +1 -2
- package/dist-cjs/index.js +1647 -11
- package/dist-cjs/models/KeyspacesServiceException.js +1 -12
- package/dist-cjs/models/index.js +1 -4
- package/dist-cjs/models/models_0.js +1 -118
- package/dist-cjs/pagination/Interfaces.js +1 -2
- package/dist-cjs/pagination/ListKeyspacesPaginator.js +1 -7
- package/dist-cjs/pagination/ListTablesPaginator.js +1 -7
- package/dist-cjs/pagination/ListTagsForResourcePaginator.js +1 -7
- package/dist-cjs/pagination/index.js +1 -7
- package/dist-cjs/protocols/Aws_json1_0.js +1 -871
- package/dist-cjs/runtimeExtensions.js +1 -22
- package/dist-es/Keyspaces.js +2 -0
- package/dist-es/commands/GetTableAutoScalingSettingsCommand.js +24 -0
- package/dist-es/commands/index.js +1 -0
- package/dist-es/protocols/Aws_json1_0.js +194 -3
- package/dist-types/Keyspaces.d.ts +7 -0
- package/dist-types/KeyspacesClient.d.ts +3 -2
- package/dist-types/commands/CreateKeyspaceCommand.d.ts +2 -2
- package/dist-types/commands/CreateTableCommand.d.ts +49 -2
- package/dist-types/commands/DeleteKeyspaceCommand.d.ts +2 -2
- package/dist-types/commands/DeleteTableCommand.d.ts +2 -2
- package/dist-types/commands/GetKeyspaceCommand.d.ts +1 -1
- package/dist-types/commands/GetTableAutoScalingSettingsCommand.d.ts +142 -0
- package/dist-types/commands/GetTableCommand.d.ts +13 -1
- package/dist-types/commands/ListKeyspacesCommand.d.ts +1 -1
- package/dist-types/commands/ListTablesCommand.d.ts +1 -1
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -1
- package/dist-types/commands/RestoreTableCommand.d.ts +55 -9
- package/dist-types/commands/TagResourceCommand.d.ts +1 -1
- package/dist-types/commands/UntagResourceCommand.d.ts +2 -2
- package/dist-types/commands/UpdateTableCommand.d.ts +50 -3
- package/dist-types/commands/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +362 -2
- package/dist-types/protocols/Aws_json1_0.d.ts +9 -0
- package/dist-types/ts3.4/Keyspaces.d.ts +17 -0
- package/dist-types/ts3.4/KeyspacesClient.d.ts +6 -0
- package/dist-types/ts3.4/commands/GetTableAutoScalingSettingsCommand.d.ts +30 -0
- package/dist-types/ts3.4/commands/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +51 -0
- package/dist-types/ts3.4/protocols/Aws_json1_0.d.ts +12 -0
- package/package.json +40 -40
|
@@ -1,22 +1 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.resolveRuntimeExtensions = void 0;
|
|
4
|
-
const region_config_resolver_1 = require("@aws-sdk/region-config-resolver");
|
|
5
|
-
const protocol_http_1 = require("@smithy/protocol-http");
|
|
6
|
-
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
|
-
const asPartial = (t) => t;
|
|
8
|
-
const resolveRuntimeExtensions = (runtimeConfig, extensions) => {
|
|
9
|
-
const extensionConfiguration = {
|
|
10
|
-
...asPartial((0, region_config_resolver_1.getAwsRegionExtensionConfiguration)(runtimeConfig)),
|
|
11
|
-
...asPartial((0, smithy_client_1.getDefaultExtensionConfiguration)(runtimeConfig)),
|
|
12
|
-
...asPartial((0, protocol_http_1.getHttpHandlerExtensionConfiguration)(runtimeConfig)),
|
|
13
|
-
};
|
|
14
|
-
extensions.forEach((extension) => extension.configure(extensionConfiguration));
|
|
15
|
-
return {
|
|
16
|
-
...runtimeConfig,
|
|
17
|
-
...(0, region_config_resolver_1.resolveAwsRegionExtensionConfiguration)(extensionConfiguration),
|
|
18
|
-
...(0, smithy_client_1.resolveDefaultRuntimeConfig)(extensionConfiguration),
|
|
19
|
-
...(0, protocol_http_1.resolveHttpHandlerRuntimeConfig)(extensionConfiguration),
|
|
20
|
-
};
|
|
21
|
-
};
|
|
22
|
-
exports.resolveRuntimeExtensions = resolveRuntimeExtensions;
|
|
1
|
+
module.exports = require("./index.js");
|
package/dist-es/Keyspaces.js
CHANGED
|
@@ -4,6 +4,7 @@ import { CreateTableCommand } from "./commands/CreateTableCommand";
|
|
|
4
4
|
import { DeleteKeyspaceCommand, } from "./commands/DeleteKeyspaceCommand";
|
|
5
5
|
import { DeleteTableCommand } from "./commands/DeleteTableCommand";
|
|
6
6
|
import { GetKeyspaceCommand } from "./commands/GetKeyspaceCommand";
|
|
7
|
+
import { GetTableAutoScalingSettingsCommand, } from "./commands/GetTableAutoScalingSettingsCommand";
|
|
7
8
|
import { GetTableCommand } from "./commands/GetTableCommand";
|
|
8
9
|
import { ListKeyspacesCommand, } from "./commands/ListKeyspacesCommand";
|
|
9
10
|
import { ListTablesCommand } from "./commands/ListTablesCommand";
|
|
@@ -20,6 +21,7 @@ const commands = {
|
|
|
20
21
|
DeleteTableCommand,
|
|
21
22
|
GetKeyspaceCommand,
|
|
22
23
|
GetTableCommand,
|
|
24
|
+
GetTableAutoScalingSettingsCommand,
|
|
23
25
|
ListKeyspacesCommand,
|
|
24
26
|
ListTablesCommand,
|
|
25
27
|
ListTagsForResourceCommand,
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { de_GetTableAutoScalingSettingsCommand, se_GetTableAutoScalingSettingsCommand } from "../protocols/Aws_json1_0";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class GetTableAutoScalingSettingsCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("KeyspacesService", "GetTableAutoScalingSettings", {})
|
|
19
|
+
.n("KeyspacesClient", "GetTableAutoScalingSettingsCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_GetTableAutoScalingSettingsCommand)
|
|
22
|
+
.de(de_GetTableAutoScalingSettingsCommand)
|
|
23
|
+
.build() {
|
|
24
|
+
}
|
|
@@ -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";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { HttpRequest as __HttpRequest } from "@smithy/protocol-http";
|
|
2
|
-
import { _json, collectBody, decorateServiceException as __decorateServiceException, expectInt32 as __expectInt32, expectLong as __expectLong, expectNonNull as __expectNonNull, expectNumber as __expectNumber, expectString as __expectString, parseEpochTimestamp as __parseEpochTimestamp, take, withBaseException, } from "@smithy/smithy-client";
|
|
2
|
+
import { _json, collectBody, decorateServiceException as __decorateServiceException, expectBoolean as __expectBoolean, expectInt32 as __expectInt32, expectLong as __expectLong, expectNonNull as __expectNonNull, expectNumber as __expectNumber, expectString as __expectString, limitedParseDouble as __limitedParseDouble, parseEpochTimestamp as __parseEpochTimestamp, serializeFloat as __serializeFloat, take, withBaseException, } from "@smithy/smithy-client";
|
|
3
3
|
import { KeyspacesServiceException as __BaseException } from "../models/KeyspacesServiceException";
|
|
4
4
|
import { AccessDeniedException, ConflictException, InternalServerException, ResourceNotFoundException, ServiceQuotaExceededException, ValidationException, } from "../models/models_0";
|
|
5
5
|
export const se_CreateKeyspaceCommand = async (input, context) => {
|
|
@@ -11,7 +11,7 @@ export const se_CreateKeyspaceCommand = async (input, context) => {
|
|
|
11
11
|
export const se_CreateTableCommand = async (input, context) => {
|
|
12
12
|
const headers = sharedHeaders("CreateTable");
|
|
13
13
|
let body;
|
|
14
|
-
body = JSON.stringify(
|
|
14
|
+
body = JSON.stringify(se_CreateTableRequest(input, context));
|
|
15
15
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
16
16
|
};
|
|
17
17
|
export const se_DeleteKeyspaceCommand = async (input, context) => {
|
|
@@ -38,6 +38,12 @@ export const se_GetTableCommand = async (input, context) => {
|
|
|
38
38
|
body = JSON.stringify(_json(input));
|
|
39
39
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
40
40
|
};
|
|
41
|
+
export const se_GetTableAutoScalingSettingsCommand = async (input, context) => {
|
|
42
|
+
const headers = sharedHeaders("GetTableAutoScalingSettings");
|
|
43
|
+
let body;
|
|
44
|
+
body = JSON.stringify(_json(input));
|
|
45
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
46
|
+
};
|
|
41
47
|
export const se_ListKeyspacesCommand = async (input, context) => {
|
|
42
48
|
const headers = sharedHeaders("ListKeyspaces");
|
|
43
49
|
let body;
|
|
@@ -77,7 +83,7 @@ export const se_UntagResourceCommand = async (input, context) => {
|
|
|
77
83
|
export const se_UpdateTableCommand = async (input, context) => {
|
|
78
84
|
const headers = sharedHeaders("UpdateTable");
|
|
79
85
|
let body;
|
|
80
|
-
body = JSON.stringify(
|
|
86
|
+
body = JSON.stringify(se_UpdateTableRequest(input, context));
|
|
81
87
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
82
88
|
};
|
|
83
89
|
export const de_CreateKeyspaceCommand = async (output, context) => {
|
|
@@ -353,6 +359,50 @@ const de_GetTableCommandError = async (output, context) => {
|
|
|
353
359
|
});
|
|
354
360
|
}
|
|
355
361
|
};
|
|
362
|
+
export const de_GetTableAutoScalingSettingsCommand = async (output, context) => {
|
|
363
|
+
if (output.statusCode >= 300) {
|
|
364
|
+
return de_GetTableAutoScalingSettingsCommandError(output, context);
|
|
365
|
+
}
|
|
366
|
+
const data = await parseBody(output.body, context);
|
|
367
|
+
let contents = {};
|
|
368
|
+
contents = de_GetTableAutoScalingSettingsResponse(data, context);
|
|
369
|
+
const response = {
|
|
370
|
+
$metadata: deserializeMetadata(output),
|
|
371
|
+
...contents,
|
|
372
|
+
};
|
|
373
|
+
return response;
|
|
374
|
+
};
|
|
375
|
+
const de_GetTableAutoScalingSettingsCommandError = async (output, context) => {
|
|
376
|
+
const parsedOutput = {
|
|
377
|
+
...output,
|
|
378
|
+
body: await parseErrorBody(output.body, context),
|
|
379
|
+
};
|
|
380
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
381
|
+
switch (errorCode) {
|
|
382
|
+
case "AccessDeniedException":
|
|
383
|
+
case "com.amazonaws.keyspaces#AccessDeniedException":
|
|
384
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
385
|
+
case "InternalServerException":
|
|
386
|
+
case "com.amazonaws.keyspaces#InternalServerException":
|
|
387
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
388
|
+
case "ResourceNotFoundException":
|
|
389
|
+
case "com.amazonaws.keyspaces#ResourceNotFoundException":
|
|
390
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
391
|
+
case "ServiceQuotaExceededException":
|
|
392
|
+
case "com.amazonaws.keyspaces#ServiceQuotaExceededException":
|
|
393
|
+
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
394
|
+
case "ValidationException":
|
|
395
|
+
case "com.amazonaws.keyspaces#ValidationException":
|
|
396
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
397
|
+
default:
|
|
398
|
+
const parsedBody = parsedOutput.body;
|
|
399
|
+
return throwDefaultError({
|
|
400
|
+
output,
|
|
401
|
+
parsedBody,
|
|
402
|
+
errorCode,
|
|
403
|
+
});
|
|
404
|
+
}
|
|
405
|
+
};
|
|
356
406
|
export const de_ListKeyspacesCommand = async (output, context) => {
|
|
357
407
|
if (output.statusCode >= 300) {
|
|
358
408
|
return de_ListKeyspacesCommandError(output, context);
|
|
@@ -724,11 +774,63 @@ const de_ValidationExceptionRes = async (parsedOutput, context) => {
|
|
|
724
774
|
});
|
|
725
775
|
return __decorateServiceException(exception, body);
|
|
726
776
|
};
|
|
777
|
+
const se_AutoScalingPolicy = (input, context) => {
|
|
778
|
+
return take(input, {
|
|
779
|
+
targetTrackingScalingPolicyConfiguration: (_) => se_TargetTrackingScalingPolicyConfiguration(_, context),
|
|
780
|
+
});
|
|
781
|
+
};
|
|
782
|
+
const se_AutoScalingSettings = (input, context) => {
|
|
783
|
+
return take(input, {
|
|
784
|
+
autoScalingDisabled: [],
|
|
785
|
+
maximumUnits: [],
|
|
786
|
+
minimumUnits: [],
|
|
787
|
+
scalingPolicy: (_) => se_AutoScalingPolicy(_, context),
|
|
788
|
+
});
|
|
789
|
+
};
|
|
790
|
+
const se_AutoScalingSpecification = (input, context) => {
|
|
791
|
+
return take(input, {
|
|
792
|
+
readCapacityAutoScaling: (_) => se_AutoScalingSettings(_, context),
|
|
793
|
+
writeCapacityAutoScaling: (_) => se_AutoScalingSettings(_, context),
|
|
794
|
+
});
|
|
795
|
+
};
|
|
796
|
+
const se_CreateTableRequest = (input, context) => {
|
|
797
|
+
return take(input, {
|
|
798
|
+
autoScalingSpecification: (_) => se_AutoScalingSpecification(_, context),
|
|
799
|
+
capacitySpecification: _json,
|
|
800
|
+
clientSideTimestamps: _json,
|
|
801
|
+
comment: _json,
|
|
802
|
+
defaultTimeToLive: [],
|
|
803
|
+
encryptionSpecification: _json,
|
|
804
|
+
keyspaceName: [],
|
|
805
|
+
pointInTimeRecovery: _json,
|
|
806
|
+
replicaSpecifications: (_) => se_ReplicaSpecificationList(_, context),
|
|
807
|
+
schemaDefinition: _json,
|
|
808
|
+
tableName: [],
|
|
809
|
+
tags: _json,
|
|
810
|
+
ttl: _json,
|
|
811
|
+
});
|
|
812
|
+
};
|
|
813
|
+
const se_ReplicaSpecification = (input, context) => {
|
|
814
|
+
return take(input, {
|
|
815
|
+
readCapacityAutoScaling: (_) => se_AutoScalingSettings(_, context),
|
|
816
|
+
readCapacityUnits: [],
|
|
817
|
+
region: [],
|
|
818
|
+
});
|
|
819
|
+
};
|
|
820
|
+
const se_ReplicaSpecificationList = (input, context) => {
|
|
821
|
+
return input
|
|
822
|
+
.filter((e) => e != null)
|
|
823
|
+
.map((entry) => {
|
|
824
|
+
return se_ReplicaSpecification(entry, context);
|
|
825
|
+
});
|
|
826
|
+
};
|
|
727
827
|
const se_RestoreTableRequest = (input, context) => {
|
|
728
828
|
return take(input, {
|
|
829
|
+
autoScalingSpecification: (_) => se_AutoScalingSpecification(_, context),
|
|
729
830
|
capacitySpecificationOverride: _json,
|
|
730
831
|
encryptionSpecificationOverride: _json,
|
|
731
832
|
pointInTimeRecoveryOverride: _json,
|
|
833
|
+
replicaSpecifications: (_) => se_ReplicaSpecificationList(_, context),
|
|
732
834
|
restoreTimestamp: (_) => Math.round(_.getTime() / 1000),
|
|
733
835
|
sourceKeyspaceName: [],
|
|
734
836
|
sourceTableName: [],
|
|
@@ -737,6 +839,48 @@ const se_RestoreTableRequest = (input, context) => {
|
|
|
737
839
|
targetTableName: [],
|
|
738
840
|
});
|
|
739
841
|
};
|
|
842
|
+
const se_TargetTrackingScalingPolicyConfiguration = (input, context) => {
|
|
843
|
+
return take(input, {
|
|
844
|
+
disableScaleIn: [],
|
|
845
|
+
scaleInCooldown: [],
|
|
846
|
+
scaleOutCooldown: [],
|
|
847
|
+
targetValue: __serializeFloat,
|
|
848
|
+
});
|
|
849
|
+
};
|
|
850
|
+
const se_UpdateTableRequest = (input, context) => {
|
|
851
|
+
return take(input, {
|
|
852
|
+
addColumns: _json,
|
|
853
|
+
autoScalingSpecification: (_) => se_AutoScalingSpecification(_, context),
|
|
854
|
+
capacitySpecification: _json,
|
|
855
|
+
clientSideTimestamps: _json,
|
|
856
|
+
defaultTimeToLive: [],
|
|
857
|
+
encryptionSpecification: _json,
|
|
858
|
+
keyspaceName: [],
|
|
859
|
+
pointInTimeRecovery: _json,
|
|
860
|
+
replicaSpecifications: (_) => se_ReplicaSpecificationList(_, context),
|
|
861
|
+
tableName: [],
|
|
862
|
+
ttl: _json,
|
|
863
|
+
});
|
|
864
|
+
};
|
|
865
|
+
const de_AutoScalingPolicy = (output, context) => {
|
|
866
|
+
return take(output, {
|
|
867
|
+
targetTrackingScalingPolicyConfiguration: (_) => de_TargetTrackingScalingPolicyConfiguration(_, context),
|
|
868
|
+
});
|
|
869
|
+
};
|
|
870
|
+
const de_AutoScalingSettings = (output, context) => {
|
|
871
|
+
return take(output, {
|
|
872
|
+
autoScalingDisabled: __expectBoolean,
|
|
873
|
+
maximumUnits: __expectLong,
|
|
874
|
+
minimumUnits: __expectLong,
|
|
875
|
+
scalingPolicy: (_) => de_AutoScalingPolicy(_, context),
|
|
876
|
+
});
|
|
877
|
+
};
|
|
878
|
+
const de_AutoScalingSpecification = (output, context) => {
|
|
879
|
+
return take(output, {
|
|
880
|
+
readCapacityAutoScaling: (_) => de_AutoScalingSettings(_, context),
|
|
881
|
+
writeCapacityAutoScaling: (_) => de_AutoScalingSettings(_, context),
|
|
882
|
+
});
|
|
883
|
+
};
|
|
740
884
|
const de_CapacitySpecificationSummary = (output, context) => {
|
|
741
885
|
return take(output, {
|
|
742
886
|
lastUpdateToPayPerRequestTimestamp: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
@@ -745,6 +889,15 @@ const de_CapacitySpecificationSummary = (output, context) => {
|
|
|
745
889
|
writeCapacityUnits: __expectLong,
|
|
746
890
|
});
|
|
747
891
|
};
|
|
892
|
+
const de_GetTableAutoScalingSettingsResponse = (output, context) => {
|
|
893
|
+
return take(output, {
|
|
894
|
+
autoScalingSpecification: (_) => de_AutoScalingSpecification(_, context),
|
|
895
|
+
keyspaceName: __expectString,
|
|
896
|
+
replicaSpecifications: (_) => de_ReplicaAutoScalingSpecificationList(_, context),
|
|
897
|
+
resourceArn: __expectString,
|
|
898
|
+
tableName: __expectString,
|
|
899
|
+
});
|
|
900
|
+
};
|
|
748
901
|
const de_GetTableResponse = (output, context) => {
|
|
749
902
|
return take(output, {
|
|
750
903
|
capacitySpecification: (_) => de_CapacitySpecificationSummary(_, context),
|
|
@@ -755,6 +908,7 @@ const de_GetTableResponse = (output, context) => {
|
|
|
755
908
|
encryptionSpecification: _json,
|
|
756
909
|
keyspaceName: __expectString,
|
|
757
910
|
pointInTimeRecovery: (_) => de_PointInTimeRecoverySummary(_, context),
|
|
911
|
+
replicaSpecifications: (_) => de_ReplicaSpecificationSummaryList(_, context),
|
|
758
912
|
resourceArn: __expectString,
|
|
759
913
|
schemaDefinition: _json,
|
|
760
914
|
status: __expectString,
|
|
@@ -768,6 +922,43 @@ const de_PointInTimeRecoverySummary = (output, context) => {
|
|
|
768
922
|
status: __expectString,
|
|
769
923
|
});
|
|
770
924
|
};
|
|
925
|
+
const de_ReplicaAutoScalingSpecification = (output, context) => {
|
|
926
|
+
return take(output, {
|
|
927
|
+
autoScalingSpecification: (_) => de_AutoScalingSpecification(_, context),
|
|
928
|
+
region: __expectString,
|
|
929
|
+
});
|
|
930
|
+
};
|
|
931
|
+
const de_ReplicaAutoScalingSpecificationList = (output, context) => {
|
|
932
|
+
const retVal = (output || [])
|
|
933
|
+
.filter((e) => e != null)
|
|
934
|
+
.map((entry) => {
|
|
935
|
+
return de_ReplicaAutoScalingSpecification(entry, context);
|
|
936
|
+
});
|
|
937
|
+
return retVal;
|
|
938
|
+
};
|
|
939
|
+
const de_ReplicaSpecificationSummary = (output, context) => {
|
|
940
|
+
return take(output, {
|
|
941
|
+
capacitySpecification: (_) => de_CapacitySpecificationSummary(_, context),
|
|
942
|
+
region: __expectString,
|
|
943
|
+
status: __expectString,
|
|
944
|
+
});
|
|
945
|
+
};
|
|
946
|
+
const de_ReplicaSpecificationSummaryList = (output, context) => {
|
|
947
|
+
const retVal = (output || [])
|
|
948
|
+
.filter((e) => e != null)
|
|
949
|
+
.map((entry) => {
|
|
950
|
+
return de_ReplicaSpecificationSummary(entry, context);
|
|
951
|
+
});
|
|
952
|
+
return retVal;
|
|
953
|
+
};
|
|
954
|
+
const de_TargetTrackingScalingPolicyConfiguration = (output, context) => {
|
|
955
|
+
return take(output, {
|
|
956
|
+
disableScaleIn: __expectBoolean,
|
|
957
|
+
scaleInCooldown: __expectInt32,
|
|
958
|
+
scaleOutCooldown: __expectInt32,
|
|
959
|
+
targetValue: __limitedParseDouble,
|
|
960
|
+
});
|
|
961
|
+
};
|
|
771
962
|
const deserializeMetadata = (output) => ({
|
|
772
963
|
httpStatusCode: output.statusCode,
|
|
773
964
|
requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
|
|
@@ -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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
+
}
|