Copyright | (c) 2013-2021 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 |
Sends you notification through CloudWatch Events when all files written to your file share have been uploaded to Amazon S3.
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 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 Lambda function. This operation is only supported for S3 File Gateways.
For more information, see Getting file upload notification in the Storage Gateway User Guide.
Synopsis
- data NotifyWhenUploaded = NotifyWhenUploaded' {
- fileShareARN :: Text
- newNotifyWhenUploaded :: Text -> NotifyWhenUploaded
- notifyWhenUploaded_fileShareARN :: Lens' NotifyWhenUploaded Text
- data NotifyWhenUploadedResponse = NotifyWhenUploadedResponse' {}
- newNotifyWhenUploadedResponse :: Int -> NotifyWhenUploadedResponse
- notifyWhenUploadedResponse_fileShareARN :: Lens' NotifyWhenUploadedResponse (Maybe Text)
- notifyWhenUploadedResponse_notificationId :: Lens' NotifyWhenUploadedResponse (Maybe Text)
- notifyWhenUploadedResponse_httpStatus :: Lens' NotifyWhenUploadedResponse Int
Creating a Request
data NotifyWhenUploaded Source #
See: newNotifyWhenUploaded
smart constructor.
Instances
newNotifyWhenUploaded Source #
Create a value of NotifyWhenUploaded
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:fileShareARN:NotifyWhenUploaded'
, notifyWhenUploaded_fileShareARN
- Undocumented member.
Request Lenses
notifyWhenUploaded_fileShareARN :: Lens' NotifyWhenUploaded Text Source #
Undocumented member.
Destructuring the Response
data NotifyWhenUploadedResponse Source #
See: newNotifyWhenUploadedResponse
smart constructor.
NotifyWhenUploadedResponse' | |
|
Instances
newNotifyWhenUploadedResponse Source #
Create a value of NotifyWhenUploadedResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:fileShareARN:NotifyWhenUploaded'
, notifyWhenUploadedResponse_fileShareARN
- Undocumented member.
$sel:notificationId:NotifyWhenUploadedResponse'
, notifyWhenUploadedResponse_notificationId
- Undocumented member.
$sel:httpStatus:NotifyWhenUploadedResponse'
, notifyWhenUploadedResponse_httpStatus
- The response's http status code.
Response Lenses
notifyWhenUploadedResponse_fileShareARN :: Lens' NotifyWhenUploadedResponse (Maybe Text) Source #
Undocumented member.
notifyWhenUploadedResponse_notificationId :: Lens' NotifyWhenUploadedResponse (Maybe Text) Source #
Undocumented member.
notifyWhenUploadedResponse_httpStatus :: Lens' NotifyWhenUploadedResponse Int Source #
The response's http status code.