Skip to content

Commit f4082ee

Browse files
Removed the deprecated marker from publiclyAccessible parameter from DbInstance, CreateDbInstance and ModifyDbInstance and added relevant usage information for the parameter.
1 parent 7103a16 commit f4082ee

File tree

6 files changed

+54
-27
lines changed

6 files changed

+54
-27
lines changed

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

Lines changed: 3 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1561,10 +1561,7 @@
15611561
"Iops":{"shape":"IntegerOptional"},
15621562
"OptionGroupName":{"shape":"String"},
15631563
"CharacterSetName":{"shape":"String"},
1564-
"PubliclyAccessible":{
1565-
"shape":"BooleanOptional",
1566-
"deprecated":true
1567-
},
1564+
"PubliclyAccessible":{"shape":"BooleanOptional"},
15681565
"Tags":{"shape":"TagList"},
15691566
"DBClusterIdentifier":{"shape":"String"},
15701567
"StorageType":{"shape":"String"},
@@ -2097,10 +2094,7 @@
20972094
"OptionGroupMemberships":{"shape":"OptionGroupMembershipList"},
20982095
"CharacterSetName":{"shape":"String"},
20992096
"SecondaryAvailabilityZone":{"shape":"String"},
2100-
"PubliclyAccessible":{
2101-
"shape":"Boolean",
2102-
"deprecated":true
2103-
},
2097+
"PubliclyAccessible":{"shape":"Boolean"},
21042098
"StatusInfos":{"shape":"DBInstanceStatusInfoList"},
21052099
"StorageType":{"shape":"String"},
21062100
"TdeCredentialArn":{"shape":"String"},
@@ -3365,10 +3359,7 @@
33653359
"CopyTagsToSnapshot":{"shape":"BooleanOptional"},
33663360
"MonitoringInterval":{"shape":"IntegerOptional"},
33673361
"DBPortNumber":{"shape":"IntegerOptional"},
3368-
"PubliclyAccessible":{
3369-
"shape":"BooleanOptional",
3370-
"deprecated":true
3371-
},
3362+
"PubliclyAccessible":{"shape":"BooleanOptional"},
33723363
"MonitoringRoleArn":{"shape":"String"},
33733364
"DomainIAMRoleName":{"shape":"String"},
33743365
"PromotionTier":{"shape":"IntegerOptional"},

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@
152152
"DBEngineVersion$SupportsGlobalDatabases": "<p>A value that indicates whether you can use Aurora global databases with a specific DB engine version.</p>",
153153
"DBInstance$MultiAZ": "<p>Specifies if the DB instance is a Multi-AZ deployment.</p>",
154154
"DBInstance$AutoMinorVersionUpgrade": "<p>Indicates that minor version patches are applied automatically.</p>",
155-
"DBInstance$PubliclyAccessible": "<p>This flag should no longer be used.</p>",
155+
"DBInstance$PubliclyAccessible": "<p>Indicates whether the DB instance is publicly accessible.</p> <p>When the DB instance is publicly accessible and you connect from outside of the DB instance's virtual private cloud (VPC), its Domain Name System (DNS) endpoint resolves to the public IP address. When you connect from within the same VPC as the DB instance, the endpoint resolves to the private IP address. Access to the DB instance is ultimately controlled by the security group it uses. That public access isn't permitted if the security group assigned to the DB cluster doesn't permit it.</p> <p>When the DB instance isn't publicly accessible, it is an internal DB instance with a DNS name that resolves to a private IP address.</p>",
156156
"DBInstance$StorageEncrypted": "<p>Not supported: The encryption for DB instances is managed by the DB cluster.</p>",
157157
"DBInstance$CopyTagsToSnapshot": "<p>Specifies whether tags are copied from the DB instance to snapshots of the DB instance.</p>",
158158
"DBInstance$IAMDatabaseAuthenticationEnabled": "<p>True if Amazon Identity and Access Management (IAM) authentication is enabled, and otherwise false.</p>",
@@ -197,7 +197,7 @@
197197
"CreateDBClusterMessage$DeletionProtection": "<p>A value that indicates whether the DB cluster has deletion protection enabled. The database can't be deleted when deletion protection is enabled. By default, deletion protection is enabled.</p>",
198198
"CreateDBInstanceMessage$MultiAZ": "<p>Specifies if the DB instance is a Multi-AZ deployment. You can't set the AvailabilityZone parameter if the MultiAZ parameter is set to true.</p>",
199199
"CreateDBInstanceMessage$AutoMinorVersionUpgrade": "<p>Indicates that minor engine upgrades are applied automatically to the DB instance during the maintenance window.</p> <p>Default: <code>true</code> </p>",
200-
"CreateDBInstanceMessage$PubliclyAccessible": "<p>This flag should no longer be used.</p>",
200+
"CreateDBInstanceMessage$PubliclyAccessible": "<p>Indicates whether the DB instance is publicly accessible.</p> <p>When the DB instance is publicly accessible and you connect from outside of the DB instance's virtual private cloud (VPC), its Domain Name System (DNS) endpoint resolves to the public IP address. When you connect from within the same VPC as the DB instance, the endpoint resolves to the private IP address. Access to the DB instance is ultimately controlled by the security group it uses. That public access isn't permitted if the security group assigned to the DB cluster doesn't permit it.</p> <p>When the DB instance isn't publicly accessible, it is an internal DB instance with a DNS name that resolves to a private IP address.</p>",
201201
"CreateDBInstanceMessage$StorageEncrypted": "<p>Specifies whether the DB instance is encrypted.</p> <p>Not applicable. The encryption for DB instances is managed by the DB cluster. For more information, see <a>CreateDBCluster</a>.</p> <p>Default: false</p>",
202202
"CreateDBInstanceMessage$CopyTagsToSnapshot": "<p>True to copy all tags from the DB instance to snapshots of the DB instance, and otherwise false. The default is false.</p>",
203203
"CreateDBInstanceMessage$EnableIAMDatabaseAuthentication": "<p>Not supported by Neptune (ignored).</p>",
@@ -224,7 +224,7 @@
224224
"ModifyDBInstanceMessage$MultiAZ": "<p>Specifies if the DB instance is a Multi-AZ deployment. Changing this parameter doesn't result in an outage and the change is applied during the next maintenance window unless the <code>ApplyImmediately</code> parameter is set to <code>true</code> for this request.</p>",
225225
"ModifyDBInstanceMessage$AutoMinorVersionUpgrade": "<p> Indicates that minor version upgrades are applied automatically to the DB instance during the maintenance window. Changing this parameter doesn't result in an outage except in the following case and the change is asynchronously applied as soon as possible. An outage will result if this parameter is set to <code>true</code> during the maintenance window, and a newer minor version is available, and Neptune has enabled auto patching for that engine version.</p>",
226226
"ModifyDBInstanceMessage$CopyTagsToSnapshot": "<p>True to copy all tags from the DB instance to snapshots of the DB instance, and otherwise false. The default is false.</p>",
227-
"ModifyDBInstanceMessage$PubliclyAccessible": "<p>This flag should no longer be used.</p>",
227+
"ModifyDBInstanceMessage$PubliclyAccessible": "<p>Indicates whether the DB instance is publicly accessible.</p> <p>When the DB instance is publicly accessible and you connect from outside of the DB instance's virtual private cloud (VPC), its Domain Name System (DNS) endpoint resolves to the public IP address. When you connect from within the same VPC as the DB instance, the endpoint resolves to the private IP address. Access to the DB instance is ultimately controlled by the security group it uses. That public access isn't permitted if the security group assigned to the DB cluster doesn't permit it.</p> <p>When the DB instance isn't publicly accessible, it is an internal DB instance with a DNS name that resolves to a private IP address.</p>",
228228
"ModifyDBInstanceMessage$EnableIAMDatabaseAuthentication": "<p>True to enable mapping of Amazon Identity and Access Management (IAM) accounts to database accounts, and otherwise false.</p> <p>You can enable IAM database authentication for the following database engines</p> <p>Not applicable. Mapping Amazon IAM accounts to database accounts is managed by the DB cluster. For more information, see <a>ModifyDBCluster</a>.</p> <p>Default: <code>false</code> </p>",
229229
"ModifyDBInstanceMessage$EnablePerformanceInsights": "<p> <i>(Not supported by Neptune)</i> </p>",
230230
"ModifyDBInstanceMessage$DeletionProtection": "<p>A value that indicates whether the DB instance has deletion protection enabled. The database can't be deleted when deletion protection is enabled. By default, deletion protection is disabled. See <a href=\"https://docs.aws.amazon.com/neptune/latest/userguide/manage-console-instances-delete.html\">Deleting a DB Instance</a>.</p>",

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

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1973,8 +1973,7 @@
19731973
},
19741974
"PubliclyAccessible":{
19751975
"shape":"BooleanOptional",
1976-
"documentation":"<p>This flag should no longer be used.</p>",
1977-
"deprecated":true
1976+
"documentation":"<p>Indicates whether the DB instance is publicly accessible.</p> <p>When the DB instance is publicly accessible and you connect from outside of the DB instance's virtual private cloud (VPC), its Domain Name System (DNS) endpoint resolves to the public IP address. When you connect from within the same VPC as the DB instance, the endpoint resolves to the private IP address. Access to the DB instance is ultimately controlled by the security group it uses. That public access isn't permitted if the security group assigned to the DB cluster doesn't permit it.</p> <p>When the DB instance isn't publicly accessible, it is an internal DB instance with a DNS name that resolves to a private IP address.</p>"
19781977
},
19791978
"Tags":{
19801979
"shape":"TagList",
@@ -3099,8 +3098,7 @@
30993098
},
31003099
"PubliclyAccessible":{
31013100
"shape":"Boolean",
3102-
"documentation":"<p>This flag should no longer be used.</p>",
3103-
"deprecated":true
3101+
"documentation":"<p>Indicates whether the DB instance is publicly accessible.</p> <p>When the DB instance is publicly accessible and you connect from outside of the DB instance's virtual private cloud (VPC), its Domain Name System (DNS) endpoint resolves to the public IP address. When you connect from within the same VPC as the DB instance, the endpoint resolves to the private IP address. Access to the DB instance is ultimately controlled by the security group it uses. That public access isn't permitted if the security group assigned to the DB cluster doesn't permit it.</p> <p>When the DB instance isn't publicly accessible, it is an internal DB instance with a DNS name that resolves to a private IP address.</p>"
31043102
},
31053103
"StatusInfos":{
31063104
"shape":"DBInstanceStatusInfoList",
@@ -5313,8 +5311,7 @@
53135311
},
53145312
"PubliclyAccessible":{
53155313
"shape":"BooleanOptional",
5316-
"documentation":"<p>This flag should no longer be used.</p>",
5317-
"deprecated":true
5314+
"documentation":"<p>Indicates whether the DB instance is publicly accessible.</p> <p>When the DB instance is publicly accessible and you connect from outside of the DB instance's virtual private cloud (VPC), its Domain Name System (DNS) endpoint resolves to the public IP address. When you connect from within the same VPC as the DB instance, the endpoint resolves to the private IP address. Access to the DB instance is ultimately controlled by the security group it uses. That public access isn't permitted if the security group assigned to the DB cluster doesn't permit it.</p> <p>When the DB instance isn't publicly accessible, it is an internal DB instance with a DNS name that resolves to a private IP address.</p>"
53185315
},
53195316
"MonitoringRoleArn":{
53205317
"shape":"String",

sdk/src/Services/Neptune/Generated/Model/CreateDBInstanceRequest.cs

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -914,10 +914,23 @@ internal bool IsSetPromotionTier()
914914
/// <summary>
915915
/// Gets and sets the property PubliclyAccessible.
916916
/// <para>
917-
/// This flag should no longer be used.
917+
/// Indicates whether the DB instance is publicly accessible.
918+
/// </para>
919+
///
920+
/// <para>
921+
/// When the DB instance is publicly accessible and you connect from outside of the DB
922+
/// instance's virtual private cloud (VPC), its Domain Name System (DNS) endpoint resolves
923+
/// to the public IP address. When you connect from within the same VPC as the DB instance,
924+
/// the endpoint resolves to the private IP address. Access to the DB instance is ultimately
925+
/// controlled by the security group it uses. That public access isn't permitted if the
926+
/// security group assigned to the DB cluster doesn't permit it.
927+
/// </para>
928+
///
929+
/// <para>
930+
/// When the DB instance isn't publicly accessible, it is an internal DB instance with
931+
/// a DNS name that resolves to a private IP address.
918932
/// </para>
919933
/// </summary>
920-
[Obsolete("This parameter is not supported")]
921934
public bool PubliclyAccessible
922935
{
923936
get { return this._publiclyAccessible.GetValueOrDefault(); }

sdk/src/Services/Neptune/Generated/Model/DBInstance.cs

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -869,10 +869,23 @@ internal bool IsSetPromotionTier()
869869
/// <summary>
870870
/// Gets and sets the property PubliclyAccessible.
871871
/// <para>
872-
/// This flag should no longer be used.
872+
/// Indicates whether the DB instance is publicly accessible.
873+
/// </para>
874+
///
875+
/// <para>
876+
/// When the DB instance is publicly accessible and you connect from outside of the DB
877+
/// instance's virtual private cloud (VPC), its Domain Name System (DNS) endpoint resolves
878+
/// to the public IP address. When you connect from within the same VPC as the DB instance,
879+
/// the endpoint resolves to the private IP address. Access to the DB instance is ultimately
880+
/// controlled by the security group it uses. That public access isn't permitted if the
881+
/// security group assigned to the DB cluster doesn't permit it.
882+
/// </para>
883+
///
884+
/// <para>
885+
/// When the DB instance isn't publicly accessible, it is an internal DB instance with
886+
/// a DNS name that resolves to a private IP address.
873887
/// </para>
874888
/// </summary>
875-
[Obsolete("This parameter is not supported")]
876889
public bool PubliclyAccessible
877890
{
878891
get { return this._publiclyAccessible.GetValueOrDefault(); }

sdk/src/Services/Neptune/Generated/Model/ModifyDBInstanceRequest.cs

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -883,10 +883,23 @@ internal bool IsSetPromotionTier()
883883
/// <summary>
884884
/// Gets and sets the property PubliclyAccessible.
885885
/// <para>
886-
/// This flag should no longer be used.
886+
/// Indicates whether the DB instance is publicly accessible.
887+
/// </para>
888+
///
889+
/// <para>
890+
/// When the DB instance is publicly accessible and you connect from outside of the DB
891+
/// instance's virtual private cloud (VPC), its Domain Name System (DNS) endpoint resolves
892+
/// to the public IP address. When you connect from within the same VPC as the DB instance,
893+
/// the endpoint resolves to the private IP address. Access to the DB instance is ultimately
894+
/// controlled by the security group it uses. That public access isn't permitted if the
895+
/// security group assigned to the DB cluster doesn't permit it.
896+
/// </para>
897+
///
898+
/// <para>
899+
/// When the DB instance isn't publicly accessible, it is an internal DB instance with
900+
/// a DNS name that resolves to a private IP address.
887901
/// </para>
888902
/// </summary>
889-
[Obsolete("This parameter is not supported")]
890903
public bool PubliclyAccessible
891904
{
892905
get { return this._publiclyAccessible.GetValueOrDefault(); }

0 commit comments

Comments
 (0)