Skip to content

Commit 0bc8e18

Browse files
author
awstools
committed
docs(client-redshift): This release clarifies use for the ElasticIp parameter of the CreateCluster and RestoreFromClusterSnapshot APIs.
1 parent 7586f6e commit 0bc8e18

File tree

3 files changed

+884
-741
lines changed

3 files changed

+884
-741
lines changed

clients/client-redshift/src/models/models_0.ts

Lines changed: 22 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,10 @@ export interface RecurringCharge {
3434
RecurringChargeFrequency?: string;
3535
}
3636

37-
export type ReservedNodeOfferingType = "Regular" | "Upgradable";
37+
export enum ReservedNodeOfferingType {
38+
Regular = "Regular",
39+
Upgradable = "Upgradable",
40+
}
3841

3942
/**
4043
* <p>Describes a reserved node. You can call the <a>DescribeReservedNodeOfferings</a> API to obtain the available reserved node
@@ -614,7 +617,11 @@ export class InvalidNamespaceFault extends __BaseException {
614617
}
615618
}
616619

617-
export type ScheduleState = "ACTIVE" | "FAILED" | "MODIFYING";
620+
export enum ScheduleState {
621+
ACTIVE = "ACTIVE",
622+
FAILED = "FAILED",
623+
MODIFYING = "MODIFYING",
624+
}
618625

619626
/**
620627
* <p></p>
@@ -2948,7 +2955,10 @@ export class ClusterParameterGroupAlreadyExistsFault extends __BaseException {
29482955
}
29492956
}
29502957

2951-
export type ParameterApplyType = "dynamic" | "static";
2958+
export enum ParameterApplyType {
2959+
dynamic = "dynamic",
2960+
static = "static",
2961+
}
29522962

29532963
/**
29542964
* <p>Describes a parameter in a cluster parameter group.</p>
@@ -3886,7 +3896,8 @@ export interface CreateClusterMessage {
38863896
/**
38873897
* <p>The Elastic IP (EIP) address for the cluster.</p>
38883898
* <p>Constraints: The cluster must be provisioned in EC2-VPC and publicly-accessible
3889-
* through an Internet gateway. For more information about provisioning clusters in
3899+
* through an Internet gateway. Don't specify the Elastic IP address for a publicly accessible
3900+
* cluster with availability zone relocation turned on. For more information about provisioning clusters in
38903901
* EC2-VPC, go to <a href="https://docs.aws.amazon.com/redshift/latest/mgmt/working-with-clusters.html#cluster-platforms">Supported
38913902
* Platforms to Launch Your Cluster</a> in the Amazon Redshift Cluster Management Guide.</p>
38923903
*/
@@ -7403,12 +7414,13 @@ export interface EventCategoriesMessage {
74037414
EventCategoriesMapList?: EventCategoriesMap[];
74047415
}
74057416

7406-
export type SourceType =
7407-
| "cluster"
7408-
| "cluster-parameter-group"
7409-
| "cluster-security-group"
7410-
| "cluster-snapshot"
7411-
| "scheduled-action";
7417+
export enum SourceType {
7418+
cluster = "cluster",
7419+
cluster_parameter_group = "cluster-parameter-group",
7420+
cluster_security_group = "cluster-security-group",
7421+
cluster_snapshot = "cluster-snapshot",
7422+
scheduled_action = "scheduled-action",
7423+
}
74127424

74137425
/**
74147426
* <p></p>

clients/client-redshift/src/models/models_1.ts

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -977,7 +977,13 @@ export class TableRestoreNotFoundFault extends __BaseException {
977977
}
978978
}
979979

980-
export type TableRestoreStatusType = "CANCELED" | "FAILED" | "IN_PROGRESS" | "PENDING" | "SUCCEEDED";
980+
export enum TableRestoreStatusType {
981+
CANCELED = "CANCELED",
982+
FAILED = "FAILED",
983+
IN_PROGRESS = "IN_PROGRESS",
984+
PENDING = "PENDING",
985+
SUCCEEDED = "SUCCEEDED",
986+
}
981987

982988
/**
983989
* <p>Describes the status of a <a>RestoreTableFromClusterSnapshot</a>
@@ -2988,7 +2994,8 @@ export interface RestoreFromClusterSnapshotMessage {
29882994
HsmConfigurationIdentifier?: string;
29892995

29902996
/**
2991-
* <p>The elastic IP (EIP) address for the cluster.</p>
2997+
* <p>The Elastic IP (EIP) address for the cluster. Don't specify the Elastic IP address for a publicly
2998+
* accessible cluster with availability zone relocation turned on.</p>
29922999
*/
29933000
ElasticIp?: string;
29943001

0 commit comments

Comments
 (0)