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 list of powers that can be specified for your Amazon Lightsail container services.
The power specifies the amount of memory, the number of vCPUs, and the base price of the container service.
Synopsis
- data GetContainerServicePowers = GetContainerServicePowers' {
- newGetContainerServicePowers :: GetContainerServicePowers
- data GetContainerServicePowersResponse = GetContainerServicePowersResponse' {}
- newGetContainerServicePowersResponse :: Int -> GetContainerServicePowersResponse
- getContainerServicePowersResponse_powers :: Lens' GetContainerServicePowersResponse (Maybe [ContainerServicePower])
- getContainerServicePowersResponse_httpStatus :: Lens' GetContainerServicePowersResponse Int
Creating a Request
data GetContainerServicePowers Source #
See: newGetContainerServicePowers
smart constructor.
Instances
newGetContainerServicePowers :: GetContainerServicePowers Source #
Create a value of GetContainerServicePowers
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
Destructuring the Response
data GetContainerServicePowersResponse Source #
See: newGetContainerServicePowersResponse
smart constructor.
GetContainerServicePowersResponse' | |
|
Instances
Eq GetContainerServicePowersResponse Source # | |
Read GetContainerServicePowersResponse Source # | |
Show GetContainerServicePowersResponse Source # | |
Generic GetContainerServicePowersResponse Source # | |
NFData GetContainerServicePowersResponse Source # | |
Defined in Amazonka.Lightsail.GetContainerServicePowers rnf :: GetContainerServicePowersResponse -> () # | |
type Rep GetContainerServicePowersResponse Source # | |
Defined in Amazonka.Lightsail.GetContainerServicePowers type Rep GetContainerServicePowersResponse = D1 ('MetaData "GetContainerServicePowersResponse" "Amazonka.Lightsail.GetContainerServicePowers" "libZSservicesZSamazonka-lightsailZSamazonka-lightsail" 'False) (C1 ('MetaCons "GetContainerServicePowersResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "powers") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [ContainerServicePower])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
newGetContainerServicePowersResponse Source #
Create a value of GetContainerServicePowersResponse
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:powers:GetContainerServicePowersResponse'
, getContainerServicePowersResponse_powers
- An array of objects that describe the powers that can be specified for a
container service.
$sel:httpStatus:GetContainerServicePowersResponse'
, getContainerServicePowersResponse_httpStatus
- The response's http status code.
Response Lenses
getContainerServicePowersResponse_powers :: Lens' GetContainerServicePowersResponse (Maybe [ContainerServicePower]) Source #
An array of objects that describe the powers that can be specified for a container service.
getContainerServicePowersResponse_httpStatus :: Lens' GetContainerServicePowersResponse Int Source #
The response's http status code.