amazonka-ec2-2.0: Amazon Elastic Compute Cloud 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.EC2.DescribeFastSnapshotRestores

Description

Describes the state of fast snapshot restores for your snapshots.

This operation returns paginated results.

Synopsis

Creating a Request

data DescribeFastSnapshotRestores Source #

See: newDescribeFastSnapshotRestores smart constructor.

Constructors

DescribeFastSnapshotRestores' 

Fields

  • dryRun :: Maybe Bool

    Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

  • filters :: Maybe [Filter]

    The filters. The possible values are:

    • availability-zone: The Availability Zone of the snapshot.
    • owner-id: The ID of the Amazon Web Services account that enabled fast snapshot restore on the snapshot.
    • snapshot-id: The ID of the snapshot.
    • state: The state of fast snapshot restores for the snapshot (enabling | optimizing | enabled | disabling | disabled).
  • maxResults :: Maybe Natural

    The maximum number of results to return with a single call. To retrieve the remaining results, make another call with the returned nextToken value.

  • nextToken :: Maybe Text

    The token for the next page of results.

Instances

Instances details
ToHeaders DescribeFastSnapshotRestores Source # 
Instance details

Defined in Amazonka.EC2.DescribeFastSnapshotRestores

ToPath DescribeFastSnapshotRestores Source # 
Instance details

Defined in Amazonka.EC2.DescribeFastSnapshotRestores

ToQuery DescribeFastSnapshotRestores Source # 
Instance details

Defined in Amazonka.EC2.DescribeFastSnapshotRestores

AWSPager DescribeFastSnapshotRestores Source # 
Instance details

Defined in Amazonka.EC2.DescribeFastSnapshotRestores

AWSRequest DescribeFastSnapshotRestores Source # 
Instance details

Defined in Amazonka.EC2.DescribeFastSnapshotRestores

Generic DescribeFastSnapshotRestores Source # 
Instance details

Defined in Amazonka.EC2.DescribeFastSnapshotRestores

Associated Types

type Rep DescribeFastSnapshotRestores :: Type -> Type #

Read DescribeFastSnapshotRestores Source # 
Instance details

Defined in Amazonka.EC2.DescribeFastSnapshotRestores

Show DescribeFastSnapshotRestores Source # 
Instance details

Defined in Amazonka.EC2.DescribeFastSnapshotRestores

NFData DescribeFastSnapshotRestores Source # 
Instance details

Defined in Amazonka.EC2.DescribeFastSnapshotRestores

Eq DescribeFastSnapshotRestores Source # 
Instance details

Defined in Amazonka.EC2.DescribeFastSnapshotRestores

Hashable DescribeFastSnapshotRestores Source # 
Instance details

Defined in Amazonka.EC2.DescribeFastSnapshotRestores

type AWSResponse DescribeFastSnapshotRestores Source # 
Instance details

Defined in Amazonka.EC2.DescribeFastSnapshotRestores

type Rep DescribeFastSnapshotRestores Source # 
Instance details

Defined in Amazonka.EC2.DescribeFastSnapshotRestores

type Rep DescribeFastSnapshotRestores = D1 ('MetaData "DescribeFastSnapshotRestores" "Amazonka.EC2.DescribeFastSnapshotRestores" "amazonka-ec2-2.0-48L9RAJvmvzAdBkRegqWCL" 'False) (C1 ('MetaCons "DescribeFastSnapshotRestores'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "dryRun") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "filters") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Filter]))) :*: (S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

newDescribeFastSnapshotRestores :: DescribeFastSnapshotRestores Source #

Create a value of DescribeFastSnapshotRestores 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:dryRun:DescribeFastSnapshotRestores', describeFastSnapshotRestores_dryRun - Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

$sel:filters:DescribeFastSnapshotRestores', describeFastSnapshotRestores_filters - The filters. The possible values are:

  • availability-zone: The Availability Zone of the snapshot.
  • owner-id: The ID of the Amazon Web Services account that enabled fast snapshot restore on the snapshot.
  • snapshot-id: The ID of the snapshot.
  • state: The state of fast snapshot restores for the snapshot (enabling | optimizing | enabled | disabling | disabled).

$sel:maxResults:DescribeFastSnapshotRestores', describeFastSnapshotRestores_maxResults - The maximum number of results to return with a single call. To retrieve the remaining results, make another call with the returned nextToken value.

DescribeFastSnapshotRestores, describeFastSnapshotRestores_nextToken - The token for the next page of results.

Request Lenses

describeFastSnapshotRestores_dryRun :: Lens' DescribeFastSnapshotRestores (Maybe Bool) Source #

Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

describeFastSnapshotRestores_filters :: Lens' DescribeFastSnapshotRestores (Maybe [Filter]) Source #

The filters. The possible values are:

  • availability-zone: The Availability Zone of the snapshot.
  • owner-id: The ID of the Amazon Web Services account that enabled fast snapshot restore on the snapshot.
  • snapshot-id: The ID of the snapshot.
  • state: The state of fast snapshot restores for the snapshot (enabling | optimizing | enabled | disabling | disabled).

describeFastSnapshotRestores_maxResults :: Lens' DescribeFastSnapshotRestores (Maybe Natural) Source #

The maximum number of results to return with a single call. To retrieve the remaining results, make another call with the returned nextToken value.

Destructuring the Response

data DescribeFastSnapshotRestoresResponse Source #

Constructors

DescribeFastSnapshotRestoresResponse' 

Fields

Instances

Instances details
Generic DescribeFastSnapshotRestoresResponse Source # 
Instance details

Defined in Amazonka.EC2.DescribeFastSnapshotRestores

Read DescribeFastSnapshotRestoresResponse Source # 
Instance details

Defined in Amazonka.EC2.DescribeFastSnapshotRestores

Show DescribeFastSnapshotRestoresResponse Source # 
Instance details

Defined in Amazonka.EC2.DescribeFastSnapshotRestores

NFData DescribeFastSnapshotRestoresResponse Source # 
Instance details

Defined in Amazonka.EC2.DescribeFastSnapshotRestores

Eq DescribeFastSnapshotRestoresResponse Source # 
Instance details

Defined in Amazonka.EC2.DescribeFastSnapshotRestores

type Rep DescribeFastSnapshotRestoresResponse Source # 
Instance details

Defined in Amazonka.EC2.DescribeFastSnapshotRestores

type Rep DescribeFastSnapshotRestoresResponse = D1 ('MetaData "DescribeFastSnapshotRestoresResponse" "Amazonka.EC2.DescribeFastSnapshotRestores" "amazonka-ec2-2.0-48L9RAJvmvzAdBkRegqWCL" 'False) (C1 ('MetaCons "DescribeFastSnapshotRestoresResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fastSnapshotRestores") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [DescribeFastSnapshotRestoreSuccessItem])) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newDescribeFastSnapshotRestoresResponse Source #

Create a value of DescribeFastSnapshotRestoresResponse 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:fastSnapshotRestores:DescribeFastSnapshotRestoresResponse', describeFastSnapshotRestoresResponse_fastSnapshotRestores - Information about the state of fast snapshot restores.

DescribeFastSnapshotRestores, describeFastSnapshotRestoresResponse_nextToken - The token to use to retrieve the next page of results. This value is null when there are no more results to return.

$sel:httpStatus:DescribeFastSnapshotRestoresResponse', describeFastSnapshotRestoresResponse_httpStatus - The response's http status code.

Response Lenses

describeFastSnapshotRestoresResponse_nextToken :: Lens' DescribeFastSnapshotRestoresResponse (Maybe Text) Source #

The token to use to retrieve the next page of results. This value is null when there are no more results to return.