@aws-sdk/client-redshift-serverless 3.751.0 → 3.758.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 (33) hide show
  1. package/README.md +23 -7
  2. package/dist-cjs/index.js +82 -0
  3. package/dist-es/RedshiftServerless.js +4 -0
  4. package/dist-es/commands/GetTrackCommand.js +22 -0
  5. package/dist-es/commands/ListTracksCommand.js +22 -0
  6. package/dist-es/commands/index.js +2 -0
  7. package/dist-es/pagination/ListTracksPaginator.js +4 -0
  8. package/dist-es/pagination/index.js +1 -0
  9. package/dist-es/protocols/Aws_json1_1.js +40 -0
  10. package/dist-types/RedshiftServerless.d.ts +15 -0
  11. package/dist-types/RedshiftServerlessClient.d.ts +4 -2
  12. package/dist-types/commands/CreateWorkgroupCommand.d.ts +3 -0
  13. package/dist-types/commands/DeleteWorkgroupCommand.d.ts +2 -0
  14. package/dist-types/commands/GetTrackCommand.d.ts +98 -0
  15. package/dist-types/commands/GetWorkgroupCommand.d.ts +2 -0
  16. package/dist-types/commands/ListTracksCommand.d.ts +99 -0
  17. package/dist-types/commands/ListWorkgroupsCommand.d.ts +2 -0
  18. package/dist-types/commands/UpdateWorkgroupCommand.d.ts +3 -0
  19. package/dist-types/commands/index.d.ts +2 -0
  20. package/dist-types/models/models_0.d.ts +121 -0
  21. package/dist-types/pagination/ListTracksPaginator.d.ts +7 -0
  22. package/dist-types/pagination/index.d.ts +1 -0
  23. package/dist-types/protocols/Aws_json1_1.d.ts +18 -0
  24. package/dist-types/ts3.4/RedshiftServerless.d.ts +35 -0
  25. package/dist-types/ts3.4/RedshiftServerlessClient.d.ts +12 -0
  26. package/dist-types/ts3.4/commands/GetTrackCommand.d.ts +47 -0
  27. package/dist-types/ts3.4/commands/ListTracksCommand.d.ts +47 -0
  28. package/dist-types/ts3.4/commands/index.d.ts +2 -0
  29. package/dist-types/ts3.4/models/models_0.d.ts +27 -0
  30. package/dist-types/ts3.4/pagination/ListTracksPaginator.d.ts +11 -0
  31. package/dist-types/ts3.4/pagination/index.d.ts +1 -0
  32. package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +24 -0
  33. package/package.json +12 -12
