| 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 |
Network.AWS.S3.PutBucketInventoryConfiguration
Description
Adds an inventory configuration (identified by the inventory ID) from the bucket.
Synopsis
- putBucketInventoryConfiguration :: BucketName -> Text -> InventoryConfiguration -> PutBucketInventoryConfiguration
- data PutBucketInventoryConfiguration
- pbicBucket :: Lens' PutBucketInventoryConfiguration BucketName
- pbicId :: Lens' PutBucketInventoryConfiguration Text
- pbicInventoryConfiguration :: Lens' PutBucketInventoryConfiguration InventoryConfiguration
- putBucketInventoryConfigurationResponse :: PutBucketInventoryConfigurationResponse
- data PutBucketInventoryConfigurationResponse
Creating a Request
putBucketInventoryConfiguration Source #
Arguments
| :: BucketName | |
| -> Text | |
| -> InventoryConfiguration | |
| -> PutBucketInventoryConfiguration |
Creates a value of PutBucketInventoryConfiguration with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
pbicBucket- The name of the bucket where the inventory configuration will be stored.pbicId- The ID used to identify the inventory configuration.pbicInventoryConfiguration- Specifies the inventory configuration.
data PutBucketInventoryConfiguration Source #
See: putBucketInventoryConfiguration smart constructor.
Instances
Request Lenses
pbicBucket :: Lens' PutBucketInventoryConfiguration BucketName Source #
The name of the bucket where the inventory configuration will be stored.
pbicId :: Lens' PutBucketInventoryConfiguration Text Source #
The ID used to identify the inventory configuration.
pbicInventoryConfiguration :: Lens' PutBucketInventoryConfiguration InventoryConfiguration Source #
Specifies the inventory configuration.
Destructuring the Response
putBucketInventoryConfigurationResponse :: PutBucketInventoryConfigurationResponse Source #
Creates a value of PutBucketInventoryConfigurationResponse with the minimum fields required to make a request.
data PutBucketInventoryConfigurationResponse Source #
See: putBucketInventoryConfigurationResponse smart constructor.