| 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.GetDistributionBundles
Description
Returns the bundles that can be applied to your Amazon Lightsail content delivery network (CDN) distributions.
A distribution bundle specifies the monthly network transfer quota and monthly cost of your distribution.
Synopsis
- data GetDistributionBundles = GetDistributionBundles' {
- newGetDistributionBundles :: GetDistributionBundles
- data GetDistributionBundlesResponse = GetDistributionBundlesResponse' {
- bundles :: Maybe [DistributionBundle]
- httpStatus :: Int
- newGetDistributionBundlesResponse :: Int -> GetDistributionBundlesResponse
- getDistributionBundlesResponse_bundles :: Lens' GetDistributionBundlesResponse (Maybe [DistributionBundle])
- getDistributionBundlesResponse_httpStatus :: Lens' GetDistributionBundlesResponse Int
Creating a Request
data GetDistributionBundles Source #
See: newGetDistributionBundles smart constructor.
Constructors
| GetDistributionBundles' | |
Instances
newGetDistributionBundles :: GetDistributionBundles Source #
Create a value of GetDistributionBundles with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
Destructuring the Response
data GetDistributionBundlesResponse Source #
See: newGetDistributionBundlesResponse smart constructor.
Constructors
| GetDistributionBundlesResponse' | |
Fields
| |
Instances
newGetDistributionBundlesResponse Source #
Create a value of GetDistributionBundlesResponse 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:GetDistributionBundlesResponse', getDistributionBundlesResponse_bundles - An object that describes a distribution bundle.
$sel:httpStatus:GetDistributionBundlesResponse', getDistributionBundlesResponse_httpStatus - The response's http status code.
Response Lenses
getDistributionBundlesResponse_bundles :: Lens' GetDistributionBundlesResponse (Maybe [DistributionBundle]) Source #
An object that describes a distribution bundle.
getDistributionBundlesResponse_httpStatus :: Lens' GetDistributionBundlesResponse Int Source #
The response's http status code.