@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.
Files changed (33) hide show
  1. package/README.md +23 -7
  2. package/dist-cjs/index.js +158 -79
  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 +13 -13
@@ -26,6 +26,7 @@ import { GetResourcePolicyCommand, } from "./commands/GetResourcePolicyCommand";
26
26
  import { GetScheduledActionCommand, } from "./commands/GetScheduledActionCommand";
27
27
  import { GetSnapshotCommand } from "./commands/GetSnapshotCommand";
28
28
  import { GetTableRestoreStatusCommand, } from "./commands/GetTableRestoreStatusCommand";
29
+ import { GetTrackCommand } from "./commands/GetTrackCommand";
29
30
  import { GetUsageLimitCommand, } from "./commands/GetUsageLimitCommand";
30
31
  import { GetWorkgroupCommand, } from "./commands/GetWorkgroupCommand";
31
32
  import { ListCustomDomainAssociationsCommand, } from "./commands/ListCustomDomainAssociationsCommand";
@@ -38,6 +39,7 @@ import { ListSnapshotCopyConfigurationsCommand, } from "./commands/ListSnapshotC
38
39
  import { ListSnapshotsCommand, } from "./commands/ListSnapshotsCommand";
39
40
  import { ListTableRestoreStatusCommand, } from "./commands/ListTableRestoreStatusCommand";
40
41
  import { ListTagsForResourceCommand, } from "./commands/ListTagsForResourceCommand";
42
+ import { ListTracksCommand } from "./commands/ListTracksCommand";
41
43
  import { ListUsageLimitsCommand, } from "./commands/ListUsageLimitsCommand";
42
44
  import { ListWorkgroupsCommand, } from "./commands/ListWorkgroupsCommand";
43
45
  import { PutResourcePolicyCommand, } from "./commands/PutResourcePolicyCommand";
