notify_when_uploaded
(**kwargs)¶Sends you notification through CloudWatch Events when all files written to your file share have been uploaded to S3. 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 .
See also: AWS API Documentation
Request Syntax
response = client.notify_when_uploaded(
FileShareARN='string'
)
[REQUIRED]
The Amazon Resource Name (ARN) of the file share.
{
'FileShareARN': 'string',
'NotificationId': 'string'
}
Response Structure
The Amazon Resource Name (ARN) of the file share.
The randomly generated ID of the notification that was sent. This ID is in UUID format.
Exceptions
StorageGateway.Client.exceptions.InvalidGatewayRequestException
StorageGateway.Client.exceptions.InternalServerError