@aws-sdk/client-redshift 3.354.0 → 3.356.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/CreateCustomDomainAssociationCommand.js +46 -0
- package/dist-cjs/commands/DeleteCustomDomainAssociationCommand.js +46 -0
- package/dist-cjs/commands/DescribeCustomDomainAssociationsCommand.js +46 -0
- package/dist-cjs/commands/ModifyCustomDomainAssociationCommand.js +46 -0
- package/dist-cjs/commands/index.js +4 -0
- package/dist-cjs/endpoint/ruleset.js +3 -3
- package/dist-cjs/models/models_0.js +28 -9
- package/dist-cjs/models/models_1.js +8 -1
- package/dist-cjs/pagination/DescribeCustomDomainAssociationsPaginator.js +29 -0
- package/dist-cjs/pagination/index.js +2 -1
- package/dist-cjs/protocols/Aws_query.js +387 -5
- package/dist-es/Redshift.js +8 -0
- package/dist-es/commands/CreateCustomDomainAssociationCommand.js +42 -0
- package/dist-es/commands/DeleteCustomDomainAssociationCommand.js +42 -0
- package/dist-es/commands/DescribeCustomDomainAssociationsCommand.js +42 -0
- package/dist-es/commands/ModifyCustomDomainAssociationCommand.js +42 -0
- package/dist-es/commands/index.js +4 -0
- package/dist-es/endpoint/ruleset.js +3 -3
- package/dist-es/models/models_0.js +24 -7
- package/dist-es/models/models_1.js +7 -0
- package/dist-es/pagination/DescribeCustomDomainAssociationsPaginator.js +25 -0
- package/dist-es/pagination/index.js +2 -1
- package/dist-es/protocols/Aws_query.js +375 -1
- package/dist-types/Redshift.d.ts +28 -0
- package/dist-types/RedshiftClient.d.ts +6 -2
- package/dist-types/commands/CreateClusterCommand.d.ts +3 -0
- package/dist-types/commands/CreateCustomDomainAssociationCommand.d.ts +89 -0
- package/dist-types/commands/DeleteClusterCommand.d.ts +3 -0
- package/dist-types/commands/DeleteCustomDomainAssociationCommand.d.ts +81 -0
- package/dist-types/commands/DescribeClustersCommand.d.ts +3 -0
- package/dist-types/commands/DescribeCustomDomainAssociationsCommand.d.ts +94 -0
- package/dist-types/commands/DescribeEventCategoriesCommand.d.ts +2 -1
- package/dist-types/commands/DescribeEventSubscriptionsCommand.d.ts +1 -1
- package/dist-types/commands/DescribeEventsCommand.d.ts +1 -1
- package/dist-types/commands/DescribeHsmClientCertificatesCommand.d.ts +1 -1
- package/dist-types/commands/DisableSnapshotCopyCommand.d.ts +3 -0
- package/dist-types/commands/EnableSnapshotCopyCommand.d.ts +3 -0
- package/dist-types/commands/GetClusterCredentialsCommand.d.ts +2 -1
- package/dist-types/commands/GetClusterCredentialsWithIAMCommand.d.ts +2 -1
- package/dist-types/commands/ModifyClusterCommand.d.ts +9 -0
- package/dist-types/commands/ModifyClusterDbRevisionCommand.d.ts +3 -0
- package/dist-types/commands/ModifyClusterIamRolesCommand.d.ts +3 -0
- package/dist-types/commands/ModifyClusterMaintenanceCommand.d.ts +3 -0
- package/dist-types/commands/ModifyCustomDomainAssociationCommand.d.ts +88 -0
- package/dist-types/commands/ModifySnapshotCopyRetentionPeriodCommand.d.ts +3 -0
- package/dist-types/commands/PauseClusterCommand.d.ts +3 -0
- package/dist-types/commands/RebootClusterCommand.d.ts +3 -0
- package/dist-types/commands/ResizeClusterCommand.d.ts +3 -0
- package/dist-types/commands/RestoreFromClusterSnapshotCommand.d.ts +3 -0
- package/dist-types/commands/ResumeClusterCommand.d.ts +3 -0
- package/dist-types/commands/RotateEncryptionKeyCommand.d.ts +3 -0
- package/dist-types/commands/index.d.ts +4 -0
- package/dist-types/models/models_0.d.ts +156 -323
- package/dist-types/models/models_1.d.ts +369 -6
- package/dist-types/pagination/DescribeCustomDomainAssociationsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +2 -1
- 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/CreateCustomDomainAssociationCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/DeleteCustomDomainAssociationCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/DescribeCustomDomainAssociationsCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/DescribeEventCategoriesCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/DescribeEventSubscriptionsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeEventsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeHsmClientCertificatesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ModifyCustomDomainAssociationCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/index.d.ts +4 -0
- package/dist-types/ts3.4/models/models_0.d.ts +53 -55
- package/dist-types/ts3.4/models/models_1.d.ts +72 -2
- package/dist-types/ts3.4/pagination/DescribeCustomDomainAssociationsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +2 -1
- package/dist-types/ts3.4/protocols/Aws_query.d.ts +48 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -359,6 +359,14 @@ CreateClusterSubnetGroup
|
|
|
359
359
|
|
|
360
360
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-redshift/classes/createclustersubnetgroupcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-redshift/interfaces/createclustersubnetgroupcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-redshift/interfaces/createclustersubnetgroupcommandoutput.html)
|
|
361
361
|
|
|
362
|
+
</details>
|
|
363
|
+
<details>
|
|
364
|
+
<summary>
|
|
365
|
+
CreateCustomDomainAssociation
|
|
366
|
+
</summary>
|
|
367
|
+
|
|
368
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-redshift/classes/createcustomdomainassociationcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-redshift/interfaces/createcustomdomainassociationcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-redshift/interfaces/createcustomdomainassociationcommandoutput.html)
|
|
369
|
+
|
|
362
370
|
</details>
|
|
363
371
|
<details>
|
|
364
372
|
<summary>
|
|
@@ -487,6 +495,14 @@ DeleteClusterSubnetGroup
|
|
|
487
495
|
|
|
488
496
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-redshift/classes/deleteclustersubnetgroupcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-redshift/interfaces/deleteclustersubnetgroupcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-redshift/interfaces/deleteclustersubnetgroupcommandoutput.html)
|
|
489
497
|
|
|
498
|
+
</details>
|
|
499
|
+
<details>
|
|
500
|
+
<summary>
|
|
501
|
+
DeleteCustomDomainAssociation
|
|
502
|
+
</summary>
|
|
503
|
+
|
|
504
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-redshift/classes/deletecustomdomainassociationcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-redshift/interfaces/deletecustomdomainassociationcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-redshift/interfaces/deletecustomdomainassociationcommandoutput.html)
|
|
505
|
+
|
|
490
506
|
</details>
|
|
491
507
|
<details>
|
|
492
508
|
<summary>
|
|
@@ -655,6 +671,14 @@ DescribeClusterVersions
|
|
|
655
671
|
|
|
656
672
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-redshift/classes/describeclusterversionscommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-redshift/interfaces/describeclusterversionscommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-redshift/interfaces/describeclusterversionscommandoutput.html)
|
|
657
673
|
|
|
674
|
+
</details>
|
|
675
|
+
<details>
|
|
676
|
+
<summary>
|
|
677
|
+
DescribeCustomDomainAssociations
|
|
678
|
+
</summary>
|
|
679
|
+
|
|
680
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-redshift/classes/describecustomdomainassociationscommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-redshift/interfaces/describecustomdomainassociationscommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-redshift/interfaces/describecustomdomainassociationscommandoutput.html)
|
|
681
|
+
|
|
658
682
|
</details>
|
|
659
683
|
<details>
|
|
660
684
|
<summary>
|
|
@@ -1015,6 +1039,14 @@ ModifyClusterSubnetGroup
|
|
|
1015
1039
|
|
|
1016
1040
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-redshift/classes/modifyclustersubnetgroupcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-redshift/interfaces/modifyclustersubnetgroupcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-redshift/interfaces/modifyclustersubnetgroupcommandoutput.html)
|
|
1017
1041
|
|
|
1042
|
+
</details>
|
|
1043
|
+
<details>
|
|
1044
|
+
<summary>
|
|
1045
|
+
ModifyCustomDomainAssociation
|
|
1046
|
+
</summary>
|
|
1047
|
+
|
|
1048
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-redshift/classes/modifycustomdomainassociationcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-redshift/interfaces/modifycustomdomainassociationcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-redshift/interfaces/modifycustomdomainassociationcommandoutput.html)
|
|
1049
|
+
|
|
1018
1050
|
</details>
|
|
1019
1051
|
<details>
|
|
1020
1052
|
<summary>
|
package/dist-cjs/Redshift.js
CHANGED
|
@@ -19,6 +19,7 @@ const CreateClusterParameterGroupCommand_1 = require("./commands/CreateClusterPa
|
|
|
19
19
|
const CreateClusterSecurityGroupCommand_1 = require("./commands/CreateClusterSecurityGroupCommand");
|
|
20
20
|
const CreateClusterSnapshotCommand_1 = require("./commands/CreateClusterSnapshotCommand");
|
|
21
21
|
const CreateClusterSubnetGroupCommand_1 = require("./commands/CreateClusterSubnetGroupCommand");
|
|
22
|
+
const CreateCustomDomainAssociationCommand_1 = require("./commands/CreateCustomDomainAssociationCommand");
|
|
22
23
|
const CreateEndpointAccessCommand_1 = require("./commands/CreateEndpointAccessCommand");
|
|
23
24
|
const CreateEventSubscriptionCommand_1 = require("./commands/CreateEventSubscriptionCommand");
|
|
24
25
|
const CreateHsmClientCertificateCommand_1 = require("./commands/CreateHsmClientCertificateCommand");
|
|
@@ -35,6 +36,7 @@ const DeleteClusterParameterGroupCommand_1 = require("./commands/DeleteClusterPa
|
|
|
35
36
|
const DeleteClusterSecurityGroupCommand_1 = require("./commands/DeleteClusterSecurityGroupCommand");
|
|
36
37
|
const DeleteClusterSnapshotCommand_1 = require("./commands/DeleteClusterSnapshotCommand");
|
|
37
38
|
const DeleteClusterSubnetGroupCommand_1 = require("./commands/DeleteClusterSubnetGroupCommand");
|
|
39
|
+
const DeleteCustomDomainAssociationCommand_1 = require("./commands/DeleteCustomDomainAssociationCommand");
|
|
38
40
|
const DeleteEndpointAccessCommand_1 = require("./commands/DeleteEndpointAccessCommand");
|
|
39
41
|
const DeleteEventSubscriptionCommand_1 = require("./commands/DeleteEventSubscriptionCommand");
|
|
40
42
|
const DeleteHsmClientCertificateCommand_1 = require("./commands/DeleteHsmClientCertificateCommand");
|
|
@@ -56,6 +58,7 @@ const DescribeClusterSnapshotsCommand_1 = require("./commands/DescribeClusterSna
|
|
|
56
58
|
const DescribeClusterSubnetGroupsCommand_1 = require("./commands/DescribeClusterSubnetGroupsCommand");
|
|
57
59
|
const DescribeClusterTracksCommand_1 = require("./commands/DescribeClusterTracksCommand");
|
|
58
60
|
const DescribeClusterVersionsCommand_1 = require("./commands/DescribeClusterVersionsCommand");
|
|
61
|
+
const DescribeCustomDomainAssociationsCommand_1 = require("./commands/DescribeCustomDomainAssociationsCommand");
|
|
59
62
|
const DescribeDataSharesCommand_1 = require("./commands/DescribeDataSharesCommand");
|
|
60
63
|
const DescribeDataSharesForConsumerCommand_1 = require("./commands/DescribeDataSharesForConsumerCommand");
|
|
61
64
|
const DescribeDataSharesForProducerCommand_1 = require("./commands/DescribeDataSharesForProducerCommand");
|
|
@@ -101,6 +104,7 @@ const ModifyClusterParameterGroupCommand_1 = require("./commands/ModifyClusterPa
|
|
|
101
104
|
const ModifyClusterSnapshotCommand_1 = require("./commands/ModifyClusterSnapshotCommand");
|
|
102
105
|
const ModifyClusterSnapshotScheduleCommand_1 = require("./commands/ModifyClusterSnapshotScheduleCommand");
|
|
103
106
|
const ModifyClusterSubnetGroupCommand_1 = require("./commands/ModifyClusterSubnetGroupCommand");
|
|
107
|
+
const ModifyCustomDomainAssociationCommand_1 = require("./commands/ModifyCustomDomainAssociationCommand");
|
|
104
108
|
const ModifyEndpointAccessCommand_1 = require("./commands/ModifyEndpointAccessCommand");
|
|
105
109
|
const ModifyEventSubscriptionCommand_1 = require("./commands/ModifyEventSubscriptionCommand");
|
|
106
110
|
const ModifyScheduledActionCommand_1 = require("./commands/ModifyScheduledActionCommand");
|
|
@@ -140,6 +144,7 @@ const commands = {
|
|
|
140
144
|
CreateClusterSecurityGroupCommand: CreateClusterSecurityGroupCommand_1.CreateClusterSecurityGroupCommand,
|
|
141
145
|
CreateClusterSnapshotCommand: CreateClusterSnapshotCommand_1.CreateClusterSnapshotCommand,
|
|
142
146
|
CreateClusterSubnetGroupCommand: CreateClusterSubnetGroupCommand_1.CreateClusterSubnetGroupCommand,
|
|
147
|
+
CreateCustomDomainAssociationCommand: CreateCustomDomainAssociationCommand_1.CreateCustomDomainAssociationCommand,
|
|
143
148
|
CreateEndpointAccessCommand: CreateEndpointAccessCommand_1.CreateEndpointAccessCommand,
|
|
144
149
|
CreateEventSubscriptionCommand: CreateEventSubscriptionCommand_1.CreateEventSubscriptionCommand,
|
|
145
150
|
CreateHsmClientCertificateCommand: CreateHsmClientCertificateCommand_1.CreateHsmClientCertificateCommand,
|
|
@@ -156,6 +161,7 @@ const commands = {
|
|
|
156
161
|
DeleteClusterSecurityGroupCommand: DeleteClusterSecurityGroupCommand_1.DeleteClusterSecurityGroupCommand,
|
|
157
162
|
DeleteClusterSnapshotCommand: DeleteClusterSnapshotCommand_1.DeleteClusterSnapshotCommand,
|
|
158
163
|
DeleteClusterSubnetGroupCommand: DeleteClusterSubnetGroupCommand_1.DeleteClusterSubnetGroupCommand,
|
|
164
|
+
DeleteCustomDomainAssociationCommand: DeleteCustomDomainAssociationCommand_1.DeleteCustomDomainAssociationCommand,
|
|
159
165
|
DeleteEndpointAccessCommand: DeleteEndpointAccessCommand_1.DeleteEndpointAccessCommand,
|
|
160
166
|
DeleteEventSubscriptionCommand: DeleteEventSubscriptionCommand_1.DeleteEventSubscriptionCommand,
|
|
161
167
|
DeleteHsmClientCertificateCommand: DeleteHsmClientCertificateCommand_1.DeleteHsmClientCertificateCommand,
|
|
@@ -177,6 +183,7 @@ const commands = {
|
|
|
177
183
|
DescribeClusterSubnetGroupsCommand: DescribeClusterSubnetGroupsCommand_1.DescribeClusterSubnetGroupsCommand,
|
|
178
184
|
DescribeClusterTracksCommand: DescribeClusterTracksCommand_1.DescribeClusterTracksCommand,
|
|
179
185
|
DescribeClusterVersionsCommand: DescribeClusterVersionsCommand_1.DescribeClusterVersionsCommand,
|
|
186
|
+
DescribeCustomDomainAssociationsCommand: DescribeCustomDomainAssociationsCommand_1.DescribeCustomDomainAssociationsCommand,
|
|
180
187
|
DescribeDataSharesCommand: DescribeDataSharesCommand_1.DescribeDataSharesCommand,
|
|
181
188
|
DescribeDataSharesForConsumerCommand: DescribeDataSharesForConsumerCommand_1.DescribeDataSharesForConsumerCommand,
|
|
182
189
|
DescribeDataSharesForProducerCommand: DescribeDataSharesForProducerCommand_1.DescribeDataSharesForProducerCommand,
|
|
@@ -222,6 +229,7 @@ const commands = {
|
|
|
222
229
|
ModifyClusterSnapshotCommand: ModifyClusterSnapshotCommand_1.ModifyClusterSnapshotCommand,
|
|
223
230
|
ModifyClusterSnapshotScheduleCommand: ModifyClusterSnapshotScheduleCommand_1.ModifyClusterSnapshotScheduleCommand,
|
|
224
231
|
ModifyClusterSubnetGroupCommand: ModifyClusterSubnetGroupCommand_1.ModifyClusterSubnetGroupCommand,
|
|
232
|
+
ModifyCustomDomainAssociationCommand: ModifyCustomDomainAssociationCommand_1.ModifyCustomDomainAssociationCommand,
|
|
225
233
|
ModifyEndpointAccessCommand: ModifyEndpointAccessCommand_1.ModifyEndpointAccessCommand,
|
|
226
234
|
ModifyEventSubscriptionCommand: ModifyEventSubscriptionCommand_1.ModifyEventSubscriptionCommand,
|
|
227
235
|
ModifyScheduledActionCommand: ModifyScheduledActionCommand_1.ModifyScheduledActionCommand,
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CreateCustomDomainAssociationCommand = exports.$Command = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
5
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
const Aws_query_1 = require("../protocols/Aws_query");
|
|
9
|
+
class CreateCustomDomainAssociationCommand extends smithy_client_1.Command {
|
|
10
|
+
static getEndpointParameterInstructions() {
|
|
11
|
+
return {
|
|
12
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
13
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
14
|
+
Region: { type: "builtInParams", name: "region" },
|
|
15
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
16
|
+
};
|
|
17
|
+
}
|
|
18
|
+
constructor(input) {
|
|
19
|
+
super();
|
|
20
|
+
this.input = input;
|
|
21
|
+
}
|
|
22
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
23
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
24
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, CreateCustomDomainAssociationCommand.getEndpointParameterInstructions()));
|
|
25
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
26
|
+
const { logger } = configuration;
|
|
27
|
+
const clientName = "RedshiftClient";
|
|
28
|
+
const commandName = "CreateCustomDomainAssociationCommand";
|
|
29
|
+
const handlerExecutionContext = {
|
|
30
|
+
logger,
|
|
31
|
+
clientName,
|
|
32
|
+
commandName,
|
|
33
|
+
inputFilterSensitiveLog: (_) => _,
|
|
34
|
+
outputFilterSensitiveLog: (_) => _,
|
|
35
|
+
};
|
|
36
|
+
const { requestHandler } = configuration;
|
|
37
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
38
|
+
}
|
|
39
|
+
serialize(input, context) {
|
|
40
|
+
return (0, Aws_query_1.se_CreateCustomDomainAssociationCommand)(input, context);
|
|
41
|
+
}
|
|
42
|
+
deserialize(output, context) {
|
|
43
|
+
return (0, Aws_query_1.de_CreateCustomDomainAssociationCommand)(output, context);
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
exports.CreateCustomDomainAssociationCommand = CreateCustomDomainAssociationCommand;
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.DeleteCustomDomainAssociationCommand = exports.$Command = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
5
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
const Aws_query_1 = require("../protocols/Aws_query");
|
|
9
|
+
class DeleteCustomDomainAssociationCommand extends smithy_client_1.Command {
|
|
10
|
+
static getEndpointParameterInstructions() {
|
|
11
|
+
return {
|
|
12
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
13
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
14
|
+
Region: { type: "builtInParams", name: "region" },
|
|
15
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
16
|
+
};
|
|
17
|
+
}
|
|
18
|
+
constructor(input) {
|
|
19
|
+
super();
|
|
20
|
+
this.input = input;
|
|
21
|
+
}
|
|
22
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
23
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
24
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, DeleteCustomDomainAssociationCommand.getEndpointParameterInstructions()));
|
|
25
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
26
|
+
const { logger } = configuration;
|
|
27
|
+
const clientName = "RedshiftClient";
|
|
28
|
+
const commandName = "DeleteCustomDomainAssociationCommand";
|
|
29
|
+
const handlerExecutionContext = {
|
|
30
|
+
logger,
|
|
31
|
+
clientName,
|
|
32
|
+
commandName,
|
|
33
|
+
inputFilterSensitiveLog: (_) => _,
|
|
34
|
+
outputFilterSensitiveLog: (_) => _,
|
|
35
|
+
};
|
|
36
|
+
const { requestHandler } = configuration;
|
|
37
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
38
|
+
}
|
|
39
|
+
serialize(input, context) {
|
|
40
|
+
return (0, Aws_query_1.se_DeleteCustomDomainAssociationCommand)(input, context);
|
|
41
|
+
}
|
|
42
|
+
deserialize(output, context) {
|
|
43
|
+
return (0, Aws_query_1.de_DeleteCustomDomainAssociationCommand)(output, context);
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
exports.DeleteCustomDomainAssociationCommand = DeleteCustomDomainAssociationCommand;
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.DescribeCustomDomainAssociationsCommand = exports.$Command = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
5
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
const Aws_query_1 = require("../protocols/Aws_query");
|
|
9
|
+
class DescribeCustomDomainAssociationsCommand extends smithy_client_1.Command {
|
|
10
|
+
static getEndpointParameterInstructions() {
|
|
11
|
+
return {
|
|
12
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
13
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
14
|
+
Region: { type: "builtInParams", name: "region" },
|
|
15
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
16
|
+
};
|
|
17
|
+
}
|
|
18
|
+
constructor(input) {
|
|
19
|
+
super();
|
|
20
|
+
this.input = input;
|
|
21
|
+
}
|
|
22
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
23
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
24
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, DescribeCustomDomainAssociationsCommand.getEndpointParameterInstructions()));
|
|
25
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
26
|
+
const { logger } = configuration;
|
|
27
|
+
const clientName = "RedshiftClient";
|
|
28
|
+
const commandName = "DescribeCustomDomainAssociationsCommand";
|
|
29
|
+
const handlerExecutionContext = {
|
|
30
|
+
logger,
|
|
31
|
+
clientName,
|
|
32
|
+
commandName,
|
|
33
|
+
inputFilterSensitiveLog: (_) => _,
|
|
34
|
+
outputFilterSensitiveLog: (_) => _,
|
|
35
|
+
};
|
|
36
|
+
const { requestHandler } = configuration;
|
|
37
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
38
|
+
}
|
|
39
|
+
serialize(input, context) {
|
|
40
|
+
return (0, Aws_query_1.se_DescribeCustomDomainAssociationsCommand)(input, context);
|
|
41
|
+
}
|
|
42
|
+
deserialize(output, context) {
|
|
43
|
+
return (0, Aws_query_1.de_DescribeCustomDomainAssociationsCommand)(output, context);
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
exports.DescribeCustomDomainAssociationsCommand = DescribeCustomDomainAssociationsCommand;
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ModifyCustomDomainAssociationCommand = exports.$Command = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
5
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
const Aws_query_1 = require("../protocols/Aws_query");
|
|
9
|
+
class ModifyCustomDomainAssociationCommand extends smithy_client_1.Command {
|
|
10
|
+
static getEndpointParameterInstructions() {
|
|
11
|
+
return {
|
|
12
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
13
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
14
|
+
Region: { type: "builtInParams", name: "region" },
|
|
15
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
16
|
+
};
|
|
17
|
+
}
|
|
18
|
+
constructor(input) {
|
|
19
|
+
super();
|
|
20
|
+
this.input = input;
|
|
21
|
+
}
|
|
22
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
23
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
24
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, ModifyCustomDomainAssociationCommand.getEndpointParameterInstructions()));
|
|
25
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
26
|
+
const { logger } = configuration;
|
|
27
|
+
const clientName = "RedshiftClient";
|
|
28
|
+
const commandName = "ModifyCustomDomainAssociationCommand";
|
|
29
|
+
const handlerExecutionContext = {
|
|
30
|
+
logger,
|
|
31
|
+
clientName,
|
|
32
|
+
commandName,
|
|
33
|
+
inputFilterSensitiveLog: (_) => _,
|
|
34
|
+
outputFilterSensitiveLog: (_) => _,
|
|
35
|
+
};
|
|
36
|
+
const { requestHandler } = configuration;
|
|
37
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
38
|
+
}
|
|
39
|
+
serialize(input, context) {
|
|
40
|
+
return (0, Aws_query_1.se_ModifyCustomDomainAssociationCommand)(input, context);
|
|
41
|
+
}
|
|
42
|
+
deserialize(output, context) {
|
|
43
|
+
return (0, Aws_query_1.de_ModifyCustomDomainAssociationCommand)(output, context);
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
exports.ModifyCustomDomainAssociationCommand = ModifyCustomDomainAssociationCommand;
|
|
@@ -18,6 +18,7 @@ tslib_1.__exportStar(require("./CreateClusterParameterGroupCommand"), exports);
|
|
|
18
18
|
tslib_1.__exportStar(require("./CreateClusterSecurityGroupCommand"), exports);
|
|
19
19
|
tslib_1.__exportStar(require("./CreateClusterSnapshotCommand"), exports);
|
|
20
20
|
tslib_1.__exportStar(require("./CreateClusterSubnetGroupCommand"), exports);
|
|
21
|
+
tslib_1.__exportStar(require("./CreateCustomDomainAssociationCommand"), exports);
|
|
21
22
|
tslib_1.__exportStar(require("./CreateEndpointAccessCommand"), exports);
|
|
22
23
|
tslib_1.__exportStar(require("./CreateEventSubscriptionCommand"), exports);
|
|
23
24
|
tslib_1.__exportStar(require("./CreateHsmClientCertificateCommand"), exports);
|
|
@@ -34,6 +35,7 @@ tslib_1.__exportStar(require("./DeleteClusterParameterGroupCommand"), exports);
|
|
|
34
35
|
tslib_1.__exportStar(require("./DeleteClusterSecurityGroupCommand"), exports);
|
|
35
36
|
tslib_1.__exportStar(require("./DeleteClusterSnapshotCommand"), exports);
|
|
36
37
|
tslib_1.__exportStar(require("./DeleteClusterSubnetGroupCommand"), exports);
|
|
38
|
+
tslib_1.__exportStar(require("./DeleteCustomDomainAssociationCommand"), exports);
|
|
37
39
|
tslib_1.__exportStar(require("./DeleteEndpointAccessCommand"), exports);
|
|
38
40
|
tslib_1.__exportStar(require("./DeleteEventSubscriptionCommand"), exports);
|
|
39
41
|
tslib_1.__exportStar(require("./DeleteHsmClientCertificateCommand"), exports);
|
|
@@ -55,6 +57,7 @@ tslib_1.__exportStar(require("./DescribeClusterSubnetGroupsCommand"), exports);
|
|
|
55
57
|
tslib_1.__exportStar(require("./DescribeClusterTracksCommand"), exports);
|
|
56
58
|
tslib_1.__exportStar(require("./DescribeClusterVersionsCommand"), exports);
|
|
57
59
|
tslib_1.__exportStar(require("./DescribeClustersCommand"), exports);
|
|
60
|
+
tslib_1.__exportStar(require("./DescribeCustomDomainAssociationsCommand"), exports);
|
|
58
61
|
tslib_1.__exportStar(require("./DescribeDataSharesCommand"), exports);
|
|
59
62
|
tslib_1.__exportStar(require("./DescribeDataSharesForConsumerCommand"), exports);
|
|
60
63
|
tslib_1.__exportStar(require("./DescribeDataSharesForProducerCommand"), exports);
|
|
@@ -100,6 +103,7 @@ tslib_1.__exportStar(require("./ModifyClusterParameterGroupCommand"), exports);
|
|
|
100
103
|
tslib_1.__exportStar(require("./ModifyClusterSnapshotCommand"), exports);
|
|
101
104
|
tslib_1.__exportStar(require("./ModifyClusterSnapshotScheduleCommand"), exports);
|
|
102
105
|
tslib_1.__exportStar(require("./ModifyClusterSubnetGroupCommand"), exports);
|
|
106
|
+
tslib_1.__exportStar(require("./ModifyCustomDomainAssociationCommand"), exports);
|
|
103
107
|
tslib_1.__exportStar(require("./ModifyEndpointAccessCommand"), exports);
|
|
104
108
|
tslib_1.__exportStar(require("./ModifyEventSubscriptionCommand"), exports);
|
|
105
109
|
tslib_1.__exportStar(require("./ModifyScheduledActionCommand"), exports);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.ruleSet = void 0;
|
|
4
|
-
const
|
|
5
|
-
const a = "isSet", b = "tree", c = "error", d = "endpoint", e = "PartitionResult", f = "getAttr", g =
|
|
6
|
-
const _data = { version: "1.0", parameters: { Region:
|
|
4
|
+
const s = "required", t = "fn", u = "argv", v = "ref";
|
|
5
|
+
const a = "isSet", b = "tree", c = "error", d = "endpoint", e = "PartitionResult", f = "getAttr", g = { [s]: false, "type": "String" }, h = { [s]: true, "default": false, "type": "Boolean" }, i = { [v]: "Endpoint" }, j = { [t]: "booleanEquals", [u]: [{ [v]: "UseFIPS" }, true] }, k = { [t]: "booleanEquals", [u]: [{ [v]: "UseDualStack" }, true] }, l = {}, m = { [t]: "booleanEquals", [u]: [true, { [t]: f, [u]: [{ [v]: e }, "supportsFIPS"] }] }, n = { [v]: e }, o = { [t]: "booleanEquals", [u]: [true, { [t]: f, [u]: [n, "supportsDualStack"] }] }, p = [j], q = [k], r = [{ [v]: "Region" }];
|
|
6
|
+
const _data = { version: "1.0", parameters: { Region: g, UseDualStack: h, UseFIPS: h, Endpoint: g }, rules: [{ conditions: [{ [t]: a, [u]: [i] }], type: b, rules: [{ conditions: p, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: c }, { type: b, rules: [{ conditions: q, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: c }, { endpoint: { url: i, properties: l, headers: l }, type: d }] }] }, { type: b, rules: [{ conditions: [{ [t]: a, [u]: r }], type: b, rules: [{ conditions: [{ [t]: "aws.partition", [u]: r, assign: e }], type: b, rules: [{ conditions: [j, k], type: b, rules: [{ conditions: [m, o], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://redshift-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: l, headers: l }, type: d }] }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: c }] }, { conditions: p, type: b, rules: [{ conditions: [m], type: b, rules: [{ type: b, rules: [{ conditions: [{ [t]: "stringEquals", [u]: ["aws-us-gov", { [t]: f, [u]: [n, "name"] }] }], endpoint: { url: "https://redshift.{Region}.amazonaws.com", properties: l, headers: l }, type: d }, { endpoint: { url: "https://redshift-fips.{Region}.{PartitionResult#dnsSuffix}", properties: l, headers: l }, type: d }] }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: c }] }, { conditions: q, type: b, rules: [{ conditions: [o], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://redshift.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: l, headers: l }, type: d }] }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: c }] }, { type: b, rules: [{ endpoint: { url: "https://redshift.{Region}.{PartitionResult#dnsSuffix}", properties: l, headers: l }, type: d }] }] }] }, { error: "Invalid Configuration: Missing Region", type: c }] }] };
|
|
7
7
|
exports.ruleSet = _data;
|
|
@@ -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.ClusterExtendedCredentialsFilterSensitiveLog = exports.ClusterCredentialsFilterSensitiveLog = exports.
|
|
4
|
+
exports.ScheduleDefinitionTypeUnsupportedFault = 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.ClusterSubnetQuotaExceededFault = exports.ClusterSubnetGroupQuotaExceededFault = exports.ClusterSubnetGroupNotFoundFault = exports.ClusterSubnetGroupAlreadyExistsFault = exports.ClusterSnapshotQuotaExceededFault = exports.ClusterSnapshotAlreadyExistsFault = exports.ClusterSecurityGroupQuotaExceededFault = exports.ClusterSecurityGroupAlreadyExistsFault = void 0;
|
|
5
|
+
exports.ClusterExtendedCredentialsFilterSensitiveLog = exports.ClusterCredentialsFilterSensitiveLog = 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;
|
|
6
6
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
7
|
const RedshiftServiceException_1 = require("./RedshiftServiceException");
|
|
8
8
|
exports.ReservedNodeOfferingType = {
|
|
@@ -898,6 +898,19 @@ class UnauthorizedOperation extends RedshiftServiceException_1.RedshiftServiceEx
|
|
|
898
898
|
}
|
|
899
899
|
}
|
|
900
900
|
exports.UnauthorizedOperation = UnauthorizedOperation;
|
|
901
|
+
class CustomCnameAssociationFault extends RedshiftServiceException_1.RedshiftServiceException {
|
|
902
|
+
constructor(opts) {
|
|
903
|
+
super({
|
|
904
|
+
name: "CustomCnameAssociationFault",
|
|
905
|
+
$fault: "client",
|
|
906
|
+
...opts,
|
|
907
|
+
});
|
|
908
|
+
this.name = "CustomCnameAssociationFault";
|
|
909
|
+
this.$fault = "client";
|
|
910
|
+
Object.setPrototypeOf(this, CustomCnameAssociationFault.prototype);
|
|
911
|
+
}
|
|
912
|
+
}
|
|
913
|
+
exports.CustomCnameAssociationFault = CustomCnameAssociationFault;
|
|
901
914
|
class EndpointAlreadyExistsFault extends RedshiftServiceException_1.RedshiftServiceException {
|
|
902
915
|
constructor(opts) {
|
|
903
916
|
super({
|
|
@@ -1298,6 +1311,19 @@ class UsageLimitAlreadyExistsFault extends RedshiftServiceException_1.RedshiftSe
|
|
|
1298
1311
|
}
|
|
1299
1312
|
}
|
|
1300
1313
|
exports.UsageLimitAlreadyExistsFault = UsageLimitAlreadyExistsFault;
|
|
1314
|
+
class CustomDomainAssociationNotFoundFault extends RedshiftServiceException_1.RedshiftServiceException {
|
|
1315
|
+
constructor(opts) {
|
|
1316
|
+
super({
|
|
1317
|
+
name: "CustomDomainAssociationNotFoundFault",
|
|
1318
|
+
$fault: "client",
|
|
1319
|
+
...opts,
|
|
1320
|
+
});
|
|
1321
|
+
this.name = "CustomDomainAssociationNotFoundFault";
|
|
1322
|
+
this.$fault = "client";
|
|
1323
|
+
Object.setPrototypeOf(this, CustomDomainAssociationNotFoundFault.prototype);
|
|
1324
|
+
}
|
|
1325
|
+
}
|
|
1326
|
+
exports.CustomDomainAssociationNotFoundFault = CustomDomainAssociationNotFoundFault;
|
|
1301
1327
|
exports.DataShareStatusForConsumer = {
|
|
1302
1328
|
ACTIVE: "ACTIVE",
|
|
1303
1329
|
AVAILABLE: "AVAILABLE",
|
|
@@ -1487,13 +1513,6 @@ exports.SortByOrder = {
|
|
|
1487
1513
|
ASCENDING: "ASC",
|
|
1488
1514
|
DESCENDING: "DESC",
|
|
1489
1515
|
};
|
|
1490
|
-
exports.SourceType = {
|
|
1491
|
-
cluster: "cluster",
|
|
1492
|
-
cluster_parameter_group: "cluster-parameter-group",
|
|
1493
|
-
cluster_security_group: "cluster-security-group",
|
|
1494
|
-
cluster_snapshot: "cluster-snapshot",
|
|
1495
|
-
scheduled_action: "scheduled-action",
|
|
1496
|
-
};
|
|
1497
1516
|
const ClusterCredentialsFilterSensitiveLog = (obj) => ({
|
|
1498
1517
|
...obj,
|
|
1499
1518
|
...(obj.DbPassword && { DbPassword: smithy_client_1.SENSITIVE_STRING }),
|
|
@@ -1,7 +1,14 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
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 = void 0;
|
|
3
|
+
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;
|
|
4
4
|
const RedshiftServiceException_1 = require("./RedshiftServiceException");
|
|
5
|
+
exports.SourceType = {
|
|
6
|
+
cluster: "cluster",
|
|
7
|
+
cluster_parameter_group: "cluster-parameter-group",
|
|
8
|
+
cluster_security_group: "cluster-security-group",
|
|
9
|
+
cluster_snapshot: "cluster-snapshot",
|
|
10
|
+
scheduled_action: "scheduled-action",
|
|
11
|
+
};
|
|
5
12
|
exports.LogDestinationType = {
|
|
6
13
|
CLOUDWATCH: "cloudwatch",
|
|
7
14
|
S3: "s3",
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.paginateDescribeCustomDomainAssociations = void 0;
|
|
4
|
+
const DescribeCustomDomainAssociationsCommand_1 = require("../commands/DescribeCustomDomainAssociationsCommand");
|
|
5
|
+
const RedshiftClient_1 = require("../RedshiftClient");
|
|
6
|
+
const makePagedClientRequest = async (client, input, ...args) => {
|
|
7
|
+
return await client.send(new DescribeCustomDomainAssociationsCommand_1.DescribeCustomDomainAssociationsCommand(input), ...args);
|
|
8
|
+
};
|
|
9
|
+
async function* paginateDescribeCustomDomainAssociations(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.paginateDescribeCustomDomainAssociations = paginateDescribeCustomDomainAssociations;
|
|
@@ -10,8 +10,9 @@ tslib_1.__exportStar(require("./DescribeClusterSubnetGroupsPaginator"), exports)
|
|
|
10
10
|
tslib_1.__exportStar(require("./DescribeClusterTracksPaginator"), exports);
|
|
11
11
|
tslib_1.__exportStar(require("./DescribeClusterVersionsPaginator"), exports);
|
|
12
12
|
tslib_1.__exportStar(require("./DescribeClustersPaginator"), exports);
|
|
13
|
-
tslib_1.__exportStar(require("./
|
|
13
|
+
tslib_1.__exportStar(require("./DescribeCustomDomainAssociationsPaginator"), exports);
|
|
14
14
|
tslib_1.__exportStar(require("./Interfaces"), exports);
|
|
15
|
+
tslib_1.__exportStar(require("./DescribeDataSharesForConsumerPaginator"), exports);
|
|
15
16
|
tslib_1.__exportStar(require("./DescribeDataSharesForProducerPaginator"), exports);
|
|
16
17
|
tslib_1.__exportStar(require("./DescribeDataSharesPaginator"), exports);
|
|
17
18
|
tslib_1.__exportStar(require("./DescribeDefaultClusterParametersPaginator"), exports);
|