Skip to content

Commit b1d8daa

Browse files
author
AWS
committed
AWS Storage Gateway Update: This release adds support to invoke a process that cleans the specified file share's cache of file entries that are failing upload to Amazon S3.
1 parent 7c628d6 commit b1d8daa

File tree

2 files changed

+43
-0
lines changed

2 files changed

+43
-0
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 support to invoke a process that cleans the specified file share's cache of file entries that are failing upload to Amazon S3."
6+
}

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

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -786,6 +786,20 @@
786786
],
787787
"documentation":"<p>Disassociates an Amazon FSx file system from the specified gateway. After the disassociation process finishes, the gateway can no longer access the Amazon FSx file system. This operation is only supported in the FSx File Gateway type.</p>"
788788
},
789+
"EvictFilesFailingUpload":{
790+
"name":"EvictFilesFailingUpload",
791+
"http":{
792+
"method":"POST",
793+
"requestUri":"/"
794+
},
795+
"input":{"shape":"EvictFilesFailingUploadInput"},
796+
"output":{"shape":"EvictFilesFailingUploadOutput"},
797+
"errors":[
798+
{"shape":"InvalidGatewayRequestException"},
799+
{"shape":"InternalServerError"}
800+
],
801+
"documentation":"<p>Starts a process that cleans the specified file share's cache of file entries that are failing upload to Amazon S3. This API operation reports success if the request is received with valid arguments, and there are no other cache clean operations currently in-progress for the specified file share. After a successful request, the cache clean operation occurs asynchronously and reports progress using CloudWatch logs and notifications.</p> <important> <p>If <code>ForceRemove</code> is set to <code>True</code>, the cache clean operation will delete file data from the gateway which might otherwise be recoverable. We recommend using this operation only after all other methods to clear files failing upload have been exhausted, and if your business need outweighs the potential data loss.</p> </important>"
802+
},
789803
"JoinDomain":{
790804
"name":"JoinDomain",
791805
"http":{
@@ -3847,6 +3861,29 @@
38473861
"VolumeNotReady"
38483862
]
38493863
},
3864+
"EvictFilesFailingUploadInput":{
3865+
"type":"structure",
3866+
"required":["FileShareARN"],
3867+
"members":{
3868+
"FileShareARN":{
3869+
"shape":"FileShareARN",
3870+
"documentation":"<p>The Amazon Resource Name (ARN) of the file share for which you want to start the cache clean operation.</p>"
3871+
},
3872+
"ForceRemove":{
3873+
"shape":"boolean",
3874+
"documentation":"<p>Specifies whether cache entries with full or partial file data currently stored on the gateway will be forcibly removed by the cache clean operation.</p> <p>Valid arguments:</p> <ul> <li> <p> <code>False</code> - The cache clean operation skips cache entries failing upload if they are associated with data currently stored on the gateway. This preserves the cached data.</p> </li> <li> <p> <code>True</code> - The cache clean operation removes cache entries failing upload even if they are associated with data currently stored on the gateway. This deletes the cached data.</p> <important> <p>If <code>ForceRemove</code> is set to <code>True</code>, the cache clean operation will delete file data from the gateway which might otherwise be recoverable.</p> </important> </li> </ul>"
3875+
}
3876+
}
3877+
},
3878+
"EvictFilesFailingUploadOutput":{
3879+
"type":"structure",
3880+
"members":{
3881+
"NotificationId":{
3882+
"shape":"string",
3883+
"documentation":"<p>The randomly generated ID of the CloudWatch notification associated with the cache clean operation. This ID is in UUID format.</p>"
3884+
}
3885+
}
3886+
},
38503887
"FileShareARN":{
38513888
"type":"string",
38523889
"documentation":"<p>The Amazon Resource Name (ARN) of the file share.</p>",

0 commit comments

Comments
 (0)