@aws-sdk/client-redshift-serverless 3.750.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.
- package/README.md +23 -7
- package/dist-cjs/index.js +83 -1
- 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 +41 -1
- 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 +12 -12
|
@@ -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.758.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.758.0",
|
|
25
25
|
"@aws-sdk/middleware-host-header": "3.734.0",
|
|
26
26
|
"@aws-sdk/middleware-logger": "3.734.0",
|
|
27
27
|
"@aws-sdk/middleware-recursion-detection": "3.734.0",
|
|
28
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
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",
|