@aws-sdk/client-redshift 3.452.0 → 3.454.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 (63) hide show
  1. package/README.md +32 -0
  2. package/dist-cjs/Redshift.js +8 -0
  3. package/dist-cjs/commands/CreateRedshiftIdcApplicationCommand.js +51 -0
  4. package/dist-cjs/commands/DeleteRedshiftIdcApplicationCommand.js +51 -0
  5. package/dist-cjs/commands/DescribeRedshiftIdcApplicationsCommand.js +51 -0
  6. package/dist-cjs/commands/ModifyRedshiftIdcApplicationCommand.js +51 -0
  7. package/dist-cjs/commands/index.js +4 -0
  8. package/dist-cjs/models/models_0.js +74 -2
  9. package/dist-cjs/pagination/DescribeRedshiftIdcApplicationsPaginator.js +29 -0
  10. package/dist-cjs/pagination/index.js +1 -0
  11. package/dist-cjs/protocols/Aws_query.js +645 -6
  12. package/dist-es/Redshift.js +8 -0
  13. package/dist-es/commands/CreateRedshiftIdcApplicationCommand.js +47 -0
  14. package/dist-es/commands/DeleteRedshiftIdcApplicationCommand.js +47 -0
  15. package/dist-es/commands/DescribeRedshiftIdcApplicationsCommand.js +47 -0
  16. package/dist-es/commands/ModifyRedshiftIdcApplicationCommand.js +47 -0
  17. package/dist-es/commands/index.js +4 -0
  18. package/dist-es/models/models_0.js +68 -0
  19. package/dist-es/pagination/DescribeRedshiftIdcApplicationsPaginator.js +25 -0
  20. package/dist-es/pagination/index.js +1 -0
  21. package/dist-es/protocols/Aws_query.js +633 -2
  22. package/dist-types/Redshift.d.ts +28 -0
  23. package/dist-types/RedshiftClient.d.ts +6 -2
  24. package/dist-types/commands/CreateClusterCommand.d.ts +4 -0
  25. package/dist-types/commands/CreateRedshiftIdcApplicationCommand.d.ts +140 -0
  26. package/dist-types/commands/DeleteRedshiftIdcApplicationCommand.d.ts +84 -0
  27. package/dist-types/commands/DescribeClusterVersionsCommand.d.ts +2 -1
  28. package/dist-types/commands/DescribeCustomDomainAssociationsCommand.d.ts +2 -1
  29. package/dist-types/commands/DescribeDataSharesCommand.d.ts +1 -1
  30. package/dist-types/commands/DescribeDataSharesForConsumerCommand.d.ts +1 -1
  31. package/dist-types/commands/DescribeDataSharesForProducerCommand.d.ts +1 -1
  32. package/dist-types/commands/DescribeDefaultClusterParametersCommand.d.ts +1 -1
  33. package/dist-types/commands/DescribeEndpointAccessCommand.d.ts +1 -1
  34. package/dist-types/commands/DescribeEndpointAuthorizationCommand.d.ts +1 -2
  35. package/dist-types/commands/DescribeRedshiftIdcApplicationsCommand.d.ts +119 -0
  36. package/dist-types/commands/ModifyRedshiftIdcApplicationCommand.d.ts +136 -0
  37. package/dist-types/commands/index.d.ts +4 -0
  38. package/dist-types/models/models_0.d.ts +271 -361
  39. package/dist-types/models/models_1.d.ts +456 -1
  40. package/dist-types/pagination/DescribeRedshiftIdcApplicationsPaginator.d.ts +7 -0
  41. package/dist-types/pagination/index.d.ts +1 -0
  42. package/dist-types/protocols/Aws_query.d.ts +36 -0
  43. package/dist-types/ts3.4/Redshift.d.ts +68 -0
  44. package/dist-types/ts3.4/RedshiftClient.d.ts +24 -0
  45. package/dist-types/ts3.4/commands/CreateRedshiftIdcApplicationCommand.d.ts +42 -0
  46. package/dist-types/ts3.4/commands/DeleteRedshiftIdcApplicationCommand.d.ts +38 -0
  47. package/dist-types/ts3.4/commands/DescribeClusterVersionsCommand.d.ts +2 -4
  48. package/dist-types/ts3.4/commands/DescribeCustomDomainAssociationsCommand.d.ts +2 -4
  49. package/dist-types/ts3.4/commands/DescribeDataSharesCommand.d.ts +1 -1
  50. package/dist-types/ts3.4/commands/DescribeDataSharesForConsumerCommand.d.ts +1 -1
  51. package/dist-types/ts3.4/commands/DescribeDataSharesForProducerCommand.d.ts +1 -1
  52. package/dist-types/ts3.4/commands/DescribeDefaultClusterParametersCommand.d.ts +1 -1
  53. package/dist-types/ts3.4/commands/DescribeEndpointAccessCommand.d.ts +1 -1
  54. package/dist-types/ts3.4/commands/DescribeEndpointAuthorizationCommand.d.ts +4 -2
  55. package/dist-types/ts3.4/commands/DescribeRedshiftIdcApplicationsCommand.d.ts +42 -0
  56. package/dist-types/ts3.4/commands/ModifyRedshiftIdcApplicationCommand.d.ts +42 -0
  57. package/dist-types/ts3.4/commands/index.d.ts +4 -0
  58. package/dist-types/ts3.4/models/models_0.d.ts +117 -68
  59. package/dist-types/ts3.4/models/models_1.d.ts +96 -0
  60. package/dist-types/ts3.4/pagination/DescribeRedshiftIdcApplicationsPaginator.d.ts +11 -0
  61. package/dist-types/ts3.4/pagination/index.d.ts +1 -0
  62. package/dist-types/ts3.4/protocols/Aws_query.d.ts +48 -0
  63. package/package.json +2 -2
