amazonka-emr-0.0.6: Amazon Elastic MapReduce SDK.

Safe HaskellNone
LanguageHaskell2010

Network.AWS.EMR.Types

Contents

Synopsis

Service

data EMR Source

Version 2009-03-31 of the Amazon Elastic MapReduce service.

Instances

AWSService EMR 
type Er EMR = JSONError 
type Sg EMR = V4 

Error

data JSONError :: *

Instances

Eq JSONError 
Show JSONError 
Generic JSONError 
FromJSON JSONError 
type Rep JSONError = D1 D1JSONError (C1 C1_0JSONError ((:*:) (S1 S1_0_0JSONError (Rec0 (Maybe Text))) (S1 S1_0_1JSONError (Rec0 Text)))) 

MarketType

InstanceGroupConfig

igcBidPrice :: Lens' InstanceGroupConfig (Maybe Text) Source

Bid price for each Amazon EC2 instance in the instance group when launching nodes as Spot Instances, expressed in USD.

igcInstanceCount :: Lens' InstanceGroupConfig Int Source

Target number of instances for the instance group.

igcInstanceRole :: Lens' InstanceGroupConfig InstanceRoleType Source

The role of the instance group in the cluster.

igcInstanceType :: Lens' InstanceGroupConfig Text Source

The Amazon EC2 instance type for all instances in the instance group.

igcMarket :: Lens' InstanceGroupConfig (Maybe MarketType) Source

Market type of the Amazon EC2 instances used to create a cluster node.

igcName :: Lens' InstanceGroupConfig (Maybe Text) Source

Friendly name given to the instance group.

InstanceStateChangeReason

iscrCode :: Lens' InstanceStateChangeReason (Maybe InstanceStateChangeReasonCode) Source

The programmable code for the state change reason.

iscrMessage :: Lens' InstanceStateChangeReason (Maybe Text) Source

The status change reason description.

JobFlowDetail

jfdAmiVersion :: Lens' JobFlowDetail (Maybe Text) Source

The version of the AMI used to initialize Amazon EC2 instances in the job flow. For a list of AMI versions currently supported by Amazon ElasticMapReduce, go to AMI Versions Supported in Elastic MapReduce in the Amazon Elastic MapReduce Developer's Guide.

jfdBootstrapActions :: Lens' JobFlowDetail [BootstrapActionDetail] Source

A list of the bootstrap actions run by the job flow.

jfdExecutionStatusDetail :: Lens' JobFlowDetail JobFlowExecutionStatusDetail Source

Describes the execution status of the job flow.

jfdInstances :: Lens' JobFlowDetail JobFlowInstancesDetail Source

Describes the Amazon EC2 instances of the job flow.

jfdJobFlowId :: Lens' JobFlowDetail Text Source

The job flow identifier.

jfdJobFlowRole :: Lens' JobFlowDetail (Maybe Text) Source

The IAM role that was specified when the job flow was launched. The EC2 instances of the job flow assume this role.

jfdLogUri :: Lens' JobFlowDetail (Maybe Text) Source

The location in Amazon S3 where log files for the job are stored.

jfdName :: Lens' JobFlowDetail Text Source

The name of the job flow.

jfdServiceRole :: Lens' JobFlowDetail (Maybe Text) Source

The IAM role that will be assumed by the Amazon EMR service to access AWS resources on your behalf.

jfdSteps :: Lens' JobFlowDetail [StepDetail] Source

A list of steps run by the job flow.

jfdSupportedProducts :: Lens' JobFlowDetail [Text] Source

A list of strings set by third party software when the job flow is launched. If you are not using third party software to manage the job flow this value is empty.

jfdVisibleToAllUsers :: Lens' JobFlowDetail (Maybe Bool) Source

Specifies whether the job flow is visible to all IAM users of the AWS account associated with the job flow. If this value is set to true, all IAM users of that AWS account can view and (if they have the proper policy permissions set) manage the job flow. If it is set to false, only the IAM user that created the job flow can view and manage it. This value can be changed using the SetVisibleToAllUsers action.