@@ -84,6 +86,7 @@ const commands = {
84
86
  GetScheduledActionCommand,
85
87
  GetSnapshotCommand,
86
88
  GetTableRestoreStatusCommand,
89
+ GetTrackCommand,
87
90
  GetUsageLimitCommand,
88
91
  GetWorkgroupCommand,
89
92
  ListCustomDomainAssociationsCommand,
@@ -96,6 +99,7 @@ const commands = {
96
99
  ListSnapshotsCommand,
97
100
  ListTableRestoreStatusCommand,
98
101
  ListTagsForResourceCommand,
102
+ ListTracksCommand,
99
103
  ListUsageLimitsCommand,
100
104
  ListWorkgroupsCommand,
101
105
  PutResourcePolicyCommand,
@@ -0,0 +1,22 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { de_GetTrackCommand, se_GetTrackCommand } from "../protocols/Aws_json1_1";
6
+ export { $Command };
7
+ export class GetTrackCommand extends $Command
8
+ .classBuilder()
9
+ .ep(commonParams)
10
+ .m(function (Command, cs, config, o) {
11
+ return [
12
+ getSerdePlugin(config, this.serialize, this.deserialize),
13
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
+ ];
15
+ })
16
+ .s("RedshiftServerless", "GetTrack", {})
17
+ .n("RedshiftServerlessClient", "GetTrackCommand")
18
+ .f(void 0, void 0)
19
+ .ser(se_GetTrackCommand)
20
+ .de(de_GetTrackCommand)
21
+ .build() {
22
+ }
@@ -0,0 +1,22 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { de_ListTracksCommand, se_ListTracksCommand } from "../protocols/Aws_json1_1";
6
+ export { $Command };
7
+ export class ListTracksCommand extends $Command
8
+ .classBuilder()
9
+ .ep(commonParams)
10
+ .m(function (Command, cs, config, o) {
11
+ return [
12
+ getSerdePlugin(config, this.serialize, this.deserialize),
13
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
+ ];
15
+ })
16
+ .s("RedshiftServerless", "ListTracks", {})
17
+ .n("RedshiftServerlessClient", "ListTracksCommand")
18
+ .f(void 0, void 0)
19
+ .ser(se_ListTracksCommand)
20
+ .de(de_ListTracksCommand)
21
+ .build() {
22
+ }
@@ -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";
@@ -0,0 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
2
+ import { ListTracksCommand } from "../commands/ListTracksCommand";
3
+ import { RedshiftServerlessClient } from "../RedshiftServerlessClient";
4
+ export const paginateListTracks = createPaginator(RedshiftServerlessClient, ListTracksCommand, "nextToken", "nextToken", "maxResults");
@@ -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";
@@ -165,6 +165,12 @@ export const se_GetTableRestoreStatusCommand = async (input, context) => {
165
165
  body = JSON.stringify(_json(input));
166
166
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
167
167
  };
168
+ export const se_GetTrackCommand = async (input, context) => {
169
+ const headers = sharedHeaders("GetTrack");
170
+ let body;
171
+ body = JSON.stringify(_json(input));
172
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
173
+ };
168
174
  export const se_GetUsageLimitCommand = async (input, context) => {
169
175
  const headers = sharedHeaders("GetUsageLimit");
170
176
  let body;
@@ -237,6 +243,12 @@ export const se_ListTagsForResourceCommand = async (input, context) => {
237
243
  body = JSON.stringify(_json(input));
238
244
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
239
245
  };
246
+ export const se_ListTracksCommand = async (input, context) => {
247
+ const headers = sharedHeaders("ListTracks");
248
+ let body;
249
+ body = JSON.stringify(_json(input));
250
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
251
+ };
240
252
  export const se_ListUsageLimitsCommand = async (input, context) => {
241
253
  const headers = sharedHeaders("ListUsageLimits");
242
254
  let body;
@@ -690,6 +702,19 @@ export const de_GetTableRestoreStatusCommand = async (output, context) => {
690
702
  };
691
703
  return response;
692
704
  };
705
+ export const de_GetTrackCommand = async (output, context) => {
706
+ if (output.statusCode >= 300) {
707
+ return de_CommandError(output, context);
708
+ }
709
+ const data = await parseBody(output.body, context);
710
+ let contents = {};
711
+ contents = _json(data);
712
+ const response = {
713
+ $metadata: deserializeMetadata(output),
714
+ ...contents,
715
+ };
716
+ return response;
717
+ };
693
718
  export const de_GetUsageLimitCommand = async (output, context) => {
694
719
  if (output.statusCode >= 300) {
695
720
  return de_CommandError(output, context);
@@ -846,6 +871,19 @@ export const de_ListTagsForResourceCommand = async (output, context) => {
846
871
  };
847
872
  return response;
848
873
  };
874
+ export const de_ListTracksCommand = async (output, context) => {
875
+ if (output.statusCode >= 300) {
876
+ return de_CommandError(output, context);
877
+ }
878
+ const data = await parseBody(output.body, context);
879
+ let contents = {};
880
+ contents = _json(data);
881
+ const response = {
882
+ $metadata: deserializeMetadata(output),
883
+ ...contents,
884
+ };
885
+ return response;
886
+ };
849
887
  export const de_ListUsageLimitsCommand = async (output, context) => {
850
888
  if (output.statusCode >= 300) {
851
889
  return de_CommandError(output, context);
@@ -1695,12 +1733,14 @@ const de_Workgroup = (output, context) => {
1695
1733
  maxCapacity: __expectInt32,
1696
1734
  namespaceName: __expectString,
1697
1735
  patchVersion: __expectString,
1736
+ pendingTrackName: __expectString,
1698
1737
  port: __expectInt32,
1699
1738
  pricePerformanceTarget: _json,
1700
1739
  publiclyAccessible: __expectBoolean,
1701
1740
  securityGroupIds: _json,
1702
1741
  status: __expectString,
1703
1742
  subnetIds: _json,
1743
+ trackName: __expectString,
1704
1744
  workgroupArn: __expectString,
1705
1745
  workgroupId: __expectString,
1706
1746
  workgroupName: __expectString,
@@ -26,6 +26,7 @@ import { GetResourcePolicyCommandInput, GetResourcePolicyCommandOutput } from ".
26
26
  import { GetScheduledActionCommandInput, GetScheduledActionCommandOutput } from "./commands/GetScheduledActionCommand";
27
27
  import { GetSnapshotCommandInput, GetSnapshotCommandOutput } from "./commands/GetSnapshotCommand";
28
28
  import { GetTableRestoreStatusCommandInput, GetTableRestoreStatusCommandOutput } from "./commands/GetTableRestoreStatusCommand";
29
+ import { GetTrackCommandInput, GetTrackCommandOutput } from "./commands/GetTrackCommand";
29
30
  import { GetUsageLimitCommandInput, GetUsageLimitCommandOutput } from "./commands/GetUsageLimitCommand";
30
31
  import { GetWorkgroupCommandInput, GetWorkgroupCommandOutput } from "./commands/GetWorkgroupCommand";
31
32
  import { ListCustomDomainAssociationsCommandInput, ListCustomDomainAssociationsCommandOutput } from "./commands/ListCustomDomainAssociationsCommand";
@@ -38,6 +39,7 @@ import { ListSnapshotCopyConfigurationsCommandInput, ListSnapshotCopyConfigurati
38
39
  import { ListSnapshotsCommandInput, ListSnapshotsCommandOutput } from "./commands/ListSnapshotsCommand";
39
40
  import { ListTableRestoreStatusCommandInput, ListTableRestoreStatusCommandOutput } from "./commands/ListTableRestoreStatusCommand";
40
41
  import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
42
+ import { ListTracksCommandInput, ListTracksCommandOutput } from "./commands/ListTracksCommand";
41
43
  import { ListUsageLimitsCommandInput, ListUsageLimitsCommandOutput } from "./commands/ListUsageLimitsCommand";
42
44
  import { ListWorkgroupsCommandInput, ListWorkgroupsCommandOutput } from "./commands/ListWorkgroupsCommand";
43
45
  import { PutResourcePolicyCommandInput, PutResourcePolicyCommandOutput } from "./commands/PutResourcePolicyCommand";
@@ -221,6 +223,12 @@ export interface RedshiftServerless {
221
223
  getTableRestoreStatus(args: GetTableRestoreStatusCommandInput, options?: __HttpHandlerOptions): Promise<GetTableRestoreStatusCommandOutput>;
222
224
  getTableRestoreStatus(args: GetTableRestoreStatusCommandInput, cb: (err: any, data?: GetTableRestoreStatusCommandOutput) => void): void;
223
225
  getTableRestoreStatus(args: GetTableRestoreStatusCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetTableRestoreStatusCommandOutput) => void): void;
226
+ /**
227
+ * @see {@link GetTrackCommand}
228
+ */
229
+ getTrack(args: GetTrackCommandInput, options?: __HttpHandlerOptions): Promise<GetTrackCommandOutput>;
230
+ getTrack(args: GetTrackCommandInput, cb: (err: any, data?: GetTrackCommandOutput) => void): void;
231
+ getTrack(args: GetTrackCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetTrackCommandOutput) => void): void;
224
232
  /**
225
233
  * @see {@link GetUsageLimitCommand}
226
234
  */
@@ -302,6 +310,13 @@ export interface RedshiftServerless {
302
310
  listTagsForResource(args: ListTagsForResourceCommandInput, options?: __HttpHandlerOptions): Promise<ListTagsForResourceCommandOutput>;
303
311
  listTagsForResource(args: ListTagsForResourceCommandInput, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
304
312
  listTagsForResource(args: ListTagsForResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
313
+ /**
314
+ * @see {@link ListTracksCommand}
315
+ */
316
+ listTracks(): Promise<ListTracksCommandOutput>;
317
+ listTracks(args: ListTracksCommandInput, options?: __HttpHandlerOptions): Promise<ListTracksCommandOutput>;
318
+ listTracks(args: ListTracksCommandInput, cb: (err: any, data?: ListTracksCommandOutput) => void): void;
319
+ listTracks(args: ListTracksCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTracksCommandOutput) => void): void;
305
320
  /**
306
321
  * @see {@link ListUsageLimitsCommand}
307
322
  */
@@ -34,6 +34,7 @@ import { GetResourcePolicyCommandInput, GetResourcePolicyCommandOutput } from ".
34
34
  import { GetScheduledActionCommandInput, GetScheduledActionCommandOutput } from "./commands/GetScheduledActionCommand";
35
35
  import { GetSnapshotCommandInput, GetSnapshotCommandOutput } from "./commands/GetSnapshotCommand";
36
36
  import { GetTableRestoreStatusCommandInput, GetTableRestoreStatusCommandOutput } from "./commands/GetTableRestoreStatusCommand";
37
+ import { GetTrackCommandInput, GetTrackCommandOutput } from "./commands/GetTrackCommand";
37
38
  import { GetUsageLimitCommandInput, GetUsageLimitCommandOutput } from "./commands/GetUsageLimitCommand";
38
39
  import { GetWorkgroupCommandInput, GetWorkgroupCommandOutput } from "./commands/GetWorkgroupCommand";
39
40
  import { ListCustomDomainAssociationsCommandInput, ListCustomDomainAssociationsCommandOutput } from "./commands/ListCustomDomainAssociationsCommand";
@@ -46,6 +47,7 @@ import { ListSnapshotCopyConfigurationsCommandInput, ListSnapshotCopyConfigurati
46
47
  import { ListSnapshotsCommandInput, ListSnapshotsCommandOutput } from "./commands/ListSnapshotsCommand";
47
48
  import { ListTableRestoreStatusCommandInput, ListTableRestoreStatusCommandOutput } from "./commands/ListTableRestoreStatusCommand";
48
49
  import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
50
+ import { ListTracksCommandInput, ListTracksCommandOutput } from "./commands/ListTracksCommand";
49
51
  import { ListUsageLimitsCommandInput, ListUsageLimitsCommandOutput } from "./commands/ListUsageLimitsCommand";
50
52
  import { ListWorkgroupsCommandInput, ListWorkgroupsCommandOutput } from "./commands/ListWorkgroupsCommand";
51
53
  import { PutResourcePolicyCommandInput, PutResourcePolicyCommandOutput } from "./commands/PutResourcePolicyCommand";
@@ -69,11 +71,11 @@ export { __Client };
69
71
  /**
70
72
  * @public
71
73
  */
72
- export type ServiceInputTypes = ConvertRecoveryPointToSnapshotCommandInput | CreateCustomDomainAssociationCommandInput | CreateEndpointAccessCommandInput | CreateNamespaceCommandInput | CreateScheduledActionCommandInput | CreateSnapshotCommandInput | CreateSnapshotCopyConfigurationCommandInput | CreateUsageLimitCommandInput | CreateWorkgroupCommandInput | DeleteCustomDomainAssociationCommandInput | DeleteEndpointAccessCommandInput | DeleteNamespaceCommandInput | DeleteResourcePolicyCommandInput | DeleteScheduledActionCommandInput | DeleteSnapshotCommandInput | DeleteSnapshotCopyConfigurationCommandInput | DeleteUsageLimitCommandInput | DeleteWorkgroupCommandInput | GetCredentialsCommandInput | GetCustomDomainAssociationCommandInput | GetEndpointAccessCommandInput | GetNamespaceCommandInput | GetRecoveryPointCommandInput | GetResourcePolicyCommandInput | GetScheduledActionCommandInput | GetSnapshotCommandInput | GetTableRestoreStatusCommandInput | GetUsageLimitCommandInput | GetWorkgroupCommandInput | ListCustomDomainAssociationsCommandInput | ListEndpointAccessCommandInput | ListManagedWorkgroupsCommandInput | ListNamespacesCommandInput | ListRecoveryPointsCommandInput | ListScheduledActionsCommandInput | ListSnapshotCopyConfigurationsCommandInput | ListSnapshotsCommandInput | ListTableRestoreStatusCommandInput | ListTagsForResourceCommandInput | ListUsageLimitsCommandInput | ListWorkgroupsCommandInput | PutResourcePolicyCommandInput | RestoreFromRecoveryPointCommandInput | RestoreFromSnapshotCommandInput | RestoreTableFromRecoveryPointCommandInput | RestoreTableFromSnapshotCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateCustomDomainAssociationCommandInput | UpdateEndpointAccessCommandInput | UpdateNamespaceCommandInput | UpdateScheduledActionCommandInput | UpdateSnapshotCommandInput | UpdateSnapshotCopyConfigurationCommandInput | UpdateUsageLimitCommandInput | UpdateWorkgroupCommandInput;
74
+ export type ServiceInputTypes = ConvertRecoveryPointToSnapshotCommandInput | CreateCustomDomainAssociationCommandInput | CreateEndpointAccessCommandInput | CreateNamespaceCommandInput | CreateScheduledActionCommandInput | CreateSnapshotCommandInput | CreateSnapshotCopyConfigurationCommandInput | CreateUsageLimitCommandInput | CreateWorkgroupCommandInput | DeleteCustomDomainAssociationCommandInput | DeleteEndpointAccessCommandInput | DeleteNamespaceCommandInput | DeleteResourcePolicyCommandInput | DeleteScheduledActionCommandInput | DeleteSnapshotCommandInput | DeleteSnapshotCopyConfigurationCommandInput | DeleteUsageLimitCommandInput | DeleteWorkgroupCommandInput | GetCredentialsCommandInput | GetCustomDomainAssociationCommandInput | GetEndpointAccessCommandInput | GetNamespaceCommandInput | GetRecoveryPointCommandInput | GetResourcePolicyCommandInput | GetScheduledActionCommandInput | GetSnapshotCommandInput | GetTableRestoreStatusCommandInput | GetTrackCommandInput | GetUsageLimitCommandInput | GetWorkgroupCommandInput | ListCustomDomainAssociationsCommandInput | ListEndpointAccessCommandInput | ListManagedWorkgroupsCommandInput | ListNamespacesCommandInput | ListRecoveryPointsCommandInput | ListScheduledActionsCommandInput | ListSnapshotCopyConfigurationsCommandInput | ListSnapshotsCommandInput | ListTableRestoreStatusCommandInput | ListTagsForResourceCommandInput | ListTracksCommandInput | ListUsageLimitsCommandInput | ListWorkgroupsCommandInput | PutResourcePolicyCommandInput | RestoreFromRecoveryPointCommandInput | RestoreFromSnapshotCommandInput | RestoreTableFromRecoveryPointCommandInput | RestoreTableFromSnapshotCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateCustomDomainAssociationCommandInput | UpdateEndpointAccessCommandInput | UpdateNamespaceCommandInput | UpdateScheduledActionCommandInput | UpdateSnapshotCommandInput | UpdateSnapshotCopyConfigurationCommandInput | UpdateUsageLimitCommandInput | UpdateWorkgroupCommandInput;
73
75
  /**
74
76
  * @public
75
77
  */
76
- export type ServiceOutputTypes = ConvertRecoveryPointToSnapshotCommandOutput | CreateCustomDomainAssociationCommandOutput | CreateEndpointAccessCommandOutput | CreateNamespaceCommandOutput | CreateScheduledActionCommandOutput | CreateSnapshotCommandOutput | CreateSnapshotCopyConfigurationCommandOutput | CreateUsageLimitCommandOutput | CreateWorkgroupCommandOutput | DeleteCustomDomainAssociationCommandOutput | DeleteEndpointAccessCommandOutput | DeleteNamespaceCommandOutput | DeleteResourcePolicyCommandOutput | DeleteScheduledActionCommandOutput | DeleteSnapshotCommandOutput | DeleteSnapshotCopyConfigurationCommandOutput | DeleteUsageLimitCommandOutput | DeleteWorkgroupCommandOutput | GetCredentialsCommandOutput | GetCustomDomainAssociationCommandOutput | GetEndpointAccessCommandOutput | GetNamespaceCommandOutput | GetRecoveryPointCommandOutput | GetResourcePolicyCommandOutput | GetScheduledActionCommandOutput | GetSnapshotCommandOutput | GetTableRestoreStatusCommandOutput | GetUsageLimitCommandOutput | GetWorkgroupCommandOutput | ListCustomDomainAssociationsCommandOutput | ListEndpointAccessCommandOutput | ListManagedWorkgroupsCommandOutput | ListNamespacesCommandOutput | ListRecoveryPointsCommandOutput | ListScheduledActionsCommandOutput | ListSnapshotCopyConfigurationsCommandOutput | ListSnapshotsCommandOutput | ListTableRestoreStatusCommandOutput | ListTagsForResourceCommandOutput | ListUsageLimitsCommandOutput | ListWorkgroupsCommandOutput | PutResourcePolicyCommandOutput | RestoreFromRecoveryPointCommandOutput | RestoreFromSnapshotCommandOutput | RestoreTableFromRecoveryPointCommandOutput | RestoreTableFromSnapshotCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateCustomDomainAssociationCommandOutput | UpdateEndpointAccessCommandOutput | UpdateNamespaceCommandOutput | UpdateScheduledActionCommandOutput | UpdateSnapshotCommandOutput | UpdateSnapshotCopyConfigurationCommandOutput | UpdateUsageLimitCommandOutput | UpdateWorkgroupCommandOutput;
78
+ export type ServiceOutputTypes = ConvertRecoveryPointToSnapshotCommandOutput | CreateCustomDomainAssociationCommandOutput | CreateEndpointAccessCommandOutput | CreateNamespaceCommandOutput | CreateScheduledActionCommandOutput | CreateSnapshotCommandOutput | CreateSnapshotCopyConfigurationCommandOutput | CreateUsageLimitCommandOutput | CreateWorkgroupCommandOutput | DeleteCustomDomainAssociationCommandOutput | DeleteEndpointAccessCommandOutput | DeleteNamespaceCommandOutput | DeleteResourcePolicyCommandOutput | DeleteScheduledActionCommandOutput | DeleteSnapshotCommandOutput | DeleteSnapshotCopyConfigurationCommandOutput | DeleteUsageLimitCommandOutput | DeleteWorkgroupCommandOutput | GetCredentialsCommandOutput | GetCustomDomainAssociationCommandOutput | GetEndpointAccessCommandOutput | GetNamespaceCommandOutput | GetRecoveryPointCommandOutput | GetResourcePolicyCommandOutput | GetScheduledActionCommandOutput | GetSnapshotCommandOutput | GetTableRestoreStatusCommandOutput | GetTrackCommandOutput | GetUsageLimitCommandOutput | GetWorkgroupCommandOutput | ListCustomDomainAssociationsCommandOutput | ListEndpointAccessCommandOutput | ListManagedWorkgroupsCommandOutput | ListNamespacesCommandOutput | ListRecoveryPointsCommandOutput | ListScheduledActionsCommandOutput | ListSnapshotCopyConfigurationsCommandOutput | ListSnapshotsCommandOutput | ListTableRestoreStatusCommandOutput | ListTagsForResourceCommandOutput | ListTracksCommandOutput | ListUsageLimitsCommandOutput | ListWorkgroupsCommandOutput | PutResourcePolicyCommandOutput | RestoreFromRecoveryPointCommandOutput | RestoreFromSnapshotCommandOutput | RestoreTableFromRecoveryPointCommandOutput | RestoreTableFromSnapshotCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateCustomDomainAssociationCommandOutput | UpdateEndpointAccessCommandOutput | UpdateNamespaceCommandOutput | UpdateScheduledActionCommandOutput | UpdateSnapshotCommandOutput | UpdateSnapshotCopyConfigurationCommandOutput | UpdateUsageLimitCommandOutput | UpdateWorkgroupCommandOutput;
77
79
  /**
78
80
  * @public
79
81
  */
@@ -82,6 +82,7 @@ declare const CreateWorkgroupCommand_base: {
82
82
  * level: Number("int"),
83
83
  * },
84
84
  * ipAddressType: "STRING_VALUE",
85
+ * trackName: "STRING_VALUE",
85
86
  * };
86
87
  * const command = new CreateWorkgroupCommand(input);
87
88
  * const response = await client.send(command);
@@ -142,6 +143,8 @@ declare const CreateWorkgroupCommand_base: {
142
143
  * // status: "STRING_VALUE",
143
144
  * // level: Number("int"),
144
145
  * // },
146
+ * // trackName: "STRING_VALUE",
147
+ * // pendingTrackName: "STRING_VALUE",
145
148
  * // },
146
149
  * // };
147
150
  *
@@ -96,6 +96,8 @@ declare const DeleteWorkgroupCommand_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,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";