@@ -21,6 +21,7 @@ import { CreateEndpointAccessCommand, } from "./commands/CreateEndpointAccessCom
21
21
  import { CreateEventSubscriptionCommand, } from "./commands/CreateEventSubscriptionCommand";
22
22
  import { CreateHsmClientCertificateCommand, } from "./commands/CreateHsmClientCertificateCommand";
23
23
  import { CreateHsmConfigurationCommand, } from "./commands/CreateHsmConfigurationCommand";
24
+ import { CreateRedshiftIdcApplicationCommand, } from "./commands/CreateRedshiftIdcApplicationCommand";
24
25
  import { CreateScheduledActionCommand, } from "./commands/CreateScheduledActionCommand";
25
26
  import { CreateSnapshotCopyGrantCommand, } from "./commands/CreateSnapshotCopyGrantCommand";
26
27
  import { CreateSnapshotScheduleCommand, } from "./commands/CreateSnapshotScheduleCommand";
@@ -39,6 +40,7 @@ import { DeleteEventSubscriptionCommand, } from "./commands/DeleteEventSubscript
39
40
  import { DeleteHsmClientCertificateCommand, } from "./commands/DeleteHsmClientCertificateCommand";
40
41
  import { DeleteHsmConfigurationCommand, } from "./commands/DeleteHsmConfigurationCommand";
41
42
  import { DeletePartnerCommand, } from "./commands/DeletePartnerCommand";
43
+ import { DeleteRedshiftIdcApplicationCommand, } from "./commands/DeleteRedshiftIdcApplicationCommand";
42
44
  import { DeleteResourcePolicyCommand, } from "./commands/DeleteResourcePolicyCommand";
43
45
  import { DeleteScheduledActionCommand, } from "./commands/DeleteScheduledActionCommand";
44
46
  import { DeleteSnapshotCopyGrantCommand, } from "./commands/DeleteSnapshotCopyGrantCommand";
@@ -73,6 +75,7 @@ import { DescribeLoggingStatusCommand, } from "./commands/DescribeLoggingStatusC
73
75
  import { DescribeNodeConfigurationOptionsCommand, } from "./commands/DescribeNodeConfigurationOptionsCommand";