KeyValue

keyValue :: KeyValue Source

KeyValue constructor.

The fields accessible through corresponding lenses are:

kvKey :: Lens' KeyValue (Maybe Text) Source

The unique identifier of a key value pair.

kvValue :: Lens' KeyValue (Maybe Text) Source

The value part of the identified key.

SupportedProductConfig

supportedProductConfig :: SupportedProductConfig Source

SupportedProductConfig constructor.

The fields accessible through corresponding lenses are:

spcArgs :: Lens' SupportedProductConfig [Text] Source

The list of user-supplied arguments.

spcName :: Lens' SupportedProductConfig (Maybe Text) Source

The name of the product configuration.

Command

command :: Command Source

Command constructor.

The fields accessible through corresponding lenses are:

cArgs :: Lens' Command [Text] Source

Arguments for Amazon EMR to pass to the command for execution.

cName :: Lens' Command (Maybe Text) Source

The name of the command.

cScriptPath :: Lens' Command (Maybe Text) Source

The Amazon S3 location of the command script.

StepExecutionState

ActionOnFailure

ClusterStateChangeReason

cscrCode :: Lens' ClusterStateChangeReason (Maybe ClusterStateChangeReasonCode) Source

The programmatic code for the state change reason.

cscrMessage :: Lens' ClusterStateChangeReason (Maybe Text) Source

The descriptive message for the state change reason.

Tag

tag :: Tag Source

Tag constructor.

The fields accessible through corresponding lenses are:

tagKey :: Lens' Tag (Maybe Text) Source

A user-defined key, which is the minimum required information for a valid tag. For more information, see Tagging Amazon EMR Resources.

tagValue :: Lens' Tag (Maybe Text) Source

A user-defined value, which is optional in a tag. For more information, see Tagging Amazon EMR Resources.

Application

application :: Application Source

Application constructor.

The fields accessible through corresponding lenses are:

aAdditionalInfo :: Lens' Application (HashMap Text Text) Source

This option is for advanced users only. This is meta information about third-party applications that third-party vendors use for testing purposes.

aArgs :: Lens' Application [Text] Source

Arguments for Amazon EMR to pass to the application.

aName :: Lens' Application (Maybe Text) Source

The name of the application.

aVersion :: Lens' Application (Maybe Text) Source

The version of the application.

JobFlowExecutionStatusDetail

jfesdCreationDateTime :: Lens' JobFlowExecutionStatusDetail UTCTime Source

The creation date and time of the job flow.

jfesdEndDateTime :: Lens' JobFlowExecutionStatusDetail (Maybe UTCTime) Source

The completion date and time of the job flow.

jfesdLastStateChangeReason :: Lens' JobFlowExecutionStatusDetail (Maybe Text) Source

Description of the job flow last changed state.

jfesdReadyDateTime :: Lens' JobFlowExecutionStatusDetail (Maybe UTCTime) Source

The date and time when the job flow was ready to start running bootstrap actions.

jfesdStartDateTime :: Lens' JobFlowExecutionStatusDetail (Maybe UTCTime) Source

The start date and time of the job flow.

InstanceGroupStatus

igsState :: Lens' InstanceGroupStatus (Maybe InstanceGroupState) Source

The current state of the instance group.

igsStateChangeReason :: Lens' InstanceGroupStatus (Maybe InstanceGroupStateChangeReason) Source

The status change reason details for the instance group.

igsTimeline :: Lens' InstanceGroupStatus (Maybe InstanceGroupTimeline) Source

The timeline of the instance group status over time.

Cluster

c1Applications :: Lens' Cluster [Application] Source

The applications installed on this cluster.

c1AutoTerminate :: Lens' Cluster (Maybe Bool) Source

Specifies whether the cluster should terminate after completing all steps.

c1Id :: Lens' Cluster (Maybe Text) Source

The unique identifier for the cluster.

c1LogUri :: Lens' Cluster (Maybe Text) Source

