libZSservicesZSamazonka-emrZSamazonka-emr
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.EMR.Types.ClusterSummary

Description

 
Synopsis

Documentation

data ClusterSummary Source #

The summary description of the cluster.

See: newClusterSummary smart constructor.

Constructors

ClusterSummary' 

Fields

  • status :: Maybe ClusterStatus

    The details about the current status of the cluster.

  • clusterArn :: Maybe Text

    The Amazon Resource Name of the cluster.

  • outpostArn :: Maybe Text

    The Amazon Resource Name (ARN) of the Outpost where the cluster is launched.

  • normalizedInstanceHours :: Maybe Int

    An approximation of the cost of the cluster, represented in m1.small/hours. This value is incremented one time for every hour an m1.small instance runs. Larger instances are weighted more, so an EC2 instance that is roughly four times more expensive would result in the normalized instance hours being incremented by four. This result is only an approximation and does not reflect the actual billing rate.

  • name :: Maybe Text

    The name of the cluster.

  • id :: Maybe Text

    The unique identifier for the cluster.

Instances

Instances details
Eq ClusterSummary Source # 
Instance details

Defined in Amazonka.EMR.Types.ClusterSummary

Read ClusterSummary Source # 
Instance details

Defined in Amazonka.EMR.Types.ClusterSummary

Show ClusterSummary Source # 
Instance details

Defined in Amazonka.EMR.Types.ClusterSummary

Generic ClusterSummary Source # 
Instance details

Defined in Amazonka.EMR.Types.ClusterSummary

Associated Types

type Rep ClusterSummary :: Type -> Type #

NFData ClusterSummary Source # 
Instance details

Defined in Amazonka.EMR.Types.ClusterSummary

Methods

rnf :: ClusterSummary -> () #

Hashable ClusterSummary Source # 
Instance details

Defined in Amazonka.EMR.Types.ClusterSummary

FromJSON ClusterSummary Source # 
Instance details

Defined in Amazonka.EMR.Types.ClusterSummary

type Rep ClusterSummary Source # 
Instance details

Defined in Amazonka.EMR.Types.ClusterSummary

type Rep ClusterSummary = D1 ('MetaData "ClusterSummary" "Amazonka.EMR.Types.ClusterSummary" "libZSservicesZSamazonka-emrZSamazonka-emr" 'False) (C1 ('MetaCons "ClusterSummary'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ClusterStatus)) :*: (S1 ('MetaSel ('Just "clusterArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "outpostArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 ('MetaSel ('Just "normalizedInstanceHours") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))))

newClusterSummary :: ClusterSummary Source #

Create a value of ClusterSummary 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:status:ClusterSummary', clusterSummary_status - The details about the current status of the cluster.

$sel:clusterArn:ClusterSummary', clusterSummary_clusterArn - The Amazon Resource Name of the cluster.

$sel:outpostArn:ClusterSummary', clusterSummary_outpostArn - The Amazon Resource Name (ARN) of the Outpost where the cluster is launched.

$sel:normalizedInstanceHours:ClusterSummary', clusterSummary_normalizedInstanceHours - An approximation of the cost of the cluster, represented in m1.small/hours. This value is incremented one time for every hour an m1.small instance runs. Larger instances are weighted more, so an EC2 instance that is roughly four times more expensive would result in the normalized instance hours being incremented by four. This result is only an approximation and does not reflect the actual billing rate.

$sel:name:ClusterSummary', clusterSummary_name - The name of the cluster.

$sel:id:ClusterSummary', clusterSummary_id - The unique identifier for the cluster.

clusterSummary_status :: Lens' ClusterSummary (Maybe ClusterStatus) Source #

The details about the current status of the cluster.

clusterSummary_clusterArn :: Lens' ClusterSummary (Maybe Text) Source #

The Amazon Resource Name of the cluster.

clusterSummary_outpostArn :: Lens' ClusterSummary (Maybe Text) Source #

The Amazon Resource Name (ARN) of the Outpost where the cluster is launched.

clusterSummary_normalizedInstanceHours :: Lens' ClusterSummary (Maybe Int) Source #

An approximation of the cost of the cluster, represented in m1.small/hours. This value is incremented one time for every hour an m1.small instance runs. Larger instances are weighted more, so an EC2 instance that is roughly four times more expensive would result in the normalized instance hours being incremented by four. This result is only an approximation and does not reflect the actual billing rate.

clusterSummary_id :: Lens' ClusterSummary (Maybe Text) Source #

The unique identifier for the cluster.