amazonka-storagegateway-1.6.1: 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 # 
Instance details

Defined in Network.AWS.StorageGateway.NotifyWhenUploaded

Data NotifyWhenUploaded Source # 
Instance details

Defined in Network.AWS.StorageGateway.NotifyWhenUploaded

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 # 
Instance details

Defined in Network.AWS.StorageGateway.NotifyWhenUploaded

Show NotifyWhenUploaded Source # 
Instance details

Defined in Network.AWS.StorageGateway.NotifyWhenUploaded

Generic NotifyWhenUploaded Source # 
Instance details

Defined in Network.AWS.StorageGateway.NotifyWhenUploaded

Associated Types

type Rep NotifyWhenUploaded :: Type -> Type #

Hashable NotifyWhenUploaded Source # 
Instance details

Defined in Network.AWS.StorageGateway.NotifyWhenUploaded

ToJSON NotifyWhenUploaded Source # 
Instance details

Defined in Network.AWS.StorageGateway.NotifyWhenUploaded

AWSRequest NotifyWhenUploaded Source # 
Instance details

Defined in Network.AWS.StorageGateway.NotifyWhenUploaded

Associated Types

type Rs NotifyWhenUploaded :: Type #

ToHeaders NotifyWhenUploaded Source # 
Instance details

Defined in Network.AWS.StorageGateway.NotifyWhenUploaded

ToPath NotifyWhenUploaded Source # 
Instance details

Defined in Network.AWS.StorageGateway.NotifyWhenUploaded

ToQuery NotifyWhenUploaded Source # 
Instance details

Defined in Network.AWS.StorageGateway.NotifyWhenUploaded

NFData NotifyWhenUploaded Source # 
Instance details

Defined in Network.AWS.StorageGateway.NotifyWhenUploaded

Methods

rnf :: NotifyWhenUploaded -> () #

type Rep NotifyWhenUploaded Source # 
Instance details

Defined in Network.AWS.StorageGateway.NotifyWhenUploaded

type Rep NotifyWhenUploaded = D1 (MetaData "NotifyWhenUploaded" "Network.AWS.StorageGateway.NotifyWhenUploaded" "amazonka-storagegateway-1.6.1-8r5RVaLfJcl46lpEVK6Ktc" True) (C1 (MetaCons "NotifyWhenUploaded'" PrefixI True) (S1 (MetaSel (Just "_nwuFileShareARN") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text)))
type Rs NotifyWhenUploaded Source # 
Instance details

Defined in Network.AWS.StorageGateway.NotifyWhenUploaded

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 # 
Instance details

Defined in Network.AWS.StorageGateway.NotifyWhenUploaded

Data NotifyWhenUploadedResponse Source # 
Instance details

Defined in Network.AWS.StorageGateway.NotifyWhenUploaded

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 # 
Instance details

Defined in Network.AWS.StorageGateway.NotifyWhenUploaded

Show NotifyWhenUploadedResponse Source # 
Instance details

Defined in Network.AWS.StorageGateway.NotifyWhenUploaded

Generic NotifyWhenUploadedResponse Source # 
Instance details

Defined in Network.AWS.StorageGateway.NotifyWhenUploaded

Associated Types

type Rep NotifyWhenUploadedResponse :: Type -> Type #

NFData NotifyWhenUploadedResponse Source # 
Instance details

Defined in Network.AWS.StorageGateway.NotifyWhenUploaded

type Rep NotifyWhenUploadedResponse Source # 
Instance details

Defined in Network.AWS.StorageGateway.NotifyWhenUploaded

type Rep NotifyWhenUploadedResponse = D1 (MetaData "NotifyWhenUploadedResponse" "Network.AWS.StorageGateway.NotifyWhenUploaded" "amazonka-storagegateway-1.6.1-8r5RVaLfJcl46lpEVK6Ktc" False) (C1 (MetaCons "NotifyWhenUploadedResponse'" PrefixI True) (S1 (MetaSel (Just "_nwursFileShareARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_nwursNotificationId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_nwursResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int))))

Response Lenses