Copyright | (c) 2013-2016 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
- Service Configuration
- Errors
- ActionOnFailure
- AdjustmentType
- AutoScalingPolicyState
- AutoScalingPolicyStateChangeReasonCode
- CancelStepsRequestStatus
- ClusterState
- ClusterStateChangeReasonCode
- ComparisonOperator
- InstanceGroupState
- InstanceGroupStateChangeReasonCode
- InstanceGroupType
- InstanceRoleType
- InstanceState
- InstanceStateChangeReasonCode
- MarketType
- ScaleDownBehavior
- Statistic
- StepState
- StepStateChangeReasonCode
- Unit
- Application
- AutoScalingPolicy
- AutoScalingPolicyDescription
- AutoScalingPolicyStateChangeReason
- AutoScalingPolicyStatus
- BootstrapActionConfig
- CancelStepsInfo
- CloudWatchAlarmDefinition
- Cluster
- ClusterStateChangeReason
- ClusterStatus
- ClusterSummary
- ClusterTimeline
- Command
- Configuration
- EBSBlockDevice
- EBSBlockDeviceConfig
- EBSConfiguration
- EBSVolume
- EC2InstanceAttributes
- FailureDetails
- HadoopJARStepConfig
- HadoopStepConfig
- Instance
- InstanceGroup
- InstanceGroupConfig
- InstanceGroupModifyConfig
- InstanceGroupStateChangeReason
- InstanceGroupStatus
- InstanceGroupTimeline
- InstanceResizePolicy
- InstanceStateChangeReason
- InstanceStatus
- InstanceTimeline
- JobFlowInstancesConfig
- KeyValue
- MetricDimension
- PlacementType
- ScalingAction
- ScalingConstraints
- ScalingRule
- ScalingTrigger
- ScriptBootstrapActionConfig
- SecurityConfigurationSummary
- ShrinkPolicy
- SimpleScalingPolicyConfiguration
- Step
- StepConfig
- StepStateChangeReason
- StepStatus
- StepSummary
- StepTimeline
- SupportedProductConfig
- Tag
- VolumeSpecification
- emr :: Service
- _InvalidRequestException :: AsError a => Getting (First ServiceError) a ServiceError
- _InternalServerError :: AsError a => Getting (First ServiceError) a ServiceError
- _InternalServerException :: AsError a => Getting (First ServiceError) a ServiceError
- data ActionOnFailure
- data AdjustmentType
- data AutoScalingPolicyState
- data AutoScalingPolicyStateChangeReasonCode
- data CancelStepsRequestStatus
- data ClusterState
- data ClusterStateChangeReasonCode
- data ComparisonOperator
- data InstanceGroupState
- data InstanceGroupStateChangeReasonCode
- data InstanceGroupType
- data InstanceRoleType
- data InstanceState
- data InstanceStateChangeReasonCode
- data MarketType
- data ScaleDownBehavior
- data Statistic
- = Average
- | Maximum
- | Minimum
- | SampleCount
- | Sum
- data StepState
- data StepStateChangeReasonCode = SSCRCNone
- data Unit
- = Bits
- | BitsPerSecond
- | Bytes
- | BytesPerSecond
- | Count
- | CountPerSecond
- | GigaBits
- | GigaBitsPerSecond
- | GigaBytes
- | GigaBytesPerSecond
- | KiloBits
- | KiloBitsPerSecond
- | KiloBytes
- | KiloBytesPerSecond
- | MegaBits
- | MegaBitsPerSecond
- | MegaBytes
- | MegaBytesPerSecond
- | MicroSeconds
- | MilliSeconds
- | None
- | Percent
- | Seconds
- | TeraBits
- | TeraBitsPerSecond
- | TeraBytes
- | TeraBytesPerSecond
- data Application
- application :: Application
- aArgs :: Lens' Application [Text]
- aAdditionalInfo :: Lens' Application (HashMap Text Text)
- aName :: Lens' Application (Maybe Text)
- aVersion :: Lens' Application (Maybe Text)
- data AutoScalingPolicy
- autoScalingPolicy :: ScalingConstraints -> AutoScalingPolicy
- aspConstraints :: Lens' AutoScalingPolicy ScalingConstraints
- aspRules :: Lens' AutoScalingPolicy [ScalingRule]
- data AutoScalingPolicyDescription
- autoScalingPolicyDescription :: AutoScalingPolicyDescription
- aspdStatus :: Lens' AutoScalingPolicyDescription (Maybe AutoScalingPolicyStatus)
- aspdRules :: Lens' AutoScalingPolicyDescription [ScalingRule]
- aspdConstraints :: Lens' AutoScalingPolicyDescription (Maybe ScalingConstraints)
- data AutoScalingPolicyStateChangeReason
- autoScalingPolicyStateChangeReason :: AutoScalingPolicyStateChangeReason
- aspscrCode :: Lens' AutoScalingPolicyStateChangeReason (Maybe AutoScalingPolicyStateChangeReasonCode)
- aspscrMessage :: Lens' AutoScalingPolicyStateChangeReason (Maybe Text)
- data AutoScalingPolicyStatus
- autoScalingPolicyStatus :: AutoScalingPolicyStatus
- aspsState :: Lens' AutoScalingPolicyStatus (Maybe AutoScalingPolicyState)
- aspsStateChangeReason :: Lens' AutoScalingPolicyStatus (Maybe AutoScalingPolicyStateChangeReason)
- data BootstrapActionConfig
- bootstrapActionConfig :: Text -> ScriptBootstrapActionConfig -> BootstrapActionConfig
- bacName :: Lens' BootstrapActionConfig Text
- bacScriptBootstrapAction :: Lens' BootstrapActionConfig ScriptBootstrapActionConfig
- data CancelStepsInfo
- cancelStepsInfo :: CancelStepsInfo
- csiStatus :: Lens' CancelStepsInfo (Maybe CancelStepsRequestStatus)
- csiStepId :: Lens' CancelStepsInfo (Maybe Text)
- csiReason :: Lens' CancelStepsInfo (Maybe Text)
- data CloudWatchAlarmDefinition
- cloudWatchAlarmDefinition :: ComparisonOperator -> Text -> Int -> Double -> CloudWatchAlarmDefinition
- cwadEvaluationPeriods :: Lens' CloudWatchAlarmDefinition (Maybe Int)
- cwadNamespace :: Lens' CloudWatchAlarmDefinition (Maybe Text)
- cwadDimensions :: Lens' CloudWatchAlarmDefinition [MetricDimension]
- cwadUnit :: Lens' CloudWatchAlarmDefinition (Maybe Unit)
- cwadStatistic :: Lens' CloudWatchAlarmDefinition (Maybe Statistic)
- cwadComparisonOperator :: Lens' CloudWatchAlarmDefinition ComparisonOperator
- cwadMetricName :: Lens' CloudWatchAlarmDefinition Text
- cwadPeriod :: Lens' CloudWatchAlarmDefinition Int
- cwadThreshold :: Lens' CloudWatchAlarmDefinition Double
- data Cluster
- cluster :: Text -> Text -> ClusterStatus -> Cluster
- cluRequestedAMIVersion :: Lens' Cluster (Maybe Text)
- cluEC2InstanceAttributes :: Lens' Cluster (Maybe EC2InstanceAttributes)
- cluNormalizedInstanceHours :: Lens' Cluster (Maybe Int)
- cluConfigurations :: Lens' Cluster [Configuration]
- cluAutoScalingRole :: Lens' Cluster (Maybe Text)
- cluSecurityConfiguration :: Lens' Cluster (Maybe Text)
- cluScaleDownBehavior :: Lens' Cluster (Maybe ScaleDownBehavior)
- cluReleaseLabel :: Lens' Cluster (Maybe Text)
- cluLogURI :: Lens' Cluster (Maybe Text)
- cluRunningAMIVersion :: Lens' Cluster (Maybe Text)
- cluMasterPublicDNSName :: Lens' Cluster (Maybe Text)
- cluTerminationProtected :: Lens' Cluster (Maybe Bool)
- cluVisibleToAllUsers :: Lens' Cluster (Maybe Bool)
- cluAutoTerminate :: Lens' Cluster (Maybe Bool)
- cluApplications :: Lens' Cluster [Application]
- cluTags :: Lens' Cluster [Tag]
- cluServiceRole :: Lens' Cluster (Maybe Text)
- cluId :: Lens' Cluster Text
- cluName :: Lens' Cluster Text
- cluStatus :: Lens' Cluster ClusterStatus
- data ClusterStateChangeReason
- clusterStateChangeReason :: ClusterStateChangeReason
- cscrCode :: Lens' ClusterStateChangeReason (Maybe ClusterStateChangeReasonCode)
- cscrMessage :: Lens' ClusterStateChangeReason (Maybe Text)
- data ClusterStatus
- clusterStatus :: ClusterStatus
- csState :: Lens' ClusterStatus (Maybe ClusterState)
- csStateChangeReason :: Lens' ClusterStatus (Maybe ClusterStateChangeReason)
- csTimeline :: Lens' ClusterStatus (Maybe ClusterTimeline)
- data ClusterSummary
- clusterSummary :: ClusterSummary
- csStatus :: Lens' ClusterSummary (Maybe ClusterStatus)
- csNormalizedInstanceHours :: Lens' ClusterSummary (Maybe Int)
- csName :: Lens' ClusterSummary (Maybe Text)
- csId :: Lens' ClusterSummary (Maybe Text)
- data ClusterTimeline
- clusterTimeline :: ClusterTimeline
- ctReadyDateTime :: Lens' ClusterTimeline (Maybe UTCTime)
- ctCreationDateTime :: Lens' ClusterTimeline (Maybe UTCTime)
- ctEndDateTime :: Lens' ClusterTimeline (Maybe UTCTime)
- data Command
- command :: Command
- cArgs :: Lens' Command [Text]
- cScriptPath :: Lens' Command (Maybe Text)
- cName :: Lens' Command (Maybe Text)
- data Configuration
- configuration :: Configuration
- cConfigurations :: Lens' Configuration [Configuration]
- cClassification :: Lens' Configuration (Maybe Text)
- cProperties :: Lens' Configuration (HashMap Text Text)
- data EBSBlockDevice
- ebsBlockDevice :: EBSBlockDevice
- ebdDevice :: Lens' EBSBlockDevice (Maybe Text)
- ebdVolumeSpecification :: Lens' EBSBlockDevice (Maybe VolumeSpecification)
- data EBSBlockDeviceConfig
- ebsBlockDeviceConfig :: VolumeSpecification -> EBSBlockDeviceConfig
- ebdcVolumesPerInstance :: Lens' EBSBlockDeviceConfig (Maybe Int)
- ebdcVolumeSpecification :: Lens' EBSBlockDeviceConfig VolumeSpecification
- data EBSConfiguration
- ebsConfiguration :: EBSConfiguration
- ecEBSOptimized :: Lens' EBSConfiguration (Maybe Bool)
- ecEBSBlockDeviceConfigs :: Lens' EBSConfiguration [EBSBlockDeviceConfig]
- data EBSVolume
- ebsVolume :: EBSVolume
- evDevice :: Lens' EBSVolume (Maybe Text)
- evVolumeId :: Lens' EBSVolume (Maybe Text)
- data EC2InstanceAttributes
- ec2InstanceAttributes :: EC2InstanceAttributes
- eiaEC2KeyName :: Lens' EC2InstanceAttributes (Maybe Text)
- eiaEmrManagedSlaveSecurityGroup :: Lens' EC2InstanceAttributes (Maybe Text)
- eiaAdditionalSlaveSecurityGroups :: Lens' EC2InstanceAttributes [Text]
- eiaAdditionalMasterSecurityGroups :: Lens' EC2InstanceAttributes [Text]
- eiaIAMInstanceProfile :: Lens' EC2InstanceAttributes (Maybe Text)
- eiaEmrManagedMasterSecurityGroup :: Lens' EC2InstanceAttributes (Maybe Text)
- eiaEC2SubnetId :: Lens' EC2InstanceAttributes (Maybe Text)
- eiaServiceAccessSecurityGroup :: Lens' EC2InstanceAttributes (Maybe Text)
- eiaEC2AvailabilityZone :: Lens' EC2InstanceAttributes (Maybe Text)
- data FailureDetails
- failureDetails :: FailureDetails
- fdLogFile :: Lens' FailureDetails (Maybe Text)
- fdReason :: Lens' FailureDetails (Maybe Text)
- fdMessage :: Lens' FailureDetails (Maybe Text)
- data HadoopJARStepConfig
- hadoopJARStepConfig :: Text -> HadoopJARStepConfig
- hjscArgs :: Lens' HadoopJARStepConfig [Text]
- hjscMainClass :: Lens' HadoopJARStepConfig (Maybe Text)
- hjscProperties :: Lens' HadoopJARStepConfig [KeyValue]
- hjscJAR :: Lens' HadoopJARStepConfig Text
- 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 Instance
- instance' :: Instance
- iStatus :: Lens' Instance (Maybe InstanceStatus)
- iPublicDNSName :: Lens' Instance (Maybe Text)
- iEBSVolumes :: Lens' Instance [EBSVolume]
- iEC2InstanceId :: Lens' Instance (Maybe Text)
- iPrivateIPAddress :: Lens' Instance (Maybe Text)
- iId :: Lens' Instance (Maybe Text)
- iInstanceGroupId :: Lens' Instance (Maybe Text)
- iPrivateDNSName :: Lens' Instance (Maybe Text)
- iPublicIPAddress :: Lens' Instance (Maybe Text)
- data InstanceGroup
- instanceGroup :: InstanceGroup
- igStatus :: Lens' InstanceGroup (Maybe InstanceGroupStatus)
- igBidPrice :: Lens' InstanceGroup (Maybe Text)
- igRequestedInstanceCount :: Lens' InstanceGroup (Maybe Int)
- igRunningInstanceCount :: Lens' InstanceGroup (Maybe Int)
- igConfigurations :: Lens' InstanceGroup [Configuration]
- igInstanceGroupType :: Lens' InstanceGroup (Maybe InstanceGroupType)
- igEBSBlockDevices :: Lens' InstanceGroup [EBSBlockDevice]
- igInstanceType :: Lens' InstanceGroup (Maybe Text)
- igEBSOptimized :: Lens' InstanceGroup (Maybe Bool)
- igMarket :: Lens' InstanceGroup (Maybe MarketType)
- igName :: Lens' InstanceGroup (Maybe Text)
- igAutoScalingPolicy :: Lens' InstanceGroup (Maybe AutoScalingPolicyDescription)
- igShrinkPolicy :: Lens' InstanceGroup (Maybe ShrinkPolicy)
- igId :: Lens' InstanceGroup (Maybe Text)
- data InstanceGroupConfig
- instanceGroupConfig :: InstanceRoleType -> Text -> Int -> InstanceGroupConfig
- igcEBSConfiguration :: Lens' InstanceGroupConfig (Maybe EBSConfiguration)
- igcBidPrice :: Lens' InstanceGroupConfig (Maybe Text)
- igcConfigurations :: Lens' InstanceGroupConfig [Configuration]
- igcMarket :: Lens' InstanceGroupConfig (Maybe MarketType)
- igcName :: Lens' InstanceGroupConfig (Maybe Text)
- igcAutoScalingPolicy :: Lens' InstanceGroupConfig (Maybe AutoScalingPolicy)
- igcInstanceRole :: Lens' InstanceGroupConfig InstanceRoleType
- igcInstanceType :: Lens' InstanceGroupConfig Text
- igcInstanceCount :: Lens' InstanceGroupConfig Int
- data InstanceGroupModifyConfig
- instanceGroupModifyConfig :: Text -> InstanceGroupModifyConfig
- igmcInstanceCount :: Lens' InstanceGroupModifyConfig (Maybe Int)
- igmcEC2InstanceIdsToTerminate :: Lens' InstanceGroupModifyConfig [Text]
- igmcShrinkPolicy :: Lens' InstanceGroupModifyConfig (Maybe ShrinkPolicy)
- igmcInstanceGroupId :: Lens' InstanceGroupModifyConfig Text
- data InstanceGroupStateChangeReason
- instanceGroupStateChangeReason :: InstanceGroupStateChangeReason
- igscrCode :: Lens' InstanceGroupStateChangeReason (Maybe InstanceGroupStateChangeReasonCode)
- igscrMessage :: Lens' InstanceGroupStateChangeReason (Maybe Text)
- data InstanceGroupStatus
- instanceGroupStatus :: InstanceGroupStatus
- igsState :: Lens' InstanceGroupStatus (Maybe InstanceGroupState)
- igsStateChangeReason :: Lens' InstanceGroupStatus (Maybe InstanceGroupStateChangeReason)
- igsTimeline :: Lens' InstanceGroupStatus (Maybe InstanceGroupTimeline)
- data InstanceGroupTimeline
- instanceGroupTimeline :: InstanceGroupTimeline
- igtReadyDateTime :: Lens' InstanceGroupTimeline (Maybe UTCTime)
- igtCreationDateTime :: Lens' InstanceGroupTimeline (Maybe UTCTime)
- igtEndDateTime :: Lens' InstanceGroupTimeline (Maybe UTCTime)
- data InstanceResizePolicy
- instanceResizePolicy :: InstanceResizePolicy
- irpInstancesToProtect :: Lens' InstanceResizePolicy [Text]
- irpInstancesToTerminate :: Lens' InstanceResizePolicy [Text]
- irpInstanceTerminationTimeout :: Lens' InstanceResizePolicy (Maybe Int)
- data InstanceStateChangeReason
- instanceStateChangeReason :: InstanceStateChangeReason
- iscrCode :: Lens' InstanceStateChangeReason (Maybe InstanceStateChangeReasonCode)
- iscrMessage :: Lens' InstanceStateChangeReason (Maybe Text)
- data InstanceStatus
- instanceStatus :: InstanceStatus
- isState :: Lens' InstanceStatus (Maybe InstanceState)
- isStateChangeReason :: Lens' InstanceStatus (Maybe InstanceStateChangeReason)
- isTimeline :: Lens' InstanceStatus (Maybe InstanceTimeline)
- data InstanceTimeline
- instanceTimeline :: InstanceTimeline
- itReadyDateTime :: Lens' InstanceTimeline (Maybe UTCTime)
- itCreationDateTime :: Lens' InstanceTimeline (Maybe UTCTime)
- itEndDateTime :: Lens' InstanceTimeline (Maybe UTCTime)
- data JobFlowInstancesConfig
- jobFlowInstancesConfig :: JobFlowInstancesConfig
- jficEC2KeyName :: Lens' JobFlowInstancesConfig (Maybe Text)
- jficSlaveInstanceType :: Lens' JobFlowInstancesConfig (Maybe Text)
- jficInstanceCount :: Lens' JobFlowInstancesConfig (Maybe Int)
- jficEmrManagedSlaveSecurityGroup :: Lens' JobFlowInstancesConfig (Maybe Text)
- jficAdditionalSlaveSecurityGroups :: Lens' JobFlowInstancesConfig [Text]
- jficHadoopVersion :: Lens' JobFlowInstancesConfig (Maybe Text)
- jficAdditionalMasterSecurityGroups :: Lens' JobFlowInstancesConfig [Text]
- jficEmrManagedMasterSecurityGroup :: Lens' JobFlowInstancesConfig (Maybe Text)
- jficEC2SubnetId :: Lens' JobFlowInstancesConfig (Maybe Text)
- jficMasterInstanceType :: Lens' JobFlowInstancesConfig (Maybe Text)
- jficInstanceGroups :: Lens' JobFlowInstancesConfig [InstanceGroupConfig]
- jficKeepJobFlowAliveWhenNoSteps :: Lens' JobFlowInstancesConfig (Maybe Bool)
- jficServiceAccessSecurityGroup :: Lens' JobFlowInstancesConfig (Maybe Text)
- jficTerminationProtected :: Lens' JobFlowInstancesConfig (Maybe Bool)
- jficPlacement :: Lens' JobFlowInstancesConfig (Maybe PlacementType)
- data KeyValue
- keyValue :: KeyValue
- kvValue :: Lens' KeyValue (Maybe Text)
- kvKey :: Lens' KeyValue (Maybe Text)
- data MetricDimension
- metricDimension :: MetricDimension
- mdValue :: Lens' MetricDimension (Maybe Text)
- mdKey :: Lens' MetricDimension (Maybe Text)
- data PlacementType
- placementType :: Text -> PlacementType
- ptAvailabilityZone :: Lens' PlacementType Text
- data ScalingAction
- scalingAction :: SimpleScalingPolicyConfiguration -> ScalingAction
- saMarket :: Lens' ScalingAction (Maybe MarketType)
- saSimpleScalingPolicyConfiguration :: Lens' ScalingAction SimpleScalingPolicyConfiguration
- data ScalingConstraints
- scalingConstraints :: Int -> Int -> ScalingConstraints
- scMinCapacity :: Lens' ScalingConstraints Int
- scMaxCapacity :: Lens' ScalingConstraints Int
- data ScalingRule
- scalingRule :: Text -> ScalingAction -> ScalingTrigger -> ScalingRule
- srDescription :: Lens' ScalingRule (Maybe Text)
- srName :: Lens' ScalingRule Text
- srAction :: Lens' ScalingRule ScalingAction
- srTrigger :: Lens' ScalingRule ScalingTrigger
- data ScalingTrigger
- scalingTrigger :: CloudWatchAlarmDefinition -> ScalingTrigger
- stCloudWatchAlarmDefinition :: Lens' ScalingTrigger CloudWatchAlarmDefinition
- data ScriptBootstrapActionConfig
- scriptBootstrapActionConfig :: Text -> ScriptBootstrapActionConfig
- sbacArgs :: Lens' ScriptBootstrapActionConfig [Text]
- sbacPath :: Lens' ScriptBootstrapActionConfig Text
- data SecurityConfigurationSummary
- securityConfigurationSummary :: SecurityConfigurationSummary
- scsName :: Lens' SecurityConfigurationSummary (Maybe Text)
- scsCreationDateTime :: Lens' SecurityConfigurationSummary (Maybe UTCTime)
- data ShrinkPolicy
- shrinkPolicy :: ShrinkPolicy
- spDecommissionTimeout :: Lens' ShrinkPolicy (Maybe Int)
- spInstanceResizePolicy :: Lens' ShrinkPolicy (Maybe InstanceResizePolicy)
- data SimpleScalingPolicyConfiguration
- simpleScalingPolicyConfiguration :: Int -> SimpleScalingPolicyConfiguration
- sspcAdjustmentType :: Lens' SimpleScalingPolicyConfiguration (Maybe AdjustmentType)
- sspcCoolDown :: Lens' SimpleScalingPolicyConfiguration (Maybe Int)
- sspcScalingAdjustment :: Lens' SimpleScalingPolicyConfiguration Int
- data Step
- step :: Step
- sStatus :: Lens' Step (Maybe StepStatus)
- sActionOnFailure :: Lens' Step (Maybe ActionOnFailure)
- sConfig :: Lens' Step (Maybe HadoopStepConfig)
- sName :: Lens' Step (Maybe Text)
- sId :: Lens' Step (Maybe Text)
- data StepConfig
- stepConfig :: Text -> HadoopJARStepConfig -> StepConfig
- scActionOnFailure :: Lens' StepConfig (Maybe ActionOnFailure)
- scName :: Lens' StepConfig Text
- scHadoopJARStep :: Lens' StepConfig HadoopJARStepConfig
- data StepStateChangeReason
- stepStateChangeReason :: StepStateChangeReason
- sscrCode :: Lens' StepStateChangeReason (Maybe StepStateChangeReasonCode)
- sscrMessage :: Lens' StepStateChangeReason (Maybe Text)
- data StepStatus
- stepStatus :: StepStatus
- ssState :: Lens' StepStatus (Maybe StepState)
- ssFailureDetails :: Lens' StepStatus (Maybe FailureDetails)
- ssStateChangeReason :: Lens' StepStatus (Maybe StepStateChangeReason)
- ssTimeline :: Lens' StepStatus (Maybe StepTimeline)
- data StepSummary
- stepSummary :: StepSummary
- ssStatus :: Lens' StepSummary (Maybe StepStatus)
- ssActionOnFailure :: Lens' StepSummary (Maybe ActionOnFailure)
- ssConfig :: Lens' StepSummary (Maybe HadoopStepConfig)
- ssName :: Lens' StepSummary (Maybe Text)
- ssId :: Lens' StepSummary (Maybe Text)
- data StepTimeline
- stepTimeline :: StepTimeline
- stCreationDateTime :: Lens' StepTimeline (Maybe UTCTime)
- stEndDateTime :: Lens' StepTimeline (Maybe UTCTime)
- stStartDateTime :: Lens' StepTimeline (Maybe UTCTime)
- data SupportedProductConfig
- supportedProductConfig :: SupportedProductConfig
- spcArgs :: Lens' SupportedProductConfig [Text]
- spcName :: Lens' SupportedProductConfig (Maybe Text)
- data Tag
- tag :: Tag
- tagValue :: Lens' Tag (Maybe Text)
- tagKey :: Lens' Tag (Maybe Text)
- data VolumeSpecification
- volumeSpecification :: Text -> Int -> VolumeSpecification
- vsIOPS :: Lens' VolumeSpecification (Maybe Int)
- vsVolumeType :: Lens' VolumeSpecification Text
- vsSizeInGB :: Lens' VolumeSpecification Int
Service Configuration
Errors
_InvalidRequestException :: AsError a => Getting (First ServiceError) a ServiceError Source #
This exception occurs when there is something wrong with user input.
_InternalServerError :: AsError a => Getting (First ServiceError) a ServiceError Source #
Indicates that an error occurred while processing the request and that the request was not completed.
_InternalServerException :: AsError a => Getting (First ServiceError) a ServiceError Source #
This exception occurs when there is an internal failure in the EMR service.
ActionOnFailure
data ActionOnFailure Source #
AdjustmentType
data AdjustmentType Source #
AutoScalingPolicyState
data AutoScalingPolicyState Source #
AutoScalingPolicyStateChangeReasonCode
data AutoScalingPolicyStateChangeReasonCode Source #
CancelStepsRequestStatus
data CancelStepsRequestStatus Source #
ClusterState
data ClusterState Source #
ClusterStateChangeReasonCode
data ClusterStateChangeReasonCode Source #
CSCRCAllStepsCompleted | |
CSCRCBootstrapFailure | |
CSCRCInstanceFailure | |
CSCRCInternalError | |
CSCRCStepFailure | |
CSCRCUserRequest | |
CSCRCValidationError |
ComparisonOperator
data ComparisonOperator Source #
InstanceGroupState
data InstanceGroupState Source #
Arrested | |
Bootstrapping | |
Ended | |
Provisioning | |
Resizing | |
Running | |
ShuttingDown | |
Suspended | |
Terminated | |
Terminating |
InstanceGroupStateChangeReasonCode
data InstanceGroupStateChangeReasonCode Source #
InstanceGroupType
data InstanceGroupType Source #
InstanceRoleType
data InstanceRoleType Source #
InstanceState
data InstanceState Source #
InstanceStateChangeReasonCode
data InstanceStateChangeReasonCode Source #
ISCRCBootstrapFailure | |
ISCRCClusterTerminated | |
ISCRCInstanceFailure | |
ISCRCInternalError | |
ISCRCValidationError |
MarketType
data MarketType Source #
ScaleDownBehavior
data ScaleDownBehavior Source #
Statistic
StepState
StepStateChangeReasonCode
data StepStateChangeReasonCode Source #
Unit
Application
data Application Source #
An application is any Amazon or third-party software that you can add to the cluster. This structure contains a list of strings that indicates the software to use with the cluster and accepts a user argument list. Amazon EMR accepts and forwards the argument list to the corresponding installation script as bootstrap action argument. For more information, see Launch a Job Flow on the MapR Distribution for Hadoop . Currently supported values are:
- "mapr-m3" - launch the job flow using MapR M3 Edition.
- "mapr-m5" - launch the job flow using MapR M5 Edition.
- "mapr" with the user arguments specifying "--edition,m3" or "--edition,m5" - launch the job flow using MapR M3 or M5 Edition, respectively.
See: application
smart constructor.
application :: Application Source #
Creates a value of Application
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
aArgs
- Arguments for Amazon EMR to pass to the application.aAdditionalInfo
- This option is for advanced users only. This is meta information about third-party applications that third-party vendors use for testing purposes.aName
- The name of the application.aVersion
- The version of the 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.
AutoScalingPolicy
data AutoScalingPolicy Source #
An automatic scaling policy for a core instance group or task instance group in an Amazon EMR cluster. An automatic scaling policy defines how an instance group dynamically adds and terminates EC2 instances in response to the value of a CloudWatch metric. See PutAutoScalingPolicy
.
See: autoScalingPolicy
smart constructor.
Creates a value of AutoScalingPolicy
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
aspConstraints
- The upper and lower EC2 instance limits for an automatic scaling policy. Automatic scaling activity will not cause an instance group to grow above or below these limits.aspRules
- The scale-in and scale-out rules that comprise the automatic scaling policy.
aspConstraints :: Lens' AutoScalingPolicy ScalingConstraints Source #
The upper and lower EC2 instance limits for an automatic scaling policy. Automatic scaling activity will not cause an instance group to grow above or below these limits.
aspRules :: Lens' AutoScalingPolicy [ScalingRule] Source #
The scale-in and scale-out rules that comprise the automatic scaling policy.
AutoScalingPolicyDescription
data AutoScalingPolicyDescription Source #
An automatic scaling policy for a core instance group or task instance group in an Amazon EMR cluster. The automatic scaling policy defines how an instance group dynamically adds and terminates EC2 instances in response to the value of a CloudWatch metric. See PutAutoScalingPolicy
.
See: autoScalingPolicyDescription
smart constructor.
autoScalingPolicyDescription :: AutoScalingPolicyDescription Source #
Creates a value of AutoScalingPolicyDescription
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
aspdStatus
- The status of an automatic scaling policy.aspdRules
- The scale-in and scale-out rules that comprise the automatic scaling policy.aspdConstraints
- The upper and lower EC2 instance limits for an automatic scaling policy. Automatic scaling activity will not cause an instance group to grow above or below these limits.
aspdStatus :: Lens' AutoScalingPolicyDescription (Maybe AutoScalingPolicyStatus) Source #
The status of an automatic scaling policy.
aspdRules :: Lens' AutoScalingPolicyDescription [ScalingRule] Source #
The scale-in and scale-out rules that comprise the automatic scaling policy.
aspdConstraints :: Lens' AutoScalingPolicyDescription (Maybe ScalingConstraints) Source #
The upper and lower EC2 instance limits for an automatic scaling policy. Automatic scaling activity will not cause an instance group to grow above or below these limits.
AutoScalingPolicyStateChangeReason
data AutoScalingPolicyStateChangeReason Source #
The reason for an AutoScalingPolicyStatus
change.
See: autoScalingPolicyStateChangeReason
smart constructor.
autoScalingPolicyStateChangeReason :: AutoScalingPolicyStateChangeReason Source #
Creates a value of AutoScalingPolicyStateChangeReason
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
aspscrCode
- The code indicating the reason for the change in status.USER_REQUEST
indicates that the scaling policy status was changed by a user.PROVISION_FAILURE
indicates that the status change was because the policy failed to provision.CLEANUP_FAILURE
indicates something unclean happened.-->aspscrMessage
- A friendly, more verbose message that accompanies an automatic scaling policy state change.
aspscrCode :: Lens' AutoScalingPolicyStateChangeReason (Maybe AutoScalingPolicyStateChangeReasonCode) Source #
The code indicating the reason for the change in status.USER_REQUEST
indicates that the scaling policy status was changed by a user. PROVISION_FAILURE
indicates that the status change was because the policy failed to provision. CLEANUP_FAILURE
indicates something unclean happened.-->
aspscrMessage :: Lens' AutoScalingPolicyStateChangeReason (Maybe Text) Source #
A friendly, more verbose message that accompanies an automatic scaling policy state change.
AutoScalingPolicyStatus
data AutoScalingPolicyStatus Source #
The status of an automatic scaling policy.
See: autoScalingPolicyStatus
smart constructor.
autoScalingPolicyStatus :: AutoScalingPolicyStatus Source #
Creates a value of AutoScalingPolicyStatus
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
aspsState
-aspsStateChangeReason
- The reason for a change in status.
aspsStateChangeReason :: Lens' AutoScalingPolicyStatus (Maybe AutoScalingPolicyStateChangeReason) Source #
The reason for a change in status.
BootstrapActionConfig
data BootstrapActionConfig Source #
Configuration of a bootstrap action.
See: bootstrapActionConfig
smart constructor.
bootstrapActionConfig Source #
Creates a value of BootstrapActionConfig
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
bacName
- The name of the bootstrap action.bacScriptBootstrapAction
- The script run by the bootstrap action.
bacScriptBootstrapAction :: Lens' BootstrapActionConfig ScriptBootstrapActionConfig Source #
The script run by the bootstrap action.
CancelStepsInfo
data CancelStepsInfo Source #
See: cancelStepsInfo
smart constructor.
cancelStepsInfo :: CancelStepsInfo Source #
Creates a value of CancelStepsInfo
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
csiStatus :: Lens' CancelStepsInfo (Maybe CancelStepsRequestStatus) Source #
Undocumented member.
CloudWatchAlarmDefinition
data CloudWatchAlarmDefinition Source #
The definition of a CloudWatch metric alarm, which determines when an automatic scaling activity is triggered. When the defined alarm conditions are satisfied, scaling activity begins.
See: cloudWatchAlarmDefinition
smart constructor.
cloudWatchAlarmDefinition Source #
:: ComparisonOperator | |
-> Text | |
-> Int | |
-> Double | |
-> CloudWatchAlarmDefinition |
Creates a value of CloudWatchAlarmDefinition
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
cwadEvaluationPeriods
- The number of periods, expressed in seconds usingPeriod
, during which the alarm condition must exist before the alarm triggers automatic scaling activity. The default value is1
.cwadNamespace
- The namespace for the CloudWatch metric. The default isAWS/ElasticMapReduce
.cwadDimensions
- A CloudWatch metric dimension.cwadUnit
- The unit of measure associated with the CloudWatch metric being watched. The value specified forUnit
must correspond to the units specified in the CloudWatch metric.cwadStatistic
- The statistic to apply to the metric associated with the alarm. The default isAVERAGE
.cwadComparisonOperator
- Determines how the metric specified byMetricName
is compared to the value specified byThreshold
.cwadMetricName
- The name of the CloudWatch metric that is watched to determine an alarm condition.cwadPeriod
- The period, in seconds, over which the statistic is applied. EMR CloudWatch metrics are emitted every five minutes (300 seconds), so if an EMR CloudWatch metric is specified, specify300
.cwadThreshold
- The value against which the specified statistic is compared.
cwadEvaluationPeriods :: Lens' CloudWatchAlarmDefinition (Maybe Int) Source #
The number of periods, expressed in seconds using Period
, during which the alarm condition must exist before the alarm triggers automatic scaling activity. The default value is 1
.
cwadNamespace :: Lens' CloudWatchAlarmDefinition (Maybe Text) Source #
The namespace for the CloudWatch metric. The default is AWS/ElasticMapReduce
.
cwadDimensions :: Lens' CloudWatchAlarmDefinition [MetricDimension] Source #
A CloudWatch metric dimension.
cwadUnit :: Lens' CloudWatchAlarmDefinition (Maybe Unit) Source #
The unit of measure associated with the CloudWatch metric being watched. The value specified for Unit
must correspond to the units specified in the CloudWatch metric.
cwadStatistic :: Lens' CloudWatchAlarmDefinition (Maybe Statistic) Source #
The statistic to apply to the metric associated with the alarm. The default is AVERAGE
.
cwadComparisonOperator :: Lens' CloudWatchAlarmDefinition ComparisonOperator Source #
Determines how the metric specified by MetricName
is compared to the value specified by Threshold
.
cwadMetricName :: Lens' CloudWatchAlarmDefinition Text Source #
The name of the CloudWatch metric that is watched to determine an alarm condition.
cwadPeriod :: Lens' CloudWatchAlarmDefinition Int Source #
The period, in seconds, over which the statistic is applied. EMR CloudWatch metrics are emitted every five minutes (300 seconds), so if an EMR CloudWatch metric is specified, specify 300
.
cwadThreshold :: Lens' CloudWatchAlarmDefinition Double Source #
The value against which the specified statistic is compared.
Cluster
The detailed description of the cluster.
See: cluster
smart constructor.
Creates a value of Cluster
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
cluRequestedAMIVersion
- The AMI version requested for this cluster.cluEC2InstanceAttributes
- Provides information about the EC2 instances in a cluster grouped by category. For example, key name, subnet ID, IAM instance profile, and so on.cluNormalizedInstanceHours
- 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.cluConfigurations
- The list of Configurations supplied to the EMR cluster.cluAutoScalingRole
- An IAM role for automatic scaling policies. The default role isEMR_AutoScaling_DefaultRole
. The IAM role provides permissions that the automatic scaling feature requires to launch and terminate EC2 instances in an instance group.cluSecurityConfiguration
- The name of the security configuration applied to the cluster.cluScaleDownBehavior
- The way that individual Amazon EC2 instances terminate when an automatic scale-in activity occurs or an instance group is resized.TERMINATE_AT_INSTANCE_HOUR
indicates that Amazon EMR terminates nodes at the instance-hour boundary, regardless of when the request to terminate the instance was submitted. This option is only available with Amazon EMR 5.1.0 and later and is the default for clusters created using that version.TERMINATE_AT_TASK_COMPLETION
indicates that Amazon EMR blacklists and drains tasks from nodes before terminating the Amazon EC2 instances, regardless of the instance-hour boundary. With either behavior, Amazon EMR removes the least active nodes first and blocks instance termination if it could lead to HDFS corruption.TERMINATE_AT_TASK_COMPLETION
is available only in Amazon EMR version 4.1.0 and later, and is the default for versions of Amazon EMR earlier than 5.1.0.cluReleaseLabel
- The release label for the Amazon EMR release. For Amazon EMR 3.x and 2.x AMIs, use amiVersion instead instead of ReleaseLabel.cluLogURI
- The path to the Amazon S3 location where logs for this cluster are stored.cluRunningAMIVersion
- The AMI version running on this cluster.cluMasterPublicDNSName
- The public DNS name of the master EC2 instance.cluTerminationProtected
- 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.cluVisibleToAllUsers
- 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 totrue
, 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 isfalse
, only the IAM user that created the cluster can view and manage it. This value can be changed using theSetVisibleToAllUsers
action.cluAutoTerminate
- Specifies whether the cluster should terminate after completing all steps.cluApplications
- The applications installed on this cluster.cluTags
- A list of tags associated with a cluster.cluServiceRole
- The IAM role that will be assumed by the Amazon EMR service to access AWS resources on your behalf.cluId
- The unique identifier for the cluster.cluName
- The name of the cluster.cluStatus
- The current status details about the cluster.
cluRequestedAMIVersion :: Lens' Cluster (Maybe Text) Source #
The AMI version requested for this cluster.
cluEC2InstanceAttributes :: Lens' Cluster (Maybe EC2InstanceAttributes) Source #
Provides information about the EC2 instances in a cluster grouped by category. For example, key name, subnet ID, IAM instance profile, and so on.
cluNormalizedInstanceHours :: 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.
cluConfigurations :: Lens' Cluster [Configuration] Source #
The list of Configurations supplied to the EMR cluster.
cluAutoScalingRole :: Lens' Cluster (Maybe Text) Source #
An IAM role for automatic scaling policies. The default role is EMR_AutoScaling_DefaultRole
. The IAM role provides permissions that the automatic scaling feature requires to launch and terminate EC2 instances in an instance group.
cluSecurityConfiguration :: Lens' Cluster (Maybe Text) Source #
The name of the security configuration applied to the cluster.
cluScaleDownBehavior :: Lens' Cluster (Maybe ScaleDownBehavior) Source #
The way that individual Amazon EC2 instances terminate when an automatic scale-in activity occurs or an instance group is resized. TERMINATE_AT_INSTANCE_HOUR
indicates that Amazon EMR terminates nodes at the instance-hour boundary, regardless of when the request to terminate the instance was submitted. This option is only available with Amazon EMR 5.1.0 and later and is the default for clusters created using that version. TERMINATE_AT_TASK_COMPLETION
indicates that Amazon EMR blacklists and drains tasks from nodes before terminating the Amazon EC2 instances, regardless of the instance-hour boundary. With either behavior, Amazon EMR removes the least active nodes first and blocks instance termination if it could lead to HDFS corruption. TERMINATE_AT_TASK_COMPLETION
is available only in Amazon EMR version 4.1.0 and later, and is the default for versions of Amazon EMR earlier than 5.1.0.
cluReleaseLabel :: Lens' Cluster (Maybe Text) Source #
The release label for the Amazon EMR release. For Amazon EMR 3.x and 2.x AMIs, use amiVersion instead instead of ReleaseLabel.
cluLogURI :: Lens' Cluster (Maybe Text) Source #
The path to the Amazon S3 location where logs for this cluster are stored.
cluMasterPublicDNSName :: Lens' Cluster (Maybe Text) Source #
The public DNS name of the master EC2 instance.
cluTerminationProtected :: 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.
cluVisibleToAllUsers :: 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.
cluAutoTerminate :: Lens' Cluster (Maybe Bool) Source #
Specifies whether the cluster should terminate after completing all steps.
cluApplications :: Lens' Cluster [Application] Source #
The applications installed on this cluster.
cluServiceRole :: Lens' Cluster (Maybe Text) Source #
The IAM role that will be assumed by the Amazon EMR service to access AWS resources on your behalf.
ClusterStateChangeReason
data ClusterStateChangeReason Source #
The reason that the cluster changed to its current state.
See: clusterStateChangeReason
smart constructor.
clusterStateChangeReason :: ClusterStateChangeReason Source #
Creates a value of ClusterStateChangeReason
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
cscrCode
- The programmatic code for the state change reason.cscrMessage
- The descriptive message for the state change reason.
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.
ClusterStatus
data ClusterStatus Source #
The detailed status of the cluster.
See: clusterStatus
smart constructor.
clusterStatus :: ClusterStatus Source #
Creates a value of ClusterStatus
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
csState
- The current state of the cluster.csStateChangeReason
- The reason for the cluster status change.csTimeline
- A timeline that represents the status of a cluster over the lifetime of the cluster.
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.
ClusterSummary
data ClusterSummary Source #
The summary description of the cluster.
See: clusterSummary
smart constructor.
clusterSummary :: ClusterSummary Source #
Creates a value of ClusterSummary
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
csStatus
- The details about the current status of the cluster.csNormalizedInstanceHours
- 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.csName
- The name of the cluster.csId
- The unique identifier for the cluster.
csStatus :: Lens' ClusterSummary (Maybe ClusterStatus) Source #
The details about the current status of the cluster.
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.
ClusterTimeline
data ClusterTimeline Source #
Represents the timeline of the cluster's lifecycle.
See: clusterTimeline
smart constructor.
clusterTimeline :: ClusterTimeline Source #
Creates a value of ClusterTimeline
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
ctReadyDateTime
- The date and time when the cluster was ready to execute steps.ctCreationDateTime
- The creation date and time of the cluster.ctEndDateTime
- 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.
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.
Command
An entity describing an executable that runs on a cluster.
See: command
smart constructor.
Creates a value of Command
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
cArgs
- Arguments for Amazon EMR to pass to the command for execution.cScriptPath
- The Amazon S3 location of the command script.cName
- The name of the command.
cArgs :: Lens' Command [Text] Source #
Arguments for Amazon EMR to pass to the command for execution.
Configuration
data Configuration Source #
Specifies a hardware and software configuration of the EMR cluster. This includes configurations for applications and software bundled with Amazon EMR. The Configuration object is a JSON object which is defined by a classification and a set of properties. Configurations can be nested, so a configuration may have its own Configuration objects listed.
See: configuration
smart constructor.
configuration :: Configuration Source #
Creates a value of Configuration
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
cConfigurations
- A list of configurations you apply to this configuration object.cClassification
- The classification of a configuration. For more information see, Amazon EMR Configurations .cProperties
- A set of properties supplied to the Configuration object.
cConfigurations :: Lens' Configuration [Configuration] Source #
A list of configurations you apply to this configuration object.
cClassification :: Lens' Configuration (Maybe Text) Source #
The classification of a configuration. For more information see, Amazon EMR Configurations .
cProperties :: Lens' Configuration (HashMap Text Text) Source #
A set of properties supplied to the Configuration object.
EBSBlockDevice
data EBSBlockDevice Source #
Configuration of requested EBS block device associated with the instance group.
See: ebsBlockDevice
smart constructor.
ebsBlockDevice :: EBSBlockDevice Source #
Creates a value of EBSBlockDevice
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
ebdDevice
- The device name that is exposed to the instance, such as devsdh.ebdVolumeSpecification
- EBS volume specifications such as volume type, IOPS, and size (GiB) that will be requested for the EBS volume attached to an EC2 instance in the cluster.
ebdDevice :: Lens' EBSBlockDevice (Maybe Text) Source #
The device name that is exposed to the instance, such as devsdh.
ebdVolumeSpecification :: Lens' EBSBlockDevice (Maybe VolumeSpecification) Source #
EBS volume specifications such as volume type, IOPS, and size (GiB) that will be requested for the EBS volume attached to an EC2 instance in the cluster.
EBSBlockDeviceConfig
data EBSBlockDeviceConfig Source #
Configuration of requested EBS block device associated with the instance group with count of volumes that will be associated to every instance.
See: ebsBlockDeviceConfig
smart constructor.
Creates a value of EBSBlockDeviceConfig
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
ebdcVolumesPerInstance
- Number of EBS volumes with a specific volume configuration that will be associated with every instance in the instance groupebdcVolumeSpecification
- EBS volume specifications such as volume type, IOPS, and size (GiB) that will be requested for the EBS volume attached to an EC2 instance in the cluster.
ebdcVolumesPerInstance :: Lens' EBSBlockDeviceConfig (Maybe Int) Source #
Number of EBS volumes with a specific volume configuration that will be associated with every instance in the instance group
ebdcVolumeSpecification :: Lens' EBSBlockDeviceConfig VolumeSpecification Source #
EBS volume specifications such as volume type, IOPS, and size (GiB) that will be requested for the EBS volume attached to an EC2 instance in the cluster.
EBSConfiguration
data EBSConfiguration Source #
The Amazon EBS configuration of a cluster instance.
See: ebsConfiguration
smart constructor.
ebsConfiguration :: EBSConfiguration Source #
Creates a value of EBSConfiguration
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
ecEBSOptimized
- Indicates whether an Amazon EBS volume is EBS-optimized.ecEBSBlockDeviceConfigs
- An array of Amazon EBS volume specifications attached to a cluster instance.
ecEBSOptimized :: Lens' EBSConfiguration (Maybe Bool) Source #
Indicates whether an Amazon EBS volume is EBS-optimized.
ecEBSBlockDeviceConfigs :: Lens' EBSConfiguration [EBSBlockDeviceConfig] Source #
An array of Amazon EBS volume specifications attached to a cluster instance.
EBSVolume
EBS block device that's attached to an EC2 instance.
See: ebsVolume
smart constructor.
ebsVolume :: EBSVolume Source #
Creates a value of EBSVolume
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
evDevice
- The device name that is exposed to the instance, such as devsdh.evVolumeId
- The volume identifier of the EBS volume.
evDevice :: Lens' EBSVolume (Maybe Text) Source #
The device name that is exposed to the instance, such as devsdh.
EC2InstanceAttributes
data EC2InstanceAttributes Source #
Provides information about the EC2 instances in a cluster grouped by category. For example, key name, subnet ID, IAM instance profile, and so on.
See: ec2InstanceAttributes
smart constructor.
ec2InstanceAttributes :: EC2InstanceAttributes Source #
Creates a value of EC2InstanceAttributes
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
eiaEC2KeyName
- The name of the Amazon EC2 key pair to use when connecting with SSH into the master node as a user named "hadoop".eiaEmrManagedSlaveSecurityGroup
- The identifier of the Amazon EC2 security group for the slave nodes.eiaAdditionalSlaveSecurityGroups
- A list of additional Amazon EC2 security group IDs for the slave nodes.eiaAdditionalMasterSecurityGroups
- A list of additional Amazon EC2 security group IDs for the master node.eiaIAMInstanceProfile
- The IAM role that was specified when the job flow was launched. The EC2 instances of the job flow assume this role.eiaEmrManagedMasterSecurityGroup
- The identifier of the Amazon EC2 security group for the master node.eiaEC2SubnetId
- 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.eiaServiceAccessSecurityGroup
- The identifier of the Amazon EC2 security group for the Amazon EMR service to access clusters in VPC private subnets.eiaEC2AvailabilityZone
- 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".
eiaEmrManagedSlaveSecurityGroup :: Lens' EC2InstanceAttributes (Maybe Text) Source #
The identifier of the Amazon EC2 security group for the slave nodes.
eiaAdditionalSlaveSecurityGroups :: Lens' EC2InstanceAttributes [Text] Source #
A list of additional Amazon EC2 security group IDs for the slave nodes.
eiaAdditionalMasterSecurityGroups :: Lens' EC2InstanceAttributes [Text] Source #
A list of additional Amazon EC2 security group IDs for the master node.
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.
eiaEmrManagedMasterSecurityGroup :: Lens' EC2InstanceAttributes (Maybe Text) Source #
The identifier of the Amazon EC2 security group for the master node.
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.
eiaServiceAccessSecurityGroup :: Lens' EC2InstanceAttributes (Maybe Text) Source #
The identifier of the Amazon EC2 security group for the Amazon EMR service to access clusters in VPC private subnets.
eiaEC2AvailabilityZone :: Lens' EC2InstanceAttributes (Maybe Text) Source #
The Availability Zone in which the cluster will run.
FailureDetails
data FailureDetails Source #
The details of the step failure. The service attempts to detect the root cause for many common failures.
See: failureDetails
smart constructor.
failureDetails :: FailureDetails Source #
Creates a value of FailureDetails
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
fdLogFile
- The path to the log file where the step failure root cause was originally recorded.fdReason
- The reason for the step failure. In the case where the service cannot successfully determine the root cause of the failure, it returns "Unknown Error" as a reason.fdMessage
- The descriptive message including the error the EMR service has identified as the cause of step failure. This is text from an error log that describes the root cause of the failure.
fdLogFile :: Lens' FailureDetails (Maybe Text) Source #
The path to the log file where the step failure root cause was originally recorded.
fdReason :: Lens' FailureDetails (Maybe Text) Source #
The reason for the step failure. In the case where the service cannot successfully determine the root cause of the failure, it returns "Unknown Error" as a reason.
fdMessage :: Lens' FailureDetails (Maybe Text) Source #
The descriptive message including the error the EMR service has identified as the cause of step failure. This is text from an error log that describes the root cause of the failure.
HadoopJARStepConfig
data HadoopJARStepConfig Source #
A job flow step consisting of a JAR file whose main function will be executed. The main function submits a job for Hadoop to execute and waits for the job to finish or fail.
See: hadoopJARStepConfig
smart constructor.
Creates a value of HadoopJARStepConfig
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
hjscArgs
- A list of command line arguments passed to the JAR file's main function when executed.hjscMainClass
- 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
- 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.hjscJAR
- A path to a JAR file run during the step.
hjscArgs :: Lens' HadoopJARStepConfig [Text] Source #
A list of command line arguments passed to the JAR file's main function when executed.
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.
HadoopStepConfig
data HadoopStepConfig Source #
A cluster step consisting of a JAR file whose main function will be executed. The main function submits a job for Hadoop to execute and waits for the job to finish or fail.
See: hadoopStepConfig
smart constructor.
hadoopStepConfig :: HadoopStepConfig Source #
Creates a value of HadoopStepConfig
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
hscArgs
- The list of command line arguments to pass to the JAR file's main function for execution.hscJAR
- The path to the JAR file that runs during the step.hscMainClass
- 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
- 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.
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.
Instance
Represents an EC2 instance provisioned as part of cluster.
See: instance'
smart constructor.
instance' :: Instance Source #
Creates a value of Instance
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
iStatus
- The current status of the instance.iPublicDNSName
- The public DNS name of the instance.iEBSVolumes
- The list of EBS volumes that are attached to this instance.iEC2InstanceId
- The unique identifier of the instance in Amazon EC2.iPrivateIPAddress
- The private IP address of the instance.iId
- The unique identifier for the instance in Amazon EMR.iInstanceGroupId
- The identifier of the instance group to which this instance belongs.iPrivateDNSName
- The private DNS name of the instance.iPublicIPAddress
- The public IP address of the instance.
iEBSVolumes :: Lens' Instance [EBSVolume] Source #
The list of EBS volumes that are attached to this instance.
iEC2InstanceId :: Lens' Instance (Maybe Text) Source #
The unique identifier of the instance in Amazon EC2.
iInstanceGroupId :: Lens' Instance (Maybe Text) Source #
The identifier of the instance group to which this instance belongs.
InstanceGroup
data InstanceGroup Source #
This entity represents an instance group, which is a group of instances that have common purpose. For example, CORE instance group is used for HDFS.
See: instanceGroup
smart constructor.
instanceGroup :: InstanceGroup Source #
Creates a value of InstanceGroup
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
igStatus
- The current status of the instance group.igBidPrice
- The bid price for each EC2 instance in the instance group when launching nodes as Spot Instances, expressed in USD.igRequestedInstanceCount
- The target number of instances for the instance group.igRunningInstanceCount
- The number of instances currently running in this instance group.igConfigurations
- The list of configurations supplied for an EMR cluster instance group. You can specify a separate configuration for each instance group (master, core, and task).igInstanceGroupType
- The type of the instance group. Valid values are MASTER, CORE or TASK.igEBSBlockDevices
- The EBS block devices that are mapped to this instance group.igInstanceType
- The EC2 instance type for all instances in the instance group.igEBSOptimized
- If the instance group is EBS-optimized. An Amazon EBS-optimized instance uses an optimized configuration stack and provides additional, dedicated capacity for Amazon EBS I/O.igMarket
- The marketplace to provision instances for this group. Valid values are ON_DEMAND or SPOT.igName
- The name of the instance group.igAutoScalingPolicy
- An automatic scaling policy for a core instance group or task instance group in an Amazon EMR cluster. The automatic scaling policy defines how an instance group dynamically adds and terminates EC2 instances in response to the value of a CloudWatch metric. See PutAutoScalingPolicy.igShrinkPolicy
- Policy for customizing shrink operations.igId
- The identifier of the instance group.
igStatus :: Lens' InstanceGroup (Maybe InstanceGroupStatus) Source #
The current status of the instance group.
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.
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.
igConfigurations :: Lens' InstanceGroup [Configuration] Source #
The list of configurations supplied for an EMR cluster instance group. You can specify a separate configuration for each instance group (master, core, and task).
igInstanceGroupType :: Lens' InstanceGroup (Maybe InstanceGroupType) Source #
The type of the instance group. Valid values are MASTER, CORE or TASK.
igEBSBlockDevices :: Lens' InstanceGroup [EBSBlockDevice] Source #
The EBS block devices that are mapped to this instance group.
igInstanceType :: Lens' InstanceGroup (Maybe Text) Source #
The EC2 instance type for all instances in the instance group.
igEBSOptimized :: Lens' InstanceGroup (Maybe Bool) Source #
If the instance group is EBS-optimized. An Amazon EBS-optimized instance uses an optimized configuration stack and provides additional, dedicated capacity for Amazon EBS I/O.
igMarket :: Lens' InstanceGroup (Maybe MarketType) Source #
The marketplace to provision instances for this group. Valid values are ON_DEMAND or SPOT.
igAutoScalingPolicy :: Lens' InstanceGroup (Maybe AutoScalingPolicyDescription) Source #
An automatic scaling policy for a core instance group or task instance group in an Amazon EMR cluster. The automatic scaling policy defines how an instance group dynamically adds and terminates EC2 instances in response to the value of a CloudWatch metric. See PutAutoScalingPolicy.
igShrinkPolicy :: Lens' InstanceGroup (Maybe ShrinkPolicy) Source #
Policy for customizing shrink operations.
InstanceGroupConfig
data InstanceGroupConfig Source #
Configuration defining a new instance group.
See: instanceGroupConfig
smart constructor.
:: InstanceRoleType | |
-> Text | |
-> Int | |
-> InstanceGroupConfig |
Creates a value of InstanceGroupConfig
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
igcEBSConfiguration
- EBS configurations that will be attached to each EC2 instance in the instance group.igcBidPrice
- Bid price for each EC2 instance in the instance group when launching nodes as Spot Instances, expressed in USD.igcConfigurations
- The list of configurations supplied for an EMR cluster instance group. You can specify a separate configuration for each instance group (master, core, and task).igcMarket
- Market type of the EC2 instances used to create a cluster node.igcName
- Friendly name given to the instance group.igcAutoScalingPolicy
- An automatic scaling policy for a core instance group or task instance group in an Amazon EMR cluster. The automatic scaling policy defines how an instance group dynamically adds and terminates EC2 instances in response to the value of a CloudWatch metric. SeePutAutoScalingPolicy
.igcInstanceRole
- The role of the instance group in the cluster.igcInstanceType
- The EC2 instance type for all instances in the instance group.igcInstanceCount
- Target number of instances for the instance group.
igcEBSConfiguration :: Lens' InstanceGroupConfig (Maybe EBSConfiguration) Source #
EBS configurations that will be attached to each EC2 instance in the instance group.
igcBidPrice :: Lens' InstanceGroupConfig (Maybe Text) Source #
Bid price for each EC2 instance in the instance group when launching nodes as Spot Instances, expressed in USD.
igcConfigurations :: Lens' InstanceGroupConfig [Configuration] Source #
The list of configurations supplied for an EMR cluster instance group. You can specify a separate configuration for each instance group (master, core, and task).
igcMarket :: Lens' InstanceGroupConfig (Maybe MarketType) Source #
Market type of the EC2 instances used to create a cluster node.
igcName :: Lens' InstanceGroupConfig (Maybe Text) Source #
Friendly name given to the instance group.
igcAutoScalingPolicy :: Lens' InstanceGroupConfig (Maybe AutoScalingPolicy) Source #
An automatic scaling policy for a core instance group or task instance group in an Amazon EMR cluster. The automatic scaling policy defines how an instance group dynamically adds and terminates EC2 instances in response to the value of a CloudWatch metric. See PutAutoScalingPolicy
.
igcInstanceRole :: Lens' InstanceGroupConfig InstanceRoleType Source #
The role of the instance group in the cluster.
igcInstanceType :: Lens' InstanceGroupConfig Text Source #
The EC2 instance type for all instances in the instance group.
igcInstanceCount :: Lens' InstanceGroupConfig Int Source #
Target number of instances for the instance group.
InstanceGroupModifyConfig
data InstanceGroupModifyConfig Source #
Modify an instance group size.
See: instanceGroupModifyConfig
smart constructor.
instanceGroupModifyConfig Source #
Creates a value of InstanceGroupModifyConfig
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
igmcInstanceCount
- Target size for the instance group.igmcEC2InstanceIdsToTerminate
- The EC2 InstanceIds to terminate. After you terminate the instances, the instance group will not return to its original requested size.igmcShrinkPolicy
- Policy for customizing shrink operations.igmcInstanceGroupId
- Unique ID of the instance group to expand or shrink.
igmcInstanceCount :: Lens' InstanceGroupModifyConfig (Maybe Int) Source #
Target size for the instance group.
igmcEC2InstanceIdsToTerminate :: Lens' InstanceGroupModifyConfig [Text] Source #
The EC2 InstanceIds to terminate. After you terminate the instances, the instance group will not return to its original requested size.
igmcShrinkPolicy :: Lens' InstanceGroupModifyConfig (Maybe ShrinkPolicy) Source #
Policy for customizing shrink operations.
igmcInstanceGroupId :: Lens' InstanceGroupModifyConfig Text Source #
Unique ID of the instance group to expand or shrink.
InstanceGroupStateChangeReason
data InstanceGroupStateChangeReason Source #
The status change reason details for the instance group.
See: instanceGroupStateChangeReason
smart constructor.
instanceGroupStateChangeReason :: InstanceGroupStateChangeReason Source #
Creates a value of InstanceGroupStateChangeReason
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
igscrCode
- The programmable code for the state change reason.igscrMessage
- The status change reason description.
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.
InstanceGroupStatus
data InstanceGroupStatus Source #
The details of the instance group status.
See: instanceGroupStatus
smart constructor.
instanceGroupStatus :: InstanceGroupStatus Source #
Creates a value of InstanceGroupStatus
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
igsState
- The current state of the instance group.igsStateChangeReason
- The status change reason details for the instance group.igsTimeline
- The timeline of the instance group status over time.
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.
InstanceGroupTimeline
data InstanceGroupTimeline Source #
The timeline of the instance group lifecycle.
See: instanceGroupTimeline
smart constructor.
instanceGroupTimeline :: InstanceGroupTimeline Source #
Creates a value of InstanceGroupTimeline
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
igtReadyDateTime
- The date and time when the instance group became ready to perform tasks.igtCreationDateTime
- The creation date and time of the instance group.igtEndDateTime
- 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.
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.
InstanceResizePolicy
data InstanceResizePolicy Source #
Custom policy for requesting termination protection or termination of specific instances when shrinking an instance group.
See: instanceResizePolicy
smart constructor.
instanceResizePolicy :: InstanceResizePolicy Source #
Creates a value of InstanceResizePolicy
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
irpInstancesToProtect
- Specific list of instances to be protected when shrinking an instance group.irpInstancesToTerminate
- Specific list of instances to be terminated when shrinking an instance group.irpInstanceTerminationTimeout
- Decommissioning timeout override for the specific list of instances to be terminated.
irpInstancesToProtect :: Lens' InstanceResizePolicy [Text] Source #
Specific list of instances to be protected when shrinking an instance group.
irpInstancesToTerminate :: Lens' InstanceResizePolicy [Text] Source #
Specific list of instances to be terminated when shrinking an instance group.
irpInstanceTerminationTimeout :: Lens' InstanceResizePolicy (Maybe Int) Source #
Decommissioning timeout override for the specific list of instances to be terminated.
InstanceStateChangeReason
data InstanceStateChangeReason Source #
The details of the status change reason for the instance.
See: instanceStateChangeReason
smart constructor.
instanceStateChangeReason :: InstanceStateChangeReason Source #
Creates a value of InstanceStateChangeReason
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
iscrCode
- The programmable code for the state change reason.iscrMessage
- The status change reason description.
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.
InstanceStatus
data InstanceStatus Source #
The instance status details.
See: instanceStatus
smart constructor.
instanceStatus :: InstanceStatus Source #
Creates a value of InstanceStatus
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
isState
- The current state of the instance.isStateChangeReason
- The details of the status change reason for the instance.isTimeline
- The timeline of the instance status over time.
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.
InstanceTimeline
data InstanceTimeline Source #
The timeline of the instance lifecycle.
See: instanceTimeline
smart constructor.
instanceTimeline :: InstanceTimeline Source #
Creates a value of InstanceTimeline
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
itReadyDateTime
- The date and time when the instance was ready to perform tasks.itCreationDateTime
- The creation date and time of the instance.itEndDateTime
- 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.
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.
JobFlowInstancesConfig
data JobFlowInstancesConfig Source #
A description of the Amazon EC2 instance running the job flow. A valid JobFlowInstancesConfig must contain at least InstanceGroups, which is the recommended configuration. However, a valid alternative is to have MasterInstanceType, SlaveInstanceType, and InstanceCount (all three must be present).
See: jobFlowInstancesConfig
smart constructor.
jobFlowInstancesConfig :: JobFlowInstancesConfig Source #
Creates a value of JobFlowInstancesConfig
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
jficEC2KeyName
- The name of the EC2 key pair that can be used to ssh to the master node as the user called "hadoop."jficSlaveInstanceType
- The EC2 instance type of the slave nodes.jficInstanceCount
- The number of EC2 instances used to execute the job flow.jficEmrManagedSlaveSecurityGroup
- The identifier of the Amazon EC2 security group for the slave nodes.jficAdditionalSlaveSecurityGroups
- A list of additional Amazon EC2 security group IDs for the slave nodes.jficHadoopVersion
- The Hadoop version for the job flow. Valid inputs are "0.18" (deprecated), "0.20" (deprecated), "0.20.205" (deprecated), "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.jficAdditionalMasterSecurityGroups
- A list of additional Amazon EC2 security group IDs for the master node.jficEmrManagedMasterSecurityGroup
- The identifier of the Amazon EC2 security group for the master node.jficEC2SubnetId
- 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.jficMasterInstanceType
- The EC2 instance type of the master node.jficInstanceGroups
- Configuration for the job flow's instance groups.jficKeepJobFlowAliveWhenNoSteps
- Specifies whether the job flow should be kept alive after completing all steps.jficServiceAccessSecurityGroup
- The identifier of the Amazon EC2 security group for the Amazon EMR service to access clusters in VPC private subnets.jficTerminationProtected
- 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.jficPlacement
- The Availability Zone the job flow will run in.
jficEC2KeyName :: Lens' JobFlowInstancesConfig (Maybe Text) Source #
The name of the EC2 key pair that can be used to ssh to the master node as the user called "hadoop."
jficSlaveInstanceType :: Lens' JobFlowInstancesConfig (Maybe Text) Source #
The EC2 instance type of the slave nodes.
jficInstanceCount :: Lens' JobFlowInstancesConfig (Maybe Int) Source #
The number of EC2 instances used to execute the job flow.
jficEmrManagedSlaveSecurityGroup :: Lens' JobFlowInstancesConfig (Maybe Text) Source #
The identifier of the Amazon EC2 security group for the slave nodes.
jficAdditionalSlaveSecurityGroups :: Lens' JobFlowInstancesConfig [Text] Source #
A list of additional Amazon EC2 security group IDs for the slave nodes.
jficHadoopVersion :: Lens' JobFlowInstancesConfig (Maybe Text) Source #
The Hadoop version for the job flow. Valid inputs are "0.18" (deprecated), "0.20" (deprecated), "0.20.205" (deprecated), "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.
jficAdditionalMasterSecurityGroups :: Lens' JobFlowInstancesConfig [Text] Source #
A list of additional Amazon EC2 security group IDs for the master node.
jficEmrManagedMasterSecurityGroup :: Lens' JobFlowInstancesConfig (Maybe Text) Source #
The identifier of the Amazon EC2 security group for the master node.
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.
jficMasterInstanceType :: Lens' JobFlowInstancesConfig (Maybe Text) Source #
The EC2 instance type of the master node.
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 be kept alive after completing all steps.
jficServiceAccessSecurityGroup :: Lens' JobFlowInstancesConfig (Maybe Text) Source #
The identifier of the Amazon EC2 security group for the Amazon EMR service to access clusters in VPC private subnets.
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.
jficPlacement :: Lens' JobFlowInstancesConfig (Maybe PlacementType) Source #
The Availability Zone the job flow will run in.
KeyValue
A key value pair.
See: keyValue
smart constructor.
MetricDimension
data MetricDimension Source #
A CloudWatch dimension, which is specified using a Key
(known as a Name
in CloudWatch), Value pair. By default, Amazon EMR uses one dimension whose Key
is JobFlowID
and Value
is a variable representing the cluster ID, which is > {emr:cluster_id}
. This enables the rule to bootstrap when the cluster ID becomes available, and also enables a single automatic scaling policy to be reused for multiple clusters and instance groups.
See: metricDimension
smart constructor.
metricDimension :: MetricDimension Source #
Creates a value of MetricDimension
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
PlacementType
data PlacementType Source #
The Amazon EC2 location for the job flow.
See: placementType
smart constructor.
Creates a value of PlacementType
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
ptAvailabilityZone
- The Amazon EC2 Availability Zone for the job flow.
ptAvailabilityZone :: Lens' PlacementType Text Source #
The Amazon EC2 Availability Zone for the job flow.
ScalingAction
data ScalingAction Source #
The type of adjustment the automatic scaling activity makes when triggered, and the periodicity of the adjustment.
See: scalingAction
smart constructor.
Creates a value of ScalingAction
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
saMarket
- Not available for instance groups. Instance groups use the market type specified for the group.saSimpleScalingPolicyConfiguration
- The type of adjustment the automatic scaling activity makes when triggered, and the periodicity of the adjustment.
saMarket :: Lens' ScalingAction (Maybe MarketType) Source #
Not available for instance groups. Instance groups use the market type specified for the group.
saSimpleScalingPolicyConfiguration :: Lens' ScalingAction SimpleScalingPolicyConfiguration Source #
The type of adjustment the automatic scaling activity makes when triggered, and the periodicity of the adjustment.
ScalingConstraints
data ScalingConstraints Source #
The upper and lower EC2 instance limits for an automatic scaling policy. Automatic scaling activities triggered by automatic scaling rules will not cause an instance group to grow above or below these limits.
See: scalingConstraints
smart constructor.
Creates a value of ScalingConstraints
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
scMinCapacity
- The lower boundary of EC2 instances in an instance group below which scaling activities are not allowed to shrink. Scale-in activities will not terminate instances below this boundary.scMaxCapacity
- The upper boundary of EC2 instances in an instance group beyond which scaling activities are not allowed to grow. Scale-out activities will not add instances beyond this boundary.
scMinCapacity :: Lens' ScalingConstraints Int Source #
The lower boundary of EC2 instances in an instance group below which scaling activities are not allowed to shrink. Scale-in activities will not terminate instances below this boundary.
scMaxCapacity :: Lens' ScalingConstraints Int Source #
The upper boundary of EC2 instances in an instance group beyond which scaling activities are not allowed to grow. Scale-out activities will not add instances beyond this boundary.
ScalingRule
data ScalingRule Source #
A scale-in or scale-out rule that defines scaling activity, including the CloudWatch metric alarm that triggers activity, how EC2 instances are added or removed, and the periodicity of adjustments. The automatic scaling policy for an instance group can comprise one or more automatic scaling rules.
See: scalingRule
smart constructor.
Creates a value of ScalingRule
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
srDescription
- A friendly, more verbose description of the automatic scaling rule.srName
- The name used to identify an automatic scaling rule. Rule names must be unique within a scaling policy.srAction
- The conditions that trigger an automatic scaling activity.srTrigger
- The CloudWatch alarm definition that determines when automatic scaling activity is triggered.
srDescription :: Lens' ScalingRule (Maybe Text) Source #
A friendly, more verbose description of the automatic scaling rule.
srName :: Lens' ScalingRule Text Source #
The name used to identify an automatic scaling rule. Rule names must be unique within a scaling policy.
srAction :: Lens' ScalingRule ScalingAction Source #
The conditions that trigger an automatic scaling activity.
srTrigger :: Lens' ScalingRule ScalingTrigger Source #
The CloudWatch alarm definition that determines when automatic scaling activity is triggered.
ScalingTrigger
data ScalingTrigger Source #
The conditions that trigger an automatic scaling activity.
See: scalingTrigger
smart constructor.
Creates a value of ScalingTrigger
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
stCloudWatchAlarmDefinition
- The definition of a CloudWatch metric alarm. When the defined alarm conditions are met along with other trigger parameters, scaling activity begins.
stCloudWatchAlarmDefinition :: Lens' ScalingTrigger CloudWatchAlarmDefinition Source #
The definition of a CloudWatch metric alarm. When the defined alarm conditions are met along with other trigger parameters, scaling activity begins.
ScriptBootstrapActionConfig
data ScriptBootstrapActionConfig Source #
Configuration of the script to run during a bootstrap action.
See: scriptBootstrapActionConfig
smart constructor.
scriptBootstrapActionConfig Source #
Creates a value of ScriptBootstrapActionConfig
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
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.
SecurityConfigurationSummary
data SecurityConfigurationSummary Source #
The creation date and time, and name, of a security configuration.
See: securityConfigurationSummary
smart constructor.
securityConfigurationSummary :: SecurityConfigurationSummary Source #
Creates a value of SecurityConfigurationSummary
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
scsName
- The name of the security configuration.scsCreationDateTime
- The date and time the security configuration was created.
scsName :: Lens' SecurityConfigurationSummary (Maybe Text) Source #
The name of the security configuration.
scsCreationDateTime :: Lens' SecurityConfigurationSummary (Maybe UTCTime) Source #
The date and time the security configuration was created.
ShrinkPolicy
data ShrinkPolicy Source #
Policy for customizing shrink operations. Allows configuration of decommissioning timeout and targeted instance shrinking.
See: shrinkPolicy
smart constructor.
shrinkPolicy :: ShrinkPolicy Source #
Creates a value of ShrinkPolicy
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
spDecommissionTimeout
- The desired timeout for decommissioning an instance. Overrides the default YARN decommissioning timeout.spInstanceResizePolicy
- Custom policy for requesting termination protection or termination of specific instances when shrinking an instance group.
spDecommissionTimeout :: Lens' ShrinkPolicy (Maybe Int) Source #
The desired timeout for decommissioning an instance. Overrides the default YARN decommissioning timeout.
spInstanceResizePolicy :: Lens' ShrinkPolicy (Maybe InstanceResizePolicy) Source #
Custom policy for requesting termination protection or termination of specific instances when shrinking an instance group.
SimpleScalingPolicyConfiguration
data SimpleScalingPolicyConfiguration Source #
An automatic scaling configuration, which describes how the policy adds or removes instances, the cooldown period, and the number of EC2 instances that will be added each time the CloudWatch metric alarm condition is satisfied.
See: simpleScalingPolicyConfiguration
smart constructor.
simpleScalingPolicyConfiguration Source #
Creates a value of SimpleScalingPolicyConfiguration
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
sspcAdjustmentType
- The way in which EC2 instances are added (ifScalingAdjustment
is a positive number) or terminated (ifScalingAdjustment
is a negative number) each time the scaling activity is triggered.CHANGE_IN_CAPACITY
is the default.CHANGE_IN_CAPACITY
indicates that the EC2 instance count increments or decrements byScalingAdjustment
, which should be expressed as an integer.PERCENT_CHANGE_IN_CAPACITY
indicates the instance count increments or decrements by the percentage specified byScalingAdjustment
, which should be expressed as a decimal, for example, 0.20 indicates an increase in 20% increments of cluster capacity.EXACT_CAPACITY
indicates the scaling activity results in an instance group with the number of EC2 instances specified byScalingAdjustment
, which should be expressed as a positive integer.sspcCoolDown
- The amount of time, in seconds, after a scaling activity completes before any further trigger-related scaling activities can start. The default value is 0.sspcScalingAdjustment
- The amount by which to scale in or scale out, based on the specifiedAdjustmentType
. A positive value adds to the instance group's EC2 instance count while a negative number removes instances. IfAdjustmentType
is set toEXACT_CAPACITY
, the number should only be a positive integer. IfAdjustmentType
is set toPERCENT_CHANGE_IN_CAPACITY
, the value should express the percentage as a decimal. For example, -0.20 indicates a decrease in 20% increments of cluster capacity.
sspcAdjustmentType :: Lens' SimpleScalingPolicyConfiguration (Maybe AdjustmentType) Source #
The way in which EC2 instances are added (if ScalingAdjustment
is a positive number) or terminated (if ScalingAdjustment
is a negative number) each time the scaling activity is triggered. CHANGE_IN_CAPACITY
is the default. CHANGE_IN_CAPACITY
indicates that the EC2 instance count increments or decrements by ScalingAdjustment
, which should be expressed as an integer. PERCENT_CHANGE_IN_CAPACITY
indicates the instance count increments or decrements by the percentage specified by ScalingAdjustment
, which should be expressed as a decimal, for example, 0.20 indicates an increase in 20% increments of cluster capacity. EXACT_CAPACITY
indicates the scaling activity results in an instance group with the number of EC2 instances specified by ScalingAdjustment
, which should be expressed as a positive integer.
sspcCoolDown :: Lens' SimpleScalingPolicyConfiguration (Maybe Int) Source #
The amount of time, in seconds, after a scaling activity completes before any further trigger-related scaling activities can start. The default value is 0.
sspcScalingAdjustment :: Lens' SimpleScalingPolicyConfiguration Int Source #
The amount by which to scale in or scale out, based on the specified AdjustmentType
. A positive value adds to the instance group's EC2 instance count while a negative number removes instances. If AdjustmentType
is set to EXACT_CAPACITY
, the number should only be a positive integer. If AdjustmentType
is set to PERCENT_CHANGE_IN_CAPACITY
, the value should express the percentage as a decimal. For example, -0.20 indicates a decrease in 20% increments of cluster capacity.
Step
This represents a step in a cluster.
See: step
smart constructor.
Creates a value of Step
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
sStatus
- The current execution status details of the cluster step.sActionOnFailure
- This specifies what action to take when the cluster step fails. Possible values are TERMINATE_CLUSTER, CANCEL_AND_WAIT, and CONTINUE.sConfig
- The Hadoop job configuration of the cluster step.sName
- The name of the cluster step.sId
- The identifier of the cluster step.
sStatus :: Lens' Step (Maybe StepStatus) Source #
The current execution status details of the cluster step.
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.
StepConfig
data StepConfig Source #
Specification of a job flow step.
See: stepConfig
smart constructor.
Creates a value of StepConfig
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
scActionOnFailure
- The action to take if the job flow step fails.scName
- The name of the job flow step.scHadoopJARStep
- The JAR file used for the job flow step.
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.
StepStateChangeReason
data StepStateChangeReason Source #
The details of the step state change reason.
See: stepStateChangeReason
smart constructor.
stepStateChangeReason :: StepStateChangeReason Source #
Creates a value of StepStateChangeReason
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
sscrCode
- The programmable code for the state change reason. Note: Currently, the service provides no code for the state change.sscrMessage
- The descriptive message for the state change reason.
sscrCode :: Lens' StepStateChangeReason (Maybe StepStateChangeReasonCode) Source #
The programmable code for the state change reason. Note: Currently, the service provides no code for the state change.
sscrMessage :: Lens' StepStateChangeReason (Maybe Text) Source #
The descriptive message for the state change reason.
StepStatus
data StepStatus Source #
The execution status details of the cluster step.
See: stepStatus
smart constructor.
stepStatus :: StepStatus Source #
Creates a value of StepStatus
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
ssState
- The execution state of the cluster step.ssFailureDetails
- The details for the step failure including reason, message, and log file path where the root cause was identified.ssStateChangeReason
- The reason for the step execution status change.ssTimeline
- The timeline of the cluster step status over time.
ssFailureDetails :: Lens' StepStatus (Maybe FailureDetails) Source #
The details for the step failure including reason, message, and log file path where the root cause was identified.
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 #
The summary of the cluster step.
See: stepSummary
smart constructor.
stepSummary :: StepSummary Source #
Creates a value of StepSummary
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
ssStatus
- The current execution status details of the cluster step.ssActionOnFailure
- This specifies what action to take when the cluster step fails. Possible values are TERMINATE_CLUSTER, CANCEL_AND_WAIT, and CONTINUE.ssConfig
- The Hadoop job configuration of the cluster step.ssName
- The name of the cluster step.ssId
- The identifier of the cluster step.
ssStatus :: Lens' StepSummary (Maybe StepStatus) Source #
The current execution status details of the cluster step.
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.
StepTimeline
data StepTimeline Source #
The timeline of the cluster step lifecycle.
See: stepTimeline
smart constructor.
stepTimeline :: StepTimeline Source #
Creates a value of StepTimeline
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
stCreationDateTime
- The date and time when the cluster step was created.stEndDateTime
- The date and time when the cluster step execution completed or failed.stStartDateTime
- The date and time when the cluster step execution started.
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.
SupportedProductConfig
data SupportedProductConfig Source #
The list of supported product configurations which allow user-supplied arguments. EMR accepts these arguments and forwards them to the corresponding installation script as bootstrap action arguments.
See: supportedProductConfig
smart constructor.
supportedProductConfig :: SupportedProductConfig Source #
Creates a value of SupportedProductConfig
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
Tag
A keyvalue pair containing user-defined metadata that you can associate with an Amazon EMR resource. Tags make it easier to associate clusters in various ways, such as grouping clusters to track your Amazon EMR resource allocation costs. For more information, see <http:docs.aws.amazon.comElasticMapReducelatestDeveloperGuide/emr-plan-tags.html Tagging Amazon EMR Resources> .
See: tag
smart constructor.
Creates a value of Tag
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
tagValue
- A user-defined value, which is optional in a tag. For more information, see Tagging Amazon EMR Resources .tagKey
- 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 .
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 .
VolumeSpecification
data VolumeSpecification Source #
EBS volume specifications such as volume type, IOPS, and size (GiB) that will be requested for the EBS volume attached to an EC2 instance in the cluster.
See: volumeSpecification
smart constructor.
Creates a value of VolumeSpecification
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
vsIOPS
- The number of I/O operations per second (IOPS) that the volume supports.vsVolumeType
- The volume type. Volume types supported are gp2, io1, standard.vsSizeInGB
- The volume size, in gibibytes (GiB). This can be a number from 1 - 1024. If the volume type is EBS-optimized, the minimum value is 10.
vsIOPS :: Lens' VolumeSpecification (Maybe Int) Source #
The number of I/O operations per second (IOPS) that the volume supports.
vsVolumeType :: Lens' VolumeSpecification Text Source #
The volume type. Volume types supported are gp2, io1, standard.
vsSizeInGB :: Lens' VolumeSpecification Int Source #
The volume size, in gibibytes (GiB). This can be a number from 1 - 1024. If the volume type is EBS-optimized, the minimum value is 10.