Skip to content

Commit e986bc5

Browse files
AWS Appstream support for IPv6
1 parent 391fc39 commit e986bc5

File tree

5 files changed

+33
-1
lines changed

5 files changed

+33
-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
@@ -72,6 +72,12 @@ public NetworkAccessConfiguration Unmarshall(JsonUnmarshallerContext context)
7272
unmarshalledObject.EniId = unmarshaller.Unmarshall(context);
7373
continue;
7474
}
75+
if (context.TestExpression("EniIpv6Addresses", targetDepth))
76+
{
77+
var unmarshaller = new ListUnmarshaller<string, StringUnmarshaller>(StringUnmarshaller.Instance);
78+
unmarshalledObject.EniIpv6Addresses = unmarshaller.Unmarshall(context);
79+
continue;
80+
}
7581
if (context.TestExpression("EniPrivateIpAddress", targetDepth))
7682
{
7783
var unmarshaller = StringUnmarshaller.Instance;

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

Lines changed: 20 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,25 @@ 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+
/// </summary>
68+
public List<string> EniIpv6Addresses
69+
{
70+
get { return this._eniIpv6Addresses; }
71+
set { this._eniIpv6Addresses = value; }
72+
}
73+
74+
// Check to see if EniIpv6Addresses property is set
75+
internal bool IsSetEniIpv6Addresses()
76+
{
77+
return this._eniIpv6Addresses != null && (this._eniIpv6Addresses.Count > 0 || !AWSConfigs.InitializeCollections);
78+
}
79+
6080
/// <summary>
6181
/// Gets and sets the property EniPrivateIpAddress.
6282
/// <para>

0 commit comments

Comments
 (0)