Safe Haskell | None |
---|---|
Language | Haskell2010 |
Network.AWS.EMR.Types
Contents
- 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 :: Text -> Text -> Int -> InstanceGroupConfig
- igcBidPrice :: Lens' InstanceGroupConfig (Maybe Text)
- igcInstanceCount :: Lens' InstanceGroupConfig Int
- igcInstanceRole :: Lens' InstanceGroupConfig Text
- igcInstanceType :: Lens' InstanceGroupConfig Text
- igcMarket :: Lens' InstanceGroupConfig (Maybe Text)
- igcName :: Lens' InstanceGroupConfig (Maybe Text)
- data InstanceStateChangeReason
- instanceStateChangeReason :: InstanceStateChangeReason
- iscrCode :: Lens' InstanceStateChangeReason (Maybe Text)
- 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 Text)
- 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 :: Text -> 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 Text
- data InstanceGroupStatus
- instanceGroupStatus :: InstanceGroupStatus
- igsState :: Lens' InstanceGroupStatus (Maybe Text)
- igsStateChangeReason :: Lens' InstanceGroupStatus (Maybe InstanceGroupStateChangeReason)
- igsTimeline :: Lens' InstanceGroupStatus (Maybe InstanceGroupTimeline)
- data Cluster
- cluster :: Cluster
- c1Applications :: Lens' Cluster [Application]
- c1AutoTerminate :: Lens' Cluster (Maybe Bool)
- c1Ec2InstanceAttributes :: Lens' Cluster (Maybe Ec2InstanceAttributes)
- c1Id :: Lens' Cluster (Maybe Text)
- c1LogUri :: Lens' Cluster (Maybe Text)
- c1Name :: Lens' Cluster (Maybe Text)
- c1RequestedAmiVersion :: Lens' Cluster (Maybe Text)
- c1RunningAmiVersion :: Lens' Cluster (Maybe Text)
- c1ServiceRole :: Lens' Cluster (Maybe Text)
- c1Status :: Lens' Cluster (Maybe 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 Text)
- igscrMessage :: Lens' InstanceGroupStateChangeReason (Maybe Text)
- data InstanceGroupType
- data InstanceGroupStateChangeReasonCode
- data StepStatus
- stepStatus :: StepStatus
- ssState :: Lens' StepStatus (Maybe Text)
- ssStateChangeReason :: Lens' StepStatus (Maybe StepStateChangeReason)
- ssTimeline :: Lens' StepStatus (Maybe StepTimeline)
- data StepSummary
- stepSummary :: StepSummary
- 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 :: Text -> Text -> Text -> Int -> Int -> Text -> 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 Text
- igdInstanceRunningCount :: Lens' InstanceGroupDetail Int
- igdInstanceType :: Lens' InstanceGroupDetail Text
- igdLastStateChangeReason :: Lens' InstanceGroupDetail (Maybe Text)
- igdMarket :: Lens' InstanceGroupDetail Text
- igdName :: Lens' InstanceGroupDetail (Maybe Text)
- igdReadyDateTime :: Lens' InstanceGroupDetail (Maybe UTCTime)
- igdStartDateTime :: Lens' InstanceGroupDetail (Maybe UTCTime)
- igdState :: Lens' InstanceGroupDetail Text
- data StepStateChangeReason
- stepStateChangeReason :: StepStateChangeReason
- sscrCode :: Lens' StepStateChangeReason (Maybe Text)
- sscrMessage :: Lens' StepStateChangeReason (Maybe Text)
- data ClusterStateChangeReasonCode
- data Step
- step :: Step
- sActionOnFailure :: Lens' Step (Maybe Text)
- 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 :: Text -> UTCTime -> StepExecutionStatusDetail
- sesdCreationDateTime :: Lens' StepExecutionStatusDetail UTCTime
- sesdEndDateTime :: Lens' StepExecutionStatusDetail (Maybe UTCTime)
- sesdLastStateChangeReason :: Lens' StepExecutionStatusDetail (Maybe Text)
- sesdStartDateTime :: Lens' StepExecutionStatusDetail (Maybe UTCTime)
- sesdState :: Lens' StepExecutionStatusDetail Text
- data InstanceStatus
- instanceStatus :: InstanceStatus
- isState :: Lens' InstanceStatus (Maybe Text)
- 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 Text)
- 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 Text)
- igInstanceType :: Lens' InstanceGroup (Maybe Text)
- igMarket :: Lens' InstanceGroup (Maybe Text)
- 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)
- 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 Text)
- 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
Arguments
:: Text | |
-> 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 Text 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 Text) 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 Text) Source
The programmable code for the state change reason.
iscrMessage :: Lens' InstanceStateChangeReason (Maybe Text) Source
The status change reason description.
JobFlowDetail
data JobFlowDetail Source
Arguments
:: Text | |
-> Text | |
-> JobFlowExecutionStatusDetail | |
-> JobFlowInstancesDetail | |
-> JobFlowDetail |
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
ActionOnFailure
data ActionOnFailure Source
Constructors
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 Text) 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
data Application Source
Instances
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
Arguments
:: Text | |
-> UTCTime | |
-> JobFlowExecutionStatusDetail |
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 Text Source
The state of the job flow.
InstanceGroupStatus
instanceGroupStatus :: InstanceGroupStatus Source
InstanceGroupStatus
constructor.
The fields accessible through corresponding lenses are:
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
::
Maybe
Text
c1LogUri
::
Maybe
Text
c1Name
::
Maybe
Text
c1RequestedAmiVersion
::
Maybe
Text
c1RunningAmiVersion
::
Maybe
Text
c1ServiceRole
::
Maybe
Text
c1Status
::
Maybe
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.
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.
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
Constructors
None | NONE |
Instances
ClusterState
data ClusterState Source
Constructors
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
Constructors
JFESBootstrapping | BOOTSTRAPPING |
JFESCompleted | COMPLETED |
JFESFailed | FAILED |
JFESRunning | RUNNING |
JFESShuttingDown | SHUTTING_DOWN |
JFESStarting | STARTING |
JFESTerminated | TERMINATED |
JFESWaiting | WAITING |
Instances
StepDetail
data StepDetail Source
Instances
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 Text) 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
Constructors
ClusterTerminated | CLUSTER_TERMINATED |
InstanceFailure | INSTANCE_FAILURE |
InternalError | INTERNAL_ERROR |
ValidationError | VALIDATION_ERROR |
Instances
StepStatus
data StepStatus Source
Instances
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
data StepSummary Source
Instances
stepSummary :: StepSummary Source
StepSummary
constructor.
The fields accessible through corresponding lenses are:
ssStatus :: Lens' StepSummary (Maybe StepStatus) Source
The current execution status details of the cluster step.
InstanceGroupState
data InstanceGroupState Source
Constructors
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
Arguments
:: Text | |
-> PlacementType |
PlacementType
constructor.
The fields accessible through corresponding lenses are:
ptAvailabilityZone :: Lens' PlacementType Text Source
The Amazon EC2 Availability Zone for the job flow.
HadoopJarStepConfig
Arguments
:: Text | |
-> 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
Arguments
:: Text | |
-> InstanceGroupModifyConfig |
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
InstanceGroupDetail
constructor.
The fields accessible through corresponding lenses are:
igdBidPrice
::
Maybe
Text
igdCreationDateTime
::
UTCTime
igdEndDateTime
::
Maybe
UTCTime
igdInstanceGroupId
::
Maybe
Text
igdInstanceRequestCount
::
Int
igdInstanceRole
::
Text
igdInstanceRunningCount
::
Int
igdInstanceType
::
Text
igdLastStateChangeReason
::
Maybe
Text
igdMarket
::
Text
igdName
::
Maybe
Text
igdReadyDateTime
::
Maybe
UTCTime
igdStartDateTime
::
Maybe
UTCTime
igdState
::
Text
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 Text 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 Text 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 Text 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 Text) 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
Constructors
CSCRCAllStepsCompleted | ALL_STEPS_COMPLETED |
CSCRCBootstrapFailure | BOOTSTRAP_FAILURE |
CSCRCInstanceFailure | INSTANCE_FAILURE |
CSCRCInternalError | INTERNAL_ERROR |
CSCRCStepFailure | STEP_FAILURE |
CSCRCUserRequest | USER_REQUEST |
CSCRCValidationError | VALIDATION_ERROR |
Instances
Step
sActionOnFailure :: Lens' Step (Maybe Text) 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
Constructors
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
Arguments
:: Text | |
-> UTCTime | |
-> StepExecutionStatusDetail |
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 Text Source
The state of the job flow step.
InstanceStatus
data InstanceStatus Source
instanceStatus :: InstanceStatus Source
InstanceStatus
constructor.
The fields accessible through corresponding lenses are:
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", 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
data StepConfig Source
Instances
Arguments
:: Text | |
-> HadoopJarStepConfig | |
-> StepConfig |
StepConfig
constructor.
The fields accessible through corresponding lenses are:
scActionOnFailure :: Lens' StepConfig (Maybe Text) 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 Text) 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 Text) 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
Arguments
:: Text | |
-> ScriptBootstrapActionConfig | |
-> 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:
csStatus :: Lens' ClusterSummary (Maybe ClusterStatus) Source
The details about the current status of the cluster.
JobFlowInstancesDetail
Arguments
:: 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:
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
Constructors
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
Constructors
ISCRCBootstrapFailure | BOOTSTRAP_FAILURE |
ISCRCClusterTerminated | CLUSTER_TERMINATED |
ISCRCInstanceFailure | INSTANCE_FAILURE |
ISCRCInternalError | INTERNAL_ERROR |
ISCRCValidationError | VALIDATION_ERROR |
Instances
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
Arguments
:: Text | |
-> ScriptBootstrapActionConfig |
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.