The path to the Amazon S3 location where logs for this cluster are stored.

c1Name :: Lens' Cluster (Maybe Text) Source

The name of the cluster.

c1RequestedAmiVersion :: Lens' Cluster (Maybe Text) Source

The AMI version requested for this cluster.

c1RunningAmiVersion :: Lens' Cluster (Maybe Text) Source

The AMI version running on this cluster. This differs from the requested version only if the requested version is a meta version, such as "latest".

c1ServiceRole :: Lens' Cluster (Maybe Text) Source

The IAM role that will be assumed by the Amazon EMR service to access AWS resources on your behalf.

c1Status :: Lens' Cluster (Maybe ClusterStatus) Source

The current status details about the cluster.

c1Tags :: Lens' Cluster [Tag] Source

A list of tags associated with a cluster.

c1TerminationProtected :: Lens' Cluster (Maybe Bool) Source

Indicates whether Amazon EMR will lock the cluster to prevent the EC2 instances from being terminated by an API call or user intervention, or in the event of a cluster error.

c1VisibleToAllUsers :: Lens' Cluster (Maybe Bool) Source

Indicates whether the job flow is visible to all IAM users of the AWS account associated with the job flow. If this value is set to true, all IAM users of that AWS account can view and manage the job flow if they have the proper policy permissions set. If this value is false, only the IAM user that created the cluster can view and manage it. This value can be changed using the SetVisibleToAllUsers action.

InstanceTimeline

itCreationDateTime :: Lens' InstanceTimeline (Maybe UTCTime) Source

The creation date and time of the instance.

itEndDateTime :: Lens' InstanceTimeline (Maybe UTCTime) Source

The date and time when the instance was terminated.

itReadyDateTime :: Lens' InstanceTimeline (Maybe UTCTime) Source

The date and time when the instance was ready to perform tasks.

Ec2InstanceAttributes

eiaEc2AvailabilityZone :: Lens' Ec2InstanceAttributes (Maybe Text) Source

The Availability Zone in which the cluster will run.

eiaEc2KeyName :: Lens' Ec2InstanceAttributes (Maybe Text) Source

The name of the Amazon EC2 key pair to use when connecting with SSH into the master node as a user named "hadoop".

eiaEc2SubnetId :: Lens' Ec2InstanceAttributes (Maybe Text) Source

To launch the job flow in Amazon VPC, set this parameter to the identifier of the Amazon VPC subnet where you want the job flow to launch. If you do not specify this value, the job flow is launched in the normal AWS cloud, outside of a VPC.

Amazon VPC currently does not support cluster compute quadruple extra large (cc1.4xlarge) instances. Thus, you cannot specify the cc1.4xlarge instance type for nodes of a job flow launched in a VPC.

eiaIamInstanceProfile :: Lens' Ec2InstanceAttributes (Maybe Text) Source

The IAM role that was specified when the job flow was launched. The EC2 instances of the job flow assume this role.

StepStateChangeReasonCode

ClusterState

HadoopStepConfig

hadoopStepConfig :: HadoopStepConfig Source

HadoopStepConfig constructor.

The fields accessible through corresponding lenses are:

hscArgs :: Lens' HadoopStepConfig [Text] Source

The list of command line arguments to pass to the JAR file's main function for execution.

hscJar :: Lens' HadoopStepConfig (Maybe Text) Source

The path to the JAR file that runs during the step.

hscMainClass :: Lens' HadoopStepConfig (Maybe Text) Source

The name of the main class in the specified Java file. If not specified, the JAR file should specify a main class in its manifest file.

hscProperties :: Lens' HadoopStepConfig (HashMap Text Text) Source

The list of Java properties that are set when the step runs. You can use these properties to pass key value pairs to your main function.

JobFlowExecutionState

StepDetail

sdStepConfig :: Lens' StepDetail StepConfig Source

The step configuration.

InstanceGroupStateChangeReason

igscrCode :: Lens' InstanceGroupStateChangeReason (Maybe InstanceGroupStateChangeReasonCode) Source

