Copyright | (c) 2013-2021 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 |
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 dsitribution.
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.
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.
GetDistributionBundlesResponse' | |
|
Instances
Eq GetDistributionBundlesResponse Source # | |
Read GetDistributionBundlesResponse Source # | |
Show GetDistributionBundlesResponse Source # | |
Defined in Amazonka.Lightsail.GetDistributionBundles | |
Generic GetDistributionBundlesResponse Source # | |
NFData GetDistributionBundlesResponse Source # | |
Defined in Amazonka.Lightsail.GetDistributionBundles rnf :: GetDistributionBundlesResponse -> () # | |
type Rep GetDistributionBundlesResponse Source # | |
Defined in Amazonka.Lightsail.GetDistributionBundles type Rep GetDistributionBundlesResponse = D1 ('MetaData "GetDistributionBundlesResponse" "Amazonka.Lightsail.GetDistributionBundles" "libZSservicesZSamazonka-lightsailZSamazonka-lightsail" 'False) (C1 ('MetaCons "GetDistributionBundlesResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "bundles") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [DistributionBundle])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
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.