@@ -0,0 +1,98 @@
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 { RedshiftServerlessClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RedshiftServerlessClient";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link GetTrackCommand}.
14
+ */
15
+ export interface GetTrackCommandInput extends GetTrackRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link GetTrackCommand}.
21
+ */
22
+ export interface GetTrackCommandOutput extends GetTrackResponse, __MetadataBearer {
23
+ }
24
+ declare const GetTrackCommand_base: {
25
+ new (input: GetTrackCommandInput): import("@smithy/smithy-client").CommandImpl<GetTrackCommandInput, GetTrackCommandOutput, RedshiftServerlessClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: GetTrackCommandInput): import("@smithy/smithy-client").CommandImpl<GetTrackCommandInput, GetTrackCommandOutput, RedshiftServerlessClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Get the Redshift Serverless version for a specified track.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { RedshiftServerlessClient, GetTrackCommand } from "@aws-sdk/client-redshift-serverless"; // ES Modules import
35
+ * // const { RedshiftServerlessClient, GetTrackCommand } = require("@aws-sdk/client-redshift-serverless"); // CommonJS import
36
+ * const client = new RedshiftServerlessClient(config);
37
+ * const input = { // GetTrackRequest
38
+ * trackName: "STRING_VALUE", // required
39
+ * };
40
+ * const command = new GetTrackCommand(input);
41
+ * const response = await client.send(command);
42
+ * // { // GetTrackResponse
43
+ * // track: { // ServerlessTrack
44
+ * // trackName: "STRING_VALUE",
45
+ * // workgroupVersion: "STRING_VALUE",
46
+ * // updateTargets: [ // UpdateTargetsList
47
+ * // { // UpdateTarget
48
+ * // trackName: "STRING_VALUE",
49
+ * // workgroupVersion: "STRING_VALUE",
50
+ * // },
51
+ * // ],
52
+ * // },
53
+ * // };
54
+ *
55
+ * ```
56
+ *
57
+ * @param GetTrackCommandInput - {@link GetTrackCommandInput}
58
+ * @returns {@link GetTrackCommandOutput}
59
+ * @see {@link GetTrackCommandInput} for command's `input` shape.
60
+ * @see {@link GetTrackCommandOutput} for command's `response` shape.
61
+ * @see {@link RedshiftServerlessClientResolvedConfig | config} for RedshiftServerlessClient's `config` shape.
62
+ *
63
+ * @throws {@link AccessDeniedException} (client fault)
64
+ * <p>You do not have sufficient access to perform this action.</p>
65
+ *
66
+ * @throws {@link ConflictException} (client fault)
67
+ * <p>The submitted action has conflicts.</p>
68
+ *
69
+ * @throws {@link InternalServerException} (server fault)
70
+ * <p>The request processing has failed because of an unknown error, exception or failure.</p>
71
+ *
72
+ * @throws {@link ResourceNotFoundException} (client fault)
73
+ * <p>The resource could not be found.</p>
74
+ *
75
+ * @throws {@link ThrottlingException} (client fault)
76
+ * <p>The request was denied due to request throttling.</p>
77
+ *
78
+ * @throws {@link ValidationException} (client fault)
79
+ * <p>The input failed to satisfy the constraints specified by an AWS service.</p>
80
+ *
81
+ * @throws {@link RedshiftServerlessServiceException}
82
+ * <p>Base exception class for all service exceptions from RedshiftServerless service.</p>
83
+ *
84
+ * @public
85
+ */
86
+ export declare class GetTrackCommand extends GetTrackCommand_base {
87
+ /** @internal type navigation helper, not in runtime. */
88
+ protected static __types: {
89
+ api: {
90
+ input: GetTrackRequest;
91
+ output: GetTrackResponse;
92
+ };
93
+ sdk: {
94
+ input: GetTrackCommandInput;
95
+ output: GetTrackCommandOutput;
96
+ };
97
+ };
98
+ }
@@ -96,6 +96,8 @@ declare const GetWorkgroupCommand_base: {
96
96
  * // status: "STRING_VALUE",
97
97
  * // level: Number("int"),
98
98
  * // },
99
+ * // trackName: "STRING_VALUE",
100
+ * // pendingTrackName: "STRING_VALUE",
99
101
  * // },
100
102
  * // };
101
103
  *
@@ -0,0 +1,99 @@
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 { RedshiftServerlessClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../RedshiftServerlessClient";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link ListTracksCommand}.
14
+ */
15
+ export interface ListTracksCommandInput extends ListTracksRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link ListTracksCommand}.
21
+ */
22
+ export interface ListTracksCommandOutput extends ListTracksResponse, __MetadataBearer {
23
+ }
24
+ declare const ListTracksCommand_base: {
25
+ new (input: ListTracksCommandInput): import("@smithy/smithy-client").CommandImpl<ListTracksCommandInput, ListTracksCommandOutput, RedshiftServerlessClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (...[input]: [] | [ListTracksCommandInput]): import("@smithy/smithy-client").CommandImpl<ListTracksCommandInput, ListTracksCommandOutput, RedshiftServerlessClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>List the Amazon Redshift Serverless versions.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { RedshiftServerlessClient, ListTracksCommand } from "@aws-sdk/client-redshift-serverless"; // ES Modules import
35
+ * // const { RedshiftServerlessClient, ListTracksCommand } = require("@aws-sdk/client-redshift-serverless"); // CommonJS import
36
+ * const client = new RedshiftServerlessClient(config);
37
+ * const input = { // ListTracksRequest
38
+ * nextToken: "STRING_VALUE",
39
+ * maxResults: Number("int"),
40
+ * };
41
+ * const command = new ListTracksCommand(input);
42
+ * const response = await client.send(command);
43
+ * // { // ListTracksResponse
44
+ * // tracks: [ // TrackList
45
+ * // { // ServerlessTrack
46
+ * // trackName: "STRING_VALUE",
47
+ * // workgroupVersion: "STRING_VALUE",
48
+ * // updateTargets: [ // UpdateTargetsList
49
+ * // { // UpdateTarget
50
+ * // trackName: "STRING_VALUE",
51
+ * // workgroupVersion: "STRING_VALUE",
52
+ * // },
53
+ * // ],
54
+ * // },
55
+ * // ],
56
+ * // nextToken: "STRING_VALUE",
57
+ * // };
58
+ *
59
+ * ```
60
+ *
61
+ * @param ListTracksCommandInput - {@link ListTracksCommandInput}
62
+ * @returns {@link ListTracksCommandOutput}
63
+ * @see {@link ListTracksCommandInput} for command's `input` shape.
64
+ * @see {@link ListTracksCommandOutput} for command's `response` shape.
65
+ * @see {@link RedshiftServerlessClientResolvedConfig | config} for RedshiftServerlessClient's `config` shape.
66
+ *
67
+ * @throws {@link AccessDeniedException} (client fault)
68
+ * <p>You do not have sufficient access to perform this action.</p>
69
+ *
70
+ * @throws {@link InternalServerException} (server fault)
71
+ * <p>The request processing has failed because of an unknown error, exception or failure.</p>
72
+ *
73
+ * @throws {@link InvalidPaginationException} (client fault)
74
+ * <p>The provided pagination token is invalid.</p>
75
+ *
76
+ * @throws {@link ThrottlingException} (client fault)
77
+ * <p>The request was denied due to request throttling.</p>
78
+ *
79
+ * @throws {@link ValidationException} (client fault)
80
+ * <p>The input failed to satisfy the constraints specified by an AWS service.</p>
81
+ *
82
+ * @throws {@link RedshiftServerlessServiceException}
83
+ * <p>Base exception class for all service exceptions from RedshiftServerless service.</p>
84
+ *
85
+ * @public
86
+ */
87
+ export declare class ListTracksCommand extends ListTracksCommand_base {
88
+ /** @internal type navigation helper, not in runtime. */
89
+ protected static __types: {
90
+ api: {
91
+ input: ListTracksRequest;
92
+ output: ListTracksResponse;
93
+ };
94
+ sdk: {
95
+ input: ListTracksCommandInput;
96
+ output: ListTracksCommandOutput;
97
+ };
98
+ };
99
+ }
@@ -100,6 +100,8 @@ declare const ListWorkgroupsCommand_base: {
100
100
  * // status: "STRING_VALUE",
101
101
  * // level: Number("int"),
102
102
  * // },
103
+ * // trackName: "STRING_VALUE",
104
+ * // pendingTrackName: "STRING_VALUE",
103
105
  * // },
104
106
  * // ],
105
107
  * // };
@@ -77,6 +77,7 @@ declare const UpdateWorkgroupCommand_base: {
77
77
  * status: "STRING_VALUE",
78
78
  * level: Number("int"),
79
79
  * },
80
+ * trackName: "STRING_VALUE",
80
81
  * };
81
82
  * const command = new UpdateWorkgroupCommand(input);
82
83
  * const response = await client.send(command);
@@ -137,6 +138,8 @@ declare const UpdateWorkgroupCommand_base: {
137
138
  * // status: "STRING_VALUE",
138
139
  * // level: Number("int"),
139
140
  * // },
141
+ * // trackName: "STRING_VALUE",
142
+ * // pendingTrackName: "STRING_VALUE",
140
143
  * // },
141
144
  * // };
142
145
  *
@@ -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";
@@ -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
+ }