The programmable code for the state change reason.

igscrMessage :: Lens' InstanceGroupStateChangeReason (Maybe Text) Source

The status change reason description.

InstanceGroupType

InstanceGroupStateChangeReasonCode

StepStatus

stepStatus :: StepStatus Source

StepStatus constructor.

The fields accessible through corresponding lenses are:

ssState :: Lens' StepStatus (Maybe StepState) Source

The execution state of the cluster step.

ssStateChangeReason :: Lens' StepStatus (Maybe StepStateChangeReason) Source

The reason for the step execution status change.

ssTimeline :: Lens' StepStatus (Maybe StepTimeline) Source

The timeline of the cluster step status over time.

StepSummary

stepSummary :: StepSummary Source

StepSummary constructor.

The fields accessible through corresponding lenses are:

ssId :: Lens' StepSummary (Maybe Text) Source

The identifier of the cluster step.

ssName :: Lens' StepSummary (Maybe Text) Source

The name of the cluster step.

ssStatus :: Lens' StepSummary (Maybe StepStatus) Source

The current execution status details of the cluster step.

InstanceGroupState

StepTimeline

stepTimeline :: StepTimeline Source

StepTimeline constructor.

The fields accessible through corresponding lenses are:

stCreationDateTime :: Lens' StepTimeline (Maybe UTCTime) Source

The date and time when the cluster step was created.

stEndDateTime :: Lens' StepTimeline (Maybe UTCTime) Source

The date and time when the cluster step execution completed or failed.

stStartDateTime :: Lens' StepTimeline (Maybe UTCTime) Source

The date and time when the cluster step execution started.

PlacementType

placementType Source

PlacementType constructor.

The fields accessible through corresponding lenses are:

ptAvailabilityZone :: Lens' PlacementType Text Source

The Amazon EC2 Availability Zone for the job flow.

HadoopJarStepConfig

hadoopJarStepConfig Source

HadoopJarStepConfig constructor.

The fields accessible through corresponding lenses are:

hjscArgs :: Lens' HadoopJarStepConfig [Text] Source

A list of command line arguments passed to the JAR file's main function when executed.

hjscJar :: Lens' HadoopJarStepConfig Text Source

A path to a JAR file run during the step.

hjscMainClass :: Lens' HadoopJarStepConfig (Maybe Text) Source

The name of the main class in the specified Java file. If not specified, the JAR file should specify a Main-Class in its manifest file.

hjscProperties :: Lens' HadoopJarStepConfig [KeyValue] Source

A list of Java properties that are set when the step runs. You can use these properties to pass key value pairs to your main function.

InstanceGroupModifyConfig

igmcEC2InstanceIdsToTerminate :: Lens' InstanceGroupModifyConfig [Text] Source

The EC2 InstanceIds to terminate. For advanced users only. Once you terminate the instances, the instance group will not return to its original requested size.

igmcInstanceCount :: Lens' InstanceGroupModifyConfig (Maybe Int) Source

Target size for the instance group.

igmcInstanceGroupId :: Lens' InstanceGroupModifyConfig Text Source

Unique ID of the instance group to expand or shrink.

InstanceGroupDetail

igdBidPrice :: Lens' InstanceGroupDetail (Maybe Text) Source

Bid price for EC2 Instances when launching nodes as Spot Instances, expressed in USD.

igdCreationDateTime :: Lens' InstanceGroupDetail UTCTime Source

The date/time the instance group was created.

igdEndDateTime :: Lens' InstanceGroupDetail (Maybe UTCTime) Source

The date/time the instance group was terminated.

igdInstanceGroupId :: Lens' InstanceGroupDetail (Maybe Text) Source

Unique identifier for the instance group.

igdInstanceRequestCount :: Lens' InstanceGroupDetail Int Source

Target number of instances to run in the instance group.

igdInstanceRole :: Lens' InstanceGroupDetail InstanceRoleType Source

Instance group role in the cluster

igdInstanceRunningCount :: Lens' InstanceGroupDetail Int Source

