amazonka-lightsail-2.0: Amazon Lightsail SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.Lightsail.GetInstanceSnapshot

Description

Returns information about a specific instance snapshot.

Synopsis

Creating a Request

data GetInstanceSnapshot Source #

See: newGetInstanceSnapshot smart constructor.

Constructors

GetInstanceSnapshot' 

Fields

Instances

Instances details
ToJSON GetInstanceSnapshot Source # 
Instance details

Defined in Amazonka.Lightsail.GetInstanceSnapshot

ToHeaders GetInstanceSnapshot Source # 
Instance details

Defined in Amazonka.Lightsail.GetInstanceSnapshot

ToPath GetInstanceSnapshot Source # 
Instance details

Defined in Amazonka.Lightsail.GetInstanceSnapshot

ToQuery GetInstanceSnapshot Source # 
Instance details

Defined in Amazonka.Lightsail.GetInstanceSnapshot

AWSRequest GetInstanceSnapshot Source # 
Instance details

Defined in Amazonka.Lightsail.GetInstanceSnapshot

Associated Types

type AWSResponse GetInstanceSnapshot #

Generic GetInstanceSnapshot Source # 
Instance details

Defined in Amazonka.Lightsail.GetInstanceSnapshot

Associated Types

type Rep GetInstanceSnapshot :: Type -> Type #

Read GetInstanceSnapshot Source # 
Instance details

Defined in Amazonka.Lightsail.GetInstanceSnapshot

Show GetInstanceSnapshot Source # 
Instance details

Defined in Amazonka.Lightsail.GetInstanceSnapshot

NFData GetInstanceSnapshot Source # 
Instance details

Defined in Amazonka.Lightsail.GetInstanceSnapshot

Methods

rnf :: GetInstanceSnapshot -> () #

Eq GetInstanceSnapshot Source # 
Instance details

Defined in Amazonka.Lightsail.GetInstanceSnapshot

Hashable GetInstanceSnapshot Source # 
Instance details

Defined in Amazonka.Lightsail.GetInstanceSnapshot

type AWSResponse GetInstanceSnapshot Source # 
Instance details

Defined in Amazonka.Lightsail.GetInstanceSnapshot

type Rep GetInstanceSnapshot Source # 
Instance details

Defined in Amazonka.Lightsail.GetInstanceSnapshot

type Rep GetInstanceSnapshot = D1 ('MetaData "GetInstanceSnapshot" "Amazonka.Lightsail.GetInstanceSnapshot" "amazonka-lightsail-2.0-77hvsZhtZFxFduYae8QaN0" 'False) (C1 ('MetaCons "GetInstanceSnapshot'" 'PrefixI 'True) (S1 ('MetaSel ('Just "instanceSnapshotName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newGetInstanceSnapshot Source #

Create a value of GetInstanceSnapshot 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:instanceSnapshotName:GetInstanceSnapshot', getInstanceSnapshot_instanceSnapshotName - The name of the snapshot for which you are requesting information.

Request Lenses

getInstanceSnapshot_instanceSnapshotName :: Lens' GetInstanceSnapshot Text Source #

The name of the snapshot for which you are requesting information.

Destructuring the Response

data GetInstanceSnapshotResponse Source #

See: newGetInstanceSnapshotResponse smart constructor.

Constructors

GetInstanceSnapshotResponse' 

Fields

Instances

Instances details
Generic GetInstanceSnapshotResponse Source # 
Instance details

Defined in Amazonka.Lightsail.GetInstanceSnapshot

Associated Types

type Rep GetInstanceSnapshotResponse :: Type -> Type #

Read GetInstanceSnapshotResponse Source # 
Instance details

Defined in Amazonka.Lightsail.GetInstanceSnapshot

Show GetInstanceSnapshotResponse Source # 
Instance details

Defined in Amazonka.Lightsail.GetInstanceSnapshot

NFData GetInstanceSnapshotResponse Source # 
Instance details

Defined in Amazonka.Lightsail.GetInstanceSnapshot

Eq GetInstanceSnapshotResponse Source # 
Instance details

Defined in Amazonka.Lightsail.GetInstanceSnapshot

type Rep GetInstanceSnapshotResponse Source # 
Instance details

Defined in Amazonka.Lightsail.GetInstanceSnapshot

type Rep GetInstanceSnapshotResponse = D1 ('MetaData "GetInstanceSnapshotResponse" "Amazonka.Lightsail.GetInstanceSnapshot" "amazonka-lightsail-2.0-77hvsZhtZFxFduYae8QaN0" 'False) (C1 ('MetaCons "GetInstanceSnapshotResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "instanceSnapshot") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe InstanceSnapshot)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newGetInstanceSnapshotResponse Source #

Create a value of GetInstanceSnapshotResponse 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:instanceSnapshot:GetInstanceSnapshotResponse', getInstanceSnapshotResponse_instanceSnapshot - An array of key-value pairs containing information about the results of your get instance snapshot request.

$sel:httpStatus:GetInstanceSnapshotResponse', getInstanceSnapshotResponse_httpStatus - The response's http status code.

Response Lenses

getInstanceSnapshotResponse_instanceSnapshot :: Lens' GetInstanceSnapshotResponse (Maybe InstanceSnapshot) Source #

An array of key-value pairs containing information about the results of your get instance snapshot request.