amazonka-memorydb-2.0: Amazon MemoryDB 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.MemoryDb.DeleteCluster

Description

Deletes a cluster. It also deletes all associated nodes and node endpoints

Synopsis

Creating a Request

data DeleteCluster Source #

See: newDeleteCluster smart constructor.

Constructors

DeleteCluster' 

Fields

  • finalSnapshotName :: Maybe Text

    The user-supplied name of a final cluster snapshot. This is the unique name that identifies the snapshot. MemoryDB creates the snapshot, and then deletes the cluster immediately afterward.

  • clusterName :: Text

    The name of the cluster to be deleted

Instances

Instances details
ToJSON DeleteCluster Source # 
Instance details

Defined in Amazonka.MemoryDb.DeleteCluster

ToHeaders DeleteCluster Source # 
Instance details

Defined in Amazonka.MemoryDb.DeleteCluster

ToPath DeleteCluster Source # 
Instance details

Defined in Amazonka.MemoryDb.DeleteCluster

ToQuery DeleteCluster Source # 
Instance details

Defined in Amazonka.MemoryDb.DeleteCluster

AWSRequest DeleteCluster Source # 
Instance details

Defined in Amazonka.MemoryDb.DeleteCluster

Associated Types

type AWSResponse DeleteCluster #

Generic DeleteCluster Source # 
Instance details

Defined in Amazonka.MemoryDb.DeleteCluster

Associated Types

type Rep DeleteCluster :: Type -> Type #

Read DeleteCluster Source # 
Instance details

Defined in Amazonka.MemoryDb.DeleteCluster

Show DeleteCluster Source # 
Instance details

Defined in Amazonka.MemoryDb.DeleteCluster

NFData DeleteCluster Source # 
Instance details

Defined in Amazonka.MemoryDb.DeleteCluster

Methods

rnf :: DeleteCluster -> () #

Eq DeleteCluster Source # 
Instance details

Defined in Amazonka.MemoryDb.DeleteCluster

Hashable DeleteCluster Source # 
Instance details

Defined in Amazonka.MemoryDb.DeleteCluster

type AWSResponse DeleteCluster Source # 
Instance details

Defined in Amazonka.MemoryDb.DeleteCluster

type Rep DeleteCluster Source # 
Instance details

Defined in Amazonka.MemoryDb.DeleteCluster

type Rep DeleteCluster = D1 ('MetaData "DeleteCluster" "Amazonka.MemoryDb.DeleteCluster" "amazonka-memorydb-2.0-7JvPQiLpSKi6naAXiKMLiu" 'False) (C1 ('MetaCons "DeleteCluster'" 'PrefixI 'True) (S1 ('MetaSel ('Just "finalSnapshotName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "clusterName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newDeleteCluster Source #

Create a value of DeleteCluster 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:finalSnapshotName:DeleteCluster', deleteCluster_finalSnapshotName - The user-supplied name of a final cluster snapshot. This is the unique name that identifies the snapshot. MemoryDB creates the snapshot, and then deletes the cluster immediately afterward.

DeleteCluster, deleteCluster_clusterName - The name of the cluster to be deleted

Request Lenses

deleteCluster_finalSnapshotName :: Lens' DeleteCluster (Maybe Text) Source #

The user-supplied name of a final cluster snapshot. This is the unique name that identifies the snapshot. MemoryDB creates the snapshot, and then deletes the cluster immediately afterward.

deleteCluster_clusterName :: Lens' DeleteCluster Text Source #

The name of the cluster to be deleted

Destructuring the Response

data DeleteClusterResponse Source #

See: newDeleteClusterResponse smart constructor.

Constructors

DeleteClusterResponse' 

Fields

Instances

Instances details
Generic DeleteClusterResponse Source # 
Instance details

Defined in Amazonka.MemoryDb.DeleteCluster

Associated Types

type Rep DeleteClusterResponse :: Type -> Type #

Read DeleteClusterResponse Source # 
Instance details

Defined in Amazonka.MemoryDb.DeleteCluster

Show DeleteClusterResponse Source # 
Instance details

Defined in Amazonka.MemoryDb.DeleteCluster

NFData DeleteClusterResponse Source # 
Instance details

Defined in Amazonka.MemoryDb.DeleteCluster

Methods

rnf :: DeleteClusterResponse -> () #

Eq DeleteClusterResponse Source # 
Instance details

Defined in Amazonka.MemoryDb.DeleteCluster

type Rep DeleteClusterResponse Source # 
Instance details

Defined in Amazonka.MemoryDb.DeleteCluster

type Rep DeleteClusterResponse = D1 ('MetaData "DeleteClusterResponse" "Amazonka.MemoryDb.DeleteCluster" "amazonka-memorydb-2.0-7JvPQiLpSKi6naAXiKMLiu" 'False) (C1 ('MetaCons "DeleteClusterResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "cluster") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Cluster)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newDeleteClusterResponse Source #

Create a value of DeleteClusterResponse 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:DeleteClusterResponse', deleteClusterResponse_cluster - The cluster object that has been deleted

$sel:httpStatus:DeleteClusterResponse', deleteClusterResponse_httpStatus - The response's http status code.

Response Lenses

deleteClusterResponse_cluster :: Lens' DeleteClusterResponse (Maybe Cluster) Source #

The cluster object that has been deleted