Skip to content

Commit 79c32af

Browse files
author
AWS
committed
AWS Storage Gateway Update: This release adds IPv6 support to the Storage Gateway APIs. APIs that previously only accept or return IPv4 address will now accept or return both IPv4 and IPv6 addresses.
1 parent bd60317 commit 79c32af

File tree

2 files changed

+23
-20
lines changed

2 files changed

+23
-20
lines changed
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"type": "feature",
3+
"category": "AWS Storage Gateway",
4+
"contributor": "",
5+
"description": "This release adds IPv6 support to the Storage Gateway APIs. APIs that previously only accept or return IPv4 address will now accept or return both IPv4 and IPv6 addresses."
6+
}

services/storagegateway/src/main/resources/codegen-resources/service-2.json

Lines changed: 17 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1134,7 +1134,7 @@
11341134
{"shape":"InvalidGatewayRequestException"},
11351135
{"shape":"InternalServerError"}
11361136
],
1137-
"documentation":"<p>Starts generating a report of the file metadata currently cached by an S3 File Gateway for a specific file share. You can use this report to identify and resolve issues if you have files failing upload from your gateway to Amazon S3. The report is a CSV file containing a list of files which match the set of filter parameters you specify in the request.</p> <note> <p>The <b>Files Failing Upload</b> flag is reset every 24 hours and during gateway reboot. If this report captures the files after the reset, but before they become flagged again, they will not be reported as <b>Files Failing Upload</b>.</p> </note> <p>The following requirements must be met to successfully generate a cache report:</p> <ul> <li> <p>You must have permissions to list the entire Amazon S3 bucket associated with the specified file share.</p> </li> <li> <p>No other cache reports can currently be in-progress for the specified file share.</p> </li> <li> <p>There must be fewer than 10 existing cache reports for the specified file share.</p> </li> <li> <p>The gateway must be online and connected to Amazon Web Services.</p> </li> <li> <p>The root disk must have at least 20GB of free space when report generation starts.</p> </li> <li> <p>You must specify at least one value for <code>InclusionFilters</code> or <code>ExclusionFilters</code> in the request.</p> </li> </ul>"
1137+
"documentation":"<p>Starts generating a report of the file metadata currently cached by an S3 File Gateway for a specific file share. You can use this report to identify and resolve issues if you have files failing upload from your gateway to Amazon S3. The report is a CSV file containing a list of files which match the set of filter parameters you specify in the request.</p> <note> <p>The <b>Files Failing Upload</b> flag is reset every 24 hours and during gateway reboot. If this report captures the files after the reset, but before they become flagged again, they will not be reported as <b>Files Failing Upload</b>.</p> </note> <p>The following requirements must be met to successfully generate a cache report:</p> <ul> <li> <p>You must have <code>s3:PutObject</code> and <code>s3:AbortMultipartUpload</code> permissions for the Amazon S3 bucket where you want to store the cache report.</p> </li> <li> <p>No other cache reports can currently be in-progress for the specified file share.</p> </li> <li> <p>There must be fewer than 10 existing cache reports for the specified file share.</p> </li> <li> <p>The gateway must be online and connected to Amazon Web Services.</p> </li> <li> <p>The root disk must have at least 20GB of free space when report generation starts.</p> </li> <li> <p>You must specify at least one value for <code>InclusionFilters</code> or <code>ExclusionFilters</code> in the request.</p> </li> </ul>"
11381138
},
11391139
"StartGateway":{
11401140
"name":"StartGateway",
@@ -1624,7 +1624,7 @@
16241624
},
16251625
"NetworkInterfaceId":{
16261626
"shape":"NetworkInterfaceId",
1627-
"documentation":"<p>The network interface of the gateway on which to expose the iSCSI target. Only IPv4 addresses are accepted. Use <a>DescribeGatewayInformation</a> to get a list of the network interfaces available on a gateway.</p> <p>Valid Values: A valid IP address.</p>"
1627+
"documentation":"<p>The network interface of the gateway on which to expose the iSCSI target. Accepts IPv4 and IPv6 addresses. Use <a>DescribeGatewayInformation</a> to get a list of the network interfaces available on a gateway.</p> <p>Valid Values: A valid IP address.</p>"
16281628
},
16291629
"DiskId":{
16301630
"shape":"DiskId",
@@ -2112,7 +2112,7 @@
21122112
},
21132113
"NetworkInterfaceId":{
21142114
"shape":"NetworkInterfaceId",
2115-
"documentation":"<p>The network interface of the gateway on which to expose the iSCSI target. Only IPv4 addresses are accepted. Use <a>DescribeGatewayInformation</a> to get a list of the network interfaces available on a gateway.</p> <p>Valid Values: A valid IP address.</p>"
2115+
"documentation":"<p>The network interface of the gateway on which to expose the iSCSI target. Accepts IPv4 and IPv6 addresses. Use <a>DescribeGatewayInformation</a> to get a list of the network interfaces available on a gateway.</p> <p>Valid Values: A valid IP address.</p>"
21162116
},
21172117
"ClientToken":{
21182118
"shape":"ClientToken",
@@ -2198,7 +2198,7 @@
21982198
},
21992199
"ClientList":{
22002200
"shape":"FileShareClientList",
2201-
"documentation":"<p>The list of clients that are allowed to access the S3 File Gateway. The list must contain either valid IP addresses or valid CIDR blocks.</p>"
2201+
"documentation":"<p>The list of clients that are allowed to access the S3 File Gateway. The list must contain either valid IPv4/IPv6 addresses or valid CIDR blocks.</p>"
22022202
},
22032203
"Squash":{
22042204
"shape":"Squash",
@@ -2492,7 +2492,7 @@
24922492
},
24932493
"NetworkInterfaceId":{
24942494
"shape":"NetworkInterfaceId",
2495-
"documentation":"<p>The network interface of the gateway on which to expose the iSCSI target. Only IPv4 addresses are accepted. Use <a>DescribeGatewayInformation</a> to get a list of the network interfaces available on a gateway.</p> <p>Valid Values: A valid IP address.</p>"
2495+
"documentation":"<p>The network interface of the gateway on which to expose the iSCSI target. Accepts IPv4 and IPv6 addresses. Use <a>DescribeGatewayInformation</a> to get a list of the network interfaces available on a gateway.</p> <p>Valid Values: A valid IP address.</p>"
24962496
},
24972497
"KMSEncrypted":{
24982498
"shape":"Boolean",
@@ -3899,8 +3899,8 @@
38993899
},
39003900
"FileShareClientList":{
39013901
"type":"list",
3902-
"member":{"shape":"IPV4AddressCIDR"},
3903-
"documentation":"<p>The list of clients that are allowed to access the S3 File Gateway. The list must contain either valid IP addresses or valid CIDR blocks.</p>",
3902+
"member":{"shape":"Ipv4OrIpv6AddressCIDR"},
3903+
"documentation":"<p>The list of clients that are allowed to access the S3 File Gateway. The list must contain either valid IPv4/IPv6 addresses or valid CIDR blocks.</p>",
39043904
"max":100,
39053905
"min":1
39063906
},
@@ -4166,8 +4166,8 @@
41664166
"Host":{
41674167
"type":"string",
41684168
"max":1024,
4169-
"min":6,
4170-
"pattern":"^(([a-zA-Z0-9\\-]*[a-zA-Z0-9])\\.)*([A-Za-z0-9\\-]*[A-Za-z0-9])(:(\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-Fa-f]{1,4}){1,7}|:)|(?:[A-Fa-f0-9]{1,4}:){7}:|:(:[A-Fa-f0-9]{1,4}){7})$)"
41714171
},
41724172
"HostEnvironment":{
41734173
"type":"string",
@@ -4200,10 +4200,6 @@
42004200
"min":7,
42014201
"pattern":"^((25[0-5]|(2[0-4]|1[0-9]|[1-9]|)[0-9])(\\.(?!$)|$)){4}"
42024202
},
4203-
"IPV4AddressCIDR":{
4204-
"type":"string",
4205-
"pattern":"^(([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\\.){3}([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])(\\/([0-9]|[1-2][0-9]|3[0-2]))?$"
4206-
},
42074203
"Initiator":{
42084204
"type":"string",
42094205
"max":50,
@@ -4249,6 +4245,10 @@
42494245
"max":1,
42504246
"min":0
42514247
},
4248+
"Ipv4OrIpv6AddressCIDR":{
4249+
"type":"string",
4250+
"pattern":"^(?:(?:[0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\\.){3}(?:[0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])(?:\\/(?:[0-9]|[1-2][0-9]|3[0-2]))?$|^(?:(?:(?:[A-Fa-f0-9]{1,4}:){6}|(?=(?:[A-Fa-f0-9]{0,4}:){0,6}(?:[0-9]{1,3}\\.){3}[0-9]{1,3}(?![:.\\w]))(?:(?:[0-9A-Fa-f]{1,4}:){0,5}|:)(?:(?::[0-9A-Fa-f]{1,4}){1,5}:|:)|::(?:[A-Fa-f0-9]{1,4}:){5})(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9]?[0-9])\\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)|(?:[A-Fa-f0-9]{1,4}:){7}[A-Fa-f0-9]{1,4}|(?=(?:[A-Fa-f0-9]{0,4}:){0,7}[A-Fa-f0-9]{0,4}(?![:.\\w]))(?:(?:[0-9A-Fa-f]{1,4}:){1,7}|:)(?:(:[0-9A-Fa-f]{1,4}){1,7}|:)|(?:[A-Fa-f0-9]{1,4}:){7}:|:(:[A-Fa-f0-9]{1,4}){7})(?:\\/(?:12[0-8]|1[01][0-9]|[1-9]?[0-9]))?$"
4251+
},
42524252
"IqnName":{
42534253
"type":"string",
42544254
"max":255,
@@ -4278,7 +4278,7 @@
42784278
},
42794279
"DomainControllers":{
42804280
"shape":"Hosts",
4281-
"documentation":"<p>List of IPv4 addresses, NetBIOS names, or host names of your domain server. If you need to specify the port number include it after the colon (“:”). For example, <code>mydc.mydomain.com:389</code>.</p>"
4281+
"documentation":"<p>List of IP addresses, NetBIOS names, or host names of your domain server. If you need to specify the port number include it after the colon (“:”). For example, <code>mydc.mydomain.com:389</code>.</p> <note> <p>S3 File Gateway supports IPv6 addresses in addition to IPv4 and other existing formats.</p> <p>FSx File Gateway does not support IPv6.</p> </note>"
42824282
},
42834283
"TimeoutInSeconds":{
42844284
"shape":"TimeoutInSeconds",
@@ -4775,16 +4775,13 @@
47754775
},
47764776
"Ipv6Address":{
47774777
"shape":"string",
4778-
"documentation":"<p>The Internet Protocol version 6 (IPv6) address of the interface. <i>Currently not supported</i>.</p>"
4778+
"documentation":"<p>The Internet Protocol version 6 (IPv6) address of the interface.</p> <note> <p>This element returns IPv6 addresses for all gateway types except FSx File Gateway.</p> </note>"
47794779
}
47804780
},
47814781
"documentation":"<p>Describes a gateway's network interface.</p>",
47824782
"sensitive":true
47834783
},
4784-
"NetworkInterfaceId":{
4785-
"type":"string",
4786-
"pattern":"\\A(25[0-5]|2[0-4]\\d|[0-1]?\\d?\\d)(\\.(25[0-5]|2[0-4]\\d|[0-1]?\\d?\\d)){3}\\z"
4787-
},
4784+
"NetworkInterfaceId":{"type":"string"},
47884785
"NextUpdateAvailabilityDate":{
47894786
"type":"string",
47904787
"max":25,
@@ -6023,7 +6020,7 @@
60236020
},
60246021
"ClientList":{
60256022
"shape":"FileShareClientList",
6026-
"documentation":"<p>The list of clients that are allowed to access the S3 File Gateway. The list must contain either valid IP addresses or valid CIDR blocks.</p>"
6023+
"documentation":"<p>The list of clients that are allowed to access the S3 File Gateway. The list must contain either valid IPv4/IPv6 addresses or valid CIDR blocks.</p>"
60276024
},
60286025
"Squash":{
60296026
"shape":"Squash",

0 commit comments

Comments
 (0)