Skip to content

Commit df0d268

Browse files
Include Global Cluster Identifier in DBCluster if the DBCluster is a Global Cluster Member.
1 parent dca911b commit df0d268

File tree

17 files changed

+143
-29
lines changed

17 files changed

+143
-29
lines changed

generator/ServiceModels/rds/rds-2014-10-31.api.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4182,6 +4182,7 @@
41824182
"CrossAccountClone":{"shape":"BooleanOptional"},
41834183
"DomainMemberships":{"shape":"DomainMembershipList"},
41844184
"TagList":{"shape":"TagList"},
4185+
"GlobalClusterIdentifier":{"shape":"GlobalClusterIdentifier"},
41854186
"GlobalWriteForwardingStatus":{"shape":"WriteForwardingStatus"},
41864187
"GlobalWriteForwardingRequested":{"shape":"BooleanOptional"},
41874188
"PendingModifiedValues":{"shape":"ClusterPendingModifiedValues"},

generator/ServiceModels/rds/rds-2014-10-31.docs.json

Lines changed: 7 additions & 6 deletions
Large diffs are not rendered by default.

generator/ServiceModels/rds/rds-2014-10-31.normal.json

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1812,7 +1812,7 @@
18121812
{"shape":"DBInstanceNotReadyFault"},
18131813
{"shape":"DBLogFileNotFoundFault"}
18141814
],
1815-
"documentation":"<p>Downloads all or a portion of the specified log file, up to 1 MB in size.</p> <p>This command doesn't apply to RDS Custom.</p>"
1815+
"documentation":"<p>Downloads all or a portion of the specified log file, up to 1 MB in size.</p> <p>This command doesn't apply to RDS Custom.</p> <note> <p>This operation uses resources on database instances. Because of this, we recommend publishing database logs to CloudWatch and then using the GetLogEvents operation. For more information, see <a href=\"https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_GetLogEvents.html\">GetLogEvents</a> in the <i>Amazon CloudWatch Logs API Reference</i>.</p> </note>"
18161816
},
18171817
"EnableHttpEndpoint":{
18181818
"name":"EnableHttpEndpoint",
@@ -3750,15 +3750,15 @@
37503750
},
37513751
"ConnectionBorrowTimeout":{
37523752
"shape":"IntegerOptional",
3753-
"documentation":"<p>The number of seconds for a proxy to wait for a connection to become available in the connection pool. This setting only applies when the proxy has opened its maximum number of connections and all connections are busy with client sessions.</p> <p>Default: <code>120</code> </p> <p>Constraints:</p> <ul> <li> <p>Must be between 0 and 3600.</p> </li> </ul>"
3753+
"documentation":"<p>The number of seconds for a proxy to wait for a connection to become available in the connection pool. This setting only applies when the proxy has opened its maximum number of connections and all connections are busy with client sessions.</p> <p>Default: <code>120</code> </p> <p>Constraints:</p> <ul> <li> <p>Must be between 0 and 300.</p> </li> </ul>"
37543754
},
37553755
"SessionPinningFilters":{
37563756
"shape":"StringList",
37573757
"documentation":"<p>Each item in the list represents a class of SQL operations that normally cause all later statements in a session using a proxy to be pinned to the same underlying database connection. Including an item in the list exempts that class of SQL operations from the pinning behavior.</p> <p>Default: no session pinning filters</p>"
37583758
},
37593759
"InitQuery":{
37603760
"shape":"String",
3761-
"documentation":"<p>Add an initialization query, or modify the current one. You can specify one or more SQL statements for the proxy to run when opening each new database connection. The setting is typically used with <code>SET</code> statements to make sure that each connection has identical settings. Make sure that the query you add is valid. To include multiple variables in a single <code>SET</code> statement, use comma separators.</p> <p>For example: <code>SET variable1=value1, variable2=value2</code> </p> <p>For multiple statements, use semicolons as the separator.</p> <p>Default: no initialization query</p>"
3761+
"documentation":"<p>Add an initialization query, or modify the current one. You can specify one or more SQL statements for the proxy to run when opening each new database connection. The setting is typically used with <code>SET</code> statements to make sure that each connection has identical settings. Make sure the query added here is valid. This is an optional field, so you can choose to leave it empty. For including multiple variables in a single SET statement, use a comma separator.</p> <p>For example: <code>SET variable1=value1, variable2=value2</code> </p> <p>Default: no initialization query</p>"
37623762
}
37633763
},
37643764
"documentation":"<p>Specifies the settings that control the size and behavior of the connection pool associated with a <code>DBProxyTargetGroup</code>.</p>"
@@ -3784,7 +3784,7 @@
37843784
},
37853785
"InitQuery":{
37863786
"shape":"String",
3787-
"documentation":"<p>One or more SQL statements for the proxy to run when opening each new database connection. Typically used with <code>SET</code> statements to make sure that each connection has identical settings such as time zone and character set. This setting is empty by default. For multiple statements, use semicolons as the separator. You can also include multiple variables in a single <code>SET</code> statement, such as <code>SET x=1, y=2</code>.</p>"
3787+
"documentation":"<p>One or more SQL statements for the proxy to run when opening each new database connection. The setting is typically used with <code>SET</code> statements to make sure that each connection has identical settings. The query added here must be valid. For including multiple variables in a single SET statement, use a comma separator. This is an optional field.</p> <p>For example: <code>SET variable1=value1, variable2=value2</code> </p>"
37883788
}
37893789
},
37903790
"documentation":"<p>Displays the settings that control the size and behavior of the connection pool associated with a <code>DBProxyTarget</code>.</p>"
@@ -5084,7 +5084,7 @@
50845084
},
50855085
"ComputeRedundancy":{
50865086
"shape":"IntegerOptional",
5087-
"documentation":"<p>Specifies whether to create standby DB shard groups for the DB shard group. Valid values are the following:</p> <ul> <li> <p>0 - Creates a DB shard group without a standby DB shard group. This is the default value.</p> </li> <li> <p>1 - Creates a DB shard group with a standby DB shard group in a different Availability Zone (AZ).</p> </li> <li> <p>2 - Creates a DB shard group with two standby DB shard groups in two different AZs.</p> </li> </ul>"
5087+
"documentation":"<p>Specifies whether to create standby standby DB data access shard for the DB shard group. Valid values are the following:</p> <ul> <li> <p>0 - Creates a DB shard group without a standby DB data access shard. This is the default value.</p> </li> <li> <p>1 - Creates a DB shard group with a standby DB data access shard in a different Availability Zone (AZ).</p> </li> <li> <p>2 - Creates a DB shard group with two standby DB data access shard in two different AZs.</p> </li> </ul>"
50885088
},
50895089
"MaxACU":{
50905090
"shape":"DoubleOptional",
@@ -5678,6 +5678,10 @@
56785678
"documentation":"<p>The Active Directory Domain membership records associated with the DB cluster.</p>"
56795679
},
56805680
"TagList":{"shape":"TagList"},
5681+
"GlobalClusterIdentifier":{
5682+
"shape":"GlobalClusterIdentifier",
5683+
"documentation":"<p>Contains a user-supplied global database cluster identifier. This identifier is the unique key that identifies a global database cluster.</p>"
5684+
},
56815685
"GlobalWriteForwardingStatus":{
56825686
"shape":"WriteForwardingStatus",
56835687
"documentation":"<p>The status of write forwarding for a secondary cluster in an Aurora global database.</p>"
@@ -8579,7 +8583,7 @@
85798583
},
85808584
"Subnets":{
85818585
"shape":"SubnetList",
8582-
"documentation":"<p>Contains a list of <code>Subnet</code> elements.</p>"
8586+
"documentation":"<p>Contains a list of <code>Subnet</code> elements. The list of subnets shown here might not reflect the current state of your VPC. For the most up-to-date information, we recommend checking your VPC configuration directly.</p>"
85838587
},
85848588
"DBSubnetGroupArn":{
85858589
"shape":"String",

sdk/code-analysis/ServiceAnalysis/RDS/Generated/PropertyValueRules.xml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -545,6 +545,12 @@
545545
<max>2048</max>
546546
<pattern>^arn:[A-Za-z][0-9A-Za-z-:._]*</pattern>
547547
</property-value-rule>
548+
<property-value-rule>
549+
<property>Amazon.RDS.Model.DBCluster.GlobalClusterIdentifier</property>
550+
<min>1</min>
551+
<max>255</max>
552+
<pattern>[A-Za-z][0-9A-Za-z-:._]*</pattern>
553+
</property-value-rule>
548554
<property-value-rule>
549555
<property>Amazon.RDS.Model.SwitchoverDetail.SourceMember</property>
550556
<min>1</min>

sdk/src/Services/RDS/Generated/Model/ConnectionPoolConfiguration.cs

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ public partial class ConnectionPoolConfiguration
5858
/// </para>
5959
/// <ul> <li>
6060
/// <para>
61-
/// Must be between 0 and 3600.
61+
/// Must be between 0 and 300.
6262
/// </para>
6363
/// </li> </ul>
6464
/// </summary>
@@ -80,19 +80,16 @@ internal bool IsSetConnectionBorrowTimeout()
8080
/// Add an initialization query, or modify the current one. You can specify one or more
8181
/// SQL statements for the proxy to run when opening each new database connection. The
8282
/// setting is typically used with <c>SET</c> statements to make sure that each connection
83-
/// has identical settings. Make sure that the query you add is valid. To include multiple
84-
/// variables in a single <c>SET</c> statement, use comma separators.
83+
/// has identical settings. Make sure the query added here is valid. This is an optional
84+
/// field, so you can choose to leave it empty. For including multiple variables in a
85+
/// single SET statement, use a comma separator.
8586
/// </para>
8687
///
8788
/// <para>
8889
/// For example: <c>SET variable1=value1, variable2=value2</c>
8990
/// </para>
9091
///
9192
/// <para>
92-
/// For multiple statements, use semicolons as the separator.
93-
/// </para>
94-
///
95-
/// <para>
9693
/// Default: no initialization query
9794
/// </para>
9895
/// </summary>

sdk/src/Services/RDS/Generated/Model/ConnectionPoolConfigurationInfo.cs

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -65,10 +65,13 @@ internal bool IsSetConnectionBorrowTimeout()
6565
/// Gets and sets the property InitQuery.
6666
/// <para>
6767
/// One or more SQL statements for the proxy to run when opening each new database connection.
68-
/// Typically used with <c>SET</c> statements to make sure that each connection has identical
69-
/// settings such as time zone and character set. This setting is empty by default. For
70-
/// multiple statements, use semicolons as the separator. You can also include multiple
71-
/// variables in a single <c>SET</c> statement, such as <c>SET x=1, y=2</c>.
68+
/// The setting is typically used with <c>SET</c> statements to make sure that each connection
69+
/// has identical settings. The query added here must be valid. For including multiple
70+
/// variables in a single SET statement, use a comma separator. This is an optional field.
71+
/// </para>
72+
///
73+
/// <para>
74+
/// For example: <c>SET variable1=value1, variable2=value2</c>
7275
/// </para>
7376
/// </summary>
7477
public string InitQuery

sdk/src/Services/RDS/Generated/Model/CreateDBShardGroupRequest.cs

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -52,22 +52,23 @@ public partial class CreateDBShardGroupRequest : AmazonRDSRequest
5252
/// <summary>
5353
/// Gets and sets the property ComputeRedundancy.
5454
/// <para>
55-
/// Specifies whether to create standby DB shard groups for the DB shard group. Valid
56-
/// values are the following:
55+
/// Specifies whether to create standby standby DB data access shard for the DB shard
56+
/// group. Valid values are the following:
5757
/// </para>
5858
/// <ul> <li>
5959
/// <para>
60-
/// 0 - Creates a DB shard group without a standby DB shard group. This is the default
60+
/// 0 - Creates a DB shard group without a standby DB data access shard. This is the default
6161
/// value.
6262
/// </para>
6363
/// </li> <li>
6464
/// <para>
65-
/// 1 - Creates a DB shard group with a standby DB shard group in a different Availability
65+
/// 1 - Creates a DB shard group with a standby DB data access shard in a different Availability
6666
/// Zone (AZ).
6767
/// </para>
6868
/// </li> <li>
6969
/// <para>
70-
/// 2 - Creates a DB shard group with two standby DB shard groups in two different AZs.
70+
/// 2 - Creates a DB shard group with two standby DB data access shard in two different
71+
/// AZs.
7172
/// </para>
7273
/// </li> </ul>
7374
/// </summary>

sdk/src/Services/RDS/Generated/Model/DBCluster.cs

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,7 @@ public partial class DBCluster
104104
private string _engineLifecycleSupport;
105105
private string _engineMode;
106106
private string _engineVersion;
107+
private string _globalClusterIdentifier;
107108
private bool? _globalWriteForwardingRequested;
108109
private WriteForwardingStatus _globalWriteForwardingStatus;
109110
private string _hostedZoneId;
@@ -985,6 +986,26 @@ internal bool IsSetEngineVersion()
985986
return this._engineVersion != null;
986987
}
987988

