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 information about Amazon Lightsail containers, such as the current version of the Lightsail Control (lightsailctl) plugin.
Synopsis
- data GetContainerAPIMetadata = GetContainerAPIMetadata' {
- newGetContainerAPIMetadata :: GetContainerAPIMetadata
- data GetContainerAPIMetadataResponse = GetContainerAPIMetadataResponse' {}
- newGetContainerAPIMetadataResponse :: Int -> GetContainerAPIMetadataResponse
- getContainerAPIMetadataResponse_metadata :: Lens' GetContainerAPIMetadataResponse (Maybe [HashMap Text Text])
- getContainerAPIMetadataResponse_httpStatus :: Lens' GetContainerAPIMetadataResponse Int
Creating a Request
data GetContainerAPIMetadata Source #
See: newGetContainerAPIMetadata
smart constructor.
Instances
newGetContainerAPIMetadata :: GetContainerAPIMetadata Source #
Create a value of GetContainerAPIMetadata
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
Destructuring the Response
data GetContainerAPIMetadataResponse Source #
See: newGetContainerAPIMetadataResponse
smart constructor.
Instances
Eq GetContainerAPIMetadataResponse Source # | |
Read GetContainerAPIMetadataResponse Source # | |
Show GetContainerAPIMetadataResponse Source # | |
Defined in Amazonka.Lightsail.GetContainerAPIMetadata | |
Generic GetContainerAPIMetadataResponse Source # | |
NFData GetContainerAPIMetadataResponse Source # | |
Defined in Amazonka.Lightsail.GetContainerAPIMetadata rnf :: GetContainerAPIMetadataResponse -> () # | |
type Rep GetContainerAPIMetadataResponse Source # | |
Defined in Amazonka.Lightsail.GetContainerAPIMetadata type Rep GetContainerAPIMetadataResponse = D1 ('MetaData "GetContainerAPIMetadataResponse" "Amazonka.Lightsail.GetContainerAPIMetadata" "libZSservicesZSamazonka-lightsailZSamazonka-lightsail" 'False) (C1 ('MetaCons "GetContainerAPIMetadataResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "metadata") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [HashMap Text Text])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
newGetContainerAPIMetadataResponse Source #
Create a value of GetContainerAPIMetadataResponse
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:metadata:GetContainerAPIMetadataResponse'
, getContainerAPIMetadataResponse_metadata
- Metadata about Lightsail containers, such as the current version of the
Lightsail Control (lightsailctl) plugin.
$sel:httpStatus:GetContainerAPIMetadataResponse'
, getContainerAPIMetadataResponse_httpStatus
- The response's http status code.
Response Lenses
getContainerAPIMetadataResponse_metadata :: Lens' GetContainerAPIMetadataResponse (Maybe [HashMap Text Text]) Source #
Metadata about Lightsail containers, such as the current version of the Lightsail Control (lightsailctl) plugin.
getContainerAPIMetadataResponse_httpStatus :: Lens' GetContainerAPIMetadataResponse Int Source #
The response's http status code.