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.Instance

Description

 
Synopsis

Documentation

data Instance Source #

Represents an EC2 instance provisioned as part of cluster.

See: newInstance smart constructor.

Constructors

Instance' 

Fields

Instances

Instances details
Eq Instance Source # 
Instance details

Defined in Amazonka.EMR.Types.Instance

Read Instance Source # 
Instance details

Defined in Amazonka.EMR.Types.Instance

Show Instance Source # 
Instance details

Defined in Amazonka.EMR.Types.Instance

Generic Instance Source # 
Instance details

Defined in Amazonka.EMR.Types.Instance

Associated Types

type Rep Instance :: Type -> Type #

Methods

from :: Instance -> Rep Instance x #

to :: Rep Instance x -> Instance #

NFData Instance Source # 
Instance details

Defined in Amazonka.EMR.Types.Instance

Methods

rnf :: Instance -> () #

Hashable Instance Source # 
Instance details

Defined in Amazonka.EMR.Types.Instance

Methods

hashWithSalt :: Int -> Instance -> Int #

hash :: Instance -> Int #

FromJSON Instance Source # 
Instance details

Defined in Amazonka.EMR.Types.Instance

type Rep Instance Source # 
Instance details

Defined in Amazonka.EMR.Types.Instance

type Rep Instance = D1 ('MetaData "Instance" "Amazonka.EMR.Types.Instance" "libZSservicesZSamazonka-emrZSamazonka-emr" 'False) (C1 ('MetaCons "Instance'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe InstanceStatus)) :*: (S1 ('MetaSel ('Just "publicDnsName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "ebsVolumes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [EbsVolume])))) :*: (S1 ('MetaSel ('Just "ec2InstanceId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "instanceType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "market") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe MarketType))))) :*: ((S1 ('MetaSel ('Just "privateIpAddress") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "instanceFleetId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 ('MetaSel ('Just "instanceGroupId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "privateDnsName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "publicIpAddress") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))))

newInstance :: Instance Source #

Create a value of Instance 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:Instance', instance_status - The current status of the instance.

$sel:publicDnsName:Instance', instance_publicDnsName - The public DNS name of the instance.

$sel:ebsVolumes:Instance', instance_ebsVolumes - The list of Amazon EBS volumes that are attached to this instance.

$sel:ec2InstanceId:Instance', instance_ec2InstanceId - The unique identifier of the instance in Amazon EC2.

$sel:instanceType:Instance', instance_instanceType - The EC2 instance type, for example m3.xlarge.

$sel:market:Instance', instance_market - The instance purchasing option. Valid values are ON_DEMAND or SPOT.

$sel:privateIpAddress:Instance', instance_privateIpAddress - The private IP address of the instance.

$sel:instanceFleetId:Instance', instance_instanceFleetId - The unique identifier of the instance fleet to which an EC2 instance belongs.

$sel:id:Instance', instance_id - The unique identifier for the instance in Amazon EMR.

$sel:instanceGroupId:Instance', instance_instanceGroupId - The identifier of the instance group to which this instance belongs.

$sel:privateDnsName:Instance', instance_privateDnsName - The private DNS name of the instance.

$sel:publicIpAddress:Instance', instance_publicIpAddress - The public IP address of the instance.

instance_status :: Lens' Instance (Maybe InstanceStatus) Source #

The current status of the instance.

instance_publicDnsName :: Lens' Instance (Maybe Text) Source #

The public DNS name of the instance.

instance_ebsVolumes :: Lens' Instance (Maybe [EbsVolume]) Source #

The list of Amazon EBS volumes that are attached to this instance.

instance_ec2InstanceId :: Lens' Instance (Maybe Text) Source #

The unique identifier of the instance in Amazon EC2.

instance_instanceType :: Lens' Instance (Maybe Text) Source #

The EC2 instance type, for example m3.xlarge.

instance_market :: Lens' Instance (Maybe MarketType) Source #

The instance purchasing option. Valid values are ON_DEMAND or SPOT.

instance_privateIpAddress :: Lens' Instance (Maybe Text) Source #

The private IP address of the instance.

instance_instanceFleetId :: Lens' Instance (Maybe Text) Source #

The unique identifier of the instance fleet to which an EC2 instance belongs.

instance_id :: Lens' Instance (Maybe Text) Source #

The unique identifier for the instance in Amazon EMR.

instance_instanceGroupId :: Lens' Instance (Maybe Text) Source #

The identifier of the instance group to which this instance belongs.

instance_privateDnsName :: Lens' Instance (Maybe Text) Source #

The private DNS name of the instance.

instance_publicIpAddress :: Lens' Instance (Maybe Text) Source #

The public IP address of the instance.