libZSservicesZSamazonka-storagegatewayZSamazonka-storagegateway
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.StorageGateway.NotifyWhenUploaded

Description

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

Creating a Request

data NotifyWhenUploaded Source #

See: newNotifyWhenUploaded smart constructor.

Constructors

NotifyWhenUploaded' 

Fields

Instances

Instances details
Eq NotifyWhenUploaded Source # 
Instance details

Defined in Amazonka.StorageGateway.NotifyWhenUploaded

Read NotifyWhenUploaded Source # 
Instance details

Defined in Amazonka.StorageGateway.NotifyWhenUploaded

Show NotifyWhenUploaded Source # 
Instance details

Defined in Amazonka.StorageGateway.NotifyWhenUploaded

Generic NotifyWhenUploaded Source # 
Instance details

Defined in Amazonka.StorageGateway.NotifyWhenUploaded

Associated Types

type Rep NotifyWhenUploaded :: Type -> Type #

NFData NotifyWhenUploaded Source # 
Instance details

Defined in Amazonka.StorageGateway.NotifyWhenUploaded

Methods

rnf :: NotifyWhenUploaded -> () #

Hashable NotifyWhenUploaded Source # 
Instance details

Defined in Amazonka.StorageGateway.NotifyWhenUploaded

ToJSON NotifyWhenUploaded Source # 
Instance details

Defined in Amazonka.StorageGateway.NotifyWhenUploaded

AWSRequest NotifyWhenUploaded Source # 
Instance details

Defined in Amazonka.StorageGateway.NotifyWhenUploaded

Associated Types

type AWSResponse NotifyWhenUploaded #

ToHeaders NotifyWhenUploaded Source # 
Instance details

Defined in Amazonka.StorageGateway.NotifyWhenUploaded

ToPath NotifyWhenUploaded Source # 
Instance details

Defined in Amazonka.StorageGateway.NotifyWhenUploaded

ToQuery NotifyWhenUploaded Source # 
Instance details

Defined in Amazonka.StorageGateway.NotifyWhenUploaded

type Rep NotifyWhenUploaded Source # 
Instance details

Defined in Amazonka.StorageGateway.NotifyWhenUploaded

type Rep NotifyWhenUploaded = D1 ('MetaData "NotifyWhenUploaded" "Amazonka.StorageGateway.NotifyWhenUploaded" "libZSservicesZSamazonka-storagegatewayZSamazonka-storagegateway" 'False) (C1 ('MetaCons "NotifyWhenUploaded'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fileShareARN") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse NotifyWhenUploaded Source # 
Instance details

Defined in Amazonka.StorageGateway.NotifyWhenUploaded

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

Destructuring the Response

data NotifyWhenUploadedResponse Source #

See: newNotifyWhenUploadedResponse smart constructor.

Constructors

NotifyWhenUploadedResponse' 

Fields

Instances

Instances details
Eq NotifyWhenUploadedResponse Source # 
Instance details

Defined in Amazonka.StorageGateway.NotifyWhenUploaded

Read NotifyWhenUploadedResponse Source # 
Instance details

Defined in Amazonka.StorageGateway.NotifyWhenUploaded

Show NotifyWhenUploadedResponse Source # 
Instance details

Defined in Amazonka.StorageGateway.NotifyWhenUploaded

Generic NotifyWhenUploadedResponse Source # 
Instance details

Defined in Amazonka.StorageGateway.NotifyWhenUploaded

Associated Types

type Rep NotifyWhenUploadedResponse :: Type -> Type #

NFData NotifyWhenUploadedResponse Source # 
Instance details

Defined in Amazonka.StorageGateway.NotifyWhenUploaded

type Rep NotifyWhenUploadedResponse Source # 
Instance details

Defined in Amazonka.StorageGateway.NotifyWhenUploaded

type Rep NotifyWhenUploadedResponse = D1 ('MetaData "NotifyWhenUploadedResponse" "Amazonka.StorageGateway.NotifyWhenUploaded" "libZSservicesZSamazonka-storagegatewayZSamazonka-storagegateway" 'False) (C1 ('MetaCons "NotifyWhenUploadedResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fileShareARN") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "notificationId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

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