Safe Haskell | None |
---|---|
Language | Haskell2010 |
- Service
- MarketType
- InstanceGroupConfig
- InstanceStateChangeReason
- JobFlowDetail
- KeyValue
- SupportedProductConfig
- Command
- StepExecutionState
- ActionOnFailure
- ClusterStateChangeReason
- Tag
- Application
- JobFlowExecutionStatusDetail
- InstanceGroupStatus
- Cluster
- InstanceTimeline
- Ec2InstanceAttributes
- StepStateChangeReasonCode
- ClusterState
- HadoopStepConfig
- JobFlowExecutionState
- StepDetail
- InstanceGroupStateChangeReason
- InstanceGroupType
- InstanceGroupStateChangeReasonCode
- StepStatus
- StepSummary
- InstanceGroupState
- StepTimeline
- PlacementType
- HadoopJarStepConfig
- InstanceGroupModifyConfig
- InstanceGroupDetail
- StepStateChangeReason
- ClusterStateChangeReasonCode
- Step
- StepState
- InstanceGroupTimeline
- BootstrapActionDetail
- StepExecutionStatusDetail
- InstanceStatus
- InstanceRoleType
- JobFlowInstancesConfig
- StepConfig
- InstanceGroup
- BootstrapActionConfig
- ClusterSummary
- JobFlowInstancesDetail
- ClusterStatus
- InstanceState
- ClusterTimeline
- InstanceStateChangeReasonCode
- Instance
- ScriptBootstrapActionConfig
- data EMR
- data JSONError :: *
- data MarketType
- data InstanceGroupConfig
- instanceGroupConfig :: InstanceRoleType -> Text -> Int -> InstanceGroupConfig
- igcBidPrice :: Lens' InstanceGroupConfig (Maybe Text)
- igcInstanceCount :: Lens' InstanceGroupConfig Int
- igcInstanceRole :: Lens' InstanceGroupConfig InstanceRoleType
- igcInstanceType :: Lens' InstanceGroupConfig Text
- igcMarket :: Lens' InstanceGroupConfig (Maybe MarketType)
- igcName :: Lens' InstanceGroupConfig (Maybe Text)
- data InstanceStateChangeReason
- instanceStateChangeReason :: InstanceStateChangeReason
- iscrCode :: Lens' InstanceStateChangeReason (Maybe InstanceStateChangeReasonCode)
- iscrMessage :: Lens' InstanceStateChangeReason (Maybe Text)
- data JobFlowDetail
- jobFlowDetail :: Text -> Text -> JobFlowExecutionStatusDetail -> JobFlowInstancesDetail -> JobFlowDetail
- jfdAmiVersion :: Lens' JobFlowDetail (Maybe Text)
- jfdBootstrapActions :: Lens' JobFlowDetail [BootstrapActionDetail]
- jfdExecutionStatusDetail :: Lens' JobFlowDetail JobFlowExecutionStatusDetail
- jfdInstances :: Lens' JobFlowDetail JobFlowInstancesDetail
- jfdJobFlowId :: Lens' JobFlowDetail Text
- jfdJobFlowRole :: Lens' JobFlowDetail (Maybe Text)
- jfdLogUri :: Lens' JobFlowDetail (Maybe Text)
- jfdName :: Lens' JobFlowDetail Text
- jfdServiceRole :: Lens' JobFlowDetail (Maybe Text)
- jfdSteps :: Lens' JobFlowDetail [StepDetail]
- jfdSupportedProducts :: Lens' JobFlowDetail [Text]
- jfdVisibleToAllUsers :: Lens' JobFlowDetail (Maybe Bool)
- data KeyValue
- keyValue :: KeyValue
- kvKey :: Lens' KeyValue (Maybe Text)
- kvValue :: Lens' KeyValue (Maybe Text)
- data SupportedProductConfig
- supportedProductConfig :: SupportedProductConfig
- spcArgs :: Lens' SupportedProductConfig [Text]
- spcName :: Lens' SupportedProductConfig (Maybe Text)
- data Command
- command :: Command
- cArgs :: Lens' Command [Text]
- cName :: Lens' Command (Maybe Text)
- cScriptPath :: Lens' Command (Maybe Text)
- data StepExecutionState
- data ActionOnFailure
- data ClusterStateChangeReason
- clusterStateChangeReason :: ClusterStateChangeReason
- cscrCode :: Lens' ClusterStateChangeReason (Maybe ClusterStateChangeReasonCode)
- cscrMessage :: Lens' ClusterStateChangeReason (Maybe Text)
- data Tag
- tag :: Tag
- tagKey :: Lens' Tag (Maybe Text)
- tagValue :: Lens' Tag (Maybe Text)
- data Application
- application :: Application
- aAdditionalInfo :: Lens' Application (HashMap Text Text)
- aArgs :: Lens' Application [Text]
- aName :: Lens' Application (Maybe Text)
- aVersion :: Lens' Application (Maybe Text)
- data JobFlowExecutionStatusDetail
- jobFlowExecutionStatusDetail :: JobFlowExecutionState -> UTCTime -> JobFlowExecutionStatusDetail
- jfesdCreationDateTime :: Lens' JobFlowExecutionStatusDetail UTCTime
- jfesdEndDateTime :: Lens' JobFlowExecutionStatusDetail (Maybe UTCTime)
- jfesdLastStateChangeReason :: Lens' JobFlowExecutionStatusDetail (Maybe Text)
- jfesdReadyDateTime :: Lens' JobFlowExecutionStatusDetail (Maybe UTCTime)
- jfesdStartDateTime :: Lens' JobFlowExecutionStatusDetail (Maybe UTCTime)
- jfesdState :: Lens' JobFlowExecutionStatusDetail JobFlowExecutionState
- data InstanceGroupStatus
- instanceGroupStatus :: InstanceGroupStatus
- igsState :: Lens' InstanceGroupStatus (Maybe InstanceGroupState)
- igsStateChangeReason :: Lens' InstanceGroupStatus (Maybe InstanceGroupStateChangeReason)
- igsTimeline :: Lens' InstanceGroupStatus (Maybe InstanceGroupTimeline)
- data Cluster
- cluster :: Text -> Text -> ClusterStatus -> Cluster
- c1Applications :: Lens' Cluster [Application]
- c1AutoTerminate :: Lens' Cluster (Maybe Bool)
- c1Ec2InstanceAttributes :: Lens' Cluster (Maybe Ec2InstanceAttributes)
- c1Id :: Lens' Cluster Text
- c1LogUri :: Lens' Cluster (Maybe Text)
- c1MasterPublicDnsName :: Lens' Cluster (Maybe Text)
- c1Name :: Lens' Cluster Text
- c1NormalizedInstanceHours :: Lens' Cluster (Maybe Int)
- c1RequestedAmiVersion :: Lens' Cluster (Maybe Text)
- c1RunningAmiVersion :: Lens' Cluster (Maybe Text)
- c1ServiceRole :: Lens' Cluster (Maybe Text)
- c1Status :: Lens' Cluster ClusterStatus
- c1Tags :: Lens' Cluster [Tag]
- c1TerminationProtected :: Lens' Cluster (Maybe Bool)
- c1VisibleToAllUsers :: Lens' Cluster (Maybe Bool)
- data InstanceTimeline
- instanceTimeline :: InstanceTimeline
- itCreationDateTime :: Lens' InstanceTimeline (Maybe UTCTime)
- itEndDateTime :: Lens' InstanceTimeline (Maybe UTCTime)
- itReadyDateTime :: Lens' InstanceTimeline (Maybe UTCTime)
- data Ec2InstanceAttributes
- ec2InstanceAttributes :: Ec2InstanceAttributes
- eiaEc2AvailabilityZone :: Lens' Ec2InstanceAttributes (Maybe Text)
- eiaEc2KeyName :: Lens' Ec2InstanceAttributes (Maybe Text)
- eiaEc2SubnetId :: Lens' Ec2InstanceAttributes (Maybe Text)
- eiaIamInstanceProfile :: Lens' Ec2InstanceAttributes (Maybe Text)
- data StepStateChangeReasonCode = None
- data ClusterState
- data HadoopStepConfig
- hadoopStepConfig :: HadoopStepConfig
- hscArgs :: Lens' HadoopStepConfig [Text]
- hscJar :: Lens' HadoopStepConfig (Maybe Text)
- hscMainClass :: Lens' HadoopStepConfig (Maybe Text)
- hscProperties :: Lens' HadoopStepConfig (HashMap Text Text)
- data JobFlowExecutionState
- data StepDetail
- stepDetail :: StepConfig -> StepExecutionStatusDetail -> StepDetail
- sdExecutionStatusDetail :: Lens' StepDetail StepExecutionStatusDetail
- sdStepConfig :: Lens' StepDetail StepConfig
- data InstanceGroupStateChangeReason
- instanceGroupStateChangeReason :: InstanceGroupStateChangeReason
- igscrCode :: Lens' InstanceGroupStateChangeReason (Maybe InstanceGroupStateChangeReasonCode)
- igscrMessage :: Lens' InstanceGroupStateChangeReason (Maybe Text)
- data InstanceGroupType
- data InstanceGroupStateChangeReasonCode
- data StepStatus
- stepStatus :: StepStatus
- ssState :: Lens' StepStatus (Maybe StepState)
- ssStateChangeReason :: Lens' StepStatus (Maybe StepStateChangeReason)
- ssTimeline :: Lens' StepStatus (Maybe StepTimeline)
- data StepSummary
- stepSummary :: StepSummary
- ssActionOnFailure :: Lens' StepSummary (Maybe ActionOnFailure)
- ssConfig :: Lens' StepSummary (Maybe HadoopStepConfig)
- ssId :: Lens' StepSummary (Maybe Text)
- ssName :: Lens' StepSummary (Maybe Text)
- ssStatus :: Lens' StepSummary (Maybe StepStatus)
- data InstanceGroupState
- data StepTimeline
- stepTimeline :: StepTimeline
- stCreationDateTime :: Lens' StepTimeline (Maybe UTCTime)
- stEndDateTime :: Lens' StepTimeline (Maybe UTCTime)
- stStartDateTime :: Lens' StepTimeline (Maybe UTCTime)
- data PlacementType
- placementType :: Text -> PlacementType
- ptAvailabilityZone :: Lens' PlacementType Text
- data HadoopJarStepConfig
- hadoopJarStepConfig :: Text -> HadoopJarStepConfig
- hjscArgs :: Lens' HadoopJarStepConfig [Text]
- hjscJar :: Lens' HadoopJarStepConfig Text
- hjscMainClass :: Lens' HadoopJarStepConfig (Maybe Text)
- hjscProperties :: Lens' HadoopJarStepConfig [KeyValue]
- data InstanceGroupModifyConfig
- instanceGroupModifyConfig :: Text -> InstanceGroupModifyConfig
- igmcEC2InstanceIdsToTerminate :: Lens' InstanceGroupModifyConfig [Text]
- igmcInstanceCount :: Lens' InstanceGroupModifyConfig (Maybe Int)
- igmcInstanceGroupId :: Lens' InstanceGroupModifyConfig Text
- data InstanceGroupDetail
- instanceGroupDetail :: MarketType -> InstanceRoleType -> Text -> Int -> Int -> InstanceGroupState -> UTCTime -> InstanceGroupDetail
- igdBidPrice :: Lens' InstanceGroupDetail (Maybe Text)
- igdCreationDateTime :: Lens' InstanceGroupDetail UTCTime
- igdEndDateTime :: Lens' InstanceGroupDetail (Maybe UTCTime)
- igdInstanceGroupId :: Lens' InstanceGroupDetail (Maybe Text)
- igdInstanceRequestCount :: Lens' InstanceGroupDetail Int
- igdInstanceRole :: Lens' InstanceGroupDetail InstanceRoleType
- igdInstanceRunningCount :: Lens' InstanceGroupDetail Int
- igdInstanceType :: Lens' InstanceGroupDetail Text
- igdLastStateChangeReason :: Lens' InstanceGroupDetail (Maybe Text)
- igdMarket :: Lens' InstanceGroupDetail MarketType
- igdName :: Lens' InstanceGroupDetail (Maybe Text)
- igdReadyDateTime :: Lens' InstanceGroupDetail (Maybe UTCTime)
- igdStartDateTime :: Lens' InstanceGroupDetail (Maybe UTCTime)
- igdState :: Lens' InstanceGroupDetail InstanceGroupState
- data StepStateChangeReason
- stepStateChangeReason :: StepStateChangeReason
- sscrCode :: Lens' StepStateChangeReason (Maybe StepStateChangeReasonCode)
- sscrMessage :: Lens' StepStateChangeReason (Maybe Text)
- data ClusterStateChangeReasonCode
- data Step
- step :: Step
- sActionOnFailure :: Lens' Step (Maybe ActionOnFailure)
- sConfig :: Lens' Step (Maybe HadoopStepConfig)
- sId :: Lens' Step (Maybe Text)
- sName :: Lens' Step (Maybe Text)
- sStatus :: Lens' Step (Maybe StepStatus)
- data StepState
- data InstanceGroupTimeline
- instanceGroupTimeline :: InstanceGroupTimeline
- igtCreationDateTime :: Lens' InstanceGroupTimeline (Maybe UTCTime)
- igtEndDateTime :: Lens' InstanceGroupTimeline (Maybe UTCTime)
- igtReadyDateTime :: Lens' InstanceGroupTimeline (Maybe UTCTime)
- data BootstrapActionDetail
- bootstrapActionDetail :: BootstrapActionDetail
- badBootstrapActionConfig :: Lens' BootstrapActionDetail (Maybe BootstrapActionConfig)
- data StepExecutionStatusDetail
- stepExecutionStatusDetail :: StepExecutionState -> UTCTime -> StepExecutionStatusDetail
- sesdCreationDateTime :: Lens' StepExecutionStatusDetail UTCTime
- sesdEndDateTime :: Lens' StepExecutionStatusDetail (Maybe UTCTime)
- sesdLastStateChangeReason :: Lens' StepExecutionStatusDetail (Maybe Text)
- sesdStartDateTime :: Lens' StepExecutionStatusDetail (Maybe UTCTime)
- sesdState :: Lens' StepExecutionStatusDetail StepExecutionState
- data InstanceStatus
- instanceStatus :: InstanceStatus
- isState :: Lens' InstanceStatus (Maybe InstanceState)
- isStateChangeReason :: Lens' InstanceStatus (Maybe InstanceStateChangeReason)
- isTimeline :: Lens' InstanceStatus (Maybe InstanceTimeline)
- data InstanceRoleType
- data JobFlowInstancesConfig
- jobFlowInstancesConfig :: JobFlowInstancesConfig
- jficEc2KeyName :: Lens' JobFlowInstancesConfig (Maybe Text)
- jficEc2SubnetId :: Lens' JobFlowInstancesConfig (Maybe Text)
- jficHadoopVersion :: Lens' JobFlowInstancesConfig (Maybe Text)
- jficInstanceCount :: Lens' JobFlowInstancesConfig (Maybe Int)
- jficInstanceGroups :: Lens' JobFlowInstancesConfig [InstanceGroupConfig]
- jficKeepJobFlowAliveWhenNoSteps :: Lens' JobFlowInstancesConfig (Maybe Bool)
- jficMasterInstanceType :: Lens' JobFlowInstancesConfig (Maybe Text)
- jficPlacement :: Lens' JobFlowInstancesConfig (Maybe PlacementType)
- jficSlaveInstanceType :: Lens' JobFlowInstancesConfig (Maybe Text)
- jficTerminationProtected :: Lens' JobFlowInstancesConfig (Maybe Bool)
- data StepConfig
- stepConfig :: Text -> HadoopJarStepConfig -> StepConfig
- scActionOnFailure :: Lens' StepConfig (Maybe ActionOnFailure)
- scHadoopJarStep :: Lens' StepConfig HadoopJarStepConfig
- scName :: Lens' StepConfig Text
- data InstanceGroup
- instanceGroup :: InstanceGroup
- igBidPrice :: Lens' InstanceGroup (Maybe Text)
- igId :: Lens' InstanceGroup (Maybe Text)
- igInstanceGroupType :: Lens' InstanceGroup (Maybe InstanceGroupType)
- igInstanceType :: Lens' InstanceGroup (Maybe Text)
- igMarket :: Lens' InstanceGroup (Maybe MarketType)
- igName :: Lens' InstanceGroup (Maybe Text)
- igRequestedInstanceCount :: Lens' InstanceGroup (Maybe Int)
- igRunningInstanceCount :: Lens' InstanceGroup (Maybe Int)
- igStatus :: Lens' InstanceGroup (Maybe InstanceGroupStatus)
- data BootstrapActionConfig
- bootstrapActionConfig :: Text -> ScriptBootstrapActionConfig -> BootstrapActionConfig
- bacName :: Lens' BootstrapActionConfig Text
- bacScriptBootstrapAction :: Lens' BootstrapActionConfig ScriptBootstrapActionConfig
- data ClusterSummary
- clusterSummary :: ClusterSummary
- csId :: Lens' ClusterSummary (Maybe Text)
- csName :: Lens' ClusterSummary (Maybe Text)
- csNormalizedInstanceHours :: Lens' ClusterSummary (Maybe Int)
- csStatus :: Lens' ClusterSummary (Maybe ClusterStatus)
- data JobFlowInstancesDetail
- jobFlowInstancesDetail :: Text -> Text -> Int -> JobFlowInstancesDetail
- jfidEc2KeyName :: Lens' JobFlowInstancesDetail (Maybe Text)
- jfidEc2SubnetId :: Lens' JobFlowInstancesDetail (Maybe Text)
- jfidHadoopVersion :: Lens' JobFlowInstancesDetail (Maybe Text)
- jfidInstanceCount :: Lens' JobFlowInstancesDetail Int
- jfidInstanceGroups :: Lens' JobFlowInstancesDetail [InstanceGroupDetail]
- jfidKeepJobFlowAliveWhenNoSteps :: Lens' JobFlowInstancesDetail (Maybe Bool)
- jfidMasterInstanceId :: Lens' JobFlowInstancesDetail (Maybe Text)
- jfidMasterInstanceType :: Lens' JobFlowInstancesDetail Text
- jfidMasterPublicDnsName :: Lens' JobFlowInstancesDetail (Maybe Text)
- jfidNormalizedInstanceHours :: Lens' JobFlowInstancesDetail (Maybe Int)
- jfidPlacement :: Lens' JobFlowInstancesDetail (Maybe PlacementType)
- jfidSlaveInstanceType :: Lens' JobFlowInstancesDetail Text
- jfidTerminationProtected :: Lens' JobFlowInstancesDetail (Maybe Bool)
- data ClusterStatus
- clusterStatus :: ClusterStatus
- csState :: Lens' ClusterStatus (Maybe ClusterState)
- csStateChangeReason :: Lens' ClusterStatus (Maybe ClusterStateChangeReason)
- csTimeline :: Lens' ClusterStatus (Maybe ClusterTimeline)
- data InstanceState
- data ClusterTimeline
- clusterTimeline :: ClusterTimeline
- ctCreationDateTime :: Lens' ClusterTimeline (Maybe UTCTime)
- ctEndDateTime :: Lens' ClusterTimeline (Maybe UTCTime)
- ctReadyDateTime :: Lens' ClusterTimeline (Maybe UTCTime)
- data InstanceStateChangeReasonCode
- data Instance
- instance' :: Instance
- iEc2InstanceId :: Lens' Instance (Maybe Text)
- iId :: Lens' Instance (Maybe Text)
- iPrivateDnsName :: Lens' Instance (Maybe Text)
- iPrivateIpAddress :: Lens' Instance (Maybe Text)
- iPublicDnsName :: Lens' Instance (Maybe Text)
- iPublicIpAddress :: Lens' Instance (Maybe Text)
- iStatus :: Lens' Instance (Maybe InstanceStatus)
- data ScriptBootstrapActionConfig
- scriptBootstrapActionConfig :: Text -> ScriptBootstrapActionConfig
- sbacArgs :: Lens' ScriptBootstrapActionConfig [Text]
- sbacPath :: Lens' ScriptBootstrapActionConfig Text
Service
Version 2009-03-31
of the Amazon Elastic MapReduce service.
Error
data JSONError :: *
MarketType
data MarketType Source
InstanceGroupConfig
:: InstanceRoleType | |
-> Text | |
-> Int | |
-> InstanceGroupConfig |
InstanceGroupConfig
constructor.
The fields accessible through corresponding lenses are:
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.
InstanceStateChangeReason
instanceStateChangeReason :: InstanceStateChangeReason Source
InstanceStateChangeReason
constructor.
The fields accessible through corresponding lenses are:
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
data JobFlowDetail Source
JobFlowDetail
constructor.
The fields accessible through corresponding lenses are:
jfdAmiVersion
::
Maybe
Text
jfdBootstrapActions
::
[BootstrapActionDetail
]jfdExecutionStatusDetail
::
JobFlowExecutionStatusDetail
jfdInstances
::
JobFlowInstancesDetail
jfdJobFlowId
::
Text
jfdJobFlowRole
::
Maybe
Text
jfdLogUri
::
Maybe
Text
jfdName
::
Text
jfdServiceRole
::
Maybe
Text
jfdSteps
::
[StepDetail
]jfdSupportedProducts
::
[Text
]jfdVisibleToAllUsers
::
Maybe
Bool
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
SupportedProductConfig
spcArgs :: Lens' SupportedProductConfig [Text] Source
The list of user-supplied arguments.
Command
StepExecutionState
data StepExecutionState Source
Cancelled | CANCELLED |
Completed | COMPLETED |
Continue | CONTINUE |
Failed | FAILED |
Interrupted | INTERRUPTED |
Pending | PENDING |
Running | RUNNING |
ActionOnFailure
data ActionOnFailure Source
AOFCancelAndWait | CANCEL_AND_WAIT |
AOFContinue | CONTINUE |
AOFTerminateCluster | TERMINATE_CLUSTER |
AOFTerminateJobFlow | TERMINATE_JOB_FLOW |
ClusterStateChangeReason
clusterStateChangeReason :: ClusterStateChangeReason Source
ClusterStateChangeReason
constructor.
The fields accessible through corresponding lenses are:
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
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
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.
JobFlowExecutionStatusDetail
jobFlowExecutionStatusDetail Source
JobFlowExecutionStatusDetail
constructor.
The fields accessible through corresponding lenses are:
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.
jfesdState :: Lens' JobFlowExecutionStatusDetail JobFlowExecutionState Source
The state of the job flow.
InstanceGroupStatus
instanceGroupStatus :: InstanceGroupStatus Source
InstanceGroupStatus
constructor.
The fields accessible through corresponding lenses are:
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
Cluster
constructor.
The fields accessible through corresponding lenses are:
c1Applications
::
[Application
]c1AutoTerminate
::
Maybe
Bool
c1Ec2InstanceAttributes
::
Maybe
Ec2InstanceAttributes
c1Id
::
Text
c1LogUri
::
Maybe
Text
c1MasterPublicDnsName
::
Maybe
Text
c1Name
::
Text
c1NormalizedInstanceHours
::
Maybe
Int
c1RequestedAmiVersion
::
Maybe
Text
c1RunningAmiVersion
::
Maybe
Text
c1ServiceRole
::
Maybe
Text
c1Status
::
ClusterStatus
c1Tags
::
[Tag
]c1TerminationProtected
::
Maybe
Bool
c1VisibleToAllUsers
::
Maybe
Bool
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.
c1LogUri :: Lens' Cluster (Maybe Text) Source
The path to the Amazon S3 location where logs for this cluster are stored.
c1MasterPublicDnsName :: Lens' Cluster (Maybe Text) Source
The public DNS name of the master Ec2 instance.
c1NormalizedInstanceHours :: Lens' Cluster (Maybe Int) Source
An approximation of the cost of the job flow, 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.
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 ClusterStatus Source
The current status details about the 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
data InstanceTimeline Source
instanceTimeline :: InstanceTimeline Source
InstanceTimeline
constructor.
The fields accessible through corresponding lenses are:
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
ec2InstanceAttributes :: Ec2InstanceAttributes Source
Ec2InstanceAttributes
constructor.
The fields accessible through corresponding lenses are:
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
data StepStateChangeReasonCode Source
None | NONE |
ClusterState
data ClusterState Source
CSBootstrapping | BOOTSTRAPPING |
CSRunning | RUNNING |
CSStarting | STARTING |
CSTerminated | TERMINATED |
CSTerminatedWithErrors | TERMINATED_WITH_ERRORS |
CSTerminating | TERMINATING |
CSWaiting | WAITING |
HadoopStepConfig
data HadoopStepConfig Source
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
data JobFlowExecutionState Source
JFESBootstrapping | BOOTSTRAPPING |
JFESCompleted | COMPLETED |
JFESFailed | FAILED |
JFESRunning | RUNNING |
JFESShuttingDown | SHUTTING_DOWN |
JFESStarting | STARTING |
JFESTerminated | TERMINATED |
JFESWaiting | WAITING |
StepDetail
StepDetail
constructor.
The fields accessible through corresponding lenses are:
sdExecutionStatusDetail :: Lens' StepDetail StepExecutionStatusDetail Source
The description of the step status.
sdStepConfig :: Lens' StepDetail StepConfig Source
The step configuration.
InstanceGroupStateChangeReason
instanceGroupStateChangeReason :: InstanceGroupStateChangeReason Source
InstanceGroupStateChangeReason
constructor.
The fields accessible through corresponding lenses are:
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
data InstanceGroupType Source
InstanceGroupStateChangeReasonCode
data InstanceGroupStateChangeReasonCode Source
ClusterTerminated | CLUSTER_TERMINATED |
InstanceFailure | INSTANCE_FAILURE |
InternalError | INTERNAL_ERROR |
ValidationError | VALIDATION_ERROR |
StepStatus
stepStatus :: StepStatus Source
StepStatus
constructor.
The fields accessible through corresponding lenses are:
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:
ssActionOnFailure :: Lens' StepSummary (Maybe ActionOnFailure) Source
This specifies what action to take when the cluster step fails. Possible values are TERMINATE_CLUSTER, CANCEL_AND_WAIT, and CONTINUE.
ssConfig :: Lens' StepSummary (Maybe HadoopStepConfig) Source
The Hadoop job configuration of the cluster step.
ssStatus :: Lens' StepSummary (Maybe StepStatus) Source
The current execution status details of the cluster step.
InstanceGroupState
data InstanceGroupState Source
IGSArrested | ARRESTED |
IGSBootstrapping | BOOTSTRAPPING |
IGSEnded | ENDED |
IGSProvisioning | PROVISIONING |
IGSResizing | RESIZING |
IGSRunning | RUNNING |
IGSShuttingDown | SHUTTING_DOWN |
IGSSuspended | SUSPENDED |
IGSTerminated | TERMINATED |
IGSTerminating | TERMINATING |
StepTimeline
data StepTimeline Source
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
data 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
constructor.
The fields accessible through corresponding lenses are:
hjscArgs
::
[Text
]hjscJar
::
Text
hjscMainClass
::
Maybe
Text
hjscProperties
::
[KeyValue
]
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
instanceGroupModifyConfig Source
InstanceGroupModifyConfig
constructor.
The fields accessible through corresponding lenses are:
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
:: MarketType | |
-> InstanceRoleType | |
-> Text | |
-> Int | |
-> Int | |
-> InstanceGroupState | |
-> UTCTime | |
-> InstanceGroupDetail |
InstanceGroupDetail
constructor.
The fields accessible through corresponding lenses are:
igdBidPrice
::
Maybe
Text
igdCreationDateTime
::
UTCTime
igdEndDateTime
::
Maybe
UTCTime
igdInstanceGroupId
::
Maybe
Text
igdInstanceRequestCount
::
Int
igdInstanceRole
::
InstanceRoleType
igdInstanceRunningCount
::
Int
igdInstanceType
::
Text
igdLastStateChangeReason
::
Maybe
Text
igdMarket
::
MarketType
igdName
::
Maybe
Text
igdReadyDateTime
::
Maybe
UTCTime
igdStartDateTime
::
Maybe
UTCTime
igdState
::
InstanceGroupState
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.
igdInstanceType :: Lens' InstanceGroupDetail Text Source
Amazon EC2 Instance type.
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.
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
stepStateChangeReason :: StepStateChangeReason Source
StepStateChangeReason
constructor.
The fields accessible through corresponding lenses are:
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
data ClusterStateChangeReasonCode Source
CSCRCAllStepsCompleted | ALL_STEPS_COMPLETED |
CSCRCBootstrapFailure | BOOTSTRAP_FAILURE |
CSCRCInstanceFailure | INSTANCE_FAILURE |
CSCRCInternalError | INTERNAL_ERROR |
CSCRCStepFailure | STEP_FAILURE |
CSCRCUserRequest | USER_REQUEST |
CSCRCValidationError | VALIDATION_ERROR |
Step
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.
sStatus :: Lens' Step (Maybe StepStatus) Source
The current execution status details of the cluster step.
StepState
SSCancelled | CANCELLED |
SSCompleted | COMPLETED |
SSFailed | FAILED |
SSInterrupted | INTERRUPTED |
SSPending | PENDING |
SSRunning | RUNNING |
InstanceGroupTimeline
instanceGroupTimeline :: InstanceGroupTimeline Source
InstanceGroupTimeline
constructor.
The fields accessible through corresponding lenses are:
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
bootstrapActionDetail :: BootstrapActionDetail Source
BootstrapActionDetail
constructor.
The fields accessible through corresponding lenses are:
badBootstrapActionConfig :: Lens' BootstrapActionDetail (Maybe BootstrapActionConfig) Source
A description of the bootstrap action.
StepExecutionStatusDetail
stepExecutionStatusDetail Source
StepExecutionStatusDetail
constructor.
The fields accessible through corresponding lenses are:
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.
sesdState :: Lens' StepExecutionStatusDetail StepExecutionState Source
The state of the job flow step.
InstanceStatus
data InstanceStatus Source
instanceStatus :: InstanceStatus Source
InstanceStatus
constructor.
The fields accessible through corresponding lenses are:
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
data InstanceRoleType Source
JobFlowInstancesConfig
jobFlowInstancesConfig :: JobFlowInstancesConfig Source
JobFlowInstancesConfig
constructor.
The fields accessible through corresponding lenses are:
jficEc2KeyName
::
Maybe
Text
jficEc2SubnetId
::
Maybe
Text
jficHadoopVersion
::
Maybe
Text
jficInstanceCount
::
Maybe
Int
jficInstanceGroups
::
[InstanceGroupConfig
]jficKeepJobFlowAliveWhenNoSteps
::
Maybe
Bool
jficMasterInstanceType
::
Maybe
Text
jficPlacement
::
Maybe
PlacementType
jficSlaveInstanceType
::
Maybe
Text
jficTerminationProtected
::
Maybe
Bool
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", "0.20.205", "1.0.3", "2.2.0", or "2.4.0". 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
StepConfig
constructor.
The fields accessible through corresponding lenses are:
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
data InstanceGroup Source
instanceGroup :: InstanceGroup Source
InstanceGroup
constructor.
The fields accessible through corresponding lenses are:
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.
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.
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
BootstrapActionConfig
constructor.
The fields accessible through corresponding lenses are:
bacName :: Lens' BootstrapActionConfig Text Source
The name of the bootstrap action.
bacScriptBootstrapAction :: Lens' BootstrapActionConfig ScriptBootstrapActionConfig Source
The script run by the bootstrap action.
ClusterSummary
data ClusterSummary Source
clusterSummary :: ClusterSummary Source
ClusterSummary
constructor.
The fields accessible through corresponding lenses are:
csNormalizedInstanceHours :: Lens' ClusterSummary (Maybe Int) Source
An approximation of the cost of the job flow, 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.
csStatus :: Lens' ClusterSummary (Maybe ClusterStatus) Source
The details about the current status of the cluster.
JobFlowInstancesDetail
:: Text | |
-> Text | |
-> Int | |
-> JobFlowInstancesDetail |
JobFlowInstancesDetail
constructor.
The fields accessible through corresponding lenses are:
jfidEc2KeyName
::
Maybe
Text
jfidEc2SubnetId
::
Maybe
Text
jfidHadoopVersion
::
Maybe
Text
jfidInstanceCount
::
Int
jfidInstanceGroups
::
[InstanceGroupDetail
]jfidKeepJobFlowAliveWhenNoSteps
::
Maybe
Bool
jfidMasterInstanceId
::
Maybe
Text
jfidMasterInstanceType
::
Text
jfidMasterPublicDnsName
::
Maybe
Text
jfidNormalizedInstanceHours
::
Maybe
Int
jfidPlacement
::
Maybe
PlacementType
jfidSlaveInstanceType
::
Text
jfidTerminationProtected
::
Maybe
Bool
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.
jfidMasterPublicDnsName :: Lens' JobFlowInstancesDetail (Maybe Text) Source
The DNS name of the master node.
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
data ClusterStatus Source
clusterStatus :: ClusterStatus Source
ClusterStatus
constructor.
The fields accessible through corresponding lenses are:
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
data InstanceState Source
ISAwaitingFulfillment | AWAITING_FULFILLMENT |
ISBootstrapping | BOOTSTRAPPING |
ISProvisioning | PROVISIONING |
ISRunning | RUNNING |
ISTerminated | TERMINATED |
ClusterTimeline
data ClusterTimeline Source
clusterTimeline :: ClusterTimeline Source
ClusterTimeline
constructor.
The fields accessible through corresponding lenses are:
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
data InstanceStateChangeReasonCode Source
ISCRCBootstrapFailure | BOOTSTRAP_FAILURE |
ISCRCClusterTerminated | CLUSTER_TERMINATED |
ISCRCInstanceFailure | INSTANCE_FAILURE |
ISCRCInternalError | INTERNAL_ERROR |
ISCRCValidationError | VALIDATION_ERROR |
Instance
Instance
constructor.
The fields accessible through corresponding lenses are:
iEc2InstanceId :: Lens' Instance (Maybe Text) Source
The unique identifier of the instance in Amazon EC2.
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.