Copyright | (c) 2013-2018 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Sends you notification through CloudWatch Events when all files written to your NFS file share have been uploaded to Amazon S3.
AWS Storage Gateway can send a notification through Amazon CloudWatch Events when all files written to your file share up to that point in time have been uploaded to Amazon S3. These files include files written to the NFS file share up to the time that you make a request for notification. When the upload is done, Storage Gateway sends you notification through an Amazon CloudWatch Event. You can configure CloudWatch Events to send the notification through event targets such as Amazon SNS or AWS Lambda function. This operation is only supported in the file gateway type.
For more information, see Getting File Upload Notification in the Storage Gateway User Guide (https:/docs.aws.amazon.comstoragegatewaylatestuserguide/monitoring-file-gateway.html#get-upload-notification).
- notifyWhenUploaded :: Text -> NotifyWhenUploaded
- data NotifyWhenUploaded
- nwuFileShareARN :: Lens' NotifyWhenUploaded Text
- notifyWhenUploadedResponse :: Int -> NotifyWhenUploadedResponse
- data NotifyWhenUploadedResponse
- nwursFileShareARN :: Lens' NotifyWhenUploadedResponse (Maybe Text)
- nwursNotificationId :: Lens' NotifyWhenUploadedResponse (Maybe Text)
- nwursResponseStatus :: Lens' NotifyWhenUploadedResponse Int
Creating a Request
Creates a value of NotifyWhenUploaded
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
nwuFileShareARN
- Undocumented member.
data NotifyWhenUploaded Source #
See: notifyWhenUploaded
smart constructor.
Request Lenses
nwuFileShareARN :: Lens' NotifyWhenUploaded Text Source #
Undocumented member.
Destructuring the Response
notifyWhenUploadedResponse Source #
Creates a value of NotifyWhenUploadedResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
nwursFileShareARN
- Undocumented member.nwursNotificationId
- Undocumented member.nwursResponseStatus
- -- | The response status code.
data NotifyWhenUploadedResponse Source #
See: notifyWhenUploadedResponse
smart constructor.
Response Lenses
nwursFileShareARN :: Lens' NotifyWhenUploadedResponse (Maybe Text) Source #
Undocumented member.
nwursNotificationId :: Lens' NotifyWhenUploadedResponse (Maybe Text) Source #
Undocumented member.
nwursResponseStatus :: Lens' NotifyWhenUploadedResponse Int Source #
- - | The response status code.