code: func (c *StorageGateway) NotifyWhenUploaded(input *NotifyWhenUploadedInput) (*NotifyWhenUploadedOutput, error) {
  	req, out := c.NotifyWhenUploadedRequest(input)
  	return out, req.Send()
  }
docs: // NotifyWhenUploaded API operation for AWS Storage Gateway.
  //
  // 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 for file gateways.
  //
  // For more information, see Getting File Upload Notification in the Storage
  // Gateway User Guide (https://docs.aws.amazon.com/storagegateway/latest/userguide/monitoring-file-gateway.html#get-upload-notification).
  //
  // Returns awserr.Error for service API and SDK errors. Use runtime type assertions
  // with awserr.Error's Code and Message methods to get detailed information about
  // the error.
  //
  // See the AWS API reference guide for AWS Storage Gateway's
  // API operation NotifyWhenUploaded for usage and error information.
  //
  // Returned Error Codes:
  //   * ErrCodeInvalidGatewayRequestException "InvalidGatewayRequestException"
  //   An exception occurred because an invalid gateway request was issued to the
  //   service. For more information, see the error and message fields.
  //
  //   * ErrCodeInternalServerError "InternalServerError"
  //   An internal server error has occurred during the request. For more information,
  //   see the error and message fields.
  //
  // See also, https://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/NotifyWhenUploaded