| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.Lightsail.GetBucketBundles
Description
Returns the bundles that you can apply to a Amazon Lightsail bucket.
The bucket bundle specifies the monthly cost, storage quota, and data transfer quota for a bucket.
Use the UpdateBucketBundle action to update the bundle for a bucket.
Synopsis
- data GetBucketBundles = GetBucketBundles' {}
- newGetBucketBundles :: GetBucketBundles
- getBucketBundles_includeInactive :: Lens' GetBucketBundles (Maybe Bool)
- data GetBucketBundlesResponse = GetBucketBundlesResponse' {
- bundles :: Maybe [BucketBundle]
- httpStatus :: Int
- newGetBucketBundlesResponse :: Int -> GetBucketBundlesResponse
- getBucketBundlesResponse_bundles :: Lens' GetBucketBundlesResponse (Maybe [BucketBundle])
- getBucketBundlesResponse_httpStatus :: Lens' GetBucketBundlesResponse Int
Creating a Request
data GetBucketBundles Source #
See: newGetBucketBundles smart constructor.
Constructors
| GetBucketBundles' | |
Fields
| |
Instances
newGetBucketBundles :: GetBucketBundles Source #
Create a value of GetBucketBundles with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:includeInactive:GetBucketBundles', getBucketBundles_includeInactive - A Boolean value that indicates whether to include inactive (unavailable)
bundles in the response of your request.
Request Lenses
getBucketBundles_includeInactive :: Lens' GetBucketBundles (Maybe Bool) Source #
A Boolean value that indicates whether to include inactive (unavailable) bundles in the response of your request.
Destructuring the Response
data GetBucketBundlesResponse Source #
See: newGetBucketBundlesResponse smart constructor.
Constructors
| GetBucketBundlesResponse' | |
Fields
| |
Instances
newGetBucketBundlesResponse Source #
Create a value of GetBucketBundlesResponse with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:bundles:GetBucketBundlesResponse', getBucketBundlesResponse_bundles - An object that describes bucket bundles.
$sel:httpStatus:GetBucketBundlesResponse', getBucketBundlesResponse_httpStatus - The response's http status code.
Response Lenses
getBucketBundlesResponse_bundles :: Lens' GetBucketBundlesResponse (Maybe [BucketBundle]) Source #
An object that describes bucket bundles.
getBucketBundlesResponse_httpStatus :: Lens' GetBucketBundlesResponse Int Source #
The response's http status code.