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.Types.ClusterSnapshotCopyStatus

Description

 
Synopsis

Documentation

data ClusterSnapshotCopyStatus Source #

Returns the destination region and retention period that are configured for cross-region snapshot copy.

See: newClusterSnapshotCopyStatus smart constructor.

Constructors

ClusterSnapshotCopyStatus' 

Fields

  • manualSnapshotRetentionPeriod :: Maybe Int

    The number of days that automated snapshots are retained in the destination region after they are copied from a source region. If the value is -1, the manual snapshot is retained indefinitely.

    The value must be either -1 or an integer between 1 and 3,653.

  • retentionPeriod :: Maybe Integer

    The number of days that automated snapshots are retained in the destination region after they are copied from a source region.

  • destinationRegion :: Maybe Text

    The destination region that snapshots are automatically copied to when cross-region snapshot copy is enabled.

  • snapshotCopyGrantName :: Maybe Text

    The name of the snapshot copy grant.

Instances

Instances details
Eq ClusterSnapshotCopyStatus Source # 
Instance details

Defined in Amazonka.Redshift.Types.ClusterSnapshotCopyStatus

Read ClusterSnapshotCopyStatus Source # 
Instance details

Defined in Amazonka.Redshift.Types.ClusterSnapshotCopyStatus

Show ClusterSnapshotCopyStatus Source # 
Instance details

Defined in Amazonka.Redshift.Types.ClusterSnapshotCopyStatus

Generic ClusterSnapshotCopyStatus Source # 
Instance details

Defined in Amazonka.Redshift.Types.ClusterSnapshotCopyStatus

Associated Types

type Rep ClusterSnapshotCopyStatus :: Type -> Type #

NFData ClusterSnapshotCopyStatus Source # 
Instance details

Defined in Amazonka.Redshift.Types.ClusterSnapshotCopyStatus

Hashable ClusterSnapshotCopyStatus Source # 
Instance details

Defined in Amazonka.Redshift.Types.ClusterSnapshotCopyStatus

FromXML ClusterSnapshotCopyStatus Source # 
Instance details

Defined in Amazonka.Redshift.Types.ClusterSnapshotCopyStatus

type Rep ClusterSnapshotCopyStatus Source # 
Instance details

Defined in Amazonka.Redshift.Types.ClusterSnapshotCopyStatus

type Rep ClusterSnapshotCopyStatus = D1 ('MetaData "ClusterSnapshotCopyStatus" "Amazonka.Redshift.Types.ClusterSnapshotCopyStatus" "libZSservicesZSamazonka-redshiftZSamazonka-redshift" 'False) (C1 ('MetaCons "ClusterSnapshotCopyStatus'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "manualSnapshotRetentionPeriod") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: S1 ('MetaSel ('Just "retentionPeriod") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Integer))) :*: (S1 ('MetaSel ('Just "destinationRegion") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "snapshotCopyGrantName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

newClusterSnapshotCopyStatus :: ClusterSnapshotCopyStatus Source #

Create a value of ClusterSnapshotCopyStatus 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:manualSnapshotRetentionPeriod:ClusterSnapshotCopyStatus', clusterSnapshotCopyStatus_manualSnapshotRetentionPeriod - The number of days that automated snapshots are retained in the destination region after they are copied from a source region. If the value is -1, the manual snapshot is retained indefinitely.

The value must be either -1 or an integer between 1 and 3,653.

$sel:retentionPeriod:ClusterSnapshotCopyStatus', clusterSnapshotCopyStatus_retentionPeriod - The number of days that automated snapshots are retained in the destination region after they are copied from a source region.

$sel:destinationRegion:ClusterSnapshotCopyStatus', clusterSnapshotCopyStatus_destinationRegion - The destination region that snapshots are automatically copied to when cross-region snapshot copy is enabled.

$sel:snapshotCopyGrantName:ClusterSnapshotCopyStatus', clusterSnapshotCopyStatus_snapshotCopyGrantName - The name of the snapshot copy grant.

clusterSnapshotCopyStatus_manualSnapshotRetentionPeriod :: Lens' ClusterSnapshotCopyStatus (Maybe Int) Source #

The number of days that automated snapshots are retained in the destination region after they are copied from a source region. If the value is -1, the manual snapshot is retained indefinitely.

The value must be either -1 or an integer between 1 and 3,653.

clusterSnapshotCopyStatus_retentionPeriod :: Lens' ClusterSnapshotCopyStatus (Maybe Integer) Source #

The number of days that automated snapshots are retained in the destination region after they are copied from a source region.

clusterSnapshotCopyStatus_destinationRegion :: Lens' ClusterSnapshotCopyStatus (Maybe Text) Source #

The destination region that snapshots are automatically copied to when cross-region snapshot copy is enabled.