@aws-sdk/client-redshift 3.435.0 → 3.437.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 +32 -0
- package/dist-cjs/Redshift.js +8 -0
- package/dist-cjs/commands/DeleteResourcePolicyCommand.js +51 -0
- package/dist-cjs/commands/DescribeInboundIntegrationsCommand.js +51 -0
- package/dist-cjs/commands/GetResourcePolicyCommand.js +51 -0
- package/dist-cjs/commands/PutResourcePolicyCommand.js +51 -0
- package/dist-cjs/commands/index.js +4 -0
- package/dist-cjs/models/models_0.js +15 -2
- package/dist-cjs/models/models_1.js +36 -1
- package/dist-cjs/pagination/DescribeInboundIntegrationsPaginator.js +29 -0
- package/dist-cjs/pagination/index.js +1 -0
- package/dist-cjs/protocols/Aws_query.js +378 -5
- package/dist-cjs/runtimeConfig.js +2 -0
- package/dist-cjs/runtimeConfig.shared.js +15 -13
- package/dist-es/Redshift.js +8 -0
- package/dist-es/commands/DeleteResourcePolicyCommand.js +47 -0
- package/dist-es/commands/DescribeInboundIntegrationsCommand.js +47 -0
- package/dist-es/commands/GetResourcePolicyCommand.js +47 -0
- package/dist-es/commands/PutResourcePolicyCommand.js +47 -0
- package/dist-es/commands/index.js +4 -0
- package/dist-es/models/models_0.js +12 -0
- package/dist-es/models/models_1.js +33 -0
- package/dist-es/pagination/DescribeInboundIntegrationsPaginator.js +25 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/protocols/Aws_query.js +366 -2
- package/dist-es/runtimeConfig.js +2 -0
- package/dist-es/runtimeConfig.shared.js +15 -13
- package/dist-types/Redshift.d.ts +28 -0
- package/dist-types/RedshiftClient.d.ts +6 -2
- package/dist-types/commands/DeleteResourcePolicyCommand.d.ts +77 -0
- package/dist-types/commands/DescribeInboundIntegrationsCommand.d.ts +100 -0
- package/dist-types/commands/GetResourcePolicyCommand.d.ts +85 -0
- package/dist-types/commands/PutResourcePolicyCommand.d.ts +89 -0
- package/dist-types/commands/index.d.ts +4 -0
- package/dist-types/models/models_0.d.ts +22 -44
- package/dist-types/models/models_1.d.ts +254 -1
- package/dist-types/pagination/DescribeInboundIntegrationsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/protocols/Aws_query.d.ts +36 -0
- package/dist-types/ts3.4/Redshift.d.ts +68 -0
- package/dist-types/ts3.4/RedshiftClient.d.ts +24 -0
- package/dist-types/ts3.4/commands/DeleteResourcePolicyCommand.d.ts +37 -0
- package/dist-types/ts3.4/commands/DescribeInboundIntegrationsCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/GetResourcePolicyCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/PutResourcePolicyCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/index.d.ts +4 -0
- package/dist-types/ts3.4/models/models_0.d.ts +10 -10
- package/dist-types/ts3.4/models/models_1.d.ts +72 -1
- package/dist-types/ts3.4/pagination/DescribeInboundIntegrationsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +1 -0
- package/dist-types/ts3.4/protocols/Aws_query.d.ts +48 -0
- package/package.json +5 -4
package/dist-es/Redshift.js
CHANGED
|
@@ -39,6 +39,7 @@ import { DeleteEventSubscriptionCommand, } from "./commands/DeleteEventSubscript
|
|
|
39
39
|
import { DeleteHsmClientCertificateCommand, } from "./commands/DeleteHsmClientCertificateCommand";
|
|
40
40
|
import { DeleteHsmConfigurationCommand, } from "./commands/DeleteHsmConfigurationCommand";
|
|
41
41
|
import { DeletePartnerCommand, } from "./commands/DeletePartnerCommand";
|
|
42
|
+
import { DeleteResourcePolicyCommand, } from "./commands/DeleteResourcePolicyCommand";
|
|
42
43
|
import { DeleteScheduledActionCommand, } from "./commands/DeleteScheduledActionCommand";
|
|
43
44
|
import { DeleteSnapshotCopyGrantCommand, } from "./commands/DeleteSnapshotCopyGrantCommand";
|
|
44
45
|
import { DeleteSnapshotScheduleCommand, } from "./commands/DeleteSnapshotScheduleCommand";
|
|
@@ -67,6 +68,7 @@ import { DescribeEventsCommand, } from "./commands/DescribeEventsCommand";
|
|
|
67
68
|
import { DescribeEventSubscriptionsCommand, } from "./commands/DescribeEventSubscriptionsCommand";
|
|
68
69
|
import { DescribeHsmClientCertificatesCommand, } from "./commands/DescribeHsmClientCertificatesCommand";
|
|
69
70
|
import { DescribeHsmConfigurationsCommand, } from "./commands/DescribeHsmConfigurationsCommand";
|
|
71
|
+
import { DescribeInboundIntegrationsCommand, } from "./commands/DescribeInboundIntegrationsCommand";
|
|
70
72
|
import { DescribeLoggingStatusCommand, } from "./commands/DescribeLoggingStatusCommand";
|
|
71
73
|
import { DescribeNodeConfigurationOptionsCommand, } from "./commands/DescribeNodeConfigurationOptionsCommand";
|
|
72
74
|
import { DescribeOrderableClusterOptionsCommand, } from "./commands/DescribeOrderableClusterOptionsCommand";
|
|
@@ -91,6 +93,7 @@ import { GetClusterCredentialsCommand, } from "./commands/GetClusterCredentialsC
|
|
|
91
93
|
import { GetClusterCredentialsWithIAMCommand, } from "./commands/GetClusterCredentialsWithIAMCommand";
|
|
92
94
|
import { GetReservedNodeExchangeConfigurationOptionsCommand, } from "./commands/GetReservedNodeExchangeConfigurationOptionsCommand";
|
|
93
95
|
import { GetReservedNodeExchangeOfferingsCommand, } from "./commands/GetReservedNodeExchangeOfferingsCommand";
|
|
96
|
+
import { GetResourcePolicyCommand, } from "./commands/GetResourcePolicyCommand";
|
|
94
97
|
import { ModifyAquaConfigurationCommand, } from "./commands/ModifyAquaConfigurationCommand";
|
|
95
98
|
import { ModifyAuthenticationProfileCommand, } from "./commands/ModifyAuthenticationProfileCommand";
|
|
96
99
|
import { ModifyClusterCommand, } from "./commands/ModifyClusterCommand";
|
|
@@ -110,6 +113,7 @@ import { ModifySnapshotScheduleCommand, } from "./commands/ModifySnapshotSchedul
|
|
|
110
113
|
import { ModifyUsageLimitCommand, } from "./commands/ModifyUsageLimitCommand";
|
|
111
114
|
import { PauseClusterCommand, } from "./commands/PauseClusterCommand";
|
|
112
115
|
import { PurchaseReservedNodeOfferingCommand, } from "./commands/PurchaseReservedNodeOfferingCommand";
|
|
116
|
+
import { PutResourcePolicyCommand, } from "./commands/PutResourcePolicyCommand";
|
|
113
117
|
import { RebootClusterCommand, } from "./commands/RebootClusterCommand";
|
|
114
118
|
import { RejectDataShareCommand, } from "./commands/RejectDataShareCommand";
|
|
115
119
|
import { ResetClusterParameterGroupCommand, } from "./commands/ResetClusterParameterGroupCommand";
|
|
@@ -164,6 +168,7 @@ const commands = {
|
|
|
164
168
|
DeleteHsmClientCertificateCommand,
|
|
165
169
|
DeleteHsmConfigurationCommand,
|
|
166
170
|
DeletePartnerCommand,
|
|
171
|
+
DeleteResourcePolicyCommand,
|
|
167
172
|
DeleteScheduledActionCommand,
|
|
168
173
|
DeleteSnapshotCopyGrantCommand,
|
|
169
174
|
DeleteSnapshotScheduleCommand,
|
|
@@ -192,6 +197,7 @@ const commands = {
|
|
|
192
197
|
DescribeEventSubscriptionsCommand,
|
|
193
198
|
DescribeHsmClientCertificatesCommand,
|
|
194
199
|
DescribeHsmConfigurationsCommand,
|
|
200
|
+
DescribeInboundIntegrationsCommand,
|
|
195
201
|
DescribeLoggingStatusCommand,
|
|
196
202
|
DescribeNodeConfigurationOptionsCommand,
|
|
197
203
|
DescribeOrderableClusterOptionsCommand,
|
|
@@ -216,6 +222,7 @@ const commands = {
|
|
|
216
222
|
GetClusterCredentialsWithIAMCommand,
|
|
217
223
|
GetReservedNodeExchangeConfigurationOptionsCommand,
|
|
218
224
|
GetReservedNodeExchangeOfferingsCommand,
|
|
225
|
+
GetResourcePolicyCommand,
|
|
219
226
|
ModifyAquaConfigurationCommand,
|
|
220
227
|
ModifyAuthenticationProfileCommand,
|
|
221
228
|
ModifyClusterCommand,
|
|
@@ -235,6 +242,7 @@ const commands = {
|
|
|
235
242
|
ModifyUsageLimitCommand,
|
|
236
243
|
PauseClusterCommand,
|
|
237
244
|
PurchaseReservedNodeOfferingCommand,
|
|
245
|
+
PutResourcePolicyCommand,
|
|
238
246
|
RebootClusterCommand,
|
|
239
247
|
RejectDataShareCommand,
|
|
240
248
|
ResetClusterParameterGroupCommand,
|
|
@@ -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_DeleteResourcePolicyCommand, se_DeleteResourcePolicyCommand } from "../protocols/Aws_query";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class DeleteResourcePolicyCommand 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, DeleteResourcePolicyCommand.getEndpointParameterInstructions()));
|
|
23
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
24
|
+
const { logger } = configuration;
|
|
25
|
+
const clientName = "RedshiftClient";
|
|
26
|
+
const commandName = "DeleteResourcePolicyCommand";
|
|
27
|
+
const handlerExecutionContext = {
|
|
28
|
+
logger,
|
|
29
|
+
clientName,
|
|
30
|
+
commandName,
|
|
31
|
+
inputFilterSensitiveLog: (_) => _,
|
|
32
|
+
outputFilterSensitiveLog: (_) => _,
|
|
33
|
+
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
+
service: "RedshiftServiceVersion20121201",
|
|
35
|
+
operation: "DeleteResourcePolicy",
|
|
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_DeleteResourcePolicyCommand(input, context);
|
|
43
|
+
}
|
|
44
|
+
deserialize(output, context) {
|
|
45
|
+
return de_DeleteResourcePolicyCommand(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_DescribeInboundIntegrationsCommand, se_DescribeInboundIntegrationsCommand } from "../protocols/Aws_query";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class DescribeInboundIntegrationsCommand 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, DescribeInboundIntegrationsCommand.getEndpointParameterInstructions()));
|
|
23
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
24
|
+
const { logger } = configuration;
|
|
25
|
+
const clientName = "RedshiftClient";
|
|
26
|
+
const commandName = "DescribeInboundIntegrationsCommand";
|
|
27
|
+
const handlerExecutionContext = {
|
|
28
|
+
logger,
|
|
29
|
+
clientName,
|
|
30
|
+
commandName,
|
|
31
|
+
inputFilterSensitiveLog: (_) => _,
|
|
32
|
+
outputFilterSensitiveLog: (_) => _,
|
|
33
|
+
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
+
service: "RedshiftServiceVersion20121201",
|
|
35
|
+
operation: "DescribeInboundIntegrations",
|
|
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_DescribeInboundIntegrationsCommand(input, context);
|
|
43
|
+
}
|
|
44
|
+
deserialize(output, context) {
|
|
45
|
+
return de_DescribeInboundIntegrationsCommand(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_GetResourcePolicyCommand, se_GetResourcePolicyCommand } from "../protocols/Aws_query";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class GetResourcePolicyCommand 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, GetResourcePolicyCommand.getEndpointParameterInstructions()));
|
|
23
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
24
|
+
const { logger } = configuration;
|
|
25
|
+
const clientName = "RedshiftClient";
|
|
26
|
+
const commandName = "GetResourcePolicyCommand";
|
|
27
|
+
const handlerExecutionContext = {
|
|
28
|
+
logger,
|
|
29
|
+
clientName,
|
|
30
|
+
commandName,
|
|
31
|
+
inputFilterSensitiveLog: (_) => _,
|
|
32
|
+
outputFilterSensitiveLog: (_) => _,
|
|
33
|
+
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
+
service: "RedshiftServiceVersion20121201",
|
|
35
|
+
operation: "GetResourcePolicy",
|
|
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_GetResourcePolicyCommand(input, context);
|
|
43
|
+
}
|
|
44
|
+
deserialize(output, context) {
|
|
45
|
+
return de_GetResourcePolicyCommand(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_PutResourcePolicyCommand, se_PutResourcePolicyCommand } from "../protocols/Aws_query";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class PutResourcePolicyCommand 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, PutResourcePolicyCommand.getEndpointParameterInstructions()));
|
|
23
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
24
|
+
const { logger } = configuration;
|
|
25
|
+
const clientName = "RedshiftClient";
|
|
26
|
+
const commandName = "PutResourcePolicyCommand";
|
|
27
|
+
const handlerExecutionContext = {
|
|
28
|
+
logger,
|
|
29
|
+
clientName,
|
|
30
|
+
commandName,
|
|
31
|
+
inputFilterSensitiveLog: (_) => _,
|
|
32
|
+
outputFilterSensitiveLog: (_) => _,
|
|
33
|
+
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
+
service: "RedshiftServiceVersion20121201",
|
|
35
|
+
operation: "PutResourcePolicy",
|
|
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_PutResourcePolicyCommand(input, context);
|
|
43
|
+
}
|
|
44
|
+
deserialize(output, context) {
|
|
45
|
+
return de_PutResourcePolicyCommand(output, context);
|
|
46
|
+
}
|
|
47
|
+
}
|
|
@@ -38,6 +38,7 @@ export * from "./DeleteEventSubscriptionCommand";
|
|
|
38
38
|
export * from "./DeleteHsmClientCertificateCommand";
|
|
39
39
|
export * from "./DeleteHsmConfigurationCommand";
|
|
40
40
|
export * from "./DeletePartnerCommand";
|
|
41
|
+
export * from "./DeleteResourcePolicyCommand";
|
|
41
42
|
export * from "./DeleteScheduledActionCommand";
|
|
42
43
|
export * from "./DeleteSnapshotCopyGrantCommand";
|
|
43
44
|
export * from "./DeleteSnapshotScheduleCommand";
|
|
@@ -66,6 +67,7 @@ export * from "./DescribeEventSubscriptionsCommand";
|
|
|
66
67
|
export * from "./DescribeEventsCommand";
|
|
67
68
|
export * from "./DescribeHsmClientCertificatesCommand";
|
|
68
69
|
export * from "./DescribeHsmConfigurationsCommand";
|
|
70
|
+
export * from "./DescribeInboundIntegrationsCommand";
|
|
69
71
|
export * from "./DescribeLoggingStatusCommand";
|
|
70
72
|
export * from "./DescribeNodeConfigurationOptionsCommand";
|
|
71
73
|
export * from "./DescribeOrderableClusterOptionsCommand";
|
|
@@ -90,6 +92,7 @@ export * from "./GetClusterCredentialsCommand";
|
|
|
90
92
|
export * from "./GetClusterCredentialsWithIAMCommand";
|
|
91
93
|
export * from "./GetReservedNodeExchangeConfigurationOptionsCommand";
|
|
92
94
|
export * from "./GetReservedNodeExchangeOfferingsCommand";
|
|
95
|
+
export * from "./GetResourcePolicyCommand";
|
|
93
96
|
export * from "./ModifyAquaConfigurationCommand";
|
|
94
97
|
export * from "./ModifyAuthenticationProfileCommand";
|
|
95
98
|
export * from "./ModifyClusterCommand";
|
|
@@ -109,6 +112,7 @@ export * from "./ModifySnapshotScheduleCommand";
|
|
|
109
112
|
export * from "./ModifyUsageLimitCommand";
|
|
110
113
|
export * from "./PauseClusterCommand";
|
|
111
114
|
export * from "./PurchaseReservedNodeOfferingCommand";
|
|
115
|
+
export * from "./PutResourcePolicyCommand";
|
|
112
116
|
export * from "./RebootClusterCommand";
|
|
113
117
|
export * from "./RejectDataShareCommand";
|
|
114
118
|
export * from "./ResetClusterParameterGroupCommand";
|
|
@@ -636,6 +636,18 @@ export class ClusterSubnetQuotaExceededFault extends __BaseException {
|
|
|
636
636
|
Object.setPrototypeOf(this, ClusterSubnetQuotaExceededFault.prototype);
|
|
637
637
|
}
|
|
638
638
|
}
|
|
639
|
+
export class ConflictPolicyUpdateFault extends __BaseException {
|
|
640
|
+
constructor(opts) {
|
|
641
|
+
super({
|
|
642
|
+
name: "ConflictPolicyUpdateFault",
|
|
643
|
+
$fault: "client",
|
|
644
|
+
...opts,
|
|
645
|
+
});
|
|
646
|
+
this.name = "ConflictPolicyUpdateFault";
|
|
647
|
+
this.$fault = "client";
|
|
648
|
+
Object.setPrototypeOf(this, ConflictPolicyUpdateFault.prototype);
|
|
649
|
+
}
|
|
650
|
+
}
|
|
639
651
|
export class CopyToRegionDisabledFault extends __BaseException {
|
|
640
652
|
constructor(opts) {
|
|
641
653
|
super({
|
|
@@ -8,6 +8,27 @@ export const SourceType = {
|
|
|
8
8
|
cluster_snapshot: "cluster-snapshot",
|
|
9
9
|
scheduled_action: "scheduled-action",
|
|
10
10
|
};
|
|
11
|
+
export const ZeroETLIntegrationStatus = {
|
|
12
|
+
ACTIVE: "active",
|
|
13
|
+
CREATING: "creating",
|
|
14
|
+
DELETING: "deleting",
|
|
15
|
+
FAILED: "failed",
|
|
16
|
+
MODIFYING: "modifying",
|
|
17
|
+
NEEDS_ATTENTION: "needs_attention",
|
|
18
|
+
SYNCING: "syncing",
|
|
19
|
+
};
|
|
20
|
+
export class IntegrationNotFoundFault extends __BaseException {
|
|
21
|
+
constructor(opts) {
|
|
22
|
+
super({
|
|
23
|
+
name: "IntegrationNotFoundFault",
|
|
24
|
+
$fault: "client",
|
|
25
|
+
...opts,
|
|
26
|
+
});
|
|
27
|
+
this.name = "IntegrationNotFoundFault";
|
|
28
|
+
this.$fault = "client";
|
|
29
|
+
Object.setPrototypeOf(this, IntegrationNotFoundFault.prototype);
|
|
30
|
+
}
|
|
31
|
+
}
|
|
11
32
|
export const LogDestinationType = {
|
|
12
33
|
CLOUDWATCH: "cloudwatch",
|
|
13
34
|
S3: "s3",
|
|
@@ -177,6 +198,18 @@ export const ReservedNodeExchangeActionType = {
|
|
|
177
198
|
RESIZE_CLUSTER: "resize-cluster",
|
|
178
199
|
RESTORE_CLUSTER: "restore-cluster",
|
|
179
200
|
};
|
|
201
|
+
export class InvalidPolicyFault extends __BaseException {
|
|
202
|
+
constructor(opts) {
|
|
203
|
+
super({
|
|
204
|
+
name: "InvalidPolicyFault",
|
|
205
|
+
$fault: "client",
|
|
206
|
+
...opts,
|
|
207
|
+
});
|
|
208
|
+
this.name = "InvalidPolicyFault";
|
|
209
|
+
this.$fault = "client";
|
|
210
|
+
Object.setPrototypeOf(this, InvalidPolicyFault.prototype);
|
|
211
|
+
}
|
|
212
|
+
}
|
|
180
213
|
export class InProgressTableRestoreQuotaExceededFault extends __BaseException {
|
|
181
214
|
constructor(opts) {
|
|
182
215
|
super({
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { DescribeInboundIntegrationsCommand, } from "../commands/DescribeInboundIntegrationsCommand";
|
|
2
|
+
import { RedshiftClient } from "../RedshiftClient";
|
|
3
|
+
const makePagedClientRequest = async (client, input, ...args) => {
|
|
4
|
+
return await client.send(new DescribeInboundIntegrationsCommand(input), ...args);
|
|
5
|
+
};
|
|
6
|
+
export async function* paginateDescribeInboundIntegrations(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
|
+
}
|
|
@@ -19,6 +19,7 @@ export * from "./DescribeEventSubscriptionsPaginator";
|
|
|
19
19
|
export * from "./DescribeEventsPaginator";
|
|
20
20
|
export * from "./DescribeHsmClientCertificatesPaginator";
|
|
21
21
|
export * from "./DescribeHsmConfigurationsPaginator";
|
|
22
|
+
export * from "./DescribeInboundIntegrationsPaginator";
|
|
22
23
|
export * from "./DescribeNodeConfigurationOptionsPaginator";
|
|
23
24
|
export * from "./DescribeOrderableClusterOptionsPaginator";
|
|
24
25
|
export * from "./DescribeReservedNodeExchangeStatusPaginator";
|