amazonka-storagegateway-2.0: Amazon Storage Gateway SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.StorageGateway.NotifyWhenUploaded

Description

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.

Synopsis

Creating a Request

data NotifyWhenUploaded Source #

See: newNotifyWhenUploaded smart constructor.

Constructors

NotifyWhenUploaded' 

Fields

Instances

Instances details
ToJSON NotifyWhenUploaded Source # 
Instance details

Defined in Amazonka.StorageGateway.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

AWSRequest NotifyWhenUploaded Source # 
Instance details

Defined in Amazonka.StorageGateway.NotifyWhenUploaded

Associated Types

type AWSResponse NotifyWhenUploaded #

Generic NotifyWhenUploaded Source # 
Instance details

Defined in Amazonka.StorageGateway.NotifyWhenUploaded

Associated Types

type Rep NotifyWhenUploaded :: Type -> Type #

Read NotifyWhenUploaded Source # 
Instance details

Defined in Amazonka.StorageGateway.NotifyWhenUploaded

Show NotifyWhenUploaded Source # 
Instance details

Defined in Amazonka.StorageGateway.NotifyWhenUploaded

NFData NotifyWhenUploaded Source # 
Instance details

Defined in Amazonka.StorageGateway.NotifyWhenUploaded

Methods

rnf :: NotifyWhenUploaded -> () #

Eq NotifyWhenUploaded Source # 
Instance details

Defined in Amazonka.StorageGateway.NotifyWhenUploaded

Hashable NotifyWhenUploaded Source # 
Instance details

Defined in Amazonka.StorageGateway.NotifyWhenUploaded

type AWSResponse 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" "amazonka-storagegateway-2.0-A8x7b0LCNm33wkCZlwgcSL" 'False) (C1 ('MetaCons "NotifyWhenUploaded'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fileShareARN") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

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:

NotifyWhenUploaded, notifyWhenUploaded_fileShareARN - Undocumented member.

Request Lenses

Destructuring the Response

data NotifyWhenUploadedResponse Source #

See: newNotifyWhenUploadedResponse smart constructor.

Constructors

NotifyWhenUploadedResponse' 

Fields

Instances

Instances details
Generic NotifyWhenUploadedResponse Source # 
Instance details

Defined in Amazonka.StorageGateway.NotifyWhenUploaded

Associated Types

type Rep NotifyWhenUploadedResponse :: Type -> Type #

Read NotifyWhenUploadedResponse Source # 
Instance details

Defined in Amazonka.StorageGateway.NotifyWhenUploaded

Show NotifyWhenUploadedResponse Source # 
Instance details

Defined in Amazonka.StorageGateway.NotifyWhenUploaded

NFData NotifyWhenUploadedResponse Source # 
Instance details

Defined in Amazonka.StorageGateway.NotifyWhenUploaded

Eq 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" "amazonka-storagegateway-2.0-A8x7b0LCNm33wkCZlwgcSL" '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:

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