libZSservicesZSamazonka-memorydbZSamazonka-memorydb
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.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
Eq DeleteCluster Source # 
Instance details

Defined in Amazonka.MemoryDb.DeleteCluster

Read DeleteCluster Source # 
Instance details

Defined in Amazonka.MemoryDb.DeleteCluster

Show DeleteCluster Source # 
Instance details

Defined in Amazonka.MemoryDb.DeleteCluster

Generic DeleteCluster Source # 
Instance details

Defined in Amazonka.MemoryDb.DeleteCluster

Associated Types

type Rep DeleteCluster :: Type -> Type #

NFData DeleteCluster Source # 
Instance details

Defined in Amazonka.MemoryDb.DeleteCluster

Methods

rnf :: DeleteCluster -> () #

Hashable DeleteCluster Source # 
Instance details

Defined in Amazonka.MemoryDb.DeleteCluster

ToJSON DeleteCluster Source # 
Instance details

Defined in Amazonka.MemoryDb.DeleteCluster

AWSRequest DeleteCluster Source # 
Instance details

Defined in Amazonka.MemoryDb.DeleteCluster

Associated Types

type AWSResponse 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

type Rep DeleteCluster Source # 
Instance details

Defined in Amazonka.MemoryDb.DeleteCluster

type Rep DeleteCluster = D1 ('MetaData "DeleteCluster" "Amazonka.MemoryDb.DeleteCluster" "libZSservicesZSamazonka-memorydbZSamazonka-memorydb" '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)))
type AWSResponse DeleteCluster Source # 
Instance details

Defined in Amazonka.MemoryDb.DeleteCluster

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.

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

Defined in Amazonka.MemoryDb.DeleteCluster

Read DeleteClusterResponse Source # 
Instance details

Defined in Amazonka.MemoryDb.DeleteCluster

Show DeleteClusterResponse Source # 
Instance details

Defined in Amazonka.MemoryDb.DeleteCluster

Generic DeleteClusterResponse Source # 
Instance details

Defined in Amazonka.MemoryDb.DeleteCluster

Associated Types

type Rep DeleteClusterResponse :: Type -> Type #

NFData DeleteClusterResponse Source # 
Instance details

Defined in Amazonka.MemoryDb.DeleteCluster

Methods

rnf :: DeleteClusterResponse -> () #

type Rep DeleteClusterResponse Source # 
Instance details

Defined in Amazonka.MemoryDb.DeleteCluster

type Rep DeleteClusterResponse = D1 ('MetaData "DeleteClusterResponse" "Amazonka.MemoryDb.DeleteCluster" "libZSservicesZSamazonka-memorydbZSamazonka-memorydb" '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