@aws-sdk/client-redshift 3.436.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-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-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 +4 -4
package/README.md
CHANGED
|
@@ -543,6 +543,14 @@ DeletePartner
|
|
|
543
543
|
|
|
544
544
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-redshift/classes/deletepartnercommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-redshift/interfaces/deletepartnercommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-redshift/interfaces/deletepartnercommandoutput.html)
|
|
545
545
|
|
|
546
|
+
</details>
|
|
547
|
+
<details>
|
|
548
|
+
<summary>
|
|
549
|
+
DeleteResourcePolicy
|
|
550
|
+
</summary>
|
|
551
|
+
|
|
552
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-redshift/classes/deleteresourcepolicycommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-redshift/interfaces/deleteresourcepolicycommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-redshift/interfaces/deleteresourcepolicycommandoutput.html)
|
|
553
|
+
|
|
546
554
|
</details>
|
|
547
555
|
<details>
|
|
548
556
|
<summary>
|
|
@@ -767,6 +775,14 @@ DescribeHsmConfigurations
|
|
|
767
775
|
|
|
768
776
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-redshift/classes/describehsmconfigurationscommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-redshift/interfaces/describehsmconfigurationscommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-redshift/interfaces/describehsmconfigurationscommandoutput.html)
|
|
769
777
|
|
|
778
|
+
</details>
|
|
779
|
+
<details>
|
|
780
|
+
<summary>
|
|
781
|
+
DescribeInboundIntegrations
|
|
782
|
+
</summary>
|
|
783
|
+
|
|
784
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-redshift/classes/describeinboundintegrationscommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-redshift/interfaces/describeinboundintegrationscommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-redshift/interfaces/describeinboundintegrationscommandoutput.html)
|
|
785
|
+
|
|
770
786
|
</details>
|
|
771
787
|
<details>
|
|
772
788
|
<summary>
|
|
@@ -959,6 +975,14 @@ GetReservedNodeExchangeOfferings
|
|
|
959
975
|
|
|
960
976
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-redshift/classes/getreservednodeexchangeofferingscommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-redshift/interfaces/getreservednodeexchangeofferingscommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-redshift/interfaces/getreservednodeexchangeofferingscommandoutput.html)
|
|
961
977
|
|
|
978
|
+
</details>
|
|
979
|
+
<details>
|
|
980
|
+
<summary>
|
|
981
|
+
GetResourcePolicy
|
|
982
|
+
</summary>
|
|
983
|
+
|
|
984
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-redshift/classes/getresourcepolicycommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-redshift/interfaces/getresourcepolicycommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-redshift/interfaces/getresourcepolicycommandoutput.html)
|
|
985
|
+
|
|
962
986
|
</details>
|
|
963
987
|
<details>
|
|
964
988
|
<summary>
|
|
@@ -1111,6 +1135,14 @@ PurchaseReservedNodeOffering
|
|
|
1111
1135
|
|
|
1112
1136
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-redshift/classes/purchasereservednodeofferingcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-redshift/interfaces/purchasereservednodeofferingcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-redshift/interfaces/purchasereservednodeofferingcommandoutput.html)
|
|
1113
1137
|
|
|
1138
|
+
</details>
|
|
1139
|
+
<details>
|
|
1140
|
+
<summary>
|
|
1141
|
+
PutResourcePolicy
|
|
1142
|
+
</summary>
|
|
1143
|
+
|
|
1144
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-redshift/classes/putresourcepolicycommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-redshift/interfaces/putresourcepolicycommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-redshift/interfaces/putresourcepolicycommandoutput.html)
|
|
1145
|
+
|
|
1114
1146
|
</details>
|
|
1115
1147
|
<details>
|
|
1116
1148
|
<summary>
|
package/dist-cjs/Redshift.js
CHANGED
|
@@ -42,6 +42,7 @@ const DeleteEventSubscriptionCommand_1 = require("./commands/DeleteEventSubscrip
|
|
|
42
42
|
const DeleteHsmClientCertificateCommand_1 = require("./commands/DeleteHsmClientCertificateCommand");
|
|
43
43
|
const DeleteHsmConfigurationCommand_1 = require("./commands/DeleteHsmConfigurationCommand");
|
|
44
44
|
const DeletePartnerCommand_1 = require("./commands/DeletePartnerCommand");
|
|
45
|
+
const DeleteResourcePolicyCommand_1 = require("./commands/DeleteResourcePolicyCommand");
|
|
45
46
|
const DeleteScheduledActionCommand_1 = require("./commands/DeleteScheduledActionCommand");
|
|
46
47
|
const DeleteSnapshotCopyGrantCommand_1 = require("./commands/DeleteSnapshotCopyGrantCommand");
|
|
47
48
|
const DeleteSnapshotScheduleCommand_1 = require("./commands/DeleteSnapshotScheduleCommand");
|
|
@@ -70,6 +71,7 @@ const DescribeEventsCommand_1 = require("./commands/DescribeEventsCommand");
|
|
|
70
71
|
const DescribeEventSubscriptionsCommand_1 = require("./commands/DescribeEventSubscriptionsCommand");
|
|
71
72
|
const DescribeHsmClientCertificatesCommand_1 = require("./commands/DescribeHsmClientCertificatesCommand");
|
|
72
73
|
const DescribeHsmConfigurationsCommand_1 = require("./commands/DescribeHsmConfigurationsCommand");
|
|
74
|
+
const DescribeInboundIntegrationsCommand_1 = require("./commands/DescribeInboundIntegrationsCommand");
|
|
73
75
|
const DescribeLoggingStatusCommand_1 = require("./commands/DescribeLoggingStatusCommand");
|
|
74
76
|
const DescribeNodeConfigurationOptionsCommand_1 = require("./commands/DescribeNodeConfigurationOptionsCommand");
|
|
75
77
|
const DescribeOrderableClusterOptionsCommand_1 = require("./commands/DescribeOrderableClusterOptionsCommand");
|
|
@@ -94,6 +96,7 @@ const GetClusterCredentialsCommand_1 = require("./commands/GetClusterCredentials
|
|
|
94
96
|
const GetClusterCredentialsWithIAMCommand_1 = require("./commands/GetClusterCredentialsWithIAMCommand");
|
|
95
97
|
const GetReservedNodeExchangeConfigurationOptionsCommand_1 = require("./commands/GetReservedNodeExchangeConfigurationOptionsCommand");
|
|
96
98
|
const GetReservedNodeExchangeOfferingsCommand_1 = require("./commands/GetReservedNodeExchangeOfferingsCommand");
|
|
99
|
+
const GetResourcePolicyCommand_1 = require("./commands/GetResourcePolicyCommand");
|
|
97
100
|
const ModifyAquaConfigurationCommand_1 = require("./commands/ModifyAquaConfigurationCommand");
|
|
98
101
|
const ModifyAuthenticationProfileCommand_1 = require("./commands/ModifyAuthenticationProfileCommand");
|
|
99
102
|
const ModifyClusterCommand_1 = require("./commands/ModifyClusterCommand");
|
|
@@ -113,6 +116,7 @@ const ModifySnapshotScheduleCommand_1 = require("./commands/ModifySnapshotSchedu
|
|
|
113
116
|
const ModifyUsageLimitCommand_1 = require("./commands/ModifyUsageLimitCommand");
|
|
114
117
|
const PauseClusterCommand_1 = require("./commands/PauseClusterCommand");
|
|
115
118
|
const PurchaseReservedNodeOfferingCommand_1 = require("./commands/PurchaseReservedNodeOfferingCommand");
|
|
119
|
+
const PutResourcePolicyCommand_1 = require("./commands/PutResourcePolicyCommand");
|
|
116
120
|
const RebootClusterCommand_1 = require("./commands/RebootClusterCommand");
|
|
117
121
|
const RejectDataShareCommand_1 = require("./commands/RejectDataShareCommand");
|
|
118
122
|
const ResetClusterParameterGroupCommand_1 = require("./commands/ResetClusterParameterGroupCommand");
|
|
@@ -167,6 +171,7 @@ const commands = {
|
|
|
167
171
|
DeleteHsmClientCertificateCommand: DeleteHsmClientCertificateCommand_1.DeleteHsmClientCertificateCommand,
|
|
168
172
|
DeleteHsmConfigurationCommand: DeleteHsmConfigurationCommand_1.DeleteHsmConfigurationCommand,
|
|
169
173
|
DeletePartnerCommand: DeletePartnerCommand_1.DeletePartnerCommand,
|
|
174
|
+
DeleteResourcePolicyCommand: DeleteResourcePolicyCommand_1.DeleteResourcePolicyCommand,
|
|
170
175
|
DeleteScheduledActionCommand: DeleteScheduledActionCommand_1.DeleteScheduledActionCommand,
|
|
171
176
|
DeleteSnapshotCopyGrantCommand: DeleteSnapshotCopyGrantCommand_1.DeleteSnapshotCopyGrantCommand,
|
|
172
177
|
DeleteSnapshotScheduleCommand: DeleteSnapshotScheduleCommand_1.DeleteSnapshotScheduleCommand,
|
|
@@ -195,6 +200,7 @@ const commands = {
|
|
|
195
200
|
DescribeEventSubscriptionsCommand: DescribeEventSubscriptionsCommand_1.DescribeEventSubscriptionsCommand,
|
|
196
201
|
DescribeHsmClientCertificatesCommand: DescribeHsmClientCertificatesCommand_1.DescribeHsmClientCertificatesCommand,
|
|
197
202
|
DescribeHsmConfigurationsCommand: DescribeHsmConfigurationsCommand_1.DescribeHsmConfigurationsCommand,
|
|
203
|
+
DescribeInboundIntegrationsCommand: DescribeInboundIntegrationsCommand_1.DescribeInboundIntegrationsCommand,
|
|
198
204
|
DescribeLoggingStatusCommand: DescribeLoggingStatusCommand_1.DescribeLoggingStatusCommand,
|
|
199
205
|
DescribeNodeConfigurationOptionsCommand: DescribeNodeConfigurationOptionsCommand_1.DescribeNodeConfigurationOptionsCommand,
|
|
200
206
|
DescribeOrderableClusterOptionsCommand: DescribeOrderableClusterOptionsCommand_1.DescribeOrderableClusterOptionsCommand,
|
|
@@ -219,6 +225,7 @@ const commands = {
|
|
|
219
225
|
GetClusterCredentialsWithIAMCommand: GetClusterCredentialsWithIAMCommand_1.GetClusterCredentialsWithIAMCommand,
|
|
220
226
|
GetReservedNodeExchangeConfigurationOptionsCommand: GetReservedNodeExchangeConfigurationOptionsCommand_1.GetReservedNodeExchangeConfigurationOptionsCommand,
|
|
221
227
|
GetReservedNodeExchangeOfferingsCommand: GetReservedNodeExchangeOfferingsCommand_1.GetReservedNodeExchangeOfferingsCommand,
|
|
228
|
+
GetResourcePolicyCommand: GetResourcePolicyCommand_1.GetResourcePolicyCommand,
|
|
222
229
|
ModifyAquaConfigurationCommand: ModifyAquaConfigurationCommand_1.ModifyAquaConfigurationCommand,
|
|
223
230
|
ModifyAuthenticationProfileCommand: ModifyAuthenticationProfileCommand_1.ModifyAuthenticationProfileCommand,
|
|
224
231
|
ModifyClusterCommand: ModifyClusterCommand_1.ModifyClusterCommand,
|
|
@@ -238,6 +245,7 @@ const commands = {
|
|
|
238
245
|
ModifyUsageLimitCommand: ModifyUsageLimitCommand_1.ModifyUsageLimitCommand,
|
|
239
246
|
PauseClusterCommand: PauseClusterCommand_1.PauseClusterCommand,
|
|
240
247
|
PurchaseReservedNodeOfferingCommand: PurchaseReservedNodeOfferingCommand_1.PurchaseReservedNodeOfferingCommand,
|
|
248
|
+
PutResourcePolicyCommand: PutResourcePolicyCommand_1.PutResourcePolicyCommand,
|
|
241
249
|
RebootClusterCommand: RebootClusterCommand_1.RebootClusterCommand,
|
|
242
250
|
RejectDataShareCommand: RejectDataShareCommand_1.RejectDataShareCommand,
|
|
243
251
|
ResetClusterParameterGroupCommand: ResetClusterParameterGroupCommand_1.ResetClusterParameterGroupCommand,
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.DeleteResourcePolicyCommand = exports.$Command = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
5
|
+
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
const types_1 = require("@smithy/types");
|
|
9
|
+
const Aws_query_1 = require("../protocols/Aws_query");
|
|
10
|
+
class DeleteResourcePolicyCommand extends smithy_client_1.Command {
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
constructor(input) {
|
|
20
|
+
super();
|
|
21
|
+
this.input = input;
|
|
22
|
+
}
|
|
23
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
24
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
25
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, DeleteResourcePolicyCommand.getEndpointParameterInstructions()));
|
|
26
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
27
|
+
const { logger } = configuration;
|
|
28
|
+
const clientName = "RedshiftClient";
|
|
29
|
+
const commandName = "DeleteResourcePolicyCommand";
|
|
30
|
+
const handlerExecutionContext = {
|
|
31
|
+
logger,
|
|
32
|
+
clientName,
|
|
33
|
+
commandName,
|
|
34
|
+
inputFilterSensitiveLog: (_) => _,
|
|
35
|
+
outputFilterSensitiveLog: (_) => _,
|
|
36
|
+
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
+
service: "RedshiftServiceVersion20121201",
|
|
38
|
+
operation: "DeleteResourcePolicy",
|
|
39
|
+
},
|
|
40
|
+
};
|
|
41
|
+
const { requestHandler } = configuration;
|
|
42
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
43
|
+
}
|
|
44
|
+
serialize(input, context) {
|
|
45
|
+
return (0, Aws_query_1.se_DeleteResourcePolicyCommand)(input, context);
|
|
46
|
+
}
|
|
47
|
+
deserialize(output, context) {
|
|
48
|
+
return (0, Aws_query_1.de_DeleteResourcePolicyCommand)(output, context);
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
exports.DeleteResourcePolicyCommand = DeleteResourcePolicyCommand;
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.DescribeInboundIntegrationsCommand = exports.$Command = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
5
|
+
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
const types_1 = require("@smithy/types");
|
|
9
|
+
const Aws_query_1 = require("../protocols/Aws_query");
|
|
10
|
+
class DescribeInboundIntegrationsCommand extends smithy_client_1.Command {
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
constructor(input) {
|
|
20
|
+
super();
|
|
21
|
+
this.input = input;
|
|
22
|
+
}
|
|
23
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
24
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
25
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, DescribeInboundIntegrationsCommand.getEndpointParameterInstructions()));
|
|
26
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
27
|
+
const { logger } = configuration;
|
|
28
|
+
const clientName = "RedshiftClient";
|
|
29
|
+
const commandName = "DescribeInboundIntegrationsCommand";
|
|
30
|
+
const handlerExecutionContext = {
|
|
31
|
+
logger,
|
|
32
|
+
clientName,
|
|
33
|
+
commandName,
|
|
34
|
+
inputFilterSensitiveLog: (_) => _,
|
|
35
|
+
outputFilterSensitiveLog: (_) => _,
|
|
36
|
+
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
+
service: "RedshiftServiceVersion20121201",
|
|
38
|
+
operation: "DescribeInboundIntegrations",
|
|
39
|
+
},
|
|
40
|
+
};
|
|
41
|
+
const { requestHandler } = configuration;
|
|
42
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
43
|
+
}
|
|
44
|
+
serialize(input, context) {
|
|
45
|
+
return (0, Aws_query_1.se_DescribeInboundIntegrationsCommand)(input, context);
|
|
46
|
+
}
|
|
47
|
+
deserialize(output, context) {
|
|
48
|
+
return (0, Aws_query_1.de_DescribeInboundIntegrationsCommand)(output, context);
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
exports.DescribeInboundIntegrationsCommand = DescribeInboundIntegrationsCommand;
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.GetResourcePolicyCommand = exports.$Command = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
5
|
+
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
const types_1 = require("@smithy/types");
|
|
9
|
+
const Aws_query_1 = require("../protocols/Aws_query");
|
|
10
|
+
class GetResourcePolicyCommand extends smithy_client_1.Command {
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
constructor(input) {
|
|
20
|
+
super();
|
|
21
|
+
this.input = input;
|
|
22
|
+
}
|
|
23
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
24
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
25
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, GetResourcePolicyCommand.getEndpointParameterInstructions()));
|
|
26
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
27
|
+
const { logger } = configuration;
|
|
28
|
+
const clientName = "RedshiftClient";
|
|
29
|
+
const commandName = "GetResourcePolicyCommand";
|
|
30
|
+
const handlerExecutionContext = {
|
|
31
|
+
logger,
|
|
32
|
+
clientName,
|
|
33
|
+
commandName,
|
|
34
|
+
inputFilterSensitiveLog: (_) => _,
|
|
35
|
+
outputFilterSensitiveLog: (_) => _,
|
|
36
|
+
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
+
service: "RedshiftServiceVersion20121201",
|
|
38
|
+
operation: "GetResourcePolicy",
|
|
39
|
+
},
|
|
40
|
+
};
|
|
41
|
+
const { requestHandler } = configuration;
|
|
42
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
43
|
+
}
|
|
44
|
+
serialize(input, context) {
|
|
45
|
+
return (0, Aws_query_1.se_GetResourcePolicyCommand)(input, context);
|
|
46
|
+
}
|
|
47
|
+
deserialize(output, context) {
|
|
48
|
+
return (0, Aws_query_1.de_GetResourcePolicyCommand)(output, context);
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
exports.GetResourcePolicyCommand = GetResourcePolicyCommand;
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.PutResourcePolicyCommand = exports.$Command = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
5
|
+
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
const types_1 = require("@smithy/types");
|
|
9
|
+
const Aws_query_1 = require("../protocols/Aws_query");
|
|
10
|
+
class PutResourcePolicyCommand extends smithy_client_1.Command {
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
constructor(input) {
|
|
20
|
+
super();
|
|
21
|
+
this.input = input;
|
|
22
|
+
}
|
|
23
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
24
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
25
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, PutResourcePolicyCommand.getEndpointParameterInstructions()));
|
|
26
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
27
|
+
const { logger } = configuration;
|
|
28
|
+
const clientName = "RedshiftClient";
|
|
29
|
+
const commandName = "PutResourcePolicyCommand";
|
|
30
|
+
const handlerExecutionContext = {
|
|
31
|
+
logger,
|
|
32
|
+
clientName,
|
|
33
|
+
commandName,
|
|
34
|
+
inputFilterSensitiveLog: (_) => _,
|
|
35
|
+
outputFilterSensitiveLog: (_) => _,
|
|
36
|
+
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
+
service: "RedshiftServiceVersion20121201",
|
|
38
|
+
operation: "PutResourcePolicy",
|
|
39
|
+
},
|
|
40
|
+
};
|
|
41
|
+
const { requestHandler } = configuration;
|
|
42
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
43
|
+
}
|
|
44
|
+
serialize(input, context) {
|
|
45
|
+
return (0, Aws_query_1.se_PutResourcePolicyCommand)(input, context);
|
|
46
|
+
}
|
|
47
|
+
deserialize(output, context) {
|
|
48
|
+
return (0, Aws_query_1.de_PutResourcePolicyCommand)(output, context);
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
exports.PutResourcePolicyCommand = PutResourcePolicyCommand;
|
|
@@ -41,6 +41,7 @@ tslib_1.__exportStar(require("./DeleteEventSubscriptionCommand"), exports);
|
|
|
41
41
|
tslib_1.__exportStar(require("./DeleteHsmClientCertificateCommand"), exports);
|
|
42
42
|
tslib_1.__exportStar(require("./DeleteHsmConfigurationCommand"), exports);
|
|
43
43
|
tslib_1.__exportStar(require("./DeletePartnerCommand"), exports);
|
|
44
|
+
tslib_1.__exportStar(require("./DeleteResourcePolicyCommand"), exports);
|
|
44
45
|
tslib_1.__exportStar(require("./DeleteScheduledActionCommand"), exports);
|
|
45
46
|
tslib_1.__exportStar(require("./DeleteSnapshotCopyGrantCommand"), exports);
|
|
46
47
|
tslib_1.__exportStar(require("./DeleteSnapshotScheduleCommand"), exports);
|
|
@@ -69,6 +70,7 @@ tslib_1.__exportStar(require("./DescribeEventSubscriptionsCommand"), exports);
|
|
|
69
70
|
tslib_1.__exportStar(require("./DescribeEventsCommand"), exports);
|
|
70
71
|
tslib_1.__exportStar(require("./DescribeHsmClientCertificatesCommand"), exports);
|
|
71
72
|
tslib_1.__exportStar(require("./DescribeHsmConfigurationsCommand"), exports);
|
|
73
|
+
tslib_1.__exportStar(require("./DescribeInboundIntegrationsCommand"), exports);
|
|
72
74
|
tslib_1.__exportStar(require("./DescribeLoggingStatusCommand"), exports);
|
|
73
75
|
tslib_1.__exportStar(require("./DescribeNodeConfigurationOptionsCommand"), exports);
|
|
74
76
|
tslib_1.__exportStar(require("./DescribeOrderableClusterOptionsCommand"), exports);
|
|
@@ -93,6 +95,7 @@ tslib_1.__exportStar(require("./GetClusterCredentialsCommand"), exports);
|
|
|
93
95
|
tslib_1.__exportStar(require("./GetClusterCredentialsWithIAMCommand"), exports);
|
|
94
96
|
tslib_1.__exportStar(require("./GetReservedNodeExchangeConfigurationOptionsCommand"), exports);
|
|
95
97
|
tslib_1.__exportStar(require("./GetReservedNodeExchangeOfferingsCommand"), exports);
|
|
98
|
+
tslib_1.__exportStar(require("./GetResourcePolicyCommand"), exports);
|
|
96
99
|
tslib_1.__exportStar(require("./ModifyAquaConfigurationCommand"), exports);
|
|
97
100
|
tslib_1.__exportStar(require("./ModifyAuthenticationProfileCommand"), exports);
|
|
98
101
|
tslib_1.__exportStar(require("./ModifyClusterCommand"), exports);
|
|
@@ -112,6 +115,7 @@ tslib_1.__exportStar(require("./ModifySnapshotScheduleCommand"), exports);
|
|
|
112
115
|
tslib_1.__exportStar(require("./ModifyUsageLimitCommand"), exports);
|
|
113
116
|
tslib_1.__exportStar(require("./PauseClusterCommand"), exports);
|
|
114
117
|
tslib_1.__exportStar(require("./PurchaseReservedNodeOfferingCommand"), exports);
|
|
118
|
+
tslib_1.__exportStar(require("./PutResourcePolicyCommand"), exports);
|
|
115
119
|
tslib_1.__exportStar(require("./RebootClusterCommand"), exports);
|
|
116
120
|
tslib_1.__exportStar(require("./RejectDataShareCommand"), exports);
|
|
117
121
|
tslib_1.__exportStar(require("./ResetClusterParameterGroupCommand"), exports);
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.ClusterQuotaExceededFault = exports.ClusterParameterGroupQuotaExceededFault = exports.ClusterParameterGroupNotFoundFault = exports.ParameterApplyType = exports.ClusterParameterGroupAlreadyExistsFault = exports.ClusterOnLatestRevisionFault = exports.ClusterAlreadyExistsFault = exports.ReservedNodeExchangeStatusType = exports.ResizeNotFoundFault = exports.BucketNotFoundFault = exports.InvalidRetentionPeriodFault = exports.BatchModifyClusterSnapshotsLimitExceededFault = exports.BatchDeleteRequestSizeExceededFault = exports.LimitExceededFault = exports.InvalidClusterSnapshotStateFault = exports.DependentServiceRequestThrottlingFault = exports.ClusterSnapshotNotFoundFault = exports.InvalidClusterStateFault = exports.InvalidAuthorizationStateFault = exports.EndpointAuthorizationsPerClusterLimitExceededFault = exports.EndpointAuthorizationAlreadyExistsFault = exports.InvalidClusterSecurityGroupStateFault = exports.ClusterSecurityGroupNotFoundFault = exports.AuthorizationStatus = exports.AuthorizationQuotaExceededFault = exports.AuthorizationNotFoundFault = exports.AuthorizationAlreadyExistsFault = exports.AuthenticationProfileQuotaExceededFault = exports.AuthenticationProfileNotFoundFault = exports.AuthenticationProfileAlreadyExistsFault = exports.ScheduleState = exports.InvalidNamespaceFault = exports.InvalidDataShareFault = exports.DataShareStatus = exports.AquaStatus = exports.AquaConfigurationStatus = exports.UnauthorizedPartnerIntegrationFault = exports.PartnerNotFoundFault = exports.ClusterNotFoundFault = exports.ActionType = exports.AccessToSnapshotDeniedFault = exports.AccessToClusterDeniedFault = exports.UnsupportedOperationFault = exports.ReservedNodeOfferingNotFoundFault = exports.ReservedNodeNotFoundFault = exports.ReservedNodeAlreadyMigratedFault = exports.ReservedNodeAlreadyExistsFault = exports.InvalidReservedNodeStateFault = exports.DependentServiceUnavailableFault = exports.ReservedNodeOfferingType = void 0;
|
|
4
|
-
exports.
|
|
5
|
-
exports.DeleteClusterResultFilterSensitiveLog = exports.CreateClusterResultFilterSensitiveLog = exports.CreateClusterMessageFilterSensitiveLog = exports.ClustersMessageFilterSensitiveLog = exports.ClusterExtendedCredentialsFilterSensitiveLog = exports.ClusterCredentialsFilterSensitiveLog = exports.ClusterFilterSensitiveLog = exports.PendingModifiedValuesFilterSensitiveLog = exports.SortByOrder = exports.SnapshotAttributeToSortBy = exports.UsageLimitNotFoundFault = exports.InvalidClusterSnapshotScheduleStateFault = exports.SnapshotCopyGrantNotFoundFault = exports.InvalidSnapshotCopyGrantStateFault = exports.ScheduledActionNotFoundFault = exports.InvalidHsmConfigurationStateFault = exports.InvalidHsmClientCertificateStateFault = exports.SubscriptionNotFoundFault = exports.InvalidSubscriptionStateFault = exports.InvalidEndpointStateFault = exports.EndpointNotFoundFault = exports.InvalidClusterSubnetStateFault = exports.InvalidClusterParameterGroupStateFault = exports.DataShareStatusForProducer = exports.DataShareStatusForConsumer = exports.CustomDomainAssociationNotFoundFault = exports.UsageLimitAlreadyExistsFault = exports.InvalidUsageLimitFault = exports.UsageLimitPeriod = exports.UsageLimitLimitType = exports.UsageLimitFeatureType = exports.UsageLimitBreachAction = exports.ResourceNotFoundFault = exports.SnapshotScheduleQuotaExceededFault = exports.SnapshotScheduleAlreadyExistsFault = void 0;
|
|
4
|
+
exports.SnapshotCopyGrantQuotaExceededFault = exports.SnapshotCopyGrantAlreadyExistsFault = exports.ScheduledActionTypeUnsupportedFault = exports.ScheduledActionQuotaExceededFault = exports.ScheduledActionAlreadyExistsFault = exports.ScheduledActionState = exports.InvalidScheduleFault = exports.InvalidScheduledActionFault = exports.HsmConfigurationQuotaExceededFault = exports.HsmConfigurationAlreadyExistsFault = exports.HsmClientCertificateQuotaExceededFault = exports.HsmClientCertificateAlreadyExistsFault = exports.SubscriptionSeverityNotFoundFault = exports.SubscriptionEventIdNotFoundFault = exports.SubscriptionCategoryNotFoundFault = exports.SubscriptionAlreadyExistFault = exports.SourceNotFoundFault = exports.SNSTopicArnNotFoundFault = exports.SNSNoAuthorizationFault = exports.SNSInvalidTopicFault = exports.EventSubscriptionQuotaExceededFault = exports.EndpointsPerClusterLimitExceededFault = exports.EndpointsPerAuthorizationLimitExceededFault = exports.EndpointAlreadyExistsFault = exports.CustomCnameAssociationFault = exports.UnauthorizedOperation = exports.TagLimitExceededFault = exports.SnapshotScheduleNotFoundFault = exports.NumberOfNodesQuotaExceededFault = exports.NumberOfNodesPerClusterLimitExceededFault = exports.InvalidVPCNetworkStateFault = exports.InvalidTagFault = exports.InvalidSubnet = exports.InvalidElasticIpFault = exports.InvalidClusterTrackFault = exports.InvalidClusterSubnetGroupStateFault = exports.InsufficientClusterCapacityFault = exports.HsmConfigurationNotFoundFault = exports.HsmClientCertificateNotFoundFault = exports.InvalidAuthenticationProfileRequestFault = exports.CopyToRegionDisabledFault = exports.ConflictPolicyUpdateFault = exports.ClusterSubnetQuotaExceededFault = exports.ClusterSubnetGroupQuotaExceededFault = exports.ClusterSubnetGroupNotFoundFault = exports.ClusterSubnetGroupAlreadyExistsFault = exports.ClusterSnapshotQuotaExceededFault = exports.ClusterSnapshotAlreadyExistsFault = exports.ClusterSecurityGroupQuotaExceededFault = exports.ClusterSecurityGroupAlreadyExistsFault = void 0;
|
|
5
|
+
exports.DeleteClusterResultFilterSensitiveLog = exports.CreateClusterResultFilterSensitiveLog = exports.CreateClusterMessageFilterSensitiveLog = exports.ClustersMessageFilterSensitiveLog = exports.ClusterExtendedCredentialsFilterSensitiveLog = exports.ClusterCredentialsFilterSensitiveLog = exports.ClusterFilterSensitiveLog = exports.PendingModifiedValuesFilterSensitiveLog = exports.SortByOrder = exports.SnapshotAttributeToSortBy = exports.UsageLimitNotFoundFault = exports.InvalidClusterSnapshotScheduleStateFault = exports.SnapshotCopyGrantNotFoundFault = exports.InvalidSnapshotCopyGrantStateFault = exports.ScheduledActionNotFoundFault = exports.InvalidHsmConfigurationStateFault = exports.InvalidHsmClientCertificateStateFault = exports.SubscriptionNotFoundFault = exports.InvalidSubscriptionStateFault = exports.InvalidEndpointStateFault = exports.EndpointNotFoundFault = exports.InvalidClusterSubnetStateFault = exports.InvalidClusterParameterGroupStateFault = exports.DataShareStatusForProducer = exports.DataShareStatusForConsumer = exports.CustomDomainAssociationNotFoundFault = exports.UsageLimitAlreadyExistsFault = exports.InvalidUsageLimitFault = exports.UsageLimitPeriod = exports.UsageLimitLimitType = exports.UsageLimitFeatureType = exports.UsageLimitBreachAction = exports.ResourceNotFoundFault = exports.SnapshotScheduleQuotaExceededFault = exports.SnapshotScheduleAlreadyExistsFault = exports.ScheduleDefinitionTypeUnsupportedFault = void 0;
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
const RedshiftServiceException_1 = require("./RedshiftServiceException");
|
|
8
8
|
exports.ReservedNodeOfferingType = {
|
|
@@ -690,6 +690,19 @@ class ClusterSubnetQuotaExceededFault extends RedshiftServiceException_1.Redshif
|
|
|
690
690
|
}
|
|
691
691
|
}
|
|
692
692
|
exports.ClusterSubnetQuotaExceededFault = ClusterSubnetQuotaExceededFault;
|
|
693
|
+
class ConflictPolicyUpdateFault extends RedshiftServiceException_1.RedshiftServiceException {
|
|
694
|
+
constructor(opts) {
|
|
695
|
+
super({
|
|
696
|
+
name: "ConflictPolicyUpdateFault",
|
|
697
|
+
$fault: "client",
|
|
698
|
+
...opts,
|
|
699
|
+
});
|
|
700
|
+
this.name = "ConflictPolicyUpdateFault";
|
|
701
|
+
this.$fault = "client";
|
|
702
|
+
Object.setPrototypeOf(this, ConflictPolicyUpdateFault.prototype);
|
|
703
|
+
}
|
|
704
|
+
}
|
|
705
|
+
exports.ConflictPolicyUpdateFault = ConflictPolicyUpdateFault;
|
|
693
706
|
class CopyToRegionDisabledFault extends RedshiftServiceException_1.RedshiftServiceException {
|
|
694
707
|
constructor(opts) {
|
|
695
708
|
super({
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.RotateEncryptionKeyResultFilterSensitiveLog = exports.ResumeClusterResultFilterSensitiveLog = exports.RestoreFromClusterSnapshotResultFilterSensitiveLog = exports.ResizeClusterResultFilterSensitiveLog = exports.RebootClusterResultFilterSensitiveLog = exports.PauseClusterResultFilterSensitiveLog = exports.ModifySnapshotCopyRetentionPeriodResultFilterSensitiveLog = exports.ModifyClusterMaintenanceResultFilterSensitiveLog = exports.ModifyClusterIamRolesResultFilterSensitiveLog = exports.ModifyClusterDbRevisionResultFilterSensitiveLog = exports.ModifyClusterResultFilterSensitiveLog = exports.ModifyClusterMessageFilterSensitiveLog = exports.EnableSnapshotCopyResultFilterSensitiveLog = exports.DisableSnapshotCopyResultFilterSensitiveLog = exports.ReservedNodeQuotaExceededFault = exports.SnapshotScheduleUpdateInProgressFault = exports.SnapshotCopyDisabledFault = exports.SubnetAlreadyInUse = exports.UnsupportedOptionFault = exports.TableLimitExceededFault = exports.InvalidTableRestoreArgumentFault = exports.InvalidRestoreFault = exports.InProgressTableRestoreQuotaExceededFault = exports.ReservedNodeExchangeActionType = exports.EndpointAuthorizationNotFoundFault = exports.UnknownSnapshotCopyRegionFault = exports.SnapshotCopyAlreadyEnabledFault = exports.IncompatibleOrderableOptions = exports.InvalidS3KeyPrefixFault = exports.InvalidS3BucketNameFault = exports.InsufficientS3BucketPolicyFault = exports.SnapshotCopyAlreadyDisabledFault = exports.TableRestoreStatusType = exports.TableRestoreNotFoundFault = exports.ScheduledActionTypeValues = exports.ScheduledActionFilterName = exports.ReservedNodeExchangeNotFoundFault = exports.PartnerIntegrationStatus = exports.Mode = exports.OperatorType = exports.NodeConfigurationOptionsFilterName = exports.LogDestinationType = exports.SourceType = void 0;
|
|
3
|
+
exports.RotateEncryptionKeyResultFilterSensitiveLog = exports.ResumeClusterResultFilterSensitiveLog = exports.RestoreFromClusterSnapshotResultFilterSensitiveLog = exports.ResizeClusterResultFilterSensitiveLog = exports.RebootClusterResultFilterSensitiveLog = exports.PauseClusterResultFilterSensitiveLog = exports.ModifySnapshotCopyRetentionPeriodResultFilterSensitiveLog = exports.ModifyClusterMaintenanceResultFilterSensitiveLog = exports.ModifyClusterIamRolesResultFilterSensitiveLog = exports.ModifyClusterDbRevisionResultFilterSensitiveLog = exports.ModifyClusterResultFilterSensitiveLog = exports.ModifyClusterMessageFilterSensitiveLog = exports.EnableSnapshotCopyResultFilterSensitiveLog = exports.DisableSnapshotCopyResultFilterSensitiveLog = exports.ReservedNodeQuotaExceededFault = exports.SnapshotScheduleUpdateInProgressFault = exports.SnapshotCopyDisabledFault = exports.SubnetAlreadyInUse = exports.UnsupportedOptionFault = exports.TableLimitExceededFault = exports.InvalidTableRestoreArgumentFault = exports.InvalidRestoreFault = exports.InProgressTableRestoreQuotaExceededFault = exports.InvalidPolicyFault = exports.ReservedNodeExchangeActionType = exports.EndpointAuthorizationNotFoundFault = exports.UnknownSnapshotCopyRegionFault = exports.SnapshotCopyAlreadyEnabledFault = exports.IncompatibleOrderableOptions = exports.InvalidS3KeyPrefixFault = exports.InvalidS3BucketNameFault = exports.InsufficientS3BucketPolicyFault = exports.SnapshotCopyAlreadyDisabledFault = exports.TableRestoreStatusType = exports.TableRestoreNotFoundFault = exports.ScheduledActionTypeValues = exports.ScheduledActionFilterName = exports.ReservedNodeExchangeNotFoundFault = exports.PartnerIntegrationStatus = exports.Mode = exports.OperatorType = exports.NodeConfigurationOptionsFilterName = exports.LogDestinationType = exports.IntegrationNotFoundFault = exports.ZeroETLIntegrationStatus = exports.SourceType = void 0;
|
|
4
4
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
5
5
|
const models_0_1 = require("./models_0");
|
|
6
6
|
const RedshiftServiceException_1 = require("./RedshiftServiceException");
|
|
@@ -11,6 +11,28 @@ exports.SourceType = {
|
|
|
11
11
|
cluster_snapshot: "cluster-snapshot",
|
|
12
12
|
scheduled_action: "scheduled-action",
|
|
13
13
|
};
|
|
14
|
+
exports.ZeroETLIntegrationStatus = {
|
|
15
|
+
ACTIVE: "active",
|
|
16
|
+
CREATING: "creating",
|
|
17
|
+
DELETING: "deleting",
|
|
18
|
+
FAILED: "failed",
|
|
19
|
+
MODIFYING: "modifying",
|
|
20
|
+
NEEDS_ATTENTION: "needs_attention",
|
|
21
|
+
SYNCING: "syncing",
|
|
22
|
+
};
|
|
23
|
+
class IntegrationNotFoundFault extends RedshiftServiceException_1.RedshiftServiceException {
|
|
24
|
+
constructor(opts) {
|
|
25
|
+
super({
|
|
26
|
+
name: "IntegrationNotFoundFault",
|
|
27
|
+
$fault: "client",
|
|
28
|
+
...opts,
|
|
29
|
+
});
|
|
30
|
+
this.name = "IntegrationNotFoundFault";
|
|
31
|
+
this.$fault = "client";
|
|
32
|
+
Object.setPrototypeOf(this, IntegrationNotFoundFault.prototype);
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
exports.IntegrationNotFoundFault = IntegrationNotFoundFault;
|
|
14
36
|
exports.LogDestinationType = {
|
|
15
37
|
CLOUDWATCH: "cloudwatch",
|
|
16
38
|
S3: "s3",
|
|
@@ -190,6 +212,19 @@ exports.ReservedNodeExchangeActionType = {
|
|
|
190
212
|
RESIZE_CLUSTER: "resize-cluster",
|
|
191
213
|
RESTORE_CLUSTER: "restore-cluster",
|
|
192
214
|
};
|
|
215
|
+
class InvalidPolicyFault extends RedshiftServiceException_1.RedshiftServiceException {
|
|
216
|
+
constructor(opts) {
|
|
217
|
+
super({
|
|
218
|
+
name: "InvalidPolicyFault",
|
|
219
|
+
$fault: "client",
|
|
220
|
+
...opts,
|
|
221
|
+
});
|
|
222
|
+
this.name = "InvalidPolicyFault";
|
|
223
|
+
this.$fault = "client";
|
|
224
|
+
Object.setPrototypeOf(this, InvalidPolicyFault.prototype);
|
|
225
|
+
}
|
|
226
|
+
}
|
|
227
|
+
exports.InvalidPolicyFault = InvalidPolicyFault;
|
|
193
228
|
class InProgressTableRestoreQuotaExceededFault extends RedshiftServiceException_1.RedshiftServiceException {
|
|
194
229
|
constructor(opts) {
|
|
195
230
|
super({
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.paginateDescribeInboundIntegrations = void 0;
|
|
4
|
+
const DescribeInboundIntegrationsCommand_1 = require("../commands/DescribeInboundIntegrationsCommand");
|
|
5
|
+
const RedshiftClient_1 = require("../RedshiftClient");
|
|
6
|
+
const makePagedClientRequest = async (client, input, ...args) => {
|
|
7
|
+
return await client.send(new DescribeInboundIntegrationsCommand_1.DescribeInboundIntegrationsCommand(input), ...args);
|
|
8
|
+
};
|
|
9
|
+
async function* paginateDescribeInboundIntegrations(config, input, ...additionalArguments) {
|
|
10
|
+
let token = config.startingToken || undefined;
|
|
11
|
+
let hasNext = true;
|
|
12
|
+
let page;
|
|
13
|
+
while (hasNext) {
|
|
14
|
+
input.Marker = token;
|
|
15
|
+
input["MaxRecords"] = config.pageSize;
|
|
16
|
+
if (config.client instanceof RedshiftClient_1.RedshiftClient) {
|
|
17
|
+
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
+
}
|
|
19
|
+
else {
|
|
20
|
+
throw new Error("Invalid client, expected Redshift | RedshiftClient");
|
|
21
|
+
}
|
|
22
|
+
yield page;
|
|
23
|
+
const prevToken = token;
|
|
24
|
+
token = page.Marker;
|
|
25
|
+
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
+
}
|
|
27
|
+
return undefined;
|
|
28
|
+
}
|
|
29
|
+
exports.paginateDescribeInboundIntegrations = paginateDescribeInboundIntegrations;
|
|
@@ -22,6 +22,7 @@ tslib_1.__exportStar(require("./DescribeEventSubscriptionsPaginator"), exports);
|
|
|
22
22
|
tslib_1.__exportStar(require("./DescribeEventsPaginator"), exports);
|
|
23
23
|
tslib_1.__exportStar(require("./DescribeHsmClientCertificatesPaginator"), exports);
|
|
24
24
|
tslib_1.__exportStar(require("./DescribeHsmConfigurationsPaginator"), exports);
|
|
25
|
+
tslib_1.__exportStar(require("./DescribeInboundIntegrationsPaginator"), exports);
|
|
25
26
|
tslib_1.__exportStar(require("./DescribeNodeConfigurationOptionsPaginator"), exports);
|
|
26
27
|
tslib_1.__exportStar(require("./DescribeOrderableClusterOptionsPaginator"), exports);
|
|
27
28
|
tslib_1.__exportStar(require("./DescribeReservedNodeExchangeStatusPaginator"), exports);
|