@aws-sdk/client-redshift-serverless 3.787.0 → 3.794.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 +40 -0
- package/dist-cjs/index.js +271 -0
- package/dist-es/RedshiftServerless.js +10 -0
- package/dist-es/commands/CreateReservationCommand.js +22 -0
- package/dist-es/commands/GetReservationCommand.js +22 -0
- package/dist-es/commands/GetReservationOfferingCommand.js +22 -0
- package/dist-es/commands/ListReservationOfferingsCommand.js +22 -0
- package/dist-es/commands/ListReservationsCommand.js +22 -0
- package/dist-es/commands/index.js +5 -0
- package/dist-es/models/models_0.js +4 -0
- package/dist-es/pagination/ListReservationOfferingsPaginator.js +4 -0
- package/dist-es/pagination/ListReservationsPaginator.js +4 -0
- package/dist-es/pagination/index.js +2 -0
- package/dist-es/protocols/Aws_json1_1.js +167 -0
- package/dist-types/RedshiftServerless.d.ts +37 -0
- package/dist-types/RedshiftServerlessClient.d.ts +7 -2
- package/dist-types/commands/ConvertRecoveryPointToSnapshotCommand.d.ts +1 -1
- package/dist-types/commands/CreateReservationCommand.d.ts +111 -0
- package/dist-types/commands/CreateSnapshotCommand.d.ts +1 -1
- package/dist-types/commands/GetReservationCommand.d.ts +100 -0
- package/dist-types/commands/GetReservationOfferingCommand.d.ts +91 -0
- package/dist-types/commands/ListReservationOfferingsCommand.d.ts +92 -0
- package/dist-types/commands/ListReservationsCommand.d.ts +100 -0
- package/dist-types/commands/index.d.ts +5 -0
- package/dist-types/models/models_0.d.ts +250 -2
- package/dist-types/pagination/ListReservationOfferingsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListReservationsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +2 -0
- package/dist-types/protocols/Aws_json1_1.d.ts +45 -0
- package/dist-types/ts3.4/RedshiftServerless.d.ts +87 -0
- package/dist-types/ts3.4/RedshiftServerlessClient.d.ts +30 -0
- package/dist-types/ts3.4/commands/CreateReservationCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetReservationCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/GetReservationOfferingCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListReservationOfferingsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListReservationsCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/index.d.ts +5 -0
- package/dist-types/ts3.4/models/models_0.d.ts +58 -0
- package/dist-types/ts3.4/pagination/ListReservationOfferingsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListReservationsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +2 -0
- package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +60 -0
- package/package.json +4 -2
package/README.md
CHANGED
|
@@ -242,6 +242,14 @@ CreateNamespace
|
|
|
242
242
|
|
|
243
243
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/redshift-serverless/command/CreateNamespaceCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-redshift-serverless/Interface/CreateNamespaceCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-redshift-serverless/Interface/CreateNamespaceCommandOutput/)
|
|
244
244
|
|
|
245
|
+
</details>
|
|
246
|
+
<details>
|
|
247
|
+
<summary>
|
|
248
|
+
CreateReservation
|
|
249
|
+
</summary>
|
|
250
|
+
|
|
251
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/redshift-serverless/command/CreateReservationCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-redshift-serverless/Interface/CreateReservationCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-redshift-serverless/Interface/CreateReservationCommandOutput/)
|
|
252
|
+
|
|
245
253
|
</details>
|
|
246
254
|
<details>
|
|
247
255
|
<summary>
|
|
@@ -394,6 +402,22 @@ GetRecoveryPoint
|
|
|
394
402
|
|
|
395
403
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/redshift-serverless/command/GetRecoveryPointCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-redshift-serverless/Interface/GetRecoveryPointCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-redshift-serverless/Interface/GetRecoveryPointCommandOutput/)
|
|
396
404
|
|
|
405
|
+
</details>
|
|
406
|
+
<details>
|
|
407
|
+
<summary>
|
|
408
|
+
GetReservation
|
|
409
|
+
</summary>
|
|
410
|
+
|
|
411
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/redshift-serverless/command/GetReservationCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-redshift-serverless/Interface/GetReservationCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-redshift-serverless/Interface/GetReservationCommandOutput/)
|
|
412
|
+
|
|
413
|
+
</details>
|
|
414
|
+
<details>
|
|
415
|
+
<summary>
|
|
416
|
+
GetReservationOffering
|
|
417
|
+
</summary>
|
|
418
|
+
|
|
419
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/redshift-serverless/command/GetReservationOfferingCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-redshift-serverless/Interface/GetReservationOfferingCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-redshift-serverless/Interface/GetReservationOfferingCommandOutput/)
|
|
420
|
+
|
|
397
421
|
</details>
|
|
398
422
|
<details>
|
|
399
423
|
<summary>
|
|
@@ -490,6 +514,22 @@ ListRecoveryPoints
|
|
|
490
514
|
|
|
491
515
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/redshift-serverless/command/ListRecoveryPointsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-redshift-serverless/Interface/ListRecoveryPointsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-redshift-serverless/Interface/ListRecoveryPointsCommandOutput/)
|
|
492
516
|
|
|
517
|
+
</details>
|
|
518
|
+
<details>
|
|
519
|
+
<summary>
|
|
520
|
+
ListReservationOfferings
|
|
521
|
+
</summary>
|
|
522
|
+
|
|
523
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/redshift-serverless/command/ListReservationOfferingsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-redshift-serverless/Interface/ListReservationOfferingsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-redshift-serverless/Interface/ListReservationOfferingsCommandOutput/)
|
|
524
|
+
|
|
525
|
+
</details>
|
|
526
|
+
<details>
|
|
527
|
+
<summary>
|
|
528
|
+
ListReservations
|
|
529
|
+
</summary>
|
|
530
|
+
|
|
531
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/redshift-serverless/command/ListReservationsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-redshift-serverless/Interface/ListReservationsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-redshift-serverless/Interface/ListReservationsCommandOutput/)
|
|
532
|
+
|
|
493
533
|
</details>
|
|
494
534
|
<details>
|
|
495
535
|
<summary>
|
package/dist-cjs/index.js
CHANGED
|
@@ -29,6 +29,7 @@ __export(index_exports, {
|
|
|
29
29
|
CreateNamespaceCommand: () => CreateNamespaceCommand,
|
|
30
30
|
CreateNamespaceRequestFilterSensitiveLog: () => CreateNamespaceRequestFilterSensitiveLog,
|
|
31
31
|
CreateNamespaceResponseFilterSensitiveLog: () => CreateNamespaceResponseFilterSensitiveLog,
|
|
32
|
+
CreateReservationCommand: () => CreateReservationCommand,
|
|
32
33
|
CreateScheduledActionCommand: () => CreateScheduledActionCommand,
|
|
33
34
|
CreateSnapshotCommand: () => CreateSnapshotCommand,
|
|
34
35
|
CreateSnapshotCopyConfigurationCommand: () => CreateSnapshotCopyConfigurationCommand,
|
|
@@ -51,6 +52,8 @@ __export(index_exports, {
|
|
|
51
52
|
GetNamespaceCommand: () => GetNamespaceCommand,
|
|
52
53
|
GetNamespaceResponseFilterSensitiveLog: () => GetNamespaceResponseFilterSensitiveLog,
|
|
53
54
|
GetRecoveryPointCommand: () => GetRecoveryPointCommand,
|
|
55
|
+
GetReservationCommand: () => GetReservationCommand,
|
|
56
|
+
GetReservationOfferingCommand: () => GetReservationOfferingCommand,
|
|
54
57
|
GetResourcePolicyCommand: () => GetResourcePolicyCommand,
|
|
55
58
|
GetScheduledActionCommand: () => GetScheduledActionCommand,
|
|
56
59
|
GetSnapshotCommand: () => GetSnapshotCommand,
|
|
@@ -68,6 +71,8 @@ __export(index_exports, {
|
|
|
68
71
|
ListNamespacesCommand: () => ListNamespacesCommand,
|
|
69
72
|
ListNamespacesResponseFilterSensitiveLog: () => ListNamespacesResponseFilterSensitiveLog,
|
|
70
73
|
ListRecoveryPointsCommand: () => ListRecoveryPointsCommand,
|
|
74
|
+
ListReservationOfferingsCommand: () => ListReservationOfferingsCommand,
|
|
75
|
+
ListReservationsCommand: () => ListReservationsCommand,
|
|
71
76
|
ListScheduledActionsCommand: () => ListScheduledActionsCommand,
|
|
72
77
|
ListSnapshotCopyConfigurationsCommand: () => ListSnapshotCopyConfigurationsCommand,
|
|
73
78
|
ListSnapshotsCommand: () => ListSnapshotsCommand,
|
|
@@ -80,6 +85,7 @@ __export(index_exports, {
|
|
|
80
85
|
ManagedWorkgroupStatus: () => ManagedWorkgroupStatus,
|
|
81
86
|
NamespaceFilterSensitiveLog: () => NamespaceFilterSensitiveLog,
|
|
82
87
|
NamespaceStatus: () => NamespaceStatus,
|
|
88
|
+
OfferingType: () => OfferingType,
|
|
83
89
|
PerformanceTargetStatus: () => PerformanceTargetStatus,
|
|
84
90
|
PutResourcePolicyCommand: () => PutResourcePolicyCommand,
|
|
85
91
|
RedshiftServerless: () => RedshiftServerless,
|
|
@@ -122,6 +128,8 @@ __export(index_exports, {
|
|
|
122
128
|
paginateListManagedWorkgroups: () => paginateListManagedWorkgroups,
|
|
123
129
|
paginateListNamespaces: () => paginateListNamespaces,
|
|
124
130
|
paginateListRecoveryPoints: () => paginateListRecoveryPoints,
|
|
131
|
+
paginateListReservationOfferings: () => paginateListReservationOfferings,
|
|
132
|
+
paginateListReservations: () => paginateListReservations,
|
|
125
133
|
paginateListScheduledActions: () => paginateListScheduledActions,
|
|
126
134
|
paginateListSnapshotCopyConfigurations: () => paginateListSnapshotCopyConfigurations,
|
|
127
135
|
paginateListSnapshots: () => paginateListSnapshots,
|
|
@@ -285,6 +293,7 @@ var import_middleware_serde = require("@smithy/middleware-serde");
|
|
|
285
293
|
var import_core2 = require("@aws-sdk/core");
|
|
286
294
|
|
|
287
295
|
|
|
296
|
+
var import_uuid = require("uuid");
|
|
288
297
|
|
|
289
298
|
// src/models/models_0.ts
|
|
290
299
|
|
|
@@ -485,6 +494,10 @@ var NamespaceStatus = {
|
|
|
485
494
|
DELETING: "DELETING",
|
|
486
495
|
MODIFYING: "MODIFYING"
|
|
487
496
|
};
|
|
497
|
+
var OfferingType = {
|
|
498
|
+
ALL_UPFRONT: "ALL_UPFRONT",
|
|
499
|
+
NO_UPFRONT: "NO_UPFRONT"
|
|
500
|
+
};
|
|
488
501
|
var Schedule;
|
|
489
502
|
((Schedule2) => {
|
|
490
503
|
Schedule2.visit = /* @__PURE__ */ __name((value, visitor) => {
|
|
@@ -663,6 +676,12 @@ var se_CreateNamespaceCommand = /* @__PURE__ */ __name(async (input, context) =>
|
|
|
663
676
|
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
664
677
|
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
665
678
|
}, "se_CreateNamespaceCommand");
|
|
679
|
+
var se_CreateReservationCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
680
|
+
const headers = sharedHeaders("CreateReservation");
|
|
681
|
+
let body;
|
|
682
|
+
body = JSON.stringify(se_CreateReservationRequest(input, context));
|
|
683
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
684
|
+
}, "se_CreateReservationCommand");
|
|
666
685
|
var se_CreateScheduledActionCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
667
686
|
const headers = sharedHeaders("CreateScheduledAction");
|
|
668
687
|
let body;
|
|
@@ -777,6 +796,18 @@ var se_GetRecoveryPointCommand = /* @__PURE__ */ __name(async (input, context) =
|
|
|
777
796
|
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
778
797
|
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
779
798
|
}, "se_GetRecoveryPointCommand");
|
|
799
|
+
var se_GetReservationCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
800
|
+
const headers = sharedHeaders("GetReservation");
|
|
801
|
+
let body;
|
|
802
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
803
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
804
|
+
}, "se_GetReservationCommand");
|
|
805
|
+
var se_GetReservationOfferingCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
806
|
+
const headers = sharedHeaders("GetReservationOffering");
|
|
807
|
+
let body;
|
|
808
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
809
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
810
|
+
}, "se_GetReservationOfferingCommand");
|
|
780
811
|
var se_GetResourcePolicyCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
781
812
|
const headers = sharedHeaders("GetResourcePolicy");
|
|
782
813
|
let body;
|
|
@@ -849,6 +880,18 @@ var se_ListRecoveryPointsCommand = /* @__PURE__ */ __name(async (input, context)
|
|
|
849
880
|
body = JSON.stringify(se_ListRecoveryPointsRequest(input, context));
|
|
850
881
|
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
851
882
|
}, "se_ListRecoveryPointsCommand");
|
|
883
|
+
var se_ListReservationOfferingsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
884
|
+
const headers = sharedHeaders("ListReservationOfferings");
|
|
885
|
+
let body;
|
|
886
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
887
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
888
|
+
}, "se_ListReservationOfferingsCommand");
|
|
889
|
+
var se_ListReservationsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
890
|
+
const headers = sharedHeaders("ListReservations");
|
|
891
|
+
let body;
|
|
892
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
893
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
894
|
+
}, "se_ListReservationsCommand");
|
|
852
895
|
var se_ListScheduledActionsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
853
896
|
const headers = sharedHeaders("ListScheduledActions");
|
|
854
897
|
let body;
|
|
@@ -1039,6 +1082,19 @@ var de_CreateNamespaceCommand = /* @__PURE__ */ __name(async (output, context) =
|
|
|
1039
1082
|
};
|
|
1040
1083
|
return response;
|
|
1041
1084
|
}, "de_CreateNamespaceCommand");
|
|
1085
|
+
var de_CreateReservationCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1086
|
+
if (output.statusCode >= 300) {
|
|
1087
|
+
return de_CommandError(output, context);
|
|
1088
|
+
}
|
|
1089
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1090
|
+
let contents = {};
|
|
1091
|
+
contents = de_CreateReservationResponse(data, context);
|
|
1092
|
+
const response = {
|
|
1093
|
+
$metadata: deserializeMetadata(output),
|
|
1094
|
+
...contents
|
|
1095
|
+
};
|
|
1096
|
+
return response;
|
|
1097
|
+
}, "de_CreateReservationCommand");
|
|
1042
1098
|
var de_CreateScheduledActionCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1043
1099
|
if (output.statusCode >= 300) {
|
|
1044
1100
|
return de_CommandError(output, context);
|
|
@@ -1286,6 +1342,32 @@ var de_GetRecoveryPointCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
1286
1342
|
};
|
|
1287
1343
|
return response;
|
|
1288
1344
|
}, "de_GetRecoveryPointCommand");
|
|
1345
|
+
var de_GetReservationCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1346
|
+
if (output.statusCode >= 300) {
|
|
1347
|
+
return de_CommandError(output, context);
|
|
1348
|
+
}
|
|
1349
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1350
|
+
let contents = {};
|
|
1351
|
+
contents = de_GetReservationResponse(data, context);
|
|
1352
|
+
const response = {
|
|
1353
|
+
$metadata: deserializeMetadata(output),
|
|
1354
|
+
...contents
|
|
1355
|
+
};
|
|
1356
|
+
return response;
|
|
1357
|
+
}, "de_GetReservationCommand");
|
|
1358
|
+
var de_GetReservationOfferingCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1359
|
+
if (output.statusCode >= 300) {
|
|
1360
|
+
return de_CommandError(output, context);
|
|
1361
|
+
}
|
|
1362
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1363
|
+
let contents = {};
|
|
1364
|
+
contents = de_GetReservationOfferingResponse(data, context);
|
|
1365
|
+
const response = {
|
|
1366
|
+
$metadata: deserializeMetadata(output),
|
|
1367
|
+
...contents
|
|
1368
|
+
};
|
|
1369
|
+
return response;
|
|
1370
|
+
}, "de_GetReservationOfferingCommand");
|
|
1289
1371
|
var de_GetResourcePolicyCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1290
1372
|
if (output.statusCode >= 300) {
|
|
1291
1373
|
return de_CommandError(output, context);
|
|
@@ -1442,6 +1524,32 @@ var de_ListRecoveryPointsCommand = /* @__PURE__ */ __name(async (output, context
|
|
|
1442
1524
|
};
|
|
1443
1525
|
return response;
|
|
1444
1526
|
}, "de_ListRecoveryPointsCommand");
|
|
1527
|
+
var de_ListReservationOfferingsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1528
|
+
if (output.statusCode >= 300) {
|
|
1529
|
+
return de_CommandError(output, context);
|
|
1530
|
+
}
|
|
1531
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1532
|
+
let contents = {};
|
|
1533
|
+
contents = de_ListReservationOfferingsResponse(data, context);
|
|
1534
|
+
const response = {
|
|
1535
|
+
$metadata: deserializeMetadata(output),
|
|
1536
|
+
...contents
|
|
1537
|
+
};
|
|
1538
|
+
return response;
|
|
1539
|
+
}, "de_ListReservationOfferingsCommand");
|
|
1540
|
+
var de_ListReservationsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1541
|
+
if (output.statusCode >= 300) {
|
|
1542
|
+
return de_CommandError(output, context);
|
|
1543
|
+
}
|
|
1544
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
1545
|
+
let contents = {};
|
|
1546
|
+
contents = de_ListReservationsResponse(data, context);
|
|
1547
|
+
const response = {
|
|
1548
|
+
$metadata: deserializeMetadata(output),
|
|
1549
|
+
...contents
|
|
1550
|
+
};
|
|
1551
|
+
return response;
|
|
1552
|
+
}, "de_ListReservationsCommand");
|
|
1445
1553
|
var de_ListScheduledActionsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1446
1554
|
if (output.statusCode >= 300) {
|
|
1447
1555
|
return de_CommandError(output, context);
|
|
@@ -1889,6 +1997,13 @@ var de_ValidationExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, cont
|
|
|
1889
1997
|
});
|
|
1890
1998
|
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
1891
1999
|
}, "de_ValidationExceptionRes");
|
|
2000
|
+
var se_CreateReservationRequest = /* @__PURE__ */ __name((input, context) => {
|
|
2001
|
+
return (0, import_smithy_client.take)(input, {
|
|
2002
|
+
capacity: [],
|
|
2003
|
+
clientToken: [true, (_) => _ ?? (0, import_uuid.v4)()],
|
|
2004
|
+
offeringId: []
|
|
2005
|
+
});
|
|
2006
|
+
}, "se_CreateReservationRequest");
|
|
1892
2007
|
var se_CreateScheduledActionRequest = /* @__PURE__ */ __name((input, context) => {
|
|
1893
2008
|
return (0, import_smithy_client.take)(input, {
|
|
1894
2009
|
enabled: [],
|
|
@@ -1979,6 +2094,11 @@ var de_CreateNamespaceResponse = /* @__PURE__ */ __name((output, context) => {
|
|
|
1979
2094
|
namespace: /* @__PURE__ */ __name((_) => de_Namespace(_, context), "namespace")
|
|
1980
2095
|
});
|
|
1981
2096
|
}, "de_CreateNamespaceResponse");
|
|
2097
|
+
var de_CreateReservationResponse = /* @__PURE__ */ __name((output, context) => {
|
|
2098
|
+
return (0, import_smithy_client.take)(output, {
|
|
2099
|
+
reservation: /* @__PURE__ */ __name((_) => de_Reservation(_, context), "reservation")
|
|
2100
|
+
});
|
|
2101
|
+
}, "de_CreateReservationResponse");
|
|
1982
2102
|
var de_CreateScheduledActionResponse = /* @__PURE__ */ __name((output, context) => {
|
|
1983
2103
|
return (0, import_smithy_client.take)(output, {
|
|
1984
2104
|
scheduledAction: /* @__PURE__ */ __name((_) => de_ScheduledActionResponse(_, context), "scheduledAction")
|
|
@@ -2070,6 +2190,16 @@ var de_GetRecoveryPointResponse = /* @__PURE__ */ __name((output, context) => {
|
|
|
2070
2190
|
recoveryPoint: /* @__PURE__ */ __name((_) => de_RecoveryPoint(_, context), "recoveryPoint")
|
|
2071
2191
|
});
|
|
2072
2192
|
}, "de_GetRecoveryPointResponse");
|
|
2193
|
+
var de_GetReservationOfferingResponse = /* @__PURE__ */ __name((output, context) => {
|
|
2194
|
+
return (0, import_smithy_client.take)(output, {
|
|
2195
|
+
reservationOffering: /* @__PURE__ */ __name((_) => de_ReservationOffering(_, context), "reservationOffering")
|
|
2196
|
+
});
|
|
2197
|
+
}, "de_GetReservationOfferingResponse");
|
|
2198
|
+
var de_GetReservationResponse = /* @__PURE__ */ __name((output, context) => {
|
|
2199
|
+
return (0, import_smithy_client.take)(output, {
|
|
2200
|
+
reservation: /* @__PURE__ */ __name((_) => de_Reservation(_, context), "reservation")
|
|
2201
|
+
});
|
|
2202
|
+
}, "de_GetReservationResponse");
|
|
2073
2203
|
var de_GetScheduledActionResponse = /* @__PURE__ */ __name((output, context) => {
|
|
2074
2204
|
return (0, import_smithy_client.take)(output, {
|
|
2075
2205
|
scheduledAction: /* @__PURE__ */ __name((_) => de_ScheduledActionResponse(_, context), "scheduledAction")
|
|
@@ -2120,6 +2250,18 @@ var de_ListRecoveryPointsResponse = /* @__PURE__ */ __name((output, context) =>
|
|
|
2120
2250
|
recoveryPoints: /* @__PURE__ */ __name((_) => de_RecoveryPointList(_, context), "recoveryPoints")
|
|
2121
2251
|
});
|
|
2122
2252
|
}, "de_ListRecoveryPointsResponse");
|
|
2253
|
+
var de_ListReservationOfferingsResponse = /* @__PURE__ */ __name((output, context) => {
|
|
2254
|
+
return (0, import_smithy_client.take)(output, {
|
|
2255
|
+
nextToken: import_smithy_client.expectString,
|
|
2256
|
+
reservationOfferingsList: /* @__PURE__ */ __name((_) => de_ReservationOfferingsList(_, context), "reservationOfferingsList")
|
|
2257
|
+
});
|
|
2258
|
+
}, "de_ListReservationOfferingsResponse");
|
|
2259
|
+
var de_ListReservationsResponse = /* @__PURE__ */ __name((output, context) => {
|
|
2260
|
+
return (0, import_smithy_client.take)(output, {
|
|
2261
|
+
nextToken: import_smithy_client.expectString,
|
|
2262
|
+
reservationsList: /* @__PURE__ */ __name((_) => de_ReservationsList(_, context), "reservationsList")
|
|
2263
|
+
});
|
|
2264
|
+
}, "de_ListReservationsResponse");
|
|
2123
2265
|
var de_ListSnapshotsResponse = /* @__PURE__ */ __name((output, context) => {
|
|
2124
2266
|
return (0, import_smithy_client.take)(output, {
|
|
2125
2267
|
nextToken: import_smithy_client.expectString,
|
|
@@ -2198,6 +2340,39 @@ var de_RecoveryPointList = /* @__PURE__ */ __name((output, context) => {
|
|
|
2198
2340
|
});
|
|
2199
2341
|
return retVal;
|
|
2200
2342
|
}, "de_RecoveryPointList");
|
|
2343
|
+
var de_Reservation = /* @__PURE__ */ __name((output, context) => {
|
|
2344
|
+
return (0, import_smithy_client.take)(output, {
|
|
2345
|
+
capacity: import_smithy_client.expectInt32,
|
|
2346
|
+
endDate: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "endDate"),
|
|
2347
|
+
offering: /* @__PURE__ */ __name((_) => de_ReservationOffering(_, context), "offering"),
|
|
2348
|
+
reservationArn: import_smithy_client.expectString,
|
|
2349
|
+
reservationId: import_smithy_client.expectString,
|
|
2350
|
+
startDate: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "startDate"),
|
|
2351
|
+
status: import_smithy_client.expectString
|
|
2352
|
+
});
|
|
2353
|
+
}, "de_Reservation");
|
|
2354
|
+
var de_ReservationOffering = /* @__PURE__ */ __name((output, context) => {
|
|
2355
|
+
return (0, import_smithy_client.take)(output, {
|
|
2356
|
+
currencyCode: import_smithy_client.expectString,
|
|
2357
|
+
duration: import_smithy_client.expectInt32,
|
|
2358
|
+
hourlyCharge: import_smithy_client.limitedParseDouble,
|
|
2359
|
+
offeringId: import_smithy_client.expectString,
|
|
2360
|
+
offeringType: import_smithy_client.expectString,
|
|
2361
|
+
upfrontCharge: import_smithy_client.limitedParseDouble
|
|
2362
|
+
});
|
|
2363
|
+
}, "de_ReservationOffering");
|
|
2364
|
+
var de_ReservationOfferingsList = /* @__PURE__ */ __name((output, context) => {
|
|
2365
|
+
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
2366
|
+
return de_ReservationOffering(entry, context);
|
|
2367
|
+
});
|
|
2368
|
+
return retVal;
|
|
2369
|
+
}, "de_ReservationOfferingsList");
|
|
2370
|
+
var de_ReservationsList = /* @__PURE__ */ __name((output, context) => {
|
|
2371
|
+
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
2372
|
+
return de_Reservation(entry, context);
|
|
2373
|
+
});
|
|
2374
|
+
return retVal;
|
|
2375
|
+
}, "de_ReservationsList");
|
|
2201
2376
|
var de_RestoreFromRecoveryPointResponse = /* @__PURE__ */ __name((output, context) => {
|
|
2202
2377
|
return (0, import_smithy_client.take)(output, {
|
|
2203
2378
|
namespace: /* @__PURE__ */ __name((_) => de_Namespace(_, context), "namespace"),
|
|
@@ -2463,6 +2638,21 @@ var CreateNamespaceCommand = class extends import_smithy_client.Command.classBui
|
|
|
2463
2638
|
}
|
|
2464
2639
|
};
|
|
2465
2640
|
|
|
2641
|
+
// src/commands/CreateReservationCommand.ts
|
|
2642
|
+
|
|
2643
|
+
|
|
2644
|
+
|
|
2645
|
+
var CreateReservationCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
2646
|
+
return [
|
|
2647
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2648
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2649
|
+
];
|
|
2650
|
+
}).s("RedshiftServerless", "CreateReservation", {}).n("RedshiftServerlessClient", "CreateReservationCommand").f(void 0, void 0).ser(se_CreateReservationCommand).de(de_CreateReservationCommand).build() {
|
|
2651
|
+
static {
|
|
2652
|
+
__name(this, "CreateReservationCommand");
|
|
2653
|
+
}
|
|
2654
|
+
};
|
|
2655
|
+
|
|
2466
2656
|
// src/commands/CreateScheduledActionCommand.ts
|
|
2467
2657
|
|
|
2468
2658
|
|
|
@@ -2748,6 +2938,36 @@ var GetRecoveryPointCommand = class extends import_smithy_client.Command.classBu
|
|
|
2748
2938
|
}
|
|
2749
2939
|
};
|
|
2750
2940
|
|
|
2941
|
+
// src/commands/GetReservationCommand.ts
|
|
2942
|
+
|
|
2943
|
+
|
|
2944
|
+
|
|
2945
|
+
var GetReservationCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
2946
|
+
return [
|
|
2947
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2948
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2949
|
+
];
|
|
2950
|
+
}).s("RedshiftServerless", "GetReservation", {}).n("RedshiftServerlessClient", "GetReservationCommand").f(void 0, void 0).ser(se_GetReservationCommand).de(de_GetReservationCommand).build() {
|
|
2951
|
+
static {
|
|
2952
|
+
__name(this, "GetReservationCommand");
|
|
2953
|
+
}
|
|
2954
|
+
};
|
|
2955
|
+
|
|
2956
|
+
// src/commands/GetReservationOfferingCommand.ts
|
|
2957
|
+
|
|
2958
|
+
|
|
2959
|
+
|
|
2960
|
+
var GetReservationOfferingCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
2961
|
+
return [
|
|
2962
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2963
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2964
|
+
];
|
|
2965
|
+
}).s("RedshiftServerless", "GetReservationOffering", {}).n("RedshiftServerlessClient", "GetReservationOfferingCommand").f(void 0, void 0).ser(se_GetReservationOfferingCommand).de(de_GetReservationOfferingCommand).build() {
|
|
2966
|
+
static {
|
|
2967
|
+
__name(this, "GetReservationOfferingCommand");
|
|
2968
|
+
}
|
|
2969
|
+
};
|
|
2970
|
+
|
|
2751
2971
|
// src/commands/GetResourcePolicyCommand.ts
|
|
2752
2972
|
|
|
2753
2973
|
|
|
@@ -2928,6 +3148,36 @@ var ListRecoveryPointsCommand = class extends import_smithy_client.Command.class
|
|
|
2928
3148
|
}
|
|
2929
3149
|
};
|
|
2930
3150
|
|
|
3151
|
+
// src/commands/ListReservationOfferingsCommand.ts
|
|
3152
|
+
|
|
3153
|
+
|
|
3154
|
+
|
|
3155
|
+
var ListReservationOfferingsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
3156
|
+
return [
|
|
3157
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3158
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3159
|
+
];
|
|
3160
|
+
}).s("RedshiftServerless", "ListReservationOfferings", {}).n("RedshiftServerlessClient", "ListReservationOfferingsCommand").f(void 0, void 0).ser(se_ListReservationOfferingsCommand).de(de_ListReservationOfferingsCommand).build() {
|
|
3161
|
+
static {
|
|
3162
|
+
__name(this, "ListReservationOfferingsCommand");
|
|
3163
|
+
}
|
|
3164
|
+
};
|
|
3165
|
+
|
|
3166
|
+
// src/commands/ListReservationsCommand.ts
|
|
3167
|
+
|
|
3168
|
+
|
|
3169
|
+
|
|
3170
|
+
var ListReservationsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
3171
|
+
return [
|
|
3172
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3173
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3174
|
+
];
|
|
3175
|
+
}).s("RedshiftServerless", "ListReservations", {}).n("RedshiftServerlessClient", "ListReservationsCommand").f(void 0, void 0).ser(se_ListReservationsCommand).de(de_ListReservationsCommand).build() {
|
|
3176
|
+
static {
|
|
3177
|
+
__name(this, "ListReservationsCommand");
|
|
3178
|
+
}
|
|
3179
|
+
};
|
|
3180
|
+
|
|
2931
3181
|
// src/commands/ListScheduledActionsCommand.ts
|
|
2932
3182
|
|
|
2933
3183
|
|
|
@@ -3279,6 +3529,7 @@ var commands = {
|
|
|
3279
3529
|
CreateCustomDomainAssociationCommand,
|
|
3280
3530
|
CreateEndpointAccessCommand,
|
|
3281
3531
|
CreateNamespaceCommand,
|
|
3532
|
+
CreateReservationCommand,
|
|
3282
3533
|
CreateScheduledActionCommand,
|
|
3283
3534
|
CreateSnapshotCommand,
|
|
3284
3535
|
CreateSnapshotCopyConfigurationCommand,
|
|
@@ -3298,6 +3549,8 @@ var commands = {
|
|
|
3298
3549
|
GetEndpointAccessCommand,
|
|
3299
3550
|
GetNamespaceCommand,
|
|
3300
3551
|
GetRecoveryPointCommand,
|
|
3552
|
+
GetReservationCommand,
|
|
3553
|
+
GetReservationOfferingCommand,
|
|
3301
3554
|
GetResourcePolicyCommand,
|
|
3302
3555
|
GetScheduledActionCommand,
|
|
3303
3556
|
GetSnapshotCommand,
|
|
@@ -3310,6 +3563,8 @@ var commands = {
|
|
|
3310
3563
|
ListManagedWorkgroupsCommand,
|
|
3311
3564
|
ListNamespacesCommand,
|
|
3312
3565
|
ListRecoveryPointsCommand,
|
|
3566
|
+
ListReservationOfferingsCommand,
|
|
3567
|
+
ListReservationsCommand,
|
|
3313
3568
|
ListScheduledActionsCommand,
|
|
3314
3569
|
ListSnapshotCopyConfigurationsCommand,
|
|
3315
3570
|
ListSnapshotsCommand,
|
|
@@ -3361,6 +3616,14 @@ var paginateListNamespaces = (0, import_core.createPaginator)(RedshiftServerless
|
|
|
3361
3616
|
|
|
3362
3617
|
var paginateListRecoveryPoints = (0, import_core.createPaginator)(RedshiftServerlessClient, ListRecoveryPointsCommand, "nextToken", "nextToken", "maxResults");
|
|
3363
3618
|
|
|
3619
|
+
// src/pagination/ListReservationOfferingsPaginator.ts
|
|
3620
|
+
|
|
3621
|
+
var paginateListReservationOfferings = (0, import_core.createPaginator)(RedshiftServerlessClient, ListReservationOfferingsCommand, "nextToken", "nextToken", "maxResults");
|
|
3622
|
+
|
|
3623
|
+
// src/pagination/ListReservationsPaginator.ts
|
|
3624
|
+
|
|
3625
|
+
var paginateListReservations = (0, import_core.createPaginator)(RedshiftServerlessClient, ListReservationsCommand, "nextToken", "nextToken", "maxResults");
|
|
3626
|
+
|
|
3364
3627
|
// src/pagination/ListScheduledActionsPaginator.ts
|
|
3365
3628
|
|
|
3366
3629
|
var paginateListScheduledActions = (0, import_core.createPaginator)(RedshiftServerlessClient, ListScheduledActionsCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -3400,6 +3663,7 @@ var paginateListWorkgroups = (0, import_core.createPaginator)(RedshiftServerless
|
|
|
3400
3663
|
CreateCustomDomainAssociationCommand,
|
|
3401
3664
|
CreateEndpointAccessCommand,
|
|
3402
3665
|
CreateNamespaceCommand,
|
|
3666
|
+
CreateReservationCommand,
|
|
3403
3667
|
CreateScheduledActionCommand,
|
|
3404
3668
|
CreateSnapshotCommand,
|
|
3405
3669
|
CreateSnapshotCopyConfigurationCommand,
|
|
@@ -3419,6 +3683,8 @@ var paginateListWorkgroups = (0, import_core.createPaginator)(RedshiftServerless
|
|
|
3419
3683
|
GetEndpointAccessCommand,
|
|
3420
3684
|
GetNamespaceCommand,
|
|
3421
3685
|
GetRecoveryPointCommand,
|
|
3686
|
+
GetReservationCommand,
|
|
3687
|
+
GetReservationOfferingCommand,
|
|
3422
3688
|
GetResourcePolicyCommand,
|
|
3423
3689
|
GetScheduledActionCommand,
|
|
3424
3690
|
GetSnapshotCommand,
|
|
@@ -3431,6 +3697,8 @@ var paginateListWorkgroups = (0, import_core.createPaginator)(RedshiftServerless
|
|
|
3431
3697
|
ListManagedWorkgroupsCommand,
|
|
3432
3698
|
ListNamespacesCommand,
|
|
3433
3699
|
ListRecoveryPointsCommand,
|
|
3700
|
+
ListReservationOfferingsCommand,
|
|
3701
|
+
ListReservationsCommand,
|
|
3434
3702
|
ListScheduledActionsCommand,
|
|
3435
3703
|
ListSnapshotCopyConfigurationsCommand,
|
|
3436
3704
|
ListSnapshotsCommand,
|
|
@@ -3459,6 +3727,8 @@ var paginateListWorkgroups = (0, import_core.createPaginator)(RedshiftServerless
|
|
|
3459
3727
|
paginateListManagedWorkgroups,
|
|
3460
3728
|
paginateListNamespaces,
|
|
3461
3729
|
paginateListRecoveryPoints,
|
|
3730
|
+
paginateListReservationOfferings,
|
|
3731
|
+
paginateListReservations,
|
|
3462
3732
|
paginateListScheduledActions,
|
|
3463
3733
|
paginateListSnapshotCopyConfigurations,
|
|
3464
3734
|
paginateListSnapshots,
|
|
@@ -3477,6 +3747,7 @@ var paginateListWorkgroups = (0, import_core.createPaginator)(RedshiftServerless
|
|
|
3477
3747
|
ThrottlingException,
|
|
3478
3748
|
LogExport,
|
|
3479
3749
|
NamespaceStatus,
|
|
3750
|
+
OfferingType,
|
|
3480
3751
|
Schedule,
|
|
3481
3752
|
TargetAction,
|
|
3482
3753
|
State,
|
|
@@ -3,6 +3,7 @@ import { ConvertRecoveryPointToSnapshotCommand, } from "./commands/ConvertRecove
|
|
|
3
3
|
import { CreateCustomDomainAssociationCommand, } from "./commands/CreateCustomDomainAssociationCommand";
|
|
4
4
|
import { CreateEndpointAccessCommand, } from "./commands/CreateEndpointAccessCommand";
|
|
5
5
|
import { CreateNamespaceCommand, } from "./commands/CreateNamespaceCommand";
|
|
6
|
+
import { CreateReservationCommand, } from "./commands/CreateReservationCommand";
|
|
6
7
|
import { CreateScheduledActionCommand, } from "./commands/CreateScheduledActionCommand";
|
|
7
8
|
import { CreateSnapshotCommand, } from "./commands/CreateSnapshotCommand";
|
|
8
9
|
import { CreateSnapshotCopyConfigurationCommand, } from "./commands/CreateSnapshotCopyConfigurationCommand";
|
|
@@ -22,6 +23,8 @@ import { GetCustomDomainAssociationCommand, } from "./commands/GetCustomDomainAs
|
|
|
22
23
|
import { GetEndpointAccessCommand, } from "./commands/GetEndpointAccessCommand";
|
|
23
24
|
import { GetNamespaceCommand, } from "./commands/GetNamespaceCommand";
|
|
24
25
|
import { GetRecoveryPointCommand, } from "./commands/GetRecoveryPointCommand";
|
|
26
|
+
import { GetReservationCommand, } from "./commands/GetReservationCommand";
|
|
27
|
+
import { GetReservationOfferingCommand, } from "./commands/GetReservationOfferingCommand";
|
|
25
28
|
import { GetResourcePolicyCommand, } from "./commands/GetResourcePolicyCommand";
|
|
26
29
|
import { GetScheduledActionCommand, } from "./commands/GetScheduledActionCommand";
|
|
27
30
|
import { GetSnapshotCommand } from "./commands/GetSnapshotCommand";
|
|
@@ -34,6 +37,8 @@ import { ListEndpointAccessCommand, } from "./commands/ListEndpointAccessCommand
|
|
|
34
37
|
import { ListManagedWorkgroupsCommand, } from "./commands/ListManagedWorkgroupsCommand";
|
|
35
38
|
import { ListNamespacesCommand, } from "./commands/ListNamespacesCommand";
|
|
36
39
|
import { ListRecoveryPointsCommand, } from "./commands/ListRecoveryPointsCommand";
|
|
40
|
+
import { ListReservationOfferingsCommand, } from "./commands/ListReservationOfferingsCommand";
|
|
41
|
+
import { ListReservationsCommand, } from "./commands/ListReservationsCommand";
|
|
37
42
|
import { ListScheduledActionsCommand, } from "./commands/ListScheduledActionsCommand";
|
|
38
43
|
import { ListSnapshotCopyConfigurationsCommand, } from "./commands/ListSnapshotCopyConfigurationsCommand";
|
|
39
44
|
import { ListSnapshotsCommand, } from "./commands/ListSnapshotsCommand";
|
|
@@ -63,6 +68,7 @@ const commands = {
|
|
|
63
68
|
CreateCustomDomainAssociationCommand,
|
|
64
69
|
CreateEndpointAccessCommand,
|
|
65
70
|
CreateNamespaceCommand,
|
|
71
|
+
CreateReservationCommand,
|
|
66
72
|
CreateScheduledActionCommand,
|
|
67
73
|
CreateSnapshotCommand,
|
|
68
74
|
CreateSnapshotCopyConfigurationCommand,
|
|
@@ -82,6 +88,8 @@ const commands = {
|
|
|
82
88
|
GetEndpointAccessCommand,
|
|
83
89
|
GetNamespaceCommand,
|
|
84
90
|
GetRecoveryPointCommand,
|
|
91
|
+
GetReservationCommand,
|
|
92
|
+
GetReservationOfferingCommand,
|
|
85
93
|
GetResourcePolicyCommand,
|
|
86
94
|
GetScheduledActionCommand,
|
|
87
95
|
GetSnapshotCommand,
|
|
@@ -94,6 +102,8 @@ const commands = {
|
|
|
94
102
|
ListManagedWorkgroupsCommand,
|
|
95
103
|
ListNamespacesCommand,
|
|
96
104
|
ListRecoveryPointsCommand,
|
|
105
|
+
ListReservationOfferingsCommand,
|
|
106
|
+
ListReservationsCommand,
|
|
97
107
|
ListScheduledActionsCommand,
|
|
98
108
|
ListSnapshotCopyConfigurationsCommand,
|
|
99
109
|
ListSnapshotsCommand,
|
|
@@ -0,0 +1,22 @@
|
|
|
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_CreateReservationCommand, se_CreateReservationCommand } from "../protocols/Aws_json1_1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class CreateReservationCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep(commonParams)
|
|
10
|
+
.m(function (Command, cs, config, o) {
|
|
11
|
+
return [
|
|
12
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
+
];
|
|
15
|
+
})
|
|
16
|
+
.s("RedshiftServerless", "CreateReservation", {})
|
|
17
|
+
.n("RedshiftServerlessClient", "CreateReservationCommand")
|
|
18
|
+
.f(void 0, void 0)
|
|
19
|
+
.ser(se_CreateReservationCommand)
|
|
20
|
+
.de(de_CreateReservationCommand)
|
|
21
|
+
.build() {
|
|
22
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
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_GetReservationCommand, se_GetReservationCommand } from "../protocols/Aws_json1_1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class GetReservationCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep(commonParams)
|
|
10
|
+
.m(function (Command, cs, config, o) {
|
|
11
|
+
return [
|
|
12
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
+
];
|
|
15
|
+
})
|
|
16
|
+
.s("RedshiftServerless", "GetReservation", {})
|
|
17
|
+
.n("RedshiftServerlessClient", "GetReservationCommand")
|
|
18
|
+
.f(void 0, void 0)
|
|
19
|
+
.ser(se_GetReservationCommand)
|
|
20
|
+
.de(de_GetReservationCommand)
|
|
21
|
+
.build() {
|
|
22
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
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_GetReservationOfferingCommand, se_GetReservationOfferingCommand } from "../protocols/Aws_json1_1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class GetReservationOfferingCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep(commonParams)
|
|
10
|
+
.m(function (Command, cs, config, o) {
|
|
11
|
+
return [
|
|
12
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
+
];
|
|
15
|
+
})
|
|
16
|
+
.s("RedshiftServerless", "GetReservationOffering", {})
|
|
17
|
+
.n("RedshiftServerlessClient", "GetReservationOfferingCommand")
|
|
18
|
+
.f(void 0, void 0)
|
|
19
|
+
.ser(se_GetReservationOfferingCommand)
|
|
20
|
+
.de(de_GetReservationOfferingCommand)
|
|
21
|
+
.build() {
|
|
22
|
+
}
|