libZSservicesZSamazonka-rdsZSamazonka-rds
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.RDS.CreateDBClusterSnapshot

Description

Creates a snapshot of a DB cluster. For more information on Amazon Aurora, see What Is Amazon Aurora? in the Amazon Aurora User Guide.

This action only applies to Aurora DB clusters.

Synopsis

Creating a Request

data CreateDBClusterSnapshot Source #

See: newCreateDBClusterSnapshot smart constructor.

Constructors

CreateDBClusterSnapshot' 

Fields

  • tags :: Maybe [Tag]

    The tags to be assigned to the DB cluster snapshot.

  • dbClusterSnapshotIdentifier :: Text

    The identifier of the DB cluster snapshot. This parameter is stored as a lowercase string.

    Constraints:

    • Must contain from 1 to 63 letters, numbers, or hyphens.
    • First character must be a letter.
    • Can't end with a hyphen or contain two consecutive hyphens.

    Example: my-cluster1-snapshot1

  • dbClusterIdentifier :: Text

    The identifier of the DB cluster to create a snapshot for. This parameter isn't case-sensitive.

    Constraints:

    • Must match the identifier of an existing DBCluster.

    Example: my-cluster1

Instances

Instances details
Eq CreateDBClusterSnapshot Source # 
Instance details

Defined in Amazonka.RDS.CreateDBClusterSnapshot

Read CreateDBClusterSnapshot Source # 
Instance details

Defined in Amazonka.RDS.CreateDBClusterSnapshot

Show CreateDBClusterSnapshot Source # 
Instance details

Defined in Amazonka.RDS.CreateDBClusterSnapshot

Generic CreateDBClusterSnapshot Source # 
Instance details

Defined in Amazonka.RDS.CreateDBClusterSnapshot

Associated Types

type Rep CreateDBClusterSnapshot :: Type -> Type #

NFData CreateDBClusterSnapshot Source # 
Instance details

Defined in Amazonka.RDS.CreateDBClusterSnapshot

Methods

rnf :: CreateDBClusterSnapshot -> () #

Hashable CreateDBClusterSnapshot Source # 
Instance details

Defined in Amazonka.RDS.CreateDBClusterSnapshot

AWSRequest CreateDBClusterSnapshot Source # 
Instance details

Defined in Amazonka.RDS.CreateDBClusterSnapshot

ToHeaders CreateDBClusterSnapshot Source # 
Instance details

Defined in Amazonka.RDS.CreateDBClusterSnapshot

ToPath CreateDBClusterSnapshot Source # 
Instance details

Defined in Amazonka.RDS.CreateDBClusterSnapshot

ToQuery CreateDBClusterSnapshot Source # 
Instance details

Defined in Amazonka.RDS.CreateDBClusterSnapshot

type Rep CreateDBClusterSnapshot Source # 
Instance details

Defined in Amazonka.RDS.CreateDBClusterSnapshot

type Rep CreateDBClusterSnapshot = D1 ('MetaData "CreateDBClusterSnapshot" "Amazonka.RDS.CreateDBClusterSnapshot" "libZSservicesZSamazonka-rdsZSamazonka-rds" 'False) (C1 ('MetaCons "CreateDBClusterSnapshot'" 'PrefixI 'True) (S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Tag])) :*: (S1 ('MetaSel ('Just "dbClusterSnapshotIdentifier") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "dbClusterIdentifier") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))
type AWSResponse CreateDBClusterSnapshot Source # 
Instance details

Defined in Amazonka.RDS.CreateDBClusterSnapshot

newCreateDBClusterSnapshot Source #

Create a value of CreateDBClusterSnapshot 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:tags:CreateDBClusterSnapshot', createDBClusterSnapshot_tags - The tags to be assigned to the DB cluster snapshot.

$sel:dbClusterSnapshotIdentifier:CreateDBClusterSnapshot', createDBClusterSnapshot_dbClusterSnapshotIdentifier - The identifier of the DB cluster snapshot. This parameter is stored as a lowercase string.

Constraints:

  • Must contain from 1 to 63 letters, numbers, or hyphens.
  • First character must be a letter.
  • Can't end with a hyphen or contain two consecutive hyphens.

Example: my-cluster1-snapshot1

$sel:dbClusterIdentifier:CreateDBClusterSnapshot', createDBClusterSnapshot_dbClusterIdentifier - The identifier of the DB cluster to create a snapshot for. This parameter isn't case-sensitive.

Constraints:

  • Must match the identifier of an existing DBCluster.

Example: my-cluster1

Request Lenses

createDBClusterSnapshot_tags :: Lens' CreateDBClusterSnapshot (Maybe [Tag]) Source #

The tags to be assigned to the DB cluster snapshot.

createDBClusterSnapshot_dbClusterSnapshotIdentifier :: Lens' CreateDBClusterSnapshot Text Source #

The identifier of the DB cluster snapshot. This parameter is stored as a lowercase string.

Constraints:

  • Must contain from 1 to 63 letters, numbers, or hyphens.
  • First character must be a letter.
  • Can't end with a hyphen or contain two consecutive hyphens.

Example: my-cluster1-snapshot1

createDBClusterSnapshot_dbClusterIdentifier :: Lens' CreateDBClusterSnapshot Text Source #

The identifier of the DB cluster to create a snapshot for. This parameter isn't case-sensitive.

Constraints:

  • Must match the identifier of an existing DBCluster.

Example: my-cluster1

Destructuring the Response

data CreateDBClusterSnapshotResponse Source #

See: newCreateDBClusterSnapshotResponse smart constructor.

Constructors

CreateDBClusterSnapshotResponse' 

Fields

Instances

Instances details
Eq CreateDBClusterSnapshotResponse Source # 
Instance details

Defined in Amazonka.RDS.CreateDBClusterSnapshot

Read CreateDBClusterSnapshotResponse Source # 
Instance details

Defined in Amazonka.RDS.CreateDBClusterSnapshot

Show CreateDBClusterSnapshotResponse Source # 
Instance details

Defined in Amazonka.RDS.CreateDBClusterSnapshot

Generic CreateDBClusterSnapshotResponse Source # 
Instance details

Defined in Amazonka.RDS.CreateDBClusterSnapshot

Associated Types

type Rep CreateDBClusterSnapshotResponse :: Type -> Type #

NFData CreateDBClusterSnapshotResponse Source # 
Instance details

Defined in Amazonka.RDS.CreateDBClusterSnapshot

type Rep CreateDBClusterSnapshotResponse Source # 
Instance details

Defined in Amazonka.RDS.CreateDBClusterSnapshot

type Rep CreateDBClusterSnapshotResponse = D1 ('MetaData "CreateDBClusterSnapshotResponse" "Amazonka.RDS.CreateDBClusterSnapshot" "libZSservicesZSamazonka-rdsZSamazonka-rds" 'False) (C1 ('MetaCons "CreateDBClusterSnapshotResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "dbClusterSnapshot") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe DBClusterSnapshot)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newCreateDBClusterSnapshotResponse Source #

Create a value of CreateDBClusterSnapshotResponse 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:dbClusterSnapshot:CreateDBClusterSnapshotResponse', createDBClusterSnapshotResponse_dbClusterSnapshot - Undocumented member.

$sel:httpStatus:CreateDBClusterSnapshotResponse', createDBClusterSnapshotResponse_httpStatus - The response's http status code.

Response Lenses