@aws-sdk/client-redshift-serverless 3.787.0 → 3.796.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 (43) hide show
  1. package/README.md +40 -0
  2. package/dist-cjs/index.js +271 -0
  3. package/dist-es/RedshiftServerless.js +10 -0
  4. package/dist-es/commands/CreateReservationCommand.js +22 -0
  5. package/dist-es/commands/GetReservationCommand.js +22 -0
  6. package/dist-es/commands/GetReservationOfferingCommand.js +22 -0
  7. package/dist-es/commands/ListReservationOfferingsCommand.js +22 -0
  8. package/dist-es/commands/ListReservationsCommand.js +22 -0
  9. package/dist-es/commands/index.js +5 -0
  10. package/dist-es/models/models_0.js +4 -0
  11. package/dist-es/pagination/ListReservationOfferingsPaginator.js +4 -0
  12. package/dist-es/pagination/ListReservationsPaginator.js +4 -0
  13. package/dist-es/pagination/index.js +2 -0
  14. package/dist-es/protocols/Aws_json1_1.js +167 -0
  15. package/dist-types/RedshiftServerless.d.ts +37 -0
  16. package/dist-types/RedshiftServerlessClient.d.ts +7 -2
  17. package/dist-types/commands/ConvertRecoveryPointToSnapshotCommand.d.ts +1 -1
  18. package/dist-types/commands/CreateReservationCommand.d.ts +111 -0
  19. package/dist-types/commands/CreateSnapshotCommand.d.ts +1 -1
  20. package/dist-types/commands/GetReservationCommand.d.ts +100 -0
  21. package/dist-types/commands/GetReservationOfferingCommand.d.ts +91 -0
  22. package/dist-types/commands/ListReservationOfferingsCommand.d.ts +92 -0
  23. package/dist-types/commands/ListReservationsCommand.d.ts +100 -0
  24. package/dist-types/commands/index.d.ts +5 -0
  25. package/dist-types/models/models_0.d.ts +250 -2
  26. package/dist-types/pagination/ListReservationOfferingsPaginator.d.ts +7 -0
  27. package/dist-types/pagination/ListReservationsPaginator.d.ts +7 -0
  28. package/dist-types/pagination/index.d.ts +2 -0
  29. package/dist-types/protocols/Aws_json1_1.d.ts +45 -0
  30. package/dist-types/ts3.4/RedshiftServerless.d.ts +87 -0
  31. package/dist-types/ts3.4/RedshiftServerlessClient.d.ts +30 -0
  32. package/dist-types/ts3.4/commands/CreateReservationCommand.d.ts +51 -0
  33. package/dist-types/ts3.4/commands/GetReservationCommand.d.ts +50 -0
  34. package/dist-types/ts3.4/commands/GetReservationOfferingCommand.d.ts +51 -0
  35. package/dist-types/ts3.4/commands/ListReservationOfferingsCommand.d.ts +51 -0
  36. package/dist-types/ts3.4/commands/ListReservationsCommand.d.ts +50 -0
  37. package/dist-types/ts3.4/commands/index.d.ts +5 -0
  38. package/dist-types/ts3.4/models/models_0.d.ts +58 -0
  39. package/dist-types/ts3.4/pagination/ListReservationOfferingsPaginator.d.ts +11 -0
  40. package/dist-types/ts3.4/pagination/ListReservationsPaginator.d.ts +11 -0
  41. package/dist-types/ts3.4/pagination/index.d.ts +2 -0
  42. package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +60 -0
  43. package/package.json +8 -6
@@ -0,0 +1,7 @@
1
+ import { Paginator } from "@smithy/types";
2
+ import { ListReservationOfferingsCommandInput, ListReservationOfferingsCommandOutput } from "../commands/ListReservationOfferingsCommand";
3
+ import { RedshiftServerlessPaginationConfiguration } from "./Interfaces";
4
+ /**
5
+ * @public
6
+ */
7
+ export declare const paginateListReservationOfferings: (config: RedshiftServerlessPaginationConfiguration, input: ListReservationOfferingsCommandInput, ...rest: any[]) => Paginator<ListReservationOfferingsCommandOutput>;
@@ -0,0 +1,7 @@
1
+ import { Paginator } from "@smithy/types";
2
+ import { ListReservationsCommandInput, ListReservationsCommandOutput } from "../commands/ListReservationsCommand";
3
+ import { RedshiftServerlessPaginationConfiguration } from "./Interfaces";
4
+ /**
5
+ * @public
6
+ */
7
+ export declare const paginateListReservations: (config: RedshiftServerlessPaginationConfiguration, input: ListReservationsCommandInput, ...rest: any[]) => Paginator<ListReservationsCommandOutput>;
@@ -4,6 +4,8 @@ export * from "./ListEndpointAccessPaginator";
4
4
  export * from "./ListManagedWorkgroupsPaginator";
