Skip to content

Commit 88f9043

Browse files
Added new ActiveDirectoryStatus value, ListCacheReports paginator, and support for longer pagination tokens.
1 parent 364d1bc commit 88f9043

36 files changed

+231
-65
lines changed

generator/ServiceModels/storagegateway/storagegateway-2013-06-30.api.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1305,7 +1305,8 @@
13051305
"JOINING",
13061306
"NETWORK_ERROR",
13071307
"TIMEOUT",
1308-
"UNKNOWN_ERROR"
1308+
"UNKNOWN_ERROR",
1309+
"INSUFFICIENT_PERMISSIONS"
13091310
]
13101311
},
13111312
"AddCacheInput":{
@@ -3239,7 +3240,7 @@
32393240
},
32403241
"Marker":{
32413242
"type":"string",
3242-
"max":1000,
3243+
"max":2000,
32433244
"min":1
32443245
},
32453246
"MediumChangerType":{

generator/ServiceModels/storagegateway/storagegateway-2013-06-30.docs.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@
120120
"base": null,
121121
"refs": {
122122
"DescribeSMBSettingsOutput$ActiveDirectoryStatus": "<p>Indicates the status of a gateway that is a member of the Active Directory domain.</p> <note> <p>This field is only used as part of a <code>JoinDomain</code> request. It is not affected by Active Directory connectivity changes that occur after the <code>JoinDomain</code> request succeeds.</p> </note> <ul> <li> <p> <code>ACCESS_DENIED</code>: Indicates that the <code>JoinDomain</code> operation failed due to an authentication error.</p> </li> <li> <p> <code>DETACHED</code>: Indicates that gateway is not joined to a domain.</p> </li> <li> <p> <code>JOINED</code>: Indicates that the gateway has successfully joined a domain.</p> </li> <li> <p> <code>JOINING</code>: Indicates that a <code>JoinDomain</code> operation is in progress.</p> </li> <li> <p> <code>NETWORK_ERROR</code>: Indicates that <code>JoinDomain</code> operation failed due to a network or connectivity error.</p> </li> <li> <p> <code>TIMEOUT</code>: Indicates that the <code>JoinDomain</code> operation failed because the operation didn't complete within the allotted time.</p> </li> <li> <p> <code>UNKNOWN_ERROR</code>: Indicates that the <code>JoinDomain</code> operation failed due to another type of error.</p> </li> </ul>",
123-
"JoinDomainOutput$ActiveDirectoryStatus": "<p>Indicates the status of the gateway as a member of the Active Directory domain.</p> <note> <p>This field is only used as part of a <code>JoinDomain</code> request. It is not affected by Active Directory connectivity changes that occur after the <code>JoinDomain</code> request succeeds.</p> </note> <ul> <li> <p> <code>ACCESS_DENIED</code>: Indicates that the <code>JoinDomain</code> operation failed due to an authentication error.</p> </li> <li> <p> <code>DETACHED</code>: Indicates that gateway is not joined to a domain.</p> </li> <li> <p> <code>JOINED</code>: Indicates that the gateway has successfully joined a domain.</p> </li> <li> <p> <code>JOINING</code>: Indicates that a <code>JoinDomain</code> operation is in progress.</p> </li> <li> <p> <code>NETWORK_ERROR</code>: Indicates that <code>JoinDomain</code> operation failed due to a network or connectivity error.</p> </li> <li> <p> <code>TIMEOUT</code>: Indicates that the <code>JoinDomain</code> operation failed because the operation didn't complete within the allotted time.</p> </li> <li> <p> <code>UNKNOWN_ERROR</code>: Indicates that the <code>JoinDomain</code> operation failed due to another type of error.</p> </li> </ul>"
123+
"JoinDomainOutput$ActiveDirectoryStatus": "<p>Indicates the status of the gateway as a member of the Active Directory domain.</p> <note> <p>This field is only used as part of a <code>JoinDomain</code> request. It is not affected by Active Directory connectivity changes that occur after the <code>JoinDomain</code> request succeeds.</p> </note> <ul> <li> <p> <code>ACCESS_DENIED</code>: Indicates that the <code>JoinDomain</code> operation failed due to an authentication error.</p> </li> <li> <p> <code>DETACHED</code>: Indicates that gateway is not joined to a domain.</p> </li> <li> <p> <code>JOINED</code>: Indicates that the gateway has successfully joined a domain.</p> </li> <li> <p> <code>JOINING</code>: Indicates that a <code>JoinDomain</code> operation is in progress.</p> </li> <li> <p> <code>INSUFFICIENT_PERMISSIONS</code>: Indicates that the <code>JoinDomain</code> operation failed because the specified user lacks the necessary permissions to join the domain.</p> </li> <li> <p> <code>NETWORK_ERROR</code>: Indicates that <code>JoinDomain</code> operation failed due to a network or connectivity error.</p> </li> <li> <p> <code>TIMEOUT</code>: Indicates that the <code>JoinDomain</code> operation failed because the operation didn't complete within the allotted time.</p> </li> <li> <p> <code>UNKNOWN_ERROR</code>: Indicates that the <code>JoinDomain</code> operation failed due to another type of error.</p> </li> </ul>"
124124
}
125125
},
126126
"AddCacheInput": {
@@ -1761,7 +1761,7 @@
17611761
"CreateSMBFileShareInput$LocationARN": "<p>A custom ARN for the backend storage used for storing data for file shares. It includes a resource ARN with an optional prefix concatenation. The prefix must end with a forward slash (/).</p> <note> <p>You can specify LocationARN as a bucket ARN, access point ARN or access point alias, as shown in the following examples.</p> <p>Bucket ARN:</p> <p> <code>arn:aws:s3:::amzn-s3-demo-bucket/prefix/</code> </p> <p>Access point ARN:</p> <p> <code>arn:aws:s3:region:account-id:accesspoint/access-point-name/prefix/</code> </p> <p>If you specify an access point, the bucket policy must be configured to delegate access control to the access point. For information, see <a href=\"https://docs.aws.amazon.com/AmazonS3/latest/userguide/access-points-policies.html#access-points-delegating-control\">Delegating access control to access points</a> in the <i>Amazon S3 User Guide</i>.</p> <p>Access point alias:</p> <p> <code>test-ap-ab123cdef4gehijklmn5opqrstuvuse1a-s3alias</code> </p> </note>",
17621762
"NFSFileShareInfo$LocationARN": null,
17631763
"SMBFileShareInfo$LocationARN": null,
1764-
"StartCacheReportInput$LocationARN": "<p>The ARN of the Amazon S3 bucket where the cache report will be saved.</p> <note> <p>We do not recommend saving the cache report to the same Amazon S3 bucket for which you are generating the report.</p> <p>This field does not accept access point ARNs.</p> </note>"
1764+
"StartCacheReportInput$LocationARN": "<p>The ARN of the Amazon S3 bucket where you want to save the cache report.</p> <note> <p>We do not recommend saving the cache report to the same Amazon S3 bucket for which you are generating the report.</p> <p>This field does not accept access point ARNs.</p> </note>"
17651765
}
17661766
},
17671767
"Marker": {
@@ -2025,7 +2025,7 @@
20252025
"CreateSMBFileShareInput$BucketRegion": "<p>Specifies the Region of the S3 bucket where the SMB file share stores files.</p> <note> <p>This parameter is required for SMB file shares that connect to Amazon S3 through a VPC endpoint, a VPC access point, or an access point alias that points to a VPC access point.</p> </note>",
20262026
"NFSFileShareInfo$BucketRegion": "<p>Specifies the Region of the S3 bucket where the NFS file share stores files.</p> <note> <p>This parameter is required for NFS file shares that connect to Amazon S3 through a VPC endpoint, a VPC access point, or an access point alias that points to a VPC access point.</p> </note>",
20272027
"SMBFileShareInfo$BucketRegion": "<p>Specifies the Region of the S3 bucket where the SMB file share stores files.</p> <note> <p>This parameter is required for SMB file shares that connect to Amazon S3 through a VPC endpoint, a VPC access point, or an access point alias that points to a VPC access point.</p> </note>",
2028-
"StartCacheReportInput$BucketRegion": "<p>The Amazon Web Services Region of the Amazon S3 bucket associated with the file share for which you want to generate the cache report.</p>"
2028+
"StartCacheReportInput$BucketRegion": "<p>The Amazon Web Services Region of the Amazon S3 bucket where you want to save the cache report.</p>"
20292029
}
20302030
},
20312031
"RemoveTagsFromResourceInput": {

generator/ServiceModels/storagegateway/storagegateway-2013-06-30.normal.json

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1427,7 +1427,8 @@
14271427
"JOINING",
14281428
"NETWORK_ERROR",
14291429
"TIMEOUT",
1430-
"UNKNOWN_ERROR"
1430+
"UNKNOWN_ERROR",
1431+
"INSUFFICIENT_PERMISSIONS"
14311432
]
14321433
},
14331434
"AddCacheInput":{
@@ -4303,7 +4304,7 @@
43034304
},
43044305
"ActiveDirectoryStatus":{
43054306
"shape":"ActiveDirectoryStatus",
4306-
"documentation":"<p>Indicates the status of the gateway as a member of the Active Directory domain.</p> <note> <p>This field is only used as part of a <code>JoinDomain</code> request. It is not affected by Active Directory connectivity changes that occur after the <code>JoinDomain</code> request succeeds.</p> </note> <ul> <li> <p> <code>ACCESS_DENIED</code>: Indicates that the <code>JoinDomain</code> operation failed due to an authentication error.</p> </li> <li> <p> <code>DETACHED</code>: Indicates that gateway is not joined to a domain.</p> </li> <li> <p> <code>JOINED</code>: Indicates that the gateway has successfully joined a domain.</p> </li> <li> <p> <code>JOINING</code>: Indicates that a <code>JoinDomain</code> operation is in progress.</p> </li> <li> <p> <code>NETWORK_ERROR</code>: Indicates that <code>JoinDomain</code> operation failed due to a network or connectivity error.</p> </li> <li> <p> <code>TIMEOUT</code>: Indicates that the <code>JoinDomain</code> operation failed because the operation didn't complete within the allotted time.</p> </li> <li> <p> <code>UNKNOWN_ERROR</code>: Indicates that the <code>JoinDomain</code> operation failed due to another type of error.</p> </li> </ul>"
4307+
"documentation":"<p>Indicates the status of the gateway as a member of the Active Directory domain.</p> <note> <p>This field is only used as part of a <code>JoinDomain</code> request. It is not affected by Active Directory connectivity changes that occur after the <code>JoinDomain</code> request succeeds.</p> </note> <ul> <li> <p> <code>ACCESS_DENIED</code>: Indicates that the <code>JoinDomain</code> operation failed due to an authentication error.</p> </li> <li> <p> <code>DETACHED</code>: Indicates that gateway is not joined to a domain.</p> </li> <li> <p> <code>JOINED</code>: Indicates that the gateway has successfully joined a domain.</p> </li> <li> <p> <code>JOINING</code>: Indicates that a <code>JoinDomain</code> operation is in progress.</p> </li> <li> <p> <code>INSUFFICIENT_PERMISSIONS</code>: Indicates that the <code>JoinDomain</code> operation failed because the specified user lacks the necessary permissions to join the domain.</p> </li> <li> <p> <code>NETWORK_ERROR</code>: Indicates that <code>JoinDomain</code> operation failed due to a network or connectivity error.</p> </li> <li> <p> <code>TIMEOUT</code>: Indicates that the <code>JoinDomain</code> operation failed because the operation didn't complete within the allotted time.</p> </li> <li> <p> <code>UNKNOWN_ERROR</code>: Indicates that the <code>JoinDomain</code> operation failed due to another type of error.</p> </li> </ul>"
43074308
}
43084309
},
43094310
"documentation":"<p>JoinDomainOutput</p>"
@@ -4645,7 +4646,7 @@
46454646
},
46464647
"Marker":{
46474648
"type":"string",
4648-
"max":1000,
4649+
"max":2000,
46494650
"min":1
46504651
},
46514652
"MediumChangerType":{
@@ -5346,11 +5347,11 @@
53465347
},
53475348
"LocationARN":{
53485349
"shape":"LocationARN",
5349-
"documentation":"<p>The ARN of the Amazon S3 bucket where the cache report will be saved.</p> <note> <p>We do not recommend saving the cache report to the same Amazon S3 bucket for which you are generating the report.</p> <p>This field does not accept access point ARNs.</p> </note>"
5350+
"documentation":"<p>The ARN of the Amazon S3 bucket where you want to save the cache report.</p> <note> <p>We do not recommend saving the cache report to the same Amazon S3 bucket for which you are generating the report.</p> <p>This field does not accept access point ARNs.</p> </note>"
53505351
},
53515352
"BucketRegion":{
53525353
"shape":"RegionId",
5353-
"documentation":"<p>The Amazon Web Services Region of the Amazon S3 bucket associated with the file share for which you want to generate the cache report.</p>"
5354+
"documentation":"<p>The Amazon Web Services Region of the Amazon S3 bucket where you want to save the cache report.</p>"
53545355
},
53555356
"VPCEndpointDNSName":{
53565357
"shape":"DNSHostName",

generator/ServiceModels/storagegateway/storagegateway-2013-06-30.paginators.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,11 @@
3030
"output_token": "Marker",
3131
"result_key": "VTLDevices"
3232
},
33+
"ListCacheReports": {
34+
"input_token": "Marker",
35+
"output_token": "Marker",
36+
"result_key": "CacheReportList"
37+
},
3338
"ListFileShares": {
3439
"input_token": "Marker",
3540
"limit_key": "Limit",

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

Lines changed: 26 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -909,12 +909,12 @@
909909
<property-value-rule>
910910
<property>Amazon.StorageGateway.Model.DescribeTapeArchivesRequest.Marker</property>
911911
<min>1</min>
912-
<max>1000</max>
912+
<max>2000</max>
913913
</property-value-rule>
914914
<property-value-rule>
915915
<property>Amazon.StorageGateway.Model.DescribeTapeArchivesResponse.Marker</property>
916916
<min>1</min>
917-
<max>1000</max>
917+
<max>2000</max>
918918
</property-value-rule>
919919
<property-value-rule>
920920
<property>Amazon.StorageGateway.Model.DescribeTapeRecoveryPointsRequest.GatewayARN</property>
@@ -928,7 +928,7 @@
928928
<property-value-rule>
929929
<property>Amazon.StorageGateway.Model.DescribeTapeRecoveryPointsRequest.Marker</property>
930930
<min>1</min>
931-
<max>1000</max>
931+
<max>2000</max>
932932
</property-value-rule>
933933
<property-value-rule>
934934
<property>Amazon.StorageGateway.Model.DescribeTapeRecoveryPointsResponse.GatewayARN</property>
@@ -938,7 +938,7 @@
938938
<property-value-rule>
939939
<property>Amazon.StorageGateway.Model.DescribeTapeRecoveryPointsResponse.Marker</property>
940940
<min>1</min>
941-
<max>1000</max>
941+
<max>2000</max>
942942
</property-value-rule>
943943
<property-value-rule>
944944
<property>Amazon.StorageGateway.Model.DescribeTapesRequest.GatewayARN</property>
@@ -952,12 +952,12 @@
952952
<property-value-rule>
953953
<property>Amazon.StorageGateway.Model.DescribeTapesRequest.Marker</property>
954954
<min>1</min>
955-
<max>1000</max>
955+
<max>2000</max>
956956
</property-value-rule>
957957
<property-value-rule>
958958
<property>Amazon.StorageGateway.Model.DescribeTapesResponse.Marker</property>
959959
<min>1</min>
960-
<max>1000</max>
960+
<max>2000</max>
961961
</property-value-rule>
962962
<property-value-rule>
963963
<property>Amazon.StorageGateway.Model.DescribeUploadBufferRequest.GatewayARN</property>
@@ -981,7 +981,7 @@
981981
<property-value-rule>
982982
<property>Amazon.StorageGateway.Model.DescribeVTLDevicesRequest.Marker</property>
983983
<min>1</min>
984-
<max>1000</max>
984+
<max>2000</max>
985985
</property-value-rule>
986986
<property-value-rule>
987987
<property>Amazon.StorageGateway.Model.DescribeVTLDevicesResponse.GatewayARN</property>
@@ -991,7 +991,7 @@
991991
<property-value-rule>
992992
<property>Amazon.StorageGateway.Model.DescribeVTLDevicesResponse.Marker</property>
993993
<min>1</min>
994-
<max>1000</max>
994+
<max>2000</max>
995995
</property-value-rule>
996996
<property-value-rule>
997997
<property>Amazon.StorageGateway.Model.DescribeWorkingStorageRequest.GatewayARN</property>
@@ -1086,12 +1086,12 @@
10861086
<property-value-rule>
10871087
<property>Amazon.StorageGateway.Model.ListCacheReportsRequest.Marker</property>
10881088
<min>1</min>
1089-
<max>1000</max>
1089+
<max>2000</max>
10901090
</property-value-rule>
10911091
<property-value-rule>
10921092
<property>Amazon.StorageGateway.Model.ListCacheReportsResponse.Marker</property>
10931093
<min>1</min>
1094-
<max>1000</max>
1094+
<max>2000</max>
10951095
</property-value-rule>
10961096
<property-value-rule>
10971097
<property>Amazon.StorageGateway.Model.ListFileSharesRequest.GatewayARN</property>
@@ -1105,17 +1105,17 @@
11051105
<property-value-rule>
11061106
<property>Amazon.StorageGateway.Model.ListFileSharesRequest.Marker</property>
11071107
<min>1</min>
1108-
<max>1000</max>
1108+
<max>2000</max>
11091109
</property-value-rule>
11101110
<property-value-rule>
11111111
<property>Amazon.StorageGateway.Model.ListFileSharesResponse.Marker</property>
11121112
<min>1</min>
1113-
<max>1000</max>
1113+
<max>2000</max>
11141114
</property-value-rule>
11151115
<property-value-rule>
11161116
<property>Amazon.StorageGateway.Model.ListFileSharesResponse.NextMarker</property>
11171117
<min>1</min>
1118-
<max>1000</max>
1118+
<max>2000</max>
11191119
</property-value-rule>
11201120
<property-value-rule>
11211121
<property>Amazon.StorageGateway.Model.ListFileSystemAssociationsRequest.GatewayARN</property>
@@ -1129,17 +1129,17 @@
11291129
<property-value-rule>
11301130
<property>Amazon.StorageGateway.Model.ListFileSystemAssociationsRequest.Marker</property>
11311131
<min>1</min>
1132-
<max>1000</max>
1132+
<max>2000</max>
11331133
</property-value-rule>
11341134
<property-value-rule>
11351135
<property>Amazon.StorageGateway.Model.ListFileSystemAssociationsResponse.Marker</property>
11361136
<min>1</min>
1137-
<max>1000</max>
1137+
<max>2000</max>
11381138
</property-value-rule>
11391139
<property-value-rule>
11401140
<property>Amazon.StorageGateway.Model.ListFileSystemAssociationsResponse.NextMarker</property>
11411141
<min>1</min>
1142-
<max>1000</max>
1142+
<max>2000</max>
11431143
</property-value-rule>
11441144
<property-value-rule>
11451145
<property>Amazon.StorageGateway.Model.ListGatewaysRequest.Limit</property>
@@ -1148,12 +1148,12 @@
11481148
<property-value-rule>
11491149
<property>Amazon.StorageGateway.Model.ListGatewaysRequest.Marker</property>
11501150
<min>1</min>
1151-
<max>1000</max>
1151+
<max>2000</max>
11521152
</property-value-rule>
11531153
<property-value-rule>
11541154
<property>Amazon.StorageGateway.Model.ListGatewaysResponse.Marker</property>
11551155
<min>1</min>
1156-
<max>1000</max>
1156+
<max>2000</max>
11571157
</property-value-rule>
11581158
<property-value-rule>
11591159
<property>Amazon.StorageGateway.Model.ListLocalDisksRequest.GatewayARN</property>
@@ -1172,7 +1172,7 @@
11721172
<property-value-rule>
11731173
<property>Amazon.StorageGateway.Model.ListTagsForResourceRequest.Marker</property>
11741174
<min>1</min>
1175-
<max>1000</max>
1175+
<max>2000</max>
11761176
</property-value-rule>
11771177
<property-value-rule>
11781178
<property>Amazon.StorageGateway.Model.ListTagsForResourceRequest.ResourceARN</property>
@@ -1182,7 +1182,7 @@
11821182
<property-value-rule>
11831183
<property>Amazon.StorageGateway.Model.ListTagsForResourceResponse.Marker</property>
11841184
<min>1</min>
1185-
<max>1000</max>
1185+
<max>2000</max>
11861186
</property-value-rule>
11871187
<property-value-rule>
11881188
<property>Amazon.StorageGateway.Model.ListTagsForResourceResponse.ResourceARN</property>
@@ -1196,12 +1196,12 @@
11961196
<property-value-rule>
11971197
<property>Amazon.StorageGateway.Model.ListTapePoolsRequest.Marker</property>
11981198
<min>1</min>
1199-
<max>1000</max>
1199+
<max>2000</max>
12001200
</property-value-rule>
12011201
<property-value-rule>
12021202
<property>Amazon.StorageGateway.Model.ListTapePoolsResponse.Marker</property>
12031203
<min>1</min>
1204-
<max>1000</max>
1204+
<max>2000</max>
12051205
</property-value-rule>
12061206
<property-value-rule>
12071207
<property>Amazon.StorageGateway.Model.ListTapesRequest.Limit</property>
@@ -1210,12 +1210,12 @@
12101210
<property-value-rule>
12111211
<property>Amazon.StorageGateway.Model.ListTapesRequest.Marker</property>
12121212
<min>1</min>
1213-
<max>1000</max>
1213+
<max>2000</max>
12141214
</property-value-rule>
12151215
<property-value-rule>
12161216
<property>Amazon.StorageGateway.Model.ListTapesResponse.Marker</property>
12171217
<min>1</min>
1218-
<max>1000</max>
1218+
<max>2000</max>
12191219
</property-value-rule>
12201220
<property-value-rule>
12211221
<property>Amazon.StorageGateway.Model.ListVolumeInitiatorsRequest.VolumeARN</property>
@@ -1245,7 +1245,7 @@
12451245
<property-value-rule>
12461246
<property>Amazon.StorageGateway.Model.ListVolumesRequest.Marker</property>
12471247
<min>1</min>
1248-
<max>1000</max>
1248+
<max>2000</max>
12491249
</property-value-rule>
12501250
<property-value-rule>
12511251
<property>Amazon.StorageGateway.Model.ListVolumesResponse.GatewayARN</property>
@@ -1255,7 +1255,7 @@
12551255
<property-value-rule>
12561256
<property>Amazon.StorageGateway.Model.ListVolumesResponse.Marker</property>
12571257
<min>1</min>
1258-
<max>1000</max>
1258+
<max>2000</max>
12591259
</property-value-rule>
12601260
<property-value-rule>
12611261
<property>Amazon.StorageGateway.Model.NotifyWhenUploadedRequest.FileShareARN</property>

sdk/src/Services/StorageGateway/Generated/Model/DescribeTapeArchivesRequest.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ internal bool IsSetLimit()
7272
/// tapes.
7373
/// </para>
7474
/// </summary>
75-
[AWSProperty(Min=1, Max=1000)]
75+
[AWSProperty(Min=1, Max=2000)]
7676
public string Marker
7777
{
7878
get { return this._marker; }

sdk/src/Services/StorageGateway/Generated/Model/DescribeTapeArchivesResponse.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ public partial class DescribeTapeArchivesResponse : AmazonWebServiceResponse
4646
/// tapes to describe, this field does not appear in the response.
4747
/// </para>
4848
/// </summary>
49-
[AWSProperty(Min=1, Max=1000)]
49+
[AWSProperty(Min=1, Max=2000)]
5050
public string Marker
5151
{
5252
get { return this._marker; }

0 commit comments

Comments
 (0)