amazonka-redshift-2.0: Amazon Redshift 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.Redshift.DisableSnapshotCopy

Description

Disables the automatic copying of snapshots from one region to another region for a specified cluster.

If your cluster and its snapshots are encrypted using an encrypted symmetric key from Key Management Service, use DeleteSnapshotCopyGrant to delete the grant that grants Amazon Redshift permission to the key in the destination region.

Synopsis

Creating a Request

data DisableSnapshotCopy Source #

See: newDisableSnapshotCopy smart constructor.

Constructors

DisableSnapshotCopy' 

Fields

  • clusterIdentifier :: Text

    The unique identifier of the source cluster that you want to disable copying of snapshots to a destination region.

    Constraints: Must be the valid name of an existing cluster that has cross-region snapshot copy enabled.

Instances

Instances details
ToHeaders DisableSnapshotCopy Source # 
Instance details

Defined in Amazonka.Redshift.DisableSnapshotCopy

ToPath DisableSnapshotCopy Source # 
Instance details

Defined in Amazonka.Redshift.DisableSnapshotCopy

ToQuery DisableSnapshotCopy Source # 
Instance details

Defined in Amazonka.Redshift.DisableSnapshotCopy

AWSRequest DisableSnapshotCopy Source # 
Instance details

Defined in Amazonka.Redshift.DisableSnapshotCopy

Associated Types

type AWSResponse DisableSnapshotCopy #

Generic DisableSnapshotCopy Source # 
Instance details

Defined in Amazonka.Redshift.DisableSnapshotCopy

Associated Types

type Rep DisableSnapshotCopy :: Type -> Type #

Read DisableSnapshotCopy Source # 
Instance details

Defined in Amazonka.Redshift.DisableSnapshotCopy

Show DisableSnapshotCopy Source # 
Instance details

Defined in Amazonka.Redshift.DisableSnapshotCopy

NFData DisableSnapshotCopy Source # 
Instance details

Defined in Amazonka.Redshift.DisableSnapshotCopy

Methods

rnf :: DisableSnapshotCopy -> () #

Eq DisableSnapshotCopy Source # 
Instance details

Defined in Amazonka.Redshift.DisableSnapshotCopy

Hashable DisableSnapshotCopy Source # 
Instance details

Defined in Amazonka.Redshift.DisableSnapshotCopy

type AWSResponse DisableSnapshotCopy Source # 
Instance details

Defined in Amazonka.Redshift.DisableSnapshotCopy

type Rep DisableSnapshotCopy Source # 
Instance details

Defined in Amazonka.Redshift.DisableSnapshotCopy

type Rep DisableSnapshotCopy = D1 ('MetaData "DisableSnapshotCopy" "Amazonka.Redshift.DisableSnapshotCopy" "amazonka-redshift-2.0-4tocKxBWIuj2GdXa6djdUl" 'False) (C1 ('MetaCons "DisableSnapshotCopy'" 'PrefixI 'True) (S1 ('MetaSel ('Just "clusterIdentifier") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newDisableSnapshotCopy Source #

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

DisableSnapshotCopy, disableSnapshotCopy_clusterIdentifier - The unique identifier of the source cluster that you want to disable copying of snapshots to a destination region.

Constraints: Must be the valid name of an existing cluster that has cross-region snapshot copy enabled.

Request Lenses

disableSnapshotCopy_clusterIdentifier :: Lens' DisableSnapshotCopy Text Source #

The unique identifier of the source cluster that you want to disable copying of snapshots to a destination region.

Constraints: Must be the valid name of an existing cluster that has cross-region snapshot copy enabled.

Destructuring the Response

data DisableSnapshotCopyResponse Source #

See: newDisableSnapshotCopyResponse smart constructor.

Constructors

DisableSnapshotCopyResponse' 

Fields

Instances

Instances details
Generic DisableSnapshotCopyResponse Source # 
Instance details

Defined in Amazonka.Redshift.DisableSnapshotCopy

Associated Types

type Rep DisableSnapshotCopyResponse :: Type -> Type #

Read DisableSnapshotCopyResponse Source # 
Instance details

Defined in Amazonka.Redshift.DisableSnapshotCopy

Show DisableSnapshotCopyResponse Source # 
Instance details

Defined in Amazonka.Redshift.DisableSnapshotCopy

NFData DisableSnapshotCopyResponse Source # 
Instance details

Defined in Amazonka.Redshift.DisableSnapshotCopy

Eq DisableSnapshotCopyResponse Source # 
Instance details

Defined in Amazonka.Redshift.DisableSnapshotCopy

type Rep DisableSnapshotCopyResponse Source # 
Instance details

Defined in Amazonka.Redshift.DisableSnapshotCopy

type Rep DisableSnapshotCopyResponse = D1 ('MetaData "DisableSnapshotCopyResponse" "Amazonka.Redshift.DisableSnapshotCopy" "amazonka-redshift-2.0-4tocKxBWIuj2GdXa6djdUl" 'False) (C1 ('MetaCons "DisableSnapshotCopyResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "cluster") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Cluster)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newDisableSnapshotCopyResponse Source #

Create a value of DisableSnapshotCopyResponse 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:cluster:DisableSnapshotCopyResponse', disableSnapshotCopyResponse_cluster - Undocumented member.

$sel:httpStatus:DisableSnapshotCopyResponse', disableSnapshotCopyResponse_httpStatus - The response's http status code.

Response Lenses