5
5
  export * from "./ListNamespacesPaginator";
6
6
  export * from "./ListRecoveryPointsPaginator";
7
+ export * from "./ListReservationOfferingsPaginator";
8
+ export * from "./ListReservationsPaginator";
7
9
  export * from "./ListScheduledActionsPaginator";
8
10
  export * from "./ListSnapshotCopyConfigurationsPaginator";
9
11
  export * from "./ListSnapshotsPaginator";
@@ -4,6 +4,7 @@ import { ConvertRecoveryPointToSnapshotCommandInput, ConvertRecoveryPointToSnaps
4
4
  import { CreateCustomDomainAssociationCommandInput, CreateCustomDomainAssociationCommandOutput } from "../commands/CreateCustomDomainAssociationCommand";
5
5
  import { CreateEndpointAccessCommandInput, CreateEndpointAccessCommandOutput } from "../commands/CreateEndpointAccessCommand";
6
6
  import { CreateNamespaceCommandInput, CreateNamespaceCommandOutput } from "../commands/CreateNamespaceCommand";
7
+ import { CreateReservationCommandInput, CreateReservationCommandOutput } from "../commands/CreateReservationCommand";
7
8
  import { CreateScheduledActionCommandInput, CreateScheduledActionCommandOutput } from "../commands/CreateScheduledActionCommand";
8
9
  import { CreateSnapshotCommandInput, CreateSnapshotCommandOutput } from "../commands/CreateSnapshotCommand";
9
10
  import { CreateSnapshotCopyConfigurationCommandInput, CreateSnapshotCopyConfigurationCommandOutput } from "../commands/CreateSnapshotCopyConfigurationCommand";
@@ -23,6 +24,8 @@ import { GetCustomDomainAssociationCommandInput, GetCustomDomainAssociationComma
23
24
  import { GetEndpointAccessCommandInput, GetEndpointAccessCommandOutput } from "../commands/GetEndpointAccessCommand";
24
25
  import { GetNamespaceCommandInput, GetNamespaceCommandOutput } from "../commands/GetNamespaceCommand";
25
26
  import { GetRecoveryPointCommandInput, GetRecoveryPointCommandOutput } from "../commands/GetRecoveryPointCommand";
27
+ import { GetReservationCommandInput, GetReservationCommandOutput } from "../commands/GetReservationCommand";
28
+ import { GetReservationOfferingCommandInput, GetReservationOfferingCommandOutput } from "../commands/GetReservationOfferingCommand";
26
29
  import { GetResourcePolicyCommandInput, GetResourcePolicyCommandOutput } from "../commands/GetResourcePolicyCommand";
27
30
  import { GetScheduledActionCommandInput, GetScheduledActionCommandOutput } from "../commands/GetScheduledActionCommand";
28
31
  import { GetSnapshotCommandInput, GetSnapshotCommandOutput } from "../commands/GetSnapshotCommand";
@@ -35,6 +38,8 @@ import { ListEndpointAccessCommandInput, ListEndpointAccessCommandOutput } from
35
38
  import { ListManagedWorkgroupsCommandInput, ListManagedWorkgroupsCommandOutput } from "../commands/ListManagedWorkgroupsCommand";
36
39
  import { ListNamespacesCommandInput, ListNamespacesCommandOutput } from "../commands/ListNamespacesCommand";
37
40
  import { ListRecoveryPointsCommandInput, ListRecoveryPointsCommandOutput } from "../commands/ListRecoveryPointsCommand";
41
+ import { ListReservationOfferingsCommandInput, ListReservationOfferingsCommandOutput } from "../commands/ListReservationOfferingsCommand";
42
+ import { ListReservationsCommandInput, ListReservationsCommandOutput } from "../commands/ListReservationsCommand";
38
43
  import { ListScheduledActionsCommandInput, ListScheduledActionsCommandOutput } from "../commands/ListScheduledActionsCommand";
39
44
  import { ListSnapshotCopyConfigurationsCommandInput, ListSnapshotCopyConfigurationsCommandOutput } from "../commands/ListSnapshotCopyConfigurationsCommand";
40
45
  import { ListSnapshotsCommandInput, ListSnapshotsCommandOutput } from "../commands/ListSnapshotsCommand";
@@ -74,6 +79,10 @@ export declare const se_CreateEndpointAccessCommand: (input: CreateEndpointAcces
74
79
  * serializeAws_json1_1CreateNamespaceCommand
75
80
  */
76
81
  export declare const se_CreateNamespaceCommand: (input: CreateNamespaceCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
82
+ /**
83
+ * serializeAws_json1_1CreateReservationCommand
84
+ */
85
+ export declare const se_CreateReservationCommand: (input: CreateReservationCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
77
86
  /**
78
87
  * serializeAws_json1_1CreateScheduledActionCommand
79
88
  */
@@ -150,6 +159,14 @@ export declare const se_GetNamespaceCommand: (input: GetNamespaceCommandInput, c
150
159
  * serializeAws_json1_1GetRecoveryPointCommand
151
160
  */
152
161
  export declare const se_GetRecoveryPointCommand: (input: GetRecoveryPointCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
162
+ /**
163
+ * serializeAws_json1_1GetReservationCommand
164
+ */
165
+ export declare const se_GetReservationCommand: (input: GetReservationCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
166
+ /**
167
+ * serializeAws_json1_1GetReservationOfferingCommand
168
+ */
169
+ export declare const se_GetReservationOfferingCommand: (input: GetReservationOfferingCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
153
170
  /**
154
171
  * serializeAws_json1_1GetResourcePolicyCommand
155
172
  */
@@ -198,6 +215,14 @@ export declare const se_ListNamespacesCommand: (input: ListNamespacesCommandInpu
198
215
  * serializeAws_json1_1ListRecoveryPointsCommand
199
216
  */
200
217
  export declare const se_ListRecoveryPointsCommand: (input: ListRecoveryPointsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
218
+ /**
219
+ * serializeAws_json1_1ListReservationOfferingsCommand
220
+ */
221
+ export declare const se_ListReservationOfferingsCommand: (input: ListReservationOfferingsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
222
+ /**
223
+ * serializeAws_json1_1ListReservationsCommand
224
+ */
225
+ export declare const se_ListReservationsCommand: (input: ListReservationsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
201
226
  /**
202
227
  * serializeAws_json1_1ListScheduledActionsCommand
203
228
  */
@@ -306,6 +331,10 @@ export declare const de_CreateEndpointAccessCommand: (output: __HttpResponse, co
306
331
  * deserializeAws_json1_1CreateNamespaceCommand
307
332
  */
308
333
  export declare const de_CreateNamespaceCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CreateNamespaceCommandOutput>;
334
+ /**
335
+ * deserializeAws_json1_1CreateReservationCommand
336
+ */
337
+ export declare const de_CreateReservationCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CreateReservationCommandOutput>;
309
338
  /**
310
339
  * deserializeAws_json1_1CreateScheduledActionCommand
311
340
  */
@@ -382,6 +411,14 @@ export declare const de_GetNamespaceCommand: (output: __HttpResponse, context: _
382
411
  * deserializeAws_json1_1GetRecoveryPointCommand
383
412
  */
384
413
  export declare const de_GetRecoveryPointCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetRecoveryPointCommandOutput>;
414
+ /**
415
+ * deserializeAws_json1_1GetReservationCommand
416
+ */
417
+ export declare const de_GetReservationCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetReservationCommandOutput>;
418
+ /**
419
+ * deserializeAws_json1_1GetReservationOfferingCommand
420
+ */
421
+ export declare const de_GetReservationOfferingCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetReservationOfferingCommandOutput>;
385
422
  /**
386
423
  * deserializeAws_json1_1GetResourcePolicyCommand
387
424
  */
@@ -430,6 +467,14 @@ export declare const de_ListNamespacesCommand: (output: __HttpResponse, context:
430
467
  * deserializeAws_json1_1ListRecoveryPointsCommand
431
468
  */
432
469
  export declare const de_ListRecoveryPointsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListRecoveryPointsCommandOutput>;
470
+ /**
471
+ * deserializeAws_json1_1ListReservationOfferingsCommand
472
+ */
473
+ export declare const de_ListReservationOfferingsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListReservationOfferingsCommandOutput>;
474
+ /**
475
+ * deserializeAws_json1_1ListReservationsCommand
476
+ */
477
+ export declare const de_ListReservationsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListReservationsCommandOutput>;
433
478
  /**
434
479
  * deserializeAws_json1_1ListScheduledActionsCommand
435
480
  */
@@ -15,6 +15,10 @@ import {
15
15
  CreateNamespaceCommandInput,
16
16
  CreateNamespaceCommandOutput,
17
17
  } from "./commands/CreateNamespaceCommand";
18
+ import {
19
+ CreateReservationCommandInput,
20
+ CreateReservationCommandOutput,
21
+ } from "./commands/CreateReservationCommand";
18
22
  import {
19
23
  CreateScheduledActionCommandInput,
20
24
  CreateScheduledActionCommandOutput,
@@ -91,6 +95,14 @@ import {
91
95
  GetRecoveryPointCommandInput,
92
96
  GetRecoveryPointCommandOutput,
93
97
  } from "./commands/GetRecoveryPointCommand";
98
+ import {
99
+ GetReservationCommandInput,
100
+ GetReservationCommandOutput,
101
+ } from "./commands/GetReservationCommand";
102
+ import {
103
+ GetReservationOfferingCommandInput,
104
+ GetReservationOfferingCommandOutput,
105
+ } from "./commands/GetReservationOfferingCommand";
94
106
  import {
95
107
  GetResourcePolicyCommandInput,
96
108
  GetResourcePolicyCommandOutput,
@@ -139,6 +151,14 @@ import {
139
151
  ListRecoveryPointsCommandInput,
140
152
  ListRecoveryPointsCommandOutput,
141
153
  } from "./commands/ListRecoveryPointsCommand";
154
+ import {
155
+ ListReservationOfferingsCommandInput,
156
+ ListReservationOfferingsCommandOutput,
157
+ } from "./commands/ListReservationOfferingsCommand";
158
+ import {
159
+ ListReservationsCommandInput,
160
+ ListReservationsCommandOutput,
161
+ } from "./commands/ListReservationsCommand";
142
162
  import {
143
163
  ListScheduledActionsCommandInput,
144
164
  ListScheduledActionsCommandOutput,
@@ -285,6 +305,19 @@ export interface RedshiftServerless {
285
305
  options: __HttpHandlerOptions,
286
306
  cb: (err: any, data?: CreateNamespaceCommandOutput) => void
287
307
  ): void;
308
+ createReservation(
309
+ args: CreateReservationCommandInput,
310
+ options?: __HttpHandlerOptions
311
+ ): Promise<CreateReservationCommandOutput>;
312
+ createReservation(
313
+ args: CreateReservationCommandInput,
314
+ cb: (err: any, data?: CreateReservationCommandOutput) => void
315
+ ): void;
316
+ createReservation(
317
+ args: CreateReservationCommandInput,
318
+ options: __HttpHandlerOptions,
319
+ cb: (err: any, data?: CreateReservationCommandOutput) => void
320
+ ): void;
288
321
  createScheduledAction(
289
322
  args: CreateScheduledActionCommandInput,
290
323
  options?: __HttpHandlerOptions
@@ -533,6 +566,32 @@ export interface RedshiftServerless {
533
566
  options: __HttpHandlerOptions,
534
567
  cb: (err: any, data?: GetRecoveryPointCommandOutput) => void
535
568
  ): void;
569
+ getReservation(
570
+ args: GetReservationCommandInput,
571
+ options?: __HttpHandlerOptions
572
+ ): Promise<GetReservationCommandOutput>;
573
+ getReservation(
574
+ args: GetReservationCommandInput,
575
+ cb: (err: any, data?: GetReservationCommandOutput) => void
576
+ ): void;
577
+ getReservation(
578
+ args: GetReservationCommandInput,
579
+ options: __HttpHandlerOptions,
580
+ cb: (err: any, data?: GetReservationCommandOutput) => void
581
+ ): void;
582
+ getReservationOffering(
583
+ args: GetReservationOfferingCommandInput,
584
+ options?: __HttpHandlerOptions
585
+ ): Promise<GetReservationOfferingCommandOutput>;
586
+ getReservationOffering(
587
+ args: GetReservationOfferingCommandInput,
588
+ cb: (err: any, data?: GetReservationOfferingCommandOutput) => void
589
+ ): void;
590
+ getReservationOffering(
591
+ args: GetReservationOfferingCommandInput,
592
+ options: __HttpHandlerOptions,
593
+ cb: (err: any, data?: GetReservationOfferingCommandOutput) => void
594
+ ): void;
536
595
  getResourcePolicy(
537
596
  args: GetResourcePolicyCommandInput,
538
597
  options?: __HttpHandlerOptions
@@ -695,6 +754,34 @@ export interface RedshiftServerless {
695
754
  options: __HttpHandlerOptions,
696
755
  cb: (err: any, data?: ListRecoveryPointsCommandOutput) => void
697
756
  ): void;
757
+ listReservationOfferings(): Promise<ListReservationOfferingsCommandOutput>;
758
+ listReservationOfferings(
759
+ args: ListReservationOfferingsCommandInput,
760
+ options?: __HttpHandlerOptions
761
+ ): Promise<ListReservationOfferingsCommandOutput>;
762
+ listReservationOfferings(
763
+ args: ListReservationOfferingsCommandInput,
764
+ cb: (err: any, data?: ListReservationOfferingsCommandOutput) => void
765
+ ): void;
766
+ listReservationOfferings(
767
+ args: ListReservationOfferingsCommandInput,
768
+ options: __HttpHandlerOptions,
769
+ cb: (err: any, data?: ListReservationOfferingsCommandOutput) => void
770
+ ): void;
771
+ listReservations(): Promise<ListReservationsCommandOutput>;
772
+ listReservations(
773
+ args: ListReservationsCommandInput,
774
+ options?: __HttpHandlerOptions
775
+ ): Promise<ListReservationsCommandOutput>;
776
+ listReservations(
777
+ args: ListReservationsCommandInput,
778
+ cb: (err: any, data?: ListReservationsCommandOutput) => void
779
+ ): void;
780
+ listReservations(
781
+ args: ListReservationsCommandInput,
782
+ options: __HttpHandlerOptions,
783
+ cb: (err: any, data?: ListReservationsCommandOutput) => void
784
+ ): void;
698
785
  listScheduledActions(): Promise<ListScheduledActionsCommandOutput>;
699
786
  listScheduledActions(
700
787
  args: ListScheduledActionsCommandInput,
@@ -61,6 +61,10 @@ import {
61
61
  CreateNamespaceCommandInput,
62
62
  CreateNamespaceCommandOutput,
63
63
  } from "./commands/CreateNamespaceCommand";
64
+ import {
65
+ CreateReservationCommandInput,
66
+ CreateReservationCommandOutput,
67
+ } from "./commands/CreateReservationCommand";
64
68
  import {
65
69
  CreateScheduledActionCommandInput,
66
70
  CreateScheduledActionCommandOutput,
@@ -137,6 +141,14 @@ import {
137
141
  GetRecoveryPointCommandInput,
138
142
  GetRecoveryPointCommandOutput,
139
143
  } from "./commands/GetRecoveryPointCommand";
144
+ import {
145
+ GetReservationCommandInput,
146
+ GetReservationCommandOutput,
147
+ } from "./commands/GetReservationCommand";
148
+ import {
149
+ GetReservationOfferingCommandInput,
150
+ GetReservationOfferingCommandOutput,
151
+ } from "./commands/GetReservationOfferingCommand";
140
152
  import {
141
153
  GetResourcePolicyCommandInput,
142
154
  GetResourcePolicyCommandOutput,
@@ -185,6 +197,14 @@ import {
185
197
  ListRecoveryPointsCommandInput,
186
198
  ListRecoveryPointsCommandOutput,
187
199
  } from "./commands/ListRecoveryPointsCommand";
200
+ import {
201
+ ListReservationOfferingsCommandInput,
202
+ ListReservationOfferingsCommandOutput,
203
+ } from "./commands/ListReservationOfferingsCommand";
204
+ import {
205
+ ListReservationsCommandInput,
206
+ ListReservationsCommandOutput,
207
+ } from "./commands/ListReservationsCommand";
188
208
  import {
189
209
  ListScheduledActionsCommandInput,
190
210
  ListScheduledActionsCommandOutput,
@@ -289,6 +309,7 @@ export type ServiceInputTypes =
289
309
  | CreateCustomDomainAssociationCommandInput
290
310
  | CreateEndpointAccessCommandInput
291
311
  | CreateNamespaceCommandInput
312
+ | CreateReservationCommandInput
292
313
  | CreateScheduledActionCommandInput
293
314
  | CreateSnapshotCommandInput
294
315
  | CreateSnapshotCopyConfigurationCommandInput
@@ -308,6 +329,8 @@ export type ServiceInputTypes =
308
329
  | GetEndpointAccessCommandInput
309
330
  | GetNamespaceCommandInput
310
331
  | GetRecoveryPointCommandInput
332
+ | GetReservationCommandInput
333
+ | GetReservationOfferingCommandInput
311
334
  | GetResourcePolicyCommandInput
312
335
  | GetScheduledActionCommandInput
313
336
  | GetSnapshotCommandInput
@@ -320,6 +343,8 @@ export type ServiceInputTypes =
320
343
  | ListManagedWorkgroupsCommandInput
321
344
  | ListNamespacesCommandInput
322
345
  | ListRecoveryPointsCommandInput
346
+ | ListReservationOfferingsCommandInput
347
+ | ListReservationsCommandInput
323
348
  | ListScheduledActionsCommandInput
324
349
  | ListSnapshotCopyConfigurationsCommandInput
325
350
  | ListSnapshotsCommandInput
@@ -348,6 +373,7 @@ export type ServiceOutputTypes =
348
373
  | CreateCustomDomainAssociationCommandOutput
349
374
  | CreateEndpointAccessCommandOutput
350
375
  | CreateNamespaceCommandOutput
376
+ | CreateReservationCommandOutput
351
377
  | CreateScheduledActionCommandOutput
352
378
  | CreateSnapshotCommandOutput
353
379
  | CreateSnapshotCopyConfigurationCommandOutput
@@ -367,6 +393,8 @@ export type ServiceOutputTypes =
367
393
  | GetEndpointAccessCommandOutput
368
394
  | GetNamespaceCommandOutput
369
395
  | GetRecoveryPointCommandOutput
396
+ | GetReservationCommandOutput
397
+ | GetReservationOfferingCommandOutput
370
398
  | GetResourcePolicyCommandOutput
371
399
  | GetScheduledActionCommandOutput
372
400
  | GetSnapshotCommandOutput
@@ -379,6 +407,8 @@ export type ServiceOutputTypes =
379
407
  | ListManagedWorkgroupsCommandOutput
380
408
  | ListNamespacesCommandOutput
381
409
  | ListRecoveryPointsCommandOutput
410
+ | ListReservationOfferingsCommandOutput
411
+ | ListReservationsCommandOutput
382
412
  | ListScheduledActionsCommandOutput
383
413
  | ListSnapshotCopyConfigurationsCommandOutput
384
414
  | ListSnapshotsCommandOutput
@@ -0,0 +1,51 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import {
4
+ CreateReservationRequest,
5
+ CreateReservationResponse,
6
+ } from "../models/models_0";
7
+ import {
8
+ RedshiftServerlessClientResolvedConfig,
9
+ ServiceInputTypes,
10
+ ServiceOutputTypes,
11
+ } from "../RedshiftServerlessClient";
12
+ export { __MetadataBearer };
13
+ export { $Command };
14
+ export interface CreateReservationCommandInput
15
+ extends CreateReservationRequest {}
16
+ export interface CreateReservationCommandOutput
17
+ extends CreateReservationResponse,
18
+ __MetadataBearer {}
19
+ declare const CreateReservationCommand_base: {
20
+ new (
21
+ input: CreateReservationCommandInput
22
+ ): import("@smithy/smithy-client").CommandImpl<
23
+ CreateReservationCommandInput,
24
+ CreateReservationCommandOutput,
25
+ RedshiftServerlessClientResolvedConfig,
26
+ ServiceInputTypes,
27
+ ServiceOutputTypes
28
+ >;
29
+ new (
30
+ __0_0: CreateReservationCommandInput
31
+ ): import("@smithy/smithy-client").CommandImpl<
32
+ CreateReservationCommandInput,
33
+ CreateReservationCommandOutput,
34
+ RedshiftServerlessClientResolvedConfig,
35
+ ServiceInputTypes,
36
+ ServiceOutputTypes
37
+ >;
38
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
39
+ };
40
+ export declare class CreateReservationCommand extends CreateReservationCommand_base {
41
+ protected static __types: {
42
+ api: {
43
+ input: CreateReservationRequest;
44
+ output: CreateReservationResponse;
45
+ };
46
+ sdk: {
47
+ input: CreateReservationCommandInput;
48
+ output: CreateReservationCommandOutput;
49
+ };
50
+ };
51
+ }
@@ -0,0 +1,50 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import {
4
+ GetReservationRequest,
5
+ GetReservationResponse,
6
+ } from "../models/models_0";
7
+ import {
8
+ RedshiftServerlessClientResolvedConfig,
9
+ ServiceInputTypes,
10
+ ServiceOutputTypes,
11
+ } from "../RedshiftServerlessClient";
12
+ export { __MetadataBearer };
13
+ export { $Command };
14
+ export interface GetReservationCommandInput extends GetReservationRequest {}
15
+ export interface GetReservationCommandOutput
16
+ extends GetReservationResponse,
17
+ __MetadataBearer {}
18
+ declare const GetReservationCommand_base: {
19
+ new (
20
+ input: GetReservationCommandInput
21
+ ): import("@smithy/smithy-client").CommandImpl<
22
+ GetReservationCommandInput,
23
+ GetReservationCommandOutput,
24
+ RedshiftServerlessClientResolvedConfig,
25
+ ServiceInputTypes,
26
+ ServiceOutputTypes
27
+ >;
28
+ new (
29
+ __0_0: GetReservationCommandInput
30
+ ): import("@smithy/smithy-client").CommandImpl<
31
+ GetReservationCommandInput,
32
+ GetReservationCommandOutput,
33
+ RedshiftServerlessClientResolvedConfig,
34
+ ServiceInputTypes,
35
+ ServiceOutputTypes
36
+ >;
37
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
38
+ };
39
+ export declare class GetReservationCommand extends GetReservationCommand_base {
40
+ protected static __types: {
41
+ api: {
42
+ input: GetReservationRequest;
43
+ output: GetReservationResponse;
44
+ };
45
+ sdk: {
46
+ input: GetReservationCommandInput;
47
+ output: GetReservationCommandOutput;
48
+ };
49
+ };
50
+ }
@@ -0,0 +1,51 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import {
4
+ GetReservationOfferingRequest,
5
+ GetReservationOfferingResponse,
6
+ } from "../models/models_0";
7
+ import {
8
+ RedshiftServerlessClientResolvedConfig,
9
+ ServiceInputTypes,
10
+ ServiceOutputTypes,
11
+ } from "../RedshiftServerlessClient";
12
+ export { __MetadataBearer };
13
+ export { $Command };
14
+ export interface GetReservationOfferingCommandInput
15
+ extends GetReservationOfferingRequest {}
16
+ export interface GetReservationOfferingCommandOutput
17
+ extends GetReservationOfferingResponse,
18
+ __MetadataBearer {}
19
+ declare const GetReservationOfferingCommand_base: {
20
+ new (
21
+ input: GetReservationOfferingCommandInput
22
+ ): import("@smithy/smithy-client").CommandImpl<
23
+ GetReservationOfferingCommandInput,
24
+ GetReservationOfferingCommandOutput,
25
+ RedshiftServerlessClientResolvedConfig,
26
+ ServiceInputTypes,
27
+ ServiceOutputTypes
28
+ >;
29
+ new (
30
+ __0_0: GetReservationOfferingCommandInput
31
+ ): import("@smithy/smithy-client").CommandImpl<
32
+ GetReservationOfferingCommandInput,
33
+ GetReservationOfferingCommandOutput,
34
+ RedshiftServerlessClientResolvedConfig,
35
+ ServiceInputTypes,
36
+ ServiceOutputTypes
37
+ >;
38
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
39
+ };
40
+ export declare class GetReservationOfferingCommand extends GetReservationOfferingCommand_base {
41
+ protected static __types: {
42
+ api: {
43
+ input: GetReservationOfferingRequest;
44
+ output: GetReservationOfferingResponse;
45
+ };
46
+ sdk: {
47
+ input: GetReservationOfferingCommandInput;
48
+ output: GetReservationOfferingCommandOutput;
49
+ };
50
+ };
51
+ }
@@ -0,0 +1,51 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import {
4
+ ListReservationOfferingsRequest,
5
+ ListReservationOfferingsResponse,
6
+ } from "../models/models_0";
7
+ import {
8
+ RedshiftServerlessClientResolvedConfig,
9
+ ServiceInputTypes,
10
+ ServiceOutputTypes,
11
+ } from "../RedshiftServerlessClient";
12
+ export { __MetadataBearer };
13
+ export { $Command };
14
+ export interface ListReservationOfferingsCommandInput
15
+ extends ListReservationOfferingsRequest {}
16
+ export interface ListReservationOfferingsCommandOutput
17
+ extends ListReservationOfferingsResponse,
18
+ __MetadataBearer {}
19
+ declare const ListReservationOfferingsCommand_base: {
20
+ new (
21
+ input: ListReservationOfferingsCommandInput
22
+ ): import("@smithy/smithy-client").CommandImpl<
23
+ ListReservationOfferingsCommandInput,
24
+ ListReservationOfferingsCommandOutput,
25
+ RedshiftServerlessClientResolvedConfig,
26
+ ServiceInputTypes,
27
+ ServiceOutputTypes
28
+ >;
29
+ new (
30
+ ...[input]: [] | [ListReservationOfferingsCommandInput]
31
+ ): import("@smithy/smithy-client").CommandImpl<
32
+ ListReservationOfferingsCommandInput,
33
+ ListReservationOfferingsCommandOutput,
34
+ RedshiftServerlessClientResolvedConfig,
35
+ ServiceInputTypes,
36
+ ServiceOutputTypes
37
+ >;
38
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
39
+ };
40
+ export declare class ListReservationOfferingsCommand extends ListReservationOfferingsCommand_base {
41
+ protected static __types: {
42
+ api: {
43
+ input: ListReservationOfferingsRequest;
44
+ output: ListReservationOfferingsResponse;
45
+ };
46
+ sdk: {
47
+ input: ListReservationOfferingsCommandInput;
48
+ output: ListReservationOfferingsCommandOutput;
49
+ };
50
+ };
51
+ }
@@ -0,0 +1,50 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import {
4
+ ListReservationsRequest,
5
+ ListReservationsResponse,
6
+ } from "../models/models_0";
7
+ import {
8
+ RedshiftServerlessClientResolvedConfig,
9
+ ServiceInputTypes,
10
+ ServiceOutputTypes,
11
+ } from "../RedshiftServerlessClient";
12
+ export { __MetadataBearer };
13
+ export { $Command };
14
+ export interface ListReservationsCommandInput extends ListReservationsRequest {}
15
+ export interface ListReservationsCommandOutput
16
+ extends ListReservationsResponse,
17
+ __MetadataBearer {}
18
+ declare const ListReservationsCommand_base: {
19
+ new (
20
+ input: ListReservationsCommandInput
21
+ ): import("@smithy/smithy-client").CommandImpl<
22
+ ListReservationsCommandInput,
23
+ ListReservationsCommandOutput,
24
+ RedshiftServerlessClientResolvedConfig,
25
+ ServiceInputTypes,
26
+ ServiceOutputTypes
27
+ >;
28
+ new (
29
+ ...[input]: [] | [ListReservationsCommandInput]
30
+ ): import("@smithy/smithy-client").CommandImpl<
31
+ ListReservationsCommandInput,
32
+ ListReservationsCommandOutput,
33
+ RedshiftServerlessClientResolvedConfig,
34
+ ServiceInputTypes,
35
+ ServiceOutputTypes
36
+ >;
37
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
38
+ };
39
+ export declare class ListReservationsCommand extends ListReservationsCommand_base {
40
+ protected static __types: {
41
+ api: {
42
+ input: ListReservationsRequest;
43
+ output: ListReservationsResponse;
44
+ };
45
+ sdk: {
46
+ input: ListReservationsCommandInput;
47
+ output: ListReservationsCommandOutput;
48
+ };
49
+ };
50
+ }
@@ -2,6 +2,7 @@ export * from "./ConvertRecoveryPointToSnapshotCommand";
2
2
  export * from "./CreateCustomDomainAssociationCommand";
3
3
  export * from "./CreateEndpointAccessCommand";
4
4
  export * from "./CreateNamespaceCommand";
5
+ export * from "./CreateReservationCommand";
5
6
  export * from "./CreateScheduledActionCommand";
6
7
  export * from "./CreateSnapshotCommand";
7
8
  export * from "./CreateSnapshotCopyConfigurationCommand";
@@ -21,6 +22,8 @@ export * from "./GetCustomDomainAssociationCommand";
21
22
  export * from "./GetEndpointAccessCommand";
22
23
  export * from "./GetNamespaceCommand";
23
24
  export * from "./GetRecoveryPointCommand";
25
+ export * from "./GetReservationCommand";
26
+ export * from "./GetReservationOfferingCommand";
24
27
  export * from "./GetResourcePolicyCommand";
25
28
  export * from "./GetScheduledActionCommand";
26
29
  export * from "./GetSnapshotCommand";
@@ -33,6 +36,8 @@ export * from "./ListEndpointAccessCommand";
33
36
  export * from "./ListManagedWorkgroupsCommand";
34
37
  export * from "./ListNamespacesCommand";
35
38
  export * from "./ListRecoveryPointsCommand";
39
+ export * from "./ListReservationOfferingsCommand";
40
+ export * from "./ListReservationsCommand";
36
41
  export * from "./ListScheduledActionsCommand";
37
42
  export * from "./ListSnapshotCopyConfigurationsCommand";
38
43
  export * from "./ListSnapshotsCommand";