Copyright | (c) 2013-2018 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Returns the notification configuration of a bucket.
Synopsis
- getBucketNotificationConfiguration :: BucketName -> GetBucketNotificationConfiguration
- data GetBucketNotificationConfiguration
- gbncBucket :: Lens' GetBucketNotificationConfiguration BucketName
- notificationConfiguration :: NotificationConfiguration
- data NotificationConfiguration
- ncQueueConfigurations :: Lens' NotificationConfiguration [QueueConfiguration]
- ncTopicConfigurations :: Lens' NotificationConfiguration [TopicConfiguration]
- ncLambdaFunctionConfigurations :: Lens' NotificationConfiguration [LambdaFunctionConfiguration]
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
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:
ncQueueConfigurations
- Undocumented member.ncTopicConfigurations
- Undocumented member.ncLambdaFunctionConfigurations
- Undocumented member.
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
Response Lenses
ncQueueConfigurations :: Lens' NotificationConfiguration [QueueConfiguration] Source #
Undocumented member.
ncTopicConfigurations :: Lens' NotificationConfiguration [TopicConfiguration] Source #
Undocumented member.
ncLambdaFunctionConfigurations :: Lens' NotificationConfiguration [LambdaFunctionConfiguration] Source #
Undocumented member.