libZSservicesZSamazonka-redshiftZSamazonka-redshift
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.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 a customer master key (CMK) from Key Management Service, use DeleteSnapshotCopyGrant to delete the grant that grants Amazon Redshift permission to the CMK 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
Eq DisableSnapshotCopy Source # 
Instance details

Defined in Amazonka.Redshift.DisableSnapshotCopy

Read DisableSnapshotCopy Source # 
Instance details

Defined in Amazonka.Redshift.DisableSnapshotCopy

Show DisableSnapshotCopy Source # 
Instance details

Defined in Amazonka.Redshift.DisableSnapshotCopy

Generic DisableSnapshotCopy Source # 
Instance details

Defined in Amazonka.Redshift.DisableSnapshotCopy

Associated Types

type Rep DisableSnapshotCopy :: Type -> Type #

NFData DisableSnapshotCopy Source # 
Instance details

Defined in Amazonka.Redshift.DisableSnapshotCopy

Methods

rnf :: DisableSnapshotCopy -> () #

Hashable DisableSnapshotCopy Source # 
Instance details

Defined in Amazonka.Redshift.DisableSnapshotCopy

AWSRequest DisableSnapshotCopy Source # 
Instance details

Defined in Amazonka.Redshift.DisableSnapshotCopy

Associated Types

type AWSResponse DisableSnapshotCopy #

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

type Rep DisableSnapshotCopy Source # 
Instance details

Defined in Amazonka.Redshift.DisableSnapshotCopy

type Rep DisableSnapshotCopy = D1 ('MetaData "DisableSnapshotCopy" "Amazonka.Redshift.DisableSnapshotCopy" "libZSservicesZSamazonka-redshiftZSamazonka-redshift" 'False) (C1 ('MetaCons "DisableSnapshotCopy'" 'PrefixI 'True) (S1 ('MetaSel ('Just "clusterIdentifier") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse DisableSnapshotCopy Source # 
Instance details

Defined in Amazonka.Redshift.DisableSnapshotCopy

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:

$sel:clusterIdentifier: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
Eq DisableSnapshotCopyResponse Source # 
Instance details

Defined in Amazonka.Redshift.DisableSnapshotCopy

Read DisableSnapshotCopyResponse Source # 
Instance details

Defined in Amazonka.Redshift.DisableSnapshotCopy

Show DisableSnapshotCopyResponse Source # 
Instance details

Defined in Amazonka.Redshift.DisableSnapshotCopy

Generic DisableSnapshotCopyResponse Source # 
Instance details

Defined in Amazonka.Redshift.DisableSnapshotCopy

Associated Types

type Rep DisableSnapshotCopyResponse :: Type -> Type #

NFData 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" "libZSservicesZSamazonka-redshiftZSamazonka-redshift" '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