Copyright | (c) 2013-2017 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 |
Sets an analytics configuration for the bucket (specified by the analytics configuration ID).
- putBucketAnalyticsConfiguration :: BucketName -> Text -> AnalyticsConfiguration -> PutBucketAnalyticsConfiguration
- data PutBucketAnalyticsConfiguration
- pBucket :: Lens' PutBucketAnalyticsConfiguration BucketName
- pId :: Lens' PutBucketAnalyticsConfiguration Text
- pAnalyticsConfiguration :: Lens' PutBucketAnalyticsConfiguration AnalyticsConfiguration
- putBucketAnalyticsConfigurationResponse :: PutBucketAnalyticsConfigurationResponse
- data PutBucketAnalyticsConfigurationResponse
Creating a Request
putBucketAnalyticsConfiguration Source #
Creates a value of PutBucketAnalyticsConfiguration
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
pBucket
- The name of the bucket to which an analytics configuration is stored.pId
- The identifier used to represent an analytics configuration.pAnalyticsConfiguration
- The configuration and any analyses for the analytics filter.
data PutBucketAnalyticsConfiguration Source #
See: putBucketAnalyticsConfiguration
smart constructor.
Request Lenses
pBucket :: Lens' PutBucketAnalyticsConfiguration BucketName Source #
The name of the bucket to which an analytics configuration is stored.
pId :: Lens' PutBucketAnalyticsConfiguration Text Source #
The identifier used to represent an analytics configuration.
pAnalyticsConfiguration :: Lens' PutBucketAnalyticsConfiguration AnalyticsConfiguration Source #
The configuration and any analyses for the analytics filter.
Destructuring the Response
putBucketAnalyticsConfigurationResponse :: PutBucketAnalyticsConfigurationResponse Source #
Creates a value of PutBucketAnalyticsConfigurationResponse
with the minimum fields required to make a request.
data PutBucketAnalyticsConfigurationResponse Source #
See: putBucketAnalyticsConfigurationResponse
smart constructor.