Skip to content

Commit 409f180

Browse files
AWS Appstream support for IPv6
1 parent b0c684d commit 409f180

File tree

5 files changed

+38
-1
lines changed

5 files changed

+38
-1
lines changed

generator/ServiceModels/appstream/appstream-2016-12-01.api.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3172,6 +3172,7 @@
31723172
"type":"structure",
31733173
"members":{
31743174
"EniPrivateIpAddress":{"shape":"String"},
3175+
"EniIpv6Addresses":{"shape":"StringList"},
31753176
"EniId":{"shape":"String"}
31763177
}
31773178
},

generator/ServiceModels/appstream/appstream-2016-12-01.docs.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2047,7 +2047,8 @@
20472047
"DisassociateSoftwareFromImageBuilderRequest$SoftwareNames": "<p>The list of license included applications to disassociate from the image builder.</p> <p>Possible values include the following:</p> <ul> <li> <p>Microsoft_Office_2021_LTSC_Professional_Plus_32Bit</p> </li> <li> <p>Microsoft_Office_2021_LTSC_Professional_Plus_64Bit</p> </li> <li> <p>Microsoft_Office_2024_LTSC_Professional_Plus_32Bit</p> </li> <li> <p>Microsoft_Office_2024_LTSC_Professional_Plus_64Bit</p> </li> <li> <p>Microsoft_Visio_2021_LTSC_Professional_32Bit</p> </li> <li> <p>Microsoft_Visio_2021_LTSC_Professional_64Bit</p> </li> <li> <p>Microsoft_Visio_2024_LTSC_Professional_32Bit</p> </li> <li> <p>Microsoft_Visio_2024_LTSC_Professional_64Bit</p> </li> <li> <p>Microsoft_Project_2021_Professional_32Bit</p> </li> <li> <p>Microsoft_Project_2021_Professional_64Bit</p> </li> <li> <p>Microsoft_Project_2024_Professional_32Bit</p> </li> <li> <p>Microsoft_Project_2024_Professional_64Bit</p> </li> <li> <p>Microsoft_Office_2021_LTSC_Standard_32Bit</p> </li> <li> <p>Microsoft_Office_2021_LTSC_Standard_64Bit</p> </li> <li> <p>Microsoft_Office_2024_LTSC_Standard_32Bit</p> </li> <li> <p>Microsoft_Office_2024_LTSC_Standard_64Bit</p> </li> <li> <p>Microsoft_Visio_2021_LTSC_Standard_32Bit</p> </li> <li> <p>Microsoft_Visio_2021_LTSC_Standard_64Bit</p> </li> <li> <p>Microsoft_Visio_2024_LTSC_Standard_32Bit</p> </li> <li> <p>Microsoft_Visio_2024_LTSC_Standard_64Bit</p> </li> <li> <p>Microsoft_Project_2021_Standard_32Bit</p> </li> <li> <p>Microsoft_Project_2021_Standard_64Bit</p> </li> <li> <p>Microsoft_Project_2024_Standard_32Bit</p> </li> <li> <p>Microsoft_Project_2024_Standard_64Bit</p> </li> </ul>",
20482048
"Image$SupportedInstanceFamilies": "<p>The supported instances families that determine which image a customer can use when the customer launches a fleet or image builder. The following instances families are supported:</p> <ul> <li> <p>General Purpose</p> </li> <li> <p>Compute Optimized</p> </li> <li> <p>Memory Optimized</p> </li> <li> <p>Graphics</p> </li> <li> <p>Graphics Design</p> </li> <li> <p>Graphics Pro</p> </li> <li> <p>Graphics G4</p> </li> <li> <p>Graphics G5</p> </li> </ul>",
20492049
"ListAssociatedFleetsResult$Names": "<p>The name of the fleet.</p>",
2050-
"ListAssociatedStacksResult$Names": "<p>The name of the stack.</p>"
2050+
"ListAssociatedStacksResult$Names": "<p>The name of the stack.</p>",
2051+
"NetworkAccessConfiguration$EniIpv6Addresses": "<p>The IPv6 addresses of the elastic network interface that is attached to instances in your VPC.</p>"
20512052
}
20522053
},
20532054
"SubnetIdList": {

generator/ServiceModels/appstream/appstream-2016-12-01.normal.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4712,6 +4712,10 @@
47124712
"shape":"String",
47134713
"documentation":"<p>The private IP address of the elastic network interface that is attached to instances in your VPC.</p>"
47144714
},
4715+
"EniIpv6Addresses":{
4716+
"shape":"StringList",
4717+
"documentation":"<p>The IPv6 addresses of the elastic network interface that is attached to instances in your VPC.</p>"
4718+
},
47154719
"EniId":{
47164720
"shape":"String",
47174721
"documentation":"<p>The resource identifier of the elastic network interface that is attached to instances in your VPC. All network interfaces have the eni-xxxxxxxx resource identifier.</p>"

sdk/src/Services/AppStream/Generated/Model/Internal/MarshallTransformations/NetworkAccessConfigurationUnmarshaller.cs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,12 @@ public NetworkAccessConfiguration Unmarshall(JsonUnmarshallerContext context, re
6262
unmarshalledObject.EniId = unmarshaller.Unmarshall(context, ref reader);
6363
continue;
6464
}
65+
if (context.TestExpression("EniIpv6Addresses", targetDepth))
66+
{
67+
var unmarshaller = new JsonListUnmarshaller<string, StringUnmarshaller>(StringUnmarshaller.Instance);
68+
unmarshalledObject.EniIpv6Addresses = unmarshaller.Unmarshall(context, ref reader);
69+
continue;
70+
}
6571
if (context.TestExpression("EniPrivateIpAddress", targetDepth))
6672
{
6773
var unmarshaller = StringUnmarshaller.Instance;

sdk/src/Services/AppStream/Generated/Model/NetworkAccessConfiguration.cs

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ namespace Amazon.AppStream.Model
3535
public partial class NetworkAccessConfiguration
3636
{
3737
private string _eniId;
38+
private List<string> _eniIpv6Addresses = AWSConfigs.InitializeCollections ? new List<string>() : null;
3839
private string _eniPrivateIpAddress;
3940

4041
/// <summary>
@@ -57,6 +58,30 @@ internal bool IsSetEniId()
5758
return this._eniId != null;
5859
}
5960

61+
/// <summary>
62+
/// Gets and sets the property EniIpv6Addresses.
63+
/// <para>
64+
/// The IPv6 addresses of the elastic network interface that is attached to instances
65+
/// in your VPC.
66+
/// </para>
67+
/// <para />
68+
/// Starting with version 4 of the SDK this property will default to null. If no data for this property is returned
69+
/// from the service the property will also be null. This was changed to improve performance and allow the SDK and caller
70+
/// to distinguish between a property not set or a property being empty to clear out a value. To retain the previous
71+
/// SDK behavior set the AWSConfigs.InitializeCollections static property to true.
72+
/// </summary>
73+
public List<string> EniIpv6Addresses
74+
{
75+
get { return this._eniIpv6Addresses; }
76+
set { this._eniIpv6Addresses = value; }
77+
}
78+
79+
// Check to see if EniIpv6Addresses property is set
80+
internal bool IsSetEniIpv6Addresses()
81+
{
82+
return this._eniIpv6Addresses != null && (this._eniIpv6Addresses.Count > 0 || !AWSConfigs.InitializeCollections);
83+
}
84+
6085
/// <summary>
6186
/// Gets and sets the property EniPrivateIpAddress.
6287
/// <para>

0 commit comments

Comments
 (0)