74
76
  import { DescribeOrderableClusterOptionsCommand, } from "./commands/DescribeOrderableClusterOptionsCommand";
75
77
  import { DescribePartnersCommand, } from "./commands/DescribePartnersCommand";
78
+ import { DescribeRedshiftIdcApplicationsCommand, } from "./commands/DescribeRedshiftIdcApplicationsCommand";
76
79
  import { DescribeReservedNodeExchangeStatusCommand, } from "./commands/DescribeReservedNodeExchangeStatusCommand";
77
80
  import { DescribeReservedNodeOfferingsCommand, } from "./commands/DescribeReservedNodeOfferingsCommand";
78
81
  import { DescribeReservedNodesCommand, } from "./commands/DescribeReservedNodesCommand";
@@ -108,6 +111,7 @@ import { ModifyClusterSubnetGroupCommand, } from "./commands/ModifyClusterSubnet
108
111
  import { ModifyCustomDomainAssociationCommand, } from "./commands/ModifyCustomDomainAssociationCommand";
109
112
  import { ModifyEndpointAccessCommand, } from "./commands/ModifyEndpointAccessCommand";
110
113
  import { ModifyEventSubscriptionCommand, } from "./commands/ModifyEventSubscriptionCommand";
114
+ import { ModifyRedshiftIdcApplicationCommand, } from "./commands/ModifyRedshiftIdcApplicationCommand";
111
115
  import { ModifyScheduledActionCommand, } from "./commands/ModifyScheduledActionCommand";
112
116
  import { ModifySnapshotCopyRetentionPeriodCommand, } from "./commands/ModifySnapshotCopyRetentionPeriodCommand";
113
117
  import { ModifySnapshotScheduleCommand, } from "./commands/ModifySnapshotScheduleCommand";
