libZSservicesZSamazonka-lightsailZSamazonka-lightsail
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.Lightsail.GetDiskSnapshot

Description

Returns information about a specific block storage disk snapshot.

Synopsis

Creating a Request

data GetDiskSnapshot Source #

See: newGetDiskSnapshot smart constructor.

Constructors

GetDiskSnapshot' 

Fields

Instances

Instances details
Eq GetDiskSnapshot Source # 
Instance details

Defined in Amazonka.Lightsail.GetDiskSnapshot

Read GetDiskSnapshot Source # 
Instance details

Defined in Amazonka.Lightsail.GetDiskSnapshot

Show GetDiskSnapshot Source # 
Instance details

Defined in Amazonka.Lightsail.GetDiskSnapshot

Generic GetDiskSnapshot Source # 
Instance details

Defined in Amazonka.Lightsail.GetDiskSnapshot

Associated Types

type Rep GetDiskSnapshot :: Type -> Type #

NFData GetDiskSnapshot Source # 
Instance details

Defined in Amazonka.Lightsail.GetDiskSnapshot

Methods

rnf :: GetDiskSnapshot -> () #

Hashable GetDiskSnapshot Source # 
Instance details

Defined in Amazonka.Lightsail.GetDiskSnapshot

ToJSON GetDiskSnapshot Source # 
Instance details

Defined in Amazonka.Lightsail.GetDiskSnapshot

AWSRequest GetDiskSnapshot Source # 
Instance details

Defined in Amazonka.Lightsail.GetDiskSnapshot

Associated Types

type AWSResponse GetDiskSnapshot #

ToHeaders GetDiskSnapshot Source # 
Instance details

Defined in Amazonka.Lightsail.GetDiskSnapshot

ToPath GetDiskSnapshot Source # 
Instance details

Defined in Amazonka.Lightsail.GetDiskSnapshot

ToQuery GetDiskSnapshot Source # 
Instance details

Defined in Amazonka.Lightsail.GetDiskSnapshot

type Rep GetDiskSnapshot Source # 
Instance details

Defined in Amazonka.Lightsail.GetDiskSnapshot

type Rep GetDiskSnapshot = D1 ('MetaData "GetDiskSnapshot" "Amazonka.Lightsail.GetDiskSnapshot" "libZSservicesZSamazonka-lightsailZSamazonka-lightsail" 'False) (C1 ('MetaCons "GetDiskSnapshot'" 'PrefixI 'True) (S1 ('MetaSel ('Just "diskSnapshotName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse GetDiskSnapshot Source # 
Instance details

Defined in Amazonka.Lightsail.GetDiskSnapshot

newGetDiskSnapshot Source #

Create a value of GetDiskSnapshot 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:diskSnapshotName:GetDiskSnapshot', getDiskSnapshot_diskSnapshotName - The name of the disk snapshot (e.g., my-disk-snapshot).

Request Lenses

getDiskSnapshot_diskSnapshotName :: Lens' GetDiskSnapshot Text Source #

The name of the disk snapshot (e.g., my-disk-snapshot).

Destructuring the Response

data GetDiskSnapshotResponse Source #

See: newGetDiskSnapshotResponse smart constructor.

Constructors

GetDiskSnapshotResponse' 

Fields

Instances

Instances details
Eq GetDiskSnapshotResponse Source # 
Instance details

Defined in Amazonka.Lightsail.GetDiskSnapshot

Read GetDiskSnapshotResponse Source # 
Instance details

Defined in Amazonka.Lightsail.GetDiskSnapshot

Show GetDiskSnapshotResponse Source # 
Instance details

Defined in Amazonka.Lightsail.GetDiskSnapshot

Generic GetDiskSnapshotResponse Source # 
Instance details

Defined in Amazonka.Lightsail.GetDiskSnapshot

Associated Types

type Rep GetDiskSnapshotResponse :: Type -> Type #

NFData GetDiskSnapshotResponse Source # 
Instance details

Defined in Amazonka.Lightsail.GetDiskSnapshot

Methods

rnf :: GetDiskSnapshotResponse -> () #

type Rep GetDiskSnapshotResponse Source # 
Instance details

Defined in Amazonka.Lightsail.GetDiskSnapshot

type Rep GetDiskSnapshotResponse = D1 ('MetaData "GetDiskSnapshotResponse" "Amazonka.Lightsail.GetDiskSnapshot" "libZSservicesZSamazonka-lightsailZSamazonka-lightsail" 'False) (C1 ('MetaCons "GetDiskSnapshotResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "diskSnapshot") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe DiskSnapshot)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newGetDiskSnapshotResponse Source #

Create a value of GetDiskSnapshotResponse 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:diskSnapshot:GetDiskSnapshotResponse', getDiskSnapshotResponse_diskSnapshot - An object containing information about the disk snapshot.

$sel:httpStatus:GetDiskSnapshotResponse', getDiskSnapshotResponse_httpStatus - The response's http status code.

Response Lenses

getDiskSnapshotResponse_diskSnapshot :: Lens' GetDiskSnapshotResponse (Maybe DiskSnapshot) Source #

An object containing information about the disk snapshot.