Actual count of running instances.

igdLastStateChangeReason :: Lens' InstanceGroupDetail (Maybe Text) Source

Details regarding the state of the instance group.

igdMarket :: Lens' InstanceGroupDetail MarketType Source

Market type of the Amazon EC2 instances used to create a cluster node.

igdName :: Lens' InstanceGroupDetail (Maybe Text) Source

Friendly name for the instance group.

igdReadyDateTime :: Lens' InstanceGroupDetail (Maybe UTCTime) Source

The date/time the instance group was available to the cluster.

igdStartDateTime :: Lens' InstanceGroupDetail (Maybe UTCTime) Source

The date/time the instance group was started.

igdState :: Lens' InstanceGroupDetail InstanceGroupState Source

State of instance group. The following values are deprecated: STARTING, TERMINATED, and FAILED.

StepStateChangeReason

sscrCode :: Lens' StepStateChangeReason (Maybe StepStateChangeReasonCode) Source

The programmable code for the state change reason.

sscrMessage :: Lens' StepStateChangeReason (Maybe Text) Source

The descriptive message for the state change reason.

ClusterStateChangeReasonCode

Step

step :: Step Source

Step constructor.

The fields accessible through corresponding lenses are:

sActionOnFailure :: Lens' Step (Maybe ActionOnFailure) Source

This specifies what action to take when the cluster step fails. Possible values are TERMINATE_CLUSTER, CANCEL_AND_WAIT, and CONTINUE.

sConfig :: Lens' Step (Maybe HadoopStepConfig) Source

The Hadoop job configuration of the cluster step.

sId :: Lens' Step (Maybe Text) Source

The identifier of the cluster step.

sName :: Lens' Step (Maybe Text) Source

The name of the cluster step.

sStatus :: Lens' Step (Maybe StepStatus) Source

The current execution status details of the cluster step.

StepState

InstanceGroupTimeline

igtCreationDateTime :: Lens' InstanceGroupTimeline (Maybe UTCTime) Source

The creation date and time of the instance group.

igtEndDateTime :: Lens' InstanceGroupTimeline (Maybe UTCTime) Source

The date and time when the instance group terminated.

igtReadyDateTime :: Lens' InstanceGroupTimeline (Maybe UTCTime) Source

The date and time when the instance group became ready to perform tasks.

BootstrapActionDetail

StepExecutionStatusDetail

sesdCreationDateTime :: Lens' StepExecutionStatusDetail UTCTime Source

The creation date and time of the step.

sesdEndDateTime :: Lens' StepExecutionStatusDetail (Maybe UTCTime) Source

The completion date and time of the step.

sesdLastStateChangeReason :: Lens' StepExecutionStatusDetail (Maybe Text) Source

A description of the step's current state.

sesdStartDateTime :: Lens' StepExecutionStatusDetail (Maybe UTCTime) Source

The start date and time of the step.

InstanceStatus

isState :: Lens' InstanceStatus (Maybe InstanceState) Source

The current state of the instance.

isStateChangeReason :: Lens' InstanceStatus (Maybe InstanceStateChangeReason) Source

The details of the status change reason for the instance.

isTimeline :: Lens' InstanceStatus (Maybe InstanceTimeline) Source

The timeline of the instance status over time.

InstanceRoleType

JobFlowInstancesConfig

jficEc2KeyName :: Lens' JobFlowInstancesConfig (Maybe Text) Source

The name of the Amazon EC2 key pair that can be used to ssh to the master node as the user called "hadoop."

jficEc2SubnetId :: Lens' JobFlowInstancesConfig (Maybe Text) Source

To launch the job flow in Amazon Virtual Private Cloud (Amazon VPC), set this parameter to the identifier of the Amazon VPC subnet where you want the job flow to launch. If you do not specify this value, the job flow is launched in the normal Amazon Web Services cloud, outside of an Amazon VPC.

Amazon VPC currently does not support cluster compute quadruple extra large (cc1.4xlarge) instances. Thus you cannot specify the cc1.4xlarge instance type for nodes of a job flow launched in a Amazon VPC.

