@aws-sdk/client-redshift-serverless 3.751.0 → 3.772.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 +23 -7
- package/dist-cjs/index.js +158 -79
- package/dist-es/RedshiftServerless.js +4 -0
- package/dist-es/commands/GetTrackCommand.js +22 -0
- package/dist-es/commands/ListTracksCommand.js +22 -0
- package/dist-es/commands/index.js +2 -0
- package/dist-es/pagination/ListTracksPaginator.js +4 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/protocols/Aws_json1_1.js +40 -0
- package/dist-types/RedshiftServerless.d.ts +15 -0
- package/dist-types/RedshiftServerlessClient.d.ts +4 -2
- package/dist-types/commands/CreateWorkgroupCommand.d.ts +3 -0
- package/dist-types/commands/DeleteWorkgroupCommand.d.ts +2 -0
- package/dist-types/commands/GetTrackCommand.d.ts +98 -0
- package/dist-types/commands/GetWorkgroupCommand.d.ts +2 -0
- package/dist-types/commands/ListTracksCommand.d.ts +99 -0
- package/dist-types/commands/ListWorkgroupsCommand.d.ts +2 -0
- package/dist-types/commands/UpdateWorkgroupCommand.d.ts +3 -0
- package/dist-types/commands/index.d.ts +2 -0
- package/dist-types/models/models_0.d.ts +121 -0
- package/dist-types/pagination/ListTracksPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/protocols/Aws_json1_1.d.ts +18 -0
- package/dist-types/ts3.4/RedshiftServerless.d.ts +35 -0
- package/dist-types/ts3.4/RedshiftServerlessClient.d.ts +12 -0
- package/dist-types/ts3.4/commands/GetTrackCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/ListTracksCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/index.d.ts +2 -0
- package/dist-types/ts3.4/models/models_0.d.ts +27 -0
- package/dist-types/ts3.4/pagination/ListTracksPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +1 -0
- package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +24 -0
- package/package.json +13 -13
|
@@ -1338,6 +1338,12 @@ export interface CreateWorkgroupRequest {
|
|
|
1338
1338
|
* @public
|
|
1339
1339
|
*/
|
|
1340
1340
|
ipAddressType?: string | undefined;
|
|
1341
|
+
/**
|
|
1342
|
+
* <p>An optional parameter for the name of the track for the workgroup. If you don't provide
|
|
1343
|
+
* a track name, the workgroup is assigned to the <code>current</code> track.</p>
|
|
1344
|
+
* @public
|
|
1345
|
+
*/
|
|
1346
|
+
trackName?: string | undefined;
|
|
1341
1347
|
}
|
|
1342
1348
|
/**
|
|
1343
1349
|
* <p>The VPC endpoint object.</p>
|
|
@@ -1499,6 +1505,18 @@ export interface Workgroup {
|
|
|
1499
1505
|
* @public
|
|
1500
1506
|
*/
|
|
1501
1507
|
pricePerformanceTarget?: PerformanceTarget | undefined;
|
|
1508
|
+
/**
|
|
1509
|
+
* <p>The name of the track for the workgroup.</p>
|
|
1510
|
+
* @public
|
|
1511
|
+
*/
|
|
1512
|
+
trackName?: string | undefined;
|
|
1513
|
+
/**
|
|
1514
|
+
* <p>The name for the track that you want to assign to the workgroup. When the track changes, the
|
|
1515
|
+
* workgroup is switched to the latest workgroup release available for the track. At this point, the
|
|
1516
|
+
* track name is applied.</p>
|
|
1517
|
+
* @public
|
|
1518
|
+
*/
|
|
1519
|
+
pendingTrackName?: string | undefined;
|
|
1502
1520
|
}
|
|
1503
1521
|
/**
|
|
1504
1522
|
* @public
|
|
@@ -2203,6 +2221,66 @@ export interface GetTableRestoreStatusResponse {
|
|
|
2203
2221
|
*/
|
|
2204
2222
|
tableRestoreStatus?: TableRestoreStatus | undefined;
|
|
2205
2223
|
}
|
|
2224
|
+
/**
|
|
2225
|
+
* @public
|
|
2226
|
+
*/
|
|
2227
|
+
export interface GetTrackRequest {
|
|
2228
|
+
/**
|
|
2229
|
+
* <p>The name of the track of which its version is fetched.</p>
|
|
2230
|
+
* @public
|
|
2231
|
+
*/
|
|
2232
|
+
trackName: string | undefined;
|
|
2233
|
+
}
|
|
2234
|
+
/**
|
|
2235
|
+
* <p>A track that you can switch the current track to.</p>
|
|
2236
|
+
* @public
|
|
2237
|
+
*/
|
|
2238
|
+
export interface UpdateTarget {
|
|
2239
|
+
/**
|
|
2240
|
+
* <p>The name of the new track.</p>
|
|
2241
|
+
* @public
|
|
2242
|
+
*/
|
|
2243
|
+
trackName?: string | undefined;
|
|
2244
|
+
/**
|
|
2245
|
+
* <p>The workgroup version for the new track.</p>
|
|
2246
|
+
* @public
|
|
2247
|
+
*/
|
|
2248
|
+
workgroupVersion?: string | undefined;
|
|
2249
|
+
}
|
|
2250
|
+
/**
|
|
2251
|
+
* <p>Defines a track that determines which Amazon Redshift version
|
|
2252
|
+
* to apply after a new version is released. If the value for <code>ServerlessTrack</code> is
|
|
2253
|
+
* <code>current</code>, the workgroup is updated to the most recently certified release.
|
|
2254
|
+
* If the value is <code>trailing</code>, the workgroup is updated to the previously certified release.</p>
|
|
2255
|
+
* @public
|
|
2256
|
+
*/
|
|
2257
|
+
export interface ServerlessTrack {
|
|
2258
|
+
/**
|
|
2259
|
+
* <p>The name of the track. Valid values are <code>current</code> and <code>trailing</code>.</p>
|
|
2260
|
+
* @public
|
|
2261
|
+
*/
|
|
2262
|
+
trackName?: string | undefined;
|
|
2263
|
+
/**
|
|
2264
|
+
* <p>The workgroup version number for the workgroup release.</p>
|
|
2265
|
+
* @public
|
|
2266
|
+
*/
|
|
2267
|
+
workgroupVersion?: string | undefined;
|
|
2268
|
+
/**
|
|
2269
|
+
* <p>An array of <code>UpdateTarget</code> objects to update with the track.</p>
|
|
2270
|
+
* @public
|
|
2271
|
+
*/
|
|
2272
|
+
updateTargets?: UpdateTarget[] | undefined;
|
|
2273
|
+
}
|
|
2274
|
+
/**
|
|
2275
|
+
* @public
|
|
2276
|
+
*/
|
|
2277
|
+
export interface GetTrackResponse {
|
|
2278
|
+
/**
|
|
2279
|
+
* <p>The version of the specified track.</p>
|
|
2280
|
+
* @public
|
|
2281
|
+
*/
|
|
2282
|
+
track?: ServerlessTrack | undefined;
|
|
2283
|
+
}
|
|
2206
2284
|
/**
|
|
2207
2285
|
* @public
|
|
2208
2286
|
*/
|
|
@@ -2692,6 +2770,43 @@ export interface ListTagsForResourceResponse {
|
|
|
2692
2770
|
*/
|
|
2693
2771
|
tags?: Tag[] | undefined;
|
|
2694
2772
|
}
|
|
2773
|
+
/**
|
|
2774
|
+
* @public
|
|
2775
|
+
*/
|
|
2776
|
+
export interface ListTracksRequest {
|
|
2777
|
+
/**
|
|
2778
|
+
* <p>If your initial <code>ListTracksRequest</code> operation returns a
|
|
2779
|
+
* <code>nextToken</code>, you can include the returned <code>nextToken</code>
|
|
2780
|
+
* in following <code>ListTracksRequest</code> operations, which returns results in the next page.</p>
|
|
2781
|
+
* @public
|
|
2782
|
+
*/
|
|
2783
|
+
nextToken?: string | undefined;
|
|
2784
|
+
/**
|
|
2785
|
+
* <p>The maximum number of response records to return in each call.
|
|
2786
|
+
* If the number of remaining response records exceeds the specified
|
|
2787
|
+
* MaxRecords value, a value is returned in a marker field of the response.
|
|
2788
|
+
* You can retrieve the next set of records by retrying the command with the
|
|
2789
|
+
* returned marker value.</p>
|
|
2790
|
+
* @public
|
|
2791
|
+
*/
|
|
2792
|
+
maxResults?: number | undefined;
|
|
2793
|
+
}
|
|
2794
|
+
/**
|
|
2795
|
+
* @public
|
|
2796
|
+
*/
|
|
2797
|
+
export interface ListTracksResponse {
|
|
2798
|
+
/**
|
|
2799
|
+
* <p>The returned tracks.</p>
|
|
2800
|
+
* @public
|
|
2801
|
+
*/
|
|
2802
|
+
tracks?: ServerlessTrack[] | undefined;
|
|
2803
|
+
/**
|
|
2804
|
+
* <p>When <code>nextToken</code> is returned, there are more results available. The value of <code>nextToken</code>
|
|
2805
|
+
* is a unique pagination token for each page. Make the call again using the returned token to retrieve the next page.</p>
|
|
2806
|
+
* @public
|
|
2807
|
+
*/
|
|
2808
|
+
nextToken?: string | undefined;
|
|
2809
|
+
}
|
|
2695
2810
|
/**
|
|
2696
2811
|
* @public
|
|
2697
2812
|
*/
|
|
@@ -3413,6 +3528,12 @@ export interface UpdateWorkgroupRequest {
|
|
|
3413
3528
|
* @public
|
|
3414
3529
|
*/
|
|
3415
3530
|
pricePerformanceTarget?: PerformanceTarget | undefined;
|
|
3531
|
+
/**
|
|
3532
|
+
* <p>An optional parameter for the name of the track for the workgroup. If you don't provide
|
|
3533
|
+
* a track name, the workgroup is assigned to the <code>current</code> track.</p>
|
|
3534
|
+
* @public
|
|
3535
|
+
*/
|
|
3536
|
+
trackName?: string | undefined;
|
|
3416
3537
|
}
|
|
3417
3538
|
/**
|
|
3418
3539
|
* @public
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { Paginator } from "@smithy/types";
|
|
2
|
+
import { ListTracksCommandInput, ListTracksCommandOutput } from "../commands/ListTracksCommand";
|
|
3
|
+
import { RedshiftServerlessPaginationConfiguration } from "./Interfaces";
|
|
4
|
+
/**
|
|
5
|
+
* @public
|
|
6
|
+
*/
|
|
7
|
+
export declare const paginateListTracks: (config: RedshiftServerlessPaginationConfiguration, input: ListTracksCommandInput, ...rest: any[]) => Paginator<ListTracksCommandOutput>;
|
|
@@ -8,5 +8,6 @@ export * from "./ListScheduledActionsPaginator";
|
|
|
8
8
|
export * from "./ListSnapshotCopyConfigurationsPaginator";
|
|
9
9
|
export * from "./ListSnapshotsPaginator";
|
|
10
10
|
export * from "./ListTableRestoreStatusPaginator";
|
|
11
|
+
export * from "./ListTracksPaginator";
|
|
11
12
|
export * from "./ListUsageLimitsPaginator";
|
|
12
13
|
export * from "./ListWorkgroupsPaginator";
|
|
@@ -27,6 +27,7 @@ import { GetResourcePolicyCommandInput, GetResourcePolicyCommandOutput } from ".
|
|
|
27
27
|
import { GetScheduledActionCommandInput, GetScheduledActionCommandOutput } from "../commands/GetScheduledActionCommand";
|
|
28
28
|
import { GetSnapshotCommandInput, GetSnapshotCommandOutput } from "../commands/GetSnapshotCommand";
|
|
29
29
|
import { GetTableRestoreStatusCommandInput, GetTableRestoreStatusCommandOutput } from "../commands/GetTableRestoreStatusCommand";
|
|
30
|
+
import { GetTrackCommandInput, GetTrackCommandOutput } from "../commands/GetTrackCommand";
|
|
30
31
|
import { GetUsageLimitCommandInput, GetUsageLimitCommandOutput } from "../commands/GetUsageLimitCommand";
|
|
31
32
|
import { GetWorkgroupCommandInput, GetWorkgroupCommandOutput } from "../commands/GetWorkgroupCommand";
|
|
32
33
|
import { ListCustomDomainAssociationsCommandInput, ListCustomDomainAssociationsCommandOutput } from "../commands/ListCustomDomainAssociationsCommand";
|
|
@@ -39,6 +40,7 @@ import { ListSnapshotCopyConfigurationsCommandInput, ListSnapshotCopyConfigurati
|
|
|
39
40
|
import { ListSnapshotsCommandInput, ListSnapshotsCommandOutput } from "../commands/ListSnapshotsCommand";
|
|
40
41
|
import { ListTableRestoreStatusCommandInput, ListTableRestoreStatusCommandOutput } from "../commands/ListTableRestoreStatusCommand";
|
|
41
42
|
import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "../commands/ListTagsForResourceCommand";
|
|
43
|
+
import { ListTracksCommandInput, ListTracksCommandOutput } from "../commands/ListTracksCommand";
|
|
42
44
|
import { ListUsageLimitsCommandInput, ListUsageLimitsCommandOutput } from "../commands/ListUsageLimitsCommand";
|
|
43
45
|
import { ListWorkgroupsCommandInput, ListWorkgroupsCommandOutput } from "../commands/ListWorkgroupsCommand";
|
|
44
46
|
import { PutResourcePolicyCommandInput, PutResourcePolicyCommandOutput } from "../commands/PutResourcePolicyCommand";
|
|
@@ -164,6 +166,10 @@ export declare const se_GetSnapshotCommand: (input: GetSnapshotCommandInput, con
|
|
|
164
166
|
* serializeAws_json1_1GetTableRestoreStatusCommand
|
|
165
167
|
*/
|
|
166
168
|
export declare const se_GetTableRestoreStatusCommand: (input: GetTableRestoreStatusCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
169
|
+
/**
|
|
170
|
+
* serializeAws_json1_1GetTrackCommand
|
|
171
|
+
*/
|
|
172
|
+
export declare const se_GetTrackCommand: (input: GetTrackCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
167
173
|
/**
|
|
168
174
|
* serializeAws_json1_1GetUsageLimitCommand
|
|
169
175
|
*/
|
|
@@ -212,6 +218,10 @@ export declare const se_ListTableRestoreStatusCommand: (input: ListTableRestoreS
|
|
|
212
218
|
* serializeAws_json1_1ListTagsForResourceCommand
|
|
213
219
|
*/
|
|
214
220
|
export declare const se_ListTagsForResourceCommand: (input: ListTagsForResourceCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
221
|
+
/**
|
|
222
|
+
* serializeAws_json1_1ListTracksCommand
|
|
223
|
+
*/
|
|
224
|
+
export declare const se_ListTracksCommand: (input: ListTracksCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
215
225
|
/**
|
|
216
226
|
* serializeAws_json1_1ListUsageLimitsCommand
|
|
217
227
|
*/
|
|
@@ -388,6 +398,10 @@ export declare const de_GetSnapshotCommand: (output: __HttpResponse, context: __
|
|
|
388
398
|
* deserializeAws_json1_1GetTableRestoreStatusCommand
|
|
389
399
|
*/
|
|
390
400
|
export declare const de_GetTableRestoreStatusCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetTableRestoreStatusCommandOutput>;
|
|
401
|
+
/**
|
|
402
|
+
* deserializeAws_json1_1GetTrackCommand
|
|
403
|
+
*/
|
|
404
|
+
export declare const de_GetTrackCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetTrackCommandOutput>;
|
|
391
405
|
/**
|
|
392
406
|
* deserializeAws_json1_1GetUsageLimitCommand
|
|
393
407
|
*/
|
|
@@ -436,6 +450,10 @@ export declare const de_ListTableRestoreStatusCommand: (output: __HttpResponse,
|
|
|
436
450
|
* deserializeAws_json1_1ListTagsForResourceCommand
|
|
437
451
|
*/
|
|
438
452
|
export declare const de_ListTagsForResourceCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListTagsForResourceCommandOutput>;
|
|
453
|
+
/**
|
|
454
|
+
* deserializeAws_json1_1ListTracksCommand
|
|
455
|
+
*/
|
|
456
|
+
export declare const de_ListTracksCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListTracksCommandOutput>;
|
|
439
457
|
/**
|
|
440
458
|
* deserializeAws_json1_1ListUsageLimitsCommand
|
|
441
459
|
*/
|
|
@@ -107,6 +107,10 @@ import {
|
|
|
107
107
|
GetTableRestoreStatusCommandInput,
|
|
108
108
|
GetTableRestoreStatusCommandOutput,
|
|
109
109
|
} from "./commands/GetTableRestoreStatusCommand";
|
|
110
|
+
import {
|
|
111
|
+
GetTrackCommandInput,
|
|
112
|
+
GetTrackCommandOutput,
|
|
113
|
+
} from "./commands/GetTrackCommand";
|
|
110
114
|
import {
|
|
111
115
|
GetUsageLimitCommandInput,
|
|
112
116
|
GetUsageLimitCommandOutput,
|
|
@@ -155,6 +159,10 @@ import {
|
|
|
155
159
|
ListTagsForResourceCommandInput,
|
|
156
160
|
ListTagsForResourceCommandOutput,
|
|
157
161
|
} from "./commands/ListTagsForResourceCommand";
|
|
162
|
+
import {
|
|
163
|
+
ListTracksCommandInput,
|
|
164
|
+
ListTracksCommandOutput,
|
|
165
|
+
} from "./commands/ListTracksCommand";
|
|
158
166
|
import {
|
|
159
167
|
ListUsageLimitsCommandInput,
|
|
160
168
|
ListUsageLimitsCommandOutput,
|
|
@@ -578,6 +586,19 @@ export interface RedshiftServerless {
|
|
|
578
586
|
options: __HttpHandlerOptions,
|
|
579
587
|
cb: (err: any, data?: GetTableRestoreStatusCommandOutput) => void
|
|
580
588
|
): void;
|
|
589
|
+
getTrack(
|
|
590
|
+
args: GetTrackCommandInput,
|
|
591
|
+
options?: __HttpHandlerOptions
|
|
592
|
+
): Promise<GetTrackCommandOutput>;
|
|
593
|
+
getTrack(
|
|
594
|
+
args: GetTrackCommandInput,
|
|
595
|
+
cb: (err: any, data?: GetTrackCommandOutput) => void
|
|
596
|
+
): void;
|
|
597
|
+
getTrack(
|
|
598
|
+
args: GetTrackCommandInput,
|
|
599
|
+
options: __HttpHandlerOptions,
|
|
600
|
+
cb: (err: any, data?: GetTrackCommandOutput) => void
|
|
601
|
+
): void;
|
|
581
602
|
getUsageLimit(
|
|
582
603
|
args: GetUsageLimitCommandInput,
|
|
583
604
|
options?: __HttpHandlerOptions
|
|
@@ -743,6 +764,20 @@ export interface RedshiftServerless {
|
|
|
743
764
|
options: __HttpHandlerOptions,
|
|
744
765
|
cb: (err: any, data?: ListTagsForResourceCommandOutput) => void
|
|
745
766
|
): void;
|
|
767
|
+
listTracks(): Promise<ListTracksCommandOutput>;
|
|
768
|
+
listTracks(
|
|
769
|
+
args: ListTracksCommandInput,
|
|
770
|
+
options?: __HttpHandlerOptions
|
|
771
|
+
): Promise<ListTracksCommandOutput>;
|
|
772
|
+
listTracks(
|
|
773
|
+
args: ListTracksCommandInput,
|
|
774
|
+
cb: (err: any, data?: ListTracksCommandOutput) => void
|
|
775
|
+
): void;
|
|
776
|
+
listTracks(
|
|
777
|
+
args: ListTracksCommandInput,
|
|
778
|
+
options: __HttpHandlerOptions,
|
|
779
|
+
cb: (err: any, data?: ListTracksCommandOutput) => void
|
|
780
|
+
): void;
|
|
746
781
|
listUsageLimits(): Promise<ListUsageLimitsCommandOutput>;
|
|
747
782
|
listUsageLimits(
|
|
748
783
|
args: ListUsageLimitsCommandInput,
|
|
@@ -153,6 +153,10 @@ import {
|
|
|
153
153
|
GetTableRestoreStatusCommandInput,
|
|
154
154
|
GetTableRestoreStatusCommandOutput,
|
|
155
155
|
} from "./commands/GetTableRestoreStatusCommand";
|
|
156
|
+
import {
|
|
157
|
+
GetTrackCommandInput,
|
|
158
|
+
GetTrackCommandOutput,
|
|
159
|
+
} from "./commands/GetTrackCommand";
|
|
156
160
|
import {
|
|
157
161
|
GetUsageLimitCommandInput,
|
|
158
162
|
GetUsageLimitCommandOutput,
|
|
@@ -201,6 +205,10 @@ import {
|
|
|
201
205
|
ListTagsForResourceCommandInput,
|
|
202
206
|
ListTagsForResourceCommandOutput,
|
|
203
207
|
} from "./commands/ListTagsForResourceCommand";
|
|
208
|
+
import {
|
|
209
|
+
ListTracksCommandInput,
|
|
210
|
+
ListTracksCommandOutput,
|
|
211
|
+
} from "./commands/ListTracksCommand";
|
|
204
212
|
import {
|
|
205
213
|
ListUsageLimitsCommandInput,
|
|
206
214
|
ListUsageLimitsCommandOutput,
|
|
@@ -304,6 +312,7 @@ export type ServiceInputTypes =
|
|
|
304
312
|
| GetScheduledActionCommandInput
|
|
305
313
|
| GetSnapshotCommandInput
|
|
306
314
|
| GetTableRestoreStatusCommandInput
|
|
315
|
+
| GetTrackCommandInput
|
|
307
316
|
| GetUsageLimitCommandInput
|
|
308
317
|
| GetWorkgroupCommandInput
|
|
309
318
|
| ListCustomDomainAssociationsCommandInput
|
|
@@ -316,6 +325,7 @@ export type ServiceInputTypes =
|
|
|
316
325
|
| ListSnapshotsCommandInput
|
|
317
326
|
| ListTableRestoreStatusCommandInput
|
|
318
327
|
| ListTagsForResourceCommandInput
|
|
328
|
+
| ListTracksCommandInput
|
|
319
329
|
| ListUsageLimitsCommandInput
|
|
320
330
|
| ListWorkgroupsCommandInput
|
|
321
331
|
| PutResourcePolicyCommandInput
|
|
@@ -361,6 +371,7 @@ export type ServiceOutputTypes =
|
|
|
361
371
|
| GetScheduledActionCommandOutput
|
|
362
372
|
| GetSnapshotCommandOutput
|
|
363
373
|
| GetTableRestoreStatusCommandOutput
|
|
374
|
+
| GetTrackCommandOutput
|
|
364
375
|
| GetUsageLimitCommandOutput
|
|
365
376
|
| GetWorkgroupCommandOutput
|
|
366
377
|
| ListCustomDomainAssociationsCommandOutput
|
|
@@ -373,6 +384,7 @@ export type ServiceOutputTypes =
|
|
|
373
384
|
| ListSnapshotsCommandOutput
|
|
374
385
|
| ListTableRestoreStatusCommandOutput
|
|
375
386
|
| ListTagsForResourceCommandOutput
|
|
387
|
+
| ListTracksCommandOutput
|
|
376
388
|
| ListUsageLimitsCommandOutput
|
|
377
389
|
| ListWorkgroupsCommandOutput
|
|
378
390
|
| PutResourcePolicyCommandOutput
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { GetTrackRequest, GetTrackResponse } from "../models/models_0";
|
|
4
|
+
import {
|
|
5
|
+
RedshiftServerlessClientResolvedConfig,
|
|
6
|
+
ServiceInputTypes,
|
|
7
|
+
ServiceOutputTypes,
|
|
8
|
+
} from "../RedshiftServerlessClient";
|
|
9
|
+
export { __MetadataBearer };
|
|
10
|
+
export { $Command };
|
|
11
|
+
export interface GetTrackCommandInput extends GetTrackRequest {}
|
|
12
|
+
export interface GetTrackCommandOutput
|
|
13
|
+
extends GetTrackResponse,
|
|
14
|
+
__MetadataBearer {}
|
|
15
|
+
declare const GetTrackCommand_base: {
|
|
16
|
+
new (
|
|
17
|
+
input: GetTrackCommandInput
|
|
18
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
19
|
+
GetTrackCommandInput,
|
|
20
|
+
GetTrackCommandOutput,
|
|
21
|
+
RedshiftServerlessClientResolvedConfig,
|
|
22
|
+
ServiceInputTypes,
|
|
23
|
+
ServiceOutputTypes
|
|
24
|
+
>;
|
|
25
|
+
new (
|
|
26
|
+
__0_0: GetTrackCommandInput
|
|
27
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
28
|
+
GetTrackCommandInput,
|
|
29
|
+
GetTrackCommandOutput,
|
|
30
|
+
RedshiftServerlessClientResolvedConfig,
|
|
31
|
+
ServiceInputTypes,
|
|
32
|
+
ServiceOutputTypes
|
|
33
|
+
>;
|
|
34
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
35
|
+
};
|
|
36
|
+
export declare class GetTrackCommand extends GetTrackCommand_base {
|
|
37
|
+
protected static __types: {
|
|
38
|
+
api: {
|
|
39
|
+
input: GetTrackRequest;
|
|
40
|
+
output: GetTrackResponse;
|
|
41
|
+
};
|
|
42
|
+
sdk: {
|
|
43
|
+
input: GetTrackCommandInput;
|
|
44
|
+
output: GetTrackCommandOutput;
|
|
45
|
+
};
|
|
46
|
+
};
|
|
47
|
+
}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { ListTracksRequest, ListTracksResponse } from "../models/models_0";
|
|
4
|
+
import {
|
|
5
|
+
RedshiftServerlessClientResolvedConfig,
|
|
6
|
+
ServiceInputTypes,
|
|
7
|
+
ServiceOutputTypes,
|
|
8
|
+
} from "../RedshiftServerlessClient";
|
|
9
|
+
export { __MetadataBearer };
|
|
10
|
+
export { $Command };
|
|
11
|
+
export interface ListTracksCommandInput extends ListTracksRequest {}
|
|
12
|
+
export interface ListTracksCommandOutput
|
|
13
|
+
extends ListTracksResponse,
|
|
14
|
+
__MetadataBearer {}
|
|
15
|
+
declare const ListTracksCommand_base: {
|
|
16
|
+
new (
|
|
17
|
+
input: ListTracksCommandInput
|
|
18
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
19
|
+
ListTracksCommandInput,
|
|
20
|
+
ListTracksCommandOutput,
|
|
21
|
+
RedshiftServerlessClientResolvedConfig,
|
|
22
|
+
ServiceInputTypes,
|
|
23
|
+
ServiceOutputTypes
|
|
24
|
+
>;
|
|
25
|
+
new (
|
|
26
|
+
...[input]: [] | [ListTracksCommandInput]
|
|
27
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
28
|
+
ListTracksCommandInput,
|
|
29
|
+
ListTracksCommandOutput,
|
|
30
|
+
RedshiftServerlessClientResolvedConfig,
|
|
31
|
+
ServiceInputTypes,
|
|
32
|
+
ServiceOutputTypes
|
|
33
|
+
>;
|
|
34
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
35
|
+
};
|
|
36
|
+
export declare class ListTracksCommand extends ListTracksCommand_base {
|
|
37
|
+
protected static __types: {
|
|
38
|
+
api: {
|
|
39
|
+
input: ListTracksRequest;
|
|
40
|
+
output: ListTracksResponse;
|
|
41
|
+
};
|
|
42
|
+
sdk: {
|
|
43
|
+
input: ListTracksCommandInput;
|
|
44
|
+
output: ListTracksCommandOutput;
|
|
45
|
+
};
|
|
46
|
+
};
|
|
47
|
+
}
|
|
@@ -25,6 +25,7 @@ export * from "./GetResourcePolicyCommand";
|
|
|
25
25
|
export * from "./GetScheduledActionCommand";
|
|
26
26
|
export * from "./GetSnapshotCommand";
|
|
27
27
|
export * from "./GetTableRestoreStatusCommand";
|
|
28
|
+
export * from "./GetTrackCommand";
|
|
28
29
|
export * from "./GetUsageLimitCommand";
|
|
29
30
|
export * from "./GetWorkgroupCommand";
|
|
30
31
|
export * from "./ListCustomDomainAssociationsCommand";
|
|
@@ -37,6 +38,7 @@ export * from "./ListSnapshotCopyConfigurationsCommand";
|
|
|
37
38
|
export * from "./ListSnapshotsCommand";
|
|
38
39
|
export * from "./ListTableRestoreStatusCommand";
|
|
39
40
|
export * from "./ListTagsForResourceCommand";
|
|
41
|
+
export * from "./ListTracksCommand";
|
|
40
42
|
export * from "./ListUsageLimitsCommand";
|
|
41
43
|
export * from "./ListWorkgroupsCommand";
|
|
42
44
|
export * from "./PutResourcePolicyCommand";
|
|
@@ -383,6 +383,7 @@ export interface CreateWorkgroupRequest {
|
|
|
383
383
|
maxCapacity?: number | undefined;
|
|
384
384
|
pricePerformanceTarget?: PerformanceTarget | undefined;
|
|
385
385
|
ipAddressType?: string | undefined;
|
|
386
|
+
trackName?: string | undefined;
|
|
386
387
|
}
|
|
387
388
|
export interface Endpoint {
|
|
388
389
|
address?: string | undefined;
|
|
@@ -421,6 +422,8 @@ export interface Workgroup {
|
|
|
421
422
|
crossAccountVpcs?: string[] | undefined;
|
|
422
423
|
ipAddressType?: string | undefined;
|
|
423
424
|
pricePerformanceTarget?: PerformanceTarget | undefined;
|
|
425
|
+
trackName?: string | undefined;
|
|
426
|
+
pendingTrackName?: string | undefined;
|
|
424
427
|
}
|
|
425
428
|
export interface CreateWorkgroupResponse {
|
|
426
429
|
workgroup?: Workgroup | undefined;
|
|
@@ -607,6 +610,21 @@ export interface TableRestoreStatus {
|
|
|
607
610
|
export interface GetTableRestoreStatusResponse {
|
|
608
611
|
tableRestoreStatus?: TableRestoreStatus | undefined;
|
|
609
612
|
}
|
|
613
|
+
export interface GetTrackRequest {
|
|
614
|
+
trackName: string | undefined;
|
|
615
|
+
}
|
|
616
|
+
export interface UpdateTarget {
|
|
617
|
+
trackName?: string | undefined;
|
|
618
|
+
workgroupVersion?: string | undefined;
|
|
619
|
+
}
|
|
620
|
+
export interface ServerlessTrack {
|
|
621
|
+
trackName?: string | undefined;
|
|
622
|
+
workgroupVersion?: string | undefined;
|
|
623
|
+
updateTargets?: UpdateTarget[] | undefined;
|
|
624
|
+
}
|
|
625
|
+
export interface GetTrackResponse {
|
|
626
|
+
track?: ServerlessTrack | undefined;
|
|
627
|
+
}
|
|
610
628
|
export interface GetUsageLimitRequest {
|
|
611
629
|
usageLimitId: string | undefined;
|
|
612
630
|
}
|
|
@@ -732,6 +750,14 @@ export interface ListTagsForResourceRequest {
|
|
|
732
750
|
export interface ListTagsForResourceResponse {
|
|
733
751
|
tags?: Tag[] | undefined;
|
|
734
752
|
}
|
|
753
|
+
export interface ListTracksRequest {
|
|
754
|
+
nextToken?: string | undefined;
|
|
755
|
+
maxResults?: number | undefined;
|
|
756
|
+
}
|
|
757
|
+
export interface ListTracksResponse {
|
|
758
|
+
tracks?: ServerlessTrack[] | undefined;
|
|
759
|
+
nextToken?: string | undefined;
|
|
760
|
+
}
|
|
735
761
|
export interface ListUsageLimitsRequest {
|
|
736
762
|
resourceArn?: string | undefined;
|
|
737
763
|
usageType?: UsageLimitUsageType | undefined;
|
|
@@ -893,6 +919,7 @@ export interface UpdateWorkgroupRequest {
|
|
|
893
919
|
maxCapacity?: number | undefined;
|
|
894
920
|
ipAddressType?: string | undefined;
|
|
895
921
|
pricePerformanceTarget?: PerformanceTarget | undefined;
|
|
922
|
+
trackName?: string | undefined;
|
|
896
923
|
}
|
|
897
924
|
export interface UpdateWorkgroupResponse {
|
|
898
925
|
workgroup: Workgroup | undefined;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Paginator } from "@smithy/types";
|
|
2
|
+
import {
|
|
3
|
+
ListTracksCommandInput,
|
|
4
|
+
ListTracksCommandOutput,
|
|
5
|
+
} from "../commands/ListTracksCommand";
|
|
6
|
+
import { RedshiftServerlessPaginationConfiguration } from "./Interfaces";
|
|
7
|
+
export declare const paginateListTracks: (
|
|
8
|
+
config: RedshiftServerlessPaginationConfiguration,
|
|
9
|
+
input: ListTracksCommandInput,
|
|
10
|
+
...rest: any[]
|
|
11
|
+
) => Paginator<ListTracksCommandOutput>;
|
|
@@ -8,5 +8,6 @@ export * from "./ListScheduledActionsPaginator";
|
|
|
8
8
|
export * from "./ListSnapshotCopyConfigurationsPaginator";
|
|
9
9
|
export * from "./ListSnapshotsPaginator";
|
|
10
10
|
export * from "./ListTableRestoreStatusPaginator";
|
|
11
|
+
export * from "./ListTracksPaginator";
|
|
11
12
|
export * from "./ListUsageLimitsPaginator";
|
|
12
13
|
export * from "./ListWorkgroupsPaginator";
|
|
@@ -111,6 +111,10 @@ import {
|
|
|
111
111
|
GetTableRestoreStatusCommandInput,
|
|
112
112
|
GetTableRestoreStatusCommandOutput,
|
|
113
113
|
} from "../commands/GetTableRestoreStatusCommand";
|
|
114
|
+
import {
|
|
115
|
+
GetTrackCommandInput,
|
|
116
|
+
GetTrackCommandOutput,
|
|
117
|
+
} from "../commands/GetTrackCommand";
|
|
114
118
|
import {
|
|
115
119
|
GetUsageLimitCommandInput,
|
|
116
120
|
GetUsageLimitCommandOutput,
|
|
@@ -159,6 +163,10 @@ import {
|
|
|
159
163
|
ListTagsForResourceCommandInput,
|
|
160
164
|
ListTagsForResourceCommandOutput,
|
|
161
165
|
} from "../commands/ListTagsForResourceCommand";
|
|
166
|
+
import {
|
|
167
|
+
ListTracksCommandInput,
|
|
168
|
+
ListTracksCommandOutput,
|
|
169
|
+
} from "../commands/ListTracksCommand";
|
|
162
170
|
import {
|
|
163
171
|
ListUsageLimitsCommandInput,
|
|
164
172
|
ListUsageLimitsCommandOutput,
|
|
@@ -335,6 +343,10 @@ export declare const se_GetTableRestoreStatusCommand: (
|
|
|
335
343
|
input: GetTableRestoreStatusCommandInput,
|
|
336
344
|
context: __SerdeContext
|
|
337
345
|
) => Promise<__HttpRequest>;
|
|
346
|
+
export declare const se_GetTrackCommand: (
|
|
347
|
+
input: GetTrackCommandInput,
|
|
348
|
+
context: __SerdeContext
|
|
349
|
+
) => Promise<__HttpRequest>;
|
|
338
350
|
export declare const se_GetUsageLimitCommand: (
|
|
339
351
|
input: GetUsageLimitCommandInput,
|
|
340
352
|
context: __SerdeContext
|
|
@@ -383,6 +395,10 @@ export declare const se_ListTagsForResourceCommand: (
|
|
|
383
395
|
input: ListTagsForResourceCommandInput,
|
|
384
396
|
context: __SerdeContext
|
|
385
397
|
) => Promise<__HttpRequest>;
|
|
398
|
+
export declare const se_ListTracksCommand: (
|
|
399
|
+
input: ListTracksCommandInput,
|
|
400
|
+
context: __SerdeContext
|
|
401
|
+
) => Promise<__HttpRequest>;
|
|
386
402
|
export declare const se_ListUsageLimitsCommand: (
|
|
387
403
|
input: ListUsageLimitsCommandInput,
|
|
388
404
|
context: __SerdeContext
|
|
@@ -559,6 +575,10 @@ export declare const de_GetTableRestoreStatusCommand: (
|
|
|
559
575
|
output: __HttpResponse,
|
|
560
576
|
context: __SerdeContext
|
|
561
577
|
) => Promise<GetTableRestoreStatusCommandOutput>;
|
|
578
|
+
export declare const de_GetTrackCommand: (
|
|
579
|
+
output: __HttpResponse,
|
|
580
|
+
context: __SerdeContext
|
|
581
|
+
) => Promise<GetTrackCommandOutput>;
|
|
562
582
|
export declare const de_GetUsageLimitCommand: (
|
|
563
583
|
output: __HttpResponse,
|
|
564
584
|
context: __SerdeContext
|
|
@@ -607,6 +627,10 @@ export declare const de_ListTagsForResourceCommand: (
|
|
|
607
627
|
output: __HttpResponse,
|
|
608
628
|
context: __SerdeContext
|
|
609
629
|
) => Promise<ListTagsForResourceCommandOutput>;
|
|
630
|
+
export declare const de_ListTracksCommand: (
|
|
631
|
+
output: __HttpResponse,
|
|
632
|
+
context: __SerdeContext
|
|
633
|
+
) => Promise<ListTracksCommandOutput>;
|
|
610
634
|
export declare const de_ListUsageLimitsCommand: (
|
|
611
635
|
output: __HttpResponse,
|
|
612
636
|
context: __SerdeContext
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-redshift-serverless",
|
|
3
3
|
"description": "AWS SDK for JavaScript Redshift Serverless Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.772.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-redshift-serverless",
|
|
@@ -20,38 +20,38 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
|
-
"@aws-sdk/core": "3.
|
|
24
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
23
|
+
"@aws-sdk/core": "3.758.0",
|
|
24
|
+
"@aws-sdk/credential-provider-node": "3.772.0",
|
|
25
25
|
"@aws-sdk/middleware-host-header": "3.734.0",
|
|
26
26
|
"@aws-sdk/middleware-logger": "3.734.0",
|
|
27
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
28
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
27
|
+
"@aws-sdk/middleware-recursion-detection": "3.772.0",
|
|
28
|
+
"@aws-sdk/middleware-user-agent": "3.758.0",
|
|
29
29
|
"@aws-sdk/region-config-resolver": "3.734.0",
|
|
30
30
|
"@aws-sdk/types": "3.734.0",
|
|
31
31
|
"@aws-sdk/util-endpoints": "3.743.0",
|
|
32
32
|
"@aws-sdk/util-user-agent-browser": "3.734.0",
|
|
33
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
33
|
+
"@aws-sdk/util-user-agent-node": "3.758.0",
|
|
34
34
|
"@smithy/config-resolver": "^4.0.1",
|
|
35
|
-
"@smithy/core": "^3.1.
|
|
35
|
+
"@smithy/core": "^3.1.5",
|
|
36
36
|
"@smithy/fetch-http-handler": "^5.0.1",
|
|
37
37
|
"@smithy/hash-node": "^4.0.1",
|
|
38
38
|
"@smithy/invalid-dependency": "^4.0.1",
|
|
39
39
|
"@smithy/middleware-content-length": "^4.0.1",
|
|
40
|
-
"@smithy/middleware-endpoint": "^4.0.
|
|
41
|
-
"@smithy/middleware-retry": "^4.0.
|
|
40
|
+
"@smithy/middleware-endpoint": "^4.0.6",
|
|
41
|
+
"@smithy/middleware-retry": "^4.0.7",
|
|
42
42
|
"@smithy/middleware-serde": "^4.0.2",
|
|
43
43
|
"@smithy/middleware-stack": "^4.0.1",
|
|
44
44
|
"@smithy/node-config-provider": "^4.0.1",
|
|
45
|
-
"@smithy/node-http-handler": "^4.0.
|
|
45
|
+
"@smithy/node-http-handler": "^4.0.3",
|
|
46
46
|
"@smithy/protocol-http": "^5.0.1",
|
|
47
|
-
"@smithy/smithy-client": "^4.1.
|
|
47
|
+
"@smithy/smithy-client": "^4.1.6",
|
|
48
48
|
"@smithy/types": "^4.1.0",
|
|
49
49
|
"@smithy/url-parser": "^4.0.1",
|
|
50
50
|
"@smithy/util-base64": "^4.0.0",
|
|
51
51
|
"@smithy/util-body-length-browser": "^4.0.0",
|
|
52
52
|
"@smithy/util-body-length-node": "^4.0.0",
|
|
53
|
-
"@smithy/util-defaults-mode-browser": "^4.0.
|
|
54
|
-
"@smithy/util-defaults-mode-node": "^4.0.
|
|
53
|
+
"@smithy/util-defaults-mode-browser": "^4.0.7",
|
|
54
|
+
"@smithy/util-defaults-mode-node": "^4.0.7",
|
|
55
55
|
"@smithy/util-endpoints": "^3.0.1",
|
|
56
56
|
"@smithy/util-middleware": "^4.0.1",
|
|
57
57
|
"@smithy/util-retry": "^4.0.1",
|