@@ -151,6 +155,7 @@ const commands = {
151
155
  CreateEventSubscriptionCommand,
152
156
  CreateHsmClientCertificateCommand,
153
157
  CreateHsmConfigurationCommand,
158
+ CreateRedshiftIdcApplicationCommand,
154
159
  CreateScheduledActionCommand,
155
160
  CreateSnapshotCopyGrantCommand,
156
161
  CreateSnapshotScheduleCommand,
@@ -169,6 +174,7 @@ const commands = {
169
174
  DeleteHsmClientCertificateCommand,
170
175
  DeleteHsmConfigurationCommand,
171
176
  DeletePartnerCommand,
177
+ DeleteRedshiftIdcApplicationCommand,
172
178
  DeleteResourcePolicyCommand,
173
179
  DeleteScheduledActionCommand,
174
180
  DeleteSnapshotCopyGrantCommand,
@@ -203,6 +209,7 @@ const commands = {
203
209
  DescribeNodeConfigurationOptionsCommand,
204
210
  DescribeOrderableClusterOptionsCommand,
205
211
  DescribePartnersCommand,
212
+ DescribeRedshiftIdcApplicationsCommand,
206
213
  DescribeReservedNodeExchangeStatusCommand,
207
214
  DescribeReservedNodeOfferingsCommand,
208
215
  DescribeReservedNodesCommand,
@@ -238,6 +245,7 @@ const commands = {
238
245
  ModifyCustomDomainAssociationCommand,
239
246
  ModifyEndpointAccessCommand,
240
247
  ModifyEventSubscriptionCommand,
248
+ ModifyRedshiftIdcApplicationCommand,
241
249
  ModifyScheduledActionCommand,
242
250
  ModifySnapshotCopyRetentionPeriodCommand,
243
251
  ModifySnapshotScheduleCommand,
@@ -0,0 +1,47 @@
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 { SMITHY_CONTEXT_KEY, } from "@smithy/types";
5
+ import { de_CreateRedshiftIdcApplicationCommand, se_CreateRedshiftIdcApplicationCommand } from "../protocols/Aws_query";
6
+ export { $Command };
7
+ export class CreateRedshiftIdcApplicationCommand extends $Command {
8
+ static getEndpointParameterInstructions() {
9
+ return {
10
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
+ Endpoint: { type: "builtInParams", name: "endpoint" },
12
+ Region: { type: "builtInParams", name: "region" },
13
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
+ };
15
+ }
16
+ constructor(input) {
17
+ super();
18
+ this.input = input;
19
+ }
20
+ resolveMiddleware(clientStack, configuration, options) {
21
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
+ this.middlewareStack.use(getEndpointPlugin(configuration, CreateRedshiftIdcApplicationCommand.getEndpointParameterInstructions()));
23
+ const stack = clientStack.concat(this.middlewareStack);
24
+ const { logger } = configuration;
25
+ const clientName = "RedshiftClient";
26
+ const commandName = "CreateRedshiftIdcApplicationCommand";
27
+ const handlerExecutionContext = {
28
+ logger,
29
+ clientName,
30
+ commandName,
31
+ inputFilterSensitiveLog: (_) => _,
32
+ outputFilterSensitiveLog: (_) => _,
33
+ [SMITHY_CONTEXT_KEY]: {
34
+ service: "RedshiftServiceVersion20121201",
35
+ operation: "CreateRedshiftIdcApplication",
36
+ },
37
+ };
38
+ const { requestHandler } = configuration;
39
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
+ }
41
+ serialize(input, context) {
42
+ return se_CreateRedshiftIdcApplicationCommand(input, context);
43
+ }
44
+ deserialize(output, context) {
45
+ return de_CreateRedshiftIdcApplicationCommand(output, context);
46
+ }
47
+ }
@@ -0,0 +1,47 @@
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 { SMITHY_CONTEXT_KEY, } from "@smithy/types";
5
+ import { de_DeleteRedshiftIdcApplicationCommand, se_DeleteRedshiftIdcApplicationCommand } from "../protocols/Aws_query";
6
+ export { $Command };
7
+ export class DeleteRedshiftIdcApplicationCommand extends $Command {
8
+ static getEndpointParameterInstructions() {
9
+ return {
10
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
+ Endpoint: { type: "builtInParams", name: "endpoint" },
12
+ Region: { type: "builtInParams", name: "region" },
13
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
+ };
15
+ }
16
+ constructor(input) {
17
+ super();
18
+ this.input = input;
19
+ }
20
+ resolveMiddleware(clientStack, configuration, options) {
21
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
+ this.middlewareStack.use(getEndpointPlugin(configuration, DeleteRedshiftIdcApplicationCommand.getEndpointParameterInstructions()));
23
+ const stack = clientStack.concat(this.middlewareStack);
24
+ const { logger } = configuration;
25
+ const clientName = "RedshiftClient";
26
+ const commandName = "DeleteRedshiftIdcApplicationCommand";
27
+ const handlerExecutionContext = {
28
+ logger,
29
+ clientName,
30
+ commandName,
31
+ inputFilterSensitiveLog: (_) => _,
32
+ outputFilterSensitiveLog: (_) => _,
33
+ [SMITHY_CONTEXT_KEY]: {
34
+ service: "RedshiftServiceVersion20121201",
35
+ operation: "DeleteRedshiftIdcApplication",
36
+ },
37
+ };
38
+ const { requestHandler } = configuration;
39
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
+ }
41
+ serialize(input, context) {
42
+ return se_DeleteRedshiftIdcApplicationCommand(input, context);
43
+ }
44
+ deserialize(output, context) {
45
+ return de_DeleteRedshiftIdcApplicationCommand(output, context);
46
+ }
47
+ }
@@ -0,0 +1,47 @@
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 { SMITHY_CONTEXT_KEY, } from "@smithy/types";
5
+ import { de_DescribeRedshiftIdcApplicationsCommand, se_DescribeRedshiftIdcApplicationsCommand, } from "../protocols/Aws_query";
6
+ export { $Command };
7
+ export class DescribeRedshiftIdcApplicationsCommand extends $Command {
8
+ static getEndpointParameterInstructions() {
9
+ return {
10
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
+ Endpoint: { type: "builtInParams", name: "endpoint" },
12
+ Region: { type: "builtInParams", name: "region" },
13
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
+ };
15
+ }
16
+ constructor(input) {
17
+ super();
18
+ this.input = input;
19
+ }
20
+ resolveMiddleware(clientStack, configuration, options) {
21
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
+ this.middlewareStack.use(getEndpointPlugin(configuration, DescribeRedshiftIdcApplicationsCommand.getEndpointParameterInstructions()));
23
+ const stack = clientStack.concat(this.middlewareStack);
24
+ const { logger } = configuration;
25
+ const clientName = "RedshiftClient";
26
+ const commandName = "DescribeRedshiftIdcApplicationsCommand";
27
+ const handlerExecutionContext = {
28
+ logger,
29
+ clientName,
30
+ commandName,
31
+ inputFilterSensitiveLog: (_) => _,
32
+ outputFilterSensitiveLog: (_) => _,
33
+ [SMITHY_CONTEXT_KEY]: {
34
+ service: "RedshiftServiceVersion20121201",
35
+ operation: "DescribeRedshiftIdcApplications",
36
+ },
37
+ };
38
+ const { requestHandler } = configuration;
39
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
+ }
41
+ serialize(input, context) {
42
+ return se_DescribeRedshiftIdcApplicationsCommand(input, context);
43
+ }
44
+ deserialize(output, context) {
45
+ return de_DescribeRedshiftIdcApplicationsCommand(output, context);
46
+ }
47
+ }
@@ -0,0 +1,47 @@
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 { SMITHY_CONTEXT_KEY, } from "@smithy/types";
5
+ import { de_ModifyRedshiftIdcApplicationCommand, se_ModifyRedshiftIdcApplicationCommand } from "../protocols/Aws_query";
6
+ export { $Command };
7
+ export class ModifyRedshiftIdcApplicationCommand extends $Command {
8
+ static getEndpointParameterInstructions() {
9
+ return {
10
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
+ Endpoint: { type: "builtInParams", name: "endpoint" },
12
+ Region: { type: "builtInParams", name: "region" },
13
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
+ };
15
+ }
16
+ constructor(input) {
17
+ super();
18
+ this.input = input;
19
+ }
20
+ resolveMiddleware(clientStack, configuration, options) {
21
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
+ this.middlewareStack.use(getEndpointPlugin(configuration, ModifyRedshiftIdcApplicationCommand.getEndpointParameterInstructions()));
23
+ const stack = clientStack.concat(this.middlewareStack);
24
+ const { logger } = configuration;
25
+ const clientName = "RedshiftClient";
26
+ const commandName = "ModifyRedshiftIdcApplicationCommand";
27
+ const handlerExecutionContext = {
28
+ logger,
29
+ clientName,
30
+ commandName,
31
+ inputFilterSensitiveLog: (_) => _,
32
+ outputFilterSensitiveLog: (_) => _,
33
+ [SMITHY_CONTEXT_KEY]: {
34
+ service: "RedshiftServiceVersion20121201",
35
+ operation: "ModifyRedshiftIdcApplication",
36
+ },
37
+ };
38
+ const { requestHandler } = configuration;
39
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
+ }
41
+ serialize(input, context) {
42
+ return se_ModifyRedshiftIdcApplicationCommand(input, context);
43
+ }
44
+ deserialize(output, context) {
45
+ return de_ModifyRedshiftIdcApplicationCommand(output, context);
46
+ }
47
+ }
@@ -20,6 +20,7 @@ export * from "./CreateEndpointAccessCommand";
20
20
  export * from "./CreateEventSubscriptionCommand";
21
21
  export * from "./CreateHsmClientCertificateCommand";
22
22
  export * from "./CreateHsmConfigurationCommand";
23
+ export * from "./CreateRedshiftIdcApplicationCommand";
23
24
  export * from "./CreateScheduledActionCommand";
24
25
  export * from "./CreateSnapshotCopyGrantCommand";
25
26
  export * from "./CreateSnapshotScheduleCommand";
@@ -38,6 +39,7 @@ export * from "./DeleteEventSubscriptionCommand";
38
39
  export * from "./DeleteHsmClientCertificateCommand";
39
40
  export * from "./DeleteHsmConfigurationCommand";
40
41
  export * from "./DeletePartnerCommand";
42
+ export * from "./DeleteRedshiftIdcApplicationCommand";
41
43
  export * from "./DeleteResourcePolicyCommand";
42
44
  export * from "./DeleteScheduledActionCommand";
43
45
  export * from "./DeleteSnapshotCopyGrantCommand";
@@ -72,6 +74,7 @@ export * from "./DescribeLoggingStatusCommand";
72
74
  export * from "./DescribeNodeConfigurationOptionsCommand";
73
75
  export * from "./DescribeOrderableClusterOptionsCommand";
74
76
  export * from "./DescribePartnersCommand";
77
+ export * from "./DescribeRedshiftIdcApplicationsCommand";
75
78
  export * from "./DescribeReservedNodeExchangeStatusCommand";
76
79
  export * from "./DescribeReservedNodeOfferingsCommand";
77
80
  export * from "./DescribeReservedNodesCommand";
@@ -107,6 +110,7 @@ export * from "./ModifyClusterSubnetGroupCommand";
107
110
  export * from "./ModifyCustomDomainAssociationCommand";
108
111
  export * from "./ModifyEndpointAccessCommand";
109
112
  export * from "./ModifyEventSubscriptionCommand";
113
+ export * from "./ModifyRedshiftIdcApplicationCommand";
110
114
  export * from "./ModifyScheduledActionCommand";
111
115
  export * from "./ModifySnapshotCopyRetentionPeriodCommand";
112
116
  export * from "./ModifySnapshotScheduleCommand";
@@ -816,6 +816,18 @@ export class NumberOfNodesQuotaExceededFault extends __BaseException {
816
816
  Object.setPrototypeOf(this, NumberOfNodesQuotaExceededFault.prototype);
817
817
  }
818
818
  }
819
+ export class RedshiftIdcApplicationNotExistsFault extends __BaseException {
820
+ constructor(opts) {
821
+ super({
822
+ name: "RedshiftIdcApplicationNotExistsFault",
823
+ $fault: "client",
824
+ ...opts,
825
+ });
826
+ this.name = "RedshiftIdcApplicationNotExistsFault";
827
+ this.$fault = "client";
828
+ Object.setPrototypeOf(this, RedshiftIdcApplicationNotExistsFault.prototype);
829
+ }
830
+ }
819
831
  export class SnapshotScheduleNotFoundFault extends __BaseException {
820
832
  constructor(opts) {
821
833
  super({
@@ -1056,6 +1068,62 @@ export class HsmConfigurationQuotaExceededFault extends __BaseException {
1056
1068
  Object.setPrototypeOf(this, HsmConfigurationQuotaExceededFault.prototype);
1057
1069
  }
1058
1070
  }
1071
+ export const ServiceAuthorization = {
1072
+ DISABLED: "Disabled",
1073
+ ENABLED: "Enabled",
1074
+ };
1075
+ export var LakeFormationScopeUnion;
1076
+ (function (LakeFormationScopeUnion) {
1077
+ LakeFormationScopeUnion.visit = (value, visitor) => {
1078
+ if (value.LakeFormationQuery !== undefined)
1079
+ return visitor.LakeFormationQuery(value.LakeFormationQuery);
1080
+ return visitor._(value.$unknown[0], value.$unknown[1]);
1081
+ };
1082
+ })(LakeFormationScopeUnion || (LakeFormationScopeUnion = {}));
1083
+ export var ServiceIntegrationsUnion;
1084
+ (function (ServiceIntegrationsUnion) {
1085
+ ServiceIntegrationsUnion.visit = (value, visitor) => {
1086
+ if (value.LakeFormation !== undefined)
1087
+ return visitor.LakeFormation(value.LakeFormation);
1088
+ return visitor._(value.$unknown[0], value.$unknown[1]);
1089
+ };
1090
+ })(ServiceIntegrationsUnion || (ServiceIntegrationsUnion = {}));
1091
+ export class DependentServiceAccessDeniedFault extends __BaseException {
1092
+ constructor(opts) {
1093
+ super({
1094
+ name: "DependentServiceAccessDeniedFault",
1095
+ $fault: "client",
1096
+ ...opts,
1097
+ });
1098
+ this.name = "DependentServiceAccessDeniedFault";
1099
+ this.$fault = "client";
1100
+ Object.setPrototypeOf(this, DependentServiceAccessDeniedFault.prototype);
1101
+ }
1102
+ }
1103
+ export class RedshiftIdcApplicationAlreadyExistsFault extends __BaseException {
1104
+ constructor(opts) {
1105
+ super({
1106
+ name: "RedshiftIdcApplicationAlreadyExistsFault",
1107
+ $fault: "client",
1108
+ ...opts,
1109
+ });
1110
+ this.name = "RedshiftIdcApplicationAlreadyExistsFault";
1111
+ this.$fault = "client";
1112
+ Object.setPrototypeOf(this, RedshiftIdcApplicationAlreadyExistsFault.prototype);
1113
+ }
1114
+ }
1115
+ export class RedshiftIdcApplicationQuotaExceededFault extends __BaseException {
1116
+ constructor(opts) {
1117
+ super({
1118
+ name: "RedshiftIdcApplicationQuotaExceededFault",
1119
+ $fault: "client",
1120
+ ...opts,
1121
+ });
1122
+ this.name = "RedshiftIdcApplicationQuotaExceededFault";
1123
+ this.$fault = "client";
1124
+ Object.setPrototypeOf(this, RedshiftIdcApplicationQuotaExceededFault.prototype);
1125
+ }
1126
+ }
1059
1127
  export class InvalidScheduledActionFault extends __BaseException {
1060
1128
  constructor(opts) {
1061
1129
  super({
@@ -0,0 +1,25 @@
1
+ import { DescribeRedshiftIdcApplicationsCommand, } from "../commands/DescribeRedshiftIdcApplicationsCommand";
2
+ import { RedshiftClient } from "../RedshiftClient";
3
+ const makePagedClientRequest = async (client, input, ...args) => {
4
+ return await client.send(new DescribeRedshiftIdcApplicationsCommand(input), ...args);
5
+ };
6
+ export async function* paginateDescribeRedshiftIdcApplications(config, input, ...additionalArguments) {
7
+ let token = config.startingToken || undefined;
8
+ let hasNext = true;
9
+ let page;
10
+ while (hasNext) {
11
+ input.Marker = token;
12
+ input["MaxRecords"] = config.pageSize;
13
+ if (config.client instanceof RedshiftClient) {
14
+ page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
+ }
16
+ else {
17
+ throw new Error("Invalid client, expected Redshift | RedshiftClient");
18
+ }
19
+ yield page;
20
+ const prevToken = token;
21
+ token = page.Marker;
22
+ hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
23
+ }
24
+ return undefined;
25
+ }
@@ -22,6 +22,7 @@ export * from "./DescribeHsmConfigurationsPaginator";
22
22
  export * from "./DescribeInboundIntegrationsPaginator";
23
23
  export * from "./DescribeNodeConfigurationOptionsPaginator";
24
24
  export * from "./DescribeOrderableClusterOptionsPaginator";
25
+ export * from "./DescribeRedshiftIdcApplicationsPaginator";
25
26
  export * from "./DescribeReservedNodeExchangeStatusPaginator";
26
27
  export * from "./DescribeReservedNodeOfferingsPaginator";
27
28
  export * from "./DescribeReservedNodesPaginator";