jficHadoopVersion :: Lens' JobFlowInstancesConfig (Maybe Text) Source

The Hadoop version for the job flow. Valid inputs are "0.18", "0.20", or "0.20.205". If you do not set this value, the default of 0.18 is used, unless the AmiVersion parameter is set in the RunJobFlow call, in which case the default version of Hadoop for that AMI version is used.

jficInstanceCount :: Lens' JobFlowInstancesConfig (Maybe Int) Source

The number of Amazon EC2 instances used to execute the job flow.

jficInstanceGroups :: Lens' JobFlowInstancesConfig [InstanceGroupConfig] Source

Configuration for the job flow's instance groups.

jficKeepJobFlowAliveWhenNoSteps :: Lens' JobFlowInstancesConfig (Maybe Bool) Source

Specifies whether the job flow should terminate after completing all steps.

jficMasterInstanceType :: Lens' JobFlowInstancesConfig (Maybe Text) Source

The EC2 instance type of the master node.

jficPlacement :: Lens' JobFlowInstancesConfig (Maybe PlacementType) Source

The Availability Zone the job flow will run in.

jficSlaveInstanceType :: Lens' JobFlowInstancesConfig (Maybe Text) Source

The EC2 instance type of the slave nodes.

jficTerminationProtected :: Lens' JobFlowInstancesConfig (Maybe Bool) Source

Specifies whether to lock the job flow to prevent the Amazon EC2 instances from being terminated by API call, user intervention, or in the event of a job flow error.

StepConfig

scActionOnFailure :: Lens' StepConfig (Maybe ActionOnFailure) Source

The action to take if the job flow step fails.

scHadoopJarStep :: Lens' StepConfig HadoopJarStepConfig Source

The JAR file used for the job flow step.

scName :: Lens' StepConfig Text Source

The name of the job flow step.

InstanceGroup

igBidPrice :: Lens' InstanceGroup (Maybe Text) Source

The bid price for each EC2 instance in the instance group when launching nodes as Spot Instances, expressed in USD.

igId :: Lens' InstanceGroup (Maybe Text) Source

The identifier of the instance group.

igInstanceGroupType :: Lens' InstanceGroup (Maybe InstanceGroupType) Source

The type of the instance group. Valid values are MASTER, CORE or TASK.

igInstanceType :: Lens' InstanceGroup (Maybe Text) Source

The EC2 instance type for all instances in the instance group.

igMarket :: Lens' InstanceGroup (Maybe MarketType) Source

The marketplace to provision instances for this group. Valid values are ON_DEMAND or SPOT.

igName :: Lens' InstanceGroup (Maybe Text) Source

The name of the instance group.

igRequestedInstanceCount :: Lens' InstanceGroup (Maybe Int) Source

The target number of instances for the instance group.

igRunningInstanceCount :: Lens' InstanceGroup (Maybe Int) Source

The number of instances currently running in this instance group.

igStatus :: Lens' InstanceGroup (Maybe InstanceGroupStatus) Source

The current status of the instance group.

BootstrapActionConfig

bacName :: Lens' BootstrapActionConfig Text Source

The name of the bootstrap action.

ClusterSummary

clusterSummary :: ClusterSummary Source

ClusterSummary constructor.

The fields accessible through corresponding lenses are:

csId :: Lens' ClusterSummary (Maybe Text) Source

The unique identifier for the cluster.

csName :: Lens' ClusterSummary (Maybe Text) Source

The name of the cluster.

csStatus :: Lens' ClusterSummary (Maybe ClusterStatus) Source

The details about the current status of the cluster.

JobFlowInstancesDetail

jfidEc2KeyName :: Lens' JobFlowInstancesDetail (Maybe Text) Source

The name of an Amazon EC2 key pair that can be used to ssh to the master node of job flow.

jfidEc2SubnetId :: Lens' JobFlowInstancesDetail (Maybe Text) Source

