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 |
Amazonka.EMR
Contents
- Service Configuration
- Errors
- Waiters
- Operations
- RunJobFlow
- RemoveAutoScalingPolicy
- CreateStudio
- SetVisibleToAllUsers
- TerminateJobFlows
- DescribeStep
- RemoveTags
- DescribeCluster
- ListSecurityConfigurations (Paginated)
- CancelSteps
- ListNotebookExecutions (Paginated)
- PutAutoTerminationPolicy
- CreateSecurityConfiguration
- DescribeReleaseLabel
- SetTerminationProtection
- AddJobFlowSteps
- DescribeStudio
- ModifyInstanceGroups
- StartNotebookExecution
- ListSteps (Paginated)
- ListReleaseLabels
- CreateStudioSessionMapping
- AddInstanceFleet
- DeleteStudio
- UpdateStudio
- ListStudios (Paginated)
- PutManagedScalingPolicy
- AddInstanceGroups
- GetStudioSessionMapping
- DeleteSecurityConfiguration
- ModifyInstanceFleet
- ListInstanceGroups (Paginated)
- GetBlockPublicAccessConfiguration
- ModifyCluster
- GetAutoTerminationPolicy
- PutBlockPublicAccessConfiguration
- ListBootstrapActions (Paginated)
- RemoveAutoTerminationPolicy
- AddTags
- ListInstances (Paginated)
- PutAutoScalingPolicy
- DeleteStudioSessionMapping
- UpdateStudioSessionMapping
- ListClusters (Paginated)
- DescribeSecurityConfiguration
- StopNotebookExecution
- ListStudioSessionMappings (Paginated)
- GetManagedScalingPolicy
- ListInstanceFleets (Paginated)
- RemoveManagedScalingPolicy
- DescribeNotebookExecution
- Types
- 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
Description
Derived from API version 2009-03-31
of the AWS service descriptions, licensed under Apache 2.0.
Amazon EMR is a web service that makes it easier to process large amounts of data efficiently. Amazon EMR uses Hadoop processing combined with several Amazon Web Services services to do tasks such as web indexing, data mining, log file analysis, machine learning, scientific simulation, and data warehouse management.
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
- newStepComplete :: Wait DescribeStep
- newClusterTerminated :: Wait DescribeCluster
- newClusterRunning :: Wait DescribeCluster
- data RunJobFlow = RunJobFlow' (Maybe Text) (Maybe Text) (Maybe Int) (Maybe Text) (Maybe AutoTerminationPolicy) (Maybe [Configuration]) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe ScaleDownBehavior) (Maybe [StepConfig]) (Maybe Text) (Maybe [BootstrapActionConfig]) (Maybe Text) (Maybe RepoUpgradeOnBoot) (Maybe [PlacementGroupConfig]) (Maybe Text) (Maybe KerberosAttributes) (Maybe [SupportedProductConfig]) (Maybe ManagedScalingPolicy) (Maybe Bool) (Maybe [Text]) (Maybe Int) (Maybe [Application]) (Maybe [Tag]) (Maybe Text) Text JobFlowInstancesConfig
- newRunJobFlow :: Text -> JobFlowInstancesConfig -> RunJobFlow
- data RunJobFlowResponse = RunJobFlowResponse' (Maybe Text) (Maybe Text) Int
- newRunJobFlowResponse :: Int -> RunJobFlowResponse
- data RemoveAutoScalingPolicy = RemoveAutoScalingPolicy' Text Text
- newRemoveAutoScalingPolicy :: Text -> Text -> RemoveAutoScalingPolicy
- data RemoveAutoScalingPolicyResponse = RemoveAutoScalingPolicyResponse' Int
- newRemoveAutoScalingPolicyResponse :: Int -> RemoveAutoScalingPolicyResponse
- data CreateStudio = CreateStudio' (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe [Tag]) Text AuthMode Text [Text] Text Text Text Text
- newCreateStudio :: Text -> AuthMode -> Text -> Text -> Text -> Text -> Text -> CreateStudio
- data CreateStudioResponse = CreateStudioResponse' (Maybe Text) (Maybe Text) Int
- newCreateStudioResponse :: Int -> CreateStudioResponse
- data SetVisibleToAllUsers = SetVisibleToAllUsers' [Text] Bool
- newSetVisibleToAllUsers :: Bool -> SetVisibleToAllUsers
- data SetVisibleToAllUsersResponse = SetVisibleToAllUsersResponse' {
- newSetVisibleToAllUsersResponse :: SetVisibleToAllUsersResponse
- data TerminateJobFlows = TerminateJobFlows' [Text]
- newTerminateJobFlows :: TerminateJobFlows
- data TerminateJobFlowsResponse = TerminateJobFlowsResponse' {
- newTerminateJobFlowsResponse :: TerminateJobFlowsResponse
- data DescribeStep = DescribeStep' Text Text
- newDescribeStep :: Text -> Text -> DescribeStep
- data DescribeStepResponse = DescribeStepResponse' (Maybe Step) Int
- newDescribeStepResponse :: Int -> DescribeStepResponse
- data RemoveTags = RemoveTags' Text [Text]
- newRemoveTags :: Text -> RemoveTags
- data RemoveTagsResponse = RemoveTagsResponse' Int
- newRemoveTagsResponse :: Int -> RemoveTagsResponse
- data DescribeCluster = DescribeCluster' Text
- newDescribeCluster :: Text -> DescribeCluster
- data DescribeClusterResponse = DescribeClusterResponse' Int Cluster
- newDescribeClusterResponse :: Int -> Cluster -> DescribeClusterResponse
- data ListSecurityConfigurations = ListSecurityConfigurations' (Maybe Text)
- newListSecurityConfigurations :: ListSecurityConfigurations
- data ListSecurityConfigurationsResponse = ListSecurityConfigurationsResponse' (Maybe [SecurityConfigurationSummary]) (Maybe Text) Int
- newListSecurityConfigurationsResponse :: Int -> ListSecurityConfigurationsResponse
- data CancelSteps = CancelSteps' (Maybe StepCancellationOption) Text [Text]
- newCancelSteps :: Text -> CancelSteps
- data CancelStepsResponse = CancelStepsResponse' (Maybe [CancelStepsInfo]) Int
- newCancelStepsResponse :: Int -> CancelStepsResponse
- data ListNotebookExecutions = ListNotebookExecutions' (Maybe NotebookExecutionStatus) (Maybe Text) (Maybe POSIX) (Maybe POSIX) (Maybe Text)
- newListNotebookExecutions :: ListNotebookExecutions
- data ListNotebookExecutionsResponse = ListNotebookExecutionsResponse' (Maybe [NotebookExecutionSummary]) (Maybe Text) Int
- newListNotebookExecutionsResponse :: Int -> ListNotebookExecutionsResponse
- data PutAutoTerminationPolicy = PutAutoTerminationPolicy' (Maybe AutoTerminationPolicy) Text
- newPutAutoTerminationPolicy :: Text -> PutAutoTerminationPolicy
- data PutAutoTerminationPolicyResponse = PutAutoTerminationPolicyResponse' Int
- newPutAutoTerminationPolicyResponse :: Int -> PutAutoTerminationPolicyResponse
- data CreateSecurityConfiguration = CreateSecurityConfiguration' Text Text
- newCreateSecurityConfiguration :: Text -> Text -> CreateSecurityConfiguration
- data CreateSecurityConfigurationResponse = CreateSecurityConfigurationResponse' Int Text POSIX
- newCreateSecurityConfigurationResponse :: Int -> Text -> UTCTime -> CreateSecurityConfigurationResponse
- data DescribeReleaseLabel = DescribeReleaseLabel' (Maybe Text) (Maybe Text) (Maybe Natural)
- newDescribeReleaseLabel :: DescribeReleaseLabel
- data DescribeReleaseLabelResponse = DescribeReleaseLabelResponse' (Maybe Text) (Maybe Text) (Maybe [SimplifiedApplication]) Int
- newDescribeReleaseLabelResponse :: Int -> DescribeReleaseLabelResponse
- data SetTerminationProtection = SetTerminationProtection' [Text] Bool
- newSetTerminationProtection :: Bool -> SetTerminationProtection
- data SetTerminationProtectionResponse = SetTerminationProtectionResponse' {
- newSetTerminationProtectionResponse :: SetTerminationProtectionResponse
- data AddJobFlowSteps = AddJobFlowSteps' Text [StepConfig]
- newAddJobFlowSteps :: Text -> AddJobFlowSteps
- data AddJobFlowStepsResponse = AddJobFlowStepsResponse' (Maybe [Text]) Int
- newAddJobFlowStepsResponse :: Int -> AddJobFlowStepsResponse
- data DescribeStudio = DescribeStudio' Text
- newDescribeStudio :: Text -> DescribeStudio
- data DescribeStudioResponse = DescribeStudioResponse' (Maybe Studio) Int
- newDescribeStudioResponse :: Int -> DescribeStudioResponse
- data ModifyInstanceGroups = ModifyInstanceGroups' (Maybe Text) (Maybe [InstanceGroupModifyConfig])
- newModifyInstanceGroups :: ModifyInstanceGroups
- data ModifyInstanceGroupsResponse = ModifyInstanceGroupsResponse' {
- newModifyInstanceGroupsResponse :: ModifyInstanceGroupsResponse
- data StartNotebookExecution = StartNotebookExecution' (Maybe Text) (Maybe Text) (Maybe Text) (Maybe [Tag]) Text Text ExecutionEngineConfig Text
- newStartNotebookExecution :: Text -> Text -> ExecutionEngineConfig -> Text -> StartNotebookExecution
- data StartNotebookExecutionResponse = StartNotebookExecutionResponse' (Maybe Text) Int
- newStartNotebookExecutionResponse :: Int -> StartNotebookExecutionResponse
- data ListSteps = ListSteps' (Maybe [Text]) (Maybe [StepState]) (Maybe Text) Text
- newListSteps :: Text -> ListSteps
- data ListStepsResponse = ListStepsResponse' (Maybe [StepSummary]) (Maybe Text) Int
- newListStepsResponse :: Int -> ListStepsResponse
- data ListReleaseLabels = ListReleaseLabels' (Maybe ReleaseLabelFilter) (Maybe Text) (Maybe Natural)
- newListReleaseLabels :: ListReleaseLabels
- data ListReleaseLabelsResponse = ListReleaseLabelsResponse' (Maybe [Text]) (Maybe Text) Int
- newListReleaseLabelsResponse :: Int -> ListReleaseLabelsResponse
- data CreateStudioSessionMapping = CreateStudioSessionMapping' (Maybe Text) (Maybe Text) Text IdentityType Text
- newCreateStudioSessionMapping :: Text -> IdentityType -> Text -> CreateStudioSessionMapping
- data CreateStudioSessionMappingResponse = CreateStudioSessionMappingResponse' {
- newCreateStudioSessionMappingResponse :: CreateStudioSessionMappingResponse
- data AddInstanceFleet = AddInstanceFleet' Text InstanceFleetConfig
- newAddInstanceFleet :: Text -> InstanceFleetConfig -> AddInstanceFleet
- data AddInstanceFleetResponse = AddInstanceFleetResponse' (Maybe Text) (Maybe Text) (Maybe Text) Int
- newAddInstanceFleetResponse :: Int -> AddInstanceFleetResponse
- data DeleteStudio = DeleteStudio' Text
- newDeleteStudio :: Text -> DeleteStudio
- data DeleteStudioResponse = DeleteStudioResponse' {
- newDeleteStudioResponse :: DeleteStudioResponse
- data UpdateStudio = UpdateStudio' (Maybe [Text]) (Maybe Text) (Maybe Text) (Maybe Text) Text
- newUpdateStudio :: Text -> UpdateStudio
- data UpdateStudioResponse = UpdateStudioResponse' {
- newUpdateStudioResponse :: UpdateStudioResponse
- data ListStudios = ListStudios' (Maybe Text)
- newListStudios :: ListStudios
- data ListStudiosResponse = ListStudiosResponse' (Maybe [StudioSummary]) (Maybe Text) Int
- newListStudiosResponse :: Int -> ListStudiosResponse
- data PutManagedScalingPolicy = PutManagedScalingPolicy' Text ManagedScalingPolicy
- newPutManagedScalingPolicy :: Text -> ManagedScalingPolicy -> PutManagedScalingPolicy
- data PutManagedScalingPolicyResponse = PutManagedScalingPolicyResponse' Int
- newPutManagedScalingPolicyResponse :: Int -> PutManagedScalingPolicyResponse
- data AddInstanceGroups = AddInstanceGroups' [InstanceGroupConfig] Text
- newAddInstanceGroups :: Text -> AddInstanceGroups
- data AddInstanceGroupsResponse = AddInstanceGroupsResponse' (Maybe Text) (Maybe Text) (Maybe [Text]) Int
- newAddInstanceGroupsResponse :: Int -> AddInstanceGroupsResponse
- data GetStudioSessionMapping = GetStudioSessionMapping' (Maybe Text) (Maybe Text) Text IdentityType
- newGetStudioSessionMapping :: Text -> IdentityType -> GetStudioSessionMapping
- data GetStudioSessionMappingResponse = GetStudioSessionMappingResponse' (Maybe SessionMappingDetail) Int
- newGetStudioSessionMappingResponse :: Int -> GetStudioSessionMappingResponse
- data DeleteSecurityConfiguration = DeleteSecurityConfiguration' Text
- newDeleteSecurityConfiguration :: Text -> DeleteSecurityConfiguration
- data DeleteSecurityConfigurationResponse = DeleteSecurityConfigurationResponse' Int
- newDeleteSecurityConfigurationResponse :: Int -> DeleteSecurityConfigurationResponse
- data ModifyInstanceFleet = ModifyInstanceFleet' Text InstanceFleetModifyConfig
- newModifyInstanceFleet :: Text -> InstanceFleetModifyConfig -> ModifyInstanceFleet
- data ModifyInstanceFleetResponse = ModifyInstanceFleetResponse' {
- newModifyInstanceFleetResponse :: ModifyInstanceFleetResponse
- data ListInstanceGroups = ListInstanceGroups' (Maybe Text) Text
- newListInstanceGroups :: Text -> ListInstanceGroups
- data ListInstanceGroupsResponse = ListInstanceGroupsResponse' (Maybe Text) (Maybe [InstanceGroup]) Int
- newListInstanceGroupsResponse :: Int -> ListInstanceGroupsResponse
- data GetBlockPublicAccessConfiguration = GetBlockPublicAccessConfiguration' {
- newGetBlockPublicAccessConfiguration :: GetBlockPublicAccessConfiguration
- data GetBlockPublicAccessConfigurationResponse = GetBlockPublicAccessConfigurationResponse' Int BlockPublicAccessConfiguration BlockPublicAccessConfigurationMetadata
- newGetBlockPublicAccessConfigurationResponse :: Int -> BlockPublicAccessConfiguration -> BlockPublicAccessConfigurationMetadata -> GetBlockPublicAccessConfigurationResponse
- data ModifyCluster = ModifyCluster' (Maybe Int) Text
- newModifyCluster :: Text -> ModifyCluster
- data ModifyClusterResponse = ModifyClusterResponse' (Maybe Int) Int
- newModifyClusterResponse :: Int -> ModifyClusterResponse
- data GetAutoTerminationPolicy = GetAutoTerminationPolicy' Text
- newGetAutoTerminationPolicy :: Text -> GetAutoTerminationPolicy
- data GetAutoTerminationPolicyResponse = GetAutoTerminationPolicyResponse' (Maybe AutoTerminationPolicy) Int
- newGetAutoTerminationPolicyResponse :: Int -> GetAutoTerminationPolicyResponse
- data PutBlockPublicAccessConfiguration = PutBlockPublicAccessConfiguration' BlockPublicAccessConfiguration
- newPutBlockPublicAccessConfiguration :: BlockPublicAccessConfiguration -> PutBlockPublicAccessConfiguration
- data PutBlockPublicAccessConfigurationResponse = PutBlockPublicAccessConfigurationResponse' Int
- newPutBlockPublicAccessConfigurationResponse :: Int -> PutBlockPublicAccessConfigurationResponse
- data ListBootstrapActions = ListBootstrapActions' (Maybe Text) Text
- newListBootstrapActions :: Text -> ListBootstrapActions
- data ListBootstrapActionsResponse = ListBootstrapActionsResponse' (Maybe [Command]) (Maybe Text) Int
- newListBootstrapActionsResponse :: Int -> ListBootstrapActionsResponse
- data RemoveAutoTerminationPolicy = RemoveAutoTerminationPolicy' Text
- newRemoveAutoTerminationPolicy :: Text -> RemoveAutoTerminationPolicy
- data RemoveAutoTerminationPolicyResponse = RemoveAutoTerminationPolicyResponse' Int
- newRemoveAutoTerminationPolicyResponse :: Int -> RemoveAutoTerminationPolicyResponse
- data AddTags = AddTags' Text [Tag]
- newAddTags :: Text -> AddTags
- data AddTagsResponse = AddTagsResponse' Int
- newAddTagsResponse :: Int -> AddTagsResponse
- data ListInstances = ListInstances' (Maybe [InstanceGroupType]) (Maybe InstanceFleetType) (Maybe Text) (Maybe Text) (Maybe [InstanceState]) (Maybe Text) Text
- newListInstances :: Text -> ListInstances
- data ListInstancesResponse = ListInstancesResponse' (Maybe Text) (Maybe [Instance]) Int
- newListInstancesResponse :: Int -> ListInstancesResponse
- data PutAutoScalingPolicy = PutAutoScalingPolicy' Text Text AutoScalingPolicy
- newPutAutoScalingPolicy :: Text -> Text -> AutoScalingPolicy -> PutAutoScalingPolicy
- data PutAutoScalingPolicyResponse = PutAutoScalingPolicyResponse' (Maybe Text) (Maybe Text) (Maybe AutoScalingPolicyDescription) (Maybe Text) Int
- newPutAutoScalingPolicyResponse :: Int -> PutAutoScalingPolicyResponse
- data DeleteStudioSessionMapping = DeleteStudioSessionMapping' (Maybe Text) (Maybe Text) Text IdentityType
- newDeleteStudioSessionMapping :: Text -> IdentityType -> DeleteStudioSessionMapping
- data DeleteStudioSessionMappingResponse = DeleteStudioSessionMappingResponse' {
- newDeleteStudioSessionMappingResponse :: DeleteStudioSessionMappingResponse
- data UpdateStudioSessionMapping = UpdateStudioSessionMapping' (Maybe Text) (Maybe Text) Text IdentityType Text
- newUpdateStudioSessionMapping :: Text -> IdentityType -> Text -> UpdateStudioSessionMapping
- data UpdateStudioSessionMappingResponse = UpdateStudioSessionMappingResponse' {
- newUpdateStudioSessionMappingResponse :: UpdateStudioSessionMappingResponse
- data ListClusters = ListClusters' (Maybe POSIX) (Maybe Text) (Maybe [ClusterState]) (Maybe POSIX)
- newListClusters :: ListClusters
- data ListClustersResponse = ListClustersResponse' (Maybe Text) (Maybe [ClusterSummary]) Int
- newListClustersResponse :: Int -> ListClustersResponse
- data DescribeSecurityConfiguration = DescribeSecurityConfiguration' Text
- newDescribeSecurityConfiguration :: Text -> DescribeSecurityConfiguration
- data DescribeSecurityConfigurationResponse = DescribeSecurityConfigurationResponse' (Maybe Text) (Maybe Text) (Maybe POSIX) Int
- newDescribeSecurityConfigurationResponse :: Int -> DescribeSecurityConfigurationResponse
- data StopNotebookExecution = StopNotebookExecution' Text
- newStopNotebookExecution :: Text -> StopNotebookExecution
- data StopNotebookExecutionResponse = StopNotebookExecutionResponse' {
- newStopNotebookExecutionResponse :: StopNotebookExecutionResponse
- data ListStudioSessionMappings = ListStudioSessionMappings' (Maybe Text) (Maybe IdentityType) (Maybe Text)
- newListStudioSessionMappings :: ListStudioSessionMappings
- data ListStudioSessionMappingsResponse = ListStudioSessionMappingsResponse' (Maybe [SessionMappingSummary]) (Maybe Text) Int
- newListStudioSessionMappingsResponse :: Int -> ListStudioSessionMappingsResponse
- data GetManagedScalingPolicy = GetManagedScalingPolicy' Text
- newGetManagedScalingPolicy :: Text -> GetManagedScalingPolicy
- data GetManagedScalingPolicyResponse = GetManagedScalingPolicyResponse' (Maybe ManagedScalingPolicy) Int
- newGetManagedScalingPolicyResponse :: Int -> GetManagedScalingPolicyResponse
- data ListInstanceFleets = ListInstanceFleets' (Maybe Text) Text
- newListInstanceFleets :: Text -> ListInstanceFleets
- data ListInstanceFleetsResponse = ListInstanceFleetsResponse' (Maybe [InstanceFleet]) (Maybe Text) Int
- newListInstanceFleetsResponse :: Int -> ListInstanceFleetsResponse
- data RemoveManagedScalingPolicy = RemoveManagedScalingPolicy' Text
- newRemoveManagedScalingPolicy :: Text -> RemoveManagedScalingPolicy
- data RemoveManagedScalingPolicyResponse = RemoveManagedScalingPolicyResponse' Int
- newRemoveManagedScalingPolicyResponse :: Int -> RemoveManagedScalingPolicyResponse
- data DescribeNotebookExecution = DescribeNotebookExecution' Text
- newDescribeNotebookExecution :: Text -> DescribeNotebookExecution
- data DescribeNotebookExecutionResponse = DescribeNotebookExecutionResponse' (Maybe NotebookExecution) Int
- newDescribeNotebookExecutionResponse :: Int -> DescribeNotebookExecutionResponse
- 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' (Maybe [Text]) (Maybe (HashMap Text Text)) (Maybe Text) (Maybe Text)
- newApplication :: Application
- data AutoScalingPolicy = AutoScalingPolicy' ScalingConstraints [ScalingRule]
- newAutoScalingPolicy :: ScalingConstraints -> AutoScalingPolicy
- data AutoScalingPolicyDescription = AutoScalingPolicyDescription' (Maybe AutoScalingPolicyStatus) (Maybe [ScalingRule]) (Maybe ScalingConstraints)
- newAutoScalingPolicyDescription :: AutoScalingPolicyDescription
- data AutoScalingPolicyStateChangeReason = AutoScalingPolicyStateChangeReason' (Maybe AutoScalingPolicyStateChangeReasonCode) (Maybe Text)
- newAutoScalingPolicyStateChangeReason :: AutoScalingPolicyStateChangeReason
- data AutoScalingPolicyStatus = AutoScalingPolicyStatus' (Maybe AutoScalingPolicyState) (Maybe AutoScalingPolicyStateChangeReason)
- newAutoScalingPolicyStatus :: AutoScalingPolicyStatus
- data AutoTerminationPolicy = AutoTerminationPolicy' (Maybe Integer)
- newAutoTerminationPolicy :: AutoTerminationPolicy
- data BlockPublicAccessConfiguration = BlockPublicAccessConfiguration' (Maybe [PortRange]) Bool
- newBlockPublicAccessConfiguration :: Bool -> BlockPublicAccessConfiguration
- data BlockPublicAccessConfigurationMetadata = BlockPublicAccessConfigurationMetadata' POSIX Text
- newBlockPublicAccessConfigurationMetadata :: UTCTime -> Text -> BlockPublicAccessConfigurationMetadata
- data BootstrapActionConfig = BootstrapActionConfig' Text ScriptBootstrapActionConfig
- newBootstrapActionConfig :: Text -> ScriptBootstrapActionConfig -> BootstrapActionConfig
- data CancelStepsInfo = CancelStepsInfo' (Maybe CancelStepsRequestStatus) (Maybe Text) (Maybe Text)
- newCancelStepsInfo :: CancelStepsInfo
- data CloudWatchAlarmDefinition = CloudWatchAlarmDefinition' (Maybe Int) (Maybe Text) (Maybe [MetricDimension]) (Maybe Unit) (Maybe Statistic) ComparisonOperator Text Int Double
- newCloudWatchAlarmDefinition :: ComparisonOperator -> Text -> Int -> Double -> CloudWatchAlarmDefinition
- data Cluster = Cluster' (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Int) (Maybe Ec2InstanceAttributes) (Maybe Text) (Maybe Int) (Maybe [Configuration]) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe ScaleDownBehavior) (Maybe InstanceCollectionType) (Maybe Text) (Maybe RepoUpgradeOnBoot) (Maybe Text) (Maybe KerberosAttributes) (Maybe [PlacementGroupConfig]) (Maybe Text) (Maybe Text) (Maybe Bool) (Maybe Bool) (Maybe Bool) (Maybe Int) (Maybe [Application]) (Maybe [Tag]) (Maybe Text) Text Text ClusterStatus
- newCluster :: Text -> Text -> ClusterStatus -> Cluster
- data ClusterStateChangeReason = ClusterStateChangeReason' (Maybe ClusterStateChangeReasonCode) (Maybe Text)
- newClusterStateChangeReason :: ClusterStateChangeReason
- data ClusterStatus = ClusterStatus' (Maybe ClusterState) (Maybe ClusterStateChangeReason) (Maybe ClusterTimeline)
- newClusterStatus :: ClusterStatus
- data ClusterSummary = ClusterSummary' (Maybe ClusterStatus) (Maybe Text) (Maybe Text) (Maybe Int) (Maybe Text) (Maybe Text)
- newClusterSummary :: ClusterSummary
- data ClusterTimeline = ClusterTimeline' (Maybe POSIX) (Maybe POSIX) (Maybe POSIX)
- newClusterTimeline :: ClusterTimeline
- data Command = Command' (Maybe [Text]) (Maybe Text) (Maybe Text)
- newCommand :: Command
- data ComputeLimits = ComputeLimits' (Maybe Int) (Maybe Int) ComputeLimitsUnitType Int Int
- newComputeLimits :: ComputeLimitsUnitType -> Int -> Int -> ComputeLimits
- data Configuration = Configuration' (Maybe [Configuration]) (Maybe Text) (Maybe (HashMap Text Text))
- newConfiguration :: Configuration
- data EbsBlockDevice = EbsBlockDevice' (Maybe Text) (Maybe VolumeSpecification)
- newEbsBlockDevice :: EbsBlockDevice
- data EbsBlockDeviceConfig = EbsBlockDeviceConfig' (Maybe Int) VolumeSpecification
- newEbsBlockDeviceConfig :: VolumeSpecification -> EbsBlockDeviceConfig
- data EbsConfiguration = EbsConfiguration' (Maybe Bool) (Maybe [EbsBlockDeviceConfig])
- newEbsConfiguration :: EbsConfiguration
- data EbsVolume = EbsVolume' (Maybe Text) (Maybe Text)
- newEbsVolume :: EbsVolume
- data Ec2InstanceAttributes = Ec2InstanceAttributes' (Maybe Text) (Maybe Text) (Maybe [Text]) (Maybe [Text]) (Maybe [Text]) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe [Text]) (Maybe Text) (Maybe Text)
- newEc2InstanceAttributes :: Ec2InstanceAttributes
- data ExecutionEngineConfig = ExecutionEngineConfig' (Maybe Text) (Maybe ExecutionEngineType) Text
- newExecutionEngineConfig :: Text -> ExecutionEngineConfig
- data FailureDetails = FailureDetails' (Maybe Text) (Maybe Text) (Maybe Text)
- newFailureDetails :: FailureDetails
- data HadoopJarStepConfig = HadoopJarStepConfig' (Maybe [Text]) (Maybe Text) (Maybe [KeyValue]) Text
- newHadoopJarStepConfig :: Text -> HadoopJarStepConfig
- data HadoopStepConfig = HadoopStepConfig' (Maybe [Text]) (Maybe Text) (Maybe Text) (Maybe (HashMap Text Text))
- newHadoopStepConfig :: HadoopStepConfig
- data Instance = Instance' (Maybe InstanceStatus) (Maybe Text) (Maybe [EbsVolume]) (Maybe Text) (Maybe Text) (Maybe MarketType) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text)
- newInstance :: Instance
- data InstanceFleet = InstanceFleet' (Maybe Natural) (Maybe InstanceFleetStatus) (Maybe Natural) (Maybe InstanceFleetType) (Maybe [InstanceTypeSpecification]) (Maybe Text) (Maybe Natural) (Maybe Natural) (Maybe Text) (Maybe InstanceFleetProvisioningSpecifications)
- newInstanceFleet :: InstanceFleet
- data InstanceFleetConfig = InstanceFleetConfig' (Maybe [InstanceTypeConfig]) (Maybe Natural) (Maybe Text) (Maybe Natural) (Maybe InstanceFleetProvisioningSpecifications) InstanceFleetType
- newInstanceFleetConfig :: InstanceFleetType -> InstanceFleetConfig
- data InstanceFleetModifyConfig = InstanceFleetModifyConfig' (Maybe Natural) (Maybe Natural) Text
- newInstanceFleetModifyConfig :: Text -> InstanceFleetModifyConfig
- data InstanceFleetProvisioningSpecifications = InstanceFleetProvisioningSpecifications' (Maybe SpotProvisioningSpecification) (Maybe OnDemandProvisioningSpecification)
- newInstanceFleetProvisioningSpecifications :: InstanceFleetProvisioningSpecifications
- data InstanceFleetStateChangeReason = InstanceFleetStateChangeReason' (Maybe InstanceFleetStateChangeReasonCode) (Maybe Text)
- newInstanceFleetStateChangeReason :: InstanceFleetStateChangeReason
- data InstanceFleetStatus = InstanceFleetStatus' (Maybe InstanceFleetState) (Maybe InstanceFleetStateChangeReason) (Maybe InstanceFleetTimeline)
- newInstanceFleetStatus :: InstanceFleetStatus
- data InstanceFleetTimeline = InstanceFleetTimeline' (Maybe POSIX) (Maybe POSIX) (Maybe POSIX)
- newInstanceFleetTimeline :: InstanceFleetTimeline
- data InstanceGroup = InstanceGroup' (Maybe InstanceGroupStatus) (Maybe Integer) (Maybe Text) (Maybe Int) (Maybe Int) (Maybe [Configuration]) (Maybe [Configuration]) (Maybe Text) (Maybe InstanceGroupType) (Maybe [EbsBlockDevice]) (Maybe Text) (Maybe Integer) (Maybe Bool) (Maybe MarketType) (Maybe Text) (Maybe AutoScalingPolicyDescription) (Maybe ShrinkPolicy) (Maybe Text)
- newInstanceGroup :: InstanceGroup
- data InstanceGroupConfig = InstanceGroupConfig' (Maybe EbsConfiguration) (Maybe Text) (Maybe [Configuration]) (Maybe Text) (Maybe MarketType) (Maybe Text) (Maybe AutoScalingPolicy) InstanceRoleType Text Int
- newInstanceGroupConfig :: InstanceRoleType -> Text -> Int -> InstanceGroupConfig
- data InstanceGroupModifyConfig = InstanceGroupModifyConfig' (Maybe Int) (Maybe [Configuration]) (Maybe [Text]) (Maybe ShrinkPolicy) Text
- newInstanceGroupModifyConfig :: Text -> InstanceGroupModifyConfig
- data InstanceGroupStateChangeReason = InstanceGroupStateChangeReason' (Maybe InstanceGroupStateChangeReasonCode) (Maybe Text)
- newInstanceGroupStateChangeReason :: InstanceGroupStateChangeReason
- data InstanceGroupStatus = InstanceGroupStatus' (Maybe InstanceGroupState) (Maybe InstanceGroupStateChangeReason) (Maybe InstanceGroupTimeline)
- newInstanceGroupStatus :: InstanceGroupStatus
- data InstanceGroupTimeline = InstanceGroupTimeline' (Maybe POSIX) (Maybe POSIX) (Maybe POSIX)
- newInstanceGroupTimeline :: InstanceGroupTimeline
- data InstanceResizePolicy = InstanceResizePolicy' (Maybe [Text]) (Maybe [Text]) (Maybe Int)
- newInstanceResizePolicy :: InstanceResizePolicy
- data InstanceStateChangeReason = InstanceStateChangeReason' (Maybe InstanceStateChangeReasonCode) (Maybe Text)
- newInstanceStateChangeReason :: InstanceStateChangeReason
- data InstanceStatus = InstanceStatus' (Maybe InstanceState) (Maybe InstanceStateChangeReason) (Maybe InstanceTimeline)
- newInstanceStatus :: InstanceStatus
- data InstanceTimeline = InstanceTimeline' (Maybe POSIX) (Maybe POSIX) (Maybe POSIX)
- newInstanceTimeline :: InstanceTimeline
- data InstanceTypeConfig = InstanceTypeConfig' (Maybe EbsConfiguration) (Maybe Text) (Maybe Natural) (Maybe [Configuration]) (Maybe Text) (Maybe Double) Text
- newInstanceTypeConfig :: Text -> InstanceTypeConfig
- data InstanceTypeSpecification = InstanceTypeSpecification' (Maybe Text) (Maybe Natural) (Maybe [Configuration]) (Maybe Text) (Maybe [EbsBlockDevice]) (Maybe Text) (Maybe Bool) (Maybe Double)
- newInstanceTypeSpecification :: InstanceTypeSpecification
- data JobFlowInstancesConfig = JobFlowInstancesConfig' (Maybe [InstanceFleetConfig]) (Maybe Text) (Maybe Text) (Maybe Int) (Maybe Text) (Maybe [Text]) (Maybe [Text]) (Maybe Text) (Maybe [Text]) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe [InstanceGroupConfig]) (Maybe Bool) (Maybe Text) (Maybe Bool) (Maybe PlacementType)
- newJobFlowInstancesConfig :: JobFlowInstancesConfig
- data KerberosAttributes = KerberosAttributes' (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text)
- newKerberosAttributes :: KerberosAttributes
- data KeyValue = KeyValue' (Maybe Text) (Maybe Text)
- newKeyValue :: KeyValue
- data ManagedScalingPolicy = ManagedScalingPolicy' (Maybe ComputeLimits)
- newManagedScalingPolicy :: ManagedScalingPolicy
- data MetricDimension = MetricDimension' (Maybe Text) (Maybe Text)
- newMetricDimension :: MetricDimension
- data NotebookExecution = NotebookExecution' (Maybe NotebookExecutionStatus) (Maybe ExecutionEngineConfig) (Maybe Text) (Maybe Text) (Maybe POSIX) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe POSIX) (Maybe Text) (Maybe [Tag])
- newNotebookExecution :: NotebookExecution
- data NotebookExecutionSummary = NotebookExecutionSummary' (Maybe NotebookExecutionStatus) (Maybe Text) (Maybe POSIX) (Maybe Text) (Maybe Text) (Maybe POSIX)
- newNotebookExecutionSummary :: NotebookExecutionSummary
- data OnDemandCapacityReservationOptions = OnDemandCapacityReservationOptions' (Maybe OnDemandCapacityReservationUsageStrategy) (Maybe Text) (Maybe OnDemandCapacityReservationPreference)
- newOnDemandCapacityReservationOptions :: OnDemandCapacityReservationOptions
- data OnDemandProvisioningSpecification = OnDemandProvisioningSpecification' (Maybe OnDemandCapacityReservationOptions) OnDemandProvisioningAllocationStrategy
- newOnDemandProvisioningSpecification :: OnDemandProvisioningAllocationStrategy -> OnDemandProvisioningSpecification
- data PlacementGroupConfig = PlacementGroupConfig' (Maybe PlacementGroupStrategy) InstanceRoleType
- newPlacementGroupConfig :: InstanceRoleType -> PlacementGroupConfig
- data PlacementType = PlacementType' (Maybe [Text]) (Maybe Text)
- newPlacementType :: PlacementType
- data PortRange = PortRange' (Maybe Int) Int
- newPortRange :: Int -> PortRange
- data ReleaseLabelFilter = ReleaseLabelFilter' (Maybe Text) (Maybe Text)
- newReleaseLabelFilter :: ReleaseLabelFilter
- data ScalingAction = ScalingAction' (Maybe MarketType) SimpleScalingPolicyConfiguration
- newScalingAction :: SimpleScalingPolicyConfiguration -> ScalingAction
- data ScalingConstraints = ScalingConstraints' Int Int
- newScalingConstraints :: Int -> Int -> ScalingConstraints
- data ScalingRule = ScalingRule' (Maybe Text) Text ScalingAction ScalingTrigger
- newScalingRule :: Text -> ScalingAction -> ScalingTrigger -> ScalingRule
- data ScalingTrigger = ScalingTrigger' CloudWatchAlarmDefinition
- newScalingTrigger :: CloudWatchAlarmDefinition -> ScalingTrigger
- data ScriptBootstrapActionConfig = ScriptBootstrapActionConfig' (Maybe [Text]) Text
- newScriptBootstrapActionConfig :: Text -> ScriptBootstrapActionConfig
- data SecurityConfigurationSummary = SecurityConfigurationSummary' (Maybe Text) (Maybe POSIX)
- newSecurityConfigurationSummary :: SecurityConfigurationSummary
- data SessionMappingDetail = SessionMappingDetail' (Maybe POSIX) (Maybe Text) (Maybe POSIX) (Maybe IdentityType) (Maybe Text) (Maybe Text) (Maybe Text)
- newSessionMappingDetail :: SessionMappingDetail
- data SessionMappingSummary = SessionMappingSummary' (Maybe POSIX) (Maybe Text) (Maybe IdentityType) (Maybe Text) (Maybe Text) (Maybe Text)
- newSessionMappingSummary :: SessionMappingSummary
- data ShrinkPolicy = ShrinkPolicy' (Maybe Int) (Maybe InstanceResizePolicy)
- newShrinkPolicy :: ShrinkPolicy
- data SimpleScalingPolicyConfiguration = SimpleScalingPolicyConfiguration' (Maybe AdjustmentType) (Maybe Int) Int
- newSimpleScalingPolicyConfiguration :: Int -> SimpleScalingPolicyConfiguration
- data SimplifiedApplication = SimplifiedApplication' (Maybe Text) (Maybe Text)
- newSimplifiedApplication :: SimplifiedApplication
- data SpotProvisioningSpecification = SpotProvisioningSpecification' (Maybe Natural) (Maybe SpotProvisioningAllocationStrategy) Natural SpotProvisioningTimeoutAction
- newSpotProvisioningSpecification :: Natural -> SpotProvisioningTimeoutAction -> SpotProvisioningSpecification
- data Step = Step' (Maybe StepStatus) (Maybe ActionOnFailure) (Maybe HadoopStepConfig) (Maybe Text) (Maybe Text)
- newStep :: Step
- data StepConfig = StepConfig' (Maybe ActionOnFailure) Text HadoopJarStepConfig
- newStepConfig :: Text -> HadoopJarStepConfig -> StepConfig
- data StepStateChangeReason = StepStateChangeReason' (Maybe StepStateChangeReasonCode) (Maybe Text)
- newStepStateChangeReason :: StepStateChangeReason
- data StepStatus = StepStatus' (Maybe StepState) (Maybe FailureDetails) (Maybe StepStateChangeReason) (Maybe StepTimeline)
- newStepStatus :: StepStatus
- data StepSummary = StepSummary' (Maybe StepStatus) (Maybe ActionOnFailure) (Maybe HadoopStepConfig) (Maybe Text) (Maybe Text)
- newStepSummary :: StepSummary
- data StepTimeline = StepTimeline' (Maybe POSIX) (Maybe POSIX) (Maybe POSIX)
- newStepTimeline :: StepTimeline
- data Studio = Studio' (Maybe POSIX) (Maybe Text) (Maybe [Text]) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe AuthMode) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe [Tag]) (Maybe Text)
- newStudio :: Studio
- data StudioSummary = StudioSummary' (Maybe POSIX) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe AuthMode) (Maybe Text) (Maybe Text)
- newStudioSummary :: StudioSummary
- data SupportedProductConfig = SupportedProductConfig' (Maybe [Text]) (Maybe Text)
- newSupportedProductConfig :: SupportedProductConfig
- data Tag = Tag' (Maybe Text) (Maybe Text)
- newTag :: Tag
- data VolumeSpecification = VolumeSpecification' (Maybe Int) Text Int
- newVolumeSpecification :: Text -> Int -> VolumeSpecification
Service Configuration
defaultService :: Service Source #
API version 2009-03-31
of the Amazon EMR SDK configuration.
Errors
Error matchers are designed for use with the functions provided by
Control.Exception.Lens.
This allows catching (and rethrowing) service specific errors returned
by EMR
.
InvalidRequestException
_InvalidRequestException :: AsError a => Getting (First ServiceError) a ServiceError Source #
This exception occurs when there is something wrong with user input.
InternalServerError
_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
_InternalServerException :: AsError a => Getting (First ServiceError) a ServiceError Source #
This exception occurs when there is an internal failure in the Amazon EMR service.
Waiters
Waiters poll by repeatedly sending a request until some remote success condition
configured by the Wait
specification is fulfilled. The Wait
specification
determines how many attempts should be made, in addition to delay and retry strategies.
StepComplete
newStepComplete :: Wait DescribeStep Source #
Polls DescribeStep
every 30 seconds until a successful state is reached. An error is returned after 60 failed checks.
ClusterTerminated
newClusterTerminated :: Wait DescribeCluster Source #
Polls DescribeCluster
every 30 seconds until a successful state is reached. An error is returned after 60 failed checks.
ClusterRunning
newClusterRunning :: Wait DescribeCluster Source #
Polls DescribeCluster
every 30 seconds until a successful state is reached. An error is returned after 60 failed checks.
Operations
Some AWS operations return results that are incomplete and require subsequent
requests in order to obtain the entire result set. The process of sending
subsequent requests to continue where a previous request left off is called
pagination. For example, the ListObjects
operation of Amazon S3 returns up to
1000 objects at a time, and you must send subsequent requests with the
appropriate Marker in order to retrieve the next page of results.
Operations that have an AWSPager
instance can transparently perform subsequent
requests, correctly setting Markers and other request facets to iterate through
the entire result set of a truncated API operation. Operations which support
this have an additional note in the documentation.
Many operations have the ability to filter results on the server side. See the individual operation parameters for details.
RunJobFlow
data RunJobFlow Source #
Input to the RunJobFlow operation.
See: newRunJobFlow
smart constructor.
Constructors
RunJobFlow' (Maybe Text) (Maybe Text) (Maybe Int) (Maybe Text) (Maybe AutoTerminationPolicy) (Maybe [Configuration]) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe ScaleDownBehavior) (Maybe [StepConfig]) (Maybe Text) (Maybe [BootstrapActionConfig]) (Maybe Text) (Maybe RepoUpgradeOnBoot) (Maybe [PlacementGroupConfig]) (Maybe Text) (Maybe KerberosAttributes) (Maybe [SupportedProductConfig]) (Maybe ManagedScalingPolicy) (Maybe Bool) (Maybe [Text]) (Maybe Int) (Maybe [Application]) (Maybe [Tag]) (Maybe Text) Text JobFlowInstancesConfig |
Instances
Arguments
:: Text | |
-> JobFlowInstancesConfig | |
-> RunJobFlow |
Create a value of RunJobFlow
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:RunJobFlow'
, runJobFlow_logEncryptionKmsKeyId
- The KMS key used for encrypting log files. If a value is not provided,
the logs remain encrypted by AES-256. This attribute is only available
with Amazon EMR version 5.30.0 and later, excluding Amazon EMR 6.0.0.
$sel:amiVersion:RunJobFlow'
, runJobFlow_amiVersion
- Applies only to Amazon EMR AMI versions 3.x and 2.x. For Amazon EMR
releases 4.0 and later, ReleaseLabel
is used. To specify a custom AMI,
use CustomAmiID
.
$sel:ebsRootVolumeSize:RunJobFlow'
, runJobFlow_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:additionalInfo:RunJobFlow'
, runJobFlow_additionalInfo
- A JSON string for selecting additional features.
$sel:autoTerminationPolicy:RunJobFlow'
, runJobFlow_autoTerminationPolicy
- Undocumented member.
$sel:configurations:RunJobFlow'
, runJobFlow_configurations
- For Amazon EMR releases 4.0 and later. The list of configurations
supplied for the EMR cluster you are creating.
$sel:customAmiId:RunJobFlow'
, runJobFlow_customAmiId
- Available only in Amazon EMR version 5.7.0 and later. The ID of a custom
Amazon EBS-backed Linux AMI. If specified, Amazon EMR uses this AMI when
it launches cluster EC2 instances. For more information about custom
AMIs in Amazon EMR, see
Using a Custom AMI
in the Amazon EMR Management Guide. If omitted, the cluster uses the
base Linux AMI for the ReleaseLabel
specified. For Amazon EMR versions
2.x and 3.x, use AmiVersion
instead.
For information about creating a custom AMI, see Creating an Amazon EBS-Backed Linux AMI in the Amazon Elastic Compute Cloud User Guide for Linux Instances. For information about finding an AMI ID, see Finding a Linux AMI.
$sel:autoScalingRole:RunJobFlow'
, runJobFlow_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:RunJobFlow'
, runJobFlow_securityConfiguration
- The name of a security configuration to apply to the cluster.
$sel:scaleDownBehavior:RunJobFlow'
, runJobFlow_scaleDownBehavior
- Specifies 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
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:steps:RunJobFlow'
, runJobFlow_steps
- A list of steps to run.
$sel:jobFlowRole:RunJobFlow'
, runJobFlow_jobFlowRole
- Also called instance profile and EC2 role. An IAM role for an EMR
cluster. The EC2 instances of the cluster assume this role. The default
role is EMR_EC2_DefaultRole
. In order to use the default role, you
must have already created it using the CLI or console.
$sel:bootstrapActions:RunJobFlow'
, runJobFlow_bootstrapActions
- A list of bootstrap actions to run before Hadoop starts on the cluster
nodes.
$sel:releaseLabel:RunJobFlow'
, runJobFlow_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:RunJobFlow'
, runJobFlow_repoUpgradeOnBoot
- Applies only when CustomAmiID
is used. Specifies which updates from
the Amazon Linux AMI package repositories to apply automatically when
the instance boots using the AMI. If omitted, the default is SECURITY
,
which indicates that only security updates are applied. If NONE
is
specified, no updates are applied, and all updates must be applied
manually.
$sel:placementGroupConfigs:RunJobFlow'
, runJobFlow_placementGroupConfigs
- The specified placement group configuration for an Amazon EMR cluster.
$sel:logUri:RunJobFlow'
, runJobFlow_logUri
- The location in Amazon S3 to write the log files of the job flow. If a
value is not provided, logs are not created.
$sel:kerberosAttributes:RunJobFlow'
, runJobFlow_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:newSupportedProducts':RunJobFlow'
, runJobFlow_newSupportedProducts
- For Amazon EMR releases 3.x and 2.x. For Amazon EMR releases 4.x and
later, use Applications.
A list of strings that indicates third-party software to use with the job flow that accepts a user argument list. EMR accepts and forwards the argument list to the corresponding installation script as bootstrap action arguments. For more information, see "Launch a Job Flow on the MapR Distribution for Hadoop" in the Amazon EMR Developer Guide. Supported values are:
- "mapr-m3" - launch the cluster using MapR M3 Edition.
- "mapr-m5" - launch the cluster using MapR M5 Edition.
- "mapr" with the user arguments specifying "--edition,m3" or "--edition,m5" - launch the job flow using MapR M3 or M5 Edition respectively.
- "mapr-m7" - launch the cluster using MapR M7 Edition.
- "hunk" - launch the cluster with the Hunk Big Data Analytics Platform.
- "hue"- launch the cluster with Hue installed.
- "spark" - launch the cluster with Apache Spark installed.
- "ganglia" - launch the cluster with the Ganglia Monitoring System installed.
$sel:managedScalingPolicy:RunJobFlow'
, runJobFlow_managedScalingPolicy
- The specified managed scaling policy for an Amazon EMR cluster.
$sel:visibleToAllUsers:RunJobFlow'
, runJobFlow_visibleToAllUsers
- Set this value to true
so that IAM principals in the Amazon Web
Services account associated with the cluster can perform EMR actions on
the cluster that their IAM policies allow. This value defaults to true
for clusters created using the EMR API or the CLI
create-cluster
command.
When set to false
, only the IAM principal that created the cluster and
the Amazon Web Services account root user can perform EMR actions for
the cluster, regardless of the IAM permissions policies attached to
other IAM principals. For more information, see
Understanding the EMR Cluster VisibleToAllUsers Setting
in the Amazon EMRManagement Guide.
$sel:supportedProducts:RunJobFlow'
, runJobFlow_supportedProducts
- For Amazon EMR releases 3.x and 2.x. For Amazon EMR releases 4.x and
later, use Applications.
A list of strings that indicates third-party software to use. For more information, see the Amazon EMR Developer Guide. Currently supported values are:
- "mapr-m3" - launch the job flow using MapR M3 Edition.
- "mapr-m5" - launch the job flow using MapR M5 Edition.
$sel:stepConcurrencyLevel:RunJobFlow'
, runJobFlow_stepConcurrencyLevel
- Specifies the number of steps that can be executed concurrently. The
default value is 1
. The maximum value is 256
.
$sel:applications:RunJobFlow'
, runJobFlow_applications
- Applies to Amazon EMR releases 4.0 and later. A case-insensitive list of
applications for Amazon EMR to install and configure when launching the
cluster. For a list of applications available for each Amazon EMR
release version, see the
Amazon EMR Release Guide.
$sel:tags:RunJobFlow'
, runJobFlow_tags
- A list of tags to associate with a cluster and propagate to Amazon EC2
instances.
$sel:serviceRole:RunJobFlow'
, runJobFlow_serviceRole
- The IAM role that Amazon EMR assumes in order to access Amazon Web
Services resources on your behalf.
$sel:name:RunJobFlow'
, runJobFlow_name
- The name of the job flow.
$sel:instances:RunJobFlow'
, runJobFlow_instances
- A specification of the number and type of Amazon EC2 instances.
data RunJobFlowResponse Source #
The result of the RunJobFlow operation.
See: newRunJobFlowResponse
smart constructor.
Instances
newRunJobFlowResponse Source #
Arguments
:: Int | |
-> RunJobFlowResponse |
Create a value of RunJobFlowResponse
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:clusterArn:RunJobFlowResponse'
, runJobFlowResponse_clusterArn
- The Amazon Resource Name (ARN) of the cluster.
$sel:jobFlowId:RunJobFlowResponse'
, runJobFlowResponse_jobFlowId
- A unique identifier for the job flow.
$sel:httpStatus:RunJobFlowResponse'
, runJobFlowResponse_httpStatus
- The response's http status code.
RemoveAutoScalingPolicy
data RemoveAutoScalingPolicy Source #
See: newRemoveAutoScalingPolicy
smart constructor.
Constructors
RemoveAutoScalingPolicy' Text Text |
Instances
newRemoveAutoScalingPolicy Source #
Arguments
:: Text | |
-> Text | |
-> RemoveAutoScalingPolicy |
Create a value of RemoveAutoScalingPolicy
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:clusterId:RemoveAutoScalingPolicy'
, removeAutoScalingPolicy_clusterId
- Specifies the ID of a cluster. The instance group to which the automatic
scaling policy is applied is within this cluster.
$sel:instanceGroupId:RemoveAutoScalingPolicy'
, removeAutoScalingPolicy_instanceGroupId
- Specifies the ID of the instance group to which the scaling policy is
applied.
data RemoveAutoScalingPolicyResponse Source #
See: newRemoveAutoScalingPolicyResponse
smart constructor.
Constructors
RemoveAutoScalingPolicyResponse' Int |
Instances
newRemoveAutoScalingPolicyResponse Source #
Create a value of RemoveAutoScalingPolicyResponse
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:httpStatus:RemoveAutoScalingPolicyResponse'
, removeAutoScalingPolicyResponse_httpStatus
- The response's http status code.
CreateStudio
data CreateStudio Source #
See: newCreateStudio
smart constructor.
Constructors
CreateStudio' (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe [Tag]) Text AuthMode Text [Text] Text Text Text Text |
Instances
Create a value of CreateStudio
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:idpAuthUrl:CreateStudio'
, createStudio_idpAuthUrl
- The authentication endpoint of your identity provider (IdP). Specify
this value when you use IAM authentication and want to let federated
users log in to a Studio with the Studio URL and credentials from your
IdP. Amazon EMR Studio redirects users to this endpoint to enter
credentials.
$sel:idpRelayStateParameterName:CreateStudio'
, createStudio_idpRelayStateParameterName
- The name that your identity provider (IdP) uses for its RelayState
parameter. For example, RelayState
or TargetSource
. Specify this
value when you use IAM authentication and want to let federated users
log in to a Studio using the Studio URL. The RelayState
parameter
differs by IdP.
$sel:userRole:CreateStudio'
, createStudio_userRole
- The IAM user role that users and groups assume when logged in to an
Amazon EMR Studio. Only specify a UserRole
when you use Amazon Web
Services SSO authentication. The permissions attached to the UserRole
can be scoped down for each user or group using session policies.
$sel:description:CreateStudio'
, createStudio_description
- A detailed description of the Amazon EMR Studio.
$sel:tags:CreateStudio'
, createStudio_tags
- A list of tags to associate with the Amazon EMR Studio. 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.
$sel:name:CreateStudio'
, createStudio_name
- A descriptive name for the Amazon EMR Studio.
$sel:authMode:CreateStudio'
, createStudio_authMode
- Specifies whether the Studio authenticates users using IAM or Amazon Web
Services SSO.
$sel:vpcId:CreateStudio'
, createStudio_vpcId
- The ID of the Amazon Virtual Private Cloud (Amazon VPC) to associate
with the Studio.
$sel:subnetIds:CreateStudio'
, createStudio_subnetIds
- A list of subnet IDs to associate with the Amazon EMR Studio. A Studio
can have a maximum of 5 subnets. The subnets must belong to the VPC
specified by VpcId
. Studio users can create a Workspace in any of the
specified subnets.
$sel:serviceRole:CreateStudio'
, createStudio_serviceRole
- The IAM role that the Amazon EMR Studio assumes. The service role
provides a way for Amazon EMR Studio to interoperate with other Amazon
Web Services services.
$sel:workspaceSecurityGroupId:CreateStudio'
, createStudio_workspaceSecurityGroupId
- The ID of the Amazon EMR Studio Workspace security group. The Workspace
security group allows outbound network traffic to resources in the
Engine security group, and it must be in the same VPC specified by
VpcId
.
$sel:engineSecurityGroupId:CreateStudio'
, createStudio_engineSecurityGroupId
- The ID of the Amazon EMR Studio Engine security group. The Engine
security group allows inbound network traffic from the Workspace
security group, and it must be in the same VPC specified by VpcId
.
$sel:defaultS3Location:CreateStudio'
, createStudio_defaultS3Location
- The Amazon S3 location to back up Amazon EMR Studio Workspaces and
notebook files.
data CreateStudioResponse Source #
See: newCreateStudioResponse
smart constructor.
Instances
newCreateStudioResponse Source #
Arguments
:: Int | |
-> CreateStudioResponse |
Create a value of CreateStudioResponse
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:studioId:CreateStudioResponse'
, createStudioResponse_studioId
- The ID of the Amazon EMR Studio.
$sel:url:CreateStudioResponse'
, createStudioResponse_url
- The unique Studio access URL.
$sel:httpStatus:CreateStudioResponse'
, createStudioResponse_httpStatus
- The response's http status code.
SetVisibleToAllUsers
data SetVisibleToAllUsers Source #
The input to the SetVisibleToAllUsers action.
See: newSetVisibleToAllUsers
smart constructor.
Constructors
SetVisibleToAllUsers' [Text] Bool |
Instances
newSetVisibleToAllUsers Source #
Create a value of SetVisibleToAllUsers
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:jobFlowIds:SetVisibleToAllUsers'
, setVisibleToAllUsers_jobFlowIds
- The unique identifier of the job flow (cluster).
$sel:visibleToAllUsers:SetVisibleToAllUsers'
, setVisibleToAllUsers_visibleToAllUsers
- A value of true
indicates that an IAM principal in the Amazon Web
Services account can perform EMR actions on the cluster that the IAM
policies attached to the principal allow. A value of false
indicates
that only the IAM principal that created the cluster and the Amazon Web
Services root user can perform EMR actions on the cluster.
data SetVisibleToAllUsersResponse Source #
See: newSetVisibleToAllUsersResponse
smart constructor.
Constructors
SetVisibleToAllUsersResponse' | |
Instances
Eq SetVisibleToAllUsersResponse Source # | |
Defined in Amazonka.EMR.SetVisibleToAllUsers Methods (==) :: SetVisibleToAllUsersResponse -> SetVisibleToAllUsersResponse -> Bool # (/=) :: SetVisibleToAllUsersResponse -> SetVisibleToAllUsersResponse -> Bool # | |
Read SetVisibleToAllUsersResponse Source # | |
Show SetVisibleToAllUsersResponse Source # | |
Defined in Amazonka.EMR.SetVisibleToAllUsers Methods showsPrec :: Int -> SetVisibleToAllUsersResponse -> ShowS # show :: SetVisibleToAllUsersResponse -> String # showList :: [SetVisibleToAllUsersResponse] -> ShowS # | |
Generic SetVisibleToAllUsersResponse Source # | |
Defined in Amazonka.EMR.SetVisibleToAllUsers Associated Types type Rep SetVisibleToAllUsersResponse :: Type -> Type # | |
NFData SetVisibleToAllUsersResponse Source # | |
Defined in Amazonka.EMR.SetVisibleToAllUsers Methods rnf :: SetVisibleToAllUsersResponse -> () # | |
type Rep SetVisibleToAllUsersResponse Source # | |
Defined in Amazonka.EMR.SetVisibleToAllUsers |
newSetVisibleToAllUsersResponse :: SetVisibleToAllUsersResponse Source #
Create a value of SetVisibleToAllUsersResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
TerminateJobFlows
data TerminateJobFlows Source #
Input to the TerminateJobFlows operation.
See: newTerminateJobFlows
smart constructor.
Constructors
TerminateJobFlows' [Text] |
Instances
newTerminateJobFlows :: TerminateJobFlows Source #
Create a value of TerminateJobFlows
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:jobFlowIds:TerminateJobFlows'
, terminateJobFlows_jobFlowIds
- A list of job flows to be shut down.
data TerminateJobFlowsResponse Source #
See: newTerminateJobFlowsResponse
smart constructor.
Constructors
TerminateJobFlowsResponse' | |
Instances
newTerminateJobFlowsResponse :: TerminateJobFlowsResponse Source #
Create a value of TerminateJobFlowsResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
DescribeStep
data DescribeStep Source #
This input determines which step to describe.
See: newDescribeStep
smart constructor.
Constructors
DescribeStep' Text Text |
Instances
Create a value of DescribeStep
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:clusterId:DescribeStep'
, describeStep_clusterId
- The identifier of the cluster with steps to describe.
$sel:stepId:DescribeStep'
, describeStep_stepId
- The identifier of the step to describe.
data DescribeStepResponse Source #
This output contains the description of the cluster step.
See: newDescribeStepResponse
smart constructor.
Constructors
DescribeStepResponse' (Maybe Step) Int |
Instances
newDescribeStepResponse Source #
Arguments
:: Int | |
-> DescribeStepResponse |
Create a value of DescribeStepResponse
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:step:DescribeStepResponse'
, describeStepResponse_step
- The step details for the requested step identifier.
$sel:httpStatus:DescribeStepResponse'
, describeStepResponse_httpStatus
- The response's http status code.
RemoveTags
data RemoveTags Source #
This input identifies an Amazon EMR resource and a list of tags to remove.
See: newRemoveTags
smart constructor.
Constructors
RemoveTags' Text [Text] |
Instances
Arguments
:: Text | |
-> RemoveTags |
Create a value of RemoveTags
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:resourceId:RemoveTags'
, removeTags_resourceId
- The Amazon EMR resource identifier from which tags will be removed. For
example, a cluster identifier or an Amazon EMR Studio ID.
$sel:tagKeys:RemoveTags'
, removeTags_tagKeys
- A list of tag keys to remove from the resource.
data RemoveTagsResponse Source #
This output indicates the result of removing tags from the resource.
See: newRemoveTagsResponse
smart constructor.
Constructors
RemoveTagsResponse' Int |
Instances
newRemoveTagsResponse Source #
Arguments
:: Int | |
-> RemoveTagsResponse |
Create a value of RemoveTagsResponse
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:httpStatus:RemoveTagsResponse'
, removeTagsResponse_httpStatus
- The response's http status code.
DescribeCluster
data DescribeCluster Source #
This input determines which cluster to describe.
See: newDescribeCluster
smart constructor.
Constructors
DescribeCluster' Text |
Instances
Arguments
:: Text | |
-> DescribeCluster |
Create a value of DescribeCluster
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:clusterId:DescribeCluster'
, describeCluster_clusterId
- The identifier of the cluster to describe.
data DescribeClusterResponse Source #
This output contains the description of the cluster.
See: newDescribeClusterResponse
smart constructor.
Constructors
DescribeClusterResponse' Int Cluster |
Instances
newDescribeClusterResponse Source #
Arguments
:: Int | |
-> Cluster | |
-> DescribeClusterResponse |
Create a value of DescribeClusterResponse
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:httpStatus:DescribeClusterResponse'
, describeClusterResponse_httpStatus
- The response's http status code.
$sel:cluster:DescribeClusterResponse'
, describeClusterResponse_cluster
- This output contains the details for the requested cluster.
ListSecurityConfigurations (Paginated)
data ListSecurityConfigurations Source #
See: newListSecurityConfigurations
smart constructor.
Constructors
ListSecurityConfigurations' (Maybe Text) |
Instances
newListSecurityConfigurations :: ListSecurityConfigurations Source #
Create a value of ListSecurityConfigurations
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:marker:ListSecurityConfigurations'
, listSecurityConfigurations_marker
- The pagination token that indicates the set of results to retrieve.
data ListSecurityConfigurationsResponse Source #
See: newListSecurityConfigurationsResponse
smart constructor.
Constructors
ListSecurityConfigurationsResponse' (Maybe [SecurityConfigurationSummary]) (Maybe Text) Int |
Instances
newListSecurityConfigurationsResponse Source #
Arguments
:: Int | |
-> ListSecurityConfigurationsResponse |
Create a value of ListSecurityConfigurationsResponse
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:securityConfigurations:ListSecurityConfigurationsResponse'
, listSecurityConfigurationsResponse_securityConfigurations
- The creation date and time, and name, of each security configuration.
$sel:marker:ListSecurityConfigurations'
, listSecurityConfigurationsResponse_marker
- A pagination token that indicates the next set of results to retrieve.
Include the marker in the next ListSecurityConfiguration call to
retrieve the next page of results, if required.
$sel:httpStatus:ListSecurityConfigurationsResponse'
, listSecurityConfigurationsResponse_httpStatus
- The response's http status code.
CancelSteps
data CancelSteps Source #
The input argument to the CancelSteps operation.
See: newCancelSteps
smart constructor.
Constructors
CancelSteps' (Maybe StepCancellationOption) Text [Text] |
Instances
Arguments
:: Text | |
-> CancelSteps |
Create a value of CancelSteps
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:stepCancellationOption:CancelSteps'
, cancelSteps_stepCancellationOption
- The option to choose to cancel RUNNING
steps. By default, the value is
SEND_INTERRUPT
.
$sel:clusterId:CancelSteps'
, cancelSteps_clusterId
- The ClusterID
for the specified steps that will be canceled. Use
RunJobFlow and ListClusters to get ClusterIDs.
$sel:stepIds:CancelSteps'
, cancelSteps_stepIds
- The list of StepIDs
to cancel. Use ListSteps to get steps and their
states for the specified cluster.
data CancelStepsResponse Source #
The output for the CancelSteps operation.
See: newCancelStepsResponse
smart constructor.
Constructors
CancelStepsResponse' (Maybe [CancelStepsInfo]) Int |
Instances
newCancelStepsResponse Source #
Arguments
:: Int | |
-> CancelStepsResponse |
Create a value of CancelStepsResponse
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:cancelStepsInfoList:CancelStepsResponse'
, cancelStepsResponse_cancelStepsInfoList
- A list of CancelStepsInfo, which shows the status of specified cancel
requests for each StepID
specified.
$sel:httpStatus:CancelStepsResponse'
, cancelStepsResponse_httpStatus
- The response's http status code.
ListNotebookExecutions (Paginated)
data ListNotebookExecutions Source #
See: newListNotebookExecutions
smart constructor.
Constructors
ListNotebookExecutions' (Maybe NotebookExecutionStatus) (Maybe Text) (Maybe POSIX) (Maybe POSIX) (Maybe Text) |
Instances
newListNotebookExecutions :: ListNotebookExecutions Source #
Create a value of ListNotebookExecutions
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:ListNotebookExecutions'
, listNotebookExecutions_status
- The status filter for listing notebook executions.
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:ListNotebookExecutions'
, listNotebookExecutions_editorId
- The unique ID of the editor associated with the notebook execution.
$sel:to:ListNotebookExecutions'
, listNotebookExecutions_to
- The end of time range filter for listing notebook executions. The
default is the current timestamp.
$sel:from:ListNotebookExecutions'
, listNotebookExecutions_from
- The beginning of time range filter for listing notebook executions. The
default is the timestamp of 30 days ago.
$sel:marker:ListNotebookExecutions'
, listNotebookExecutions_marker
- The pagination token, returned by a previous ListNotebookExecutions
call, that indicates the start of the list for this
ListNotebookExecutions
call.
data ListNotebookExecutionsResponse Source #
See: newListNotebookExecutionsResponse
smart constructor.
Constructors
ListNotebookExecutionsResponse' (Maybe [NotebookExecutionSummary]) (Maybe Text) Int |
Instances
newListNotebookExecutionsResponse Source #
Create a value of ListNotebookExecutionsResponse
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:notebookExecutions:ListNotebookExecutionsResponse'
, listNotebookExecutionsResponse_notebookExecutions
- A list of notebook executions.
$sel:marker:ListNotebookExecutions'
, listNotebookExecutionsResponse_marker
- A pagination token that a subsequent ListNotebookExecutions
can use to
determine the next set of results to retrieve.
$sel:httpStatus:ListNotebookExecutionsResponse'
, listNotebookExecutionsResponse_httpStatus
- The response's http status code.
PutAutoTerminationPolicy
data PutAutoTerminationPolicy Source #
See: newPutAutoTerminationPolicy
smart constructor.
Constructors
PutAutoTerminationPolicy' (Maybe AutoTerminationPolicy) Text |
Instances
newPutAutoTerminationPolicy Source #
Create a value of PutAutoTerminationPolicy
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:autoTerminationPolicy:PutAutoTerminationPolicy'
, putAutoTerminationPolicy_autoTerminationPolicy
- Specifies the auto-termination policy to attach to the cluster.
$sel:clusterId:PutAutoTerminationPolicy'
, putAutoTerminationPolicy_clusterId
- Specifies the ID of the Amazon EMR cluster to which the auto-termination
policy will be attached.
data PutAutoTerminationPolicyResponse Source #
See: newPutAutoTerminationPolicyResponse
smart constructor.
Constructors
PutAutoTerminationPolicyResponse' Int |
Instances
newPutAutoTerminationPolicyResponse Source #
Create a value of PutAutoTerminationPolicyResponse
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:httpStatus:PutAutoTerminationPolicyResponse'
, putAutoTerminationPolicyResponse_httpStatus
- The response's http status code.
CreateSecurityConfiguration
data CreateSecurityConfiguration Source #
See: newCreateSecurityConfiguration
smart constructor.
Constructors
CreateSecurityConfiguration' Text Text |
Instances
newCreateSecurityConfiguration Source #
Arguments
:: Text | |
-> Text | |
-> CreateSecurityConfiguration |
Create a value of CreateSecurityConfiguration
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:CreateSecurityConfiguration'
, createSecurityConfiguration_name
- The name of the security configuration.
$sel:securityConfiguration:CreateSecurityConfiguration'
, createSecurityConfiguration_securityConfiguration
- The security configuration details in JSON format. For JSON parameters
and examples, see
Use Security Configurations to Set Up Cluster Security
in the Amazon EMR Management Guide.
data CreateSecurityConfigurationResponse Source #
See: newCreateSecurityConfigurationResponse
smart constructor.
Constructors
CreateSecurityConfigurationResponse' Int Text POSIX |
Instances
newCreateSecurityConfigurationResponse Source #
Arguments
:: Int | |
-> Text | |
-> UTCTime | |
-> CreateSecurityConfigurationResponse |
Create a value of CreateSecurityConfigurationResponse
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:httpStatus:CreateSecurityConfigurationResponse'
, createSecurityConfigurationResponse_httpStatus
- The response's http status code.
$sel:name:CreateSecurityConfiguration'
, createSecurityConfigurationResponse_name
- The name of the security configuration.
$sel:creationDateTime:CreateSecurityConfigurationResponse'
, createSecurityConfigurationResponse_creationDateTime
- The date and time the security configuration was created.
DescribeReleaseLabel
data DescribeReleaseLabel Source #
See: newDescribeReleaseLabel
smart constructor.
Instances
newDescribeReleaseLabel :: DescribeReleaseLabel Source #
Create a value of DescribeReleaseLabel
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:nextToken:DescribeReleaseLabel'
, describeReleaseLabel_nextToken
- The pagination token. Reserved for future use. Currently set to null.
$sel:releaseLabel:DescribeReleaseLabel'
, describeReleaseLabel_releaseLabel
- The target release label to be described.
$sel:maxResults:DescribeReleaseLabel'
, describeReleaseLabel_maxResults
- Reserved for future use. Currently set to null.
data DescribeReleaseLabelResponse Source #
See: newDescribeReleaseLabelResponse
smart constructor.
Constructors
DescribeReleaseLabelResponse' (Maybe Text) (Maybe Text) (Maybe [SimplifiedApplication]) Int |
Instances
newDescribeReleaseLabelResponse Source #
Create a value of DescribeReleaseLabelResponse
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:nextToken:DescribeReleaseLabel'
, describeReleaseLabelResponse_nextToken
- The pagination token. Reserved for future use. Currently set to null.
$sel:releaseLabel:DescribeReleaseLabel'
, describeReleaseLabelResponse_releaseLabel
- The target release label described in the response.
$sel:applications:DescribeReleaseLabelResponse'
, describeReleaseLabelResponse_applications
- The list of applications available for the target release label. Name
is the name of the application. Version
is the concise version of the
application.
$sel:httpStatus:DescribeReleaseLabelResponse'
, describeReleaseLabelResponse_httpStatus
- The response's http status code.
SetTerminationProtection
data SetTerminationProtection Source #
The input argument to the TerminationProtection operation.
See: newSetTerminationProtection
smart constructor.
Constructors
SetTerminationProtection' [Text] Bool |
Instances
newSetTerminationProtection Source #
Create a value of SetTerminationProtection
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:jobFlowIds:SetTerminationProtection'
, setTerminationProtection_jobFlowIds
- A list of strings that uniquely identify the clusters to protect. This
identifier is returned by RunJobFlow and can also be obtained from
DescribeJobFlows .
$sel:terminationProtected:SetTerminationProtection'
, setTerminationProtection_terminationProtected
- A Boolean that indicates whether to protect the cluster and prevent the
Amazon EC2 instances in the cluster from shutting down due to API calls,
user intervention, or job-flow error.
data SetTerminationProtectionResponse Source #
See: newSetTerminationProtectionResponse
smart constructor.
Constructors
SetTerminationProtectionResponse' | |
Instances
Eq SetTerminationProtectionResponse Source # | |
Read SetTerminationProtectionResponse Source # | |
Show SetTerminationProtectionResponse Source # | |
Defined in Amazonka.EMR.SetTerminationProtection Methods showsPrec :: Int -> SetTerminationProtectionResponse -> ShowS # | |
Generic SetTerminationProtectionResponse Source # | |
Defined in Amazonka.EMR.SetTerminationProtection Associated Types type Rep SetTerminationProtectionResponse :: Type -> Type # | |
NFData SetTerminationProtectionResponse Source # | |
Defined in Amazonka.EMR.SetTerminationProtection Methods rnf :: SetTerminationProtectionResponse -> () # | |
type Rep SetTerminationProtectionResponse Source # | |
Defined in Amazonka.EMR.SetTerminationProtection |
newSetTerminationProtectionResponse :: SetTerminationProtectionResponse Source #
Create a value of SetTerminationProtectionResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
AddJobFlowSteps
data AddJobFlowSteps Source #
The input argument to the AddJobFlowSteps operation.
See: newAddJobFlowSteps
smart constructor.
Constructors
AddJobFlowSteps' Text [StepConfig] |
Instances
Arguments
:: Text | |
-> AddJobFlowSteps |
Create a value of AddJobFlowSteps
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:jobFlowId:AddJobFlowSteps'
, addJobFlowSteps_jobFlowId
- A string that uniquely identifies the job flow. This identifier is
returned by RunJobFlow and can also be obtained from ListClusters.
$sel:steps:AddJobFlowSteps'
, addJobFlowSteps_steps
- A list of StepConfig to be executed by the job flow.
data AddJobFlowStepsResponse Source #
The output for the AddJobFlowSteps operation.
See: newAddJobFlowStepsResponse
smart constructor.
Constructors
AddJobFlowStepsResponse' (Maybe [Text]) Int |
Instances
newAddJobFlowStepsResponse Source #
Create a value of AddJobFlowStepsResponse
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:stepIds:AddJobFlowStepsResponse'
, addJobFlowStepsResponse_stepIds
- The identifiers of the list of steps added to the job flow.
$sel:httpStatus:AddJobFlowStepsResponse'
, addJobFlowStepsResponse_httpStatus
- The response's http status code.
DescribeStudio
data DescribeStudio Source #
See: newDescribeStudio
smart constructor.
Constructors
DescribeStudio' Text |
Instances
Arguments
:: Text | |
-> DescribeStudio |
Create a value of DescribeStudio
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:studioId:DescribeStudio'
, describeStudio_studioId
- The Amazon EMR Studio ID.
data DescribeStudioResponse Source #
See: newDescribeStudioResponse
smart constructor.
Constructors
DescribeStudioResponse' (Maybe Studio) Int |
Instances
newDescribeStudioResponse Source #
Create a value of DescribeStudioResponse
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:studio:DescribeStudioResponse'
, describeStudioResponse_studio
- The Amazon EMR Studio details.
$sel:httpStatus:DescribeStudioResponse'
, describeStudioResponse_httpStatus
- The response's http status code.
ModifyInstanceGroups
data ModifyInstanceGroups Source #
Change the size of some instance groups.
See: newModifyInstanceGroups
smart constructor.
Constructors
ModifyInstanceGroups' (Maybe Text) (Maybe [InstanceGroupModifyConfig]) |
Instances
newModifyInstanceGroups :: ModifyInstanceGroups Source #
Create a value of ModifyInstanceGroups
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:clusterId:ModifyInstanceGroups'
, modifyInstanceGroups_clusterId
- The ID of the cluster to which the instance group belongs.
$sel:instanceGroups:ModifyInstanceGroups'
, modifyInstanceGroups_instanceGroups
- Instance groups to change.
data ModifyInstanceGroupsResponse Source #
See: newModifyInstanceGroupsResponse
smart constructor.
Constructors
ModifyInstanceGroupsResponse' | |
Instances
Eq ModifyInstanceGroupsResponse Source # | |
Defined in Amazonka.EMR.ModifyInstanceGroups Methods (==) :: ModifyInstanceGroupsResponse -> ModifyInstanceGroupsResponse -> Bool # (/=) :: ModifyInstanceGroupsResponse -> ModifyInstanceGroupsResponse -> Bool # | |
Read ModifyInstanceGroupsResponse Source # | |
Show ModifyInstanceGroupsResponse Source # | |
Defined in Amazonka.EMR.ModifyInstanceGroups Methods showsPrec :: Int -> ModifyInstanceGroupsResponse -> ShowS # show :: ModifyInstanceGroupsResponse -> String # showList :: [ModifyInstanceGroupsResponse] -> ShowS # | |
Generic ModifyInstanceGroupsResponse Source # | |
Defined in Amazonka.EMR.ModifyInstanceGroups Associated Types type Rep ModifyInstanceGroupsResponse :: Type -> Type # | |
NFData ModifyInstanceGroupsResponse Source # | |
Defined in Amazonka.EMR.ModifyInstanceGroups Methods rnf :: ModifyInstanceGroupsResponse -> () # | |
type Rep ModifyInstanceGroupsResponse Source # | |
Defined in Amazonka.EMR.ModifyInstanceGroups |
newModifyInstanceGroupsResponse :: ModifyInstanceGroupsResponse Source #
Create a value of ModifyInstanceGroupsResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
StartNotebookExecution
data StartNotebookExecution Source #
See: newStartNotebookExecution
smart constructor.
Constructors
StartNotebookExecution' (Maybe Text) (Maybe Text) (Maybe Text) (Maybe [Tag]) Text Text ExecutionEngineConfig Text |
Instances
newStartNotebookExecution Source #
Arguments
:: Text | |
-> Text | |
-> ExecutionEngineConfig | |
-> Text | |
-> StartNotebookExecution |
Create a value of StartNotebookExecution
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:notebookInstanceSecurityGroupId:StartNotebookExecution'
, startNotebookExecution_notebookInstanceSecurityGroupId
- The unique identifier of the Amazon EC2 security group to associate with
the EMR Notebook for this notebook execution.
$sel:notebookExecutionName:StartNotebookExecution'
, startNotebookExecution_notebookExecutionName
- An optional name for the notebook execution.
$sel:notebookParams:StartNotebookExecution'
, startNotebookExecution_notebookParams
- Input parameters in JSON format passed to the EMR Notebook at runtime
for execution.
$sel:tags:StartNotebookExecution'
, startNotebookExecution_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.
$sel:editorId:StartNotebookExecution'
, startNotebookExecution_editorId
- The unique identifier of the EMR Notebook to use for notebook execution.
$sel:relativePath:StartNotebookExecution'
, startNotebookExecution_relativePath
- The path and file name of the notebook file for this execution, relative
to the path specified for the EMR Notebook. For example, if you specify
a path of s3://MyBucket/MyNotebooks
when you create an EMR Notebook
for a notebook with an ID of e-ABCDEFGHIJK1234567890ABCD
(the
EditorID
of this request), and you specify a RelativePath
of
my_notebook_executions/notebook_execution.ipynb
, the location of the
file for the notebook execution is
s3://MyBucket/MyNotebooks/e-ABCDEFGHIJK1234567890ABCD/my_notebook_executions/notebook_execution.ipynb
.
$sel:executionEngine:StartNotebookExecution'
, startNotebookExecution_executionEngine
- Specifies the execution engine (cluster) that runs the notebook
execution.
$sel:serviceRole:StartNotebookExecution'
, startNotebookExecution_serviceRole
- The name or ARN of the IAM role that is used as the service role for
Amazon EMR (the EMR role) for the notebook execution.
data StartNotebookExecutionResponse Source #
See: newStartNotebookExecutionResponse
smart constructor.
Constructors
StartNotebookExecutionResponse' (Maybe Text) Int |
Instances
newStartNotebookExecutionResponse Source #
Create a value of StartNotebookExecutionResponse
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:notebookExecutionId:StartNotebookExecutionResponse'
, startNotebookExecutionResponse_notebookExecutionId
- The unique identifier of the notebook execution.
$sel:httpStatus:StartNotebookExecutionResponse'
, startNotebookExecutionResponse_httpStatus
- The response's http status code.
ListSteps (Paginated)
This input determines which steps to list.
See: newListSteps
smart constructor.
Instances
Create a value of ListSteps
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:stepIds:ListSteps'
, listSteps_stepIds
- The filter to limit the step list based on the identifier of the steps.
You can specify a maximum of ten Step IDs. The character constraint
applies to the overall length of the array.
$sel:stepStates:ListSteps'
, listSteps_stepStates
- The filter to limit the step list based on certain states.
$sel:marker:ListSteps'
, listSteps_marker
- The maximum number of steps that a single ListSteps
action returns is
50. To return a longer list of steps, use multiple ListSteps
actions
along with the Marker
parameter, which is a pagination token that
indicates the next set of results to retrieve.
$sel:clusterId:ListSteps'
, listSteps_clusterId
- The identifier of the cluster for which to list the steps.
data ListStepsResponse Source #
This output contains the list of steps returned in reverse order. This means that the last step is the first element in the list.
See: newListStepsResponse
smart constructor.
Constructors
ListStepsResponse' (Maybe [StepSummary]) (Maybe Text) Int |
Instances
Arguments
:: Int | |
-> ListStepsResponse |
Create a value of ListStepsResponse
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:steps:ListStepsResponse'
, listStepsResponse_steps
- The filtered list of steps for the cluster.
$sel:marker:ListSteps'
, listStepsResponse_marker
- The maximum number of steps that a single ListSteps
action returns is
50. To return a longer list of steps, use multiple ListSteps
actions
along with the Marker
parameter, which is a pagination token that
indicates the next set of results to retrieve.
$sel:httpStatus:ListStepsResponse'
, listStepsResponse_httpStatus
- The response's http status code.
ListReleaseLabels
data ListReleaseLabels Source #
See: newListReleaseLabels
smart constructor.
Constructors
ListReleaseLabels' (Maybe ReleaseLabelFilter) (Maybe Text) (Maybe Natural) |
Instances
newListReleaseLabels :: ListReleaseLabels Source #
Create a value of ListReleaseLabels
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:filters:ListReleaseLabels'
, listReleaseLabels_filters
- Filters the results of the request. Prefix
specifies the prefix of
release labels to return. Application
specifies the application
(with/without version) of release labels to return.
$sel:nextToken:ListReleaseLabels'
, listReleaseLabels_nextToken
- Specifies the next page of results. If NextToken
is not specified,
which is usually the case for the first request of ListReleaseLabels,
the first page of results are determined by other filtering parameters
or by the latest version. The ListReleaseLabels
request fails if the
identity (Amazon Web Services account ID) and all filtering parameters
are different from the original request, or if the NextToken
is
expired or tampered with.
$sel:maxResults:ListReleaseLabels'
, listReleaseLabels_maxResults
- Defines the maximum number of release labels to return in a single
response. The default is 100
.
data ListReleaseLabelsResponse Source #
See: newListReleaseLabelsResponse
smart constructor.
Instances
newListReleaseLabelsResponse Source #
Create a value of ListReleaseLabelsResponse
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:releaseLabels:ListReleaseLabelsResponse'
, listReleaseLabelsResponse_releaseLabels
- The returned release labels.
$sel:nextToken:ListReleaseLabels'
, listReleaseLabelsResponse_nextToken
- Used to paginate the next page of results if specified in the next
ListReleaseLabels
request.
$sel:httpStatus:ListReleaseLabelsResponse'
, listReleaseLabelsResponse_httpStatus
- The response's http status code.
CreateStudioSessionMapping
data CreateStudioSessionMapping Source #
See: newCreateStudioSessionMapping
smart constructor.
Constructors
CreateStudioSessionMapping' (Maybe Text) (Maybe Text) Text IdentityType Text |
Instances
newCreateStudioSessionMapping Source #
Arguments
:: Text | |
-> IdentityType | |
-> Text | |
-> CreateStudioSessionMapping |
Create a value of CreateStudioSessionMapping
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:identityId:CreateStudioSessionMapping'
, createStudioSessionMapping_identityId
- The globally unique identifier (GUID) of the user or group from the
Amazon Web Services SSO Identity Store. For more information, see
UserId
and
GroupId
in the Amazon Web Services SSO Identity Store API Reference. Either
IdentityName
or IdentityId
must be specified, but not both.
$sel:identityName:CreateStudioSessionMapping'
, createStudioSessionMapping_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. Either
IdentityName
or IdentityId
must be specified, but not both.
$sel:studioId:CreateStudioSessionMapping'
, createStudioSessionMapping_studioId
- The ID of the Amazon EMR Studio to which the user or group will be
mapped.
$sel:identityType:CreateStudioSessionMapping'
, createStudioSessionMapping_identityType
- Specifies whether the identity to map to the Amazon EMR Studio is a user
or a group.
$sel:sessionPolicyArn:CreateStudioSessionMapping'
, createStudioSessionMapping_sessionPolicyArn
- The Amazon Resource Name (ARN) for the session policy that will be
applied to the user or group. You should specify the ARN for the session
policy that you want to apply, not the ARN of your user role. For more
information, see
Create an EMR Studio User Role with Session Policies.
data CreateStudioSessionMappingResponse Source #
See: newCreateStudioSessionMappingResponse
smart constructor.
Constructors
CreateStudioSessionMappingResponse' | |
Instances
Eq CreateStudioSessionMappingResponse Source # | |
Read CreateStudioSessionMappingResponse Source # | |
Show CreateStudioSessionMappingResponse Source # | |
Defined in Amazonka.EMR.CreateStudioSessionMapping Methods showsPrec :: Int -> CreateStudioSessionMappingResponse -> ShowS # | |
Generic CreateStudioSessionMappingResponse Source # | |
Defined in Amazonka.EMR.CreateStudioSessionMapping Associated Types type Rep CreateStudioSessionMappingResponse :: Type -> Type # | |
NFData CreateStudioSessionMappingResponse Source # | |
Defined in Amazonka.EMR.CreateStudioSessionMapping Methods rnf :: CreateStudioSessionMappingResponse -> () # | |
type Rep CreateStudioSessionMappingResponse Source # | |
Defined in Amazonka.EMR.CreateStudioSessionMapping |
newCreateStudioSessionMappingResponse :: CreateStudioSessionMappingResponse Source #
Create a value of CreateStudioSessionMappingResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
AddInstanceFleet
data AddInstanceFleet Source #
See: newAddInstanceFleet
smart constructor.
Constructors
AddInstanceFleet' Text InstanceFleetConfig |
Instances
Arguments
:: Text | |
-> InstanceFleetConfig | |
-> AddInstanceFleet |
Create a value of AddInstanceFleet
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:clusterId:AddInstanceFleet'
, addInstanceFleet_clusterId
- The unique identifier of the cluster.
$sel:instanceFleet:AddInstanceFleet'
, addInstanceFleet_instanceFleet
- Specifies the configuration of the instance fleet.
data AddInstanceFleetResponse Source #
See: newAddInstanceFleetResponse
smart constructor.
Instances
newAddInstanceFleetResponse Source #
Create a value of AddInstanceFleetResponse
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:clusterArn:AddInstanceFleetResponse'
, addInstanceFleetResponse_clusterArn
- The Amazon Resource Name of the cluster.
$sel:clusterId:AddInstanceFleet'
, addInstanceFleetResponse_clusterId
- The unique identifier of the cluster.
$sel:instanceFleetId:AddInstanceFleetResponse'
, addInstanceFleetResponse_instanceFleetId
- The unique identifier of the instance fleet.
$sel:httpStatus:AddInstanceFleetResponse'
, addInstanceFleetResponse_httpStatus
- The response's http status code.
DeleteStudio
data DeleteStudio Source #
See: newDeleteStudio
smart constructor.
Constructors
DeleteStudio' Text |
Instances
Arguments
:: Text | |
-> DeleteStudio |
Create a value of DeleteStudio
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:studioId:DeleteStudio'
, deleteStudio_studioId
- The ID of the Amazon EMR Studio.
data DeleteStudioResponse Source #
See: newDeleteStudioResponse
smart constructor.
Constructors
DeleteStudioResponse' | |
Instances
newDeleteStudioResponse :: DeleteStudioResponse Source #
Create a value of DeleteStudioResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
UpdateStudio
data UpdateStudio Source #
See: newUpdateStudio
smart constructor.
Instances
Arguments
:: Text | |
-> UpdateStudio |
Create a value of UpdateStudio
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:subnetIds:UpdateStudio'
, updateStudio_subnetIds
- A list of subnet IDs to associate with the Amazon EMR Studio. The list
can include new subnet IDs, but must also include all of the subnet IDs
previously associated with the Studio. The list order does not matter. A
Studio can have a maximum of 5 subnets. The subnets must belong to the
same VPC as the Studio.
$sel:defaultS3Location:UpdateStudio'
, updateStudio_defaultS3Location
- The Amazon S3 location to back up Workspaces and notebook files for the
Amazon EMR Studio.
$sel:name:UpdateStudio'
, updateStudio_name
- A descriptive name for the Amazon EMR Studio.
$sel:description:UpdateStudio'
, updateStudio_description
- A detailed description to assign to the Amazon EMR Studio.
$sel:studioId:UpdateStudio'
, updateStudio_studioId
- The ID of the Amazon EMR Studio to update.
data UpdateStudioResponse Source #
See: newUpdateStudioResponse
smart constructor.
Constructors
UpdateStudioResponse' | |
Instances
newUpdateStudioResponse :: UpdateStudioResponse Source #
Create a value of UpdateStudioResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
ListStudios (Paginated)
data ListStudios Source #
See: newListStudios
smart constructor.
Constructors
ListStudios' (Maybe Text) |
Instances
newListStudios :: ListStudios Source #
Create a value of ListStudios
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:marker:ListStudios'
, listStudios_marker
- The pagination token that indicates the set of results to retrieve.
data ListStudiosResponse Source #
See: newListStudiosResponse
smart constructor.
Constructors
ListStudiosResponse' (Maybe [StudioSummary]) (Maybe Text) Int |
Instances
newListStudiosResponse Source #
Arguments
:: Int | |
-> ListStudiosResponse |
Create a value of ListStudiosResponse
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:studios:ListStudiosResponse'
, listStudiosResponse_studios
- The list of Studio summary objects.
$sel:marker:ListStudios'
, listStudiosResponse_marker
- The pagination token that indicates the next set of results to retrieve.
$sel:httpStatus:ListStudiosResponse'
, listStudiosResponse_httpStatus
- The response's http status code.
PutManagedScalingPolicy
data PutManagedScalingPolicy Source #
See: newPutManagedScalingPolicy
smart constructor.
Constructors
PutManagedScalingPolicy' Text ManagedScalingPolicy |
Instances
newPutManagedScalingPolicy Source #
Arguments
:: Text | |
-> ManagedScalingPolicy | |
-> PutManagedScalingPolicy |
Create a value of PutManagedScalingPolicy
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:clusterId:PutManagedScalingPolicy'
, putManagedScalingPolicy_clusterId
- Specifies the ID of an EMR cluster where the managed scaling policy is
attached.
$sel:managedScalingPolicy:PutManagedScalingPolicy'
, putManagedScalingPolicy_managedScalingPolicy
- Specifies the constraints for the managed scaling policy.
data PutManagedScalingPolicyResponse Source #
See: newPutManagedScalingPolicyResponse
smart constructor.
Constructors
PutManagedScalingPolicyResponse' Int |
Instances
newPutManagedScalingPolicyResponse Source #
Create a value of PutManagedScalingPolicyResponse
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:httpStatus:PutManagedScalingPolicyResponse'
, putManagedScalingPolicyResponse_httpStatus
- The response's http status code.
AddInstanceGroups
data AddInstanceGroups Source #
Input to an AddInstanceGroups call.
See: newAddInstanceGroups
smart constructor.
Constructors
AddInstanceGroups' [InstanceGroupConfig] Text |
Instances
Arguments
:: Text | |
-> AddInstanceGroups |
Create a value of AddInstanceGroups
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:instanceGroups:AddInstanceGroups'
, addInstanceGroups_instanceGroups
- Instance groups to add.
$sel:jobFlowId:AddInstanceGroups'
, addInstanceGroups_jobFlowId
- Job flow in which to add the instance groups.
data AddInstanceGroupsResponse Source #
Output from an AddInstanceGroups call.
See: newAddInstanceGroupsResponse
smart constructor.
Instances
newAddInstanceGroupsResponse Source #
Create a value of AddInstanceGroupsResponse
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:clusterArn:AddInstanceGroupsResponse'
, addInstanceGroupsResponse_clusterArn
- The Amazon Resource Name of the cluster.
$sel:jobFlowId:AddInstanceGroups'
, addInstanceGroupsResponse_jobFlowId
- The job flow ID in which the instance groups are added.
$sel:instanceGroupIds:AddInstanceGroupsResponse'
, addInstanceGroupsResponse_instanceGroupIds
- Instance group IDs of the newly created instance groups.
$sel:httpStatus:AddInstanceGroupsResponse'
, addInstanceGroupsResponse_httpStatus
- The response's http status code.
GetStudioSessionMapping
data GetStudioSessionMapping Source #
See: newGetStudioSessionMapping
smart constructor.
Constructors
GetStudioSessionMapping' (Maybe Text) (Maybe Text) Text IdentityType |
Instances
newGetStudioSessionMapping Source #
Arguments
:: Text | |
-> IdentityType | |
-> GetStudioSessionMapping |
Create a value of GetStudioSessionMapping
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:identityId:GetStudioSessionMapping'
, getStudioSessionMapping_identityId
- The globally unique identifier (GUID) of the user or group. For more
information, see
UserId
and
GroupId
in the Amazon Web Services SSO Identity Store API Reference. Either
IdentityName
or IdentityId
must be specified.
$sel:identityName:GetStudioSessionMapping'
, getStudioSessionMapping_identityName
- The name of the user or group to fetch. For more information, see
UserName
and
DisplayName
in the Amazon Web Services SSO Identity Store API Reference. Either
IdentityName
or IdentityId
must be specified.
$sel:studioId:GetStudioSessionMapping'
, getStudioSessionMapping_studioId
- The ID of the Amazon EMR Studio.
$sel:identityType:GetStudioSessionMapping'
, getStudioSessionMapping_identityType
- Specifies whether the identity to fetch is a user or a group.
data GetStudioSessionMappingResponse Source #
See: newGetStudioSessionMappingResponse
smart constructor.
Constructors
GetStudioSessionMappingResponse' (Maybe SessionMappingDetail) Int |
Instances
newGetStudioSessionMappingResponse Source #
Create a value of GetStudioSessionMappingResponse
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:sessionMapping:GetStudioSessionMappingResponse'
, getStudioSessionMappingResponse_sessionMapping
- The session mapping details for the specified Amazon EMR Studio and
identity, including session policy ARN and creation time.
$sel:httpStatus:GetStudioSessionMappingResponse'
, getStudioSessionMappingResponse_httpStatus
- The response's http status code.
DeleteSecurityConfiguration
data DeleteSecurityConfiguration Source #
See: newDeleteSecurityConfiguration
smart constructor.
Constructors
DeleteSecurityConfiguration' Text |
Instances
newDeleteSecurityConfiguration Source #
Create a value of DeleteSecurityConfiguration
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:DeleteSecurityConfiguration'
, deleteSecurityConfiguration_name
- The name of the security configuration.
data DeleteSecurityConfigurationResponse Source #
See: newDeleteSecurityConfigurationResponse
smart constructor.
Constructors
DeleteSecurityConfigurationResponse' Int |
Instances
newDeleteSecurityConfigurationResponse Source #
Arguments
:: Int | |
-> DeleteSecurityConfigurationResponse |
Create a value of DeleteSecurityConfigurationResponse
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:httpStatus:DeleteSecurityConfigurationResponse'
, deleteSecurityConfigurationResponse_httpStatus
- The response's http status code.
ModifyInstanceFleet
data ModifyInstanceFleet Source #
See: newModifyInstanceFleet
smart constructor.
Constructors
ModifyInstanceFleet' Text InstanceFleetModifyConfig |
Instances
newModifyInstanceFleet Source #
Arguments
:: Text | |
-> InstanceFleetModifyConfig | |
-> ModifyInstanceFleet |
Create a value of ModifyInstanceFleet
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:clusterId:ModifyInstanceFleet'
, modifyInstanceFleet_clusterId
- The unique identifier of the cluster.
$sel:instanceFleet:ModifyInstanceFleet'
, modifyInstanceFleet_instanceFleet
- The configuration parameters of the instance fleet.
data ModifyInstanceFleetResponse Source #
See: newModifyInstanceFleetResponse
smart constructor.
Constructors
ModifyInstanceFleetResponse' | |
Instances
newModifyInstanceFleetResponse :: ModifyInstanceFleetResponse Source #
Create a value of ModifyInstanceFleetResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
ListInstanceGroups (Paginated)
data ListInstanceGroups Source #
This input determines which instance groups to retrieve.
See: newListInstanceGroups
smart constructor.
Constructors
ListInstanceGroups' (Maybe Text) Text |
Instances
newListInstanceGroups Source #
Arguments
:: Text | |
-> ListInstanceGroups |
Create a value of ListInstanceGroups
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:marker:ListInstanceGroups'
, listInstanceGroups_marker
- The pagination token that indicates the next set of results to retrieve.
$sel:clusterId:ListInstanceGroups'
, listInstanceGroups_clusterId
- The identifier of the cluster for which to list the instance groups.
data ListInstanceGroupsResponse Source #
This input determines which instance groups to retrieve.
See: newListInstanceGroupsResponse
smart constructor.
Constructors
ListInstanceGroupsResponse' (Maybe Text) (Maybe [InstanceGroup]) Int |
Instances
newListInstanceGroupsResponse Source #
Create a value of ListInstanceGroupsResponse
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:marker:ListInstanceGroups'
, listInstanceGroupsResponse_marker
- The pagination token that indicates the next set of results to retrieve.
$sel:instanceGroups:ListInstanceGroupsResponse'
, listInstanceGroupsResponse_instanceGroups
- The list of instance groups for the cluster and given filters.
$sel:httpStatus:ListInstanceGroupsResponse'
, listInstanceGroupsResponse_httpStatus
- The response's http status code.
GetBlockPublicAccessConfiguration
data GetBlockPublicAccessConfiguration Source #
See: newGetBlockPublicAccessConfiguration
smart constructor.
Constructors
GetBlockPublicAccessConfiguration' | |
Instances
newGetBlockPublicAccessConfiguration :: GetBlockPublicAccessConfiguration Source #
Create a value of GetBlockPublicAccessConfiguration
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
data GetBlockPublicAccessConfigurationResponse Source #
See: newGetBlockPublicAccessConfigurationResponse
smart constructor.
Constructors
GetBlockPublicAccessConfigurationResponse' Int BlockPublicAccessConfiguration BlockPublicAccessConfigurationMetadata |
Instances
newGetBlockPublicAccessConfigurationResponse Source #
Arguments
Create a value of GetBlockPublicAccessConfigurationResponse
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:httpStatus:GetBlockPublicAccessConfigurationResponse'
, getBlockPublicAccessConfigurationResponse_httpStatus
- The response's http status code.
$sel:blockPublicAccessConfiguration:GetBlockPublicAccessConfigurationResponse'
, getBlockPublicAccessConfigurationResponse_blockPublicAccessConfiguration
- A configuration for Amazon EMR block public access. The configuration
applies to all clusters created in your account for the current Region.
The configuration specifies whether block public access is enabled. If
block public access is enabled, security groups associated with the
cluster cannot have rules that allow inbound traffic from 0.0.0.0/0 or
::/0 on a port, unless the port is specified as an exception using
PermittedPublicSecurityGroupRuleRanges
in the
BlockPublicAccessConfiguration
. By default, Port 22 (SSH) is an
exception, and public access is allowed on this port. You can change
this by updating the block public access configuration to remove the
exception.
For accounts that created clusters in a Region before November 25, 2019, block public access is disabled by default in that Region. To use this feature, you must manually enable and configure it. For accounts that did not create an EMR cluster in a Region before this date, block public access is enabled by default in that Region.
$sel:blockPublicAccessConfigurationMetadata:GetBlockPublicAccessConfigurationResponse'
, getBlockPublicAccessConfigurationResponse_blockPublicAccessConfigurationMetadata
- 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.
ModifyCluster
data ModifyCluster Source #
See: newModifyCluster
smart constructor.
Constructors
ModifyCluster' (Maybe Int) Text |
Instances
Arguments
:: Text | |
-> ModifyCluster |
Create a value of ModifyCluster
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:stepConcurrencyLevel:ModifyCluster'
, modifyCluster_stepConcurrencyLevel
- The number of steps that can be executed concurrently. You can specify a
minimum of 1 step and a maximum of 256 steps. We recommend that you do
not change this parameter while steps are running or the
ActionOnFailure
setting may not behave as expected. For more
information see Step$ActionOnFailure.
$sel:clusterId:ModifyCluster'
, modifyCluster_clusterId
- The unique identifier of the cluster.
data ModifyClusterResponse Source #
See: newModifyClusterResponse
smart constructor.
Constructors
ModifyClusterResponse' (Maybe Int) Int |
Instances
newModifyClusterResponse Source #
Create a value of ModifyClusterResponse
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:stepConcurrencyLevel:ModifyCluster'
, modifyClusterResponse_stepConcurrencyLevel
- The number of steps that can be executed concurrently.
$sel:httpStatus:ModifyClusterResponse'
, modifyClusterResponse_httpStatus
- The response's http status code.
GetAutoTerminationPolicy
data GetAutoTerminationPolicy Source #
See: newGetAutoTerminationPolicy
smart constructor.
Constructors
GetAutoTerminationPolicy' Text |
Instances
newGetAutoTerminationPolicy Source #
Create a value of GetAutoTerminationPolicy
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:clusterId:GetAutoTerminationPolicy'
, getAutoTerminationPolicy_clusterId
- Specifies the ID of the Amazon EMR cluster for which the
auto-termination policy will be fetched.
data GetAutoTerminationPolicyResponse Source #
See: newGetAutoTerminationPolicyResponse
smart constructor.
Constructors
GetAutoTerminationPolicyResponse' (Maybe AutoTerminationPolicy) Int |
Instances
newGetAutoTerminationPolicyResponse Source #
Create a value of GetAutoTerminationPolicyResponse
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:autoTerminationPolicy:GetAutoTerminationPolicyResponse'
, getAutoTerminationPolicyResponse_autoTerminationPolicy
- Specifies the auto-termination policy that is attached to an Amazon EMR
cluster.
$sel:httpStatus:GetAutoTerminationPolicyResponse'
, getAutoTerminationPolicyResponse_httpStatus
- The response's http status code.
PutBlockPublicAccessConfiguration
data PutBlockPublicAccessConfiguration Source #
See: newPutBlockPublicAccessConfiguration
smart constructor.
Instances
newPutBlockPublicAccessConfiguration Source #
Arguments
:: BlockPublicAccessConfiguration |
|
-> PutBlockPublicAccessConfiguration |
Create a value of PutBlockPublicAccessConfiguration
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:blockPublicAccessConfiguration:PutBlockPublicAccessConfiguration'
, putBlockPublicAccessConfiguration_blockPublicAccessConfiguration
- A configuration for Amazon EMR block public access. The configuration
applies to all clusters created in your account for the current Region.
The configuration specifies whether block public access is enabled. If
block public access is enabled, security groups associated with the
cluster cannot have rules that allow inbound traffic from 0.0.0.0/0 or
::/0 on a port, unless the port is specified as an exception using
PermittedPublicSecurityGroupRuleRanges
in the
BlockPublicAccessConfiguration
. By default, Port 22 (SSH) is an
exception, and public access is allowed on this port. You can change
this by updating BlockPublicSecurityGroupRules
to remove the
exception.
For accounts that created clusters in a Region before November 25, 2019, block public access is disabled by default in that Region. To use this feature, you must manually enable and configure it. For accounts that did not create an EMR cluster in a Region before this date, block public access is enabled by default in that Region.
data PutBlockPublicAccessConfigurationResponse Source #
See: newPutBlockPublicAccessConfigurationResponse
smart constructor.
Constructors
PutBlockPublicAccessConfigurationResponse' Int |
Instances
newPutBlockPublicAccessConfigurationResponse Source #
Arguments
:: Int | |
-> PutBlockPublicAccessConfigurationResponse |
Create a value of PutBlockPublicAccessConfigurationResponse
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:httpStatus:PutBlockPublicAccessConfigurationResponse'
, putBlockPublicAccessConfigurationResponse_httpStatus
- The response's http status code.
ListBootstrapActions (Paginated)
data ListBootstrapActions Source #
This input determines which bootstrap actions to retrieve.
See: newListBootstrapActions
smart constructor.
Constructors
ListBootstrapActions' (Maybe Text) Text |
Instances
newListBootstrapActions Source #
Arguments
:: Text | |
-> ListBootstrapActions |
Create a value of ListBootstrapActions
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:marker:ListBootstrapActions'
, listBootstrapActions_marker
- The pagination token that indicates the next set of results to retrieve.
$sel:clusterId:ListBootstrapActions'
, listBootstrapActions_clusterId
- The cluster identifier for the bootstrap actions to list.
data ListBootstrapActionsResponse Source #
This output contains the bootstrap actions detail.
See: newListBootstrapActionsResponse
smart constructor.
Instances
newListBootstrapActionsResponse Source #
Create a value of ListBootstrapActionsResponse
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:bootstrapActions:ListBootstrapActionsResponse'
, listBootstrapActionsResponse_bootstrapActions
- The bootstrap actions associated with the cluster.
$sel:marker:ListBootstrapActions'
, listBootstrapActionsResponse_marker
- The pagination token that indicates the next set of results to retrieve.
$sel:httpStatus:ListBootstrapActionsResponse'
, listBootstrapActionsResponse_httpStatus
- The response's http status code.
RemoveAutoTerminationPolicy
data RemoveAutoTerminationPolicy Source #
See: newRemoveAutoTerminationPolicy
smart constructor.
Constructors
RemoveAutoTerminationPolicy' Text |
Instances
newRemoveAutoTerminationPolicy Source #
Create a value of RemoveAutoTerminationPolicy
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:clusterId:RemoveAutoTerminationPolicy'
, removeAutoTerminationPolicy_clusterId
- Specifies the ID of the Amazon EMR cluster from which the
auto-termination policy will be removed.
data RemoveAutoTerminationPolicyResponse Source #
See: newRemoveAutoTerminationPolicyResponse
smart constructor.
Constructors
RemoveAutoTerminationPolicyResponse' Int |
Instances
newRemoveAutoTerminationPolicyResponse Source #
Arguments
:: Int | |
-> RemoveAutoTerminationPolicyResponse |
Create a value of RemoveAutoTerminationPolicyResponse
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:httpStatus:RemoveAutoTerminationPolicyResponse'
, removeAutoTerminationPolicyResponse_httpStatus
- The response's http status code.
AddTags
This input identifies an Amazon EMR resource and a list of tags to attach.
See: newAddTags
smart constructor.
Instances
Create a value of AddTags
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:resourceId:AddTags'
, addTags_resourceId
- The Amazon EMR resource identifier to which tags will be added. For
example, a cluster identifier or an Amazon EMR Studio ID.
$sel:tags:AddTags'
, addTags_tags
- A list of tags to associate with a resource. 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.
data AddTagsResponse Source #
This output indicates the result of adding tags to a resource.
See: newAddTagsResponse
smart constructor.
Constructors
AddTagsResponse' Int |
Instances
Arguments
:: Int | |
-> AddTagsResponse |
Create a value of AddTagsResponse
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:httpStatus:AddTagsResponse'
, addTagsResponse_httpStatus
- The response's http status code.
ListInstances (Paginated)
data ListInstances Source #
This input determines which instances to list.
See: newListInstances
smart constructor.
Constructors
ListInstances' (Maybe [InstanceGroupType]) (Maybe InstanceFleetType) (Maybe Text) (Maybe Text) (Maybe [InstanceState]) (Maybe Text) Text |
Instances
Arguments
:: Text | |
-> ListInstances |
Create a value of ListInstances
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:instanceGroupTypes:ListInstances'
, listInstances_instanceGroupTypes
- The type of instance group for which to list the instances.
$sel:instanceFleetType:ListInstances'
, listInstances_instanceFleetType
- The node type of the instance fleet. For example MASTER, CORE, or TASK.
$sel:marker:ListInstances'
, listInstances_marker
- The pagination token that indicates the next set of results to retrieve.
$sel:instanceFleetId:ListInstances'
, listInstances_instanceFleetId
- The unique identifier of the instance fleet.
$sel:instanceStates:ListInstances'
, listInstances_instanceStates
- A list of instance states that will filter the instances returned with
this request.
$sel:instanceGroupId:ListInstances'
, listInstances_instanceGroupId
- The identifier of the instance group for which to list the instances.
$sel:clusterId:ListInstances'
, listInstances_clusterId
- The identifier of the cluster for which to list the instances.
data ListInstancesResponse Source #
This output contains the list of instances.
See: newListInstancesResponse
smart constructor.
Instances
newListInstancesResponse Source #
Create a value of ListInstancesResponse
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:marker:ListInstances'
, listInstancesResponse_marker
- The pagination token that indicates the next set of results to retrieve.
$sel:instances:ListInstancesResponse'
, listInstancesResponse_instances
- The list of instances for the cluster and given filters.
$sel:httpStatus:ListInstancesResponse'
, listInstancesResponse_httpStatus
- The response's http status code.
PutAutoScalingPolicy
data PutAutoScalingPolicy Source #
See: newPutAutoScalingPolicy
smart constructor.
Constructors
PutAutoScalingPolicy' Text Text AutoScalingPolicy |
Instances
newPutAutoScalingPolicy Source #
Arguments
:: Text | |
-> Text | |
-> AutoScalingPolicy | |
-> PutAutoScalingPolicy |
Create a value of PutAutoScalingPolicy
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:clusterId:PutAutoScalingPolicy'
, putAutoScalingPolicy_clusterId
- Specifies the ID of a cluster. The instance group to which the automatic
scaling policy is applied is within this cluster.
$sel:instanceGroupId:PutAutoScalingPolicy'
, putAutoScalingPolicy_instanceGroupId
- Specifies the ID of the instance group to which the automatic scaling
policy is applied.
$sel:autoScalingPolicy:PutAutoScalingPolicy'
, putAutoScalingPolicy_autoScalingPolicy
- Specifies the definition of the automatic scaling policy.
data PutAutoScalingPolicyResponse Source #
See: newPutAutoScalingPolicyResponse
smart constructor.
Constructors
PutAutoScalingPolicyResponse' (Maybe Text) (Maybe Text) (Maybe AutoScalingPolicyDescription) (Maybe Text) Int |
Instances
newPutAutoScalingPolicyResponse Source #
Create a value of PutAutoScalingPolicyResponse
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:clusterArn:PutAutoScalingPolicyResponse'
, putAutoScalingPolicyResponse_clusterArn
- The Amazon Resource Name (ARN) of the cluster.
$sel:clusterId:PutAutoScalingPolicy'
, putAutoScalingPolicyResponse_clusterId
- Specifies the ID of a cluster. The instance group to which the automatic
scaling policy is applied is within this cluster.
$sel:autoScalingPolicy:PutAutoScalingPolicy'
, putAutoScalingPolicyResponse_autoScalingPolicy
- The automatic scaling policy definition.
$sel:instanceGroupId:PutAutoScalingPolicy'
, putAutoScalingPolicyResponse_instanceGroupId
- Specifies the ID of the instance group to which the scaling policy is
applied.
$sel:httpStatus:PutAutoScalingPolicyResponse'
, putAutoScalingPolicyResponse_httpStatus
- The response's http status code.
DeleteStudioSessionMapping
data DeleteStudioSessionMapping Source #
See: newDeleteStudioSessionMapping
smart constructor.
Constructors
DeleteStudioSessionMapping' (Maybe Text) (Maybe Text) Text IdentityType |
Instances
newDeleteStudioSessionMapping Source #
Arguments
:: Text | |
-> IdentityType | |
-> DeleteStudioSessionMapping |
Create a value of DeleteStudioSessionMapping
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:identityId:DeleteStudioSessionMapping'
, deleteStudioSessionMapping_identityId
- The globally unique identifier (GUID) of the user or group to remove
from the Amazon EMR Studio. For more information, see
UserId
and
GroupId
in the Amazon Web Services SSO Identity Store API Reference. Either
IdentityName
or IdentityId
must be specified.
$sel:identityName:DeleteStudioSessionMapping'
, deleteStudioSessionMapping_identityName
- The name of the user name or group to remove from the Amazon EMR Studio.
For more information, see
UserName
and
DisplayName
in the Amazon Web Services SSO Store API Reference. Either
IdentityName
or IdentityId
must be specified.
$sel:studioId:DeleteStudioSessionMapping'
, deleteStudioSessionMapping_studioId
- The ID of the Amazon EMR Studio.
$sel:identityType:DeleteStudioSessionMapping'
, deleteStudioSessionMapping_identityType
- Specifies whether the identity to delete from the Amazon EMR Studio is a
user or a group.
data DeleteStudioSessionMappingResponse Source #
See: newDeleteStudioSessionMappingResponse
smart constructor.
Constructors
DeleteStudioSessionMappingResponse' | |
Instances
Eq DeleteStudioSessionMappingResponse Source # | |
Read DeleteStudioSessionMappingResponse Source # | |
Show DeleteStudioSessionMappingResponse Source # | |
Defined in Amazonka.EMR.DeleteStudioSessionMapping Methods showsPrec :: Int -> DeleteStudioSessionMappingResponse -> ShowS # | |
Generic DeleteStudioSessionMappingResponse Source # | |
Defined in Amazonka.EMR.DeleteStudioSessionMapping Associated Types type Rep DeleteStudioSessionMappingResponse :: Type -> Type # | |
NFData DeleteStudioSessionMappingResponse Source # | |
Defined in Amazonka.EMR.DeleteStudioSessionMapping Methods rnf :: DeleteStudioSessionMappingResponse -> () # | |
type Rep DeleteStudioSessionMappingResponse Source # | |
Defined in Amazonka.EMR.DeleteStudioSessionMapping |
newDeleteStudioSessionMappingResponse :: DeleteStudioSessionMappingResponse Source #
Create a value of DeleteStudioSessionMappingResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
UpdateStudioSessionMapping
data UpdateStudioSessionMapping Source #
See: newUpdateStudioSessionMapping
smart constructor.
Constructors
UpdateStudioSessionMapping' (Maybe Text) (Maybe Text) Text IdentityType Text |
Instances
newUpdateStudioSessionMapping Source #
Arguments
:: Text | |
-> IdentityType | |
-> Text | |
-> UpdateStudioSessionMapping |
Create a value of UpdateStudioSessionMapping
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:identityId:UpdateStudioSessionMapping'
, updateStudioSessionMapping_identityId
- The globally unique identifier (GUID) of the user or group. For more
information, see
UserId
and
GroupId
in the Amazon Web Services SSO Identity Store API Reference. Either
IdentityName
or IdentityId
must be specified.
$sel:identityName:UpdateStudioSessionMapping'
, updateStudioSessionMapping_identityName
- The name of the user or group to update. For more information, see
UserName
and
DisplayName
in the Amazon Web Services SSO Identity Store API Reference. Either
IdentityName
or IdentityId
must be specified.
$sel:studioId:UpdateStudioSessionMapping'
, updateStudioSessionMapping_studioId
- The ID of the Amazon EMR Studio.
$sel:identityType:UpdateStudioSessionMapping'
, updateStudioSessionMapping_identityType
- Specifies whether the identity to update is a user or a group.
$sel:sessionPolicyArn:UpdateStudioSessionMapping'
, updateStudioSessionMapping_sessionPolicyArn
- The Amazon Resource Name (ARN) of the session policy to associate with
the specified user or group.
data UpdateStudioSessionMappingResponse Source #
See: newUpdateStudioSessionMappingResponse
smart constructor.
Constructors
UpdateStudioSessionMappingResponse' | |
Instances
Eq UpdateStudioSessionMappingResponse Source # | |
Read UpdateStudioSessionMappingResponse Source # | |
Show UpdateStudioSessionMappingResponse Source # | |
Defined in Amazonka.EMR.UpdateStudioSessionMapping Methods showsPrec :: Int -> UpdateStudioSessionMappingResponse -> ShowS # | |
Generic UpdateStudioSessionMappingResponse Source # | |
Defined in Amazonka.EMR.UpdateStudioSessionMapping Associated Types type Rep UpdateStudioSessionMappingResponse :: Type -> Type # | |
NFData UpdateStudioSessionMappingResponse Source # | |
Defined in Amazonka.EMR.UpdateStudioSessionMapping Methods rnf :: UpdateStudioSessionMappingResponse -> () # | |
type Rep UpdateStudioSessionMappingResponse Source # | |
Defined in Amazonka.EMR.UpdateStudioSessionMapping |
newUpdateStudioSessionMappingResponse :: UpdateStudioSessionMappingResponse Source #
Create a value of UpdateStudioSessionMappingResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
ListClusters (Paginated)
data ListClusters Source #
This input determines how the ListClusters action filters the list of clusters that it returns.
See: newListClusters
smart constructor.
Constructors
ListClusters' (Maybe POSIX) (Maybe Text) (Maybe [ClusterState]) (Maybe POSIX) |
Instances
newListClusters :: ListClusters Source #
Create a value of ListClusters
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:createdAfter:ListClusters'
, listClusters_createdAfter
- The creation date and time beginning value filter for listing clusters.
$sel:marker:ListClusters'
, listClusters_marker
- The pagination token that indicates the next set of results to retrieve.
$sel:clusterStates:ListClusters'
, listClusters_clusterStates
- The cluster state filters to apply when listing clusters. Clusters that
change state while this action runs may be not be returned as expected
in the list of clusters.
$sel:createdBefore:ListClusters'
, listClusters_createdBefore
- The creation date and time end value filter for listing clusters.
data ListClustersResponse Source #
This contains a ClusterSummaryList with the cluster details; for example, the cluster IDs, names, and status.
See: newListClustersResponse
smart constructor.
Constructors
ListClustersResponse' (Maybe Text) (Maybe [ClusterSummary]) Int |
Instances
newListClustersResponse Source #
Arguments
:: Int | |
-> ListClustersResponse |
Create a value of ListClustersResponse
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:marker:ListClusters'
, listClustersResponse_marker
- The pagination token that indicates the next set of results to retrieve.
$sel:clusters:ListClustersResponse'
, listClustersResponse_clusters
- The list of clusters for the account based on the given filters.
$sel:httpStatus:ListClustersResponse'
, listClustersResponse_httpStatus
- The response's http status code.
DescribeSecurityConfiguration
data DescribeSecurityConfiguration Source #
See: newDescribeSecurityConfiguration
smart constructor.
Constructors
DescribeSecurityConfiguration' Text |
Instances
newDescribeSecurityConfiguration Source #
Create a value of DescribeSecurityConfiguration
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:DescribeSecurityConfiguration'
, describeSecurityConfiguration_name
- The name of the security configuration.
data DescribeSecurityConfigurationResponse Source #
See: newDescribeSecurityConfigurationResponse
smart constructor.
Instances
newDescribeSecurityConfigurationResponse Source #
Arguments
:: Int | |
-> DescribeSecurityConfigurationResponse |
Create a value of DescribeSecurityConfigurationResponse
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:securityConfiguration:DescribeSecurityConfigurationResponse'
, describeSecurityConfigurationResponse_securityConfiguration
- The security configuration details in JSON format.
$sel:name:DescribeSecurityConfiguration'
, describeSecurityConfigurationResponse_name
- The name of the security configuration.
$sel:creationDateTime:DescribeSecurityConfigurationResponse'
, describeSecurityConfigurationResponse_creationDateTime
- The date and time the security configuration was created
$sel:httpStatus:DescribeSecurityConfigurationResponse'
, describeSecurityConfigurationResponse_httpStatus
- The response's http status code.
StopNotebookExecution
data StopNotebookExecution Source #
See: newStopNotebookExecution
smart constructor.
Constructors
StopNotebookExecution' Text |
Instances
newStopNotebookExecution Source #
Create a value of StopNotebookExecution
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:notebookExecutionId:StopNotebookExecution'
, stopNotebookExecution_notebookExecutionId
- The unique identifier of the notebook execution.
data StopNotebookExecutionResponse Source #
See: newStopNotebookExecutionResponse
smart constructor.
Constructors
StopNotebookExecutionResponse' | |
Instances
Eq StopNotebookExecutionResponse Source # | |
Defined in Amazonka.EMR.StopNotebookExecution | |
Read StopNotebookExecutionResponse Source # | |
Show StopNotebookExecutionResponse Source # | |
Defined in Amazonka.EMR.StopNotebookExecution Methods showsPrec :: Int -> StopNotebookExecutionResponse -> ShowS # show :: StopNotebookExecutionResponse -> String # showList :: [StopNotebookExecutionResponse] -> ShowS # | |
Generic StopNotebookExecutionResponse Source # | |
Defined in Amazonka.EMR.StopNotebookExecution Associated Types type Rep StopNotebookExecutionResponse :: Type -> Type # | |
NFData StopNotebookExecutionResponse Source # | |
Defined in Amazonka.EMR.StopNotebookExecution Methods rnf :: StopNotebookExecutionResponse -> () # | |
type Rep StopNotebookExecutionResponse Source # | |
Defined in Amazonka.EMR.StopNotebookExecution |
newStopNotebookExecutionResponse :: StopNotebookExecutionResponse Source #
Create a value of StopNotebookExecutionResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
ListStudioSessionMappings (Paginated)
data ListStudioSessionMappings Source #
See: newListStudioSessionMappings
smart constructor.
Constructors
ListStudioSessionMappings' (Maybe Text) (Maybe IdentityType) (Maybe Text) |
Instances
newListStudioSessionMappings :: ListStudioSessionMappings Source #
Create a value of ListStudioSessionMappings
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:studioId:ListStudioSessionMappings'
, listStudioSessionMappings_studioId
- The ID of the Amazon EMR Studio.
$sel:identityType:ListStudioSessionMappings'
, listStudioSessionMappings_identityType
- Specifies whether to return session mappings for users or groups. If not
specified, the results include session mapping details for both users
and groups.
$sel:marker:ListStudioSessionMappings'
, listStudioSessionMappings_marker
- The pagination token that indicates the set of results to retrieve.
data ListStudioSessionMappingsResponse Source #
See: newListStudioSessionMappingsResponse
smart constructor.
Constructors
ListStudioSessionMappingsResponse' (Maybe [SessionMappingSummary]) (Maybe Text) Int |
Instances
newListStudioSessionMappingsResponse Source #
Arguments
:: Int | |
-> ListStudioSessionMappingsResponse |
Create a value of ListStudioSessionMappingsResponse
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:sessionMappings:ListStudioSessionMappingsResponse'
, listStudioSessionMappingsResponse_sessionMappings
- A list of session mapping summary objects. Each object includes session
mapping details such as creation time, identity type (user or group),
and Amazon EMR Studio ID.
$sel:marker:ListStudioSessionMappings'
, listStudioSessionMappingsResponse_marker
- The pagination token that indicates the next set of results to retrieve.
$sel:httpStatus:ListStudioSessionMappingsResponse'
, listStudioSessionMappingsResponse_httpStatus
- The response's http status code.
GetManagedScalingPolicy
data GetManagedScalingPolicy Source #
See: newGetManagedScalingPolicy
smart constructor.
Constructors
GetManagedScalingPolicy' Text |
Instances
newGetManagedScalingPolicy Source #
Create a value of GetManagedScalingPolicy
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:clusterId:GetManagedScalingPolicy'
, getManagedScalingPolicy_clusterId
- Specifies the ID of the cluster for which the managed scaling policy
will be fetched.
data GetManagedScalingPolicyResponse Source #
See: newGetManagedScalingPolicyResponse
smart constructor.
Constructors
GetManagedScalingPolicyResponse' (Maybe ManagedScalingPolicy) Int |
Instances
newGetManagedScalingPolicyResponse Source #
Create a value of GetManagedScalingPolicyResponse
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:managedScalingPolicy:GetManagedScalingPolicyResponse'
, getManagedScalingPolicyResponse_managedScalingPolicy
- Specifies the managed scaling policy that is attached to an Amazon EMR
cluster.
$sel:httpStatus:GetManagedScalingPolicyResponse'
, getManagedScalingPolicyResponse_httpStatus
- The response's http status code.
ListInstanceFleets (Paginated)
data ListInstanceFleets Source #
See: newListInstanceFleets
smart constructor.
Constructors
ListInstanceFleets' (Maybe Text) Text |
Instances
newListInstanceFleets Source #
Arguments
:: Text | |
-> ListInstanceFleets |
Create a value of ListInstanceFleets
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:marker:ListInstanceFleets'
, listInstanceFleets_marker
- The pagination token that indicates the next set of results to retrieve.
$sel:clusterId:ListInstanceFleets'
, listInstanceFleets_clusterId
- The unique identifier of the cluster.
data ListInstanceFleetsResponse Source #
See: newListInstanceFleetsResponse
smart constructor.
Constructors
ListInstanceFleetsResponse' (Maybe [InstanceFleet]) (Maybe Text) Int |
Instances
newListInstanceFleetsResponse Source #
Create a value of ListInstanceFleetsResponse
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:ListInstanceFleetsResponse'
, listInstanceFleetsResponse_instanceFleets
- The list of instance fleets for the cluster and given filters.
$sel:marker:ListInstanceFleets'
, listInstanceFleetsResponse_marker
- The pagination token that indicates the next set of results to retrieve.
$sel:httpStatus:ListInstanceFleetsResponse'
, listInstanceFleetsResponse_httpStatus
- The response's http status code.
RemoveManagedScalingPolicy
data RemoveManagedScalingPolicy Source #
See: newRemoveManagedScalingPolicy
smart constructor.
Constructors
RemoveManagedScalingPolicy' Text |
Instances
newRemoveManagedScalingPolicy Source #
Create a value of RemoveManagedScalingPolicy
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:clusterId:RemoveManagedScalingPolicy'
, removeManagedScalingPolicy_clusterId
- Specifies the ID of the cluster from which the managed scaling policy
will be removed.
data RemoveManagedScalingPolicyResponse Source #
See: newRemoveManagedScalingPolicyResponse
smart constructor.
Constructors
RemoveManagedScalingPolicyResponse' Int |
Instances
newRemoveManagedScalingPolicyResponse Source #
Arguments
:: Int | |
-> RemoveManagedScalingPolicyResponse |
Create a value of RemoveManagedScalingPolicyResponse
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:httpStatus:RemoveManagedScalingPolicyResponse'
, removeManagedScalingPolicyResponse_httpStatus
- The response's http status code.
DescribeNotebookExecution
data DescribeNotebookExecution Source #
See: newDescribeNotebookExecution
smart constructor.
Constructors
DescribeNotebookExecution' Text |
Instances
newDescribeNotebookExecution Source #
Create a value of DescribeNotebookExecution
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:notebookExecutionId:DescribeNotebookExecution'
, describeNotebookExecution_notebookExecutionId
- The unique identifier of the notebook execution.
data DescribeNotebookExecutionResponse Source #
See: newDescribeNotebookExecutionResponse
smart constructor.
Constructors
DescribeNotebookExecutionResponse' (Maybe NotebookExecution) Int |
Instances
newDescribeNotebookExecutionResponse Source #
Arguments
:: Int | |
-> DescribeNotebookExecutionResponse |
Create a value of DescribeNotebookExecutionResponse
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:notebookExecution:DescribeNotebookExecutionResponse'
, describeNotebookExecutionResponse_notebookExecution
- Properties of the notebook execution.
$sel:httpStatus:DescribeNotebookExecutionResponse'
, describeNotebookExecutionResponse_httpStatus
- The response's http status code.
Types
ActionOnFailure
newtype ActionOnFailure Source #
Constructors
ActionOnFailure' | |
Fields |
Bundled Patterns
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 #
Constructors
AdjustmentType' | |
Fields |
Bundled Patterns
pattern AdjustmentType_CHANGE_IN_CAPACITY :: AdjustmentType | |
pattern AdjustmentType_EXACT_CAPACITY :: AdjustmentType | |
pattern AdjustmentType_PERCENT_CHANGE_IN_CAPACITY :: AdjustmentType |
Instances
AuthMode
Constructors
AuthMode' | |
Fields
|
Bundled Patterns
pattern AuthMode_IAM :: AuthMode | |
pattern AuthMode_SSO :: AuthMode |
Instances
AutoScalingPolicyState
newtype AutoScalingPolicyState Source #
Constructors
AutoScalingPolicyState' | |
Fields |
Bundled Patterns
Instances
AutoScalingPolicyStateChangeReasonCode
newtype AutoScalingPolicyStateChangeReasonCode Source #
Constructors
AutoScalingPolicyStateChangeReasonCode' | |
Bundled Patterns
Instances
CancelStepsRequestStatus
newtype CancelStepsRequestStatus Source #
Constructors
CancelStepsRequestStatus' | |
Fields |
Bundled Patterns
pattern CancelStepsRequestStatus_FAILED :: CancelStepsRequestStatus | |
pattern CancelStepsRequestStatus_SUBMITTED :: CancelStepsRequestStatus |
Instances
ClusterState
newtype ClusterState Source #
Constructors
ClusterState' | |
Fields |
Bundled Patterns
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 #
Constructors
ClusterStateChangeReasonCode' | |
Fields |
Bundled Patterns
Instances
ComparisonOperator
newtype ComparisonOperator Source #
Constructors
ComparisonOperator' | |
Fields |
Bundled Patterns
Instances
ComputeLimitsUnitType
newtype ComputeLimitsUnitType Source #
Constructors
ComputeLimitsUnitType' | |
Fields |
Bundled Patterns
pattern ComputeLimitsUnitType_InstanceFleetUnits :: ComputeLimitsUnitType | |
pattern ComputeLimitsUnitType_Instances :: ComputeLimitsUnitType | |
pattern ComputeLimitsUnitType_VCPU :: ComputeLimitsUnitType |
Instances
ExecutionEngineType
newtype ExecutionEngineType Source #
Constructors
ExecutionEngineType' | |
Fields |
Bundled Patterns
pattern ExecutionEngineType_EMR :: ExecutionEngineType |
Instances
IdentityType
newtype IdentityType Source #
Constructors
IdentityType' | |
Fields |
Bundled Patterns
pattern IdentityType_GROUP :: IdentityType | |
pattern IdentityType_USER :: IdentityType |
Instances
InstanceCollectionType
newtype InstanceCollectionType Source #
Constructors
InstanceCollectionType' | |
Fields |
Bundled Patterns
pattern InstanceCollectionType_INSTANCE_FLEET :: InstanceCollectionType | |
pattern InstanceCollectionType_INSTANCE_GROUP :: InstanceCollectionType |
Instances
InstanceFleetState
newtype InstanceFleetState Source #
Constructors
InstanceFleetState' | |
Fields |
Bundled Patterns
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 #
Constructors
InstanceFleetStateChangeReasonCode' | |
Bundled Patterns
Instances
InstanceFleetType
newtype InstanceFleetType Source #
Constructors
InstanceFleetType' | |
Fields |
Bundled Patterns
pattern InstanceFleetType_CORE :: InstanceFleetType | |
pattern InstanceFleetType_MASTER :: InstanceFleetType | |
pattern InstanceFleetType_TASK :: InstanceFleetType |
Instances
InstanceGroupState
newtype InstanceGroupState Source #
Constructors
InstanceGroupState' | |
Fields |
Bundled Patterns
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 #
Constructors
InstanceGroupStateChangeReasonCode' | |
Bundled Patterns
Instances
InstanceGroupType
newtype InstanceGroupType Source #
Constructors
InstanceGroupType' | |
Fields |
Bundled Patterns
pattern InstanceGroupType_CORE :: InstanceGroupType | |
pattern InstanceGroupType_MASTER :: InstanceGroupType | |
pattern InstanceGroupType_TASK :: InstanceGroupType |
Instances
InstanceRoleType
newtype InstanceRoleType Source #
Constructors
InstanceRoleType' | |
Fields |
Bundled Patterns
pattern InstanceRoleType_CORE :: InstanceRoleType | |
pattern InstanceRoleType_MASTER :: InstanceRoleType | |
pattern InstanceRoleType_TASK :: InstanceRoleType |
Instances
InstanceState
newtype InstanceState Source #
Constructors
InstanceState' | |
Fields |
Bundled Patterns
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 #
Constructors
InstanceStateChangeReasonCode' | |
Fields |
Bundled Patterns
Instances
MarketType
newtype MarketType Source #
Constructors
MarketType' | |
Fields |
Bundled Patterns
pattern MarketType_ON_DEMAND :: MarketType | |
pattern MarketType_SPOT :: MarketType |
Instances
NotebookExecutionStatus
newtype NotebookExecutionStatus Source #
Constructors
NotebookExecutionStatus' | |
Fields |
Bundled Patterns
Instances
OnDemandCapacityReservationPreference
newtype OnDemandCapacityReservationPreference Source #
Constructors
OnDemandCapacityReservationPreference' | |
Bundled Patterns
pattern OnDemandCapacityReservationPreference_None :: OnDemandCapacityReservationPreference | |
pattern OnDemandCapacityReservationPreference_Open :: OnDemandCapacityReservationPreference |
Instances
OnDemandCapacityReservationUsageStrategy
newtype OnDemandCapacityReservationUsageStrategy Source #
Constructors
OnDemandCapacityReservationUsageStrategy' | |
Bundled Patterns
pattern OnDemandCapacityReservationUsageStrategy_Use_capacity_reservations_first :: OnDemandCapacityReservationUsageStrategy |
Instances
OnDemandProvisioningAllocationStrategy
newtype OnDemandProvisioningAllocationStrategy Source #
Constructors
OnDemandProvisioningAllocationStrategy' | |
Bundled Patterns
pattern OnDemandProvisioningAllocationStrategy_Lowest_price :: OnDemandProvisioningAllocationStrategy |
Instances
PlacementGroupStrategy
newtype PlacementGroupStrategy Source #
Constructors
PlacementGroupStrategy' | |
Fields |
Bundled Patterns
Instances
RepoUpgradeOnBoot
newtype RepoUpgradeOnBoot Source #
Constructors
RepoUpgradeOnBoot' | |
Fields |
Bundled Patterns
pattern RepoUpgradeOnBoot_NONE :: RepoUpgradeOnBoot | |
pattern RepoUpgradeOnBoot_SECURITY :: RepoUpgradeOnBoot |
Instances
ScaleDownBehavior
newtype ScaleDownBehavior Source #
Constructors
ScaleDownBehavior' | |
Fields |
Bundled Patterns
pattern ScaleDownBehavior_TERMINATE_AT_INSTANCE_HOUR :: ScaleDownBehavior | |
pattern ScaleDownBehavior_TERMINATE_AT_TASK_COMPLETION :: ScaleDownBehavior |
Instances
SpotProvisioningAllocationStrategy
newtype SpotProvisioningAllocationStrategy Source #
Constructors
SpotProvisioningAllocationStrategy' | |
Bundled Patterns
pattern SpotProvisioningAllocationStrategy_Capacity_optimized :: SpotProvisioningAllocationStrategy |
Instances
SpotProvisioningTimeoutAction
newtype SpotProvisioningTimeoutAction Source #
Constructors
SpotProvisioningTimeoutAction' | |
Fields |
Bundled Patterns
pattern SpotProvisioningTimeoutAction_SWITCH_TO_ON_DEMAND :: SpotProvisioningTimeoutAction | |
pattern SpotProvisioningTimeoutAction_TERMINATE_CLUSTER :: SpotProvisioningTimeoutAction |
Instances
Statistic
Constructors
Statistic' | |
Fields |
Bundled Patterns
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 #
Constructors
StepCancellationOption' | |
Fields |
Bundled Patterns
pattern StepCancellationOption_SEND_INTERRUPT :: StepCancellationOption | |
pattern StepCancellationOption_TERMINATE_PROCESS :: StepCancellationOption |
Instances
StepState
Constructors
StepState' | |
Fields |
Bundled Patterns
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 #
Constructors
StepStateChangeReasonCode' | |
Fields |
Bundled Patterns
pattern StepStateChangeReasonCode_NONE :: StepStateChangeReasonCode |
Instances
Unit
Bundled Patterns
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
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.
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.
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.
Constructors
AutoScalingPolicy' ScalingConstraints [ScalingRule] |
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.
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.
Constructors
AutoScalingPolicyDescription' (Maybe AutoScalingPolicyStatus) (Maybe [ScalingRule]) (Maybe ScalingConstraints) |
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.
AutoScalingPolicyStateChangeReason
data AutoScalingPolicyStateChangeReason Source #
The reason for an AutoScalingPolicyStatus change.
See: newAutoScalingPolicyStateChangeReason
smart constructor.
Constructors
AutoScalingPolicyStateChangeReason' (Maybe AutoScalingPolicyStateChangeReasonCode) (Maybe Text) |
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.
AutoScalingPolicyStatus
data AutoScalingPolicyStatus Source #
The status of an automatic scaling policy.
See: newAutoScalingPolicyStatus
smart constructor.
Constructors
AutoScalingPolicyStatus' (Maybe AutoScalingPolicyState) (Maybe AutoScalingPolicyStateChangeReason) |
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.
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.
Constructors
AutoTerminationPolicy' (Maybe Integer) |
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).
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.
Constructors
BlockPublicAccessConfiguration' (Maybe [PortRange]) Bool |
Instances
newBlockPublicAccessConfiguration Source #
Arguments
:: 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
.
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.
Constructors
BlockPublicAccessConfigurationMetadata' POSIX Text |
Instances
newBlockPublicAccessConfigurationMetadata Source #
Arguments
:: 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.
BootstrapActionConfig
data BootstrapActionConfig Source #
Configuration of a bootstrap action.
See: newBootstrapActionConfig
smart constructor.
Constructors
BootstrapActionConfig' Text ScriptBootstrapActionConfig |
Instances
newBootstrapActionConfig Source #
Arguments
:: Text | |
-> ScriptBootstrapActionConfig | |
-> BootstrapActionConfig |
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.
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.
Constructors
CancelStepsInfo' (Maybe CancelStepsRequestStatus) (Maybe Text) (Maybe Text) |
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.
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.
Constructors
CloudWatchAlarmDefinition' (Maybe Int) (Maybe Text) (Maybe [MetricDimension]) (Maybe Unit) (Maybe Statistic) ComparisonOperator Text Int Double |
Instances
newCloudWatchAlarmDefinition Source #
Arguments
:: 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.
Cluster
The detailed description of the cluster.
See: newCluster
smart constructor.
Constructors
Cluster' (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Int) (Maybe Ec2InstanceAttributes) (Maybe Text) (Maybe Int) (Maybe [Configuration]) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe ScaleDownBehavior) (Maybe InstanceCollectionType) (Maybe Text) (Maybe RepoUpgradeOnBoot) (Maybe Text) (Maybe KerberosAttributes) (Maybe [PlacementGroupConfig]) (Maybe Text) (Maybe Text) (Maybe Bool) (Maybe Bool) (Maybe Bool) (Maybe Int) (Maybe [Application]) (Maybe [Tag]) (Maybe Text) Text Text ClusterStatus |
Instances
Arguments
:: Text | |
-> Text | |
-> ClusterStatus | |
-> Cluster |
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.
ClusterStateChangeReason
data ClusterStateChangeReason Source #
The reason that the cluster changed to its current state.
See: newClusterStateChangeReason
smart constructor.
Constructors
ClusterStateChangeReason' (Maybe ClusterStateChangeReasonCode) (Maybe Text) |
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.
ClusterStatus
data ClusterStatus Source #
The detailed status of the cluster.
See: newClusterStatus
smart constructor.
Constructors
ClusterStatus' (Maybe ClusterState) (Maybe ClusterStateChangeReason) (Maybe ClusterTimeline) |
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.
ClusterSummary
data ClusterSummary Source #
The summary description of the cluster.
See: newClusterSummary
smart constructor.
Constructors
ClusterSummary' (Maybe ClusterStatus) (Maybe Text) (Maybe Text) (Maybe Int) (Maybe Text) (Maybe Text) |
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.
ClusterTimeline
data ClusterTimeline Source #
Represents the timeline of the cluster's lifecycle.
See: newClusterTimeline
smart constructor.
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.
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.
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.
Constructors
ComputeLimits' (Maybe Int) (Maybe Int) ComputeLimitsUnitType Int Int |
Instances
Arguments
:: 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.
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.
Constructors
Configuration' (Maybe [Configuration]) (Maybe Text) (Maybe (HashMap Text Text)) |
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.
EbsBlockDevice
data EbsBlockDevice Source #
Configuration of requested EBS block device associated with the instance group.
See: newEbsBlockDevice
smart constructor.
Constructors
EbsBlockDevice' (Maybe Text) (Maybe VolumeSpecification) |
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.
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.
Constructors
EbsBlockDeviceConfig' (Maybe Int) VolumeSpecification |
Instances
newEbsBlockDeviceConfig Source #
Arguments
:: VolumeSpecification | |
-> EbsBlockDeviceConfig |
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.
EbsConfiguration
data EbsConfiguration Source #
The Amazon EBS configuration of a cluster instance.
See: newEbsConfiguration
smart constructor.
Constructors
EbsConfiguration' (Maybe Bool) (Maybe [EbsBlockDeviceConfig]) |
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.
EbsVolume
EBS block device that's attached to an EC2 instance.
See: newEbsVolume
smart constructor.
Constructors
EbsVolume' (Maybe Text) (Maybe Text) |
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.
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.
Constructors
Ec2InstanceAttributes' (Maybe Text) (Maybe Text) (Maybe [Text]) (Maybe [Text]) (Maybe [Text]) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe [Text]) (Maybe Text) (Maybe Text) |
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.
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.
Constructors
ExecutionEngineConfig' (Maybe Text) (Maybe ExecutionEngineType) Text |
Instances
newExecutionEngineConfig Source #
Arguments
:: Text | |
-> ExecutionEngineConfig |
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.
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.
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.
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.
Instances
newHadoopJarStepConfig Source #
Arguments
:: Text | |
-> HadoopJarStepConfig |
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.
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.
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.
Instance
Represents an EC2 instance provisioned as part of cluster.
See: newInstance
smart constructor.
Constructors
Instance' (Maybe InstanceStatus) (Maybe Text) (Maybe [EbsVolume]) (Maybe Text) (Maybe Text) (Maybe MarketType) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) |
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.
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.
Constructors
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.
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.
Constructors
InstanceFleetConfig' (Maybe [InstanceTypeConfig]) (Maybe Natural) (Maybe Text) (Maybe Natural) (Maybe InstanceFleetProvisioningSpecifications) InstanceFleetType |
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.
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.
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.
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.
Constructors
InstanceFleetProvisioningSpecifications' (Maybe SpotProvisioningSpecification) (Maybe OnDemandProvisioningSpecification) |
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.
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.
Constructors
InstanceFleetStateChangeReason' (Maybe InstanceFleetStateChangeReasonCode) (Maybe Text) |
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.
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.
Constructors
InstanceFleetStatus' (Maybe InstanceFleetState) (Maybe InstanceFleetStateChangeReason) (Maybe InstanceFleetTimeline) |
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.
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.
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.
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.
Constructors
InstanceGroup' (Maybe InstanceGroupStatus) (Maybe Integer) (Maybe Text) (Maybe Int) (Maybe Int) (Maybe [Configuration]) (Maybe [Configuration]) (Maybe Text) (Maybe InstanceGroupType) (Maybe [EbsBlockDevice]) (Maybe Text) (Maybe Integer) (Maybe Bool) (Maybe MarketType) (Maybe Text) (Maybe AutoScalingPolicyDescription) (Maybe ShrinkPolicy) (Maybe Text) |
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.
InstanceGroupConfig
data InstanceGroupConfig Source #
Configuration defining a new instance group.
See: newInstanceGroupConfig
smart constructor.
Constructors
InstanceGroupConfig' (Maybe EbsConfiguration) (Maybe Text) (Maybe [Configuration]) (Maybe Text) (Maybe MarketType) (Maybe Text) (Maybe AutoScalingPolicy) InstanceRoleType Text Int |
Instances
newInstanceGroupConfig Source #
Arguments
:: 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.
InstanceGroupModifyConfig
data InstanceGroupModifyConfig Source #
Modify the size or configurations of an instance group.
See: newInstanceGroupModifyConfig
smart constructor.
Constructors
InstanceGroupModifyConfig' (Maybe Int) (Maybe [Configuration]) (Maybe [Text]) (Maybe ShrinkPolicy) Text |
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.
InstanceGroupStateChangeReason
data InstanceGroupStateChangeReason Source #
The status change reason details for the instance group.
See: newInstanceGroupStateChangeReason
smart constructor.
Constructors
InstanceGroupStateChangeReason' (Maybe InstanceGroupStateChangeReasonCode) (Maybe Text) |
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.
InstanceGroupStatus
data InstanceGroupStatus Source #
The details of the instance group status.
See: newInstanceGroupStatus
smart constructor.
Constructors
InstanceGroupStatus' (Maybe InstanceGroupState) (Maybe InstanceGroupStateChangeReason) (Maybe InstanceGroupTimeline) |
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.
InstanceGroupTimeline
data InstanceGroupTimeline Source #
The timeline of the instance group lifecycle.
See: newInstanceGroupTimeline
smart constructor.
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.
InstanceResizePolicy
data InstanceResizePolicy Source #
Custom policy for requesting termination protection or termination of specific instances when shrinking an instance group.
See: newInstanceResizePolicy
smart constructor.
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.
InstanceStateChangeReason
data InstanceStateChangeReason Source #
The details of the status change reason for the instance.
See: newInstanceStateChangeReason
smart constructor.
Constructors
InstanceStateChangeReason' (Maybe InstanceStateChangeReasonCode) (Maybe Text) |
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.
InstanceStatus
data InstanceStatus Source #
The instance status details.
See: newInstanceStatus
smart constructor.
Constructors
InstanceStatus' (Maybe InstanceState) (Maybe InstanceStateChangeReason) (Maybe InstanceTimeline) |
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.
InstanceTimeline
data InstanceTimeline Source #
The timeline of the instance lifecycle.
See: newInstanceTimeline
smart constructor.
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.
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.
Constructors
InstanceTypeConfig' (Maybe EbsConfiguration) (Maybe Text) (Maybe Natural) (Maybe [Configuration]) (Maybe Text) (Maybe Double) Text |
Instances
newInstanceTypeConfig Source #
Arguments
:: Text | |
-> InstanceTypeConfig |
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
.
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.
Constructors
InstanceTypeSpecification' (Maybe Text) (Maybe Natural) (Maybe [Configuration]) (Maybe Text) (Maybe [EbsBlockDevice]) (Maybe Text) (Maybe Bool) (Maybe Double) |
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%).
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.
Constructors
JobFlowInstancesConfig' (Maybe [InstanceFleetConfig]) (Maybe Text) (Maybe Text) (Maybe Int) (Maybe Text) (Maybe [Text]) (Maybe [Text]) (Maybe Text) (Maybe [Text]) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe [InstanceGroupConfig]) (Maybe Bool) (Maybe Text) (Maybe Bool) (Maybe PlacementType) |
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.
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.
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.
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.
Constructors
ManagedScalingPolicy' (Maybe ComputeLimits) |
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.
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.
Constructors
MetricDimension' (Maybe Text) (Maybe Text) |
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.
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.
Constructors
NotebookExecution' (Maybe NotebookExecutionStatus) (Maybe ExecutionEngineConfig) (Maybe Text) (Maybe Text) (Maybe POSIX) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe POSIX) (Maybe Text) (Maybe [Tag]) |
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.
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.
Constructors
NotebookExecutionSummary' (Maybe NotebookExecutionStatus) (Maybe Text) (Maybe POSIX) (Maybe Text) (Maybe Text) (Maybe POSIX) |
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.
OnDemandCapacityReservationOptions
data OnDemandCapacityReservationOptions Source #
Describes the strategy for using unused Capacity Reservations for fulfilling On-Demand capacity.
See: newOnDemandCapacityReservationOptions
smart constructor.
Constructors
OnDemandCapacityReservationOptions' (Maybe OnDemandCapacityReservationUsageStrategy) (Maybe Text) (Maybe OnDemandCapacityReservationPreference) |
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.
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.
Constructors
OnDemandProvisioningSpecification' (Maybe OnDemandCapacityReservationOptions) OnDemandProvisioningAllocationStrategy |
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.
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.
Constructors
PlacementGroupConfig' (Maybe PlacementGroupStrategy) InstanceRoleType |
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
.
PlacementType
data PlacementType Source #
The Amazon EC2 Availability Zone configuration of the cluster (job flow).
See: newPlacementType
smart constructor.
Constructors
PlacementType' (Maybe [Text]) (Maybe Text) |
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.
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.
Constructors
PortRange' (Maybe Int) Int |
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.
ReleaseLabelFilter
data ReleaseLabelFilter Source #
The release label filters by application or version prefix.
See: newReleaseLabelFilter
smart constructor.
Constructors
ReleaseLabelFilter' (Maybe Text) (Maybe Text) |
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
.
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.
Constructors
ScalingAction' (Maybe MarketType) SimpleScalingPolicyConfiguration |
Instances
Arguments
:: SimpleScalingPolicyConfiguration | |
-> ScalingAction |
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.
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.
Constructors
ScalingConstraints' Int Int |
Instances
newScalingConstraints Source #
Arguments
:: 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.
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.
Constructors
ScalingRule' (Maybe Text) Text ScalingAction ScalingTrigger |
Instances
Arguments
:: 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.
ScalingTrigger
data ScalingTrigger Source #
The conditions that trigger an automatic scaling activity.
See: newScalingTrigger
smart constructor.
Constructors
ScalingTrigger' CloudWatchAlarmDefinition |
Instances
Arguments
:: CloudWatchAlarmDefinition | |
-> ScalingTrigger |
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.
ScriptBootstrapActionConfig
data ScriptBootstrapActionConfig Source #
Configuration of the script to run during a bootstrap action.
See: newScriptBootstrapActionConfig
smart constructor.
Constructors
ScriptBootstrapActionConfig' (Maybe [Text]) Text |
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.
SecurityConfigurationSummary
data SecurityConfigurationSummary Source #
The creation date and time, and name, of a security configuration.
See: newSecurityConfigurationSummary
smart constructor.
Constructors
SecurityConfigurationSummary' (Maybe Text) (Maybe POSIX) |
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.
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.
Constructors
SessionMappingDetail' (Maybe POSIX) (Maybe Text) (Maybe POSIX) (Maybe IdentityType) (Maybe Text) (Maybe Text) (Maybe Text) |
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.
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.
Constructors
SessionMappingSummary' (Maybe POSIX) (Maybe Text) (Maybe IdentityType) (Maybe Text) (Maybe Text) (Maybe Text) |
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.
ShrinkPolicy
data ShrinkPolicy Source #
Policy for customizing shrink operations. Allows configuration of decommissioning timeout and targeted instance shrinking.
See: newShrinkPolicy
smart constructor.
Constructors
ShrinkPolicy' (Maybe Int) (Maybe InstanceResizePolicy) |
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.
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.
Constructors
SimpleScalingPolicyConfiguration' (Maybe AdjustmentType) (Maybe Int) Int |
Instances
newSimpleScalingPolicyConfiguration Source #
Arguments
:: Int | |
-> SimpleScalingPolicyConfiguration |
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.
SimplifiedApplication
data SimplifiedApplication Source #
The returned release label application names or versions.
See: newSimplifiedApplication
smart constructor.
Constructors
SimplifiedApplication' (Maybe Text) (Maybe Text) |
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
.
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.
Constructors
SpotProvisioningSpecification' (Maybe Natural) (Maybe SpotProvisioningAllocationStrategy) Natural SpotProvisioningTimeoutAction |
Instances
newSpotProvisioningSpecification Source #
Arguments
:: Natural | |
-> SpotProvisioningTimeoutAction | |
-> SpotProvisioningSpecification |
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.
Step
This represents a step in a cluster.
See: newStep
smart constructor.
Constructors
Step' (Maybe StepStatus) (Maybe ActionOnFailure) (Maybe HadoopStepConfig) (Maybe Text) (Maybe Text) |
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.
StepConfig
data StepConfig Source #
Specification for a cluster (job flow) step.
See: newStepConfig
smart constructor.
Constructors
StepConfig' (Maybe ActionOnFailure) Text HadoopJarStepConfig |
Instances
Arguments
:: Text | |
-> HadoopJarStepConfig | |
-> StepConfig |
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.
StepStateChangeReason
data StepStateChangeReason Source #
The details of the step state change reason.
See: newStepStateChangeReason
smart constructor.
Constructors
StepStateChangeReason' (Maybe StepStateChangeReasonCode) (Maybe Text) |
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.
StepStatus
data StepStatus Source #
The execution status details of the cluster step.
See: newStepStatus
smart constructor.
Constructors
StepStatus' (Maybe StepState) (Maybe FailureDetails) (Maybe StepStateChangeReason) (Maybe StepTimeline) |
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.
StepSummary
data StepSummary Source #
The summary of the cluster step.
See: newStepSummary
smart constructor.
Constructors
StepSummary' (Maybe StepStatus) (Maybe ActionOnFailure) (Maybe HadoopStepConfig) (Maybe Text) (Maybe Text) |
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.
StepTimeline
data StepTimeline Source #
The timeline of the cluster step lifecycle.
See: newStepTimeline
smart constructor.
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.
Studio
Details for an Amazon EMR Studio including ID, creation time, name, and so on.
See: newStudio
smart constructor.
Constructors
Studio' (Maybe POSIX) (Maybe Text) (Maybe [Text]) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe AuthMode) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe [Tag]) (Maybe Text) |
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.
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.
Constructors
StudioSummary' (Maybe POSIX) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe AuthMode) (Maybe Text) (Maybe Text) |
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.
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.
Constructors
SupportedProductConfig' (Maybe [Text]) (Maybe Text) |
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.
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
.
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.
Constructors
VolumeSpecification' (Maybe Int) Text Int |
Instances
newVolumeSpecification Source #
Arguments
:: 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.