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 |
Returns an inventory configuration (identified by the inventory ID) from the bucket.
- getBucketInventoryConfiguration :: BucketName -> Text -> GetBucketInventoryConfiguration
- data GetBucketInventoryConfiguration
- gbicBucket :: Lens' GetBucketInventoryConfiguration BucketName
- gbicId :: Lens' GetBucketInventoryConfiguration Text
- getBucketInventoryConfigurationResponse :: Int -> GetBucketInventoryConfigurationResponse
- data GetBucketInventoryConfigurationResponse
- gbicrsInventoryConfiguration :: Lens' GetBucketInventoryConfigurationResponse (Maybe InventoryConfiguration)
- gbicrsResponseStatus :: Lens' GetBucketInventoryConfigurationResponse Int
Creating a Request
getBucketInventoryConfiguration Source #
Creates a value of GetBucketInventoryConfiguration
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
gbicBucket
- The name of the bucket containing the inventory configuration to retrieve.gbicId
- The ID used to identify the inventory configuration.
data GetBucketInventoryConfiguration Source #
See: getBucketInventoryConfiguration
smart constructor.
Request Lenses
gbicBucket :: Lens' GetBucketInventoryConfiguration BucketName Source #
The name of the bucket containing the inventory configuration to retrieve.
gbicId :: Lens' GetBucketInventoryConfiguration Text Source #
The ID used to identify the inventory configuration.
Destructuring the Response
getBucketInventoryConfigurationResponse Source #
Creates a value of GetBucketInventoryConfigurationResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
gbicrsInventoryConfiguration
- Specifies the inventory configuration.gbicrsResponseStatus
- -- | The response status code.
data GetBucketInventoryConfigurationResponse Source #
See: getBucketInventoryConfigurationResponse
smart constructor.
Response Lenses
gbicrsInventoryConfiguration :: Lens' GetBucketInventoryConfigurationResponse (Maybe InventoryConfiguration) Source #
Specifies the inventory configuration.
gbicrsResponseStatus :: Lens' GetBucketInventoryConfigurationResponse Int Source #
- - | The response status code.