libZSservicesZSamazonka-snowballZSamazonka-snowball
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.Snowball.Types.ClusterListEntry

Description

 
Synopsis

Documentation

data ClusterListEntry Source #

Contains a cluster's state, a cluster's ID, and other important information.

See: newClusterListEntry smart constructor.

Constructors

ClusterListEntry' 

Fields

  • clusterState :: Maybe ClusterState

    The current state of this cluster. For information about the state of a specific node, see JobListEntry$JobState.

  • clusterId :: Maybe Text

    The 39-character ID for the cluster that you want to list, for example CID123e4567-e89b-12d3-a456-426655440000.

  • creationDate :: Maybe POSIX

    The creation date for this cluster.

  • description :: Maybe Text

    Defines an optional description of the cluster, for example Environmental Data Cluster-01.

Instances

Instances details
Eq ClusterListEntry Source # 
Instance details

Defined in Amazonka.Snowball.Types.ClusterListEntry

Read ClusterListEntry Source # 
Instance details

Defined in Amazonka.Snowball.Types.ClusterListEntry

Show ClusterListEntry Source # 
Instance details

Defined in Amazonka.Snowball.Types.ClusterListEntry

Generic ClusterListEntry Source # 
Instance details

Defined in Amazonka.Snowball.Types.ClusterListEntry

Associated Types

type Rep ClusterListEntry :: Type -> Type #

NFData ClusterListEntry Source # 
Instance details

Defined in Amazonka.Snowball.Types.ClusterListEntry

Methods

rnf :: ClusterListEntry -> () #

Hashable ClusterListEntry Source # 
Instance details

Defined in Amazonka.Snowball.Types.ClusterListEntry

FromJSON ClusterListEntry Source # 
Instance details

Defined in Amazonka.Snowball.Types.ClusterListEntry

type Rep ClusterListEntry Source # 
Instance details

Defined in Amazonka.Snowball.Types.ClusterListEntry

type Rep ClusterListEntry = D1 ('MetaData "ClusterListEntry" "Amazonka.Snowball.Types.ClusterListEntry" "libZSservicesZSamazonka-snowballZSamazonka-snowball" 'False) (C1 ('MetaCons "ClusterListEntry'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "clusterState") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ClusterState)) :*: S1 ('MetaSel ('Just "clusterId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "creationDate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

newClusterListEntry :: ClusterListEntry Source #

Create a value of ClusterListEntry 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:clusterState:ClusterListEntry', clusterListEntry_clusterState - The current state of this cluster. For information about the state of a specific node, see JobListEntry$JobState.

$sel:clusterId:ClusterListEntry', clusterListEntry_clusterId - The 39-character ID for the cluster that you want to list, for example CID123e4567-e89b-12d3-a456-426655440000.

$sel:creationDate:ClusterListEntry', clusterListEntry_creationDate - The creation date for this cluster.

$sel:description:ClusterListEntry', clusterListEntry_description - Defines an optional description of the cluster, for example Environmental Data Cluster-01.

clusterListEntry_clusterState :: Lens' ClusterListEntry (Maybe ClusterState) Source #

The current state of this cluster. For information about the state of a specific node, see JobListEntry$JobState.

clusterListEntry_clusterId :: Lens' ClusterListEntry (Maybe Text) Source #

The 39-character ID for the cluster that you want to list, for example CID123e4567-e89b-12d3-a456-426655440000.

clusterListEntry_creationDate :: Lens' ClusterListEntry (Maybe UTCTime) Source #

The creation date for this cluster.

clusterListEntry_description :: Lens' ClusterListEntry (Maybe Text) Source #

Defines an optional description of the cluster, for example Environmental Data Cluster-01.