amazonka-fsx-2.0: Amazon FSx 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.FSx.UpdateSnapshot

Description

Updates the name of an Amazon FSx for OpenZFS snapshot.

Synopsis

Creating a Request

data UpdateSnapshot Source #

See: newUpdateSnapshot smart constructor.

Constructors

UpdateSnapshot' 

Fields

Instances

Instances details
ToJSON UpdateSnapshot Source # 
Instance details

Defined in Amazonka.FSx.UpdateSnapshot

ToHeaders UpdateSnapshot Source # 
Instance details

Defined in Amazonka.FSx.UpdateSnapshot

ToPath UpdateSnapshot Source # 
Instance details

Defined in Amazonka.FSx.UpdateSnapshot

ToQuery UpdateSnapshot Source # 
Instance details

Defined in Amazonka.FSx.UpdateSnapshot

AWSRequest UpdateSnapshot Source # 
Instance details

Defined in Amazonka.FSx.UpdateSnapshot

Associated Types

type AWSResponse UpdateSnapshot #

Generic UpdateSnapshot Source # 
Instance details

Defined in Amazonka.FSx.UpdateSnapshot

Associated Types

type Rep UpdateSnapshot :: Type -> Type #

Read UpdateSnapshot Source # 
Instance details

Defined in Amazonka.FSx.UpdateSnapshot

Show UpdateSnapshot Source # 
Instance details

Defined in Amazonka.FSx.UpdateSnapshot

NFData UpdateSnapshot Source # 
Instance details

Defined in Amazonka.FSx.UpdateSnapshot

Methods

rnf :: UpdateSnapshot -> () #

Eq UpdateSnapshot Source # 
Instance details

Defined in Amazonka.FSx.UpdateSnapshot

Hashable UpdateSnapshot Source # 
Instance details

Defined in Amazonka.FSx.UpdateSnapshot

type AWSResponse UpdateSnapshot Source # 
Instance details

Defined in Amazonka.FSx.UpdateSnapshot

type Rep UpdateSnapshot Source # 
Instance details

Defined in Amazonka.FSx.UpdateSnapshot

type Rep UpdateSnapshot = D1 ('MetaData "UpdateSnapshot" "Amazonka.FSx.UpdateSnapshot" "amazonka-fsx-2.0-6W1DYEEbHPkD4DJvTvpQG4" 'False) (C1 ('MetaCons "UpdateSnapshot'" 'PrefixI 'True) (S1 ('MetaSel ('Just "clientRequestToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "snapshotId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

newUpdateSnapshot Source #

Create a value of UpdateSnapshot 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:clientRequestToken:UpdateSnapshot', updateSnapshot_clientRequestToken - Undocumented member.

UpdateSnapshot, updateSnapshot_name - The name of the snapshot to update.

UpdateSnapshot, updateSnapshot_snapshotId - The ID of the snapshot that you want to update, in the format fsvolsnap-0123456789abcdef0.

Request Lenses

updateSnapshot_name :: Lens' UpdateSnapshot Text Source #

The name of the snapshot to update.

updateSnapshot_snapshotId :: Lens' UpdateSnapshot Text Source #

The ID of the snapshot that you want to update, in the format fsvolsnap-0123456789abcdef0.

Destructuring the Response

data UpdateSnapshotResponse Source #

See: newUpdateSnapshotResponse smart constructor.

Constructors

UpdateSnapshotResponse' 

Fields

  • snapshot :: Maybe Snapshot

    Returned after a successful UpdateSnapshot operation, describing the snapshot that you updated.

  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Generic UpdateSnapshotResponse Source # 
Instance details

Defined in Amazonka.FSx.UpdateSnapshot

Associated Types

type Rep UpdateSnapshotResponse :: Type -> Type #

Read UpdateSnapshotResponse Source # 
Instance details

Defined in Amazonka.FSx.UpdateSnapshot

Show UpdateSnapshotResponse Source # 
Instance details

Defined in Amazonka.FSx.UpdateSnapshot

NFData UpdateSnapshotResponse Source # 
Instance details

Defined in Amazonka.FSx.UpdateSnapshot

Methods

rnf :: UpdateSnapshotResponse -> () #

Eq UpdateSnapshotResponse Source # 
Instance details

Defined in Amazonka.FSx.UpdateSnapshot

type Rep UpdateSnapshotResponse Source # 
Instance details

Defined in Amazonka.FSx.UpdateSnapshot

type Rep UpdateSnapshotResponse = D1 ('MetaData "UpdateSnapshotResponse" "Amazonka.FSx.UpdateSnapshot" "amazonka-fsx-2.0-6W1DYEEbHPkD4DJvTvpQG4" 'False) (C1 ('MetaCons "UpdateSnapshotResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "snapshot") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Snapshot)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newUpdateSnapshotResponse Source #

Create a value of UpdateSnapshotResponse 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:UpdateSnapshotResponse', updateSnapshotResponse_snapshot - Returned after a successful UpdateSnapshot operation, describing the snapshot that you updated.

$sel:httpStatus:UpdateSnapshotResponse', updateSnapshotResponse_httpStatus - The response's http status code.

Response Lenses

updateSnapshotResponse_snapshot :: Lens' UpdateSnapshotResponse (Maybe Snapshot) Source #

Returned after a successful UpdateSnapshot operation, describing the snapshot that you updated.