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.GetAutoSnapshots

Description

Returns the available automatic snapshots for an instance or disk. For more information, see the Amazon Lightsail Developer Guide.

Synopsis

Creating a Request

data GetAutoSnapshots Source #

See: newGetAutoSnapshots smart constructor.

Constructors

GetAutoSnapshots' 

Fields

  • resourceName :: Text

    The name of the source instance or disk from which to get automatic snapshot information.

Instances

Instances details
Eq GetAutoSnapshots Source # 
Instance details

Defined in Amazonka.Lightsail.GetAutoSnapshots

Read GetAutoSnapshots Source # 
Instance details

Defined in Amazonka.Lightsail.GetAutoSnapshots

Show GetAutoSnapshots Source # 
Instance details

Defined in Amazonka.Lightsail.GetAutoSnapshots

Generic GetAutoSnapshots Source # 
Instance details

Defined in Amazonka.Lightsail.GetAutoSnapshots

Associated Types

type Rep GetAutoSnapshots :: Type -> Type #

NFData GetAutoSnapshots Source # 
Instance details

Defined in Amazonka.Lightsail.GetAutoSnapshots

Methods

rnf :: GetAutoSnapshots -> () #

Hashable GetAutoSnapshots Source # 
Instance details

Defined in Amazonka.Lightsail.GetAutoSnapshots

ToJSON GetAutoSnapshots Source # 
Instance details

Defined in Amazonka.Lightsail.GetAutoSnapshots

AWSRequest GetAutoSnapshots Source # 
Instance details

Defined in Amazonka.Lightsail.GetAutoSnapshots

Associated Types

type AWSResponse GetAutoSnapshots #

ToHeaders GetAutoSnapshots Source # 
Instance details

Defined in Amazonka.Lightsail.GetAutoSnapshots

ToPath GetAutoSnapshots Source # 
Instance details

Defined in Amazonka.Lightsail.GetAutoSnapshots

ToQuery GetAutoSnapshots Source # 
Instance details

Defined in Amazonka.Lightsail.GetAutoSnapshots

type Rep GetAutoSnapshots Source # 
Instance details

Defined in Amazonka.Lightsail.GetAutoSnapshots

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

Defined in Amazonka.Lightsail.GetAutoSnapshots

newGetAutoSnapshots Source #

Create a value of GetAutoSnapshots 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:resourceName:GetAutoSnapshots', getAutoSnapshots_resourceName - The name of the source instance or disk from which to get automatic snapshot information.

Request Lenses

getAutoSnapshots_resourceName :: Lens' GetAutoSnapshots Text Source #

The name of the source instance or disk from which to get automatic snapshot information.

Destructuring the Response

data GetAutoSnapshotsResponse Source #

See: newGetAutoSnapshotsResponse smart constructor.

Constructors

GetAutoSnapshotsResponse' 

Fields

Instances

Instances details
Eq GetAutoSnapshotsResponse Source # 
Instance details

Defined in Amazonka.Lightsail.GetAutoSnapshots

Read GetAutoSnapshotsResponse Source # 
Instance details

Defined in Amazonka.Lightsail.GetAutoSnapshots

Show GetAutoSnapshotsResponse Source # 
Instance details

Defined in Amazonka.Lightsail.GetAutoSnapshots

Generic GetAutoSnapshotsResponse Source # 
Instance details

Defined in Amazonka.Lightsail.GetAutoSnapshots

Associated Types

type Rep GetAutoSnapshotsResponse :: Type -> Type #

NFData GetAutoSnapshotsResponse Source # 
Instance details

Defined in Amazonka.Lightsail.GetAutoSnapshots

type Rep GetAutoSnapshotsResponse Source # 
Instance details

Defined in Amazonka.Lightsail.GetAutoSnapshots

type Rep GetAutoSnapshotsResponse = D1 ('MetaData "GetAutoSnapshotsResponse" "Amazonka.Lightsail.GetAutoSnapshots" "libZSservicesZSamazonka-lightsailZSamazonka-lightsail" 'False) (C1 ('MetaCons "GetAutoSnapshotsResponse'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "resourceType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ResourceType)) :*: S1 ('MetaSel ('Just "resourceName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "autoSnapshots") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [AutoSnapshotDetails])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newGetAutoSnapshotsResponse Source #

Create a value of GetAutoSnapshotsResponse 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:resourceType:GetAutoSnapshotsResponse', getAutoSnapshotsResponse_resourceType - The resource type (e.g., Instance or Disk).

$sel:resourceName:GetAutoSnapshots', getAutoSnapshotsResponse_resourceName - The name of the source instance or disk for the automatic snapshots.

$sel:autoSnapshots:GetAutoSnapshotsResponse', getAutoSnapshotsResponse_autoSnapshots - An array of objects that describe the automatic snapshots that are available for the specified source instance or disk.

$sel:httpStatus:GetAutoSnapshotsResponse', getAutoSnapshotsResponse_httpStatus - The response's http status code.

Response Lenses

getAutoSnapshotsResponse_resourceName :: Lens' GetAutoSnapshotsResponse (Maybe Text) Source #

The name of the source instance or disk for the automatic snapshots.

getAutoSnapshotsResponse_autoSnapshots :: Lens' GetAutoSnapshotsResponse (Maybe [AutoSnapshotDetails]) Source #

An array of objects that describe the automatic snapshots that are available for the specified source instance or disk.