@aws-sdk/client-redshift 3.353.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 +9 -9
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { de_CreateCustomDomainAssociationCommand, se_CreateCustomDomainAssociationCommand, } from "../protocols/Aws_query";
|
|
5
|
+
export { $Command };
|
|
6
|
+
export class CreateCustomDomainAssociationCommand extends $Command {
|
|
7
|
+
static getEndpointParameterInstructions() {
|
|
8
|
+
return {
|
|
9
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
10
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
11
|
+
Region: { type: "builtInParams", name: "region" },
|
|
12
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
13
|
+
};
|
|
14
|
+
}
|
|
15
|
+
constructor(input) {
|
|
16
|
+
super();
|
|
17
|
+
this.input = input;
|
|
18
|
+
}
|
|
19
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
20
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, CreateCustomDomainAssociationCommand.getEndpointParameterInstructions()));
|
|
22
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
23
|
+
const { logger } = configuration;
|
|
24
|
+
const clientName = "RedshiftClient";
|
|
25
|
+
const commandName = "CreateCustomDomainAssociationCommand";
|
|
26
|
+
const handlerExecutionContext = {
|
|
27
|
+
logger,
|
|
28
|
+
clientName,
|
|
29
|
+
commandName,
|
|
30
|
+
inputFilterSensitiveLog: (_) => _,
|
|
31
|
+
outputFilterSensitiveLog: (_) => _,
|
|
32
|
+
};
|
|
33
|
+
const { requestHandler } = configuration;
|
|
34
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
35
|
+
}
|
|
36
|
+
serialize(input, context) {
|
|
37
|
+
return se_CreateCustomDomainAssociationCommand(input, context);
|
|
38
|
+
}
|
|
39
|
+
deserialize(output, context) {
|
|
40
|
+
return de_CreateCustomDomainAssociationCommand(output, context);
|
|
41
|
+
}
|
|
42
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { de_DeleteCustomDomainAssociationCommand, se_DeleteCustomDomainAssociationCommand, } from "../protocols/Aws_query";
|
|
5
|
+
export { $Command };
|
|
6
|
+
export class DeleteCustomDomainAssociationCommand extends $Command {
|
|
7
|
+
static getEndpointParameterInstructions() {
|
|
8
|
+
return {
|
|
9
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
10
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
11
|
+
Region: { type: "builtInParams", name: "region" },
|
|
12
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
13
|
+
};
|
|
14
|
+
}
|
|
15
|
+
constructor(input) {
|
|
16
|
+
super();
|
|
17
|
+
this.input = input;
|
|
18
|
+
}
|
|
19
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
20
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, DeleteCustomDomainAssociationCommand.getEndpointParameterInstructions()));
|
|
22
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
23
|
+
const { logger } = configuration;
|
|
24
|
+
const clientName = "RedshiftClient";
|
|
25
|
+
const commandName = "DeleteCustomDomainAssociationCommand";
|
|
26
|
+
const handlerExecutionContext = {
|
|
27
|
+
logger,
|
|
28
|
+
clientName,
|
|
29
|
+
commandName,
|
|
30
|
+
inputFilterSensitiveLog: (_) => _,
|
|
31
|
+
outputFilterSensitiveLog: (_) => _,
|
|
32
|
+
};
|
|
33
|
+
const { requestHandler } = configuration;
|
|
34
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
35
|
+
}
|
|
36
|
+
serialize(input, context) {
|
|
37
|
+
return se_DeleteCustomDomainAssociationCommand(input, context);
|
|
38
|
+
}
|
|
39
|
+
deserialize(output, context) {
|
|
40
|
+
return de_DeleteCustomDomainAssociationCommand(output, context);
|
|
41
|
+
}
|
|
42
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { de_DescribeCustomDomainAssociationsCommand, se_DescribeCustomDomainAssociationsCommand, } from "../protocols/Aws_query";
|
|
5
|
+
export { $Command };
|
|
6
|
+
export class DescribeCustomDomainAssociationsCommand extends $Command {
|
|
7
|
+
static getEndpointParameterInstructions() {
|
|
8
|
+
return {
|
|
9
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
10
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
11
|
+
Region: { type: "builtInParams", name: "region" },
|
|
12
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
13
|
+
};
|
|
14
|
+
}
|
|
15
|
+
constructor(input) {
|
|
16
|
+
super();
|
|
17
|
+
this.input = input;
|
|
18
|
+
}
|
|
19
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
20
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, DescribeCustomDomainAssociationsCommand.getEndpointParameterInstructions()));
|
|
22
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
23
|
+
const { logger } = configuration;
|
|
24
|
+
const clientName = "RedshiftClient";
|
|
25
|
+
const commandName = "DescribeCustomDomainAssociationsCommand";
|
|
26
|
+
const handlerExecutionContext = {
|
|
27
|
+
logger,
|
|
28
|
+
clientName,
|
|
29
|
+
commandName,
|
|
30
|
+
inputFilterSensitiveLog: (_) => _,
|
|
31
|
+
outputFilterSensitiveLog: (_) => _,
|
|
32
|
+
};
|
|
33
|
+
const { requestHandler } = configuration;
|
|
34
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
35
|
+
}
|
|
36
|
+
serialize(input, context) {
|
|
37
|
+
return se_DescribeCustomDomainAssociationsCommand(input, context);
|
|
38
|
+
}
|
|
39
|
+
deserialize(output, context) {
|
|
40
|
+
return de_DescribeCustomDomainAssociationsCommand(output, context);
|
|
41
|
+
}
|
|
42
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { de_ModifyCustomDomainAssociationCommand, se_ModifyCustomDomainAssociationCommand, } from "../protocols/Aws_query";
|
|
5
|
+
export { $Command };
|
|
6
|
+
export class ModifyCustomDomainAssociationCommand extends $Command {
|
|
7
|
+
static getEndpointParameterInstructions() {
|
|
8
|
+
return {
|
|
9
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
10
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
11
|
+
Region: { type: "builtInParams", name: "region" },
|
|
12
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
13
|
+
};
|
|
14
|
+
}
|
|
15
|
+
constructor(input) {
|
|
16
|
+
super();
|
|
17
|
+
this.input = input;
|
|
18
|
+
}
|
|
19
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
20
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, ModifyCustomDomainAssociationCommand.getEndpointParameterInstructions()));
|
|
22
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
23
|
+
const { logger } = configuration;
|
|
24
|
+
const clientName = "RedshiftClient";
|
|
25
|
+
const commandName = "ModifyCustomDomainAssociationCommand";
|
|
26
|
+
const handlerExecutionContext = {
|
|
27
|
+
logger,
|
|
28
|
+
clientName,
|
|
29
|
+
commandName,
|
|
30
|
+
inputFilterSensitiveLog: (_) => _,
|
|
31
|
+
outputFilterSensitiveLog: (_) => _,
|
|
32
|
+
};
|
|
33
|
+
const { requestHandler } = configuration;
|
|
34
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
35
|
+
}
|
|
36
|
+
serialize(input, context) {
|
|
37
|
+
return se_ModifyCustomDomainAssociationCommand(input, context);
|
|
38
|
+
}
|
|
39
|
+
deserialize(output, context) {
|
|
40
|
+
return de_ModifyCustomDomainAssociationCommand(output, context);
|
|
41
|
+
}
|
|
42
|
+
}
|
|
@@ -15,6 +15,7 @@ export * from "./CreateClusterParameterGroupCommand";
|
|
|
15
15
|
export * from "./CreateClusterSecurityGroupCommand";
|
|
16
16
|
export * from "./CreateClusterSnapshotCommand";
|
|
17
17
|
export * from "./CreateClusterSubnetGroupCommand";
|
|
18
|
+
export * from "./CreateCustomDomainAssociationCommand";
|
|
18
19
|
export * from "./CreateEndpointAccessCommand";
|
|
19
20
|
export * from "./CreateEventSubscriptionCommand";
|
|
20
21
|
export * from "./CreateHsmClientCertificateCommand";
|
|
@@ -31,6 +32,7 @@ export * from "./DeleteClusterParameterGroupCommand";
|
|
|
31
32
|
export * from "./DeleteClusterSecurityGroupCommand";
|
|
32
33
|
export * from "./DeleteClusterSnapshotCommand";
|
|
33
34
|
export * from "./DeleteClusterSubnetGroupCommand";
|
|
35
|
+
export * from "./DeleteCustomDomainAssociationCommand";
|
|
34
36
|
export * from "./DeleteEndpointAccessCommand";
|
|
35
37
|
export * from "./DeleteEventSubscriptionCommand";
|
|
36
38
|
export * from "./DeleteHsmClientCertificateCommand";
|
|
@@ -52,6 +54,7 @@ export * from "./DescribeClusterSubnetGroupsCommand";
|
|
|
52
54
|
export * from "./DescribeClusterTracksCommand";
|
|
53
55
|
export * from "./DescribeClusterVersionsCommand";
|
|
54
56
|
export * from "./DescribeClustersCommand";
|
|
57
|
+
export * from "./DescribeCustomDomainAssociationsCommand";
|
|
55
58
|
export * from "./DescribeDataSharesCommand";
|
|
56
59
|
export * from "./DescribeDataSharesForConsumerCommand";
|
|
57
60
|
export * from "./DescribeDataSharesForProducerCommand";
|
|
@@ -97,6 +100,7 @@ export * from "./ModifyClusterParameterGroupCommand";
|
|
|
97
100
|
export * from "./ModifyClusterSnapshotCommand";
|
|
98
101
|
export * from "./ModifyClusterSnapshotScheduleCommand";
|
|
99
102
|
export * from "./ModifyClusterSubnetGroupCommand";
|
|
103
|
+
export * from "./ModifyCustomDomainAssociationCommand";
|
|
100
104
|
export * from "./ModifyEndpointAccessCommand";
|
|
101
105
|
export * from "./ModifyEventSubscriptionCommand";
|
|
102
106
|
export * from "./ModifyScheduledActionCommand";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const
|
|
2
|
-
const a = "isSet", b = "tree", c = "error", d = "endpoint", e = "PartitionResult", f = "getAttr", g =
|
|
3
|
-
const _data = { version: "1.0", parameters: { Region:
|
|
1
|
+
const s = "required", t = "fn", u = "argv", v = "ref";
|
|
2
|
+
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" }];
|
|
3
|
+
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 }] }] };
|
|
4
4
|
export const ruleSet = _data;
|
|
@@ -828,6 +828,18 @@ export class UnauthorizedOperation extends __BaseException {
|
|
|
828
828
|
Object.setPrototypeOf(this, UnauthorizedOperation.prototype);
|
|
829
829
|
}
|
|
830
830
|
}
|
|
831
|
+
export class CustomCnameAssociationFault extends __BaseException {
|
|
832
|
+
constructor(opts) {
|
|
833
|
+
super({
|
|
834
|
+
name: "CustomCnameAssociationFault",
|
|
835
|
+
$fault: "client",
|
|
836
|
+
...opts,
|
|
837
|
+
});
|
|
838
|
+
this.name = "CustomCnameAssociationFault";
|
|
839
|
+
this.$fault = "client";
|
|
840
|
+
Object.setPrototypeOf(this, CustomCnameAssociationFault.prototype);
|
|
841
|
+
}
|
|
842
|
+
}
|
|
831
843
|
export class EndpointAlreadyExistsFault extends __BaseException {
|
|
832
844
|
constructor(opts) {
|
|
833
845
|
super({
|
|
@@ -1199,6 +1211,18 @@ export class UsageLimitAlreadyExistsFault extends __BaseException {
|
|
|
1199
1211
|
Object.setPrototypeOf(this, UsageLimitAlreadyExistsFault.prototype);
|
|
1200
1212
|
}
|
|
1201
1213
|
}
|
|
1214
|
+
export class CustomDomainAssociationNotFoundFault extends __BaseException {
|
|
1215
|
+
constructor(opts) {
|
|
1216
|
+
super({
|
|
1217
|
+
name: "CustomDomainAssociationNotFoundFault",
|
|
1218
|
+
$fault: "client",
|
|
1219
|
+
...opts,
|
|
1220
|
+
});
|
|
1221
|
+
this.name = "CustomDomainAssociationNotFoundFault";
|
|
1222
|
+
this.$fault = "client";
|
|
1223
|
+
Object.setPrototypeOf(this, CustomDomainAssociationNotFoundFault.prototype);
|
|
1224
|
+
}
|
|
1225
|
+
}
|
|
1202
1226
|
export const DataShareStatusForConsumer = {
|
|
1203
1227
|
ACTIVE: "ACTIVE",
|
|
1204
1228
|
AVAILABLE: "AVAILABLE",
|
|
@@ -1375,13 +1399,6 @@ export const SortByOrder = {
|
|
|
1375
1399
|
ASCENDING: "ASC",
|
|
1376
1400
|
DESCENDING: "DESC",
|
|
1377
1401
|
};
|
|
1378
|
-
export const SourceType = {
|
|
1379
|
-
cluster: "cluster",
|
|
1380
|
-
cluster_parameter_group: "cluster-parameter-group",
|
|
1381
|
-
cluster_security_group: "cluster-security-group",
|
|
1382
|
-
cluster_snapshot: "cluster-snapshot",
|
|
1383
|
-
scheduled_action: "scheduled-action",
|
|
1384
|
-
};
|
|
1385
1402
|
export const ClusterCredentialsFilterSensitiveLog = (obj) => ({
|
|
1386
1403
|
...obj,
|
|
1387
1404
|
...(obj.DbPassword && { DbPassword: SENSITIVE_STRING }),
|
|
@@ -1,4 +1,11 @@
|
|
|
1
1
|
import { RedshiftServiceException as __BaseException } from "./RedshiftServiceException";
|
|
2
|
+
export const SourceType = {
|
|
3
|
+
cluster: "cluster",
|
|
4
|
+
cluster_parameter_group: "cluster-parameter-group",
|
|
5
|
+
cluster_security_group: "cluster-security-group",
|
|
6
|
+
cluster_snapshot: "cluster-snapshot",
|
|
7
|
+
scheduled_action: "scheduled-action",
|
|
8
|
+
};
|
|
2
9
|
export const LogDestinationType = {
|
|
3
10
|
CLOUDWATCH: "cloudwatch",
|
|
4
11
|
S3: "s3",
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { DescribeCustomDomainAssociationsCommand, } from "../commands/DescribeCustomDomainAssociationsCommand";
|
|
2
|
+
import { RedshiftClient } from "../RedshiftClient";
|
|
3
|
+
const makePagedClientRequest = async (client, input, ...args) => {
|
|
4
|
+
return await client.send(new DescribeCustomDomainAssociationsCommand(input), ...args);
|
|
5
|
+
};
|
|
6
|
+
export async function* paginateDescribeCustomDomainAssociations(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
|
+
}
|
|
@@ -7,8 +7,9 @@ export * from "./DescribeClusterSubnetGroupsPaginator";
|
|
|
7
7
|
export * from "./DescribeClusterTracksPaginator";
|
|
8
8
|
export * from "./DescribeClusterVersionsPaginator";
|
|
9
9
|
export * from "./DescribeClustersPaginator";
|
|
10
|
-
export * from "./
|
|
10
|
+
export * from "./DescribeCustomDomainAssociationsPaginator";
|
|
11
11
|
export * from "./Interfaces";
|
|
12
|
+
export * from "./DescribeDataSharesForConsumerPaginator";
|
|
12
13
|
export * from "./DescribeDataSharesForProducerPaginator";
|
|
13
14
|
export * from "./DescribeDataSharesPaginator";
|
|
14
15
|
export * from "./DescribeDefaultClusterParametersPaginator";
|