amazonka-s3-1.4.5: Amazon Simple Storage Service SDK.

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

Network.AWS.S3.GetBucketNotificationConfiguration

Contents

Description

Returns the notification configuration of a bucket.

Synopsis

Creating a Request

getBucketNotificationConfiguration Source #

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

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

  • gbncBucket - Name of the bucket to get the notification configuration for.

data GetBucketNotificationConfiguration Source #

See: getBucketNotificationConfiguration smart constructor.

Instances

Eq GetBucketNotificationConfiguration Source # 
Data GetBucketNotificationConfiguration Source # 

Methods

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

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

toConstr :: GetBucketNotificationConfiguration -> Constr #

dataTypeOf :: GetBucketNotificationConfiguration -> DataType #

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

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

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

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

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

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

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

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

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

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

Read GetBucketNotificationConfiguration Source # 
Show GetBucketNotificationConfiguration Source # 
Generic GetBucketNotificationConfiguration Source # 
Hashable GetBucketNotificationConfiguration Source # 
NFData GetBucketNotificationConfiguration Source # 
AWSRequest GetBucketNotificationConfiguration Source # 
ToPath GetBucketNotificationConfiguration Source # 
ToHeaders GetBucketNotificationConfiguration Source # 
ToQuery GetBucketNotificationConfiguration Source # 
type Rep GetBucketNotificationConfiguration Source # 
type Rep GetBucketNotificationConfiguration = D1 (MetaData "GetBucketNotificationConfiguration" "Network.AWS.S3.GetBucketNotificationConfiguration" "amazonka-s3-1.4.5-2ONtLrikxBNLJwnoUGaFyq" True) (C1 (MetaCons "GetBucketNotificationConfiguration'" PrefixI True) (S1 (MetaSel (Just Symbol "_gbncBucket") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 BucketName)))
type Rs GetBucketNotificationConfiguration Source # 

Request Lenses

gbncBucket :: Lens' GetBucketNotificationConfiguration BucketName Source #

Name of the bucket to get the notification configuration for.

Destructuring the Response

notificationConfiguration :: NotificationConfiguration Source #

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

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

data NotificationConfiguration Source #

Container for specifying the notification configuration of the bucket. If this element is empty, notifications are turned off on the bucket.

See: notificationConfiguration smart constructor.

Instances

Eq NotificationConfiguration Source # 
Data NotificationConfiguration Source # 

Methods

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

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

toConstr :: NotificationConfiguration -> Constr #

dataTypeOf :: NotificationConfiguration -> DataType #

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

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

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

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

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

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

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

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

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

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

Read NotificationConfiguration Source # 
Show NotificationConfiguration Source # 
Generic NotificationConfiguration Source # 
Hashable NotificationConfiguration Source # 
NFData NotificationConfiguration Source # 
FromXML NotificationConfiguration Source # 
ToXML NotificationConfiguration Source # 
type Rep NotificationConfiguration Source # 
type Rep NotificationConfiguration = D1 (MetaData "NotificationConfiguration" "Network.AWS.S3.Types.Product" "amazonka-s3-1.4.5-2ONtLrikxBNLJwnoUGaFyq" False) (C1 (MetaCons "NotificationConfiguration'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_ncQueueConfigurations") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [QueueConfiguration]))) ((:*:) (S1 (MetaSel (Just Symbol "_ncTopicConfigurations") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [TopicConfiguration]))) (S1 (MetaSel (Just Symbol "_ncLambdaFunctionConfigurations") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [LambdaFunctionConfiguration]))))))

Response Lenses