989+
/// <summary>
990+
/// Gets and sets the property GlobalClusterIdentifier.
991+
/// <para>
992+
/// Contains a user-supplied global database cluster identifier. This identifier is the
993+
/// unique key that identifies a global database cluster.
994+
/// </para>
995+
/// </summary>
996+
[AWSProperty(Min=1, Max=255)]
997+
public string GlobalClusterIdentifier
998+
{
999+
get { return this._globalClusterIdentifier; }
1000+
set { this._globalClusterIdentifier = value; }
1001+
}
1002+
1003+
// Check to see if GlobalClusterIdentifier property is set
1004+
internal bool IsSetGlobalClusterIdentifier()
1005+
{
1006+
return this._globalClusterIdentifier != null;
1007+
}
1008+
9881009
/// <summary>
9891010
/// Gets and sets the property GlobalWriteForwardingRequested.
9901011
/// <para>

sdk/src/Services/RDS/Generated/Model/DBSubnetGroup.cs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,9 @@ internal bool IsSetSubnetGroupStatus()
123123
/// <summary>
124124
/// Gets and sets the property Subnets.
125125
/// <para>
126-
/// Contains a list of <c>Subnet</c> elements.
126+
/// Contains a list of <c>Subnet</c> elements. The list of subnets shown here might not
127+
/// reflect the current state of your VPC. For the most up-to-date information, we recommend
128+
/// checking your VPC configuration directly.
127129
/// </para>
128130
/// </summary>
129131
public List<Subnet> Subnets

sdk/src/Services/RDS/Generated/Model/DownloadDBLogFilePortionRequest.cs

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,14 @@ namespace Amazon.RDS.Model
3737
/// <para>
3838
/// This command doesn't apply to RDS Custom.
3939
/// </para>
40+
/// <note>
41+
/// <para>
42+
/// This operation uses resources on database instances. Because of this, we recommend
43+
/// publishing database logs to CloudWatch and then using the GetLogEvents operation.
44+
/// For more information, see <a href="https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_GetLogEvents.html">GetLogEvents</a>
45+
/// in the <i>Amazon CloudWatch Logs API Reference</i>.
46+
/// </para>
47+
/// </note>
4048
/// </summary>
4149
public partial class DownloadDBLogFilePortionRequest : AmazonRDSRequest
4250
{

0 commit comments

Comments
 (0)