Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
- Service Configuration
- Errors
- ActionOnFailure
- AdjustmentType
- AuthMode
- AutoScalingPolicyState
- AutoScalingPolicyStateChangeReasonCode
- CancelStepsRequestStatus
- ClusterState
- ClusterStateChangeReasonCode
- ComparisonOperator
- ComputeLimitsUnitType
- ExecutionEngineType
- IdentityType
- InstanceCollectionType
- InstanceFleetState
- InstanceFleetStateChangeReasonCode
- InstanceFleetType
- InstanceGroupState
- InstanceGroupStateChangeReasonCode
- InstanceGroupType
- InstanceRoleType
- InstanceState
- InstanceStateChangeReasonCode
- MarketType
- NotebookExecutionStatus
- OnDemandCapacityReservationPreference
- OnDemandCapacityReservationUsageStrategy
- OnDemandProvisioningAllocationStrategy
- PlacementGroupStrategy
- RepoUpgradeOnBoot
- ScaleDownBehavior
- SpotProvisioningAllocationStrategy
- SpotProvisioningTimeoutAction
- Statistic
- StepCancellationOption
- StepState
- StepStateChangeReasonCode
- Unit
- Application
- AutoScalingPolicy
- AutoScalingPolicyDescription
- AutoScalingPolicyStateChangeReason
- AutoScalingPolicyStatus
- AutoTerminationPolicy
- BlockPublicAccessConfiguration
- BlockPublicAccessConfigurationMetadata
- BootstrapActionConfig
- CancelStepsInfo
- CloudWatchAlarmDefinition
- Cluster
- ClusterStateChangeReason
- ClusterStatus
- ClusterSummary
- ClusterTimeline
- Command
- ComputeLimits
- Configuration
- EbsBlockDevice
- EbsBlockDeviceConfig
- EbsConfiguration
- EbsVolume
- Ec2InstanceAttributes
- ExecutionEngineConfig
- FailureDetails
- HadoopJarStepConfig
- HadoopStepConfig
- Instance
- InstanceFleet
- InstanceFleetConfig
- InstanceFleetModifyConfig
- InstanceFleetProvisioningSpecifications
- InstanceFleetStateChangeReason
- InstanceFleetStatus
- InstanceFleetTimeline
- InstanceGroup
- InstanceGroupConfig
- InstanceGroupModifyConfig
- InstanceGroupStateChangeReason
- InstanceGroupStatus
- InstanceGroupTimeline
- InstanceResizePolicy
- InstanceStateChangeReason
- InstanceStatus
- InstanceTimeline
- InstanceTypeConfig
- InstanceTypeSpecification
- JobFlowInstancesConfig
- KerberosAttributes
- KeyValue
- ManagedScalingPolicy
- MetricDimension
- NotebookExecution
- NotebookExecutionSummary
- OnDemandCapacityReservationOptions
- OnDemandProvisioningSpecification
- PlacementGroupConfig
- PlacementType
- PortRange
- ReleaseLabelFilter
- ScalingAction
- ScalingConstraints
- ScalingRule
- ScalingTrigger
- ScriptBootstrapActionConfig
- SecurityConfigurationSummary
- SessionMappingDetail
- SessionMappingSummary
- ShrinkPolicy
- SimpleScalingPolicyConfiguration
- SimplifiedApplication
- SpotProvisioningSpecification
- Step
- StepConfig
- StepStateChangeReason
- StepStatus
- StepSummary
- StepTimeline
- Studio
- StudioSummary
- SupportedProductConfig
- Tag
- VolumeSpecification
Synopsis
- defaultService :: 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
- newtype ActionOnFailure where
- ActionOnFailure' { }
- pattern ActionOnFailure_CANCEL_AND_WAIT :: ActionOnFailure
- pattern ActionOnFailure_CONTINUE :: ActionOnFailure
- pattern ActionOnFailure_TERMINATE_CLUSTER :: ActionOnFailure
- pattern ActionOnFailure_TERMINATE_JOB_FLOW :: ActionOnFailure
- newtype AdjustmentType where
- newtype AuthMode where
- AuthMode' {
- fromAuthMode :: Text
- pattern AuthMode_IAM :: AuthMode
- pattern AuthMode_SSO :: AuthMode
- AuthMode' {
- newtype AutoScalingPolicyState where
- AutoScalingPolicyState' { }
- pattern AutoScalingPolicyState_ATTACHED :: AutoScalingPolicyState
- pattern AutoScalingPolicyState_ATTACHING :: AutoScalingPolicyState
- pattern AutoScalingPolicyState_DETACHED :: AutoScalingPolicyState
- pattern AutoScalingPolicyState_DETACHING :: AutoScalingPolicyState
- pattern AutoScalingPolicyState_FAILED :: AutoScalingPolicyState
- pattern AutoScalingPolicyState_PENDING :: AutoScalingPolicyState
- newtype AutoScalingPolicyStateChangeReasonCode where
- AutoScalingPolicyStateChangeReasonCode' { }
- pattern AutoScalingPolicyStateChangeReasonCode_CLEANUP_FAILURE :: AutoScalingPolicyStateChangeReasonCode
- pattern AutoScalingPolicyStateChangeReasonCode_PROVISION_FAILURE :: AutoScalingPolicyStateChangeReasonCode
- pattern AutoScalingPolicyStateChangeReasonCode_USER_REQUEST :: AutoScalingPolicyStateChangeReasonCode
- newtype CancelStepsRequestStatus where
- newtype ClusterState where
- ClusterState' { }
- pattern ClusterState_BOOTSTRAPPING :: ClusterState
- pattern ClusterState_RUNNING :: ClusterState
- pattern ClusterState_STARTING :: ClusterState
- pattern ClusterState_TERMINATED :: ClusterState
- pattern ClusterState_TERMINATED_WITH_ERRORS :: ClusterState
- pattern ClusterState_TERMINATING :: ClusterState
- pattern ClusterState_WAITING :: ClusterState
- newtype ClusterStateChangeReasonCode where
- ClusterStateChangeReasonCode' { }
- pattern ClusterStateChangeReasonCode_ALL_STEPS_COMPLETED :: ClusterStateChangeReasonCode
- pattern ClusterStateChangeReasonCode_BOOTSTRAP_FAILURE :: ClusterStateChangeReasonCode
- pattern ClusterStateChangeReasonCode_INSTANCE_FAILURE :: ClusterStateChangeReasonCode
- pattern ClusterStateChangeReasonCode_INSTANCE_FLEET_TIMEOUT :: ClusterStateChangeReasonCode
- pattern ClusterStateChangeReasonCode_INTERNAL_ERROR :: ClusterStateChangeReasonCode
- pattern ClusterStateChangeReasonCode_STEP_FAILURE :: ClusterStateChangeReasonCode
- pattern ClusterStateChangeReasonCode_USER_REQUEST :: ClusterStateChangeReasonCode
- pattern ClusterStateChangeReasonCode_VALIDATION_ERROR :: ClusterStateChangeReasonCode
- newtype ComparisonOperator where
- newtype ComputeLimitsUnitType where
- newtype ExecutionEngineType where
- newtype IdentityType where
- IdentityType' { }
- pattern IdentityType_GROUP :: IdentityType
- pattern IdentityType_USER :: IdentityType
- newtype InstanceCollectionType where
- newtype InstanceFleetState where
- InstanceFleetState' { }
- pattern InstanceFleetState_BOOTSTRAPPING :: InstanceFleetState
- pattern InstanceFleetState_PROVISIONING :: InstanceFleetState
- pattern InstanceFleetState_RESIZING :: InstanceFleetState
- pattern InstanceFleetState_RUNNING :: InstanceFleetState
- pattern InstanceFleetState_SUSPENDED :: InstanceFleetState
- pattern InstanceFleetState_TERMINATED :: InstanceFleetState
- pattern InstanceFleetState_TERMINATING :: InstanceFleetState
- newtype InstanceFleetStateChangeReasonCode where
- InstanceFleetStateChangeReasonCode' { }
- pattern InstanceFleetStateChangeReasonCode_CLUSTER_TERMINATED :: InstanceFleetStateChangeReasonCode
- pattern InstanceFleetStateChangeReasonCode_INSTANCE_FAILURE :: InstanceFleetStateChangeReasonCode
- pattern InstanceFleetStateChangeReasonCode_INTERNAL_ERROR :: InstanceFleetStateChangeReasonCode
- pattern InstanceFleetStateChangeReasonCode_VALIDATION_ERROR :: InstanceFleetStateChangeReasonCode
- newtype InstanceFleetType where
- InstanceFleetType' { }
- pattern InstanceFleetType_CORE :: InstanceFleetType
- pattern InstanceFleetType_MASTER :: InstanceFleetType
- pattern InstanceFleetType_TASK :: InstanceFleetType
- newtype InstanceGroupState where
- InstanceGroupState' { }
- pattern InstanceGroupState_ARRESTED :: InstanceGroupState
- pattern InstanceGroupState_BOOTSTRAPPING :: InstanceGroupState
- pattern InstanceGroupState_ENDED :: InstanceGroupState
- pattern InstanceGroupState_PROVISIONING :: InstanceGroupState
- pattern InstanceGroupState_RECONFIGURING :: InstanceGroupState
- pattern InstanceGroupState_RESIZING :: InstanceGroupState
- pattern InstanceGroupState_RUNNING :: InstanceGroupState
- pattern InstanceGroupState_SHUTTING_DOWN :: InstanceGroupState
- pattern InstanceGroupState_SUSPENDED :: InstanceGroupState
- pattern InstanceGroupState_TERMINATED :: InstanceGroupState
- pattern InstanceGroupState_TERMINATING :: InstanceGroupState
- newtype InstanceGroupStateChangeReasonCode where
- InstanceGroupStateChangeReasonCode' { }
- pattern InstanceGroupStateChangeReasonCode_CLUSTER_TERMINATED :: InstanceGroupStateChangeReasonCode
- pattern InstanceGroupStateChangeReasonCode_INSTANCE_FAILURE :: InstanceGroupStateChangeReasonCode
- pattern InstanceGroupStateChangeReasonCode_INTERNAL_ERROR :: InstanceGroupStateChangeReasonCode
- pattern InstanceGroupStateChangeReasonCode_VALIDATION_ERROR :: InstanceGroupStateChangeReasonCode
- newtype InstanceGroupType where
- InstanceGroupType' { }
- pattern InstanceGroupType_CORE :: InstanceGroupType
- pattern InstanceGroupType_MASTER :: InstanceGroupType
- pattern InstanceGroupType_TASK :: InstanceGroupType
- newtype InstanceRoleType where
- InstanceRoleType' { }
- pattern InstanceRoleType_CORE :: InstanceRoleType
- pattern InstanceRoleType_MASTER :: InstanceRoleType
- pattern InstanceRoleType_TASK :: InstanceRoleType
- newtype InstanceState where
- InstanceState' { }
- pattern InstanceState_AWAITING_FULFILLMENT :: InstanceState
- pattern InstanceState_BOOTSTRAPPING :: InstanceState
- pattern InstanceState_PROVISIONING :: InstanceState
- pattern InstanceState_RUNNING :: InstanceState
- pattern InstanceState_TERMINATED :: InstanceState
- newtype InstanceStateChangeReasonCode where
- InstanceStateChangeReasonCode' { }
- pattern InstanceStateChangeReasonCode_BOOTSTRAP_FAILURE :: InstanceStateChangeReasonCode
- pattern InstanceStateChangeReasonCode_CLUSTER_TERMINATED :: InstanceStateChangeReasonCode
- pattern InstanceStateChangeReasonCode_INSTANCE_FAILURE :: InstanceStateChangeReasonCode
- pattern InstanceStateChangeReasonCode_INTERNAL_ERROR :: InstanceStateChangeReasonCode
- pattern InstanceStateChangeReasonCode_VALIDATION_ERROR :: InstanceStateChangeReasonCode
- newtype MarketType where
- MarketType' { }
- pattern MarketType_ON_DEMAND :: MarketType
- pattern MarketType_SPOT :: MarketType
- newtype NotebookExecutionStatus where
- NotebookExecutionStatus' { }
- pattern NotebookExecutionStatus_FAILED :: NotebookExecutionStatus
- pattern NotebookExecutionStatus_FAILING :: NotebookExecutionStatus
- pattern NotebookExecutionStatus_FINISHED :: NotebookExecutionStatus
- pattern NotebookExecutionStatus_FINISHING :: NotebookExecutionStatus
- pattern NotebookExecutionStatus_RUNNING :: NotebookExecutionStatus
- pattern NotebookExecutionStatus_STARTING :: NotebookExecutionStatus
- pattern NotebookExecutionStatus_START_PENDING :: NotebookExecutionStatus
- pattern NotebookExecutionStatus_STOPPED :: NotebookExecutionStatus
- pattern NotebookExecutionStatus_STOPPING :: NotebookExecutionStatus
- pattern NotebookExecutionStatus_STOP_PENDING :: NotebookExecutionStatus
- newtype OnDemandCapacityReservationPreference where
- newtype OnDemandCapacityReservationUsageStrategy where
- newtype OnDemandProvisioningAllocationStrategy where
- newtype PlacementGroupStrategy where
- newtype RepoUpgradeOnBoot where
- RepoUpgradeOnBoot' { }
- pattern RepoUpgradeOnBoot_NONE :: RepoUpgradeOnBoot
- pattern RepoUpgradeOnBoot_SECURITY :: RepoUpgradeOnBoot
- newtype ScaleDownBehavior where
- newtype SpotProvisioningAllocationStrategy where
- newtype SpotProvisioningTimeoutAction where
- newtype Statistic where
- Statistic' { }
- pattern Statistic_AVERAGE :: Statistic
- pattern Statistic_MAXIMUM :: Statistic
- pattern Statistic_MINIMUM :: Statistic
- pattern Statistic_SAMPLE_COUNT :: Statistic
- pattern Statistic_SUM :: Statistic
- newtype StepCancellationOption where
- newtype StepState where
- StepState' { }
- pattern StepState_CANCELLED :: StepState
- pattern StepState_CANCEL_PENDING :: StepState
- pattern StepState_COMPLETED :: StepState
- pattern StepState_FAILED :: StepState
- pattern StepState_INTERRUPTED :: StepState
- pattern StepState_PENDING :: StepState
- pattern StepState_RUNNING :: StepState
- newtype StepStateChangeReasonCode where
- newtype Unit where
- Unit' { }
- pattern Unit_BITS :: Unit
- pattern Unit_BITS_PER_SECOND :: Unit
- pattern Unit_BYTES :: Unit
- pattern Unit_BYTES_PER_SECOND :: Unit
- pattern Unit_COUNT :: Unit
- pattern Unit_COUNT_PER_SECOND :: Unit
- pattern Unit_GIGA_BITS :: Unit
- pattern Unit_GIGA_BITS_PER_SECOND :: Unit
- pattern Unit_GIGA_BYTES :: Unit
- pattern Unit_GIGA_BYTES_PER_SECOND :: Unit
- pattern Unit_KILO_BITS :: Unit
- pattern Unit_KILO_BITS_PER_SECOND :: Unit
- pattern Unit_KILO_BYTES :: Unit
- pattern Unit_KILO_BYTES_PER_SECOND :: Unit
- pattern Unit_MEGA_BITS :: Unit
- pattern Unit_MEGA_BITS_PER_SECOND :: Unit
- pattern Unit_MEGA_BYTES :: Unit
- pattern Unit_MEGA_BYTES_PER_SECOND :: Unit
- pattern Unit_MICRO_SECONDS :: Unit
- pattern Unit_MILLI_SECONDS :: Unit
- pattern Unit_NONE :: Unit
- pattern Unit_PERCENT :: Unit
- pattern Unit_SECONDS :: Unit
- pattern Unit_TERA_BITS :: Unit
- pattern Unit_TERA_BITS_PER_SECOND :: Unit
- pattern Unit_TERA_BYTES :: Unit
- pattern Unit_TERA_BYTES_PER_SECOND :: Unit
- data Application = Application' {}
- newApplication :: Application
- application_args :: Lens' Application (Maybe [Text])
- application_additionalInfo :: Lens' Application (Maybe (HashMap Text Text))
- application_name :: Lens' Application (Maybe Text)
- application_version :: Lens' Application (Maybe Text)
- data AutoScalingPolicy = AutoScalingPolicy' {}
- newAutoScalingPolicy :: ScalingConstraints -> AutoScalingPolicy
- autoScalingPolicy_constraints :: Lens' AutoScalingPolicy ScalingConstraints
- autoScalingPolicy_rules :: Lens' AutoScalingPolicy [ScalingRule]
- data AutoScalingPolicyDescription = AutoScalingPolicyDescription' {}
- newAutoScalingPolicyDescription :: AutoScalingPolicyDescription
- autoScalingPolicyDescription_status :: Lens' AutoScalingPolicyDescription (Maybe AutoScalingPolicyStatus)
- autoScalingPolicyDescription_rules :: Lens' AutoScalingPolicyDescription (Maybe [ScalingRule])
- autoScalingPolicyDescription_constraints :: Lens' AutoScalingPolicyDescription (Maybe ScalingConstraints)
- data AutoScalingPolicyStateChangeReason = AutoScalingPolicyStateChangeReason' {}
- newAutoScalingPolicyStateChangeReason :: AutoScalingPolicyStateChangeReason
- autoScalingPolicyStateChangeReason_code :: Lens' AutoScalingPolicyStateChangeReason (Maybe AutoScalingPolicyStateChangeReasonCode)
- autoScalingPolicyStateChangeReason_message :: Lens' AutoScalingPolicyStateChangeReason (Maybe Text)
- data AutoScalingPolicyStatus = AutoScalingPolicyStatus' {}
- newAutoScalingPolicyStatus :: AutoScalingPolicyStatus
- autoScalingPolicyStatus_state :: Lens' AutoScalingPolicyStatus (Maybe AutoScalingPolicyState)
- autoScalingPolicyStatus_stateChangeReason :: Lens' AutoScalingPolicyStatus (Maybe AutoScalingPolicyStateChangeReason)
- data AutoTerminationPolicy = AutoTerminationPolicy' {}
- newAutoTerminationPolicy :: AutoTerminationPolicy
- autoTerminationPolicy_idleTimeout :: Lens' AutoTerminationPolicy (Maybe Integer)
- data BlockPublicAccessConfiguration = BlockPublicAccessConfiguration' {}
- newBlockPublicAccessConfiguration :: Bool -> BlockPublicAccessConfiguration
- blockPublicAccessConfiguration_permittedPublicSecurityGroupRuleRanges :: Lens' BlockPublicAccessConfiguration (Maybe [PortRange])
- blockPublicAccessConfiguration_blockPublicSecurityGroupRules :: Lens' BlockPublicAccessConfiguration Bool
- data BlockPublicAccessConfigurationMetadata = BlockPublicAccessConfigurationMetadata' {}
- newBlockPublicAccessConfigurationMetadata :: UTCTime -> Text -> BlockPublicAccessConfigurationMetadata
- blockPublicAccessConfigurationMetadata_creationDateTime :: Lens' BlockPublicAccessConfigurationMetadata UTCTime
- blockPublicAccessConfigurationMetadata_createdByArn :: Lens' BlockPublicAccessConfigurationMetadata Text
- data BootstrapActionConfig = BootstrapActionConfig' {}
- newBootstrapActionConfig :: Text -> ScriptBootstrapActionConfig -> BootstrapActionConfig
- bootstrapActionConfig_name :: Lens' BootstrapActionConfig Text
- bootstrapActionConfig_scriptBootstrapAction :: Lens' BootstrapActionConfig ScriptBootstrapActionConfig
- data CancelStepsInfo = CancelStepsInfo' {}
- newCancelStepsInfo :: CancelStepsInfo
- cancelStepsInfo_status :: Lens' CancelStepsInfo (Maybe CancelStepsRequestStatus)
- cancelStepsInfo_stepId :: Lens' CancelStepsInfo (Maybe Text)
- cancelStepsInfo_reason :: Lens' CancelStepsInfo (Maybe Text)
- data CloudWatchAlarmDefinition = CloudWatchAlarmDefinition' {}
- newCloudWatchAlarmDefinition :: ComparisonOperator -> Text -> Int -> Double -> CloudWatchAlarmDefinition
- cloudWatchAlarmDefinition_evaluationPeriods :: Lens' CloudWatchAlarmDefinition (Maybe Int)
- cloudWatchAlarmDefinition_namespace :: Lens' CloudWatchAlarmDefinition (Maybe Text)
- cloudWatchAlarmDefinition_dimensions :: Lens' CloudWatchAlarmDefinition (Maybe [MetricDimension])
- cloudWatchAlarmDefinition_unit :: Lens' CloudWatchAlarmDefinition (Maybe Unit)
- cloudWatchAlarmDefinition_statistic :: Lens' CloudWatchAlarmDefinition (Maybe Statistic)
- cloudWatchAlarmDefinition_comparisonOperator :: Lens' CloudWatchAlarmDefinition ComparisonOperator
- cloudWatchAlarmDefinition_metricName :: Lens' CloudWatchAlarmDefinition Text
- cloudWatchAlarmDefinition_period :: Lens' CloudWatchAlarmDefinition Int
- cloudWatchAlarmDefinition_threshold :: Lens' CloudWatchAlarmDefinition Double
- data Cluster = Cluster' {
- logEncryptionKmsKeyId :: Maybe Text
- clusterArn :: Maybe Text
- requestedAmiVersion :: Maybe Text
- ebsRootVolumeSize :: Maybe Int
- ec2InstanceAttributes :: Maybe Ec2InstanceAttributes
- outpostArn :: Maybe Text
- normalizedInstanceHours :: Maybe Int
- configurations :: Maybe [Configuration]
- customAmiId :: Maybe Text
- autoScalingRole :: Maybe Text
- securityConfiguration :: Maybe Text
- scaleDownBehavior :: Maybe ScaleDownBehavior
- instanceCollectionType :: Maybe InstanceCollectionType
- releaseLabel :: Maybe Text
- repoUpgradeOnBoot :: Maybe RepoUpgradeOnBoot
- logUri :: Maybe Text
- kerberosAttributes :: Maybe KerberosAttributes
- placementGroups :: Maybe [PlacementGroupConfig]
- runningAmiVersion :: Maybe Text
- masterPublicDnsName :: Maybe Text
- terminationProtected :: Maybe Bool
- visibleToAllUsers :: Maybe Bool
- autoTerminate :: Maybe Bool
- stepConcurrencyLevel :: Maybe Int
- applications :: Maybe [Application]
- tags :: Maybe [Tag]
- serviceRole :: Maybe Text
- id :: Text
- name :: Text
- status :: ClusterStatus
- newCluster :: Text -> Text -> ClusterStatus -> Cluster
- cluster_logEncryptionKmsKeyId :: Lens' Cluster (Maybe Text)
- cluster_clusterArn :: Lens' Cluster (Maybe Text)
- cluster_requestedAmiVersion :: Lens' Cluster (Maybe Text)
- cluster_ebsRootVolumeSize :: Lens' Cluster (Maybe Int)
- cluster_ec2InstanceAttributes :: Lens' Cluster (Maybe Ec2InstanceAttributes)
- cluster_outpostArn :: Lens' Cluster (Maybe Text)
- cluster_normalizedInstanceHours :: Lens' Cluster (Maybe Int)
- cluster_configurations :: Lens' Cluster (Maybe [Configuration])
- cluster_customAmiId :: Lens' Cluster (Maybe Text)
- cluster_autoScalingRole :: Lens' Cluster (Maybe Text)
- cluster_securityConfiguration :: Lens' Cluster (Maybe Text)
- cluster_scaleDownBehavior :: Lens' Cluster (Maybe ScaleDownBehavior)
- cluster_instanceCollectionType :: Lens' Cluster (Maybe InstanceCollectionType)
- cluster_releaseLabel :: Lens' Cluster (Maybe Text)
- cluster_repoUpgradeOnBoot :: Lens' Cluster (Maybe RepoUpgradeOnBoot)
- cluster_logUri :: Lens' Cluster (Maybe Text)
- cluster_kerberosAttributes :: Lens' Cluster (Maybe KerberosAttributes)
- cluster_placementGroups :: Lens' Cluster (Maybe [PlacementGroupConfig])
- cluster_runningAmiVersion :: Lens' Cluster (Maybe Text)
- cluster_masterPublicDnsName :: Lens' Cluster (Maybe Text)
- cluster_terminationProtected :: Lens' Cluster (Maybe Bool)
- cluster_visibleToAllUsers :: Lens' Cluster (Maybe Bool)
- cluster_autoTerminate :: Lens' Cluster (Maybe Bool)
- cluster_stepConcurrencyLevel :: Lens' Cluster (Maybe Int)
- cluster_applications :: Lens' Cluster (Maybe [Application])
- cluster_tags :: Lens' Cluster (Maybe [Tag])
- cluster_serviceRole :: Lens' Cluster (Maybe Text)
- cluster_id :: Lens' Cluster Text
- cluster_name :: Lens' Cluster Text
- cluster_status :: Lens' Cluster ClusterStatus
- data ClusterStateChangeReason = ClusterStateChangeReason' {}
- newClusterStateChangeReason :: ClusterStateChangeReason
- clusterStateChangeReason_code :: Lens' ClusterStateChangeReason (Maybe ClusterStateChangeReasonCode)
- clusterStateChangeReason_message :: Lens' ClusterStateChangeReason (Maybe Text)
- data ClusterStatus = ClusterStatus' {}
- newClusterStatus :: ClusterStatus
- clusterStatus_state :: Lens' ClusterStatus (Maybe ClusterState)
- clusterStatus_stateChangeReason :: Lens' ClusterStatus (Maybe ClusterStateChangeReason)
- clusterStatus_timeline :: Lens' ClusterStatus (Maybe ClusterTimeline)
- data ClusterSummary = ClusterSummary' {
- status :: Maybe ClusterStatus
- clusterArn :: Maybe Text
- outpostArn :: Maybe Text
- normalizedInstanceHours :: Maybe Int
- name :: Maybe Text
- id :: Maybe Text
- newClusterSummary :: ClusterSummary
- clusterSummary_status :: Lens' ClusterSummary (Maybe ClusterStatus)
- clusterSummary_clusterArn :: Lens' ClusterSummary (Maybe Text)
- clusterSummary_outpostArn :: Lens' ClusterSummary (Maybe Text)
- clusterSummary_normalizedInstanceHours :: Lens' ClusterSummary (Maybe Int)
- clusterSummary_name :: Lens' ClusterSummary (Maybe Text)
- clusterSummary_id :: Lens' ClusterSummary (Maybe Text)
- data ClusterTimeline = ClusterTimeline' {}
- newClusterTimeline :: ClusterTimeline
- clusterTimeline_readyDateTime :: Lens' ClusterTimeline (Maybe UTCTime)
- clusterTimeline_creationDateTime :: Lens' ClusterTimeline (Maybe UTCTime)
- clusterTimeline_endDateTime :: Lens' ClusterTimeline (Maybe UTCTime)
- data Command = Command' {}
- newCommand :: Command
- command_args :: Lens' Command (Maybe [Text])
- command_scriptPath :: Lens' Command (Maybe Text)
- command_name :: Lens' Command (Maybe Text)
- data ComputeLimits = ComputeLimits' {}
- newComputeLimits :: ComputeLimitsUnitType -> Int -> Int -> ComputeLimits
- computeLimits_maximumOnDemandCapacityUnits :: Lens' ComputeLimits (Maybe Int)
- computeLimits_maximumCoreCapacityUnits :: Lens' ComputeLimits (Maybe Int)
- computeLimits_unitType :: Lens' ComputeLimits ComputeLimitsUnitType
- computeLimits_minimumCapacityUnits :: Lens' ComputeLimits Int
- computeLimits_maximumCapacityUnits :: Lens' ComputeLimits Int
- data Configuration = Configuration' {}
- newConfiguration :: Configuration
- configuration_configurations :: Lens' Configuration (Maybe [Configuration])
- configuration_classification :: Lens' Configuration (Maybe Text)
- configuration_properties :: Lens' Configuration (Maybe (HashMap Text Text))
- data EbsBlockDevice = EbsBlockDevice' {}
- newEbsBlockDevice :: EbsBlockDevice
- ebsBlockDevice_device :: Lens' EbsBlockDevice (Maybe Text)
- ebsBlockDevice_volumeSpecification :: Lens' EbsBlockDevice (Maybe VolumeSpecification)
- data EbsBlockDeviceConfig = EbsBlockDeviceConfig' {}
- newEbsBlockDeviceConfig :: VolumeSpecification -> EbsBlockDeviceConfig
- ebsBlockDeviceConfig_volumesPerInstance :: Lens' EbsBlockDeviceConfig (Maybe Int)
- ebsBlockDeviceConfig_volumeSpecification :: Lens' EbsBlockDeviceConfig VolumeSpecification
- data EbsConfiguration = EbsConfiguration' {}
- newEbsConfiguration :: EbsConfiguration
- ebsConfiguration_ebsOptimized :: Lens' EbsConfiguration (Maybe Bool)
- ebsConfiguration_ebsBlockDeviceConfigs :: Lens' EbsConfiguration (Maybe [EbsBlockDeviceConfig])
- data EbsVolume = EbsVolume' {}
- newEbsVolume :: EbsVolume
- ebsVolume_device :: Lens' EbsVolume (Maybe Text)
- ebsVolume_volumeId :: Lens' EbsVolume (Maybe Text)
- data Ec2InstanceAttributes = Ec2InstanceAttributes' {
- ec2KeyName :: Maybe Text
- emrManagedSlaveSecurityGroup :: Maybe Text
- additionalSlaveSecurityGroups :: Maybe [Text]
- requestedEc2SubnetIds :: Maybe [Text]
- additionalMasterSecurityGroups :: Maybe [Text]
- iamInstanceProfile :: Maybe Text
- emrManagedMasterSecurityGroup :: Maybe Text
- ec2SubnetId :: Maybe Text
- requestedEc2AvailabilityZones :: Maybe [Text]
- serviceAccessSecurityGroup :: Maybe Text
- ec2AvailabilityZone :: Maybe Text
- newEc2InstanceAttributes :: Ec2InstanceAttributes
- ec2InstanceAttributes_ec2KeyName :: Lens' Ec2InstanceAttributes (Maybe Text)
- ec2InstanceAttributes_emrManagedSlaveSecurityGroup :: Lens' Ec2InstanceAttributes (Maybe Text)
- ec2InstanceAttributes_additionalSlaveSecurityGroups :: Lens' Ec2InstanceAttributes (Maybe [Text])
- ec2InstanceAttributes_requestedEc2SubnetIds :: Lens' Ec2InstanceAttributes (Maybe [Text])
- ec2InstanceAttributes_additionalMasterSecurityGroups :: Lens' Ec2InstanceAttributes (Maybe [Text])
- ec2InstanceAttributes_iamInstanceProfile :: Lens' Ec2InstanceAttributes (Maybe Text)
- ec2InstanceAttributes_emrManagedMasterSecurityGroup :: Lens' Ec2InstanceAttributes (Maybe Text)
- ec2InstanceAttributes_ec2SubnetId :: Lens' Ec2InstanceAttributes (Maybe Text)
- ec2InstanceAttributes_requestedEc2AvailabilityZones :: Lens' Ec2InstanceAttributes (Maybe [Text])
- ec2InstanceAttributes_serviceAccessSecurityGroup :: Lens' Ec2InstanceAttributes (Maybe Text)
- ec2InstanceAttributes_ec2AvailabilityZone :: Lens' Ec2InstanceAttributes (Maybe Text)
- data ExecutionEngineConfig = ExecutionEngineConfig' {}
- newExecutionEngineConfig :: Text -> ExecutionEngineConfig
- executionEngineConfig_masterInstanceSecurityGroupId :: Lens' ExecutionEngineConfig (Maybe Text)
- executionEngineConfig_type :: Lens' ExecutionEngineConfig (Maybe ExecutionEngineType)
- executionEngineConfig_id :: Lens' ExecutionEngineConfig Text
- data FailureDetails = FailureDetails' {}
- newFailureDetails :: FailureDetails
- failureDetails_logFile :: Lens' FailureDetails (Maybe Text)
- failureDetails_reason :: Lens' FailureDetails (Maybe Text)
- failureDetails_message :: Lens' FailureDetails (Maybe Text)
- data HadoopJarStepConfig = HadoopJarStepConfig' {}
- newHadoopJarStepConfig :: Text -> HadoopJarStepConfig
- hadoopJarStepConfig_args :: Lens' HadoopJarStepConfig (Maybe [Text])
- hadoopJarStepConfig_mainClass :: Lens' HadoopJarStepConfig (Maybe Text)
- hadoopJarStepConfig_properties :: Lens' HadoopJarStepConfig (Maybe [KeyValue])
- hadoopJarStepConfig_jar :: Lens' HadoopJarStepConfig Text
- data HadoopStepConfig = HadoopStepConfig' {}
- newHadoopStepConfig :: HadoopStepConfig
- hadoopStepConfig_args :: Lens' HadoopStepConfig (Maybe [Text])
- hadoopStepConfig_jar :: Lens' HadoopStepConfig (Maybe Text)
- hadoopStepConfig_mainClass :: Lens' HadoopStepConfig (Maybe Text)
- hadoopStepConfig_properties :: Lens' HadoopStepConfig (Maybe (HashMap Text Text))
- data Instance = Instance' {
- status :: Maybe InstanceStatus
- publicDnsName :: Maybe Text
- ebsVolumes :: Maybe [EbsVolume]
- ec2InstanceId :: Maybe Text
- instanceType :: Maybe Text
- market :: Maybe MarketType
- privateIpAddress :: Maybe Text
- instanceFleetId :: Maybe Text
- id :: Maybe Text
- instanceGroupId :: Maybe Text
- privateDnsName :: Maybe Text
- publicIpAddress :: Maybe Text
- newInstance :: Instance
- instance_status :: Lens' Instance (Maybe InstanceStatus)
- instance_publicDnsName :: Lens' Instance (Maybe Text)
- instance_ebsVolumes :: Lens' Instance (Maybe [EbsVolume])
- instance_ec2InstanceId :: Lens' Instance (Maybe Text)
- instance_instanceType :: Lens' Instance (Maybe Text)
- instance_market :: Lens' Instance (Maybe MarketType)
- instance_privateIpAddress :: Lens' Instance (Maybe Text)
- instance_instanceFleetId :: Lens' Instance (Maybe Text)
- instance_id :: Lens' Instance (Maybe Text)
- instance_instanceGroupId :: Lens' Instance (Maybe Text)
- instance_privateDnsName :: Lens' Instance (Maybe Text)
- instance_publicIpAddress :: Lens' Instance (Maybe Text)
- data InstanceFleet = InstanceFleet' {
- provisionedSpotCapacity :: Maybe Natural
- status :: Maybe InstanceFleetStatus
- targetOnDemandCapacity :: Maybe Natural
- instanceFleetType :: Maybe InstanceFleetType
- instanceTypeSpecifications :: Maybe [InstanceTypeSpecification]
- name :: Maybe Text
- provisionedOnDemandCapacity :: Maybe Natural
- targetSpotCapacity :: Maybe Natural
- id :: Maybe Text
- launchSpecifications :: Maybe InstanceFleetProvisioningSpecifications
- newInstanceFleet :: InstanceFleet
- instanceFleet_provisionedSpotCapacity :: Lens' InstanceFleet (Maybe Natural)
- instanceFleet_status :: Lens' InstanceFleet (Maybe InstanceFleetStatus)
- instanceFleet_targetOnDemandCapacity :: Lens' InstanceFleet (Maybe Natural)
- instanceFleet_instanceFleetType :: Lens' InstanceFleet (Maybe InstanceFleetType)
- instanceFleet_instanceTypeSpecifications :: Lens' InstanceFleet (Maybe [InstanceTypeSpecification])
- instanceFleet_name :: Lens' InstanceFleet (Maybe Text)
- instanceFleet_provisionedOnDemandCapacity :: Lens' InstanceFleet (Maybe Natural)
- instanceFleet_targetSpotCapacity :: Lens' InstanceFleet (Maybe Natural)
- instanceFleet_id :: Lens' InstanceFleet (Maybe Text)
- instanceFleet_launchSpecifications :: Lens' InstanceFleet (Maybe InstanceFleetProvisioningSpecifications)
- data InstanceFleetConfig = InstanceFleetConfig' {}
- newInstanceFleetConfig :: InstanceFleetType -> InstanceFleetConfig
- instanceFleetConfig_instanceTypeConfigs :: Lens' InstanceFleetConfig (Maybe [InstanceTypeConfig])
- instanceFleetConfig_targetOnDemandCapacity :: Lens' InstanceFleetConfig (Maybe Natural)
- instanceFleetConfig_name :: Lens' InstanceFleetConfig (Maybe Text)
- instanceFleetConfig_targetSpotCapacity :: Lens' InstanceFleetConfig (Maybe Natural)
- instanceFleetConfig_launchSpecifications :: Lens' InstanceFleetConfig (Maybe InstanceFleetProvisioningSpecifications)
- instanceFleetConfig_instanceFleetType :: Lens' InstanceFleetConfig InstanceFleetType
- data InstanceFleetModifyConfig = InstanceFleetModifyConfig' {}
- newInstanceFleetModifyConfig :: Text -> InstanceFleetModifyConfig
- instanceFleetModifyConfig_targetOnDemandCapacity :: Lens' InstanceFleetModifyConfig (Maybe Natural)
- instanceFleetModifyConfig_targetSpotCapacity :: Lens' InstanceFleetModifyConfig (Maybe Natural)
- instanceFleetModifyConfig_instanceFleetId :: Lens' InstanceFleetModifyConfig Text
- data InstanceFleetProvisioningSpecifications = InstanceFleetProvisioningSpecifications' {}
- newInstanceFleetProvisioningSpecifications :: InstanceFleetProvisioningSpecifications
- instanceFleetProvisioningSpecifications_spotSpecification :: Lens' InstanceFleetProvisioningSpecifications (Maybe SpotProvisioningSpecification)
- instanceFleetProvisioningSpecifications_onDemandSpecification :: Lens' InstanceFleetProvisioningSpecifications (Maybe OnDemandProvisioningSpecification)
- data InstanceFleetStateChangeReason = InstanceFleetStateChangeReason' {}
- newInstanceFleetStateChangeReason :: InstanceFleetStateChangeReason
- instanceFleetStateChangeReason_code :: Lens' InstanceFleetStateChangeReason (Maybe InstanceFleetStateChangeReasonCode)
- instanceFleetStateChangeReason_message :: Lens' InstanceFleetStateChangeReason (Maybe Text)
- data InstanceFleetStatus = InstanceFleetStatus' {}
- newInstanceFleetStatus :: InstanceFleetStatus
- instanceFleetStatus_state :: Lens' InstanceFleetStatus (Maybe InstanceFleetState)
- instanceFleetStatus_stateChangeReason :: Lens' InstanceFleetStatus (Maybe InstanceFleetStateChangeReason)
- instanceFleetStatus_timeline :: Lens' InstanceFleetStatus (Maybe InstanceFleetTimeline)
- data InstanceFleetTimeline = InstanceFleetTimeline' {}
- newInstanceFleetTimeline :: InstanceFleetTimeline
- instanceFleetTimeline_readyDateTime :: Lens' InstanceFleetTimeline (Maybe UTCTime)
- instanceFleetTimeline_creationDateTime :: Lens' InstanceFleetTimeline (Maybe UTCTime)
- instanceFleetTimeline_endDateTime :: Lens' InstanceFleetTimeline (Maybe UTCTime)
- data InstanceGroup = InstanceGroup' {
- status :: Maybe InstanceGroupStatus
- lastSuccessfullyAppliedConfigurationsVersion :: Maybe Integer
- bidPrice :: Maybe Text
- requestedInstanceCount :: Maybe Int
- runningInstanceCount :: Maybe Int
- lastSuccessfullyAppliedConfigurations :: Maybe [Configuration]
- configurations :: Maybe [Configuration]
- customAmiId :: Maybe Text
- instanceGroupType :: Maybe InstanceGroupType
- ebsBlockDevices :: Maybe [EbsBlockDevice]
- instanceType :: Maybe Text
- configurationsVersion :: Maybe Integer
- ebsOptimized :: Maybe Bool
- market :: Maybe MarketType
- name :: Maybe Text
- autoScalingPolicy :: Maybe AutoScalingPolicyDescription
- shrinkPolicy :: Maybe ShrinkPolicy
- id :: Maybe Text
- newInstanceGroup :: InstanceGroup
- instanceGroup_status :: Lens' InstanceGroup (Maybe InstanceGroupStatus)
- instanceGroup_lastSuccessfullyAppliedConfigurationsVersion :: Lens' InstanceGroup (Maybe Integer)
- instanceGroup_bidPrice :: Lens' InstanceGroup (Maybe Text)
- instanceGroup_requestedInstanceCount :: Lens' InstanceGroup (Maybe Int)
- instanceGroup_runningInstanceCount :: Lens' InstanceGroup (Maybe Int)
- instanceGroup_lastSuccessfullyAppliedConfigurations :: Lens' InstanceGroup (Maybe [Configuration])
- instanceGroup_configurations :: Lens' InstanceGroup (Maybe [Configuration])
- instanceGroup_customAmiId :: Lens' InstanceGroup (Maybe Text)
- instanceGroup_instanceGroupType :: Lens' InstanceGroup (Maybe InstanceGroupType)
- instanceGroup_ebsBlockDevices :: Lens' InstanceGroup (Maybe [EbsBlockDevice])
- instanceGroup_instanceType :: Lens' InstanceGroup (Maybe Text)
- instanceGroup_configurationsVersion :: Lens' InstanceGroup (Maybe Integer)
- instanceGroup_ebsOptimized :: Lens' InstanceGroup (Maybe Bool)
- instanceGroup_market :: Lens' InstanceGroup (Maybe MarketType)
- instanceGroup_name :: Lens' InstanceGroup (Maybe Text)
- instanceGroup_autoScalingPolicy :: Lens' InstanceGroup (Maybe AutoScalingPolicyDescription)
- instanceGroup_shrinkPolicy :: Lens' InstanceGroup (Maybe ShrinkPolicy)
- instanceGroup_id :: Lens' InstanceGroup (Maybe Text)
- data InstanceGroupConfig = InstanceGroupConfig' {}
- newInstanceGroupConfig :: InstanceRoleType -> Text -> Int -> InstanceGroupConfig
- instanceGroupConfig_ebsConfiguration :: Lens' InstanceGroupConfig (Maybe EbsConfiguration)
- instanceGroupConfig_bidPrice :: Lens' InstanceGroupConfig (Maybe Text)
- instanceGroupConfig_configurations :: Lens' InstanceGroupConfig (Maybe [Configuration])
- instanceGroupConfig_customAmiId :: Lens' InstanceGroupConfig (Maybe Text)
- instanceGroupConfig_market :: Lens' InstanceGroupConfig (Maybe MarketType)
- instanceGroupConfig_name :: Lens' InstanceGroupConfig (Maybe Text)
- instanceGroupConfig_autoScalingPolicy :: Lens' InstanceGroupConfig (Maybe AutoScalingPolicy)
- instanceGroupConfig_instanceRole :: Lens' InstanceGroupConfig InstanceRoleType
- instanceGroupConfig_instanceType :: Lens' InstanceGroupConfig Text
- instanceGroupConfig_instanceCount :: Lens' InstanceGroupConfig Int
- data InstanceGroupModifyConfig = InstanceGroupModifyConfig' {}
- newInstanceGroupModifyConfig :: Text -> InstanceGroupModifyConfig
- instanceGroupModifyConfig_instanceCount :: Lens' InstanceGroupModifyConfig (Maybe Int)
- instanceGroupModifyConfig_configurations :: Lens' InstanceGroupModifyConfig (Maybe [Configuration])
- instanceGroupModifyConfig_eC2InstanceIdsToTerminate :: Lens' InstanceGroupModifyConfig (Maybe [Text])
- instanceGroupModifyConfig_shrinkPolicy :: Lens' InstanceGroupModifyConfig (Maybe ShrinkPolicy)
- instanceGroupModifyConfig_instanceGroupId :: Lens' InstanceGroupModifyConfig Text
- data InstanceGroupStateChangeReason = InstanceGroupStateChangeReason' {}
- newInstanceGroupStateChangeReason :: InstanceGroupStateChangeReason
- instanceGroupStateChangeReason_code :: Lens' InstanceGroupStateChangeReason (Maybe InstanceGroupStateChangeReasonCode)
- instanceGroupStateChangeReason_message :: Lens' InstanceGroupStateChangeReason (Maybe Text)
- data InstanceGroupStatus = InstanceGroupStatus' {}
- newInstanceGroupStatus :: InstanceGroupStatus
- instanceGroupStatus_state :: Lens' InstanceGroupStatus (Maybe InstanceGroupState)
- instanceGroupStatus_stateChangeReason :: Lens' InstanceGroupStatus (Maybe InstanceGroupStateChangeReason)
- instanceGroupStatus_timeline :: Lens' InstanceGroupStatus (Maybe InstanceGroupTimeline)
- data InstanceGroupTimeline = InstanceGroupTimeline' {}
- newInstanceGroupTimeline :: InstanceGroupTimeline
- instanceGroupTimeline_readyDateTime :: Lens' InstanceGroupTimeline (Maybe UTCTime)
- instanceGroupTimeline_creationDateTime :: Lens' InstanceGroupTimeline (Maybe UTCTime)
- instanceGroupTimeline_endDateTime :: Lens' InstanceGroupTimeline (Maybe UTCTime)
- data InstanceResizePolicy = InstanceResizePolicy' {}
- newInstanceResizePolicy :: InstanceResizePolicy
- instanceResizePolicy_instancesToProtect :: Lens' InstanceResizePolicy (Maybe [Text])
- instanceResizePolicy_instancesToTerminate :: Lens' InstanceResizePolicy (Maybe [Text])
- instanceResizePolicy_instanceTerminationTimeout :: Lens' InstanceResizePolicy (Maybe Int)
- data InstanceStateChangeReason = InstanceStateChangeReason' {}
- newInstanceStateChangeReason :: InstanceStateChangeReason
- instanceStateChangeReason_code :: Lens' InstanceStateChangeReason (Maybe InstanceStateChangeReasonCode)
- instanceStateChangeReason_message :: Lens' InstanceStateChangeReason (Maybe Text)
- data InstanceStatus = InstanceStatus' {}
- newInstanceStatus :: InstanceStatus
- instanceStatus_state :: Lens' InstanceStatus (Maybe InstanceState)
- instanceStatus_stateChangeReason :: Lens' InstanceStatus (Maybe InstanceStateChangeReason)
- instanceStatus_timeline :: Lens' InstanceStatus (Maybe InstanceTimeline)
- data InstanceTimeline = InstanceTimeline' {}
- newInstanceTimeline :: InstanceTimeline
- instanceTimeline_readyDateTime :: Lens' InstanceTimeline (Maybe UTCTime)
- instanceTimeline_creationDateTime :: Lens' InstanceTimeline (Maybe UTCTime)
- instanceTimeline_endDateTime :: Lens' InstanceTimeline (Maybe UTCTime)
- data InstanceTypeConfig = InstanceTypeConfig' {}
- newInstanceTypeConfig :: Text -> InstanceTypeConfig
- instanceTypeConfig_ebsConfiguration :: Lens' InstanceTypeConfig (Maybe EbsConfiguration)
- instanceTypeConfig_bidPrice :: Lens' InstanceTypeConfig (Maybe Text)
- instanceTypeConfig_weightedCapacity :: Lens' InstanceTypeConfig (Maybe Natural)
- instanceTypeConfig_configurations :: Lens' InstanceTypeConfig (Maybe [Configuration])
- instanceTypeConfig_customAmiId :: Lens' InstanceTypeConfig (Maybe Text)
- instanceTypeConfig_bidPriceAsPercentageOfOnDemandPrice :: Lens' InstanceTypeConfig (Maybe Double)
- instanceTypeConfig_instanceType :: Lens' InstanceTypeConfig Text
- data InstanceTypeSpecification = InstanceTypeSpecification' {}
- newInstanceTypeSpecification :: InstanceTypeSpecification
- instanceTypeSpecification_bidPrice :: Lens' InstanceTypeSpecification (Maybe Text)
- instanceTypeSpecification_weightedCapacity :: Lens' InstanceTypeSpecification (Maybe Natural)
- instanceTypeSpecification_configurations :: Lens' InstanceTypeSpecification (Maybe [Configuration])
- instanceTypeSpecification_customAmiId :: Lens' InstanceTypeSpecification (Maybe Text)
- instanceTypeSpecification_ebsBlockDevices :: Lens' InstanceTypeSpecification (Maybe [EbsBlockDevice])
- instanceTypeSpecification_instanceType :: Lens' InstanceTypeSpecification (Maybe Text)
- instanceTypeSpecification_ebsOptimized :: Lens' InstanceTypeSpecification (Maybe Bool)
- instanceTypeSpecification_bidPriceAsPercentageOfOnDemandPrice :: Lens' InstanceTypeSpecification (Maybe Double)
- data JobFlowInstancesConfig = JobFlowInstancesConfig' {
- instanceFleets :: Maybe [InstanceFleetConfig]
- ec2KeyName :: Maybe Text
- slaveInstanceType :: Maybe Text
- instanceCount :: Maybe Int
- emrManagedSlaveSecurityGroup :: Maybe Text
- additionalSlaveSecurityGroups :: Maybe [Text]
- ec2SubnetIds :: Maybe [Text]
- hadoopVersion :: Maybe Text
- additionalMasterSecurityGroups :: Maybe [Text]
- emrManagedMasterSecurityGroup :: Maybe Text
- ec2SubnetId :: Maybe Text
- masterInstanceType :: Maybe Text
- instanceGroups :: Maybe [InstanceGroupConfig]
- keepJobFlowAliveWhenNoSteps :: Maybe Bool
- serviceAccessSecurityGroup :: Maybe Text
- terminationProtected :: Maybe Bool
- placement :: Maybe PlacementType
- newJobFlowInstancesConfig :: JobFlowInstancesConfig
- jobFlowInstancesConfig_instanceFleets :: Lens' JobFlowInstancesConfig (Maybe [InstanceFleetConfig])
- jobFlowInstancesConfig_ec2KeyName :: Lens' JobFlowInstancesConfig (Maybe Text)
- jobFlowInstancesConfig_slaveInstanceType :: Lens' JobFlowInstancesConfig (Maybe Text)
- jobFlowInstancesConfig_instanceCount :: Lens' JobFlowInstancesConfig (Maybe Int)
- jobFlowInstancesConfig_emrManagedSlaveSecurityGroup :: Lens' JobFlowInstancesConfig (Maybe Text)
- jobFlowInstancesConfig_additionalSlaveSecurityGroups :: Lens' JobFlowInstancesConfig (Maybe [Text])
- jobFlowInstancesConfig_ec2SubnetIds :: Lens' JobFlowInstancesConfig (Maybe [Text])
- jobFlowInstancesConfig_hadoopVersion :: Lens' JobFlowInstancesConfig (Maybe Text)
- jobFlowInstancesConfig_additionalMasterSecurityGroups :: Lens' JobFlowInstancesConfig (Maybe [Text])
- jobFlowInstancesConfig_emrManagedMasterSecurityGroup :: Lens' JobFlowInstancesConfig (Maybe Text)
- jobFlowInstancesConfig_ec2SubnetId :: Lens' JobFlowInstancesConfig (Maybe Text)
- jobFlowInstancesConfig_masterInstanceType :: Lens' JobFlowInstancesConfig (Maybe Text)
- jobFlowInstancesConfig_instanceGroups :: Lens' JobFlowInstancesConfig (Maybe [InstanceGroupConfig])
- jobFlowInstancesConfig_keepJobFlowAliveWhenNoSteps :: Lens' JobFlowInstancesConfig (Maybe Bool)
- jobFlowInstancesConfig_serviceAccessSecurityGroup :: Lens' JobFlowInstancesConfig (Maybe Text)
- jobFlowInstancesConfig_terminationProtected :: Lens' JobFlowInstancesConfig (Maybe Bool)
- jobFlowInstancesConfig_placement :: Lens' JobFlowInstancesConfig (Maybe PlacementType)
- data KerberosAttributes = KerberosAttributes' {}
- newKerberosAttributes :: KerberosAttributes
- kerberosAttributes_kdcAdminPassword :: Lens' KerberosAttributes (Maybe Text)
- kerberosAttributes_realm :: Lens' KerberosAttributes (Maybe Text)
- kerberosAttributes_aDDomainJoinPassword :: Lens' KerberosAttributes (Maybe Text)
- kerberosAttributes_crossRealmTrustPrincipalPassword :: Lens' KerberosAttributes (Maybe Text)
- kerberosAttributes_aDDomainJoinUser :: Lens' KerberosAttributes (Maybe Text)
- data KeyValue = KeyValue' {}
- newKeyValue :: KeyValue
- keyValue_value :: Lens' KeyValue (Maybe Text)
- keyValue_key :: Lens' KeyValue (Maybe Text)
- data ManagedScalingPolicy = ManagedScalingPolicy' {}
- newManagedScalingPolicy :: ManagedScalingPolicy
- managedScalingPolicy_computeLimits :: Lens' ManagedScalingPolicy (Maybe ComputeLimits)
- data MetricDimension = MetricDimension' {}
- newMetricDimension :: MetricDimension
- metricDimension_value :: Lens' MetricDimension (Maybe Text)
- metricDimension_key :: Lens' MetricDimension (Maybe Text)
- data NotebookExecution = NotebookExecution' {
- status :: Maybe NotebookExecutionStatus
- executionEngine :: Maybe ExecutionEngineConfig
- notebookInstanceSecurityGroupId :: Maybe Text
- editorId :: Maybe Text
- startTime :: Maybe POSIX
- arn :: Maybe Text
- outputNotebookURI :: Maybe Text
- notebookExecutionId :: Maybe Text
- notebookExecutionName :: Maybe Text
- lastStateChangeReason :: Maybe Text
- endTime :: Maybe POSIX
- notebookParams :: Maybe Text
- tags :: Maybe [Tag]
- newNotebookExecution :: NotebookExecution
- notebookExecution_status :: Lens' NotebookExecution (Maybe NotebookExecutionStatus)
- notebookExecution_executionEngine :: Lens' NotebookExecution (Maybe ExecutionEngineConfig)
- notebookExecution_notebookInstanceSecurityGroupId :: Lens' NotebookExecution (Maybe Text)
- notebookExecution_editorId :: Lens' NotebookExecution (Maybe Text)
- notebookExecution_startTime :: Lens' NotebookExecution (Maybe UTCTime)
- notebookExecution_arn :: Lens' NotebookExecution (Maybe Text)
- notebookExecution_outputNotebookURI :: Lens' NotebookExecution (Maybe Text)
- notebookExecution_notebookExecutionId :: Lens' NotebookExecution (Maybe Text)
- notebookExecution_notebookExecutionName :: Lens' NotebookExecution (Maybe Text)
- notebookExecution_lastStateChangeReason :: Lens' NotebookExecution (Maybe Text)
- notebookExecution_endTime :: Lens' NotebookExecution (Maybe UTCTime)
- notebookExecution_notebookParams :: Lens' NotebookExecution (Maybe Text)
- notebookExecution_tags :: Lens' NotebookExecution (Maybe [Tag])
- data NotebookExecutionSummary = NotebookExecutionSummary' {}
- newNotebookExecutionSummary :: NotebookExecutionSummary
- notebookExecutionSummary_status :: Lens' NotebookExecutionSummary (Maybe NotebookExecutionStatus)
- notebookExecutionSummary_editorId :: Lens' NotebookExecutionSummary (Maybe Text)
- notebookExecutionSummary_startTime :: Lens' NotebookExecutionSummary (Maybe UTCTime)
- notebookExecutionSummary_notebookExecutionId :: Lens' NotebookExecutionSummary (Maybe Text)
- notebookExecutionSummary_notebookExecutionName :: Lens' NotebookExecutionSummary (Maybe Text)
- notebookExecutionSummary_endTime :: Lens' NotebookExecutionSummary (Maybe UTCTime)
- data OnDemandCapacityReservationOptions = OnDemandCapacityReservationOptions' {}
- newOnDemandCapacityReservationOptions :: OnDemandCapacityReservationOptions
- onDemandCapacityReservationOptions_usageStrategy :: Lens' OnDemandCapacityReservationOptions (Maybe OnDemandCapacityReservationUsageStrategy)
- onDemandCapacityReservationOptions_capacityReservationResourceGroupArn :: Lens' OnDemandCapacityReservationOptions (Maybe Text)
- onDemandCapacityReservationOptions_capacityReservationPreference :: Lens' OnDemandCapacityReservationOptions (Maybe OnDemandCapacityReservationPreference)
- data OnDemandProvisioningSpecification = OnDemandProvisioningSpecification' {}
- newOnDemandProvisioningSpecification :: OnDemandProvisioningAllocationStrategy -> OnDemandProvisioningSpecification
- onDemandProvisioningSpecification_capacityReservationOptions :: Lens' OnDemandProvisioningSpecification (Maybe OnDemandCapacityReservationOptions)
- onDemandProvisioningSpecification_allocationStrategy :: Lens' OnDemandProvisioningSpecification OnDemandProvisioningAllocationStrategy
- data PlacementGroupConfig = PlacementGroupConfig' {}
- newPlacementGroupConfig :: InstanceRoleType -> PlacementGroupConfig
- placementGroupConfig_placementStrategy :: Lens' PlacementGroupConfig (Maybe PlacementGroupStrategy)
- placementGroupConfig_instanceRole :: Lens' PlacementGroupConfig InstanceRoleType
- data PlacementType = PlacementType' {}
- newPlacementType :: PlacementType
- placementType_availabilityZones :: Lens' PlacementType (Maybe [Text])
- placementType_availabilityZone :: Lens' PlacementType (Maybe Text)
- data PortRange = PortRange' {}
- newPortRange :: Int -> PortRange
- portRange_maxRange :: Lens' PortRange (Maybe Int)
- portRange_minRange :: Lens' PortRange Int
- data ReleaseLabelFilter = ReleaseLabelFilter' {}
- newReleaseLabelFilter :: ReleaseLabelFilter
- releaseLabelFilter_application :: Lens' ReleaseLabelFilter (Maybe Text)
- releaseLabelFilter_prefix :: Lens' ReleaseLabelFilter (Maybe Text)
- data ScalingAction = ScalingAction' {}
- newScalingAction :: SimpleScalingPolicyConfiguration -> ScalingAction
- scalingAction_market :: Lens' ScalingAction (Maybe MarketType)
- scalingAction_simpleScalingPolicyConfiguration :: Lens' ScalingAction SimpleScalingPolicyConfiguration
- data ScalingConstraints = ScalingConstraints' {
- minCapacity :: Int
- maxCapacity :: Int
- newScalingConstraints :: Int -> Int -> ScalingConstraints
- scalingConstraints_minCapacity :: Lens' ScalingConstraints Int
- scalingConstraints_maxCapacity :: Lens' ScalingConstraints Int
- data ScalingRule = ScalingRule' {
- description :: Maybe Text
- name :: Text
- action :: ScalingAction
- trigger :: ScalingTrigger
- newScalingRule :: Text -> ScalingAction -> ScalingTrigger -> ScalingRule
- scalingRule_description :: Lens' ScalingRule (Maybe Text)
- scalingRule_name :: Lens' ScalingRule Text
- scalingRule_action :: Lens' ScalingRule ScalingAction
- scalingRule_trigger :: Lens' ScalingRule ScalingTrigger
- data ScalingTrigger = ScalingTrigger' {}
- newScalingTrigger :: CloudWatchAlarmDefinition -> ScalingTrigger
- scalingTrigger_cloudWatchAlarmDefinition :: Lens' ScalingTrigger CloudWatchAlarmDefinition
- data ScriptBootstrapActionConfig = ScriptBootstrapActionConfig' {}
- newScriptBootstrapActionConfig :: Text -> ScriptBootstrapActionConfig
- scriptBootstrapActionConfig_args :: Lens' ScriptBootstrapActionConfig (Maybe [Text])
- scriptBootstrapActionConfig_path :: Lens' ScriptBootstrapActionConfig Text
- data SecurityConfigurationSummary = SecurityConfigurationSummary' {}
- newSecurityConfigurationSummary :: SecurityConfigurationSummary
- securityConfigurationSummary_name :: Lens' SecurityConfigurationSummary (Maybe Text)
- securityConfigurationSummary_creationDateTime :: Lens' SecurityConfigurationSummary (Maybe UTCTime)
- data SessionMappingDetail = SessionMappingDetail' {}
- newSessionMappingDetail :: SessionMappingDetail
- sessionMappingDetail_creationTime :: Lens' SessionMappingDetail (Maybe UTCTime)
- sessionMappingDetail_studioId :: Lens' SessionMappingDetail (Maybe Text)
- sessionMappingDetail_lastModifiedTime :: Lens' SessionMappingDetail (Maybe UTCTime)
- sessionMappingDetail_identityType :: Lens' SessionMappingDetail (Maybe IdentityType)
- sessionMappingDetail_identityId :: Lens' SessionMappingDetail (Maybe Text)
- sessionMappingDetail_sessionPolicyArn :: Lens' SessionMappingDetail (Maybe Text)
- sessionMappingDetail_identityName :: Lens' SessionMappingDetail (Maybe Text)
- data SessionMappingSummary = SessionMappingSummary' {}
- newSessionMappingSummary :: SessionMappingSummary
- sessionMappingSummary_creationTime :: Lens' SessionMappingSummary (Maybe UTCTime)
- sessionMappingSummary_studioId :: Lens' SessionMappingSummary (Maybe Text)
- sessionMappingSummary_identityType :: Lens' SessionMappingSummary (Maybe IdentityType)
- sessionMappingSummary_identityId :: Lens' SessionMappingSummary (Maybe Text)
- sessionMappingSummary_sessionPolicyArn :: Lens' SessionMappingSummary (Maybe Text)
- sessionMappingSummary_identityName :: Lens' SessionMappingSummary (Maybe Text)
- data ShrinkPolicy = ShrinkPolicy' {}
- newShrinkPolicy :: ShrinkPolicy
- shrinkPolicy_decommissionTimeout :: Lens' ShrinkPolicy (Maybe Int)
- shrinkPolicy_instanceResizePolicy :: Lens' ShrinkPolicy (Maybe InstanceResizePolicy)
- data SimpleScalingPolicyConfiguration = SimpleScalingPolicyConfiguration' {}
- newSimpleScalingPolicyConfiguration :: Int -> SimpleScalingPolicyConfiguration
- simpleScalingPolicyConfiguration_adjustmentType :: Lens' SimpleScalingPolicyConfiguration (Maybe AdjustmentType)
- simpleScalingPolicyConfiguration_coolDown :: Lens' SimpleScalingPolicyConfiguration (Maybe Int)
- simpleScalingPolicyConfiguration_scalingAdjustment :: Lens' SimpleScalingPolicyConfiguration Int
- data SimplifiedApplication = SimplifiedApplication' {}
- newSimplifiedApplication :: SimplifiedApplication
- simplifiedApplication_name :: Lens' SimplifiedApplication (Maybe Text)
- simplifiedApplication_version :: Lens' SimplifiedApplication (Maybe Text)
- data SpotProvisioningSpecification = SpotProvisioningSpecification' {}
- newSpotProvisioningSpecification :: Natural -> SpotProvisioningTimeoutAction -> SpotProvisioningSpecification
- spotProvisioningSpecification_blockDurationMinutes :: Lens' SpotProvisioningSpecification (Maybe Natural)
- spotProvisioningSpecification_allocationStrategy :: Lens' SpotProvisioningSpecification (Maybe SpotProvisioningAllocationStrategy)
- spotProvisioningSpecification_timeoutDurationMinutes :: Lens' SpotProvisioningSpecification Natural
- spotProvisioningSpecification_timeoutAction :: Lens' SpotProvisioningSpecification SpotProvisioningTimeoutAction
- data Step = Step' {}
- newStep :: Step
- step_status :: Lens' Step (Maybe StepStatus)
- step_actionOnFailure :: Lens' Step (Maybe ActionOnFailure)
- step_config :: Lens' Step (Maybe HadoopStepConfig)
- step_name :: Lens' Step (Maybe Text)
- step_id :: Lens' Step (Maybe Text)
- data StepConfig = StepConfig' {}
- newStepConfig :: Text -> HadoopJarStepConfig -> StepConfig
- stepConfig_actionOnFailure :: Lens' StepConfig (Maybe ActionOnFailure)
- stepConfig_name :: Lens' StepConfig Text
- stepConfig_hadoopJarStep :: Lens' StepConfig HadoopJarStepConfig
- data StepStateChangeReason = StepStateChangeReason' {}
- newStepStateChangeReason :: StepStateChangeReason
- stepStateChangeReason_code :: Lens' StepStateChangeReason (Maybe StepStateChangeReasonCode)
- stepStateChangeReason_message :: Lens' StepStateChangeReason (Maybe Text)
- data StepStatus = StepStatus' {}
- newStepStatus :: StepStatus
- stepStatus_state :: Lens' StepStatus (Maybe StepState)
- stepStatus_failureDetails :: Lens' StepStatus (Maybe FailureDetails)
- stepStatus_stateChangeReason :: Lens' StepStatus (Maybe StepStateChangeReason)
- stepStatus_timeline :: Lens' StepStatus (Maybe StepTimeline)
- data StepSummary = StepSummary' {}
- newStepSummary :: StepSummary
- stepSummary_status :: Lens' StepSummary (Maybe StepStatus)
- stepSummary_actionOnFailure :: Lens' StepSummary (Maybe ActionOnFailure)
- stepSummary_config :: Lens' StepSummary (Maybe HadoopStepConfig)
- stepSummary_name :: Lens' StepSummary (Maybe Text)
- stepSummary_id :: Lens' StepSummary (Maybe Text)
- data StepTimeline = StepTimeline' {}
- newStepTimeline :: StepTimeline
- stepTimeline_creationDateTime :: Lens' StepTimeline (Maybe UTCTime)
- stepTimeline_endDateTime :: Lens' StepTimeline (Maybe UTCTime)
- stepTimeline_startDateTime :: Lens' StepTimeline (Maybe UTCTime)
- data Studio = Studio' {
- creationTime :: Maybe POSIX
- engineSecurityGroupId :: Maybe Text
- subnetIds :: Maybe [Text]
- studioId :: Maybe Text
- vpcId :: Maybe Text
- url :: Maybe Text
- authMode :: Maybe AuthMode
- defaultS3Location :: Maybe Text
- idpAuthUrl :: Maybe Text
- workspaceSecurityGroupId :: Maybe Text
- name :: Maybe Text
- idpRelayStateParameterName :: Maybe Text
- studioArn :: Maybe Text
- userRole :: Maybe Text
- description :: Maybe Text
- tags :: Maybe [Tag]
- serviceRole :: Maybe Text
- newStudio :: Studio
- studio_creationTime :: Lens' Studio (Maybe UTCTime)
- studio_engineSecurityGroupId :: Lens' Studio (Maybe Text)
- studio_subnetIds :: Lens' Studio (Maybe [Text])
- studio_studioId :: Lens' Studio (Maybe Text)
- studio_vpcId :: Lens' Studio (Maybe Text)
- studio_url :: Lens' Studio (Maybe Text)
- studio_authMode :: Lens' Studio (Maybe AuthMode)
- studio_defaultS3Location :: Lens' Studio (Maybe Text)
- studio_idpAuthUrl :: Lens' Studio (Maybe Text)
- studio_workspaceSecurityGroupId :: Lens' Studio (Maybe Text)
- studio_name :: Lens' Studio (Maybe Text)
- studio_idpRelayStateParameterName :: Lens' Studio (Maybe Text)
- studio_studioArn :: Lens' Studio (Maybe Text)
- studio_userRole :: Lens' Studio (Maybe Text)
- studio_description :: Lens' Studio (Maybe Text)
- studio_tags :: Lens' Studio (Maybe [Tag])
- studio_serviceRole :: Lens' Studio (Maybe Text)
- data StudioSummary = StudioSummary' {}
- newStudioSummary :: StudioSummary
- studioSummary_creationTime :: Lens' StudioSummary (Maybe UTCTime)
- studioSummary_studioId :: Lens' StudioSummary (Maybe Text)
- studioSummary_vpcId :: Lens' StudioSummary (Maybe Text)
- studioSummary_url :: Lens' StudioSummary (Maybe Text)
- studioSummary_authMode :: Lens' StudioSummary (Maybe AuthMode)
- studioSummary_name :: Lens' StudioSummary (Maybe Text)
- studioSummary_description :: Lens' StudioSummary (Maybe Text)
- data SupportedProductConfig = SupportedProductConfig' {}
- newSupportedProductConfig :: SupportedProductConfig
- supportedProductConfig_args :: Lens' SupportedProductConfig (Maybe [Text])
- supportedProductConfig_name :: Lens' SupportedProductConfig (Maybe Text)
- data Tag = Tag' {}
- newTag :: Tag
- tag_value :: Lens' Tag (Maybe Text)
- tag_key :: Lens' Tag (Maybe Text)
- data VolumeSpecification = VolumeSpecification' {}
- newVolumeSpecification :: Text -> Int -> VolumeSpecification
- volumeSpecification_iops :: Lens' VolumeSpecification (Maybe Int)
- volumeSpecification_volumeType :: Lens' VolumeSpecification Text
- volumeSpecification_sizeInGB :: Lens' VolumeSpecification Int
Service Configuration
defaultService :: Service Source #
API version 2009-03-31
of the Amazon EMR SDK 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 Amazon EMR service.
ActionOnFailure
newtype ActionOnFailure Source #
pattern ActionOnFailure_CANCEL_AND_WAIT :: ActionOnFailure | |
pattern ActionOnFailure_CONTINUE :: ActionOnFailure | |
pattern ActionOnFailure_TERMINATE_CLUSTER :: ActionOnFailure | |
pattern ActionOnFailure_TERMINATE_JOB_FLOW :: ActionOnFailure |
Instances
AdjustmentType
newtype AdjustmentType Source #
pattern AdjustmentType_CHANGE_IN_CAPACITY :: AdjustmentType | |
pattern AdjustmentType_EXACT_CAPACITY :: AdjustmentType | |
pattern AdjustmentType_PERCENT_CHANGE_IN_CAPACITY :: AdjustmentType |
Instances
AuthMode
pattern AuthMode_IAM :: AuthMode | |
pattern AuthMode_SSO :: AuthMode |
Instances
AutoScalingPolicyState
newtype AutoScalingPolicyState Source #
Instances
AutoScalingPolicyStateChangeReasonCode
newtype AutoScalingPolicyStateChangeReasonCode Source #
Instances
CancelStepsRequestStatus
newtype CancelStepsRequestStatus Source #
pattern CancelStepsRequestStatus_FAILED :: CancelStepsRequestStatus | |
pattern CancelStepsRequestStatus_SUBMITTED :: CancelStepsRequestStatus |
Instances
ClusterState
newtype ClusterState Source #
pattern ClusterState_BOOTSTRAPPING :: ClusterState | |
pattern ClusterState_RUNNING :: ClusterState | |
pattern ClusterState_STARTING :: ClusterState | |
pattern ClusterState_TERMINATED :: ClusterState | |
pattern ClusterState_TERMINATED_WITH_ERRORS :: ClusterState | |
pattern ClusterState_TERMINATING :: ClusterState | |
pattern ClusterState_WAITING :: ClusterState |
Instances
ClusterStateChangeReasonCode
newtype ClusterStateChangeReasonCode Source #
Instances
ComparisonOperator
newtype ComparisonOperator Source #
Instances
ComputeLimitsUnitType
newtype ComputeLimitsUnitType Source #
pattern ComputeLimitsUnitType_InstanceFleetUnits :: ComputeLimitsUnitType | |
pattern ComputeLimitsUnitType_Instances :: ComputeLimitsUnitType | |
pattern ComputeLimitsUnitType_VCPU :: ComputeLimitsUnitType |
Instances
ExecutionEngineType
newtype ExecutionEngineType Source #
pattern ExecutionEngineType_EMR :: ExecutionEngineType |
Instances
IdentityType
newtype IdentityType Source #
pattern IdentityType_GROUP :: IdentityType | |
pattern IdentityType_USER :: IdentityType |
Instances
InstanceCollectionType
newtype InstanceCollectionType Source #
pattern InstanceCollectionType_INSTANCE_FLEET :: InstanceCollectionType | |
pattern InstanceCollectionType_INSTANCE_GROUP :: InstanceCollectionType |
Instances
InstanceFleetState
newtype InstanceFleetState Source #
pattern InstanceFleetState_BOOTSTRAPPING :: InstanceFleetState | |
pattern InstanceFleetState_PROVISIONING :: InstanceFleetState | |
pattern InstanceFleetState_RESIZING :: InstanceFleetState | |
pattern InstanceFleetState_RUNNING :: InstanceFleetState | |
pattern InstanceFleetState_SUSPENDED :: InstanceFleetState | |
pattern InstanceFleetState_TERMINATED :: InstanceFleetState | |
pattern InstanceFleetState_TERMINATING :: InstanceFleetState |
Instances
InstanceFleetStateChangeReasonCode
newtype InstanceFleetStateChangeReasonCode Source #
Instances
InstanceFleetType
newtype InstanceFleetType Source #
pattern InstanceFleetType_CORE :: InstanceFleetType | |
pattern InstanceFleetType_MASTER :: InstanceFleetType | |
pattern InstanceFleetType_TASK :: InstanceFleetType |
Instances
InstanceGroupState
newtype InstanceGroupState Source #
pattern InstanceGroupState_ARRESTED :: InstanceGroupState | |
pattern InstanceGroupState_BOOTSTRAPPING :: InstanceGroupState | |
pattern InstanceGroupState_ENDED :: InstanceGroupState | |
pattern InstanceGroupState_PROVISIONING :: InstanceGroupState | |
pattern InstanceGroupState_RECONFIGURING :: InstanceGroupState | |
pattern InstanceGroupState_RESIZING :: InstanceGroupState | |
pattern InstanceGroupState_RUNNING :: InstanceGroupState | |
pattern InstanceGroupState_SHUTTING_DOWN :: InstanceGroupState | |
pattern InstanceGroupState_SUSPENDED :: InstanceGroupState | |
pattern InstanceGroupState_TERMINATED :: InstanceGroupState | |
pattern InstanceGroupState_TERMINATING :: InstanceGroupState |
Instances
InstanceGroupStateChangeReasonCode
newtype InstanceGroupStateChangeReasonCode Source #
Instances
InstanceGroupType
newtype InstanceGroupType Source #
pattern InstanceGroupType_CORE :: InstanceGroupType | |
pattern InstanceGroupType_MASTER :: InstanceGroupType | |
pattern InstanceGroupType_TASK :: InstanceGroupType |
Instances
InstanceRoleType
newtype InstanceRoleType Source #
pattern InstanceRoleType_CORE :: InstanceRoleType | |
pattern InstanceRoleType_MASTER :: InstanceRoleType | |
pattern InstanceRoleType_TASK :: InstanceRoleType |
Instances
InstanceState
newtype InstanceState Source #
pattern InstanceState_AWAITING_FULFILLMENT :: InstanceState | |
pattern InstanceState_BOOTSTRAPPING :: InstanceState | |
pattern InstanceState_PROVISIONING :: InstanceState | |
pattern InstanceState_RUNNING :: InstanceState | |
pattern InstanceState_TERMINATED :: InstanceState |
Instances
InstanceStateChangeReasonCode
newtype InstanceStateChangeReasonCode Source #
Instances
MarketType
newtype MarketType Source #
pattern MarketType_ON_DEMAND :: MarketType | |
pattern MarketType_SPOT :: MarketType |
Instances
NotebookExecutionStatus
newtype NotebookExecutionStatus Source #
Instances
OnDemandCapacityReservationPreference
newtype OnDemandCapacityReservationPreference Source #
pattern OnDemandCapacityReservationPreference_None :: OnDemandCapacityReservationPreference | |
pattern OnDemandCapacityReservationPreference_Open :: OnDemandCapacityReservationPreference |
Instances
OnDemandCapacityReservationUsageStrategy
newtype OnDemandCapacityReservationUsageStrategy Source #
pattern OnDemandCapacityReservationUsageStrategy_Use_capacity_reservations_first :: OnDemandCapacityReservationUsageStrategy |
Instances
OnDemandProvisioningAllocationStrategy
newtype OnDemandProvisioningAllocationStrategy Source #
pattern OnDemandProvisioningAllocationStrategy_Lowest_price :: OnDemandProvisioningAllocationStrategy |
Instances
PlacementGroupStrategy
newtype PlacementGroupStrategy Source #
Instances
RepoUpgradeOnBoot
newtype RepoUpgradeOnBoot Source #
pattern RepoUpgradeOnBoot_NONE :: RepoUpgradeOnBoot | |
pattern RepoUpgradeOnBoot_SECURITY :: RepoUpgradeOnBoot |
Instances
ScaleDownBehavior
newtype ScaleDownBehavior Source #
pattern ScaleDownBehavior_TERMINATE_AT_INSTANCE_HOUR :: ScaleDownBehavior | |
pattern ScaleDownBehavior_TERMINATE_AT_TASK_COMPLETION :: ScaleDownBehavior |
Instances
SpotProvisioningAllocationStrategy
newtype SpotProvisioningAllocationStrategy Source #
Instances
SpotProvisioningTimeoutAction
newtype SpotProvisioningTimeoutAction Source #
pattern SpotProvisioningTimeoutAction_SWITCH_TO_ON_DEMAND :: SpotProvisioningTimeoutAction | |
pattern SpotProvisioningTimeoutAction_TERMINATE_CLUSTER :: SpotProvisioningTimeoutAction |
Instances
Statistic
pattern Statistic_AVERAGE :: Statistic | |
pattern Statistic_MAXIMUM :: Statistic | |
pattern Statistic_MINIMUM :: Statistic | |
pattern Statistic_SAMPLE_COUNT :: Statistic | |
pattern Statistic_SUM :: Statistic |
Instances
StepCancellationOption
newtype StepCancellationOption Source #
pattern StepCancellationOption_SEND_INTERRUPT :: StepCancellationOption | |
pattern StepCancellationOption_TERMINATE_PROCESS :: StepCancellationOption |
Instances
StepState
pattern StepState_CANCELLED :: StepState | |
pattern StepState_CANCEL_PENDING :: StepState | |
pattern StepState_COMPLETED :: StepState | |
pattern StepState_FAILED :: StepState | |
pattern StepState_INTERRUPTED :: StepState | |
pattern StepState_PENDING :: StepState | |
pattern StepState_RUNNING :: StepState |
Instances
StepStateChangeReasonCode
newtype StepStateChangeReasonCode Source #
Instances
Unit
pattern Unit_BITS :: Unit | |
pattern Unit_BITS_PER_SECOND :: Unit | |
pattern Unit_BYTES :: Unit | |
pattern Unit_BYTES_PER_SECOND :: Unit | |
pattern Unit_COUNT :: Unit | |
pattern Unit_COUNT_PER_SECOND :: Unit | |
pattern Unit_GIGA_BITS :: Unit | |
pattern Unit_GIGA_BITS_PER_SECOND :: Unit | |
pattern Unit_GIGA_BYTES :: Unit | |
pattern Unit_GIGA_BYTES_PER_SECOND :: Unit | |
pattern Unit_KILO_BITS :: Unit | |
pattern Unit_KILO_BITS_PER_SECOND :: Unit | |
pattern Unit_KILO_BYTES :: Unit | |
pattern Unit_KILO_BYTES_PER_SECOND :: Unit | |
pattern Unit_MEGA_BITS :: Unit | |
pattern Unit_MEGA_BITS_PER_SECOND :: Unit | |
pattern Unit_MEGA_BYTES :: Unit | |
pattern Unit_MEGA_BYTES_PER_SECOND :: Unit | |
pattern Unit_MICRO_SECONDS :: Unit | |
pattern Unit_MILLI_SECONDS :: Unit | |
pattern Unit_NONE :: Unit | |
pattern Unit_PERCENT :: Unit | |
pattern Unit_SECONDS :: Unit | |
pattern Unit_TERA_BITS :: Unit | |
pattern Unit_TERA_BITS_PER_SECOND :: Unit | |
pattern Unit_TERA_BYTES :: Unit | |
pattern Unit_TERA_BYTES_PER_SECOND :: Unit |
Instances
Eq Unit Source # | |
Ord Unit Source # | |
Read Unit Source # | |
Show Unit Source # | |
Generic Unit Source # | |
NFData Unit Source # | |
Defined in Amazonka.EMR.Types.Unit | |
Hashable Unit Source # | |
Defined in Amazonka.EMR.Types.Unit | |
ToJSON Unit Source # | |
Defined in Amazonka.EMR.Types.Unit | |
ToJSONKey Unit Source # | |
Defined in Amazonka.EMR.Types.Unit | |
FromJSON Unit Source # | |
FromJSONKey Unit Source # | |
Defined in Amazonka.EMR.Types.Unit | |
ToLog Unit Source # | |
Defined in Amazonka.EMR.Types.Unit build :: Unit -> ByteStringBuilder # | |
ToHeader Unit Source # | |
Defined in Amazonka.EMR.Types.Unit toHeader :: HeaderName -> Unit -> [Header] # | |
ToQuery Unit Source # | |
Defined in Amazonka.EMR.Types.Unit toQuery :: Unit -> QueryString # | |
FromXML Unit Source # | |
ToXML Unit Source # | |
Defined in Amazonka.EMR.Types.Unit | |
ToByteString Unit Source # | |
Defined in Amazonka.EMR.Types.Unit toBS :: Unit -> ByteString # | |
FromText Unit Source # | |
ToText Unit Source # | |
Defined in Amazonka.EMR.Types.Unit | |
type Rep Unit Source # | |
Defined in Amazonka.EMR.Types.Unit |
Application
data Application Source #
With Amazon EMR release version 4.0 and later, the only accepted parameter is the application name. To pass arguments to applications, you use configuration classifications specified using configuration JSON objects. For more information, see Configuring Applications.
With earlier Amazon EMR releases, the 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.
See: newApplication
smart constructor.
Application' | |
|
Instances
newApplication :: Application Source #
Create a value of Application
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:args:Application'
, application_args
- Arguments for Amazon EMR to pass to the application.
$sel:additionalInfo:Application'
, application_additionalInfo
- This option is for advanced users only. This is meta information about
third-party applications that third-party vendors use for testing
purposes.
$sel:name:Application'
, application_name
- The name of the application.
$sel:version:Application'
, application_version
- The version of the application.
application_args :: Lens' Application (Maybe [Text]) Source #
Arguments for Amazon EMR to pass to the application.
application_additionalInfo :: Lens' Application (Maybe (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.
application_name :: Lens' Application (Maybe Text) Source #
The name of the application.
application_version :: Lens' Application (Maybe Text) Source #
The version of the application.
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: newAutoScalingPolicy
smart constructor.
AutoScalingPolicy' | |
|
Instances
Create a value of AutoScalingPolicy
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:constraints:AutoScalingPolicy'
, autoScalingPolicy_constraints
- 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.
$sel:rules:AutoScalingPolicy'
, autoScalingPolicy_rules
- The scale-in and scale-out rules that comprise the automatic scaling
policy.
autoScalingPolicy_constraints :: 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.
autoScalingPolicy_rules :: 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: newAutoScalingPolicyDescription
smart constructor.
AutoScalingPolicyDescription' | |
|
Instances
newAutoScalingPolicyDescription :: AutoScalingPolicyDescription Source #
Create a value of AutoScalingPolicyDescription
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:status:AutoScalingPolicyDescription'
, autoScalingPolicyDescription_status
- The status of an automatic scaling policy.
$sel:rules:AutoScalingPolicyDescription'
, autoScalingPolicyDescription_rules
- The scale-in and scale-out rules that comprise the automatic scaling
policy.
$sel:constraints:AutoScalingPolicyDescription'
, autoScalingPolicyDescription_constraints
- 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.
autoScalingPolicyDescription_status :: Lens' AutoScalingPolicyDescription (Maybe AutoScalingPolicyStatus) Source #
The status of an automatic scaling policy.
autoScalingPolicyDescription_rules :: Lens' AutoScalingPolicyDescription (Maybe [ScalingRule]) Source #
The scale-in and scale-out rules that comprise the automatic scaling policy.
autoScalingPolicyDescription_constraints :: 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: newAutoScalingPolicyStateChangeReason
smart constructor.
AutoScalingPolicyStateChangeReason' | |
|
Instances
newAutoScalingPolicyStateChangeReason :: AutoScalingPolicyStateChangeReason Source #
Create a value of AutoScalingPolicyStateChangeReason
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:code:AutoScalingPolicyStateChangeReason'
, autoScalingPolicyStateChangeReason_code
- 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 an error.
$sel:message:AutoScalingPolicyStateChangeReason'
, autoScalingPolicyStateChangeReason_message
- A friendly, more verbose message that accompanies an automatic scaling
policy state change.
autoScalingPolicyStateChangeReason_code :: 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 an error.
autoScalingPolicyStateChangeReason_message :: 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: newAutoScalingPolicyStatus
smart constructor.
AutoScalingPolicyStatus' | |
|
Instances
newAutoScalingPolicyStatus :: AutoScalingPolicyStatus Source #
Create a value of AutoScalingPolicyStatus
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:state:AutoScalingPolicyStatus'
, autoScalingPolicyStatus_state
- Indicates the status of the automatic scaling policy.
$sel:stateChangeReason:AutoScalingPolicyStatus'
, autoScalingPolicyStatus_stateChangeReason
- The reason for a change in status.
autoScalingPolicyStatus_state :: Lens' AutoScalingPolicyStatus (Maybe AutoScalingPolicyState) Source #
Indicates the status of the automatic scaling policy.
autoScalingPolicyStatus_stateChangeReason :: Lens' AutoScalingPolicyStatus (Maybe AutoScalingPolicyStateChangeReason) Source #
The reason for a change in status.
AutoTerminationPolicy
data AutoTerminationPolicy Source #
An auto-termination policy for an Amazon EMR cluster. An auto-termination policy defines the amount of idle time in seconds after which a cluster automatically terminates. For alternative cluster termination options, see Control cluster termination.
See: newAutoTerminationPolicy
smart constructor.
AutoTerminationPolicy' | |
|
Instances
newAutoTerminationPolicy :: AutoTerminationPolicy Source #
Create a value of AutoTerminationPolicy
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:idleTimeout:AutoTerminationPolicy'
, autoTerminationPolicy_idleTimeout
- Specifies the amount of idle time in seconds after which the cluster
automatically terminates. You can specify a minimum of 60 seconds and a
maximum of 604800 seconds (seven days).
autoTerminationPolicy_idleTimeout :: Lens' AutoTerminationPolicy (Maybe Integer) Source #
Specifies the amount of idle time in seconds after which the cluster automatically terminates. You can specify a minimum of 60 seconds and a maximum of 604800 seconds (seven days).
BlockPublicAccessConfiguration
data BlockPublicAccessConfiguration Source #
A configuration for Amazon EMR block public access. When
BlockPublicSecurityGroupRules
is set to true
, Amazon EMR prevents
cluster creation if one of the cluster's security groups has a rule
that allows inbound traffic from 0.0.0.0/0 or ::/0 on a port, unless
the port is specified as an exception using
PermittedPublicSecurityGroupRuleRanges
.
See: newBlockPublicAccessConfiguration
smart constructor.
BlockPublicAccessConfiguration' | |
|
Instances
newBlockPublicAccessConfiguration Source #
:: Bool |
|
-> BlockPublicAccessConfiguration |
Create a value of BlockPublicAccessConfiguration
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:permittedPublicSecurityGroupRuleRanges:BlockPublicAccessConfiguration'
, blockPublicAccessConfiguration_permittedPublicSecurityGroupRuleRanges
- Specifies ports and port ranges that are permitted to have security
group rules that allow inbound traffic from all public sources. For
example, if Port 23 (Telnet) is specified for
PermittedPublicSecurityGroupRuleRanges
, Amazon EMR allows cluster
creation if a security group associated with the cluster has a rule that
allows inbound traffic on Port 23 from IPv4 0.0.0.0/0 or IPv6 port
::/0 as the source.
By default, Port 22, which is used for SSH access to the cluster EC2
instances, is in the list of PermittedPublicSecurityGroupRuleRanges
.
$sel:blockPublicSecurityGroupRules:BlockPublicAccessConfiguration'
, blockPublicAccessConfiguration_blockPublicSecurityGroupRules
- Indicates whether Amazon EMR block public access is enabled (true
) or
disabled (false
). By default, the value is false
for accounts that
have created EMR clusters before July 2019. For accounts created after
this, the default is true
.
blockPublicAccessConfiguration_permittedPublicSecurityGroupRuleRanges :: Lens' BlockPublicAccessConfiguration (Maybe [PortRange]) Source #
Specifies ports and port ranges that are permitted to have security
group rules that allow inbound traffic from all public sources. For
example, if Port 23 (Telnet) is specified for
PermittedPublicSecurityGroupRuleRanges
, Amazon EMR allows cluster
creation if a security group associated with the cluster has a rule that
allows inbound traffic on Port 23 from IPv4 0.0.0.0/0 or IPv6 port
::/0 as the source.
By default, Port 22, which is used for SSH access to the cluster EC2
instances, is in the list of PermittedPublicSecurityGroupRuleRanges
.
blockPublicAccessConfiguration_blockPublicSecurityGroupRules :: Lens' BlockPublicAccessConfiguration Bool Source #
Indicates whether Amazon EMR block public access is enabled (true
) or
disabled (false
). By default, the value is false
for accounts that
have created EMR clusters before July 2019. For accounts created after
this, the default is true
.
BlockPublicAccessConfigurationMetadata
data BlockPublicAccessConfigurationMetadata Source #
Properties that describe the Amazon Web Services principal that created
the BlockPublicAccessConfiguration
using the
PutBlockPublicAccessConfiguration
action as well as the date and time
that the configuration was created. Each time a configuration for block
public access is updated, Amazon EMR updates this metadata.
See: newBlockPublicAccessConfigurationMetadata
smart constructor.
BlockPublicAccessConfigurationMetadata' | |
|
Instances
newBlockPublicAccessConfigurationMetadata Source #
:: UTCTime |
|
-> Text | |
-> BlockPublicAccessConfigurationMetadata |
Create a value of BlockPublicAccessConfigurationMetadata
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:creationDateTime:BlockPublicAccessConfigurationMetadata'
, blockPublicAccessConfigurationMetadata_creationDateTime
- The date and time that the configuration was created.
$sel:createdByArn:BlockPublicAccessConfigurationMetadata'
, blockPublicAccessConfigurationMetadata_createdByArn
- The Amazon Resource Name that created or last modified the
configuration.
blockPublicAccessConfigurationMetadata_creationDateTime :: Lens' BlockPublicAccessConfigurationMetadata UTCTime Source #
The date and time that the configuration was created.
blockPublicAccessConfigurationMetadata_createdByArn :: Lens' BlockPublicAccessConfigurationMetadata Text Source #
The Amazon Resource Name that created or last modified the configuration.
BootstrapActionConfig
data BootstrapActionConfig Source #
Configuration of a bootstrap action.
See: newBootstrapActionConfig
smart constructor.
BootstrapActionConfig' | |
|
Instances
newBootstrapActionConfig Source #
Create a value of BootstrapActionConfig
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:name:BootstrapActionConfig'
, bootstrapActionConfig_name
- The name of the bootstrap action.
$sel:scriptBootstrapAction:BootstrapActionConfig'
, bootstrapActionConfig_scriptBootstrapAction
- The script run by the bootstrap action.
bootstrapActionConfig_name :: Lens' BootstrapActionConfig Text Source #
The name of the bootstrap action.
bootstrapActionConfig_scriptBootstrapAction :: Lens' BootstrapActionConfig ScriptBootstrapActionConfig Source #
The script run by the bootstrap action.
CancelStepsInfo
data CancelStepsInfo Source #
Specification of the status of a CancelSteps request. Available only in Amazon EMR version 4.8.0 and later, excluding version 5.0.0.
See: newCancelStepsInfo
smart constructor.
Instances
newCancelStepsInfo :: CancelStepsInfo Source #
Create a value of CancelStepsInfo
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:status:CancelStepsInfo'
, cancelStepsInfo_status
- The status of a CancelSteps Request. The value may be SUBMITTED or
FAILED.
$sel:stepId:CancelStepsInfo'
, cancelStepsInfo_stepId
- The encrypted StepId of a step.
$sel:reason:CancelStepsInfo'
, cancelStepsInfo_reason
- The reason for the failure if the CancelSteps request fails.
cancelStepsInfo_status :: Lens' CancelStepsInfo (Maybe CancelStepsRequestStatus) Source #
The status of a CancelSteps Request. The value may be SUBMITTED or FAILED.
cancelStepsInfo_stepId :: Lens' CancelStepsInfo (Maybe Text) Source #
The encrypted StepId of a step.
cancelStepsInfo_reason :: Lens' CancelStepsInfo (Maybe Text) Source #
The reason for the failure if the CancelSteps request fails.
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: newCloudWatchAlarmDefinition
smart constructor.
CloudWatchAlarmDefinition' | |
|
Instances
newCloudWatchAlarmDefinition Source #
:: ComparisonOperator | |
-> Text | |
-> Int | |
-> Double | |
-> CloudWatchAlarmDefinition |
Create a value of CloudWatchAlarmDefinition
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:evaluationPeriods:CloudWatchAlarmDefinition'
, cloudWatchAlarmDefinition_evaluationPeriods
- The number of periods, in five-minute increments, during which the alarm
condition must exist before the alarm triggers automatic scaling
activity. The default value is 1
.
$sel:namespace:CloudWatchAlarmDefinition'
, cloudWatchAlarmDefinition_namespace
- The namespace for the CloudWatch metric. The default is
AWS/ElasticMapReduce
.
$sel:dimensions:CloudWatchAlarmDefinition'
, cloudWatchAlarmDefinition_dimensions
- A CloudWatch metric dimension.
$sel:unit:CloudWatchAlarmDefinition'
, cloudWatchAlarmDefinition_unit
- 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.
$sel:statistic:CloudWatchAlarmDefinition'
, cloudWatchAlarmDefinition_statistic
- The statistic to apply to the metric associated with the alarm. The
default is AVERAGE
.
$sel:comparisonOperator:CloudWatchAlarmDefinition'
, cloudWatchAlarmDefinition_comparisonOperator
- Determines how the metric specified by MetricName
is compared to the
value specified by Threshold
.
$sel:metricName:CloudWatchAlarmDefinition'
, cloudWatchAlarmDefinition_metricName
- The name of the CloudWatch metric that is watched to determine an alarm
condition.
$sel:period:CloudWatchAlarmDefinition'
, cloudWatchAlarmDefinition_period
- 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
.
$sel:threshold:CloudWatchAlarmDefinition'
, cloudWatchAlarmDefinition_threshold
- The value against which the specified statistic is compared.
cloudWatchAlarmDefinition_evaluationPeriods :: Lens' CloudWatchAlarmDefinition (Maybe Int) Source #
The number of periods, in five-minute increments, during which the alarm
condition must exist before the alarm triggers automatic scaling
activity. The default value is 1
.
cloudWatchAlarmDefinition_namespace :: Lens' CloudWatchAlarmDefinition (Maybe Text) Source #
The namespace for the CloudWatch metric. The default is
AWS/ElasticMapReduce
.
cloudWatchAlarmDefinition_dimensions :: Lens' CloudWatchAlarmDefinition (Maybe [MetricDimension]) Source #
A CloudWatch metric dimension.
cloudWatchAlarmDefinition_unit :: 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.
cloudWatchAlarmDefinition_statistic :: Lens' CloudWatchAlarmDefinition (Maybe Statistic) Source #
The statistic to apply to the metric associated with the alarm. The
default is AVERAGE
.
cloudWatchAlarmDefinition_comparisonOperator :: Lens' CloudWatchAlarmDefinition ComparisonOperator Source #
Determines how the metric specified by MetricName
is compared to the
value specified by Threshold
.
cloudWatchAlarmDefinition_metricName :: Lens' CloudWatchAlarmDefinition Text Source #
The name of the CloudWatch metric that is watched to determine an alarm condition.
cloudWatchAlarmDefinition_period :: 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
.
cloudWatchAlarmDefinition_threshold :: Lens' CloudWatchAlarmDefinition Double Source #
The value against which the specified statistic is compared.
Cluster
The detailed description of the cluster.
See: newCluster
smart constructor.
Cluster' | |
|
Instances
Create a value of Cluster
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:logEncryptionKmsKeyId:Cluster'
, cluster_logEncryptionKmsKeyId
- The KMS key used for encrypting log files. This attribute is only
available with EMR version 5.30.0 and later, excluding EMR 6.0.0.
$sel:clusterArn:Cluster'
, cluster_clusterArn
- The Amazon Resource Name of the cluster.
$sel:requestedAmiVersion:Cluster'
, cluster_requestedAmiVersion
- The AMI version requested for this cluster.
$sel:ebsRootVolumeSize:Cluster'
, cluster_ebsRootVolumeSize
- The size, in GiB, of the Amazon EBS root device volume of the Linux AMI
that is used for each EC2 instance. Available in Amazon EMR version 4.x
and later.
$sel:ec2InstanceAttributes:Cluster'
, cluster_ec2InstanceAttributes
- Provides information about the EC2 instances in a cluster grouped by
category. For example, key name, subnet ID, IAM instance profile, and so
on.
$sel:outpostArn:Cluster'
, cluster_outpostArn
- The Amazon Resource Name (ARN) of the Outpost where the cluster is
launched.
$sel:normalizedInstanceHours:Cluster'
, cluster_normalizedInstanceHours
- An approximation of the cost of the cluster, 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.
$sel:configurations:Cluster'
, cluster_configurations
- Applies only to Amazon EMR releases 4.x and later. The list of
Configurations supplied to the EMR cluster.
$sel:customAmiId:Cluster'
, cluster_customAmiId
- Available only in Amazon EMR version 5.7.0 and later. The ID of a custom
Amazon EBS-backed Linux AMI if the cluster uses a custom AMI.
$sel:autoScalingRole:Cluster'
, cluster_autoScalingRole
- 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.
$sel:securityConfiguration:Cluster'
, cluster_securityConfiguration
- The name of the security configuration applied to the cluster.
$sel:scaleDownBehavior:Cluster'
, cluster_scaleDownBehavior
- 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
adds nodes to a deny list 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.
$sel:instanceCollectionType:Cluster'
, cluster_instanceCollectionType
- The instance fleet configuration is available only in Amazon EMR
versions 4.8.0 and later, excluding 5.0.x versions.
The instance group configuration of the cluster. A value of
INSTANCE_GROUP
indicates a uniform instance group configuration. A
value of INSTANCE_FLEET
indicates an instance fleets configuration.
$sel:releaseLabel:Cluster'
, cluster_releaseLabel
- The Amazon EMR release label, which determines the version of
open-source application packages installed on the cluster. Release
labels are in the form emr-x.x.x
, where x.x.x is an Amazon EMR release
version such as emr-5.14.0
. For more information about Amazon EMR
release versions and included application versions and features, see
https://docs.aws.amazon.com/emr/latest/ReleaseGuide/. The release
label applies only to Amazon EMR releases version 4.0 and later. Earlier
versions use AmiVersion
.
$sel:repoUpgradeOnBoot:Cluster'
, cluster_repoUpgradeOnBoot
- Applies only when CustomAmiID
is used. Specifies the type of updates
that are applied from the Amazon Linux AMI package repositories when an
instance boots using the AMI.
$sel:logUri:Cluster'
, cluster_logUri
- The path to the Amazon S3 location where logs for this cluster are
stored.
$sel:kerberosAttributes:Cluster'
, cluster_kerberosAttributes
- Attributes for Kerberos configuration when Kerberos authentication is
enabled using a security configuration. For more information see
Use Kerberos Authentication
in the Amazon EMR Management Guide.
$sel:placementGroups:Cluster'
, cluster_placementGroups
- Placement group configured for an Amazon EMR cluster.
$sel:runningAmiVersion:Cluster'
, cluster_runningAmiVersion
- The AMI version running on this cluster.
$sel:masterPublicDnsName:Cluster'
, cluster_masterPublicDnsName
- The DNS name of the master node. If the cluster is on a private subnet,
this is the private DNS name. On a public subnet, this is the public DNS
name.
$sel:terminationProtected:Cluster'
, cluster_terminationProtected
- 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.
$sel:visibleToAllUsers:Cluster'
, cluster_visibleToAllUsers
- Indicates whether the cluster is visible to IAM principals in the Amazon
Web Services account associated with the cluster. When true
, IAM
principals in the Amazon Web Services account can perform EMR cluster
actions on the cluster that their IAM policies allow. When false
, only
the IAM principal that created the cluster and the Amazon Web Services
account root user can perform EMR actions, regardless of IAM permissions
policies attached to other IAM principals.
The default value is true
if a value is not provided when creating a
cluster using the EMR API RunJobFlow command, the CLI
create-cluster
command, or the Amazon Web Services Management Console. IAM principals
that are allowed to perform actions on the cluster can use the
SetVisibleToAllUsers action to change the value on a running cluster.
For more information, see
Understanding the EMR Cluster VisibleToAllUsers Setting
in the Amazon EMRManagement Guide.
$sel:autoTerminate:Cluster'
, cluster_autoTerminate
- Specifies whether the cluster should terminate after completing all
steps.
$sel:stepConcurrencyLevel:Cluster'
, cluster_stepConcurrencyLevel
- Specifies the number of steps that can be executed concurrently.
$sel:applications:Cluster'
, cluster_applications
- The applications installed on this cluster.
$sel:tags:Cluster'
, cluster_tags
- A list of tags associated with a cluster.
$sel:serviceRole:Cluster'
, cluster_serviceRole
- The IAM role that Amazon EMR assumes in order to access Amazon Web
Services resources on your behalf.
$sel:id:Cluster'
, cluster_id
- The unique identifier for the cluster.
$sel:name:Cluster'
, cluster_name
- The name of the cluster.
$sel:status:Cluster'
, cluster_status
- The current status details about the cluster.
cluster_logEncryptionKmsKeyId :: Lens' Cluster (Maybe Text) Source #
The KMS key used for encrypting log files. This attribute is only available with EMR version 5.30.0 and later, excluding EMR 6.0.0.
cluster_requestedAmiVersion :: Lens' Cluster (Maybe Text) Source #
The AMI version requested for this cluster.
cluster_ebsRootVolumeSize :: Lens' Cluster (Maybe Int) Source #
The size, in GiB, of the Amazon EBS root device volume of the Linux AMI that is used for each EC2 instance. Available in Amazon EMR version 4.x and later.
cluster_ec2InstanceAttributes :: 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.
cluster_outpostArn :: Lens' Cluster (Maybe Text) Source #
The Amazon Resource Name (ARN) of the Outpost where the cluster is launched.
cluster_normalizedInstanceHours :: Lens' Cluster (Maybe Int) Source #
An approximation of the cost of the cluster, 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.
cluster_configurations :: Lens' Cluster (Maybe [Configuration]) Source #
Applies only to Amazon EMR releases 4.x and later. The list of Configurations supplied to the EMR cluster.
cluster_customAmiId :: Lens' Cluster (Maybe Text) Source #
Available only in Amazon EMR version 5.7.0 and later. The ID of a custom Amazon EBS-backed Linux AMI if the cluster uses a custom AMI.
cluster_autoScalingRole :: 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.
cluster_securityConfiguration :: Lens' Cluster (Maybe Text) Source #
The name of the security configuration applied to the cluster.
cluster_scaleDownBehavior :: 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
adds nodes to a deny list 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.
cluster_instanceCollectionType :: Lens' Cluster (Maybe InstanceCollectionType) Source #
The instance fleet configuration is available only in Amazon EMR versions 4.8.0 and later, excluding 5.0.x versions.
The instance group configuration of the cluster. A value of
INSTANCE_GROUP
indicates a uniform instance group configuration. A
value of INSTANCE_FLEET
indicates an instance fleets configuration.
cluster_releaseLabel :: Lens' Cluster (Maybe Text) Source #
The Amazon EMR release label, which determines the version of
open-source application packages installed on the cluster. Release
labels are in the form emr-x.x.x
, where x.x.x is an Amazon EMR release
version such as emr-5.14.0
. For more information about Amazon EMR
release versions and included application versions and features, see
https://docs.aws.amazon.com/emr/latest/ReleaseGuide/. The release
label applies only to Amazon EMR releases version 4.0 and later. Earlier
versions use AmiVersion
.
cluster_repoUpgradeOnBoot :: Lens' Cluster (Maybe RepoUpgradeOnBoot) Source #
Applies only when CustomAmiID
is used. Specifies the type of updates
that are applied from the Amazon Linux AMI package repositories when an
instance boots using the AMI.
cluster_logUri :: Lens' Cluster (Maybe Text) Source #
The path to the Amazon S3 location where logs for this cluster are stored.
cluster_kerberosAttributes :: Lens' Cluster (Maybe KerberosAttributes) Source #
Attributes for Kerberos configuration when Kerberos authentication is enabled using a security configuration. For more information see Use Kerberos Authentication in the Amazon EMR Management Guide.
cluster_placementGroups :: Lens' Cluster (Maybe [PlacementGroupConfig]) Source #
Placement group configured for an Amazon EMR cluster.
cluster_runningAmiVersion :: Lens' Cluster (Maybe Text) Source #
The AMI version running on this cluster.
cluster_masterPublicDnsName :: Lens' Cluster (Maybe Text) Source #
The DNS name of the master node. If the cluster is on a private subnet, this is the private DNS name. On a public subnet, this is the public DNS name.
cluster_terminationProtected :: 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.
cluster_visibleToAllUsers :: Lens' Cluster (Maybe Bool) Source #
Indicates whether the cluster is visible to IAM principals in the Amazon
Web Services account associated with the cluster. When true
, IAM
principals in the Amazon Web Services account can perform EMR cluster
actions on the cluster that their IAM policies allow. When false
, only
the IAM principal that created the cluster and the Amazon Web Services
account root user can perform EMR actions, regardless of IAM permissions
policies attached to other IAM principals.
The default value is true
if a value is not provided when creating a
cluster using the EMR API RunJobFlow command, the CLI
create-cluster
command, or the Amazon Web Services Management Console. IAM principals
that are allowed to perform actions on the cluster can use the
SetVisibleToAllUsers action to change the value on a running cluster.
For more information, see
Understanding the EMR Cluster VisibleToAllUsers Setting
in the Amazon EMRManagement Guide.
cluster_autoTerminate :: Lens' Cluster (Maybe Bool) Source #
Specifies whether the cluster should terminate after completing all steps.
cluster_stepConcurrencyLevel :: Lens' Cluster (Maybe Int) Source #
Specifies the number of steps that can be executed concurrently.
cluster_applications :: Lens' Cluster (Maybe [Application]) Source #
The applications installed on this cluster.
cluster_serviceRole :: Lens' Cluster (Maybe Text) Source #
The IAM role that Amazon EMR assumes in order to access Amazon Web Services resources on your behalf.
cluster_status :: Lens' Cluster ClusterStatus Source #
The current status details about the cluster.
ClusterStateChangeReason
data ClusterStateChangeReason Source #
The reason that the cluster changed to its current state.
See: newClusterStateChangeReason
smart constructor.
Instances
newClusterStateChangeReason :: ClusterStateChangeReason Source #
Create a value of ClusterStateChangeReason
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:code:ClusterStateChangeReason'
, clusterStateChangeReason_code
- The programmatic code for the state change reason.
$sel:message:ClusterStateChangeReason'
, clusterStateChangeReason_message
- The descriptive message for the state change reason.
clusterStateChangeReason_code :: Lens' ClusterStateChangeReason (Maybe ClusterStateChangeReasonCode) Source #
The programmatic code for the state change reason.
clusterStateChangeReason_message :: Lens' ClusterStateChangeReason (Maybe Text) Source #
The descriptive message for the state change reason.
ClusterStatus
data ClusterStatus Source #
The detailed status of the cluster.
See: newClusterStatus
smart constructor.
ClusterStatus' | |
|
Instances
newClusterStatus :: ClusterStatus Source #
Create a value of ClusterStatus
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:state:ClusterStatus'
, clusterStatus_state
- The current state of the cluster.
$sel:stateChangeReason:ClusterStatus'
, clusterStatus_stateChangeReason
- The reason for the cluster status change.
$sel:timeline:ClusterStatus'
, clusterStatus_timeline
- A timeline that represents the status of a cluster over the lifetime of
the cluster.
clusterStatus_state :: Lens' ClusterStatus (Maybe ClusterState) Source #
The current state of the cluster.
clusterStatus_stateChangeReason :: Lens' ClusterStatus (Maybe ClusterStateChangeReason) Source #
The reason for the cluster status change.
clusterStatus_timeline :: 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: newClusterSummary
smart constructor.
ClusterSummary' | |
|
Instances
newClusterSummary :: ClusterSummary Source #
Create a value of ClusterSummary
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:status:ClusterSummary'
, clusterSummary_status
- The details about the current status of the cluster.
$sel:clusterArn:ClusterSummary'
, clusterSummary_clusterArn
- The Amazon Resource Name of the cluster.
$sel:outpostArn:ClusterSummary'
, clusterSummary_outpostArn
- The Amazon Resource Name (ARN) of the Outpost where the cluster is
launched.
$sel:normalizedInstanceHours:ClusterSummary'
, clusterSummary_normalizedInstanceHours
- An approximation of the cost of the cluster, 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.
$sel:name:ClusterSummary'
, clusterSummary_name
- The name of the cluster.
$sel:id:ClusterSummary'
, clusterSummary_id
- The unique identifier for the cluster.
clusterSummary_status :: Lens' ClusterSummary (Maybe ClusterStatus) Source #
The details about the current status of the cluster.
clusterSummary_clusterArn :: Lens' ClusterSummary (Maybe Text) Source #
The Amazon Resource Name of the cluster.
clusterSummary_outpostArn :: Lens' ClusterSummary (Maybe Text) Source #
The Amazon Resource Name (ARN) of the Outpost where the cluster is launched.
clusterSummary_normalizedInstanceHours :: Lens' ClusterSummary (Maybe Int) Source #
An approximation of the cost of the cluster, 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.
clusterSummary_name :: Lens' ClusterSummary (Maybe Text) Source #
The name of the cluster.
clusterSummary_id :: Lens' ClusterSummary (Maybe Text) Source #
The unique identifier for the cluster.
ClusterTimeline
data ClusterTimeline Source #
Represents the timeline of the cluster's lifecycle.
See: newClusterTimeline
smart constructor.
ClusterTimeline' | |
|
Instances
newClusterTimeline :: ClusterTimeline Source #
Create a value of ClusterTimeline
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:readyDateTime:ClusterTimeline'
, clusterTimeline_readyDateTime
- The date and time when the cluster was ready to run steps.
$sel:creationDateTime:ClusterTimeline'
, clusterTimeline_creationDateTime
- The creation date and time of the cluster.
$sel:endDateTime:ClusterTimeline'
, clusterTimeline_endDateTime
- The date and time when the cluster was terminated.
clusterTimeline_readyDateTime :: Lens' ClusterTimeline (Maybe UTCTime) Source #
The date and time when the cluster was ready to run steps.
clusterTimeline_creationDateTime :: Lens' ClusterTimeline (Maybe UTCTime) Source #
The creation date and time of the cluster.
clusterTimeline_endDateTime :: 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: newCommand
smart constructor.
Instances
Eq Command Source # | |
Read Command Source # | |
Show Command Source # | |
Generic Command Source # | |
NFData Command Source # | |
Defined in Amazonka.EMR.Types.Command | |
Hashable Command Source # | |
Defined in Amazonka.EMR.Types.Command | |
FromJSON Command Source # | |
type Rep Command Source # | |
Defined in Amazonka.EMR.Types.Command type Rep Command = D1 ('MetaData "Command" "Amazonka.EMR.Types.Command" "libZSservicesZSamazonka-emrZSamazonka-emr" 'False) (C1 ('MetaCons "Command'" 'PrefixI 'True) (S1 ('MetaSel ('Just "args") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: (S1 ('MetaSel ('Just "scriptPath") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))) |
newCommand :: Command Source #
Create a value of Command
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:args:Command'
, command_args
- Arguments for Amazon EMR to pass to the command for execution.
$sel:scriptPath:Command'
, command_scriptPath
- The Amazon S3 location of the command script.
$sel:name:Command'
, command_name
- The name of the command.
command_args :: Lens' Command (Maybe [Text]) Source #
Arguments for Amazon EMR to pass to the command for execution.
command_scriptPath :: Lens' Command (Maybe Text) Source #
The Amazon S3 location of the command script.
ComputeLimits
data ComputeLimits Source #
The EC2 unit limits for a managed scaling policy. The managed scaling activity of a cluster can not be above or below these limits. The limit only applies to the core and task nodes. The master node cannot be scaled after initial configuration.
See: newComputeLimits
smart constructor.
ComputeLimits' | |
|
Instances
:: ComputeLimitsUnitType | |
-> Int | |
-> Int | |
-> ComputeLimits |
Create a value of ComputeLimits
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:maximumOnDemandCapacityUnits:ComputeLimits'
, computeLimits_maximumOnDemandCapacityUnits
- The upper boundary of On-Demand EC2 units. It is measured through vCPU
cores or instances for instance groups and measured through units for
instance fleets. The On-Demand units are not allowed to scale beyond
this boundary. The parameter is used to split capacity allocation
between On-Demand and Spot Instances.
$sel:maximumCoreCapacityUnits:ComputeLimits'
, computeLimits_maximumCoreCapacityUnits
- The upper boundary of EC2 units for core node type in a cluster. It is
measured through vCPU cores or instances for instance groups and
measured through units for instance fleets. The core units are not
allowed to scale beyond this boundary. The parameter is used to split
capacity allocation between core and task nodes.
$sel:unitType:ComputeLimits'
, computeLimits_unitType
- The unit type used for specifying a managed scaling policy.
$sel:minimumCapacityUnits:ComputeLimits'
, computeLimits_minimumCapacityUnits
- The lower boundary of EC2 units. It is measured through vCPU cores or
instances for instance groups and measured through units for instance
fleets. Managed scaling activities are not allowed beyond this boundary.
The limit only applies to the core and task nodes. The master node
cannot be scaled after initial configuration.
$sel:maximumCapacityUnits:ComputeLimits'
, computeLimits_maximumCapacityUnits
- The upper boundary of EC2 units. It is measured through vCPU cores or
instances for instance groups and measured through units for instance
fleets. Managed scaling activities are not allowed beyond this boundary.
The limit only applies to the core and task nodes. The master node
cannot be scaled after initial configuration.
computeLimits_maximumOnDemandCapacityUnits :: Lens' ComputeLimits (Maybe Int) Source #
The upper boundary of On-Demand EC2 units. It is measured through vCPU cores or instances for instance groups and measured through units for instance fleets. The On-Demand units are not allowed to scale beyond this boundary. The parameter is used to split capacity allocation between On-Demand and Spot Instances.
computeLimits_maximumCoreCapacityUnits :: Lens' ComputeLimits (Maybe Int) Source #
The upper boundary of EC2 units for core node type in a cluster. It is measured through vCPU cores or instances for instance groups and measured through units for instance fleets. The core units are not allowed to scale beyond this boundary. The parameter is used to split capacity allocation between core and task nodes.
computeLimits_unitType :: Lens' ComputeLimits ComputeLimitsUnitType Source #
The unit type used for specifying a managed scaling policy.
computeLimits_minimumCapacityUnits :: Lens' ComputeLimits Int Source #
The lower boundary of EC2 units. It is measured through vCPU cores or instances for instance groups and measured through units for instance fleets. Managed scaling activities are not allowed beyond this boundary. The limit only applies to the core and task nodes. The master node cannot be scaled after initial configuration.
computeLimits_maximumCapacityUnits :: Lens' ComputeLimits Int Source #
The upper boundary of EC2 units. It is measured through vCPU cores or instances for instance groups and measured through units for instance fleets. Managed scaling activities are not allowed beyond this boundary. The limit only applies to the core and task nodes. The master node cannot be scaled after initial configuration.
Configuration
data Configuration Source #
Amazon EMR releases 4.x or later.
An optional configuration specification to be used when provisioning cluster instances, which can include configurations for applications and software bundled with Amazon EMR. A configuration consists of a classification, properties, and optional nested configurations. A classification refers to an application-specific configuration file. Properties are the settings you want to change in that file. For more information, see Configuring Applications.
See: newConfiguration
smart constructor.
Configuration' | |
|
Instances
newConfiguration :: Configuration Source #
Create a value of Configuration
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:configurations:Configuration'
, configuration_configurations
- A list of additional configurations to apply within a configuration
object.
$sel:classification:Configuration'
, configuration_classification
- The classification within a configuration.
$sel:properties:Configuration'
, configuration_properties
- A set of properties specified within a configuration classification.
configuration_configurations :: Lens' Configuration (Maybe [Configuration]) Source #
A list of additional configurations to apply within a configuration object.
configuration_classification :: Lens' Configuration (Maybe Text) Source #
The classification within a configuration.
configuration_properties :: Lens' Configuration (Maybe (HashMap Text Text)) Source #
A set of properties specified within a configuration classification.
EbsBlockDevice
data EbsBlockDevice Source #
Configuration of requested EBS block device associated with the instance group.
See: newEbsBlockDevice
smart constructor.
EbsBlockDevice' | |
|
Instances
newEbsBlockDevice :: EbsBlockDevice Source #
Create a value of EbsBlockDevice
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:device:EbsBlockDevice'
, ebsBlockDevice_device
- The device name that is exposed to the instance, such as /dev/sdh.
$sel:volumeSpecification:EbsBlockDevice'
, ebsBlockDevice_volumeSpecification
- 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.
ebsBlockDevice_device :: Lens' EbsBlockDevice (Maybe Text) Source #
The device name that is exposed to the instance, such as /dev/sdh.
ebsBlockDevice_volumeSpecification :: 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: newEbsBlockDeviceConfig
smart constructor.
EbsBlockDeviceConfig' | |
|
Instances
newEbsBlockDeviceConfig Source #
Create a value of EbsBlockDeviceConfig
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:volumesPerInstance:EbsBlockDeviceConfig'
, ebsBlockDeviceConfig_volumesPerInstance
- Number of EBS volumes with a specific volume configuration that will be
associated with every instance in the instance group
$sel:volumeSpecification:EbsBlockDeviceConfig'
, ebsBlockDeviceConfig_volumeSpecification
- 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_volumesPerInstance :: 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
ebsBlockDeviceConfig_volumeSpecification :: 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: newEbsConfiguration
smart constructor.
EbsConfiguration' | |
|
Instances
newEbsConfiguration :: EbsConfiguration Source #
Create a value of EbsConfiguration
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:ebsOptimized:EbsConfiguration'
, ebsConfiguration_ebsOptimized
- Indicates whether an Amazon EBS volume is EBS-optimized.
$sel:ebsBlockDeviceConfigs:EbsConfiguration'
, ebsConfiguration_ebsBlockDeviceConfigs
- An array of Amazon EBS volume specifications attached to a cluster
instance.
ebsConfiguration_ebsOptimized :: Lens' EbsConfiguration (Maybe Bool) Source #
Indicates whether an Amazon EBS volume is EBS-optimized.
ebsConfiguration_ebsBlockDeviceConfigs :: Lens' EbsConfiguration (Maybe [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: newEbsVolume
smart constructor.
Instances
Eq EbsVolume Source # | |
Read EbsVolume Source # | |
Show EbsVolume Source # | |
Generic EbsVolume Source # | |
NFData EbsVolume Source # | |
Defined in Amazonka.EMR.Types.EbsVolume | |
Hashable EbsVolume Source # | |
Defined in Amazonka.EMR.Types.EbsVolume | |
FromJSON EbsVolume Source # | |
type Rep EbsVolume Source # | |
Defined in Amazonka.EMR.Types.EbsVolume type Rep EbsVolume = D1 ('MetaData "EbsVolume" "Amazonka.EMR.Types.EbsVolume" "libZSservicesZSamazonka-emrZSamazonka-emr" 'False) (C1 ('MetaCons "EbsVolume'" 'PrefixI 'True) (S1 ('MetaSel ('Just "device") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "volumeId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) |
newEbsVolume :: EbsVolume Source #
Create a value of EbsVolume
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:device:EbsVolume'
, ebsVolume_device
- The device name that is exposed to the instance, such as /dev/sdh.
$sel:volumeId:EbsVolume'
, ebsVolume_volumeId
- The volume identifier of the EBS volume.
ebsVolume_device :: Lens' EbsVolume (Maybe Text) Source #
The device name that is exposed to the instance, such as /dev/sdh.
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: newEc2InstanceAttributes
smart constructor.
Ec2InstanceAttributes' | |
|
Instances
newEc2InstanceAttributes :: Ec2InstanceAttributes Source #
Create a value of Ec2InstanceAttributes
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:ec2KeyName:Ec2InstanceAttributes'
, ec2InstanceAttributes_ec2KeyName
- The name of the Amazon EC2 key pair to use when connecting with SSH into
the master node as a user named "hadoop".
$sel:emrManagedSlaveSecurityGroup:Ec2InstanceAttributes'
, ec2InstanceAttributes_emrManagedSlaveSecurityGroup
- The identifier of the Amazon EC2 security group for the core and task
nodes.
$sel:additionalSlaveSecurityGroups:Ec2InstanceAttributes'
, ec2InstanceAttributes_additionalSlaveSecurityGroups
- A list of additional Amazon EC2 security group IDs for the core and task
nodes.
$sel:requestedEc2SubnetIds:Ec2InstanceAttributes'
, ec2InstanceAttributes_requestedEc2SubnetIds
- Applies to clusters configured with the instance fleets option.
Specifies the unique identifier of one or more Amazon EC2 subnets in
which to launch EC2 cluster instances. Subnets must exist within the
same VPC. Amazon EMR chooses the EC2 subnet with the best fit from among
the list of RequestedEc2SubnetIds
, and then launches all cluster
instances within that Subnet. If this value is not specified, and the
account and Region support EC2-Classic networks, the cluster launches
instances in the EC2-Classic network and uses
RequestedEc2AvailabilityZones
instead of this setting. If EC2-Classic
is not supported, and no Subnet is specified, Amazon EMR chooses the
subnet for you. RequestedEc2SubnetIDs
and
RequestedEc2AvailabilityZones
cannot be specified together.
$sel:additionalMasterSecurityGroups:Ec2InstanceAttributes'
, ec2InstanceAttributes_additionalMasterSecurityGroups
- A list of additional Amazon EC2 security group IDs for the master node.
$sel:iamInstanceProfile:Ec2InstanceAttributes'
, ec2InstanceAttributes_iamInstanceProfile
- The IAM role that was specified when the cluster was launched. The EC2
instances of the cluster assume this role.
$sel:emrManagedMasterSecurityGroup:Ec2InstanceAttributes'
, ec2InstanceAttributes_emrManagedMasterSecurityGroup
- The identifier of the Amazon EC2 security group for the master node.
$sel:ec2SubnetId:Ec2InstanceAttributes'
, ec2InstanceAttributes_ec2SubnetId
- Set this parameter to the identifier of the Amazon VPC subnet where you
want the cluster to launch. If you do not specify this value, and your
account supports EC2-Classic, the cluster launches in EC2-Classic.
$sel:requestedEc2AvailabilityZones:Ec2InstanceAttributes'
, ec2InstanceAttributes_requestedEc2AvailabilityZones
- Applies to clusters configured with the instance fleets option.
Specifies one or more Availability Zones in which to launch EC2 cluster
instances when the EC2-Classic network configuration is supported.
Amazon EMR chooses the Availability Zone with the best fit from among
the list of RequestedEc2AvailabilityZones
, and then launches all
cluster instances within that Availability Zone. If you do not specify
this value, Amazon EMR chooses the Availability Zone for you.
RequestedEc2SubnetIDs
and RequestedEc2AvailabilityZones
cannot be
specified together.
$sel:serviceAccessSecurityGroup:Ec2InstanceAttributes'
, ec2InstanceAttributes_serviceAccessSecurityGroup
- The identifier of the Amazon EC2 security group for the Amazon EMR
service to access clusters in VPC private subnets.
$sel:ec2AvailabilityZone:Ec2InstanceAttributes'
, ec2InstanceAttributes_ec2AvailabilityZone
- The Availability Zone in which the cluster will run.
ec2InstanceAttributes_ec2KeyName :: 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".
ec2InstanceAttributes_emrManagedSlaveSecurityGroup :: Lens' Ec2InstanceAttributes (Maybe Text) Source #
The identifier of the Amazon EC2 security group for the core and task nodes.
ec2InstanceAttributes_additionalSlaveSecurityGroups :: Lens' Ec2InstanceAttributes (Maybe [Text]) Source #
A list of additional Amazon EC2 security group IDs for the core and task nodes.
ec2InstanceAttributes_requestedEc2SubnetIds :: Lens' Ec2InstanceAttributes (Maybe [Text]) Source #
Applies to clusters configured with the instance fleets option.
Specifies the unique identifier of one or more Amazon EC2 subnets in
which to launch EC2 cluster instances. Subnets must exist within the
same VPC. Amazon EMR chooses the EC2 subnet with the best fit from among
the list of RequestedEc2SubnetIds
, and then launches all cluster
instances within that Subnet. If this value is not specified, and the
account and Region support EC2-Classic networks, the cluster launches
instances in the EC2-Classic network and uses
RequestedEc2AvailabilityZones
instead of this setting. If EC2-Classic
is not supported, and no Subnet is specified, Amazon EMR chooses the
subnet for you. RequestedEc2SubnetIDs
and
RequestedEc2AvailabilityZones
cannot be specified together.
ec2InstanceAttributes_additionalMasterSecurityGroups :: Lens' Ec2InstanceAttributes (Maybe [Text]) Source #
A list of additional Amazon EC2 security group IDs for the master node.
ec2InstanceAttributes_iamInstanceProfile :: Lens' Ec2InstanceAttributes (Maybe Text) Source #
The IAM role that was specified when the cluster was launched. The EC2 instances of the cluster assume this role.
ec2InstanceAttributes_emrManagedMasterSecurityGroup :: Lens' Ec2InstanceAttributes (Maybe Text) Source #
The identifier of the Amazon EC2 security group for the master node.
ec2InstanceAttributes_ec2SubnetId :: Lens' Ec2InstanceAttributes (Maybe Text) Source #
Set this parameter to the identifier of the Amazon VPC subnet where you want the cluster to launch. If you do not specify this value, and your account supports EC2-Classic, the cluster launches in EC2-Classic.
ec2InstanceAttributes_requestedEc2AvailabilityZones :: Lens' Ec2InstanceAttributes (Maybe [Text]) Source #
Applies to clusters configured with the instance fleets option.
Specifies one or more Availability Zones in which to launch EC2 cluster
instances when the EC2-Classic network configuration is supported.
Amazon EMR chooses the Availability Zone with the best fit from among
the list of RequestedEc2AvailabilityZones
, and then launches all
cluster instances within that Availability Zone. If you do not specify
this value, Amazon EMR chooses the Availability Zone for you.
RequestedEc2SubnetIDs
and RequestedEc2AvailabilityZones
cannot be
specified together.
ec2InstanceAttributes_serviceAccessSecurityGroup :: 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.
ec2InstanceAttributes_ec2AvailabilityZone :: Lens' Ec2InstanceAttributes (Maybe Text) Source #
The Availability Zone in which the cluster will run.
ExecutionEngineConfig
data ExecutionEngineConfig Source #
Specifies the execution engine (cluster) to run the notebook and perform the notebook execution, for example, an EMR cluster.
See: newExecutionEngineConfig
smart constructor.
ExecutionEngineConfig' | |
|
Instances
newExecutionEngineConfig Source #
Create a value of ExecutionEngineConfig
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:masterInstanceSecurityGroupId:ExecutionEngineConfig'
, executionEngineConfig_masterInstanceSecurityGroupId
- An optional unique ID of an EC2 security group to associate with the
master instance of the EMR cluster for this notebook execution. For more
information see
Specifying EC2 Security Groups for EMR Notebooks
in the EMR Management Guide.
$sel:type':ExecutionEngineConfig'
, executionEngineConfig_type
- The type of execution engine. A value of EMR
specifies an EMR cluster.
$sel:id:ExecutionEngineConfig'
, executionEngineConfig_id
- The unique identifier of the execution engine. For an EMR cluster, this
is the cluster ID.
executionEngineConfig_masterInstanceSecurityGroupId :: Lens' ExecutionEngineConfig (Maybe Text) Source #
An optional unique ID of an EC2 security group to associate with the master instance of the EMR cluster for this notebook execution. For more information see Specifying EC2 Security Groups for EMR Notebooks in the EMR Management Guide.
executionEngineConfig_type :: Lens' ExecutionEngineConfig (Maybe ExecutionEngineType) Source #
The type of execution engine. A value of EMR
specifies an EMR cluster.
executionEngineConfig_id :: Lens' ExecutionEngineConfig Text Source #
The unique identifier of the execution engine. For an EMR cluster, this is the cluster ID.
FailureDetails
data FailureDetails Source #
The details of the step failure. The service attempts to detect the root cause for many common failures.
See: newFailureDetails
smart constructor.
FailureDetails' | |
|
Instances
newFailureDetails :: FailureDetails Source #
Create a value of FailureDetails
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:logFile:FailureDetails'
, failureDetails_logFile
- The path to the log file where the step failure root cause was
originally recorded.
$sel:reason:FailureDetails'
, failureDetails_reason
- 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.
$sel:message:FailureDetails'
, failureDetails_message
- The descriptive message including the error the Amazon 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.
failureDetails_logFile :: Lens' FailureDetails (Maybe Text) Source #
The path to the log file where the step failure root cause was originally recorded.
failureDetails_reason :: 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.
failureDetails_message :: Lens' FailureDetails (Maybe Text) Source #
The descriptive message including the error the Amazon 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: newHadoopJarStepConfig
smart constructor.
HadoopJarStepConfig' | |
|
Instances
newHadoopJarStepConfig Source #
Create a value of HadoopJarStepConfig
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:args:HadoopJarStepConfig'
, hadoopJarStepConfig_args
- A list of command line arguments passed to the JAR file's main function
when executed.
$sel:mainClass:HadoopJarStepConfig'
, hadoopJarStepConfig_mainClass
- 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.
$sel:properties:HadoopJarStepConfig'
, hadoopJarStepConfig_properties
- 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.
$sel:jar:HadoopJarStepConfig'
, hadoopJarStepConfig_jar
- A path to a JAR file run during the step.
hadoopJarStepConfig_args :: Lens' HadoopJarStepConfig (Maybe [Text]) Source #
A list of command line arguments passed to the JAR file's main function when executed.
hadoopJarStepConfig_mainClass :: 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.
hadoopJarStepConfig_properties :: Lens' HadoopJarStepConfig (Maybe [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.
hadoopJarStepConfig_jar :: Lens' HadoopJarStepConfig Text Source #
A path to a JAR file run during the step.
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: newHadoopStepConfig
smart constructor.
HadoopStepConfig' | |
|
Instances
newHadoopStepConfig :: HadoopStepConfig Source #
Create a value of HadoopStepConfig
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:args:HadoopStepConfig'
, hadoopStepConfig_args
- The list of command line arguments to pass to the JAR file's main
function for execution.
$sel:jar:HadoopStepConfig'
, hadoopStepConfig_jar
- The path to the JAR file that runs during the step.
$sel:mainClass:HadoopStepConfig'
, hadoopStepConfig_mainClass
- 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.
$sel:properties:HadoopStepConfig'
, hadoopStepConfig_properties
- 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.
hadoopStepConfig_args :: Lens' HadoopStepConfig (Maybe [Text]) Source #
The list of command line arguments to pass to the JAR file's main function for execution.
hadoopStepConfig_jar :: Lens' HadoopStepConfig (Maybe Text) Source #
The path to the JAR file that runs during the step.
hadoopStepConfig_mainClass :: 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.
hadoopStepConfig_properties :: Lens' HadoopStepConfig (Maybe (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: newInstance
smart constructor.
Instance' | |
|
Instances
newInstance :: Instance Source #
Create a value of Instance
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:status:Instance'
, instance_status
- The current status of the instance.
$sel:publicDnsName:Instance'
, instance_publicDnsName
- The public DNS name of the instance.
$sel:ebsVolumes:Instance'
, instance_ebsVolumes
- The list of Amazon EBS volumes that are attached to this instance.
$sel:ec2InstanceId:Instance'
, instance_ec2InstanceId
- The unique identifier of the instance in Amazon EC2.
$sel:instanceType:Instance'
, instance_instanceType
- The EC2 instance type, for example m3.xlarge
.
$sel:market:Instance'
, instance_market
- The instance purchasing option. Valid values are ON_DEMAND
or SPOT
.
$sel:privateIpAddress:Instance'
, instance_privateIpAddress
- The private IP address of the instance.
$sel:instanceFleetId:Instance'
, instance_instanceFleetId
- The unique identifier of the instance fleet to which an EC2 instance
belongs.
$sel:id:Instance'
, instance_id
- The unique identifier for the instance in Amazon EMR.
$sel:instanceGroupId:Instance'
, instance_instanceGroupId
- The identifier of the instance group to which this instance belongs.
$sel:privateDnsName:Instance'
, instance_privateDnsName
- The private DNS name of the instance.
$sel:publicIpAddress:Instance'
, instance_publicIpAddress
- The public IP address of the instance.
instance_status :: Lens' Instance (Maybe InstanceStatus) Source #
The current status of the instance.
instance_ebsVolumes :: Lens' Instance (Maybe [EbsVolume]) Source #
The list of Amazon EBS volumes that are attached to this instance.
instance_ec2InstanceId :: Lens' Instance (Maybe Text) Source #
The unique identifier of the instance in Amazon EC2.
instance_instanceType :: Lens' Instance (Maybe Text) Source #
The EC2 instance type, for example m3.xlarge
.
instance_market :: Lens' Instance (Maybe MarketType) Source #
The instance purchasing option. Valid values are ON_DEMAND
or SPOT
.
instance_privateIpAddress :: Lens' Instance (Maybe Text) Source #
The private IP address of the instance.
instance_instanceFleetId :: Lens' Instance (Maybe Text) Source #
The unique identifier of the instance fleet to which an EC2 instance belongs.
instance_id :: Lens' Instance (Maybe Text) Source #
The unique identifier for the instance in Amazon EMR.
instance_instanceGroupId :: Lens' Instance (Maybe Text) Source #
The identifier of the instance group to which this instance belongs.
instance_privateDnsName :: Lens' Instance (Maybe Text) Source #
The private DNS name of the instance.
instance_publicIpAddress :: Lens' Instance (Maybe Text) Source #
The public IP address of the instance.
InstanceFleet
data InstanceFleet Source #
Describes an instance fleet, which is a group of EC2 instances that host a particular node type (master, core, or task) in an Amazon EMR cluster. Instance fleets can consist of a mix of instance types and On-Demand and Spot Instances, which are provisioned to meet a defined target capacity.
The instance fleet configuration is available only in Amazon EMR versions 4.8.0 and later, excluding 5.0.x versions.
See: newInstanceFleet
smart constructor.
InstanceFleet' | |
|
Instances
newInstanceFleet :: InstanceFleet Source #
Create a value of InstanceFleet
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:provisionedSpotCapacity:InstanceFleet'
, instanceFleet_provisionedSpotCapacity
- The number of Spot units that have been provisioned for this instance
fleet to fulfill TargetSpotCapacity
. This provisioned capacity might
be less than or greater than TargetSpotCapacity
.
$sel:status:InstanceFleet'
, instanceFleet_status
- The current status of the instance fleet.
$sel:targetOnDemandCapacity:InstanceFleet'
, instanceFleet_targetOnDemandCapacity
- The target capacity of On-Demand units for the instance fleet, which
determines how many On-Demand Instances to provision. When the instance
fleet launches, Amazon EMR tries to provision On-Demand Instances as
specified by InstanceTypeConfig. Each instance configuration has a
specified WeightedCapacity
. When an On-Demand Instance is provisioned,
the WeightedCapacity
units count toward the target capacity. Amazon
EMR provisions instances until the target capacity is totally fulfilled,
even if this results in an overage. For example, if there are 2 units
remaining to fulfill capacity, and Amazon EMR can only provision an
instance with a WeightedCapacity
of 5 units, the instance is
provisioned, and the target capacity is exceeded by 3 units. You can use
InstanceFleet$ProvisionedOnDemandCapacity to determine the Spot capacity
units that have been provisioned for the instance fleet.
If not specified or set to 0, only Spot Instances are provisioned for
the instance fleet using TargetSpotCapacity
. At least one of
TargetSpotCapacity
and TargetOnDemandCapacity
should be greater than
0. For a master instance fleet, only one of TargetSpotCapacity
and
TargetOnDemandCapacity
can be specified, and its value must be 1.
$sel:instanceFleetType:InstanceFleet'
, instanceFleet_instanceFleetType
- The node type that the instance fleet hosts. Valid values are MASTER,
CORE, or TASK.
$sel:instanceTypeSpecifications:InstanceFleet'
, instanceFleet_instanceTypeSpecifications
- An array of specifications for the instance types that comprise an
instance fleet.
$sel:name:InstanceFleet'
, instanceFleet_name
- A friendly name for the instance fleet.
$sel:provisionedOnDemandCapacity:InstanceFleet'
, instanceFleet_provisionedOnDemandCapacity
- The number of On-Demand units that have been provisioned for the
instance fleet to fulfill TargetOnDemandCapacity
. This provisioned
capacity might be less than or greater than TargetOnDemandCapacity
.
$sel:targetSpotCapacity:InstanceFleet'
, instanceFleet_targetSpotCapacity
- The target capacity of Spot units for the instance fleet, which
determines how many Spot Instances to provision. When the instance fleet
launches, Amazon EMR tries to provision Spot Instances as specified by
InstanceTypeConfig. Each instance configuration has a specified
WeightedCapacity
. When a Spot instance is provisioned, the
WeightedCapacity
units count toward the target capacity. Amazon EMR
provisions instances until the target capacity is totally fulfilled,
even if this results in an overage. For example, if there are 2 units
remaining to fulfill capacity, and Amazon EMR can only provision an
instance with a WeightedCapacity
of 5 units, the instance is
provisioned, and the target capacity is exceeded by 3 units. You can use
InstanceFleet$ProvisionedSpotCapacity to determine the Spot capacity
units that have been provisioned for the instance fleet.
If not specified or set to 0, only On-Demand Instances are provisioned
for the instance fleet. At least one of TargetSpotCapacity
and
TargetOnDemandCapacity
should be greater than 0. For a master instance
fleet, only one of TargetSpotCapacity
and TargetOnDemandCapacity
can
be specified, and its value must be 1.
$sel:id:InstanceFleet'
, instanceFleet_id
- The unique identifier of the instance fleet.
$sel:launchSpecifications:InstanceFleet'
, instanceFleet_launchSpecifications
- Describes the launch specification for an instance fleet.
instanceFleet_provisionedSpotCapacity :: Lens' InstanceFleet (Maybe Natural) Source #
The number of Spot units that have been provisioned for this instance
fleet to fulfill TargetSpotCapacity
. This provisioned capacity might
be less than or greater than TargetSpotCapacity
.
instanceFleet_status :: Lens' InstanceFleet (Maybe InstanceFleetStatus) Source #
The current status of the instance fleet.
instanceFleet_targetOnDemandCapacity :: Lens' InstanceFleet (Maybe Natural) Source #
The target capacity of On-Demand units for the instance fleet, which
determines how many On-Demand Instances to provision. When the instance
fleet launches, Amazon EMR tries to provision On-Demand Instances as
specified by InstanceTypeConfig. Each instance configuration has a
specified WeightedCapacity
. When an On-Demand Instance is provisioned,
the WeightedCapacity
units count toward the target capacity. Amazon
EMR provisions instances until the target capacity is totally fulfilled,
even if this results in an overage. For example, if there are 2 units
remaining to fulfill capacity, and Amazon EMR can only provision an
instance with a WeightedCapacity
of 5 units, the instance is
provisioned, and the target capacity is exceeded by 3 units. You can use
InstanceFleet$ProvisionedOnDemandCapacity to determine the Spot capacity
units that have been provisioned for the instance fleet.
If not specified or set to 0, only Spot Instances are provisioned for
the instance fleet using TargetSpotCapacity
. At least one of
TargetSpotCapacity
and TargetOnDemandCapacity
should be greater than
0. For a master instance fleet, only one of TargetSpotCapacity
and
TargetOnDemandCapacity
can be specified, and its value must be 1.
instanceFleet_instanceFleetType :: Lens' InstanceFleet (Maybe InstanceFleetType) Source #
The node type that the instance fleet hosts. Valid values are MASTER, CORE, or TASK.
instanceFleet_instanceTypeSpecifications :: Lens' InstanceFleet (Maybe [InstanceTypeSpecification]) Source #
An array of specifications for the instance types that comprise an instance fleet.
instanceFleet_name :: Lens' InstanceFleet (Maybe Text) Source #
A friendly name for the instance fleet.
instanceFleet_provisionedOnDemandCapacity :: Lens' InstanceFleet (Maybe Natural) Source #
The number of On-Demand units that have been provisioned for the
instance fleet to fulfill TargetOnDemandCapacity
. This provisioned
capacity might be less than or greater than TargetOnDemandCapacity
.
instanceFleet_targetSpotCapacity :: Lens' InstanceFleet (Maybe Natural) Source #
The target capacity of Spot units for the instance fleet, which
determines how many Spot Instances to provision. When the instance fleet
launches, Amazon EMR tries to provision Spot Instances as specified by
InstanceTypeConfig. Each instance configuration has a specified
WeightedCapacity
. When a Spot instance is provisioned, the
WeightedCapacity
units count toward the target capacity. Amazon EMR
provisions instances until the target capacity is totally fulfilled,
even if this results in an overage. For example, if there are 2 units
remaining to fulfill capacity, and Amazon EMR can only provision an
instance with a WeightedCapacity
of 5 units, the instance is
provisioned, and the target capacity is exceeded by 3 units. You can use
InstanceFleet$ProvisionedSpotCapacity to determine the Spot capacity
units that have been provisioned for the instance fleet.
If not specified or set to 0, only On-Demand Instances are provisioned
for the instance fleet. At least one of TargetSpotCapacity
and
TargetOnDemandCapacity
should be greater than 0. For a master instance
fleet, only one of TargetSpotCapacity
and TargetOnDemandCapacity
can
be specified, and its value must be 1.
instanceFleet_id :: Lens' InstanceFleet (Maybe Text) Source #
The unique identifier of the instance fleet.
instanceFleet_launchSpecifications :: Lens' InstanceFleet (Maybe InstanceFleetProvisioningSpecifications) Source #
Describes the launch specification for an instance fleet.
InstanceFleetConfig
data InstanceFleetConfig Source #
The configuration that defines an instance fleet.
The instance fleet configuration is available only in Amazon EMR versions 4.8.0 and later, excluding 5.0.x versions.
See: newInstanceFleetConfig
smart constructor.
InstanceFleetConfig' | |
|
Instances
newInstanceFleetConfig Source #
Create a value of InstanceFleetConfig
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:instanceTypeConfigs:InstanceFleetConfig'
, instanceFleetConfig_instanceTypeConfigs
- The instance type configurations that define the EC2 instances in the
instance fleet.
$sel:targetOnDemandCapacity:InstanceFleetConfig'
, instanceFleetConfig_targetOnDemandCapacity
- The target capacity of On-Demand units for the instance fleet, which
determines how many On-Demand Instances to provision. When the instance
fleet launches, Amazon EMR tries to provision On-Demand Instances as
specified by InstanceTypeConfig. Each instance configuration has a
specified WeightedCapacity
. When an On-Demand Instance is provisioned,
the WeightedCapacity
units count toward the target capacity. Amazon
EMR provisions instances until the target capacity is totally fulfilled,
even if this results in an overage. For example, if there are 2 units
remaining to fulfill capacity, and Amazon EMR can only provision an
instance with a WeightedCapacity
of 5 units, the instance is
provisioned, and the target capacity is exceeded by 3 units.
If not specified or set to 0, only Spot Instances are provisioned for
the instance fleet using TargetSpotCapacity
. At least one of
TargetSpotCapacity
and TargetOnDemandCapacity
should be greater than
0. For a master instance fleet, only one of TargetSpotCapacity
and
TargetOnDemandCapacity
can be specified, and its value must be 1.
$sel:name:InstanceFleetConfig'
, instanceFleetConfig_name
- The friendly name of the instance fleet.
$sel:targetSpotCapacity:InstanceFleetConfig'
, instanceFleetConfig_targetSpotCapacity
- The target capacity of Spot units for the instance fleet, which
determines how many Spot Instances to provision. When the instance fleet
launches, Amazon EMR tries to provision Spot Instances as specified by
InstanceTypeConfig. Each instance configuration has a specified
WeightedCapacity
. When a Spot Instance is provisioned, the
WeightedCapacity
units count toward the target capacity. Amazon EMR
provisions instances until the target capacity is totally fulfilled,
even if this results in an overage. For example, if there are 2 units
remaining to fulfill capacity, and Amazon EMR can only provision an
instance with a WeightedCapacity
of 5 units, the instance is
provisioned, and the target capacity is exceeded by 3 units.
If not specified or set to 0, only On-Demand Instances are provisioned
for the instance fleet. At least one of TargetSpotCapacity
and
TargetOnDemandCapacity
should be greater than 0. For a master instance
fleet, only one of TargetSpotCapacity
and TargetOnDemandCapacity
can
be specified, and its value must be 1.
$sel:launchSpecifications:InstanceFleetConfig'
, instanceFleetConfig_launchSpecifications
- The launch specification for the instance fleet.
$sel:instanceFleetType:InstanceFleetConfig'
, instanceFleetConfig_instanceFleetType
- The node type that the instance fleet hosts. Valid values are MASTER,
CORE, and TASK.
instanceFleetConfig_instanceTypeConfigs :: Lens' InstanceFleetConfig (Maybe [InstanceTypeConfig]) Source #
The instance type configurations that define the EC2 instances in the instance fleet.
instanceFleetConfig_targetOnDemandCapacity :: Lens' InstanceFleetConfig (Maybe Natural) Source #
The target capacity of On-Demand units for the instance fleet, which
determines how many On-Demand Instances to provision. When the instance
fleet launches, Amazon EMR tries to provision On-Demand Instances as
specified by InstanceTypeConfig. Each instance configuration has a
specified WeightedCapacity
. When an On-Demand Instance is provisioned,
the WeightedCapacity
units count toward the target capacity. Amazon
EMR provisions instances until the target capacity is totally fulfilled,
even if this results in an overage. For example, if there are 2 units
remaining to fulfill capacity, and Amazon EMR can only provision an
instance with a WeightedCapacity
of 5 units, the instance is
provisioned, and the target capacity is exceeded by 3 units.
If not specified or set to 0, only Spot Instances are provisioned for
the instance fleet using TargetSpotCapacity
. At least one of
TargetSpotCapacity
and TargetOnDemandCapacity
should be greater than
0. For a master instance fleet, only one of TargetSpotCapacity
and
TargetOnDemandCapacity
can be specified, and its value must be 1.
instanceFleetConfig_name :: Lens' InstanceFleetConfig (Maybe Text) Source #
The friendly name of the instance fleet.
instanceFleetConfig_targetSpotCapacity :: Lens' InstanceFleetConfig (Maybe Natural) Source #
The target capacity of Spot units for the instance fleet, which
determines how many Spot Instances to provision. When the instance fleet
launches, Amazon EMR tries to provision Spot Instances as specified by
InstanceTypeConfig. Each instance configuration has a specified
WeightedCapacity
. When a Spot Instance is provisioned, the
WeightedCapacity
units count toward the target capacity. Amazon EMR
provisions instances until the target capacity is totally fulfilled,
even if this results in an overage. For example, if there are 2 units
remaining to fulfill capacity, and Amazon EMR can only provision an
instance with a WeightedCapacity
of 5 units, the instance is
provisioned, and the target capacity is exceeded by 3 units.
If not specified or set to 0, only On-Demand Instances are provisioned
for the instance fleet. At least one of TargetSpotCapacity
and
TargetOnDemandCapacity
should be greater than 0. For a master instance
fleet, only one of TargetSpotCapacity
and TargetOnDemandCapacity
can
be specified, and its value must be 1.
instanceFleetConfig_launchSpecifications :: Lens' InstanceFleetConfig (Maybe InstanceFleetProvisioningSpecifications) Source #
The launch specification for the instance fleet.
instanceFleetConfig_instanceFleetType :: Lens' InstanceFleetConfig InstanceFleetType Source #
The node type that the instance fleet hosts. Valid values are MASTER, CORE, and TASK.
InstanceFleetModifyConfig
data InstanceFleetModifyConfig Source #
Configuration parameters for an instance fleet modification request.
The instance fleet configuration is available only in Amazon EMR versions 4.8.0 and later, excluding 5.0.x versions.
See: newInstanceFleetModifyConfig
smart constructor.
InstanceFleetModifyConfig' | |
|
Instances
newInstanceFleetModifyConfig Source #
Create a value of InstanceFleetModifyConfig
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:targetOnDemandCapacity:InstanceFleetModifyConfig'
, instanceFleetModifyConfig_targetOnDemandCapacity
- The target capacity of On-Demand units for the instance fleet. For more
information see InstanceFleetConfig$TargetOnDemandCapacity.
$sel:targetSpotCapacity:InstanceFleetModifyConfig'
, instanceFleetModifyConfig_targetSpotCapacity
- The target capacity of Spot units for the instance fleet. For more
information, see InstanceFleetConfig$TargetSpotCapacity.
$sel:instanceFleetId:InstanceFleetModifyConfig'
, instanceFleetModifyConfig_instanceFleetId
- A unique identifier for the instance fleet.
instanceFleetModifyConfig_targetOnDemandCapacity :: Lens' InstanceFleetModifyConfig (Maybe Natural) Source #
The target capacity of On-Demand units for the instance fleet. For more information see InstanceFleetConfig$TargetOnDemandCapacity.
instanceFleetModifyConfig_targetSpotCapacity :: Lens' InstanceFleetModifyConfig (Maybe Natural) Source #
The target capacity of Spot units for the instance fleet. For more information, see InstanceFleetConfig$TargetSpotCapacity.
instanceFleetModifyConfig_instanceFleetId :: Lens' InstanceFleetModifyConfig Text Source #
A unique identifier for the instance fleet.
InstanceFleetProvisioningSpecifications
data InstanceFleetProvisioningSpecifications Source #
The launch specification for Spot Instances in the fleet, which determines the defined duration, provisioning timeout behavior, and allocation strategy.
The instance fleet configuration is available only in Amazon EMR versions 4.8.0 and later, excluding 5.0.x versions. On-Demand and Spot Instance allocation strategies are available in Amazon EMR version 5.12.1 and later.
See: newInstanceFleetProvisioningSpecifications
smart constructor.
InstanceFleetProvisioningSpecifications' | |
|
Instances
newInstanceFleetProvisioningSpecifications :: InstanceFleetProvisioningSpecifications Source #
Create a value of InstanceFleetProvisioningSpecifications
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:spotSpecification:InstanceFleetProvisioningSpecifications'
, instanceFleetProvisioningSpecifications_spotSpecification
- The launch specification for Spot Instances in the fleet, which
determines the defined duration, provisioning timeout behavior, and
allocation strategy.
$sel:onDemandSpecification:InstanceFleetProvisioningSpecifications'
, instanceFleetProvisioningSpecifications_onDemandSpecification
- The launch specification for On-Demand Instances in the instance fleet,
which determines the allocation strategy.
The instance fleet configuration is available only in Amazon EMR versions 4.8.0 and later, excluding 5.0.x versions. On-Demand Instances allocation strategy is available in Amazon EMR version 5.12.1 and later.
instanceFleetProvisioningSpecifications_spotSpecification :: Lens' InstanceFleetProvisioningSpecifications (Maybe SpotProvisioningSpecification) Source #
The launch specification for Spot Instances in the fleet, which determines the defined duration, provisioning timeout behavior, and allocation strategy.
instanceFleetProvisioningSpecifications_onDemandSpecification :: Lens' InstanceFleetProvisioningSpecifications (Maybe OnDemandProvisioningSpecification) Source #
The launch specification for On-Demand Instances in the instance fleet, which determines the allocation strategy.
The instance fleet configuration is available only in Amazon EMR versions 4.8.0 and later, excluding 5.0.x versions. On-Demand Instances allocation strategy is available in Amazon EMR version 5.12.1 and later.
InstanceFleetStateChangeReason
data InstanceFleetStateChangeReason Source #
Provides status change reason details for the instance fleet.
The instance fleet configuration is available only in Amazon EMR versions 4.8.0 and later, excluding 5.0.x versions.
See: newInstanceFleetStateChangeReason
smart constructor.
Instances
newInstanceFleetStateChangeReason :: InstanceFleetStateChangeReason Source #
Create a value of InstanceFleetStateChangeReason
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:code:InstanceFleetStateChangeReason'
, instanceFleetStateChangeReason_code
- A code corresponding to the reason the state change occurred.
$sel:message:InstanceFleetStateChangeReason'
, instanceFleetStateChangeReason_message
- An explanatory message.
instanceFleetStateChangeReason_code :: Lens' InstanceFleetStateChangeReason (Maybe InstanceFleetStateChangeReasonCode) Source #
A code corresponding to the reason the state change occurred.
instanceFleetStateChangeReason_message :: Lens' InstanceFleetStateChangeReason (Maybe Text) Source #
An explanatory message.
InstanceFleetStatus
data InstanceFleetStatus Source #
The status of the instance fleet.
The instance fleet configuration is available only in Amazon EMR versions 4.8.0 and later, excluding 5.0.x versions.
See: newInstanceFleetStatus
smart constructor.
InstanceFleetStatus' | |
|
Instances
newInstanceFleetStatus :: InstanceFleetStatus Source #
Create a value of InstanceFleetStatus
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:state:InstanceFleetStatus'
, instanceFleetStatus_state
- A code representing the instance fleet status.
PROVISIONING
—The instance fleet is provisioning EC2 resources and is not yet ready to run jobs.BOOTSTRAPPING
—EC2 instances and other resources have been provisioned and the bootstrap actions specified for the instances are underway.RUNNING
—EC2 instances and other resources are running. They are either executing jobs or waiting to execute jobs.RESIZING
—A resize operation is underway. EC2 instances are either being added or removed.SUSPENDED
—A resize operation could not complete. Existing EC2 instances are running, but instances can't be added or removed.TERMINATING
—The instance fleet is terminating EC2 instances.TERMINATED
—The instance fleet is no longer active, and all EC2 instances have been terminated.
$sel:stateChangeReason:InstanceFleetStatus'
, instanceFleetStatus_stateChangeReason
- Provides status change reason details for the instance fleet.
$sel:timeline:InstanceFleetStatus'
, instanceFleetStatus_timeline
- Provides historical timestamps for the instance fleet, including the
time of creation, the time it became ready to run jobs, and the time of
termination.
instanceFleetStatus_state :: Lens' InstanceFleetStatus (Maybe InstanceFleetState) Source #
A code representing the instance fleet status.
PROVISIONING
—The instance fleet is provisioning EC2 resources and is not yet ready to run jobs.BOOTSTRAPPING
—EC2 instances and other resources have been provisioned and the bootstrap actions specified for the instances are underway.RUNNING
—EC2 instances and other resources are running. They are either executing jobs or waiting to execute jobs.RESIZING
—A resize operation is underway. EC2 instances are either being added or removed.SUSPENDED
—A resize operation could not complete. Existing EC2 instances are running, but instances can't be added or removed.TERMINATING
—The instance fleet is terminating EC2 instances.TERMINATED
—The instance fleet is no longer active, and all EC2 instances have been terminated.
instanceFleetStatus_stateChangeReason :: Lens' InstanceFleetStatus (Maybe InstanceFleetStateChangeReason) Source #
Provides status change reason details for the instance fleet.
instanceFleetStatus_timeline :: Lens' InstanceFleetStatus (Maybe InstanceFleetTimeline) Source #
Provides historical timestamps for the instance fleet, including the time of creation, the time it became ready to run jobs, and the time of termination.
InstanceFleetTimeline
data InstanceFleetTimeline Source #
Provides historical timestamps for the instance fleet, including the time of creation, the time it became ready to run jobs, and the time of termination.
The instance fleet configuration is available only in Amazon EMR versions 4.8.0 and later, excluding 5.0.x versions.
See: newInstanceFleetTimeline
smart constructor.
InstanceFleetTimeline' | |
|
Instances
newInstanceFleetTimeline :: InstanceFleetTimeline Source #
Create a value of InstanceFleetTimeline
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:readyDateTime:InstanceFleetTimeline'
, instanceFleetTimeline_readyDateTime
- The time and date the instance fleet was ready to run jobs.
$sel:creationDateTime:InstanceFleetTimeline'
, instanceFleetTimeline_creationDateTime
- The time and date the instance fleet was created.
$sel:endDateTime:InstanceFleetTimeline'
, instanceFleetTimeline_endDateTime
- The time and date the instance fleet terminated.
instanceFleetTimeline_readyDateTime :: Lens' InstanceFleetTimeline (Maybe UTCTime) Source #
The time and date the instance fleet was ready to run jobs.
instanceFleetTimeline_creationDateTime :: Lens' InstanceFleetTimeline (Maybe UTCTime) Source #
The time and date the instance fleet was created.
instanceFleetTimeline_endDateTime :: Lens' InstanceFleetTimeline (Maybe UTCTime) Source #
The time and date the instance fleet terminated.
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: newInstanceGroup
smart constructor.
InstanceGroup' | |
|
Instances
newInstanceGroup :: InstanceGroup Source #
Create a value of InstanceGroup
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:status:InstanceGroup'
, instanceGroup_status
- The current status of the instance group.
$sel:lastSuccessfullyAppliedConfigurationsVersion:InstanceGroup'
, instanceGroup_lastSuccessfullyAppliedConfigurationsVersion
- The version number of a configuration specification that was
successfully applied for an instance group last time.
$sel:bidPrice:InstanceGroup'
, instanceGroup_bidPrice
- If specified, indicates that the instance group uses Spot Instances.
This is the maximum price you are willing to pay for Spot Instances.
Specify OnDemandPrice
to set the amount equal to the On-Demand price,
or specify an amount in USD.
$sel:requestedInstanceCount:InstanceGroup'
, instanceGroup_requestedInstanceCount
- The target number of instances for the instance group.
$sel:runningInstanceCount:InstanceGroup'
, instanceGroup_runningInstanceCount
- The number of instances currently running in this instance group.
$sel:lastSuccessfullyAppliedConfigurations:InstanceGroup'
, instanceGroup_lastSuccessfullyAppliedConfigurations
- A list of configurations that were successfully applied for an instance
group last time.
$sel:configurations:InstanceGroup'
, instanceGroup_configurations
- Amazon EMR releases 4.x or later.
The list of configurations supplied for an Amazon EMR cluster instance group. You can specify a separate configuration for each instance group (master, core, and task).
$sel:customAmiId:InstanceGroup'
, instanceGroup_customAmiId
- The custom AMI ID to use for the provisioned instance group.
$sel:instanceGroupType:InstanceGroup'
, instanceGroup_instanceGroupType
- The type of the instance group. Valid values are MASTER, CORE or TASK.
$sel:ebsBlockDevices:InstanceGroup'
, instanceGroup_ebsBlockDevices
- The EBS block devices that are mapped to this instance group.
$sel:instanceType:InstanceGroup'
, instanceGroup_instanceType
- The EC2 instance type for all instances in the instance group.
$sel:configurationsVersion:InstanceGroup'
, instanceGroup_configurationsVersion
- The version number of the requested configuration specification for this
instance group.
$sel:ebsOptimized:InstanceGroup'
, instanceGroup_ebsOptimized
- 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.
$sel:market:InstanceGroup'
, instanceGroup_market
- The marketplace to provision instances for this group. Valid values are
ON_DEMAND or SPOT.
$sel:name:InstanceGroup'
, instanceGroup_name
- The name of the instance group.
$sel:autoScalingPolicy:InstanceGroup'
, instanceGroup_autoScalingPolicy
- 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.
$sel:shrinkPolicy:InstanceGroup'
, instanceGroup_shrinkPolicy
- Policy for customizing shrink operations.
$sel:id:InstanceGroup'
, instanceGroup_id
- The identifier of the instance group.
instanceGroup_status :: Lens' InstanceGroup (Maybe InstanceGroupStatus) Source #
The current status of the instance group.
instanceGroup_lastSuccessfullyAppliedConfigurationsVersion :: Lens' InstanceGroup (Maybe Integer) Source #
The version number of a configuration specification that was successfully applied for an instance group last time.
instanceGroup_bidPrice :: Lens' InstanceGroup (Maybe Text) Source #
If specified, indicates that the instance group uses Spot Instances.
This is the maximum price you are willing to pay for Spot Instances.
Specify OnDemandPrice
to set the amount equal to the On-Demand price,
or specify an amount in USD.
instanceGroup_requestedInstanceCount :: Lens' InstanceGroup (Maybe Int) Source #
The target number of instances for the instance group.
instanceGroup_runningInstanceCount :: Lens' InstanceGroup (Maybe Int) Source #
The number of instances currently running in this instance group.
instanceGroup_lastSuccessfullyAppliedConfigurations :: Lens' InstanceGroup (Maybe [Configuration]) Source #
A list of configurations that were successfully applied for an instance group last time.
instanceGroup_configurations :: Lens' InstanceGroup (Maybe [Configuration]) Source #
Amazon EMR releases 4.x or later.
The list of configurations supplied for an Amazon EMR cluster instance group. You can specify a separate configuration for each instance group (master, core, and task).
instanceGroup_customAmiId :: Lens' InstanceGroup (Maybe Text) Source #
The custom AMI ID to use for the provisioned instance group.
instanceGroup_instanceGroupType :: Lens' InstanceGroup (Maybe InstanceGroupType) Source #
The type of the instance group. Valid values are MASTER, CORE or TASK.
instanceGroup_ebsBlockDevices :: Lens' InstanceGroup (Maybe [EbsBlockDevice]) Source #
The EBS block devices that are mapped to this instance group.
instanceGroup_instanceType :: Lens' InstanceGroup (Maybe Text) Source #
The EC2 instance type for all instances in the instance group.
instanceGroup_configurationsVersion :: Lens' InstanceGroup (Maybe Integer) Source #
The version number of the requested configuration specification for this instance group.
instanceGroup_ebsOptimized :: 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.
instanceGroup_market :: Lens' InstanceGroup (Maybe MarketType) Source #
The marketplace to provision instances for this group. Valid values are ON_DEMAND or SPOT.
instanceGroup_name :: Lens' InstanceGroup (Maybe Text) Source #
The name of the instance group.
instanceGroup_autoScalingPolicy :: 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.
instanceGroup_shrinkPolicy :: Lens' InstanceGroup (Maybe ShrinkPolicy) Source #
Policy for customizing shrink operations.
instanceGroup_id :: Lens' InstanceGroup (Maybe Text) Source #
The identifier of the instance group.
InstanceGroupConfig
data InstanceGroupConfig Source #
Configuration defining a new instance group.
See: newInstanceGroupConfig
smart constructor.
InstanceGroupConfig' | |
|
Instances
newInstanceGroupConfig Source #
:: InstanceRoleType | |
-> Text | |
-> Int | |
-> InstanceGroupConfig |
Create a value of InstanceGroupConfig
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:ebsConfiguration:InstanceGroupConfig'
, instanceGroupConfig_ebsConfiguration
- EBS configurations that will be attached to each EC2 instance in the
instance group.
$sel:bidPrice:InstanceGroupConfig'
, instanceGroupConfig_bidPrice
- If specified, indicates that the instance group uses Spot Instances.
This is the maximum price you are willing to pay for Spot Instances.
Specify OnDemandPrice
to set the amount equal to the On-Demand price,
or specify an amount in USD.
$sel:configurations:InstanceGroupConfig'
, instanceGroupConfig_configurations
- Amazon EMR releases 4.x or later.
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).
$sel:customAmiId:InstanceGroupConfig'
, instanceGroupConfig_customAmiId
- The custom AMI ID to use for the provisioned instance group.
$sel:market:InstanceGroupConfig'
, instanceGroupConfig_market
- Market type of the EC2 instances used to create a cluster node.
$sel:name:InstanceGroupConfig'
, instanceGroupConfig_name
- Friendly name given to the instance group.
$sel:autoScalingPolicy:InstanceGroupConfig'
, instanceGroupConfig_autoScalingPolicy
- 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.
$sel:instanceRole:InstanceGroupConfig'
, instanceGroupConfig_instanceRole
- The role of the instance group in the cluster.
$sel:instanceType:InstanceGroupConfig'
, instanceGroupConfig_instanceType
- The EC2 instance type for all instances in the instance group.
$sel:instanceCount:InstanceGroupConfig'
, instanceGroupConfig_instanceCount
- Target number of instances for the instance group.
instanceGroupConfig_ebsConfiguration :: Lens' InstanceGroupConfig (Maybe EbsConfiguration) Source #
EBS configurations that will be attached to each EC2 instance in the instance group.
instanceGroupConfig_bidPrice :: Lens' InstanceGroupConfig (Maybe Text) Source #
If specified, indicates that the instance group uses Spot Instances.
This is the maximum price you are willing to pay for Spot Instances.
Specify OnDemandPrice
to set the amount equal to the On-Demand price,
or specify an amount in USD.
instanceGroupConfig_configurations :: Lens' InstanceGroupConfig (Maybe [Configuration]) Source #
Amazon EMR releases 4.x or later.
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).
instanceGroupConfig_customAmiId :: Lens' InstanceGroupConfig (Maybe Text) Source #
The custom AMI ID to use for the provisioned instance group.
instanceGroupConfig_market :: Lens' InstanceGroupConfig (Maybe MarketType) Source #
Market type of the EC2 instances used to create a cluster node.
instanceGroupConfig_name :: Lens' InstanceGroupConfig (Maybe Text) Source #
Friendly name given to the instance group.
instanceGroupConfig_autoScalingPolicy :: 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.
instanceGroupConfig_instanceRole :: Lens' InstanceGroupConfig InstanceRoleType Source #
The role of the instance group in the cluster.
instanceGroupConfig_instanceType :: Lens' InstanceGroupConfig Text Source #
The EC2 instance type for all instances in the instance group.
instanceGroupConfig_instanceCount :: Lens' InstanceGroupConfig Int Source #
Target number of instances for the instance group.
InstanceGroupModifyConfig
data InstanceGroupModifyConfig Source #
Modify the size or configurations of an instance group.
See: newInstanceGroupModifyConfig
smart constructor.
InstanceGroupModifyConfig' | |
|
Instances
newInstanceGroupModifyConfig Source #
Create a value of InstanceGroupModifyConfig
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:instanceCount:InstanceGroupModifyConfig'
, instanceGroupModifyConfig_instanceCount
- Target size for the instance group.
$sel:configurations:InstanceGroupModifyConfig'
, instanceGroupModifyConfig_configurations
- A list of new or modified configurations to apply for an instance group.
$sel:eC2InstanceIdsToTerminate:InstanceGroupModifyConfig'
, instanceGroupModifyConfig_eC2InstanceIdsToTerminate
- The EC2 InstanceIds to terminate. After you terminate the instances, the
instance group will not return to its original requested size.
$sel:shrinkPolicy:InstanceGroupModifyConfig'
, instanceGroupModifyConfig_shrinkPolicy
- Policy for customizing shrink operations.
$sel:instanceGroupId:InstanceGroupModifyConfig'
, instanceGroupModifyConfig_instanceGroupId
- Unique ID of the instance group to modify.
instanceGroupModifyConfig_instanceCount :: Lens' InstanceGroupModifyConfig (Maybe Int) Source #
Target size for the instance group.
instanceGroupModifyConfig_configurations :: Lens' InstanceGroupModifyConfig (Maybe [Configuration]) Source #
A list of new or modified configurations to apply for an instance group.
instanceGroupModifyConfig_eC2InstanceIdsToTerminate :: Lens' InstanceGroupModifyConfig (Maybe [Text]) Source #
The EC2 InstanceIds to terminate. After you terminate the instances, the instance group will not return to its original requested size.
instanceGroupModifyConfig_shrinkPolicy :: Lens' InstanceGroupModifyConfig (Maybe ShrinkPolicy) Source #
Policy for customizing shrink operations.
instanceGroupModifyConfig_instanceGroupId :: Lens' InstanceGroupModifyConfig Text Source #
Unique ID of the instance group to modify.
InstanceGroupStateChangeReason
data InstanceGroupStateChangeReason Source #
The status change reason details for the instance group.
See: newInstanceGroupStateChangeReason
smart constructor.
Instances
newInstanceGroupStateChangeReason :: InstanceGroupStateChangeReason Source #
Create a value of InstanceGroupStateChangeReason
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:code:InstanceGroupStateChangeReason'
, instanceGroupStateChangeReason_code
- The programmable code for the state change reason.
$sel:message:InstanceGroupStateChangeReason'
, instanceGroupStateChangeReason_message
- The status change reason description.
instanceGroupStateChangeReason_code :: Lens' InstanceGroupStateChangeReason (Maybe InstanceGroupStateChangeReasonCode) Source #
The programmable code for the state change reason.
instanceGroupStateChangeReason_message :: Lens' InstanceGroupStateChangeReason (Maybe Text) Source #
The status change reason description.
InstanceGroupStatus
data InstanceGroupStatus Source #
The details of the instance group status.
See: newInstanceGroupStatus
smart constructor.
InstanceGroupStatus' | |
|
Instances
newInstanceGroupStatus :: InstanceGroupStatus Source #
Create a value of InstanceGroupStatus
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:state:InstanceGroupStatus'
, instanceGroupStatus_state
- The current state of the instance group.
$sel:stateChangeReason:InstanceGroupStatus'
, instanceGroupStatus_stateChangeReason
- The status change reason details for the instance group.
$sel:timeline:InstanceGroupStatus'
, instanceGroupStatus_timeline
- The timeline of the instance group status over time.
instanceGroupStatus_state :: Lens' InstanceGroupStatus (Maybe InstanceGroupState) Source #
The current state of the instance group.
instanceGroupStatus_stateChangeReason :: Lens' InstanceGroupStatus (Maybe InstanceGroupStateChangeReason) Source #
The status change reason details for the instance group.
instanceGroupStatus_timeline :: 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: newInstanceGroupTimeline
smart constructor.
InstanceGroupTimeline' | |
|
Instances
newInstanceGroupTimeline :: InstanceGroupTimeline Source #
Create a value of InstanceGroupTimeline
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:readyDateTime:InstanceGroupTimeline'
, instanceGroupTimeline_readyDateTime
- The date and time when the instance group became ready to perform tasks.
$sel:creationDateTime:InstanceGroupTimeline'
, instanceGroupTimeline_creationDateTime
- The creation date and time of the instance group.
$sel:endDateTime:InstanceGroupTimeline'
, instanceGroupTimeline_endDateTime
- The date and time when the instance group terminated.
instanceGroupTimeline_readyDateTime :: Lens' InstanceGroupTimeline (Maybe UTCTime) Source #
The date and time when the instance group became ready to perform tasks.
instanceGroupTimeline_creationDateTime :: Lens' InstanceGroupTimeline (Maybe UTCTime) Source #
The creation date and time of the instance group.
instanceGroupTimeline_endDateTime :: 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: newInstanceResizePolicy
smart constructor.
InstanceResizePolicy' | |
|
Instances
newInstanceResizePolicy :: InstanceResizePolicy Source #
Create a value of InstanceResizePolicy
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:instancesToProtect:InstanceResizePolicy'
, instanceResizePolicy_instancesToProtect
- Specific list of instances to be protected when shrinking an instance
group.
$sel:instancesToTerminate:InstanceResizePolicy'
, instanceResizePolicy_instancesToTerminate
- Specific list of instances to be terminated when shrinking an instance
group.
$sel:instanceTerminationTimeout:InstanceResizePolicy'
, instanceResizePolicy_instanceTerminationTimeout
- Decommissioning timeout override for the specific list of instances to
be terminated.
instanceResizePolicy_instancesToProtect :: Lens' InstanceResizePolicy (Maybe [Text]) Source #
Specific list of instances to be protected when shrinking an instance group.
instanceResizePolicy_instancesToTerminate :: Lens' InstanceResizePolicy (Maybe [Text]) Source #
Specific list of instances to be terminated when shrinking an instance group.
instanceResizePolicy_instanceTerminationTimeout :: 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: newInstanceStateChangeReason
smart constructor.
Instances
newInstanceStateChangeReason :: InstanceStateChangeReason Source #
Create a value of InstanceStateChangeReason
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:code:InstanceStateChangeReason'
, instanceStateChangeReason_code
- The programmable code for the state change reason.
$sel:message:InstanceStateChangeReason'
, instanceStateChangeReason_message
- The status change reason description.
instanceStateChangeReason_code :: Lens' InstanceStateChangeReason (Maybe InstanceStateChangeReasonCode) Source #
The programmable code for the state change reason.
instanceStateChangeReason_message :: Lens' InstanceStateChangeReason (Maybe Text) Source #
The status change reason description.
InstanceStatus
data InstanceStatus Source #
The instance status details.
See: newInstanceStatus
smart constructor.
InstanceStatus' | |
|
Instances
newInstanceStatus :: InstanceStatus Source #
Create a value of InstanceStatus
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:state:InstanceStatus'
, instanceStatus_state
- The current state of the instance.
$sel:stateChangeReason:InstanceStatus'
, instanceStatus_stateChangeReason
- The details of the status change reason for the instance.
$sel:timeline:InstanceStatus'
, instanceStatus_timeline
- The timeline of the instance status over time.
instanceStatus_state :: Lens' InstanceStatus (Maybe InstanceState) Source #
The current state of the instance.
instanceStatus_stateChangeReason :: Lens' InstanceStatus (Maybe InstanceStateChangeReason) Source #
The details of the status change reason for the instance.
instanceStatus_timeline :: Lens' InstanceStatus (Maybe InstanceTimeline) Source #
The timeline of the instance status over time.
InstanceTimeline
data InstanceTimeline Source #
The timeline of the instance lifecycle.
See: newInstanceTimeline
smart constructor.
InstanceTimeline' | |
|
Instances
newInstanceTimeline :: InstanceTimeline Source #
Create a value of InstanceTimeline
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:readyDateTime:InstanceTimeline'
, instanceTimeline_readyDateTime
- The date and time when the instance was ready to perform tasks.
$sel:creationDateTime:InstanceTimeline'
, instanceTimeline_creationDateTime
- The creation date and time of the instance.
$sel:endDateTime:InstanceTimeline'
, instanceTimeline_endDateTime
- The date and time when the instance was terminated.
instanceTimeline_readyDateTime :: Lens' InstanceTimeline (Maybe UTCTime) Source #
The date and time when the instance was ready to perform tasks.
instanceTimeline_creationDateTime :: Lens' InstanceTimeline (Maybe UTCTime) Source #
The creation date and time of the instance.
instanceTimeline_endDateTime :: Lens' InstanceTimeline (Maybe UTCTime) Source #
The date and time when the instance was terminated.
InstanceTypeConfig
data InstanceTypeConfig Source #
An instance type configuration for each instance type in an instance fleet, which determines the EC2 instances Amazon EMR attempts to provision to fulfill On-Demand and Spot target capacities. When you use an allocation strategy, you can include a maximum of 30 instance type configurations for a fleet. For more information about how to use an allocation strategy, see Configure Instance Fleets. Without an allocation strategy, you may specify a maximum of five instance type configurations for a fleet.
The instance fleet configuration is available only in Amazon EMR versions 4.8.0 and later, excluding 5.0.x versions.
See: newInstanceTypeConfig
smart constructor.
InstanceTypeConfig' | |
|
Instances
newInstanceTypeConfig Source #
Create a value of InstanceTypeConfig
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:ebsConfiguration:InstanceTypeConfig'
, instanceTypeConfig_ebsConfiguration
- The configuration of Amazon Elastic Block Store (Amazon EBS) attached to
each instance as defined by InstanceType
.
$sel:bidPrice:InstanceTypeConfig'
, instanceTypeConfig_bidPrice
- The bid price for each EC2 Spot Instance type as defined by
InstanceType
. Expressed in USD. If neither BidPrice
nor
BidPriceAsPercentageOfOnDemandPrice
is provided,
BidPriceAsPercentageOfOnDemandPrice
defaults to 100%.
$sel:weightedCapacity:InstanceTypeConfig'
, instanceTypeConfig_weightedCapacity
- The number of units that a provisioned instance of this type provides
toward fulfilling the target capacities defined in InstanceFleetConfig.
This value is 1 for a master instance fleet, and must be 1 or greater
for core and task instance fleets. Defaults to 1 if not specified.
$sel:configurations:InstanceTypeConfig'
, instanceTypeConfig_configurations
- A configuration classification that applies when provisioning cluster
instances, which can include configurations for applications and
software that run on the cluster.
$sel:customAmiId:InstanceTypeConfig'
, instanceTypeConfig_customAmiId
- The custom AMI ID to use for the instance type.
$sel:bidPriceAsPercentageOfOnDemandPrice:InstanceTypeConfig'
, instanceTypeConfig_bidPriceAsPercentageOfOnDemandPrice
- The bid price, as a percentage of On-Demand price, for each EC2 Spot
Instance as defined by InstanceType
. Expressed as a number (for
example, 20 specifies 20%). If neither BidPrice
nor
BidPriceAsPercentageOfOnDemandPrice
is provided,
BidPriceAsPercentageOfOnDemandPrice
defaults to 100%.
$sel:instanceType:InstanceTypeConfig'
, instanceTypeConfig_instanceType
- An EC2 instance type, such as m3.xlarge
.
instanceTypeConfig_ebsConfiguration :: Lens' InstanceTypeConfig (Maybe EbsConfiguration) Source #
The configuration of Amazon Elastic Block Store (Amazon EBS) attached to
each instance as defined by InstanceType
.
instanceTypeConfig_bidPrice :: Lens' InstanceTypeConfig (Maybe Text) Source #
The bid price for each EC2 Spot Instance type as defined by
InstanceType
. Expressed in USD. If neither BidPrice
nor
BidPriceAsPercentageOfOnDemandPrice
is provided,
BidPriceAsPercentageOfOnDemandPrice
defaults to 100%.
instanceTypeConfig_weightedCapacity :: Lens' InstanceTypeConfig (Maybe Natural) Source #
The number of units that a provisioned instance of this type provides toward fulfilling the target capacities defined in InstanceFleetConfig. This value is 1 for a master instance fleet, and must be 1 or greater for core and task instance fleets. Defaults to 1 if not specified.
instanceTypeConfig_configurations :: Lens' InstanceTypeConfig (Maybe [Configuration]) Source #
A configuration classification that applies when provisioning cluster instances, which can include configurations for applications and software that run on the cluster.
instanceTypeConfig_customAmiId :: Lens' InstanceTypeConfig (Maybe Text) Source #
The custom AMI ID to use for the instance type.
instanceTypeConfig_bidPriceAsPercentageOfOnDemandPrice :: Lens' InstanceTypeConfig (Maybe Double) Source #
The bid price, as a percentage of On-Demand price, for each EC2 Spot
Instance as defined by InstanceType
. Expressed as a number (for
example, 20 specifies 20%). If neither BidPrice
nor
BidPriceAsPercentageOfOnDemandPrice
is provided,
BidPriceAsPercentageOfOnDemandPrice
defaults to 100%.
instanceTypeConfig_instanceType :: Lens' InstanceTypeConfig Text Source #
An EC2 instance type, such as m3.xlarge
.
InstanceTypeSpecification
data InstanceTypeSpecification Source #
The configuration specification for each instance type in an instance fleet.
The instance fleet configuration is available only in Amazon EMR versions 4.8.0 and later, excluding 5.0.x versions.
See: newInstanceTypeSpecification
smart constructor.
InstanceTypeSpecification' | |
|
Instances
newInstanceTypeSpecification :: InstanceTypeSpecification Source #
Create a value of InstanceTypeSpecification
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:bidPrice:InstanceTypeSpecification'
, instanceTypeSpecification_bidPrice
- The bid price for each EC2 Spot Instance type as defined by
InstanceType
. Expressed in USD.
$sel:weightedCapacity:InstanceTypeSpecification'
, instanceTypeSpecification_weightedCapacity
- The number of units that a provisioned instance of this type provides
toward fulfilling the target capacities defined in InstanceFleetConfig.
Capacity values represent performance characteristics such as vCPUs,
memory, or I/O. If not specified, the default value is 1.
$sel:configurations:InstanceTypeSpecification'
, instanceTypeSpecification_configurations
- A configuration classification that applies when provisioning cluster
instances, which can include configurations for applications and
software bundled with Amazon EMR.
$sel:customAmiId:InstanceTypeSpecification'
, instanceTypeSpecification_customAmiId
- The custom AMI ID to use for the instance type.
$sel:ebsBlockDevices:InstanceTypeSpecification'
, instanceTypeSpecification_ebsBlockDevices
- The configuration of Amazon Elastic Block Store (Amazon EBS) attached to
each instance as defined by InstanceType
.
$sel:instanceType:InstanceTypeSpecification'
, instanceTypeSpecification_instanceType
- The EC2 instance type, for example m3.xlarge
.
$sel:ebsOptimized:InstanceTypeSpecification'
, instanceTypeSpecification_ebsOptimized
- Evaluates to TRUE
when the specified InstanceType
is EBS-optimized.
$sel:bidPriceAsPercentageOfOnDemandPrice:InstanceTypeSpecification'
, instanceTypeSpecification_bidPriceAsPercentageOfOnDemandPrice
- The bid price, as a percentage of On-Demand price, for each EC2 Spot
Instance as defined by InstanceType
. Expressed as a number (for
example, 20 specifies 20%).
instanceTypeSpecification_bidPrice :: Lens' InstanceTypeSpecification (Maybe Text) Source #
The bid price for each EC2 Spot Instance type as defined by
InstanceType
. Expressed in USD.
instanceTypeSpecification_weightedCapacity :: Lens' InstanceTypeSpecification (Maybe Natural) Source #
The number of units that a provisioned instance of this type provides toward fulfilling the target capacities defined in InstanceFleetConfig. Capacity values represent performance characteristics such as vCPUs, memory, or I/O. If not specified, the default value is 1.
instanceTypeSpecification_configurations :: Lens' InstanceTypeSpecification (Maybe [Configuration]) Source #
A configuration classification that applies when provisioning cluster instances, which can include configurations for applications and software bundled with Amazon EMR.
instanceTypeSpecification_customAmiId :: Lens' InstanceTypeSpecification (Maybe Text) Source #
The custom AMI ID to use for the instance type.
instanceTypeSpecification_ebsBlockDevices :: Lens' InstanceTypeSpecification (Maybe [EbsBlockDevice]) Source #
The configuration of Amazon Elastic Block Store (Amazon EBS) attached to
each instance as defined by InstanceType
.
instanceTypeSpecification_instanceType :: Lens' InstanceTypeSpecification (Maybe Text) Source #
The EC2 instance type, for example m3.xlarge
.
instanceTypeSpecification_ebsOptimized :: Lens' InstanceTypeSpecification (Maybe Bool) Source #
Evaluates to TRUE
when the specified InstanceType
is EBS-optimized.
instanceTypeSpecification_bidPriceAsPercentageOfOnDemandPrice :: Lens' InstanceTypeSpecification (Maybe Double) Source #
The bid price, as a percentage of On-Demand price, for each EC2 Spot
Instance as defined by InstanceType
. Expressed as a number (for
example, 20 specifies 20%).
JobFlowInstancesConfig
data JobFlowInstancesConfig Source #
A description of the Amazon EC2 instance on which the cluster (job flow) runs. A valid JobFlowInstancesConfig must contain either InstanceGroups or InstanceFleets. They cannot be used together. You may also have MasterInstanceType, SlaveInstanceType, and InstanceCount (all three must be present), but we don't recommend this configuration.
See: newJobFlowInstancesConfig
smart constructor.
JobFlowInstancesConfig' | |
|
Instances
newJobFlowInstancesConfig :: JobFlowInstancesConfig Source #
Create a value of JobFlowInstancesConfig
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:instanceFleets:JobFlowInstancesConfig'
, jobFlowInstancesConfig_instanceFleets
- The instance fleet configuration is available only in Amazon EMR
versions 4.8.0 and later, excluding 5.0.x versions.
Describes the EC2 instances and instance configurations for clusters that use the instance fleet configuration.
$sel:ec2KeyName:JobFlowInstancesConfig'
, jobFlowInstancesConfig_ec2KeyName
- The name of the EC2 key pair that can be used to connect to the master
node using SSH as the user called "hadoop."
$sel:slaveInstanceType:JobFlowInstancesConfig'
, jobFlowInstancesConfig_slaveInstanceType
- The EC2 instance type of the core and task nodes.
$sel:instanceCount:JobFlowInstancesConfig'
, jobFlowInstancesConfig_instanceCount
- The number of EC2 instances in the cluster.
$sel:emrManagedSlaveSecurityGroup:JobFlowInstancesConfig'
, jobFlowInstancesConfig_emrManagedSlaveSecurityGroup
- The identifier of the Amazon EC2 security group for the core and task
nodes. If you specify EmrManagedSlaveSecurityGroup
, you must also
specify EmrManagedMasterSecurityGroup
.
$sel:additionalSlaveSecurityGroups:JobFlowInstancesConfig'
, jobFlowInstancesConfig_additionalSlaveSecurityGroups
- A list of additional Amazon EC2 security group IDs for the core and task
nodes.
$sel:ec2SubnetIds:JobFlowInstancesConfig'
, jobFlowInstancesConfig_ec2SubnetIds
- Applies to clusters that use the instance fleet configuration. When
multiple EC2 subnet IDs are specified, Amazon EMR evaluates them and
launches instances in the optimal subnet.
The instance fleet configuration is available only in Amazon EMR versions 4.8.0 and later, excluding 5.0.x versions.
$sel:hadoopVersion:JobFlowInstancesConfig'
, jobFlowInstancesConfig_hadoopVersion
- Applies only to Amazon EMR release versions earlier than 4.0. The Hadoop
version for the cluster. Valid inputs are "0.18" (no longer
maintained), "0.20" (no longer maintained), "0.20.205" (no longer
maintained), "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.
$sel:additionalMasterSecurityGroups:JobFlowInstancesConfig'
, jobFlowInstancesConfig_additionalMasterSecurityGroups
- A list of additional Amazon EC2 security group IDs for the master node.
$sel:emrManagedMasterSecurityGroup:JobFlowInstancesConfig'
, jobFlowInstancesConfig_emrManagedMasterSecurityGroup
- The identifier of the Amazon EC2 security group for the master node. If
you specify EmrManagedMasterSecurityGroup
, you must also specify
EmrManagedSlaveSecurityGroup
.
$sel:ec2SubnetId:JobFlowInstancesConfig'
, jobFlowInstancesConfig_ec2SubnetId
- Applies to clusters that use the uniform instance group configuration.
To launch the cluster in Amazon Virtual Private Cloud (Amazon VPC), set
this parameter to the identifier of the Amazon VPC subnet where you want
the cluster to launch. If you do not specify this value and your account
supports EC2-Classic, the cluster launches in EC2-Classic.
$sel:masterInstanceType:JobFlowInstancesConfig'
, jobFlowInstancesConfig_masterInstanceType
- The EC2 instance type of the master node.
$sel:instanceGroups:JobFlowInstancesConfig'
, jobFlowInstancesConfig_instanceGroups
- Configuration for the instance groups in a cluster.
$sel:keepJobFlowAliveWhenNoSteps:JobFlowInstancesConfig'
, jobFlowInstancesConfig_keepJobFlowAliveWhenNoSteps
- Specifies whether the cluster should remain available after completing
all steps. Defaults to true
. For more information about configuring
cluster termination, see
Control Cluster Termination
in the EMR Management Guide.
$sel:serviceAccessSecurityGroup:JobFlowInstancesConfig'
, jobFlowInstancesConfig_serviceAccessSecurityGroup
- The identifier of the Amazon EC2 security group for the Amazon EMR
service to access clusters in VPC private subnets.
$sel:terminationProtected:JobFlowInstancesConfig'
, jobFlowInstancesConfig_terminationProtected
- Specifies whether to lock the cluster to prevent the Amazon EC2
instances from being terminated by API call, user intervention, or in
the event of a job-flow error.
$sel:placement:JobFlowInstancesConfig'
, jobFlowInstancesConfig_placement
- The Availability Zone in which the cluster runs.
jobFlowInstancesConfig_instanceFleets :: Lens' JobFlowInstancesConfig (Maybe [InstanceFleetConfig]) Source #
The instance fleet configuration is available only in Amazon EMR versions 4.8.0 and later, excluding 5.0.x versions.
Describes the EC2 instances and instance configurations for clusters that use the instance fleet configuration.
jobFlowInstancesConfig_ec2KeyName :: Lens' JobFlowInstancesConfig (Maybe Text) Source #
The name of the EC2 key pair that can be used to connect to the master node using SSH as the user called "hadoop."
jobFlowInstancesConfig_slaveInstanceType :: Lens' JobFlowInstancesConfig (Maybe Text) Source #
The EC2 instance type of the core and task nodes.
jobFlowInstancesConfig_instanceCount :: Lens' JobFlowInstancesConfig (Maybe Int) Source #
The number of EC2 instances in the cluster.
jobFlowInstancesConfig_emrManagedSlaveSecurityGroup :: Lens' JobFlowInstancesConfig (Maybe Text) Source #
The identifier of the Amazon EC2 security group for the core and task
nodes. If you specify EmrManagedSlaveSecurityGroup
, you must also
specify EmrManagedMasterSecurityGroup
.
jobFlowInstancesConfig_additionalSlaveSecurityGroups :: Lens' JobFlowInstancesConfig (Maybe [Text]) Source #
A list of additional Amazon EC2 security group IDs for the core and task nodes.
jobFlowInstancesConfig_ec2SubnetIds :: Lens' JobFlowInstancesConfig (Maybe [Text]) Source #
Applies to clusters that use the instance fleet configuration. When multiple EC2 subnet IDs are specified, Amazon EMR evaluates them and launches instances in the optimal subnet.
The instance fleet configuration is available only in Amazon EMR versions 4.8.0 and later, excluding 5.0.x versions.
jobFlowInstancesConfig_hadoopVersion :: Lens' JobFlowInstancesConfig (Maybe Text) Source #
Applies only to Amazon EMR release versions earlier than 4.0. The Hadoop
version for the cluster. Valid inputs are "0.18" (no longer
maintained), "0.20" (no longer maintained), "0.20.205" (no longer
maintained), "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.
jobFlowInstancesConfig_additionalMasterSecurityGroups :: Lens' JobFlowInstancesConfig (Maybe [Text]) Source #
A list of additional Amazon EC2 security group IDs for the master node.
jobFlowInstancesConfig_emrManagedMasterSecurityGroup :: Lens' JobFlowInstancesConfig (Maybe Text) Source #
The identifier of the Amazon EC2 security group for the master node. If
you specify EmrManagedMasterSecurityGroup
, you must also specify
EmrManagedSlaveSecurityGroup
.
jobFlowInstancesConfig_ec2SubnetId :: Lens' JobFlowInstancesConfig (Maybe Text) Source #
Applies to clusters that use the uniform instance group configuration. To launch the cluster in Amazon Virtual Private Cloud (Amazon VPC), set this parameter to the identifier of the Amazon VPC subnet where you want the cluster to launch. If you do not specify this value and your account supports EC2-Classic, the cluster launches in EC2-Classic.
jobFlowInstancesConfig_masterInstanceType :: Lens' JobFlowInstancesConfig (Maybe Text) Source #
The EC2 instance type of the master node.
jobFlowInstancesConfig_instanceGroups :: Lens' JobFlowInstancesConfig (Maybe [InstanceGroupConfig]) Source #
Configuration for the instance groups in a cluster.
jobFlowInstancesConfig_keepJobFlowAliveWhenNoSteps :: Lens' JobFlowInstancesConfig (Maybe Bool) Source #
Specifies whether the cluster should remain available after completing
all steps. Defaults to true
. For more information about configuring
cluster termination, see
Control Cluster Termination
in the EMR Management Guide.
jobFlowInstancesConfig_serviceAccessSecurityGroup :: 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.
jobFlowInstancesConfig_terminationProtected :: Lens' JobFlowInstancesConfig (Maybe Bool) Source #
Specifies whether to lock the cluster to prevent the Amazon EC2 instances from being terminated by API call, user intervention, or in the event of a job-flow error.
jobFlowInstancesConfig_placement :: Lens' JobFlowInstancesConfig (Maybe PlacementType) Source #
The Availability Zone in which the cluster runs.
KerberosAttributes
data KerberosAttributes Source #
Attributes for Kerberos configuration when Kerberos authentication is enabled using a security configuration. For more information see Use Kerberos Authentication in the Amazon EMR Management Guide.
See: newKerberosAttributes
smart constructor.
KerberosAttributes' | |
|
Instances
newKerberosAttributes :: KerberosAttributes Source #
Create a value of KerberosAttributes
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:kdcAdminPassword:KerberosAttributes'
, kerberosAttributes_kdcAdminPassword
- The password used within the cluster for the kadmin service on the
cluster-dedicated KDC, which maintains Kerberos principals, password
policies, and keytabs for the cluster.
$sel:realm:KerberosAttributes'
, kerberosAttributes_realm
- The name of the Kerberos realm to which all nodes in a cluster belong.
For example, EC2.INTERNAL
.
$sel:aDDomainJoinPassword:KerberosAttributes'
, kerberosAttributes_aDDomainJoinPassword
- The Active Directory password for ADDomainJoinUser
.
$sel:crossRealmTrustPrincipalPassword:KerberosAttributes'
, kerberosAttributes_crossRealmTrustPrincipalPassword
- Required only when establishing a cross-realm trust with a KDC in a
different realm. The cross-realm principal password, which must be
identical across realms.
$sel:aDDomainJoinUser:KerberosAttributes'
, kerberosAttributes_aDDomainJoinUser
- Required only when establishing a cross-realm trust with an Active
Directory domain. A user with sufficient privileges to join resources to
the domain.
kerberosAttributes_kdcAdminPassword :: Lens' KerberosAttributes (Maybe Text) Source #
The password used within the cluster for the kadmin service on the cluster-dedicated KDC, which maintains Kerberos principals, password policies, and keytabs for the cluster.
kerberosAttributes_realm :: Lens' KerberosAttributes (Maybe Text) Source #
The name of the Kerberos realm to which all nodes in a cluster belong.
For example, EC2.INTERNAL
.
kerberosAttributes_aDDomainJoinPassword :: Lens' KerberosAttributes (Maybe Text) Source #
The Active Directory password for ADDomainJoinUser
.
kerberosAttributes_crossRealmTrustPrincipalPassword :: Lens' KerberosAttributes (Maybe Text) Source #
Required only when establishing a cross-realm trust with a KDC in a different realm. The cross-realm principal password, which must be identical across realms.
kerberosAttributes_aDDomainJoinUser :: Lens' KerberosAttributes (Maybe Text) Source #
Required only when establishing a cross-realm trust with an Active Directory domain. A user with sufficient privileges to join resources to the domain.
KeyValue
A key-value pair.
See: newKeyValue
smart constructor.
Instances
Eq KeyValue Source # | |
Read KeyValue Source # | |
Show KeyValue Source # | |
Generic KeyValue Source # | |
NFData KeyValue Source # | |
Defined in Amazonka.EMR.Types.KeyValue | |
Hashable KeyValue Source # | |
Defined in Amazonka.EMR.Types.KeyValue | |
ToJSON KeyValue Source # | |
Defined in Amazonka.EMR.Types.KeyValue | |
type Rep KeyValue Source # | |
Defined in Amazonka.EMR.Types.KeyValue type Rep KeyValue = D1 ('MetaData "KeyValue" "Amazonka.EMR.Types.KeyValue" "libZSservicesZSamazonka-emrZSamazonka-emr" 'False) (C1 ('MetaCons "KeyValue'" 'PrefixI 'True) (S1 ('MetaSel ('Just "value") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "key") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) |
newKeyValue :: KeyValue Source #
Create a value of KeyValue
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:value:KeyValue'
, keyValue_value
- The value part of the identified key.
$sel:key:KeyValue'
, keyValue_key
- The unique identifier of a key-value pair.
ManagedScalingPolicy
data ManagedScalingPolicy Source #
Managed scaling policy for an Amazon EMR cluster. The policy specifies the limits for resources that can be added or terminated from a cluster. The policy only applies to the core and task nodes. The master node cannot be scaled after initial configuration.
See: newManagedScalingPolicy
smart constructor.
ManagedScalingPolicy' | |
|
Instances
newManagedScalingPolicy :: ManagedScalingPolicy Source #
Create a value of ManagedScalingPolicy
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:computeLimits:ManagedScalingPolicy'
, managedScalingPolicy_computeLimits
- The EC2 unit limits for a managed scaling policy. The managed scaling
activity of a cluster is not allowed to go above or below these limits.
The limit only applies to the core and task nodes. The master node
cannot be scaled after initial configuration.
managedScalingPolicy_computeLimits :: Lens' ManagedScalingPolicy (Maybe ComputeLimits) Source #
The EC2 unit limits for a managed scaling policy. The managed scaling activity of a cluster is not allowed to go above or below these limits. The limit only applies to the core and task nodes. The master node cannot be scaled after initial configuration.
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.clusterId}
. This enables
the rule to bootstrap when the cluster ID becomes available.
See: newMetricDimension
smart constructor.
Instances
newMetricDimension :: MetricDimension Source #
Create a value of MetricDimension
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:value:MetricDimension'
, metricDimension_value
- The dimension value.
$sel:key:MetricDimension'
, metricDimension_key
- The dimension name.
metricDimension_value :: Lens' MetricDimension (Maybe Text) Source #
The dimension value.
metricDimension_key :: Lens' MetricDimension (Maybe Text) Source #
The dimension name.
NotebookExecution
data NotebookExecution Source #
A notebook execution. An execution is a specific instance that an EMR
Notebook is run using the StartNotebookExecution
action.
See: newNotebookExecution
smart constructor.
NotebookExecution' | |
|
Instances
newNotebookExecution :: NotebookExecution Source #
Create a value of NotebookExecution
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:status:NotebookExecution'
, notebookExecution_status
- The status of the notebook execution.
START_PENDING
indicates that the cluster has received the execution request but execution has not begun.STARTING
indicates that the execution is starting on the cluster.RUNNING
indicates that the execution is being processed by the cluster.FINISHING
indicates that execution processing is in the final stages.FINISHED
indicates that the execution has completed without error.FAILING
indicates that the execution is failing and will not finish successfully.FAILED
indicates that the execution failed.STOP_PENDING
indicates that the cluster has received aStopNotebookExecution
request and the stop is pending.STOPPING
indicates that the cluster is in the process of stopping the execution as a result of aStopNotebookExecution
request.STOPPED
indicates that the execution stopped because of aStopNotebookExecution
request.
$sel:executionEngine:NotebookExecution'
, notebookExecution_executionEngine
- The execution engine, such as an EMR cluster, used to run the EMR
notebook and perform the notebook execution.
$sel:notebookInstanceSecurityGroupId:NotebookExecution'
, notebookExecution_notebookInstanceSecurityGroupId
- The unique identifier of the EC2 security group associated with the EMR
Notebook instance. For more information see
Specifying EC2 Security Groups for EMR Notebooks
in the EMR Management Guide.
$sel:editorId:NotebookExecution'
, notebookExecution_editorId
- The unique identifier of the EMR Notebook that is used for the notebook
execution.
$sel:startTime:NotebookExecution'
, notebookExecution_startTime
- The timestamp when notebook execution started.
$sel:arn:NotebookExecution'
, notebookExecution_arn
- The Amazon Resource Name (ARN) of the notebook execution.
$sel:outputNotebookURI:NotebookExecution'
, notebookExecution_outputNotebookURI
- The location of the notebook execution's output file in Amazon S3.
$sel:notebookExecutionId:NotebookExecution'
, notebookExecution_notebookExecutionId
- The unique identifier of a notebook execution.
$sel:notebookExecutionName:NotebookExecution'
, notebookExecution_notebookExecutionName
- A name for the notebook execution.
$sel:lastStateChangeReason:NotebookExecution'
, notebookExecution_lastStateChangeReason
- The reason for the latest status change of the notebook execution.
$sel:endTime:NotebookExecution'
, notebookExecution_endTime
- The timestamp when notebook execution ended.
$sel:notebookParams:NotebookExecution'
, notebookExecution_notebookParams
- Input parameters in JSON format passed to the EMR Notebook at runtime
for execution.
$sel:tags:NotebookExecution'
, notebookExecution_tags
- A list of tags associated with a notebook execution. Tags are
user-defined key-value pairs that consist of a required key string with
a maximum of 128 characters and an optional value string with a maximum
of 256 characters.
notebookExecution_status :: Lens' NotebookExecution (Maybe NotebookExecutionStatus) Source #
The status of the notebook execution.
START_PENDING
indicates that the cluster has received the execution request but execution has not begun.STARTING
indicates that the execution is starting on the cluster.RUNNING
indicates that the execution is being processed by the cluster.FINISHING
indicates that execution processing is in the final stages.FINISHED
indicates that the execution has completed without error.FAILING
indicates that the execution is failing and will not finish successfully.FAILED
indicates that the execution failed.STOP_PENDING
indicates that the cluster has received aStopNotebookExecution
request and the stop is pending.STOPPING
indicates that the cluster is in the process of stopping the execution as a result of aStopNotebookExecution
request.STOPPED
indicates that the execution stopped because of aStopNotebookExecution
request.
notebookExecution_executionEngine :: Lens' NotebookExecution (Maybe ExecutionEngineConfig) Source #
The execution engine, such as an EMR cluster, used to run the EMR notebook and perform the notebook execution.
notebookExecution_notebookInstanceSecurityGroupId :: Lens' NotebookExecution (Maybe Text) Source #
The unique identifier of the EC2 security group associated with the EMR Notebook instance. For more information see Specifying EC2 Security Groups for EMR Notebooks in the EMR Management Guide.
notebookExecution_editorId :: Lens' NotebookExecution (Maybe Text) Source #
The unique identifier of the EMR Notebook that is used for the notebook execution.
notebookExecution_startTime :: Lens' NotebookExecution (Maybe UTCTime) Source #
The timestamp when notebook execution started.
notebookExecution_arn :: Lens' NotebookExecution (Maybe Text) Source #
The Amazon Resource Name (ARN) of the notebook execution.
notebookExecution_outputNotebookURI :: Lens' NotebookExecution (Maybe Text) Source #
The location of the notebook execution's output file in Amazon S3.
notebookExecution_notebookExecutionId :: Lens' NotebookExecution (Maybe Text) Source #
The unique identifier of a notebook execution.
notebookExecution_notebookExecutionName :: Lens' NotebookExecution (Maybe Text) Source #
A name for the notebook execution.
notebookExecution_lastStateChangeReason :: Lens' NotebookExecution (Maybe Text) Source #
The reason for the latest status change of the notebook execution.
notebookExecution_endTime :: Lens' NotebookExecution (Maybe UTCTime) Source #
The timestamp when notebook execution ended.
notebookExecution_notebookParams :: Lens' NotebookExecution (Maybe Text) Source #
Input parameters in JSON format passed to the EMR Notebook at runtime for execution.
notebookExecution_tags :: Lens' NotebookExecution (Maybe [Tag]) Source #
A list of tags associated with a notebook execution. Tags are user-defined key-value pairs that consist of a required key string with a maximum of 128 characters and an optional value string with a maximum of 256 characters.
NotebookExecutionSummary
data NotebookExecutionSummary Source #
Details for a notebook execution. The details include information such as the unique ID and status of the notebook execution.
See: newNotebookExecutionSummary
smart constructor.
NotebookExecutionSummary' | |
|
Instances
newNotebookExecutionSummary :: NotebookExecutionSummary Source #
Create a value of NotebookExecutionSummary
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:status:NotebookExecutionSummary'
, notebookExecutionSummary_status
- The status of the notebook execution.
START_PENDING
indicates that the cluster has received the execution request but execution has not begun.STARTING
indicates that the execution is starting on the cluster.RUNNING
indicates that the execution is being processed by the cluster.FINISHING
indicates that execution processing is in the final stages.FINISHED
indicates that the execution has completed without error.FAILING
indicates that the execution is failing and will not finish successfully.FAILED
indicates that the execution failed.STOP_PENDING
indicates that the cluster has received aStopNotebookExecution
request and the stop is pending.STOPPING
indicates that the cluster is in the process of stopping the execution as a result of aStopNotebookExecution
request.STOPPED
indicates that the execution stopped because of aStopNotebookExecution
request.
$sel:editorId:NotebookExecutionSummary'
, notebookExecutionSummary_editorId
- The unique identifier of the editor associated with the notebook
execution.
$sel:startTime:NotebookExecutionSummary'
, notebookExecutionSummary_startTime
- The timestamp when notebook execution started.
$sel:notebookExecutionId:NotebookExecutionSummary'
, notebookExecutionSummary_notebookExecutionId
- The unique identifier of the notebook execution.
$sel:notebookExecutionName:NotebookExecutionSummary'
, notebookExecutionSummary_notebookExecutionName
- The name of the notebook execution.
$sel:endTime:NotebookExecutionSummary'
, notebookExecutionSummary_endTime
- The timestamp when notebook execution started.
notebookExecutionSummary_status :: Lens' NotebookExecutionSummary (Maybe NotebookExecutionStatus) Source #
The status of the notebook execution.
START_PENDING
indicates that the cluster has received the execution request but execution has not begun.STARTING
indicates that the execution is starting on the cluster.RUNNING
indicates that the execution is being processed by the cluster.FINISHING
indicates that execution processing is in the final stages.FINISHED
indicates that the execution has completed without error.FAILING
indicates that the execution is failing and will not finish successfully.FAILED
indicates that the execution failed.STOP_PENDING
indicates that the cluster has received aStopNotebookExecution
request and the stop is pending.STOPPING
indicates that the cluster is in the process of stopping the execution as a result of aStopNotebookExecution
request.STOPPED
indicates that the execution stopped because of aStopNotebookExecution
request.
notebookExecutionSummary_editorId :: Lens' NotebookExecutionSummary (Maybe Text) Source #
The unique identifier of the editor associated with the notebook execution.
notebookExecutionSummary_startTime :: Lens' NotebookExecutionSummary (Maybe UTCTime) Source #
The timestamp when notebook execution started.
notebookExecutionSummary_notebookExecutionId :: Lens' NotebookExecutionSummary (Maybe Text) Source #
The unique identifier of the notebook execution.
notebookExecutionSummary_notebookExecutionName :: Lens' NotebookExecutionSummary (Maybe Text) Source #
The name of the notebook execution.
notebookExecutionSummary_endTime :: Lens' NotebookExecutionSummary (Maybe UTCTime) Source #
The timestamp when notebook execution started.
OnDemandCapacityReservationOptions
data OnDemandCapacityReservationOptions Source #
Describes the strategy for using unused Capacity Reservations for fulfilling On-Demand capacity.
See: newOnDemandCapacityReservationOptions
smart constructor.
OnDemandCapacityReservationOptions' | |
|
Instances
newOnDemandCapacityReservationOptions :: OnDemandCapacityReservationOptions Source #
Create a value of OnDemandCapacityReservationOptions
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:usageStrategy:OnDemandCapacityReservationOptions'
, onDemandCapacityReservationOptions_usageStrategy
- Indicates whether to use unused Capacity Reservations for fulfilling
On-Demand capacity.
If you specify use-capacity-reservations-first
, the fleet uses unused
Capacity Reservations to fulfill On-Demand capacity up to the target
On-Demand capacity. If multiple instance pools have unused Capacity
Reservations, the On-Demand allocation strategy (lowest-price
) is
applied. If the number of unused Capacity Reservations is less than the
On-Demand target capacity, the remaining On-Demand target capacity is
launched according to the On-Demand allocation strategy
(lowest-price
).
If you do not specify a value, the fleet fulfills the On-Demand capacity according to the chosen On-Demand allocation strategy.
$sel:capacityReservationResourceGroupArn:OnDemandCapacityReservationOptions'
, onDemandCapacityReservationOptions_capacityReservationResourceGroupArn
- The ARN of the Capacity Reservation resource group in which to run the
instance.
$sel:capacityReservationPreference:OnDemandCapacityReservationOptions'
, onDemandCapacityReservationOptions_capacityReservationPreference
- Indicates the instance's Capacity Reservation preferences. Possible
preferences include:
open
- The instance can run in any open Capacity Reservation that has matching attributes (instance type, platform, Availability Zone).none
- The instance avoids running in a Capacity Reservation even if one is available. The instance runs as an On-Demand Instance.
onDemandCapacityReservationOptions_usageStrategy :: Lens' OnDemandCapacityReservationOptions (Maybe OnDemandCapacityReservationUsageStrategy) Source #
Indicates whether to use unused Capacity Reservations for fulfilling On-Demand capacity.
If you specify use-capacity-reservations-first
, the fleet uses unused
Capacity Reservations to fulfill On-Demand capacity up to the target
On-Demand capacity. If multiple instance pools have unused Capacity
Reservations, the On-Demand allocation strategy (lowest-price
) is
applied. If the number of unused Capacity Reservations is less than the
On-Demand target capacity, the remaining On-Demand target capacity is
launched according to the On-Demand allocation strategy
(lowest-price
).
If you do not specify a value, the fleet fulfills the On-Demand capacity according to the chosen On-Demand allocation strategy.
onDemandCapacityReservationOptions_capacityReservationResourceGroupArn :: Lens' OnDemandCapacityReservationOptions (Maybe Text) Source #
The ARN of the Capacity Reservation resource group in which to run the instance.
onDemandCapacityReservationOptions_capacityReservationPreference :: Lens' OnDemandCapacityReservationOptions (Maybe OnDemandCapacityReservationPreference) Source #
Indicates the instance's Capacity Reservation preferences. Possible preferences include:
open
- The instance can run in any open Capacity Reservation that has matching attributes (instance type, platform, Availability Zone).none
- The instance avoids running in a Capacity Reservation even if one is available. The instance runs as an On-Demand Instance.
OnDemandProvisioningSpecification
data OnDemandProvisioningSpecification Source #
The launch specification for On-Demand Instances in the instance fleet, which determines the allocation strategy.
The instance fleet configuration is available only in Amazon EMR versions 4.8.0 and later, excluding 5.0.x versions. On-Demand Instances allocation strategy is available in Amazon EMR version 5.12.1 and later.
See: newOnDemandProvisioningSpecification
smart constructor.
OnDemandProvisioningSpecification' | |
|
Instances
newOnDemandProvisioningSpecification Source #
Create a value of OnDemandProvisioningSpecification
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:capacityReservationOptions:OnDemandProvisioningSpecification'
, onDemandProvisioningSpecification_capacityReservationOptions
- The launch specification for On-Demand instances in the instance fleet,
which determines the allocation strategy.
$sel:allocationStrategy:OnDemandProvisioningSpecification'
, onDemandProvisioningSpecification_allocationStrategy
- Specifies the strategy to use in launching On-Demand instance fleets.
Currently, the only option is lowest-price
(the default), which
launches the lowest price first.
onDemandProvisioningSpecification_capacityReservationOptions :: Lens' OnDemandProvisioningSpecification (Maybe OnDemandCapacityReservationOptions) Source #
The launch specification for On-Demand instances in the instance fleet, which determines the allocation strategy.
onDemandProvisioningSpecification_allocationStrategy :: Lens' OnDemandProvisioningSpecification OnDemandProvisioningAllocationStrategy Source #
Specifies the strategy to use in launching On-Demand instance fleets.
Currently, the only option is lowest-price
(the default), which
launches the lowest price first.
PlacementGroupConfig
data PlacementGroupConfig Source #
Placement group configuration for an Amazon EMR cluster. The configuration specifies the placement strategy that can be applied to instance roles during cluster creation.
To use this configuration, consider attaching managed policy AmazonElasticMapReducePlacementGroupPolicy to the EMR role.
See: newPlacementGroupConfig
smart constructor.
PlacementGroupConfig' | |
|
Instances
newPlacementGroupConfig Source #
Create a value of PlacementGroupConfig
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:placementStrategy:PlacementGroupConfig'
, placementGroupConfig_placementStrategy
- EC2 Placement Group strategy associated with instance role.
Starting with Amazon EMR version 5.23.0, the only supported placement
strategy is SPREAD
for the MASTER
instance role.
$sel:instanceRole:PlacementGroupConfig'
, placementGroupConfig_instanceRole
- Role of the instance in the cluster.
Starting with Amazon EMR version 5.23.0, the only supported instance
role is MASTER
.
placementGroupConfig_placementStrategy :: Lens' PlacementGroupConfig (Maybe PlacementGroupStrategy) Source #
EC2 Placement Group strategy associated with instance role.
Starting with Amazon EMR version 5.23.0, the only supported placement
strategy is SPREAD
for the MASTER
instance role.
placementGroupConfig_instanceRole :: Lens' PlacementGroupConfig InstanceRoleType Source #
Role of the instance in the cluster.
Starting with Amazon EMR version 5.23.0, the only supported instance
role is MASTER
.
PlacementType
data PlacementType Source #
The Amazon EC2 Availability Zone configuration of the cluster (job flow).
See: newPlacementType
smart constructor.
PlacementType' | |
|
Instances
newPlacementType :: PlacementType Source #
Create a value of PlacementType
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:availabilityZones:PlacementType'
, placementType_availabilityZones
- When multiple Availability Zones are specified, Amazon EMR evaluates
them and launches instances in the optimal Availability Zone.
AvailabilityZones
is used for instance fleets, while
AvailabilityZone
(singular) is used for uniform instance groups.
The instance fleet configuration is available only in Amazon EMR versions 4.8.0 and later, excluding 5.0.x versions.
$sel:availabilityZone:PlacementType'
, placementType_availabilityZone
- The Amazon EC2 Availability Zone for the cluster. AvailabilityZone
is
used for uniform instance groups, while AvailabilityZones
(plural) is
used for instance fleets.
placementType_availabilityZones :: Lens' PlacementType (Maybe [Text]) Source #
When multiple Availability Zones are specified, Amazon EMR evaluates
them and launches instances in the optimal Availability Zone.
AvailabilityZones
is used for instance fleets, while
AvailabilityZone
(singular) is used for uniform instance groups.
The instance fleet configuration is available only in Amazon EMR versions 4.8.0 and later, excluding 5.0.x versions.
placementType_availabilityZone :: Lens' PlacementType (Maybe Text) Source #
The Amazon EC2 Availability Zone for the cluster. AvailabilityZone
is
used for uniform instance groups, while AvailabilityZones
(plural) is
used for instance fleets.
PortRange
A list of port ranges that are permitted to allow inbound traffic from
all public IP addresses. To specify a single port, use the same value
for MinRange
and MaxRange
.
See: newPortRange
smart constructor.
Instances
Eq PortRange Source # | |
Read PortRange Source # | |
Show PortRange Source # | |
Generic PortRange Source # | |
NFData PortRange Source # | |
Defined in Amazonka.EMR.Types.PortRange | |
Hashable PortRange Source # | |
Defined in Amazonka.EMR.Types.PortRange | |
ToJSON PortRange Source # | |
Defined in Amazonka.EMR.Types.PortRange | |
FromJSON PortRange Source # | |
type Rep PortRange Source # | |
Defined in Amazonka.EMR.Types.PortRange type Rep PortRange = D1 ('MetaData "PortRange" "Amazonka.EMR.Types.PortRange" "libZSservicesZSamazonka-emrZSamazonka-emr" 'False) (C1 ('MetaCons "PortRange'" 'PrefixI 'True) (S1 ('MetaSel ('Just "maxRange") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: S1 ('MetaSel ('Just "minRange") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
Create a value of PortRange
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:maxRange:PortRange'
, portRange_maxRange
- The smallest port number in a specified range of port numbers.
$sel:minRange:PortRange'
, portRange_minRange
- The smallest port number in a specified range of port numbers.
portRange_maxRange :: Lens' PortRange (Maybe Int) Source #
The smallest port number in a specified range of port numbers.
portRange_minRange :: Lens' PortRange Int Source #
The smallest port number in a specified range of port numbers.
ReleaseLabelFilter
data ReleaseLabelFilter Source #
The release label filters by application or version prefix.
See: newReleaseLabelFilter
smart constructor.
Instances
newReleaseLabelFilter :: ReleaseLabelFilter Source #
Create a value of ReleaseLabelFilter
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:application:ReleaseLabelFilter'
, releaseLabelFilter_application
- Optional release label application filter. For example, spark@2.1.0
.
$sel:prefix:ReleaseLabelFilter'
, releaseLabelFilter_prefix
- Optional release label version prefix filter. For example, emr-5
.
releaseLabelFilter_application :: Lens' ReleaseLabelFilter (Maybe Text) Source #
Optional release label application filter. For example, spark@2.1.0
.
releaseLabelFilter_prefix :: Lens' ReleaseLabelFilter (Maybe Text) Source #
Optional release label version prefix filter. For example, emr-5
.
ScalingAction
data ScalingAction Source #
The type of adjustment the automatic scaling activity makes when triggered, and the periodicity of the adjustment.
See: newScalingAction
smart constructor.
ScalingAction' | |
|
Instances
Create a value of ScalingAction
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:market:ScalingAction'
, scalingAction_market
- Not available for instance groups. Instance groups use the market type
specified for the group.
$sel:simpleScalingPolicyConfiguration:ScalingAction'
, scalingAction_simpleScalingPolicyConfiguration
- The type of adjustment the automatic scaling activity makes when
triggered, and the periodicity of the adjustment.
scalingAction_market :: Lens' ScalingAction (Maybe MarketType) Source #
Not available for instance groups. Instance groups use the market type specified for the group.
scalingAction_simpleScalingPolicyConfiguration :: 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: newScalingConstraints
smart constructor.
ScalingConstraints' | |
|
Instances
newScalingConstraints Source #
:: Int | |
-> Int | |
-> ScalingConstraints |
Create a value of ScalingConstraints
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:minCapacity:ScalingConstraints'
, scalingConstraints_minCapacity
- 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.
$sel:maxCapacity:ScalingConstraints'
, scalingConstraints_maxCapacity
- 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.
scalingConstraints_minCapacity :: 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.
scalingConstraints_maxCapacity :: 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: newScalingRule
smart constructor.
ScalingRule' | |
|
Instances
:: Text | |
-> ScalingAction | |
-> ScalingTrigger | |
-> ScalingRule |
Create a value of ScalingRule
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:description:ScalingRule'
, scalingRule_description
- A friendly, more verbose description of the automatic scaling rule.
$sel:name:ScalingRule'
, scalingRule_name
- The name used to identify an automatic scaling rule. Rule names must be
unique within a scaling policy.
$sel:action:ScalingRule'
, scalingRule_action
- The conditions that trigger an automatic scaling activity.
$sel:trigger:ScalingRule'
, scalingRule_trigger
- The CloudWatch alarm definition that determines when automatic scaling
activity is triggered.
scalingRule_description :: Lens' ScalingRule (Maybe Text) Source #
A friendly, more verbose description of the automatic scaling rule.
scalingRule_name :: Lens' ScalingRule Text Source #
The name used to identify an automatic scaling rule. Rule names must be unique within a scaling policy.
scalingRule_action :: Lens' ScalingRule ScalingAction Source #
The conditions that trigger an automatic scaling activity.
scalingRule_trigger :: 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: newScalingTrigger
smart constructor.
ScalingTrigger' | |
|
Instances
Create a value of ScalingTrigger
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:cloudWatchAlarmDefinition:ScalingTrigger'
, scalingTrigger_cloudWatchAlarmDefinition
- The definition of a CloudWatch metric alarm. When the defined alarm
conditions are met along with other trigger parameters, scaling activity
begins.
scalingTrigger_cloudWatchAlarmDefinition :: 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: newScriptBootstrapActionConfig
smart constructor.
Instances
newScriptBootstrapActionConfig Source #
Create a value of ScriptBootstrapActionConfig
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:args:ScriptBootstrapActionConfig'
, scriptBootstrapActionConfig_args
- A list of command line arguments to pass to the bootstrap action script.
$sel:path:ScriptBootstrapActionConfig'
, scriptBootstrapActionConfig_path
- Location in Amazon S3 of the script to run during a bootstrap action.
scriptBootstrapActionConfig_args :: Lens' ScriptBootstrapActionConfig (Maybe [Text]) Source #
A list of command line arguments to pass to the bootstrap action script.
scriptBootstrapActionConfig_path :: Lens' ScriptBootstrapActionConfig Text Source #
Location in Amazon S3 of the script to run during a bootstrap action.
SecurityConfigurationSummary
data SecurityConfigurationSummary Source #
The creation date and time, and name, of a security configuration.
See: newSecurityConfigurationSummary
smart constructor.
Instances
newSecurityConfigurationSummary :: SecurityConfigurationSummary Source #
Create a value of SecurityConfigurationSummary
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:name:SecurityConfigurationSummary'
, securityConfigurationSummary_name
- The name of the security configuration.
$sel:creationDateTime:SecurityConfigurationSummary'
, securityConfigurationSummary_creationDateTime
- The date and time the security configuration was created.
securityConfigurationSummary_name :: Lens' SecurityConfigurationSummary (Maybe Text) Source #
The name of the security configuration.
securityConfigurationSummary_creationDateTime :: Lens' SecurityConfigurationSummary (Maybe UTCTime) Source #
The date and time the security configuration was created.
SessionMappingDetail
data SessionMappingDetail Source #
Details for an Amazon EMR Studio session mapping including creation time, user or group ID, Studio ID, and so on.
See: newSessionMappingDetail
smart constructor.
SessionMappingDetail' | |
|
Instances
newSessionMappingDetail :: SessionMappingDetail Source #
Create a value of SessionMappingDetail
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:creationTime:SessionMappingDetail'
, sessionMappingDetail_creationTime
- The time the session mapping was created.
$sel:studioId:SessionMappingDetail'
, sessionMappingDetail_studioId
- The ID of the Amazon EMR Studio.
$sel:lastModifiedTime:SessionMappingDetail'
, sessionMappingDetail_lastModifiedTime
- The time the session mapping was last modified.
$sel:identityType:SessionMappingDetail'
, sessionMappingDetail_identityType
- Specifies whether the identity mapped to the Amazon EMR Studio is a user
or a group.
$sel:identityId:SessionMappingDetail'
, sessionMappingDetail_identityId
- The globally unique identifier (GUID) of the user or group.
$sel:sessionPolicyArn:SessionMappingDetail'
, sessionMappingDetail_sessionPolicyArn
- The Amazon Resource Name (ARN) of the session policy associated with the
user or group.
$sel:identityName:SessionMappingDetail'
, sessionMappingDetail_identityName
- The name of the user or group. For more information, see
UserName
and
DisplayName
in the Amazon Web Services SSO Identity Store API Reference.
sessionMappingDetail_creationTime :: Lens' SessionMappingDetail (Maybe UTCTime) Source #
The time the session mapping was created.
sessionMappingDetail_studioId :: Lens' SessionMappingDetail (Maybe Text) Source #
The ID of the Amazon EMR Studio.
sessionMappingDetail_lastModifiedTime :: Lens' SessionMappingDetail (Maybe UTCTime) Source #
The time the session mapping was last modified.
sessionMappingDetail_identityType :: Lens' SessionMappingDetail (Maybe IdentityType) Source #
Specifies whether the identity mapped to the Amazon EMR Studio is a user or a group.
sessionMappingDetail_identityId :: Lens' SessionMappingDetail (Maybe Text) Source #
The globally unique identifier (GUID) of the user or group.
sessionMappingDetail_sessionPolicyArn :: Lens' SessionMappingDetail (Maybe Text) Source #
The Amazon Resource Name (ARN) of the session policy associated with the user or group.
sessionMappingDetail_identityName :: Lens' SessionMappingDetail (Maybe Text) Source #
The name of the user or group. For more information, see UserName and DisplayName in the Amazon Web Services SSO Identity Store API Reference.
SessionMappingSummary
data SessionMappingSummary Source #
Details for an Amazon EMR Studio session mapping. The details do not include the time the session mapping was last modified.
See: newSessionMappingSummary
smart constructor.
SessionMappingSummary' | |
|
Instances
newSessionMappingSummary :: SessionMappingSummary Source #
Create a value of SessionMappingSummary
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:creationTime:SessionMappingSummary'
, sessionMappingSummary_creationTime
- The time the session mapping was created.
$sel:studioId:SessionMappingSummary'
, sessionMappingSummary_studioId
- The ID of the Amazon EMR Studio.
$sel:identityType:SessionMappingSummary'
, sessionMappingSummary_identityType
- Specifies whether the identity mapped to the Amazon EMR Studio is a user
or a group.
$sel:identityId:SessionMappingSummary'
, sessionMappingSummary_identityId
- The globally unique identifier (GUID) of the user or group from the
Amazon Web Services SSO Identity Store.
$sel:sessionPolicyArn:SessionMappingSummary'
, sessionMappingSummary_sessionPolicyArn
- The Amazon Resource Name (ARN) of the session policy associated with the
user or group.
$sel:identityName:SessionMappingSummary'
, sessionMappingSummary_identityName
- The name of the user or group. For more information, see
UserName
and
DisplayName
in the Amazon Web Services SSO Identity Store API Reference.
sessionMappingSummary_creationTime :: Lens' SessionMappingSummary (Maybe UTCTime) Source #
The time the session mapping was created.
sessionMappingSummary_studioId :: Lens' SessionMappingSummary (Maybe Text) Source #
The ID of the Amazon EMR Studio.
sessionMappingSummary_identityType :: Lens' SessionMappingSummary (Maybe IdentityType) Source #
Specifies whether the identity mapped to the Amazon EMR Studio is a user or a group.
sessionMappingSummary_identityId :: Lens' SessionMappingSummary (Maybe Text) Source #
The globally unique identifier (GUID) of the user or group from the Amazon Web Services SSO Identity Store.
sessionMappingSummary_sessionPolicyArn :: Lens' SessionMappingSummary (Maybe Text) Source #
The Amazon Resource Name (ARN) of the session policy associated with the user or group.
sessionMappingSummary_identityName :: Lens' SessionMappingSummary (Maybe Text) Source #
The name of the user or group. For more information, see UserName and DisplayName in the Amazon Web Services SSO Identity Store API Reference.
ShrinkPolicy
data ShrinkPolicy Source #
Policy for customizing shrink operations. Allows configuration of decommissioning timeout and targeted instance shrinking.
See: newShrinkPolicy
smart constructor.
ShrinkPolicy' | |
|
Instances
newShrinkPolicy :: ShrinkPolicy Source #
Create a value of ShrinkPolicy
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:decommissionTimeout:ShrinkPolicy'
, shrinkPolicy_decommissionTimeout
- The desired timeout for decommissioning an instance. Overrides the
default YARN decommissioning timeout.
$sel:instanceResizePolicy:ShrinkPolicy'
, shrinkPolicy_instanceResizePolicy
- Custom policy for requesting termination protection or termination of
specific instances when shrinking an instance group.
shrinkPolicy_decommissionTimeout :: Lens' ShrinkPolicy (Maybe Int) Source #
The desired timeout for decommissioning an instance. Overrides the default YARN decommissioning timeout.
shrinkPolicy_instanceResizePolicy :: 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: newSimpleScalingPolicyConfiguration
smart constructor.
SimpleScalingPolicyConfiguration' | |
|
Instances
newSimpleScalingPolicyConfiguration Source #
Create a value of SimpleScalingPolicyConfiguration
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:adjustmentType:SimpleScalingPolicyConfiguration'
, simpleScalingPolicyConfiguration_adjustmentType
- 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 an
integer. For example, 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.
$sel:coolDown:SimpleScalingPolicyConfiguration'
, simpleScalingPolicyConfiguration_coolDown
- 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.
$sel:scalingAdjustment:SimpleScalingPolicyConfiguration'
, simpleScalingPolicyConfiguration_scalingAdjustment
- 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
an integer. For example, -20 indicates a decrease in 20% increments of
cluster capacity.
simpleScalingPolicyConfiguration_adjustmentType :: 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 an
integer. For example, 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.
simpleScalingPolicyConfiguration_coolDown :: 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.
simpleScalingPolicyConfiguration_scalingAdjustment :: 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
an integer. For example, -20 indicates a decrease in 20% increments of
cluster capacity.
SimplifiedApplication
data SimplifiedApplication Source #
The returned release label application names or versions.
See: newSimplifiedApplication
smart constructor.
Instances
newSimplifiedApplication :: SimplifiedApplication Source #
Create a value of SimplifiedApplication
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:name:SimplifiedApplication'
, simplifiedApplication_name
- The returned release label application name. For example, hadoop
.
$sel:version:SimplifiedApplication'
, simplifiedApplication_version
- The returned release label application version. For example, 3.2.1
.
simplifiedApplication_name :: Lens' SimplifiedApplication (Maybe Text) Source #
The returned release label application name. For example, hadoop
.
simplifiedApplication_version :: Lens' SimplifiedApplication (Maybe Text) Source #
The returned release label application version. For example, 3.2.1
.
SpotProvisioningSpecification
data SpotProvisioningSpecification Source #
The launch specification for Spot Instances in the instance fleet, which determines the defined duration, provisioning timeout behavior, and allocation strategy.
The instance fleet configuration is available only in Amazon EMR versions 4.8.0 and later, excluding 5.0.x versions. Spot Instance allocation strategy is available in Amazon EMR version 5.12.1 and later.
See: newSpotProvisioningSpecification
smart constructor.
SpotProvisioningSpecification' | |
|
Instances
newSpotProvisioningSpecification Source #
Create a value of SpotProvisioningSpecification
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:blockDurationMinutes:SpotProvisioningSpecification'
, spotProvisioningSpecification_blockDurationMinutes
- The defined duration for Spot Instances (also known as Spot blocks) in
minutes. When specified, the Spot Instance does not terminate before the
defined duration expires, and defined duration pricing for Spot
Instances applies. Valid values are 60, 120, 180, 240, 300, or 360. The
duration period starts as soon as a Spot Instance receives its instance
ID. At the end of the duration, Amazon EC2 marks the Spot Instance for
termination and provides a Spot Instance termination notice, which gives
the instance a two-minute warning before it terminates.
$sel:allocationStrategy:SpotProvisioningSpecification'
, spotProvisioningSpecification_allocationStrategy
- Specifies the strategy to use in launching Spot Instance fleets.
Currently, the only option is capacity-optimized (the default), which
launches instances from Spot Instance pools with optimal capacity for
the number of instances that are launching.
$sel:timeoutDurationMinutes:SpotProvisioningSpecification'
, spotProvisioningSpecification_timeoutDurationMinutes
- The spot provisioning timeout period in minutes. If Spot Instances are
not provisioned within this time period, the TimeOutAction
is taken.
Minimum value is 5 and maximum value is 1440. The timeout applies only
during initial provisioning, when the cluster is first created.
$sel:timeoutAction:SpotProvisioningSpecification'
, spotProvisioningSpecification_timeoutAction
- The action to take when TargetSpotCapacity
has not been fulfilled when
the TimeoutDurationMinutes
has expired; that is, when all Spot
Instances could not be provisioned within the Spot provisioning timeout.
Valid values are TERMINATE_CLUSTER
and SWITCH_TO_ON_DEMAND
.
SWITCH_TO_ON_DEMAND specifies that if no Spot Instances are available,
On-Demand Instances should be provisioned to fulfill any remaining Spot
capacity.
spotProvisioningSpecification_blockDurationMinutes :: Lens' SpotProvisioningSpecification (Maybe Natural) Source #
The defined duration for Spot Instances (also known as Spot blocks) in minutes. When specified, the Spot Instance does not terminate before the defined duration expires, and defined duration pricing for Spot Instances applies. Valid values are 60, 120, 180, 240, 300, or 360. The duration period starts as soon as a Spot Instance receives its instance ID. At the end of the duration, Amazon EC2 marks the Spot Instance for termination and provides a Spot Instance termination notice, which gives the instance a two-minute warning before it terminates.
spotProvisioningSpecification_allocationStrategy :: Lens' SpotProvisioningSpecification (Maybe SpotProvisioningAllocationStrategy) Source #
Specifies the strategy to use in launching Spot Instance fleets. Currently, the only option is capacity-optimized (the default), which launches instances from Spot Instance pools with optimal capacity for the number of instances that are launching.
spotProvisioningSpecification_timeoutDurationMinutes :: Lens' SpotProvisioningSpecification Natural Source #
The spot provisioning timeout period in minutes. If Spot Instances are
not provisioned within this time period, the TimeOutAction
is taken.
Minimum value is 5 and maximum value is 1440. The timeout applies only
during initial provisioning, when the cluster is first created.
spotProvisioningSpecification_timeoutAction :: Lens' SpotProvisioningSpecification SpotProvisioningTimeoutAction Source #
The action to take when TargetSpotCapacity
has not been fulfilled when
the TimeoutDurationMinutes
has expired; that is, when all Spot
Instances could not be provisioned within the Spot provisioning timeout.
Valid values are TERMINATE_CLUSTER
and SWITCH_TO_ON_DEMAND
.
SWITCH_TO_ON_DEMAND specifies that if no Spot Instances are available,
On-Demand Instances should be provisioned to fulfill any remaining Spot
capacity.
Step
This represents a step in a cluster.
See: newStep
smart constructor.
Step' | |
|
Instances
Create a value of Step
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:status:Step'
, step_status
- The current execution status details of the cluster step.
$sel:actionOnFailure:Step'
, step_actionOnFailure
- The action to take when the cluster step fails. Possible values are
TERMINATE_CLUSTER
, CANCEL_AND_WAIT
, and CONTINUE
.
TERMINATE_JOB_FLOW
is provided for backward compatibility. We
recommend using TERMINATE_CLUSTER
instead.
If a cluster's StepConcurrencyLevel
is greater than 1
, do not use
AddJobFlowSteps
to submit a step with this parameter set to
CANCEL_AND_WAIT
or TERMINATE_CLUSTER
. The step is not submitted and
the action fails with a message that the ActionOnFailure
setting is
not valid.
If you change a cluster's StepConcurrencyLevel
to be greater than 1
while a step is running, the ActionOnFailure
parameter may not behave
as you expect. In this case, for a step that fails with this parameter
set to CANCEL_AND_WAIT
, pending steps and the running step are not
canceled; for a step that fails with this parameter set to
TERMINATE_CLUSTER
, the cluster does not terminate.
$sel:config:Step'
, step_config
- The Hadoop job configuration of the cluster step.
$sel:name:Step'
, step_name
- The name of the cluster step.
$sel:id:Step'
, step_id
- The identifier of the cluster step.
step_status :: Lens' Step (Maybe StepStatus) Source #
The current execution status details of the cluster step.
step_actionOnFailure :: Lens' Step (Maybe ActionOnFailure) Source #
The action to take when the cluster step fails. Possible values are
TERMINATE_CLUSTER
, CANCEL_AND_WAIT
, and CONTINUE
.
TERMINATE_JOB_FLOW
is provided for backward compatibility. We
recommend using TERMINATE_CLUSTER
instead.
If a cluster's StepConcurrencyLevel
is greater than 1
, do not use
AddJobFlowSteps
to submit a step with this parameter set to
CANCEL_AND_WAIT
or TERMINATE_CLUSTER
. The step is not submitted and
the action fails with a message that the ActionOnFailure
setting is
not valid.
If you change a cluster's StepConcurrencyLevel
to be greater than 1
while a step is running, the ActionOnFailure
parameter may not behave
as you expect. In this case, for a step that fails with this parameter
set to CANCEL_AND_WAIT
, pending steps and the running step are not
canceled; for a step that fails with this parameter set to
TERMINATE_CLUSTER
, the cluster does not terminate.
step_config :: Lens' Step (Maybe HadoopStepConfig) Source #
The Hadoop job configuration of the cluster step.
StepConfig
data StepConfig Source #
Specification for a cluster (job flow) step.
See: newStepConfig
smart constructor.
StepConfig' | |
|
Instances
Create a value of StepConfig
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:actionOnFailure:StepConfig'
, stepConfig_actionOnFailure
- The action to take when the step fails. Use one of the following values:
TERMINATE_CLUSTER
- Shuts down the cluster.CANCEL_AND_WAIT
- Cancels any pending steps and returns the cluster to theWAITING
state.CONTINUE
- Continues to the next step in the queue.TERMINATE_JOB_FLOW
- Shuts down the cluster.TERMINATE_JOB_FLOW
is provided for backward compatibility. We recommend usingTERMINATE_CLUSTER
instead.
If a cluster's StepConcurrencyLevel
is greater than 1
, do not use
AddJobFlowSteps
to submit a step with this parameter set to
CANCEL_AND_WAIT
or TERMINATE_CLUSTER
. The step is not submitted and
the action fails with a message that the ActionOnFailure
setting is
not valid.
If you change a cluster's StepConcurrencyLevel
to be greater than 1
while a step is running, the ActionOnFailure
parameter may not behave
as you expect. In this case, for a step that fails with this parameter
set to CANCEL_AND_WAIT
, pending steps and the running step are not
canceled; for a step that fails with this parameter set to
TERMINATE_CLUSTER
, the cluster does not terminate.
$sel:name:StepConfig'
, stepConfig_name
- The name of the step.
$sel:hadoopJarStep:StepConfig'
, stepConfig_hadoopJarStep
- The JAR file used for the step.
stepConfig_actionOnFailure :: Lens' StepConfig (Maybe ActionOnFailure) Source #
The action to take when the step fails. Use one of the following values:
TERMINATE_CLUSTER
- Shuts down the cluster.CANCEL_AND_WAIT
- Cancels any pending steps and returns the cluster to theWAITING
state.CONTINUE
- Continues to the next step in the queue.TERMINATE_JOB_FLOW
- Shuts down the cluster.TERMINATE_JOB_FLOW
is provided for backward compatibility. We recommend usingTERMINATE_CLUSTER
instead.
If a cluster's StepConcurrencyLevel
is greater than 1
, do not use
AddJobFlowSteps
to submit a step with this parameter set to
CANCEL_AND_WAIT
or TERMINATE_CLUSTER
. The step is not submitted and
the action fails with a message that the ActionOnFailure
setting is
not valid.
If you change a cluster's StepConcurrencyLevel
to be greater than 1
while a step is running, the ActionOnFailure
parameter may not behave
as you expect. In this case, for a step that fails with this parameter
set to CANCEL_AND_WAIT
, pending steps and the running step are not
canceled; for a step that fails with this parameter set to
TERMINATE_CLUSTER
, the cluster does not terminate.
stepConfig_name :: Lens' StepConfig Text Source #
The name of the step.
stepConfig_hadoopJarStep :: Lens' StepConfig HadoopJarStepConfig Source #
The JAR file used for the step.
StepStateChangeReason
data StepStateChangeReason Source #
The details of the step state change reason.
See: newStepStateChangeReason
smart constructor.
Instances
newStepStateChangeReason :: StepStateChangeReason Source #
Create a value of StepStateChangeReason
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:code:StepStateChangeReason'
, stepStateChangeReason_code
- The programmable code for the state change reason. Note: Currently, the
service provides no code for the state change.
$sel:message:StepStateChangeReason'
, stepStateChangeReason_message
- The descriptive message for the state change reason.
stepStateChangeReason_code :: Lens' StepStateChangeReason (Maybe StepStateChangeReasonCode) Source #
The programmable code for the state change reason. Note: Currently, the service provides no code for the state change.
stepStateChangeReason_message :: 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: newStepStatus
smart constructor.
StepStatus' | |
|
Instances
newStepStatus :: StepStatus Source #
Create a value of StepStatus
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:state:StepStatus'
, stepStatus_state
- The execution state of the cluster step.
$sel:failureDetails:StepStatus'
, stepStatus_failureDetails
- The details for the step failure including reason, message, and log file
path where the root cause was identified.
$sel:stateChangeReason:StepStatus'
, stepStatus_stateChangeReason
- The reason for the step execution status change.
$sel:timeline:StepStatus'
, stepStatus_timeline
- The timeline of the cluster step status over time.
stepStatus_state :: Lens' StepStatus (Maybe StepState) Source #
The execution state of the cluster step.
stepStatus_failureDetails :: Lens' StepStatus (Maybe FailureDetails) Source #
The details for the step failure including reason, message, and log file path where the root cause was identified.
stepStatus_stateChangeReason :: Lens' StepStatus (Maybe StepStateChangeReason) Source #
The reason for the step execution status change.
stepStatus_timeline :: 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: newStepSummary
smart constructor.
StepSummary' | |
|
Instances
newStepSummary :: StepSummary Source #
Create a value of StepSummary
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:status:StepSummary'
, stepSummary_status
- The current execution status details of the cluster step.
$sel:actionOnFailure:StepSummary'
, stepSummary_actionOnFailure
- The action to take when the cluster step fails. Possible values are
TERMINATE_CLUSTER, CANCEL_AND_WAIT, and CONTINUE. TERMINATE_JOB_FLOW is
available for backward compatibility.
$sel:config:StepSummary'
, stepSummary_config
- The Hadoop job configuration of the cluster step.
$sel:name:StepSummary'
, stepSummary_name
- The name of the cluster step.
$sel:id:StepSummary'
, stepSummary_id
- The identifier of the cluster step.
stepSummary_status :: Lens' StepSummary (Maybe StepStatus) Source #
The current execution status details of the cluster step.
stepSummary_actionOnFailure :: Lens' StepSummary (Maybe ActionOnFailure) Source #
The action to take when the cluster step fails. Possible values are TERMINATE_CLUSTER, CANCEL_AND_WAIT, and CONTINUE. TERMINATE_JOB_FLOW is available for backward compatibility.
stepSummary_config :: Lens' StepSummary (Maybe HadoopStepConfig) Source #
The Hadoop job configuration of the cluster step.
stepSummary_name :: Lens' StepSummary (Maybe Text) Source #
The name of the cluster step.
stepSummary_id :: Lens' StepSummary (Maybe Text) Source #
The identifier of the cluster step.
StepTimeline
data StepTimeline Source #
The timeline of the cluster step lifecycle.
See: newStepTimeline
smart constructor.
StepTimeline' | |
|
Instances
newStepTimeline :: StepTimeline Source #
Create a value of StepTimeline
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:creationDateTime:StepTimeline'
, stepTimeline_creationDateTime
- The date and time when the cluster step was created.
$sel:endDateTime:StepTimeline'
, stepTimeline_endDateTime
- The date and time when the cluster step execution completed or failed.
$sel:startDateTime:StepTimeline'
, stepTimeline_startDateTime
- The date and time when the cluster step execution started.
stepTimeline_creationDateTime :: Lens' StepTimeline (Maybe UTCTime) Source #
The date and time when the cluster step was created.
stepTimeline_endDateTime :: Lens' StepTimeline (Maybe UTCTime) Source #
The date and time when the cluster step execution completed or failed.
stepTimeline_startDateTime :: Lens' StepTimeline (Maybe UTCTime) Source #
The date and time when the cluster step execution started.
Studio
Details for an Amazon EMR Studio including ID, creation time, name, and so on.
See: newStudio
smart constructor.
Studio' | |
|
Instances
Create a value of Studio
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:creationTime:Studio'
, studio_creationTime
- The time the Amazon EMR Studio was created.
$sel:engineSecurityGroupId:Studio'
, studio_engineSecurityGroupId
- The ID of the Engine security group associated with the Amazon EMR
Studio. The Engine security group allows inbound network traffic from
resources in the Workspace security group.
$sel:subnetIds:Studio'
, studio_subnetIds
- The list of IDs of the subnets associated with the Amazon EMR Studio.
$sel:studioId:Studio'
, studio_studioId
- The ID of the Amazon EMR Studio.
$sel:vpcId:Studio'
, studio_vpcId
- The ID of the VPC associated with the Amazon EMR Studio.
$sel:url:Studio'
, studio_url
- The unique access URL of the Amazon EMR Studio.
$sel:authMode:Studio'
, studio_authMode
- Specifies whether the Amazon EMR Studio authenticates users using IAM or
Amazon Web Services SSO.
$sel:defaultS3Location:Studio'
, studio_defaultS3Location
- The Amazon S3 location to back up Amazon EMR Studio Workspaces and
notebook files.
$sel:idpAuthUrl:Studio'
, studio_idpAuthUrl
- Your identity provider's authentication endpoint. Amazon EMR Studio
redirects federated users to this endpoint for authentication when
logging in to a Studio with the Studio URL.
$sel:workspaceSecurityGroupId:Studio'
, studio_workspaceSecurityGroupId
- The ID of the Workspace security group associated with the Amazon EMR
Studio. The Workspace security group allows outbound network traffic to
resources in the Engine security group and to the internet.
$sel:name:Studio'
, studio_name
- The name of the Amazon EMR Studio.
$sel:idpRelayStateParameterName:Studio'
, studio_idpRelayStateParameterName
- The name of your identity provider's RelayState
parameter.
$sel:studioArn:Studio'
, studio_studioArn
- The Amazon Resource Name (ARN) of the Amazon EMR Studio.
$sel:userRole:Studio'
, studio_userRole
- The name of the IAM role assumed by users logged in to the Amazon EMR
Studio. A Studio only requires a UserRole
when you use IAM
authentication.
$sel:description:Studio'
, studio_description
- The detailed description of the Amazon EMR Studio.
$sel:tags:Studio'
, studio_tags
- A list of tags associated with the Amazon EMR Studio.
$sel:serviceRole:Studio'
, studio_serviceRole
- The name of the IAM role assumed by the Amazon EMR Studio.
studio_creationTime :: Lens' Studio (Maybe UTCTime) Source #
The time the Amazon EMR Studio was created.
studio_engineSecurityGroupId :: Lens' Studio (Maybe Text) Source #
The ID of the Engine security group associated with the Amazon EMR Studio. The Engine security group allows inbound network traffic from resources in the Workspace security group.
studio_subnetIds :: Lens' Studio (Maybe [Text]) Source #
The list of IDs of the subnets associated with the Amazon EMR Studio.
studio_vpcId :: Lens' Studio (Maybe Text) Source #
The ID of the VPC associated with the Amazon EMR Studio.
studio_authMode :: Lens' Studio (Maybe AuthMode) Source #
Specifies whether the Amazon EMR Studio authenticates users using IAM or Amazon Web Services SSO.
studio_defaultS3Location :: Lens' Studio (Maybe Text) Source #
The Amazon S3 location to back up Amazon EMR Studio Workspaces and notebook files.
studio_idpAuthUrl :: Lens' Studio (Maybe Text) Source #
Your identity provider's authentication endpoint. Amazon EMR Studio redirects federated users to this endpoint for authentication when logging in to a Studio with the Studio URL.
studio_workspaceSecurityGroupId :: Lens' Studio (Maybe Text) Source #
The ID of the Workspace security group associated with the Amazon EMR Studio. The Workspace security group allows outbound network traffic to resources in the Engine security group and to the internet.
studio_idpRelayStateParameterName :: Lens' Studio (Maybe Text) Source #
The name of your identity provider's RelayState
parameter.
studio_studioArn :: Lens' Studio (Maybe Text) Source #
The Amazon Resource Name (ARN) of the Amazon EMR Studio.
studio_userRole :: Lens' Studio (Maybe Text) Source #
The name of the IAM role assumed by users logged in to the Amazon EMR
Studio. A Studio only requires a UserRole
when you use IAM
authentication.
studio_description :: Lens' Studio (Maybe Text) Source #
The detailed description of the Amazon EMR Studio.
studio_tags :: Lens' Studio (Maybe [Tag]) Source #
A list of tags associated with the Amazon EMR Studio.
studio_serviceRole :: Lens' Studio (Maybe Text) Source #
The name of the IAM role assumed by the Amazon EMR Studio.
StudioSummary
data StudioSummary Source #
Details for an Amazon EMR Studio, including ID, Name, VPC, and Description. The details do not include subnets, IAM roles, security groups, or tags associated with the Studio.
See: newStudioSummary
smart constructor.
StudioSummary' | |
|
Instances
newStudioSummary :: StudioSummary Source #
Create a value of StudioSummary
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:creationTime:StudioSummary'
, studioSummary_creationTime
- The time when the Amazon EMR Studio was created.
$sel:studioId:StudioSummary'
, studioSummary_studioId
- The ID of the Amazon EMR Studio.
$sel:vpcId:StudioSummary'
, studioSummary_vpcId
- The ID of the Virtual Private Cloud (Amazon VPC) associated with the
Amazon EMR Studio.
$sel:url:StudioSummary'
, studioSummary_url
- The unique access URL of the Amazon EMR Studio.
$sel:authMode:StudioSummary'
, studioSummary_authMode
- Specifies whether the Studio authenticates users using IAM or Amazon Web
Services SSO.
$sel:name:StudioSummary'
, studioSummary_name
- The name of the Amazon EMR Studio.
$sel:description:StudioSummary'
, studioSummary_description
- The detailed description of the Amazon EMR Studio.
studioSummary_creationTime :: Lens' StudioSummary (Maybe UTCTime) Source #
The time when the Amazon EMR Studio was created.
studioSummary_studioId :: Lens' StudioSummary (Maybe Text) Source #
The ID of the Amazon EMR Studio.
studioSummary_vpcId :: Lens' StudioSummary (Maybe Text) Source #
The ID of the Virtual Private Cloud (Amazon VPC) associated with the Amazon EMR Studio.
studioSummary_url :: Lens' StudioSummary (Maybe Text) Source #
The unique access URL of the Amazon EMR Studio.
studioSummary_authMode :: Lens' StudioSummary (Maybe AuthMode) Source #
Specifies whether the Studio authenticates users using IAM or Amazon Web Services SSO.
studioSummary_name :: Lens' StudioSummary (Maybe Text) Source #
The name of the Amazon EMR Studio.
studioSummary_description :: Lens' StudioSummary (Maybe Text) Source #
The detailed description of the Amazon EMR Studio.
SupportedProductConfig
data SupportedProductConfig Source #
The list of supported product configurations that allow user-supplied arguments. EMR accepts these arguments and forwards them to the corresponding installation script as bootstrap action arguments.
See: newSupportedProductConfig
smart constructor.
Instances
newSupportedProductConfig :: SupportedProductConfig Source #
Create a value of SupportedProductConfig
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:args:SupportedProductConfig'
, supportedProductConfig_args
- The list of user-supplied arguments.
$sel:name:SupportedProductConfig'
, supportedProductConfig_name
- The name of the product configuration.
supportedProductConfig_args :: Lens' SupportedProductConfig (Maybe [Text]) Source #
The list of user-supplied arguments.
supportedProductConfig_name :: Lens' SupportedProductConfig (Maybe Text) Source #
The name of the product configuration.
Tag
A key-value 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 Tag Clusters.
See: newTag
smart constructor.
Instances
Eq Tag Source # | |
Read Tag Source # | |
Show Tag Source # | |
Generic Tag Source # | |
NFData Tag Source # | |
Defined in Amazonka.EMR.Types.Tag | |
Hashable Tag Source # | |
Defined in Amazonka.EMR.Types.Tag | |
ToJSON Tag Source # | |
Defined in Amazonka.EMR.Types.Tag | |
FromJSON Tag Source # | |
type Rep Tag Source # | |
Defined in Amazonka.EMR.Types.Tag type Rep Tag = D1 ('MetaData "Tag" "Amazonka.EMR.Types.Tag" "libZSservicesZSamazonka-emrZSamazonka-emr" 'False) (C1 ('MetaCons "Tag'" 'PrefixI 'True) (S1 ('MetaSel ('Just "value") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "key") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) |
Create a value of Tag
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:value:Tag'
, tag_value
- A user-defined value, which is optional in a tag. For more information,
see
Tag Clusters.
$sel:key:Tag'
, tag_key
- A user-defined key, which is the minimum required information for a
valid tag. For more information, see
Tag
.
tag_value :: Lens' Tag (Maybe Text) Source #
A user-defined value, which is optional in a tag. For more information, see Tag Clusters.
tag_key :: Lens' Tag (Maybe Text) Source #
A user-defined key, which is the minimum required information for a valid tag. For more information, see Tag .
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: newVolumeSpecification
smart constructor.
VolumeSpecification' | |
|
Instances
newVolumeSpecification Source #
:: Text | |
-> Int | |
-> VolumeSpecification |
Create a value of VolumeSpecification
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:iops:VolumeSpecification'
, volumeSpecification_iops
- The number of I/O operations per second (IOPS) that the volume
supports.
$sel:volumeType:VolumeSpecification'
, volumeSpecification_volumeType
- The volume type. Volume types supported are gp2, io1, standard.
$sel:sizeInGB:VolumeSpecification'
, volumeSpecification_sizeInGB
- 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.
volumeSpecification_iops :: Lens' VolumeSpecification (Maybe Int) Source #
The number of I/O operations per second (IOPS) that the volume supports.
volumeSpecification_volumeType :: Lens' VolumeSpecification Text Source #
The volume type. Volume types supported are gp2, io1, standard.
volumeSpecification_sizeInGB :: 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.