amazonka-storagegateway-1.6.0: Amazon Storage Gateway SDK.

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

Network.AWS.StorageGateway.NotifyWhenUploaded

Contents

Description

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 in the file gateway type.

For more information, see Getting File Upload Notification in the Storage Gateway User Guide (https:/docs.aws.amazon.comstoragegatewaylatestuserguide/monitoring-file-gateway.html#get-upload-notification).

Synopsis

Creating a Request

notifyWhenUploaded Source #

Creates a value of NotifyWhenUploaded with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

data NotifyWhenUploaded Source #

See: notifyWhenUploaded smart constructor.

Instances

Eq NotifyWhenUploaded Source # 
Data NotifyWhenUploaded Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> NotifyWhenUploaded -> c NotifyWhenUploaded #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c NotifyWhenUploaded #

toConstr :: NotifyWhenUploaded -> Constr #

dataTypeOf :: NotifyWhenUploaded -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c NotifyWhenUploaded) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c NotifyWhenUploaded) #

gmapT :: (forall b. Data b => b -> b) -> NotifyWhenUploaded -> NotifyWhenUploaded #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> NotifyWhenUploaded -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> NotifyWhenUploaded -> r #

gmapQ :: (forall d. Data d => d -> u) -> NotifyWhenUploaded -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> NotifyWhenUploaded -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> NotifyWhenUploaded -> m NotifyWhenUploaded #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> NotifyWhenUploaded -> m NotifyWhenUploaded #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> NotifyWhenUploaded -> m NotifyWhenUploaded #

Read NotifyWhenUploaded Source # 
Show NotifyWhenUploaded Source # 
Generic NotifyWhenUploaded Source # 
Hashable NotifyWhenUploaded Source # 
ToJSON NotifyWhenUploaded Source # 
NFData NotifyWhenUploaded Source # 

Methods

rnf :: NotifyWhenUploaded -> () #

AWSRequest NotifyWhenUploaded Source # 
ToHeaders NotifyWhenUploaded Source # 
ToPath NotifyWhenUploaded Source # 
ToQuery NotifyWhenUploaded Source # 
type Rep NotifyWhenUploaded Source # 
type Rep NotifyWhenUploaded = D1 * (MetaData "NotifyWhenUploaded" "Network.AWS.StorageGateway.NotifyWhenUploaded" "amazonka-storagegateway-1.6.0-4O2jykLIBNRAOy2n0S31Gg" True) (C1 * (MetaCons "NotifyWhenUploaded'" PrefixI True) (S1 * (MetaSel (Just Symbol "_nwuFileShareARN") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * Text)))
type Rs NotifyWhenUploaded Source # 

Request Lenses

Destructuring the Response

notifyWhenUploadedResponse Source #

Creates a value of NotifyWhenUploadedResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

data NotifyWhenUploadedResponse Source #

See: notifyWhenUploadedResponse smart constructor.

Instances

Eq NotifyWhenUploadedResponse Source # 
Data NotifyWhenUploadedResponse Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> NotifyWhenUploadedResponse -> c NotifyWhenUploadedResponse #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c NotifyWhenUploadedResponse #

toConstr :: NotifyWhenUploadedResponse -> Constr #

dataTypeOf :: NotifyWhenUploadedResponse -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c NotifyWhenUploadedResponse) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c NotifyWhenUploadedResponse) #

gmapT :: (forall b. Data b => b -> b) -> NotifyWhenUploadedResponse -> NotifyWhenUploadedResponse #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> NotifyWhenUploadedResponse -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> NotifyWhenUploadedResponse -> r #

gmapQ :: (forall d. Data d => d -> u) -> NotifyWhenUploadedResponse -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> NotifyWhenUploadedResponse -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> NotifyWhenUploadedResponse -> m NotifyWhenUploadedResponse #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> NotifyWhenUploadedResponse -> m NotifyWhenUploadedResponse #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> NotifyWhenUploadedResponse -> m NotifyWhenUploadedResponse #

Read NotifyWhenUploadedResponse Source # 
Show NotifyWhenUploadedResponse Source # 
Generic NotifyWhenUploadedResponse Source # 
NFData NotifyWhenUploadedResponse Source # 
type Rep NotifyWhenUploadedResponse Source # 
type Rep NotifyWhenUploadedResponse = D1 * (MetaData "NotifyWhenUploadedResponse" "Network.AWS.StorageGateway.NotifyWhenUploaded" "amazonka-storagegateway-1.6.0-4O2jykLIBNRAOy2n0S31Gg" False) (C1 * (MetaCons "NotifyWhenUploadedResponse'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_nwursFileShareARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) ((:*:) * (S1 * (MetaSel (Just Symbol "_nwursNotificationId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_nwursResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Int)))))

Response Lenses