For job flows launched within Amazon Virtual Private Cloud, this value specifies the identifier of the subnet where the job flow was launched.

jfidHadoopVersion :: Lens' JobFlowInstancesDetail (Maybe Text) Source

The Hadoop version for the job flow.

jfidInstanceCount :: Lens' JobFlowInstancesDetail Int Source

The number of Amazon EC2 instances in the cluster. If the value is 1, the same instance serves as both the master and slave node. If the value is greater than 1, one instance is the master node and all others are slave nodes.

jfidInstanceGroups :: Lens' JobFlowInstancesDetail [InstanceGroupDetail] Source

Details about the job flow's instance groups.

jfidKeepJobFlowAliveWhenNoSteps :: Lens' JobFlowInstancesDetail (Maybe Bool) Source

Specifies whether the job flow should terminate after completing all steps.

jfidMasterInstanceId :: Lens' JobFlowInstancesDetail (Maybe Text) Source

The Amazon EC2 instance identifier of the master node.

jfidMasterInstanceType :: Lens' JobFlowInstancesDetail Text Source

The Amazon EC2 master node instance type.

jfidNormalizedInstanceHours :: Lens' JobFlowInstancesDetail (Maybe Int) Source

An approximation of the cost of the job flow, represented in m1.small/hours. This value is incremented once for every hour an m1.small runs. Larger instances are weighted more, so an Amazon 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.

jfidPlacement :: Lens' JobFlowInstancesDetail (Maybe PlacementType) Source

The Amazon EC2 Availability Zone for the job flow.

jfidSlaveInstanceType :: Lens' JobFlowInstancesDetail Text Source

The Amazon EC2 slave node instance type.

jfidTerminationProtected :: Lens' JobFlowInstancesDetail (Maybe Bool) Source

Specifies whether the Amazon EC2 instances in the cluster are protected from termination by API calls, user intervention, or in the event of a job flow error.

ClusterStatus

csState :: Lens' ClusterStatus (Maybe ClusterState) Source

The current state of the cluster.

csStateChangeReason :: Lens' ClusterStatus (Maybe ClusterStateChangeReason) Source

The reason for the cluster status change.

csTimeline :: Lens' ClusterStatus (Maybe ClusterTimeline) Source

A timeline that represents the status of a cluster over the lifetime of the cluster.

InstanceState

ClusterTimeline

ctCreationDateTime :: Lens' ClusterTimeline (Maybe UTCTime) Source

The creation date and time of the cluster.

ctEndDateTime :: Lens' ClusterTimeline (Maybe UTCTime) Source

The date and time when the cluster was terminated.

ctReadyDateTime :: Lens' ClusterTimeline (Maybe UTCTime) Source

The date and time when the cluster was ready to execute steps.

InstanceStateChangeReasonCode

Instance

iEc2InstanceId :: Lens' Instance (Maybe Text) Source

The unique identifier of the instance in Amazon EC2.

iId :: Lens' Instance (Maybe Text) Source

The unique identifier for the instance in Amazon EMR.

iPrivateDnsName :: Lens' Instance (Maybe Text) Source

The private DNS name of the instance.

iPrivateIpAddress :: Lens' Instance (Maybe Text) Source

The private IP address of the instance.

iPublicDnsName :: Lens' Instance (Maybe Text) Source

The public DNS name of the instance.

iPublicIpAddress :: Lens' Instance (Maybe Text) Source

The public IP address of the instance.

iStatus :: Lens' Instance (Maybe InstanceStatus) Source

The current status of the instance.

ScriptBootstrapActionConfig

scriptBootstrapActionConfig Source

ScriptBootstrapActionConfig constructor.

The fields accessible through corresponding lenses are:

sbacArgs :: Lens' ScriptBootstrapActionConfig [Text] Source

A list of command line arguments to pass to the bootstrap action script.

sbacPath :: Lens' ScriptBootstrapActionConfig Text Source

Location of the script to run during a bootstrap action. Can be either a location in Amazon S3 or on a local file system.