| Copyright | (c) 2013-2015 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | None |
| Language | Haskell2010 |
Network.AWS.S3.GetBucketLifecycle
Description
Returns the lifecycle configuration information set on the bucket.
See: AWS API Reference for GetBucketLifecycle.
- getBucketLifecycle :: BucketName -> GetBucketLifecycle
- data GetBucketLifecycle
- gBucket :: Lens' GetBucketLifecycle BucketName
- getBucketLifecycleResponse :: Int -> GetBucketLifecycleResponse
- data GetBucketLifecycleResponse
- gblrsRules :: Lens' GetBucketLifecycleResponse [Rule]
- gblrsStatus :: Lens' GetBucketLifecycleResponse Int
Creating a Request
Arguments
| :: BucketName | |
| -> GetBucketLifecycle |
Creates a value of GetBucketLifecycle with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data GetBucketLifecycle Source
See: getBucketLifecycle smart constructor.
Instances
Request Lenses
gBucket :: Lens' GetBucketLifecycle BucketName Source
Undocumented member.
Destructuring the Response
getBucketLifecycleResponse Source
Arguments
| :: Int | |
| -> GetBucketLifecycleResponse |
Creates a value of GetBucketLifecycleResponse with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data GetBucketLifecycleResponse Source
See: getBucketLifecycleResponse smart constructor.
Response Lenses
gblrsRules :: Lens' GetBucketLifecycleResponse [Rule] Source
Undocumented member.
gblrsStatus :: Lens' GetBucketLifecycleResponse Int Source
The response status code.