amazonka-redshift-serverless-2.0: Amazon Redshift Serverless 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.RedshiftServerLess.GetSnapshot

Description

Returns information about a specific snapshot.

Synopsis

Creating a Request

data GetSnapshot Source #

See: newGetSnapshot smart constructor.

Constructors

GetSnapshot' 

Fields

Instances

Instances details
ToJSON GetSnapshot Source # 
Instance details

Defined in Amazonka.RedshiftServerLess.GetSnapshot

ToHeaders GetSnapshot Source # 
Instance details

Defined in Amazonka.RedshiftServerLess.GetSnapshot

Methods

toHeaders :: GetSnapshot -> [Header] #

ToPath GetSnapshot Source # 
Instance details

Defined in Amazonka.RedshiftServerLess.GetSnapshot

ToQuery GetSnapshot Source # 
Instance details

Defined in Amazonka.RedshiftServerLess.GetSnapshot

AWSRequest GetSnapshot Source # 
Instance details

Defined in Amazonka.RedshiftServerLess.GetSnapshot

Associated Types

type AWSResponse GetSnapshot #

Generic GetSnapshot Source # 
Instance details

Defined in Amazonka.RedshiftServerLess.GetSnapshot

Associated Types

type Rep GetSnapshot :: Type -> Type #

Read GetSnapshot Source # 
Instance details

Defined in Amazonka.RedshiftServerLess.GetSnapshot

Show GetSnapshot Source # 
Instance details

Defined in Amazonka.RedshiftServerLess.GetSnapshot

NFData GetSnapshot Source # 
Instance details

Defined in Amazonka.RedshiftServerLess.GetSnapshot

Methods

rnf :: GetSnapshot -> () #

Eq GetSnapshot Source # 
Instance details

Defined in Amazonka.RedshiftServerLess.GetSnapshot

Hashable GetSnapshot Source # 
Instance details

Defined in Amazonka.RedshiftServerLess.GetSnapshot

type AWSResponse GetSnapshot Source # 
Instance details

Defined in Amazonka.RedshiftServerLess.GetSnapshot

type Rep GetSnapshot Source # 
Instance details

Defined in Amazonka.RedshiftServerLess.GetSnapshot

type Rep GetSnapshot = D1 ('MetaData "GetSnapshot" "Amazonka.RedshiftServerLess.GetSnapshot" "amazonka-redshift-serverless-2.0-ApuSN33KEWs53jvwyBa3sl" 'False) (C1 ('MetaCons "GetSnapshot'" 'PrefixI 'True) (S1 ('MetaSel ('Just "ownerAccount") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "snapshotArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "snapshotName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

newGetSnapshot :: GetSnapshot Source #

Create a value of GetSnapshot 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:

GetSnapshot, getSnapshot_ownerAccount - The owner Amazon Web Services account of a snapshot shared with another user.

GetSnapshot, getSnapshot_snapshotArn - The Amazon Resource Name (ARN) of the snapshot to return.

GetSnapshot, getSnapshot_snapshotName - The name of the snapshot to return.

Request Lenses

getSnapshot_ownerAccount :: Lens' GetSnapshot (Maybe Text) Source #

The owner Amazon Web Services account of a snapshot shared with another user.

getSnapshot_snapshotArn :: Lens' GetSnapshot (Maybe Text) Source #

The Amazon Resource Name (ARN) of the snapshot to return.

getSnapshot_snapshotName :: Lens' GetSnapshot (Maybe Text) Source #

The name of the snapshot to return.

Destructuring the Response

data GetSnapshotResponse Source #

See: newGetSnapshotResponse smart constructor.

Constructors

GetSnapshotResponse' 

Fields

Instances

Instances details
Generic GetSnapshotResponse Source # 
Instance details

Defined in Amazonka.RedshiftServerLess.GetSnapshot

Associated Types

type Rep GetSnapshotResponse :: Type -> Type #

Read GetSnapshotResponse Source # 
Instance details

Defined in Amazonka.RedshiftServerLess.GetSnapshot

Show GetSnapshotResponse Source # 
Instance details

Defined in Amazonka.RedshiftServerLess.GetSnapshot

NFData GetSnapshotResponse Source # 
Instance details

Defined in Amazonka.RedshiftServerLess.GetSnapshot

Methods

rnf :: GetSnapshotResponse -> () #

Eq GetSnapshotResponse Source # 
Instance details

Defined in Amazonka.RedshiftServerLess.GetSnapshot

type Rep GetSnapshotResponse Source # 
Instance details

Defined in Amazonka.RedshiftServerLess.GetSnapshot

type Rep GetSnapshotResponse = D1 ('MetaData "GetSnapshotResponse" "Amazonka.RedshiftServerLess.GetSnapshot" "amazonka-redshift-serverless-2.0-ApuSN33KEWs53jvwyBa3sl" 'False) (C1 ('MetaCons "GetSnapshotResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "snapshot") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Snapshot)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newGetSnapshotResponse Source #

Create a value of GetSnapshotResponse 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:snapshot:GetSnapshotResponse', getSnapshotResponse_snapshot - The returned snapshot object.

$sel:httpStatus:GetSnapshotResponse', getSnapshotResponse_httpStatus - The response's http status code.

Response Lenses