amazonka-emr 1.4.2 → 1.4.3
raw patch · 19 files changed
+233/−508 lines, 19 filesdep ~amazonka-coredep ~amazonka-emrdep ~amazonka-testPVP: major bump suggested
API removals or changes: PVP suggests a major version bump
Dependency ranges changed: amazonka-core, amazonka-emr, amazonka-test
API changes (from Hackage documentation)
- Network.AWS.EMR.AddInstanceGroups: instance Data.Aeson.Types.Class.ToJSON Network.AWS.EMR.AddInstanceGroups.AddInstanceGroups
- Network.AWS.EMR.AddJobFlowSteps: instance Data.Aeson.Types.Class.ToJSON Network.AWS.EMR.AddJobFlowSteps.AddJobFlowSteps
- Network.AWS.EMR.AddTags: instance Data.Aeson.Types.Class.ToJSON Network.AWS.EMR.AddTags.AddTags
- Network.AWS.EMR.DescribeCluster: instance Data.Aeson.Types.Class.ToJSON Network.AWS.EMR.DescribeCluster.DescribeCluster
- Network.AWS.EMR.DescribeStep: instance Data.Aeson.Types.Class.ToJSON Network.AWS.EMR.DescribeStep.DescribeStep
- Network.AWS.EMR.ListBootstrapActions: instance Data.Aeson.Types.Class.ToJSON Network.AWS.EMR.ListBootstrapActions.ListBootstrapActions
- Network.AWS.EMR.ListClusters: instance Data.Aeson.Types.Class.ToJSON Network.AWS.EMR.ListClusters.ListClusters
- Network.AWS.EMR.ListInstanceGroups: instance Data.Aeson.Types.Class.ToJSON Network.AWS.EMR.ListInstanceGroups.ListInstanceGroups
- Network.AWS.EMR.ListInstances: instance Data.Aeson.Types.Class.ToJSON Network.AWS.EMR.ListInstances.ListInstances
- Network.AWS.EMR.ListSteps: instance Data.Aeson.Types.Class.ToJSON Network.AWS.EMR.ListSteps.ListSteps
- Network.AWS.EMR.ModifyInstanceGroups: instance Data.Aeson.Types.Class.ToJSON Network.AWS.EMR.ModifyInstanceGroups.ModifyInstanceGroups
- Network.AWS.EMR.RemoveTags: instance Data.Aeson.Types.Class.ToJSON Network.AWS.EMR.RemoveTags.RemoveTags
- Network.AWS.EMR.RunJobFlow: instance Data.Aeson.Types.Class.ToJSON Network.AWS.EMR.RunJobFlow.RunJobFlow
- Network.AWS.EMR.SetTerminationProtection: instance Data.Aeson.Types.Class.ToJSON Network.AWS.EMR.SetTerminationProtection.SetTerminationProtection
- Network.AWS.EMR.SetVisibleToAllUsers: instance Data.Aeson.Types.Class.ToJSON Network.AWS.EMR.SetVisibleToAllUsers.SetVisibleToAllUsers
- Network.AWS.EMR.TerminateJobFlows: instance Data.Aeson.Types.Class.ToJSON Network.AWS.EMR.TerminateJobFlows.TerminateJobFlows
+ Network.AWS.EMR.AddInstanceGroups: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.EMR.AddInstanceGroups.AddInstanceGroups
+ Network.AWS.EMR.AddJobFlowSteps: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.EMR.AddJobFlowSteps.AddJobFlowSteps
+ Network.AWS.EMR.AddTags: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.EMR.AddTags.AddTags
+ Network.AWS.EMR.DescribeCluster: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.EMR.DescribeCluster.DescribeCluster
+ Network.AWS.EMR.DescribeStep: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.EMR.DescribeStep.DescribeStep
+ Network.AWS.EMR.ListBootstrapActions: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.EMR.ListBootstrapActions.ListBootstrapActions
+ Network.AWS.EMR.ListClusters: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.EMR.ListClusters.ListClusters
+ Network.AWS.EMR.ListInstanceGroups: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.EMR.ListInstanceGroups.ListInstanceGroups
+ Network.AWS.EMR.ListInstances: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.EMR.ListInstances.ListInstances
+ Network.AWS.EMR.ListSteps: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.EMR.ListSteps.ListSteps
+ Network.AWS.EMR.ModifyInstanceGroups: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.EMR.ModifyInstanceGroups.ModifyInstanceGroups
+ Network.AWS.EMR.RemoveTags: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.EMR.RemoveTags.RemoveTags
+ Network.AWS.EMR.RunJobFlow: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.EMR.RunJobFlow.RunJobFlow
+ Network.AWS.EMR.SetTerminationProtection: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.EMR.SetTerminationProtection.SetTerminationProtection
+ Network.AWS.EMR.SetVisibleToAllUsers: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.EMR.SetVisibleToAllUsers.SetVisibleToAllUsers
+ Network.AWS.EMR.TerminateJobFlows: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.EMR.TerminateJobFlows.TerminateJobFlows
Files
- README.md +2/−6
- amazonka-emr.cabal +6/−10
- gen/Network/AWS/EMR.hs +1/−5
- gen/Network/AWS/EMR/AddJobFlowSteps.hs +6/−23
- gen/Network/AWS/EMR/AddTags.hs +3/−10
- gen/Network/AWS/EMR/DescribeCluster.hs +1/−3
- gen/Network/AWS/EMR/ListBootstrapActions.hs +3/−6
- gen/Network/AWS/EMR/ListClusters.hs +3/−9
- gen/Network/AWS/EMR/ListInstances.hs +1/−5
- gen/Network/AWS/EMR/ListSteps.hs +1/−2
- gen/Network/AWS/EMR/ModifyInstanceGroups.hs +1/−4
- gen/Network/AWS/EMR/RemoveTags.hs +3/−8
- gen/Network/AWS/EMR/RunJobFlow.hs +25/−79
- gen/Network/AWS/EMR/SetTerminationProtection.hs +6/−23
- gen/Network/AWS/EMR/SetVisibleToAllUsers.hs +2/−11
- gen/Network/AWS/EMR/TerminateJobFlows.hs +2/−9
- gen/Network/AWS/EMR/Types.hs +2/−4
- gen/Network/AWS/EMR/Types/Product.hs +69/−195
- test/Test/AWS/Gen/EMR.hs +96/−96
README.md view
@@ -8,16 +8,12 @@ ## Version -`1.4.2`+`1.4.3` ## Description -Amazon Elastic MapReduce (Amazon EMR) is a web service that makes it-easy to process large amounts of data efficiently. Amazon EMR uses-Hadoop processing combined with several AWS products to do tasks such as-web indexing, data mining, log file analysis, machine learning,-scientific simulation, and data warehousing.+Amazon Elastic MapReduce (Amazon EMR) is a web service that makes it easy to process large amounts of data efficiently. Amazon EMR uses Hadoop processing combined with several AWS products to do tasks such as web indexing, data mining, log file analysis, machine learning, scientific simulation, and data warehousing. Documentation is available via [Hackage](http://hackage.haskell.org/package/amazonka-emr) and the [AWS API Reference](https://aws.amazon.com/documentation/).
amazonka-emr.cabal view
@@ -1,5 +1,5 @@ name: amazonka-emr-version: 1.4.2+version: 1.4.3 synopsis: Amazon Elastic MapReduce SDK. homepage: https://github.com/brendanhay/amazonka bug-reports: https://github.com/brendanhay/amazonka/issues@@ -13,11 +13,7 @@ cabal-version: >= 1.10 extra-source-files: README.md fixture/*.yaml fixture/*.proto description:- Amazon Elastic MapReduce (Amazon EMR) is a web service that makes it- easy to process large amounts of data efficiently. Amazon EMR uses- Hadoop processing combined with several AWS products to do tasks such as- web indexing, data mining, log file analysis, machine learning,- scientific simulation, and data warehousing.+ Amazon Elastic MapReduce (Amazon EMR) is a web service that makes it easy to process large amounts of data efficiently. Amazon EMR uses Hadoop processing combined with several AWS products to do tasks such as web indexing, data mining, log file analysis, machine learning, scientific simulation, and data warehousing. . The types from this library are intended to be used with <http://hackage.haskell.org/package/amazonka amazonka>, which provides@@ -69,7 +65,7 @@ , Network.AWS.EMR.Types.Sum build-depends:- amazonka-core == 1.4.2.*+ amazonka-core == 1.4.3.* , base >= 4.7 && < 5 test-suite amazonka-emr-test@@ -89,9 +85,9 @@ , Test.AWS.EMR.Internal build-depends:- amazonka-core == 1.4.2.*- , amazonka-test == 1.4.2.*- , amazonka-emr == 1.4.2.*+ amazonka-core == 1.4.3.*+ , amazonka-test == 1.4.3.*+ , amazonka-emr == 1.4.3.* , base , bytestring , tasty
gen/Network/AWS/EMR.hs view
@@ -11,11 +11,7 @@ -- Stability : auto-generated -- Portability : non-portable (GHC extensions) ----- Amazon Elastic MapReduce (Amazon EMR) is a web service that makes it--- easy to process large amounts of data efficiently. Amazon EMR uses--- Hadoop processing combined with several AWS products to do tasks such as--- web indexing, data mining, log file analysis, machine learning,--- scientific simulation, and data warehousing.+-- Amazon Elastic MapReduce (Amazon EMR) is a web service that makes it easy to process large amounts of data efficiently. Amazon EMR uses Hadoop processing combined with several AWS products to do tasks such as web indexing, data mining, log file analysis, machine learning, scientific simulation, and data warehousing. module Network.AWS.EMR ( -- * Service Configuration
gen/Network/AWS/EMR/AddJobFlowSteps.hs view
@@ -18,31 +18,15 @@ -- Stability : auto-generated -- Portability : non-portable (GHC extensions) ----- AddJobFlowSteps adds new steps to a running job flow. A maximum of 256--- steps are allowed in each job flow.+-- AddJobFlowSteps adds new steps to a running job flow. A maximum of 256 steps are allowed in each job flow. ----- If your job flow is long-running (such as a Hive data warehouse) or--- complex, you may require more than 256 steps to process your data. You--- can bypass the 256-step limitation in various ways, including using the--- SSH shell to connect to the master node and submitting queries directly--- to the software running on the master node, such as Hive and Hadoop. For--- more information on how to do this, go to--- <http://docs.aws.amazon.com/ElasticMapReduce/latest/DeveloperGuide/AddMoreThan256Steps.html Add More than 256 Steps to a Job Flow>--- in the /Amazon Elastic MapReduce Developer\'s Guide/.+-- If your job flow is long-running (such as a Hive data warehouse) or complex, you may require more than 256 steps to process your data. You can bypass the 256-step limitation in various ways, including using the SSH shell to connect to the master node and submitting queries directly to the software running on the master node, such as Hive and Hadoop. For more information on how to do this, go to <http://docs.aws.amazon.com/ElasticMapReduce/latest/DeveloperGuide/AddMoreThan256Steps.html Add More than 256 Steps to a Job Flow> in the /Amazon Elastic MapReduce Developer\'s Guide/. ----- A step specifies the location of a JAR file stored either on the master--- node of the job flow or in Amazon S3. Each step is performed by the main--- function of the main class of the JAR file. The main class can be--- specified either in the manifest of the JAR or by using the MainFunction--- parameter of the step.+-- A step specifies the location of a JAR file stored either on the master node of the job flow or in Amazon S3. Each step is performed by the main function of the main class of the JAR file. The main class can be specified either in the manifest of the JAR or by using the MainFunction parameter of the step. ----- Elastic MapReduce executes each step in the order listed. For a step to--- be considered complete, the main function must exit with a zero exit--- code and all Hadoop jobs started while the step was running must have--- completed and run successfully.+-- Elastic MapReduce executes each step in the order listed. For a step to be considered complete, the main function must exit with a zero exit code and all Hadoop jobs started while the step was running must have completed and run successfully. ----- You can only add steps to a job flow that is in one of the following--- states: STARTING, BOOTSTRAPPING, RUNNING, or WAITING.+-- You can only add steps to a job flow that is in one of the following states: STARTING, BOOTSTRAPPING, RUNNING, or WAITING. module Network.AWS.EMR.AddJobFlowSteps ( -- * Creating a Request@@ -91,8 +75,7 @@ , _ajfsSteps = mempty } --- | A string that uniquely identifies the job flow. This identifier is--- returned by < RunJobFlow> and can also be obtained from < ListClusters>.+-- | A string that uniquely identifies the job flow. This identifier is returned by < RunJobFlow> and can also be obtained from < ListClusters>. ajfsJobFlowId :: Lens' AddJobFlowSteps Text ajfsJobFlowId = lens _ajfsJobFlowId (\ s a -> s{_ajfsJobFlowId = a});
gen/Network/AWS/EMR/AddTags.hs view
@@ -18,10 +18,7 @@ -- Stability : auto-generated -- Portability : non-portable (GHC extensions) ----- Adds tags to an Amazon EMR resource. Tags make it easier to associate--- clusters in various ways, such as grouping clusters to track your Amazon--- EMR resource allocation costs. For more information, see--- <http://docs.aws.amazon.com/ElasticMapReduce/latest/DeveloperGuide/emr-plan-tags.html Tagging Amazon EMR Resources>.+-- Adds tags to an Amazon EMR resource. Tags make it easier to associate clusters in various ways, such as grouping clusters to track your Amazon EMR resource allocation costs. For more information, see <http://docs.aws.amazon.com/ElasticMapReduce/latest/DeveloperGuide/emr-plan-tags.html Tagging Amazon EMR Resources>. module Network.AWS.EMR.AddTags ( -- * Creating a Request@@ -69,15 +66,11 @@ , _atTags = mempty } --- | The Amazon EMR resource identifier to which tags will be added. This--- value must be a cluster identifier.+-- | The Amazon EMR resource identifier to which tags will be added. This value must be a cluster identifier. atResourceId :: Lens' AddTags Text atResourceId = lens _atResourceId (\ s a -> s{_atResourceId = a}); --- | A list of tags to associate with a cluster and propagate to Amazon EC2--- instances. 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.+-- | A list of tags to associate with a cluster and propagate to Amazon EC2 instances. 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. atTags :: Lens' AddTags [Tag] atTags = lens _atTags (\ s a -> s{_atTags = a}) . _Coerce;
gen/Network/AWS/EMR/DescribeCluster.hs view
@@ -18,9 +18,7 @@ -- Stability : auto-generated -- Portability : non-portable (GHC extensions) ----- Provides cluster-level details including status, hardware and software--- configuration, VPC settings, and so on. For information about the--- cluster steps, see < ListSteps>.+-- Provides cluster-level details including status, hardware and software configuration, VPC settings, and so on. For information about the cluster steps, see < ListSteps>. module Network.AWS.EMR.DescribeCluster ( -- * Creating a Request
gen/Network/AWS/EMR/ListBootstrapActions.hs view
@@ -18,8 +18,7 @@ -- Stability : auto-generated -- Portability : non-portable (GHC extensions) ----- Provides information about the bootstrap actions associated with a--- cluster.+-- Provides information about the bootstrap actions associated with a cluster. -- -- This operation returns paginated results. module Network.AWS.EMR.ListBootstrapActions@@ -72,8 +71,7 @@ , _lbaClusterId = pClusterId_ } --- | The pagination token that indicates the next set of results to retrieve--- .+-- | The pagination token that indicates the next set of results to retrieve . lbaMarker :: Lens' ListBootstrapActions (Maybe Text) lbaMarker = lens _lbaMarker (\ s a -> s{_lbaMarker = a}); @@ -159,8 +157,7 @@ lbarsBootstrapActions :: Lens' ListBootstrapActionsResponse [Command] lbarsBootstrapActions = lens _lbarsBootstrapActions (\ s a -> s{_lbarsBootstrapActions = a}) . _Default . _Coerce; --- | The pagination token that indicates the next set of results to retrieve--- .+-- | The pagination token that indicates the next set of results to retrieve . lbarsMarker :: Lens' ListBootstrapActionsResponse (Maybe Text) lbarsMarker = lens _lbarsMarker (\ s a -> s{_lbarsMarker = a});
gen/Network/AWS/EMR/ListClusters.hs view
@@ -18,11 +18,7 @@ -- Stability : auto-generated -- Portability : non-portable (GHC extensions) ----- Provides the status of all clusters visible to this AWS account. Allows--- you to filter the list of clusters based on certain criteria; for--- example, filtering by cluster creation date and time or by status. This--- call returns a maximum of 50 clusters per call, but returns a marker to--- track the paging of the cluster list across multiple ListClusters calls.+-- Provides the status of all clusters visible to this AWS account. Allows you to filter the list of clusters based on certain criteria; for example, filtering by cluster creation date and time or by status. This call returns a maximum of 50 clusters per call, but returns a marker to track the paging of the cluster list across multiple ListClusters calls. -- -- This operation returns paginated results. module Network.AWS.EMR.ListClusters@@ -53,8 +49,7 @@ import Network.AWS.Request import Network.AWS.Response --- | This input determines how the ListClusters action filters the list of--- clusters that it returns.+-- | This input determines how the ListClusters action filters the list of clusters that it returns. -- -- /See:/ 'listClusters' smart constructor. data ListClusters = ListClusters'@@ -146,8 +141,7 @@ instance ToQuery ListClusters where toQuery = const mempty --- | This contains a ClusterSummaryList with the cluster details; for--- example, the cluster IDs, names, and status.+-- | This contains a ClusterSummaryList with the cluster details; for example, the cluster IDs, names, and status. -- -- /See:/ 'listClustersResponse' smart constructor. data ListClustersResponse = ListClustersResponse'
gen/Network/AWS/EMR/ListInstances.hs view
@@ -18,11 +18,7 @@ -- Stability : auto-generated -- Portability : non-portable (GHC extensions) ----- Provides information about the cluster instances that Amazon EMR--- provisions on behalf of a user when it creates the cluster. For example,--- this operation indicates when the EC2 instances reach the Ready state,--- when instances become available to Amazon EMR to use for jobs, and the--- IP addresses for cluster instances, etc.+-- Provides information about the cluster instances that Amazon EMR provisions on behalf of a user when it creates the cluster. For example, this operation indicates when the EC2 instances reach the Ready state, when instances become available to Amazon EMR to use for jobs, and the IP addresses for cluster instances, etc. -- -- This operation returns paginated results. module Network.AWS.EMR.ListInstances
gen/Network/AWS/EMR/ListSteps.hs view
@@ -142,8 +142,7 @@ instance ToQuery ListSteps where toQuery = const mempty --- | This output contains the list of steps returned in reverse order. This--- means that the last step is the first element in the list.+-- | 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:/ 'listStepsResponse' smart constructor. data ListStepsResponse = ListStepsResponse'
gen/Network/AWS/EMR/ModifyInstanceGroups.hs view
@@ -18,10 +18,7 @@ -- Stability : auto-generated -- Portability : non-portable (GHC extensions) ----- ModifyInstanceGroups modifies the number of nodes and configuration--- settings of an instance group. The input parameters include the new--- target instance count for the group and the instance group ID. The call--- will either succeed or fail atomically.+-- ModifyInstanceGroups modifies the number of nodes and configuration settings of an instance group. The input parameters include the new target instance count for the group and the instance group ID. The call will either succeed or fail atomically. module Network.AWS.EMR.ModifyInstanceGroups ( -- * Creating a Request
gen/Network/AWS/EMR/RemoveTags.hs view
@@ -18,13 +18,9 @@ -- Stability : auto-generated -- Portability : non-portable (GHC extensions) ----- Removes tags from an Amazon EMR resource. Tags make it easier to--- associate clusters in various ways, such as grouping clusters to track--- your Amazon EMR resource allocation costs. For more information, see--- <http://docs.aws.amazon.com/ElasticMapReduce/latest/DeveloperGuide/emr-plan-tags.html Tagging Amazon EMR Resources>.+-- Removes tags from an Amazon EMR resource. Tags make it easier to associate clusters in various ways, such as grouping clusters to track your Amazon EMR resource allocation costs. For more information, see <http://docs.aws.amazon.com/ElasticMapReduce/latest/DeveloperGuide/emr-plan-tags.html Tagging Amazon EMR Resources>. ----- The following example removes the stack tag with value Prod from a--- cluster:+-- The following example removes the stack tag with value Prod from a cluster: module Network.AWS.EMR.RemoveTags ( -- * Creating a Request@@ -72,8 +68,7 @@ , _rtTagKeys = mempty } --- | The Amazon EMR resource identifier from which tags will be removed. This--- value must be a cluster identifier.+-- | The Amazon EMR resource identifier from which tags will be removed. This value must be a cluster identifier. rtResourceId :: Lens' RemoveTags Text rtResourceId = lens _rtResourceId (\ s a -> s{_rtResourceId = a});
gen/Network/AWS/EMR/RunJobFlow.hs view
@@ -18,32 +18,15 @@ -- Stability : auto-generated -- Portability : non-portable (GHC extensions) ----- RunJobFlow creates and starts running a new job flow. The job flow will--- run the steps specified. Once the job flow completes, the cluster is--- stopped and the HDFS partition is lost. To prevent loss of data,--- configure the last step of the job flow to store results in Amazon S3.--- If the < JobFlowInstancesConfig> 'KeepJobFlowAliveWhenNoSteps' parameter--- is set to 'TRUE', the job flow will transition to the WAITING state--- rather than shutting down once the steps have completed.+-- RunJobFlow creates and starts running a new job flow. The job flow will run the steps specified. Once the job flow completes, the cluster is stopped and the HDFS partition is lost. To prevent loss of data, configure the last step of the job flow to store results in Amazon S3. If the < JobFlowInstancesConfig> 'KeepJobFlowAliveWhenNoSteps' parameter is set to 'TRUE', the job flow will transition to the WAITING state rather than shutting down once the steps have completed. ----- For additional protection, you can set the < JobFlowInstancesConfig>--- 'TerminationProtected' parameter to 'TRUE' to lock the job flow and--- prevent it from being terminated by API call, user intervention, or in--- the event of a job flow error.+-- For additional protection, you can set the < JobFlowInstancesConfig> 'TerminationProtected' parameter to 'TRUE' to lock the job flow and prevent it from being terminated by API call, user intervention, or in the event of a job flow error. -- -- A maximum of 256 steps are allowed in each job flow. ----- If your job flow is long-running (such as a Hive data warehouse) or--- complex, you may require more than 256 steps to process your data. You--- can bypass the 256-step limitation in various ways, including using the--- SSH shell to connect to the master node and submitting queries directly--- to the software running on the master node, such as Hive and Hadoop. For--- more information on how to do this, go to--- <http://docs.aws.amazon.com/ElasticMapReduce/latest/DeveloperGuide/AddMoreThan256Steps.html Add More than 256 Steps to a Job Flow>--- in the /Amazon Elastic MapReduce Developer\'s Guide/.+-- If your job flow is long-running (such as a Hive data warehouse) or complex, you may require more than 256 steps to process your data. You can bypass the 256-step limitation in various ways, including using the SSH shell to connect to the master node and submitting queries directly to the software running on the master node, such as Hive and Hadoop. For more information on how to do this, go to <http://docs.aws.amazon.com/ElasticMapReduce/latest/DeveloperGuide/AddMoreThan256Steps.html Add More than 256 Steps to a Job Flow> in the /Amazon Elastic MapReduce Developer\'s Guide/. ----- For long running job flows, we recommend that you periodically store--- your results.+-- For long running job flows, we recommend that you periodically store your results. module Network.AWS.EMR.RunJobFlow ( -- * Creating a Request@@ -163,23 +146,15 @@ , _rjfInstances = pInstances_ } --- | For Amazon EMR releases 3.x and 2.x. For Amazon EMR releases 4.x and--- greater, use ReleaseLabel.+-- | For Amazon EMR releases 3.x and 2.x. For Amazon EMR releases 4.x and greater, use ReleaseLabel. ----- The version of the Amazon Machine Image (AMI) to use when launching--- Amazon EC2 instances in the job flow. The following values are valid:+-- The version of the Amazon Machine Image (AMI) to use when launching Amazon EC2 instances in the job flow. The following values are valid: -- -- - The version number of the AMI to use, for example, \"2.0.\" ----- If the AMI supports multiple versions of Hadoop (for example, AMI 1.0--- supports both Hadoop 0.18 and 0.20) you can use the--- < JobFlowInstancesConfig> 'HadoopVersion' parameter to modify the--- version of Hadoop from the defaults shown above.+-- If the AMI supports multiple versions of Hadoop (for example, AMI 1.0 supports both Hadoop 0.18 and 0.20) you can use the < JobFlowInstancesConfig> 'HadoopVersion' parameter to modify the version of Hadoop from the defaults shown above. ----- For details about the AMI versions currently supported by Amazon Elastic--- MapReduce, go to--- <http://docs.aws.amazon.com/ElasticMapReduce/latest/DeveloperGuide/EnvironmentConfig_AMIVersion.html#ami-versions-supported AMI Versions Supported in Elastic MapReduce>--- in the /Amazon Elastic MapReduce Developer\'s Guide./+-- For details about the AMI versions currently supported by Amazon Elastic MapReduce, go to <http://docs.aws.amazon.com/ElasticMapReduce/latest/DeveloperGuide/EnvironmentConfig_AMIVersion.html#ami-versions-supported AMI Versions Supported in Elastic MapReduce> in the /Amazon Elastic MapReduce Developer\'s Guide./ rjfAMIVersion :: Lens' RunJobFlow (Maybe Text) rjfAMIVersion = lens _rjfAMIVersion (\ s a -> s{_rjfAMIVersion = a}); @@ -189,8 +164,7 @@ -- | Amazon EMR releases 4.x or later. ----- The list of configurations supplied for the EMR cluster you are--- creating.+-- The list of configurations supplied for the EMR cluster you are creating. rjfConfigurations :: Lens' RunJobFlow [Configuration] rjfConfigurations = lens _rjfConfigurations (\ s a -> s{_rjfConfigurations = a}) . _Default . _Coerce; @@ -198,70 +172,46 @@ rjfSteps :: Lens' RunJobFlow [StepConfig] rjfSteps = lens _rjfSteps (\ s a -> s{_rjfSteps = a}) . _Default . _Coerce; --- | 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.+-- | 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. rjfJobFlowRole :: Lens' RunJobFlow (Maybe Text) rjfJobFlowRole = lens _rjfJobFlowRole (\ s a -> s{_rjfJobFlowRole = a}); --- | A list of bootstrap actions that will be run before Hadoop is started on--- the cluster nodes.+-- | A list of bootstrap actions that will be run before Hadoop is started on the cluster nodes. rjfBootstrapActions :: Lens' RunJobFlow [BootstrapActionConfig] rjfBootstrapActions = lens _rjfBootstrapActions (\ s a -> s{_rjfBootstrapActions = a}) . _Default . _Coerce; -- | Amazon EMR releases 4.x or later. ----- The release label for the Amazon EMR release. For Amazon EMR 3.x and 2.x--- AMIs, use amiVersion instead instead of ReleaseLabel.+-- The release label for the Amazon EMR release. For Amazon EMR 3.x and 2.x AMIs, use amiVersion instead instead of ReleaseLabel. rjfReleaseLabel :: Lens' RunJobFlow (Maybe Text) rjfReleaseLabel = lens _rjfReleaseLabel (\ s a -> s{_rjfReleaseLabel = a}); --- | The location in Amazon S3 to write the log files of the job flow. If a--- value is not provided, logs are not created.+-- | The location in Amazon S3 to write the log files of the job flow. If a value is not provided, logs are not created. rjfLogURI :: Lens' RunJobFlow (Maybe Text) rjfLogURI = lens _rjfLogURI (\ s a -> s{_rjfLogURI = a}); --- | For Amazon EMR releases 3.x and 2.x. For Amazon EMR releases 4.x and--- greater, use Applications.+-- | For Amazon EMR releases 3.x and 2.x. For Amazon EMR releases 4.x and greater, 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--- <http://docs.aws.amazon.com/ElasticMapReduce/latest/DeveloperGuide/emr-mapr.html Launch a Job Flow on the MapR Distribution for Hadoop>.--- Currently supported values are:+-- 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 <http://docs.aws.amazon.com/ElasticMapReduce/latest/DeveloperGuide/emr-mapr.html Launch a Job Flow on the MapR Distribution for Hadoop>. Currently 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\" 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 Analtics--- Platform.+-- - \"hunk\" - launch the cluster with the Hunk Big Data Analtics 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.+-- - \"ganglia\" - launch the cluster with the Ganglia Monitoring System installed. rjfNewSupportedProducts :: Lens' RunJobFlow [SupportedProductConfig] rjfNewSupportedProducts = lens _rjfNewSupportedProducts (\ s a -> s{_rjfNewSupportedProducts = a}) . _Default . _Coerce; --- | Whether the job flow is visible to all IAM users of the AWS account--- associated with the job flow. If this value is set to 'true', all IAM--- users of that AWS account can view and (if they have the proper policy--- permissions set) manage the job flow. If it is set to 'false', only the--- IAM user that created the job flow can view and manage it.+-- | Whether the job flow is visible to all IAM users of the AWS account associated with the job flow. If this value is set to 'true', all IAM users of that AWS account can view and (if they have the proper policy permissions set) manage the job flow. If it is set to 'false', only the IAM user that created the job flow can view and manage it. rjfVisibleToAllUsers :: Lens' RunJobFlow (Maybe Bool) rjfVisibleToAllUsers = lens _rjfVisibleToAllUsers (\ s a -> s{_rjfVisibleToAllUsers = a}); --- | For Amazon EMR releases 3.x and 2.x. For Amazon EMR releases 4.x and--- greater, use Applications.+-- | For Amazon EMR releases 3.x and 2.x. For Amazon EMR releases 4.x and greater, use Applications. ----- A list of strings that indicates third-party software to use with the--- job flow. For more information, go to--- <http://docs.aws.amazon.com/ElasticMapReduce/latest/DeveloperGuide/emr-supported-products.html Use Third Party Applications with Amazon EMR>.--- Currently supported values are:+-- A list of strings that indicates third-party software to use with the job flow. For more information, go to <http://docs.aws.amazon.com/ElasticMapReduce/latest/DeveloperGuide/emr-supported-products.html Use Third Party Applications with Amazon EMR>. Currently supported values are: -- -- - \"mapr-m3\" - launch the job flow using MapR M3 Edition. -- - \"mapr-m5\" - launch the job flow using MapR M5 Edition.@@ -270,18 +220,15 @@ -- | Amazon EMR releases 4.x or later. ----- A list of applications for the cluster. Valid values are: \"Hadoop\",--- \"Hive\", \"Mahout\", \"Pig\", and \"Spark.\" They are case insensitive.+-- A list of applications for the cluster. Valid values are: \"Hadoop\", \"Hive\", \"Mahout\", \"Pig\", and \"Spark.\" They are case insensitive. rjfApplications :: Lens' RunJobFlow [Application] rjfApplications = lens _rjfApplications (\ s a -> s{_rjfApplications = a}) . _Default . _Coerce; --- | A list of tags to associate with a cluster and propagate to Amazon EC2--- instances.+-- | A list of tags to associate with a cluster and propagate to Amazon EC2 instances. rjfTags :: Lens' RunJobFlow [Tag] rjfTags = lens _rjfTags (\ s a -> s{_rjfTags = a}) . _Default . _Coerce; --- | The IAM role that will be assumed by the Amazon EMR service to access--- AWS resources on your behalf.+-- | The IAM role that will be assumed by the Amazon EMR service to access AWS resources on your behalf. rjfServiceRole :: Lens' RunJobFlow (Maybe Text) rjfServiceRole = lens _rjfServiceRole (\ s a -> s{_rjfServiceRole = a}); @@ -289,8 +236,7 @@ rjfName :: Lens' RunJobFlow Text rjfName = lens _rjfName (\ s a -> s{_rjfName = a}); --- | A specification of the number and type of Amazon EC2 instances on which--- to run the job flow.+-- | A specification of the number and type of Amazon EC2 instances on which to run the job flow. rjfInstances :: Lens' RunJobFlow JobFlowInstancesConfig rjfInstances = lens _rjfInstances (\ s a -> s{_rjfInstances = a});
gen/Network/AWS/EMR/SetTerminationProtection.hs view
@@ -18,26 +18,13 @@ -- Stability : auto-generated -- Portability : non-portable (GHC extensions) ----- SetTerminationProtection locks a job flow so the Amazon EC2 instances in--- the cluster cannot be terminated by user intervention, an API call, or--- in the event of a job-flow error. The cluster still terminates upon--- successful completion of the job flow. Calling SetTerminationProtection--- on a job flow is analogous to calling the Amazon EC2--- DisableAPITermination API on all of the EC2 instances in a cluster.+-- SetTerminationProtection locks a job flow so the Amazon EC2 instances in the cluster cannot be terminated by user intervention, an API call, or in the event of a job-flow error. The cluster still terminates upon successful completion of the job flow. Calling SetTerminationProtection on a job flow is analogous to calling the Amazon EC2 DisableAPITermination API on all of the EC2 instances in a cluster. ----- SetTerminationProtection is used to prevent accidental termination of a--- job flow and to ensure that in the event of an error, the instances will--- persist so you can recover any data stored in their ephemeral instance--- storage.+-- SetTerminationProtection is used to prevent accidental termination of a job flow and to ensure that in the event of an error, the instances will persist so you can recover any data stored in their ephemeral instance storage. ----- To terminate a job flow that has been locked by setting--- SetTerminationProtection to 'true', you must first unlock the job flow--- by a subsequent call to SetTerminationProtection in which you set the--- value to 'false'.+-- To terminate a job flow that has been locked by setting SetTerminationProtection to 'true', you must first unlock the job flow by a subsequent call to SetTerminationProtection in which you set the value to 'false'. ----- For more information, go to--- <http://docs.aws.amazon.com/ElasticMapReduce/latest/DeveloperGuide/UsingEMR_TerminationProtection.html Protecting a Job Flow from Termination>--- in the /Amazon Elastic MapReduce Developer\'s Guide./+-- For more information, go to <http://docs.aws.amazon.com/ElasticMapReduce/latest/DeveloperGuide/UsingEMR_TerminationProtection.html Protecting a Job Flow from Termination> in the /Amazon Elastic MapReduce Developer\'s Guide./ module Network.AWS.EMR.SetTerminationProtection ( -- * Creating a Request@@ -83,15 +70,11 @@ , _stpTerminationProtected = pTerminationProtected_ } --- | A list of strings that uniquely identify the job flows to protect. This--- identifier is returned by < RunJobFlow> and can also be obtained from--- < DescribeJobFlows> .+-- | A list of strings that uniquely identify the job flows to protect. This identifier is returned by < RunJobFlow> and can also be obtained from < DescribeJobFlows> . stpJobFlowIds :: Lens' SetTerminationProtection [Text] stpJobFlowIds = lens _stpJobFlowIds (\ s a -> s{_stpJobFlowIds = a}) . _Coerce; --- | A Boolean that indicates whether to protect the job flow and prevent the--- Amazon EC2 instances in the cluster from shutting down due to API calls,--- user intervention, or job-flow error.+-- | A Boolean that indicates whether to protect the job flow and prevent the Amazon EC2 instances in the cluster from shutting down due to API calls, user intervention, or job-flow error. stpTerminationProtected :: Lens' SetTerminationProtection Bool stpTerminationProtected = lens _stpTerminationProtected (\ s a -> s{_stpTerminationProtected = a});
gen/Network/AWS/EMR/SetVisibleToAllUsers.hs view
@@ -18,12 +18,7 @@ -- Stability : auto-generated -- Portability : non-portable (GHC extensions) ----- Sets whether all AWS Identity and Access Management (IAM) users under--- your account can access the specified job flows. This action works on--- running job flows. You can also set the visibility of a job flow when--- you launch it using the 'VisibleToAllUsers' parameter of < RunJobFlow>.--- The SetVisibleToAllUsers action can be called only by an IAM user who--- created the job flow or the AWS account that owns the job flow.+-- Sets whether all AWS Identity and Access Management (IAM) users under your account can access the specified job flows. This action works on running job flows. You can also set the visibility of a job flow when you launch it using the 'VisibleToAllUsers' parameter of < RunJobFlow>. The SetVisibleToAllUsers action can be called only by an IAM user who created the job flow or the AWS account that owns the job flow. module Network.AWS.EMR.SetVisibleToAllUsers ( -- * Creating a Request@@ -73,11 +68,7 @@ svtauJobFlowIds :: Lens' SetVisibleToAllUsers [Text] svtauJobFlowIds = lens _svtauJobFlowIds (\ s a -> s{_svtauJobFlowIds = a}) . _Coerce; --- | Whether the specified job flows are visible to all IAM users of the AWS--- account associated with the job flow. If this value is set to True, all--- IAM users of that AWS account can view and, if they have the proper IAM--- policy permissions set, manage the job flows. If it is set to False,--- only the IAM user that created a job flow can view and manage it.+-- | Whether the specified job flows are visible to all IAM users of the AWS account associated with the job flow. If this value is set to True, all IAM users of that AWS account can view and, if they have the proper IAM policy permissions set, manage the job flows. If it is set to False, only the IAM user that created a job flow can view and manage it. svtauVisibleToAllUsers :: Lens' SetVisibleToAllUsers Bool svtauVisibleToAllUsers = lens _svtauVisibleToAllUsers (\ s a -> s{_svtauVisibleToAllUsers = a});
gen/Network/AWS/EMR/TerminateJobFlows.hs view
@@ -18,16 +18,9 @@ -- Stability : auto-generated -- Portability : non-portable (GHC extensions) ----- TerminateJobFlows shuts a list of job flows down. When a job flow is--- shut down, any step not yet completed is canceled and the EC2 instances--- on which the job flow is running are stopped. Any log files not already--- saved are uploaded to Amazon S3 if a LogUri was specified when the job--- flow was created.+-- TerminateJobFlows shuts a list of job flows down. When a job flow is shut down, any step not yet completed is canceled and the EC2 instances on which the job flow is running are stopped. Any log files not already saved are uploaded to Amazon S3 if a LogUri was specified when the job flow was created. ----- The maximum number of JobFlows allowed is 10. The call to--- TerminateJobFlows is asynchronous. Depending on the configuration of the--- job flow, it may take up to 5-20 minutes for the job flow to completely--- terminate and release allocated resources, such as Amazon EC2 instances.+-- The maximum number of JobFlows allowed is 10. The call to TerminateJobFlows is asynchronous. Depending on the configuration of the job flow, it may take up to 5-20 minutes for the job flow to completely terminate and release allocated resources, such as Amazon EC2 instances. module Network.AWS.EMR.TerminateJobFlows ( -- * Creating a Request
gen/Network/AWS/EMR/Types.hs view
@@ -434,12 +434,10 @@ _InvalidRequestException :: AsError a => Getting (First ServiceError) a ServiceError _InvalidRequestException = _ServiceError . hasCode "InvalidRequestException" --- | Indicates that an error occurred while processing the request and that--- the request was not completed.+-- | Indicates that an error occurred while processing the request and that the request was not completed. _InternalServerError :: AsError a => Getting (First ServiceError) a ServiceError _InternalServerError = _ServiceError . hasCode "InternalServerError" --- | This exception occurs when there is an internal failure in the EMR--- service.+-- | This exception occurs when there is an internal failure in the EMR service. _InternalServerException :: AsError a => Getting (First ServiceError) a ServiceError _InternalServerException = _ServiceError . hasCode "InternalServerException"
gen/Network/AWS/EMR/Types/Product.hs view
@@ -21,24 +21,13 @@ import Network.AWS.Lens import Network.AWS.Prelude --- | An application is any Amazon or third-party software that you can add to--- the cluster. This structure contains a list of strings that indicates--- the software to use with the cluster and accepts a user argument list.--- Amazon EMR accepts and forwards the argument list to the corresponding--- installation script as bootstrap action argument. For more information,--- see--- <http://docs.aws.amazon.com/ElasticMapReduce/latest/DeveloperGuide/emr-mapr.html Launch a Job Flow on the MapR Distribution for Hadoop>.--- Currently supported values are:+-- | An application is any Amazon or third-party software that you can add to the cluster. This structure contains a list of strings that indicates the software to use with the cluster and accepts a user argument list. Amazon EMR accepts and forwards the argument list to the corresponding installation script as bootstrap action argument. For more information, see <http://docs.aws.amazon.com/ElasticMapReduce/latest/DeveloperGuide/emr-mapr.html Launch a Job Flow on the MapR Distribution for Hadoop>. Currently supported values are: -- -- - \"mapr-m3\" - launch the job flow using MapR M3 Edition. -- - \"mapr-m5\" - launch the job flow using MapR M5 Edition.--- - \"mapr\" with the user arguments specifying \"--edition,m3\" or--- \"--edition,m5\" - launch the job flow using MapR M3 or M5 Edition,--- respectively.+-- - \"mapr\" with the user arguments specifying \"--edition,m3\" or \"--edition,m5\" - launch the job flow using MapR M3 or M5 Edition, respectively. ----- In Amazon EMR releases 4.0 and greater, the only accepted parameter is--- the application name. To pass arguments to applications, you supply a--- configuration for each application.+-- In Amazon EMR releases 4.0 and greater, the only accepted parameter is the application name. To pass arguments to applications, you supply a configuration for each application. -- -- /See:/ 'application' smart constructor. data Application = Application'@@ -73,9 +62,7 @@ aArgs :: Lens' Application [Text] aArgs = lens _aArgs (\ s a -> s{_aArgs = a}) . _Default . _Coerce; --- | This option is for advanced users only. This is meta information about--- third-party applications that third-party vendors use for testing--- purposes.+-- | This option is for advanced users only. This is meta information about third-party applications that third-party vendors use for testing purposes. aAdditionalInfo :: Lens' Application (HashMap Text Text) aAdditionalInfo = lens _aAdditionalInfo (\ s a -> s{_aAdditionalInfo = a}) . _Default . _Map; @@ -250,12 +237,7 @@ cluEC2InstanceAttributes :: Lens' Cluster (Maybe EC2InstanceAttributes) cluEC2InstanceAttributes = lens _cluEC2InstanceAttributes (\ s a -> s{_cluEC2InstanceAttributes = a}); --- | An approximation of the cost of the job flow, represented in--- m1.small\/hours. This value is incremented one time for every hour an--- m1.small instance runs. Larger instances are weighted more, so an EC2--- instance that is roughly four times more expensive would result in the--- normalized instance hours being incremented by four. This result is only--- an approximation and does not reflect the actual billing rate.+-- | An approximation of the cost of the job flow, represented in m1.small\/hours. This value is incremented one time for every hour an m1.small instance runs. Larger instances are weighted more, so an EC2 instance that is roughly four times more expensive would result in the normalized instance hours being incremented by four. This result is only an approximation and does not reflect the actual billing rate. cluNormalizedInstanceHours :: Lens' Cluster (Maybe Int) cluNormalizedInstanceHours = lens _cluNormalizedInstanceHours (\ s a -> s{_cluNormalizedInstanceHours = a}); @@ -265,13 +247,11 @@ cluConfigurations :: Lens' Cluster [Configuration] cluConfigurations = lens _cluConfigurations (\ s a -> s{_cluConfigurations = a}) . _Default . _Coerce; --- | The release label for the Amazon EMR release. For Amazon EMR 3.x and 2.x--- AMIs, use amiVersion instead instead of ReleaseLabel.+-- | The release label for the Amazon EMR release. For Amazon EMR 3.x and 2.x AMIs, use amiVersion instead instead of ReleaseLabel. cluReleaseLabel :: Lens' Cluster (Maybe Text) cluReleaseLabel = lens _cluReleaseLabel (\ s a -> s{_cluReleaseLabel = a}); --- | The path to the Amazon S3 location where logs for this cluster are--- stored.+-- | The path to the Amazon S3 location where logs for this cluster are stored. cluLogURI :: Lens' Cluster (Maybe Text) cluLogURI = lens _cluLogURI (\ s a -> s{_cluLogURI = a}); @@ -283,23 +263,15 @@ cluMasterPublicDNSName :: Lens' Cluster (Maybe Text) cluMasterPublicDNSName = lens _cluMasterPublicDNSName (\ s a -> s{_cluMasterPublicDNSName = a}); --- | 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.+-- | 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. cluTerminationProtected :: Lens' Cluster (Maybe Bool) cluTerminationProtected = lens _cluTerminationProtected (\ s a -> s{_cluTerminationProtected = a}); --- | Indicates whether the job flow is visible to all IAM users of the AWS--- account associated with the job flow. If this value is set to 'true',--- all IAM users of that AWS account can view and manage the job flow if--- they have the proper policy permissions set. If this value is 'false',--- only the IAM user that created the cluster can view and manage it. This--- value can be changed using the < SetVisibleToAllUsers> action.+-- | Indicates whether the job flow is visible to all IAM users of the AWS account associated with the job flow. If this value is set to 'true', all IAM users of that AWS account can view and manage the job flow if they have the proper policy permissions set. If this value is 'false', only the IAM user that created the cluster can view and manage it. This value can be changed using the < SetVisibleToAllUsers> action. cluVisibleToAllUsers :: Lens' Cluster (Maybe Bool) cluVisibleToAllUsers = lens _cluVisibleToAllUsers (\ s a -> s{_cluVisibleToAllUsers = a}); --- | Specifies whether the cluster should terminate after completing all--- steps.+-- | Specifies whether the cluster should terminate after completing all steps. cluAutoTerminate :: Lens' Cluster (Maybe Bool) cluAutoTerminate = lens _cluAutoTerminate (\ s a -> s{_cluAutoTerminate = a}); @@ -311,8 +283,7 @@ cluTags :: Lens' Cluster [Tag] cluTags = lens _cluTags (\ s a -> s{_cluTags = a}) . _Default . _Coerce; --- | The IAM role that will be assumed by the Amazon EMR service to access--- AWS resources on your behalf.+-- | The IAM role that will be assumed by the Amazon EMR service to access AWS resources on your behalf. cluServiceRole :: Lens' Cluster (Maybe Text) cluServiceRole = lens _cluServiceRole (\ s a -> s{_cluServiceRole = a}); @@ -432,8 +403,7 @@ csStateChangeReason :: Lens' ClusterStatus (Maybe ClusterStateChangeReason) csStateChangeReason = lens _csStateChangeReason (\ s a -> s{_csStateChangeReason = a}); --- | A timeline that represents the status of a cluster over the lifetime of--- the cluster.+-- | A timeline that represents the status of a cluster over the lifetime of the cluster. csTimeline :: Lens' ClusterStatus (Maybe ClusterTimeline) csTimeline = lens _csTimeline (\ s a -> s{_csTimeline = a}); @@ -484,12 +454,7 @@ csStatus :: Lens' ClusterSummary (Maybe ClusterStatus) csStatus = lens _csStatus (\ s a -> s{_csStatus = a}); --- | An approximation of the cost of the job flow, represented in--- m1.small\/hours. This value is incremented one time for every hour an--- m1.small instance runs. Larger instances are weighted more, so an EC2--- instance that is roughly four times more expensive would result in the--- normalized instance hours being incremented by four. This result is only--- an approximation and does not reflect the actual billing rate.+-- | An approximation of the cost of the job flow, represented in m1.small\/hours. This value is incremented one time for every hour an m1.small instance runs. Larger instances are weighted more, so an EC2 instance that is roughly four times more expensive would result in the normalized instance hours being incremented by four. This result is only an approximation and does not reflect the actual billing rate. csNormalizedInstanceHours :: Lens' ClusterSummary (Maybe Int) csNormalizedInstanceHours = lens _csNormalizedInstanceHours (\ s a -> s{_csNormalizedInstanceHours = a}); @@ -620,12 +585,7 @@ -- | Amazon EMR releases 4.x or later. ----- Specifies a hardware and software configuration of the EMR cluster. This--- includes configurations for applications and software bundled with--- Amazon EMR. The Configuration object is a JSON object which is defined--- by a classification and a set of properties. Configurations can be--- nested, so a configuration may have its own Configuration objects--- listed.+-- Specifies a hardware and software configuration of the EMR cluster. This includes configurations for applications and software bundled with Amazon EMR. The Configuration object is a JSON object which is defined by a classification and a set of properties. Configurations can be nested, so a configuration may have its own Configuration objects listed. -- -- /See:/ 'configuration' smart constructor. data Configuration = Configuration'@@ -656,8 +616,7 @@ cConfigurations :: Lens' Configuration [Configuration] cConfigurations = lens _cConfigurations (\ s a -> s{_cConfigurations = a}) . _Default . _Coerce; --- | The classification of a configuration. For more information see,--- <http://docs.aws.amazon.com/ElasticMapReduce/latest/API/EmrConfigurations.html Amazon EMR Configurations>.+-- | The classification of a configuration. For more information see, <http://docs.aws.amazon.com/ElasticMapReduce/latest/API/EmrConfigurations.html Amazon EMR Configurations>. cClassification :: Lens' Configuration (Maybe Text) cClassification = lens _cClassification (\ s a -> s{_cClassification = a}); @@ -686,8 +645,7 @@ ("Classification" .=) <$> _cClassification, ("Properties" .=) <$> _cProperties]) --- | Configuration of requested EBS block device associated with the instance--- group.+-- | Configuration of requested EBS block device associated with the instance group. -- -- /See:/ 'ebsBlockDevice' smart constructor. data EBSBlockDevice = EBSBlockDevice'@@ -714,9 +672,7 @@ ebdDevice :: Lens' EBSBlockDevice (Maybe Text) ebdDevice = lens _ebdDevice (\ s a -> s{_ebdDevice = a}); --- | 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.+-- | 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. ebdVolumeSpecification :: Lens' EBSBlockDevice (Maybe VolumeSpecification) ebdVolumeSpecification = lens _ebdVolumeSpecification (\ s a -> s{_ebdVolumeSpecification = a}); @@ -731,8 +687,7 @@ instance NFData EBSBlockDevice --- | Configuration of requested EBS block device associated with the instance--- group with count of volumes that will be associated to every instance.+-- | Configuration of requested EBS block device associated with the instance group with count of volumes that will be associated to every instance. -- -- /See:/ 'ebsBlockDeviceConfig' smart constructor. data EBSBlockDeviceConfig = EBSBlockDeviceConfig'@@ -756,14 +711,11 @@ , _ebdcVolumeSpecification = pVolumeSpecification_ } --- | Number of EBS volumes with specific volume configuration, that will be--- associated with every instance in the instance group+-- | Number of EBS volumes with specific volume configuration, that will be associated with every instance in the instance group ebdcVolumesPerInstance :: Lens' EBSBlockDeviceConfig (Maybe Int) ebdcVolumesPerInstance = lens _ebdcVolumesPerInstance (\ s a -> s{_ebdcVolumesPerInstance = a}); --- | 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.+-- | 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. ebdcVolumeSpecification :: Lens' EBSBlockDeviceConfig VolumeSpecification ebdcVolumeSpecification = lens _ebdcVolumeSpecification (\ s a -> s{_ebdcVolumeSpecification = a}); @@ -863,9 +815,7 @@ instance NFData EBSVolume --- | Provides information about the EC2 instances in a cluster grouped by--- category. For example, key name, subnet ID, IAM instance profile, and so--- on.+-- | Provides information about the EC2 instances in a cluster grouped by category. For example, key name, subnet ID, IAM instance profile, and so on. -- -- /See:/ 'ec2InstanceAttributes' smart constructor. data EC2InstanceAttributes = EC2InstanceAttributes'@@ -916,8 +866,7 @@ , _eiaEC2AvailabilityZone = Nothing } --- | The name of the Amazon EC2 key pair to use when connecting with SSH into--- the master node as a user named \"hadoop\".+-- | The name of the Amazon EC2 key pair to use when connecting with SSH into the master node as a user named \"hadoop\". eiaEC2KeyName :: Lens' EC2InstanceAttributes (Maybe Text) eiaEC2KeyName = lens _eiaEC2KeyName (\ s a -> s{_eiaEC2KeyName = a}); @@ -933,8 +882,7 @@ eiaAdditionalMasterSecurityGroups :: Lens' EC2InstanceAttributes [Text] eiaAdditionalMasterSecurityGroups = lens _eiaAdditionalMasterSecurityGroups (\ s a -> s{_eiaAdditionalMasterSecurityGroups = a}) . _Default . _Coerce; --- | The IAM role that was specified when the job flow was launched. The EC2--- instances of the job flow assume this role.+-- | The IAM role that was specified when the job flow was launched. The EC2 instances of the job flow assume this role. eiaIAMInstanceProfile :: Lens' EC2InstanceAttributes (Maybe Text) eiaIAMInstanceProfile = lens _eiaIAMInstanceProfile (\ s a -> s{_eiaIAMInstanceProfile = a}); @@ -942,19 +890,13 @@ eiaEmrManagedMasterSecurityGroup :: Lens' EC2InstanceAttributes (Maybe Text) eiaEmrManagedMasterSecurityGroup = lens _eiaEmrManagedMasterSecurityGroup (\ s a -> s{_eiaEmrManagedMasterSecurityGroup = a}); --- | To launch the job flow in Amazon VPC, set this parameter to the--- identifier of the Amazon VPC subnet where you want the job flow to--- launch. If you do not specify this value, the job flow is launched in--- the normal AWS cloud, outside of a VPC.+-- | To launch the job flow in Amazon VPC, set this parameter to the identifier of the Amazon VPC subnet where you want the job flow to launch. If you do not specify this value, the job flow is launched in the normal AWS cloud, outside of a VPC. ----- Amazon VPC currently does not support cluster compute quadruple extra--- large (cc1.4xlarge) instances. Thus, you cannot specify the cc1.4xlarge--- instance type for nodes of a job flow launched in a VPC.+-- Amazon VPC currently does not support cluster compute quadruple extra large (cc1.4xlarge) instances. Thus, you cannot specify the cc1.4xlarge instance type for nodes of a job flow launched in a VPC. eiaEC2SubnetId :: Lens' EC2InstanceAttributes (Maybe Text) eiaEC2SubnetId = lens _eiaEC2SubnetId (\ s a -> s{_eiaEC2SubnetId = a}); --- | The identifier of the Amazon EC2 security group for the Amazon EMR--- service to access clusters in VPC private subnets.+-- | The identifier of the Amazon EC2 security group for the Amazon EMR service to access clusters in VPC private subnets. eiaServiceAccessSecurityGroup :: Lens' EC2InstanceAttributes (Maybe Text) eiaServiceAccessSecurityGroup = lens _eiaServiceAccessSecurityGroup (\ s a -> s{_eiaServiceAccessSecurityGroup = a}); @@ -983,9 +925,7 @@ instance NFData EC2InstanceAttributes --- | 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.+-- | A job flow step consisting of a JAR file whose main function will be executed. The main function submits a job for Hadoop to execute and waits for the job to finish or fail. -- -- /See:/ 'hadoopJARStepConfig' smart constructor. data HadoopJARStepConfig = HadoopJARStepConfig'@@ -1017,18 +957,15 @@ , _hjscJAR = pJAR_ } --- | A list of command line arguments passed to the JAR file\'s main function--- when executed.+-- | A list of command line arguments passed to the JAR file\'s main function when executed. hjscArgs :: Lens' HadoopJARStepConfig [Text] hjscArgs = lens _hjscArgs (\ s a -> s{_hjscArgs = a}) . _Default . _Coerce; --- | 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.+-- | 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. hjscMainClass :: Lens' HadoopJARStepConfig (Maybe Text) hjscMainClass = lens _hjscMainClass (\ s a -> s{_hjscMainClass = a}); --- | 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.+-- | 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. hjscProperties :: Lens' HadoopJARStepConfig [KeyValue] hjscProperties = lens _hjscProperties (\ s a -> s{_hjscProperties = a}) . _Default . _Coerce; @@ -1049,9 +986,7 @@ ("Properties" .=) <$> _hjscProperties, Just ("Jar" .= _hjscJAR)]) --- | 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.+-- | A cluster step consisting of a JAR file whose main function will be executed. The main function submits a job for Hadoop to execute and waits for the job to finish or fail. -- -- /See:/ 'hadoopStepConfig' smart constructor. data HadoopStepConfig = HadoopStepConfig'@@ -1082,8 +1017,7 @@ , _hscProperties = Nothing } --- | The list of command line arguments to pass to the JAR file\'s main--- function for execution.+-- | The list of command line arguments to pass to the JAR file\'s main function for execution. hscArgs :: Lens' HadoopStepConfig [Text] hscArgs = lens _hscArgs (\ s a -> s{_hscArgs = a}) . _Default . _Coerce; @@ -1091,13 +1025,11 @@ hscJAR :: Lens' HadoopStepConfig (Maybe Text) hscJAR = lens _hscJAR (\ s a -> s{_hscJAR = a}); --- | 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.+-- | 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. hscMainClass :: Lens' HadoopStepConfig (Maybe Text) hscMainClass = lens _hscMainClass (\ s a -> s{_hscMainClass = a}); --- | 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.+-- | 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. hscProperties :: Lens' HadoopStepConfig (HashMap Text Text) hscProperties = lens _hscProperties (\ s a -> s{_hscProperties = a}) . _Default . _Map; @@ -1219,9 +1151,7 @@ instance NFData Instance --- | 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.+-- | This entity represents an instance group, which is a group of instances that have common purpose. For example, CORE instance group is used for HDFS. -- -- /See:/ 'instanceGroup' smart constructor. data InstanceGroup = InstanceGroup'@@ -1292,8 +1222,7 @@ igStatus :: Lens' InstanceGroup (Maybe InstanceGroupStatus) igStatus = lens _igStatus (\ s a -> s{_igStatus = a}); --- | The bid price for each EC2 instance in the instance group when launching--- nodes as Spot Instances, expressed in USD.+-- | The bid price for each EC2 instance in the instance group when launching nodes as Spot Instances, expressed in USD. igBidPrice :: Lens' InstanceGroup (Maybe Text) igBidPrice = lens _igBidPrice (\ s a -> s{_igBidPrice = a}); @@ -1307,9 +1236,7 @@ -- | 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).+-- 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). igConfigurations :: Lens' InstanceGroup [Configuration] igConfigurations = lens _igConfigurations (\ s a -> s{_igConfigurations = a}) . _Default . _Coerce; @@ -1325,14 +1252,11 @@ igInstanceType :: Lens' InstanceGroup (Maybe Text) igInstanceType = lens _igInstanceType (\ s a -> s{_igInstanceType = a}); --- | 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.+-- | 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. igEBSOptimized :: Lens' InstanceGroup (Maybe Bool) igEBSOptimized = lens _igEBSOptimized (\ s a -> s{_igEBSOptimized = a}); --- | The marketplace to provision instances for this group. Valid values are--- ON_DEMAND or SPOT.+-- | The marketplace to provision instances for this group. Valid values are ON_DEMAND or SPOT. igMarket :: Lens' InstanceGroup (Maybe MarketType) igMarket = lens _igMarket (\ s a -> s{_igMarket = a}); @@ -1420,21 +1344,17 @@ , _igcInstanceCount = pInstanceCount_ } --- | EBS configurations that will be attached to each Amazon EC2 instance in--- the instance group.+-- | EBS configurations that will be attached to each Amazon EC2 instance in the instance group. igcEBSConfiguration :: Lens' InstanceGroupConfig (Maybe EBSConfiguration) igcEBSConfiguration = lens _igcEBSConfiguration (\ s a -> s{_igcEBSConfiguration = a}); --- | Bid price for each Amazon EC2 instance in the instance group when--- launching nodes as Spot Instances, expressed in USD.+-- | Bid price for each Amazon EC2 instance in the instance group when launching nodes as Spot Instances, expressed in USD. igcBidPrice :: Lens' InstanceGroupConfig (Maybe Text) igcBidPrice = lens _igcBidPrice (\ s a -> s{_igcBidPrice = a}); -- | 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).+-- 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). igcConfigurations :: Lens' InstanceGroupConfig [Configuration] igcConfigurations = lens _igcConfigurations (\ s a -> s{_igcConfigurations = a}) . _Default . _Coerce; @@ -1511,8 +1431,7 @@ igmcInstanceCount :: Lens' InstanceGroupModifyConfig (Maybe Int) igmcInstanceCount = lens _igmcInstanceCount (\ s a -> s{_igmcInstanceCount = a}); --- | The EC2 InstanceIds to terminate. Once you terminate the instances, the--- instance group will not return to its original requested size.+-- | The EC2 InstanceIds to terminate. Once you terminate the instances, the instance group will not return to its original requested size. igmcEC2InstanceIdsToTerminate :: Lens' InstanceGroupModifyConfig [Text] igmcEC2InstanceIdsToTerminate = lens _igmcEC2InstanceIdsToTerminate (\ s a -> s{_igmcEC2InstanceIdsToTerminate = a}) . _Default . _Coerce; @@ -1684,8 +1603,7 @@ instance NFData InstanceGroupTimeline --- | Custom policy for requesting termination protection or termination of--- specific instances when shrinking an instance group.+-- | Custom policy for requesting termination protection or termination of specific instances when shrinking an instance group. -- -- /See:/ 'instanceResizePolicy' smart constructor. data InstanceResizePolicy = InstanceResizePolicy'@@ -1712,18 +1630,15 @@ , _irpInstanceTerminationTimeout = Nothing } --- | Specific list of instances to be protected when shrinking an instance--- group.+-- | Specific list of instances to be protected when shrinking an instance group. irpInstancesToProtect :: Lens' InstanceResizePolicy [Text] irpInstancesToProtect = lens _irpInstancesToProtect (\ s a -> s{_irpInstancesToProtect = a}) . _Default . _Coerce; --- | Specific list of instances to be terminated when shrinking an instance--- group.+-- | Specific list of instances to be terminated when shrinking an instance group. irpInstancesToTerminate :: Lens' InstanceResizePolicy [Text] irpInstancesToTerminate = lens _irpInstancesToTerminate (\ s a -> s{_irpInstancesToTerminate = a}) . _Default . _Coerce; --- | Decommissioning timeout override for the specific list of instances to--- be terminated.+-- | Decommissioning timeout override for the specific list of instances to be terminated. irpInstanceTerminationTimeout :: Lens' InstanceResizePolicy (Maybe Int) irpInstanceTerminationTimeout = lens _irpInstanceTerminationTimeout (\ s a -> s{_irpInstanceTerminationTimeout = a}); @@ -1896,11 +1811,7 @@ instance NFData InstanceTimeline --- | A description of the Amazon EC2 instance running the job flow. A valid--- JobFlowInstancesConfig must contain at least InstanceGroups, which is--- the recommended configuration. However, a valid alternative is to have--- MasterInstanceType, SlaveInstanceType, and InstanceCount (all three must--- be present).+-- | A description of the Amazon EC2 instance running the job flow. A valid JobFlowInstancesConfig must contain at least InstanceGroups, which is the recommended configuration. However, a valid alternative is to have MasterInstanceType, SlaveInstanceType, and InstanceCount (all three must be present). -- -- /See:/ 'jobFlowInstancesConfig' smart constructor. data JobFlowInstancesConfig = JobFlowInstancesConfig'@@ -1975,8 +1886,7 @@ , _jficPlacement = Nothing } --- | The name of the Amazon EC2 key pair that can be used to ssh to the--- master node as the user called \"hadoop.\"+-- | The name of the Amazon EC2 key pair that can be used to ssh to the master node as the user called \"hadoop.\" jficEC2KeyName :: Lens' JobFlowInstancesConfig (Maybe Text) jficEC2KeyName = lens _jficEC2KeyName (\ s a -> s{_jficEC2KeyName = a}); @@ -1996,12 +1906,7 @@ jficAdditionalSlaveSecurityGroups :: Lens' JobFlowInstancesConfig [Text] jficAdditionalSlaveSecurityGroups = lens _jficAdditionalSlaveSecurityGroups (\ s a -> s{_jficAdditionalSlaveSecurityGroups = a}) . _Default . _Coerce; --- | The Hadoop version for the job flow. Valid inputs are \"0.18\"--- (deprecated), \"0.20\" (deprecated), \"0.20.205\" (deprecated),--- \"1.0.3\", \"2.2.0\", or \"2.4.0\". If you do not set this value, the--- default of 0.18 is used, unless the AmiVersion parameter is set in the--- RunJobFlow call, in which case the default version of Hadoop for that--- AMI version is used.+-- | The Hadoop version for the job flow. Valid inputs are \"0.18\" (deprecated), \"0.20\" (deprecated), \"0.20.205\" (deprecated), \"1.0.3\", \"2.2.0\", or \"2.4.0\". If you do not set this value, the default of 0.18 is used, unless the AmiVersion parameter is set in the RunJobFlow call, in which case the default version of Hadoop for that AMI version is used. jficHadoopVersion :: Lens' JobFlowInstancesConfig (Maybe Text) jficHadoopVersion = lens _jficHadoopVersion (\ s a -> s{_jficHadoopVersion = a}); @@ -2013,15 +1918,9 @@ jficEmrManagedMasterSecurityGroup :: Lens' JobFlowInstancesConfig (Maybe Text) jficEmrManagedMasterSecurityGroup = lens _jficEmrManagedMasterSecurityGroup (\ s a -> s{_jficEmrManagedMasterSecurityGroup = a}); --- | To launch the job flow in Amazon Virtual Private Cloud (Amazon VPC), set--- this parameter to the identifier of the Amazon VPC subnet where you want--- the job flow to launch. If you do not specify this value, the job flow--- is launched in the normal Amazon Web Services cloud, outside of an--- Amazon VPC.+-- | To launch the job flow in Amazon Virtual Private Cloud (Amazon VPC), set this parameter to the identifier of the Amazon VPC subnet where you want the job flow to launch. If you do not specify this value, the job flow is launched in the normal Amazon Web Services cloud, outside of an Amazon VPC. ----- Amazon VPC currently does not support cluster compute quadruple extra--- large (cc1.4xlarge) instances. Thus you cannot specify the cc1.4xlarge--- instance type for nodes of a job flow launched in a Amazon VPC.+-- Amazon VPC currently does not support cluster compute quadruple extra large (cc1.4xlarge) instances. Thus you cannot specify the cc1.4xlarge instance type for nodes of a job flow launched in a Amazon VPC. jficEC2SubnetId :: Lens' JobFlowInstancesConfig (Maybe Text) jficEC2SubnetId = lens _jficEC2SubnetId (\ s a -> s{_jficEC2SubnetId = a}); @@ -2033,19 +1932,15 @@ jficInstanceGroups :: Lens' JobFlowInstancesConfig [InstanceGroupConfig] jficInstanceGroups = lens _jficInstanceGroups (\ s a -> s{_jficInstanceGroups = a}) . _Default . _Coerce; --- | Specifies whether the job flow should be kept alive after completing all--- steps.+-- | Specifies whether the job flow should be kept alive after completing all steps. jficKeepJobFlowAliveWhenNoSteps :: Lens' JobFlowInstancesConfig (Maybe Bool) jficKeepJobFlowAliveWhenNoSteps = lens _jficKeepJobFlowAliveWhenNoSteps (\ s a -> s{_jficKeepJobFlowAliveWhenNoSteps = a}); --- | The identifier of the Amazon EC2 security group for the Amazon EMR--- service to access clusters in VPC private subnets.+-- | The identifier of the Amazon EC2 security group for the Amazon EMR service to access clusters in VPC private subnets. jficServiceAccessSecurityGroup :: Lens' JobFlowInstancesConfig (Maybe Text) jficServiceAccessSecurityGroup = lens _jficServiceAccessSecurityGroup (\ s a -> s{_jficServiceAccessSecurityGroup = a}); --- | Specifies whether to lock the job flow to prevent the Amazon EC2--- instances from being terminated by API call, user intervention, or in--- the event of a job flow error.+-- | Specifies whether to lock the job flow to prevent the Amazon EC2 instances from being terminated by API call, user intervention, or in the event of a job flow error. jficTerminationProtected :: Lens' JobFlowInstancesConfig (Maybe Bool) jficTerminationProtected = lens _jficTerminationProtected (\ s a -> s{_jficTerminationProtected = a}); @@ -2188,8 +2083,7 @@ sbacArgs :: Lens' ScriptBootstrapActionConfig [Text] sbacArgs = lens _sbacArgs (\ s a -> s{_sbacArgs = a}) . _Default . _Coerce; --- | Location of the script to run during a bootstrap action. Can be either a--- location in Amazon S3 or on a local file system.+-- | Location of the script to run during a bootstrap action. Can be either a location in Amazon S3 or on a local file system. sbacPath :: Lens' ScriptBootstrapActionConfig Text sbacPath = lens _sbacPath (\ s a -> s{_sbacPath = a}); @@ -2204,8 +2098,7 @@ [("Args" .=) <$> _sbacArgs, Just ("Path" .= _sbacPath)]) --- | Policy for customizing shrink operations. Allows configuration of--- decommissioning timeout and targeted instance shrinking.+-- | Policy for customizing shrink operations. Allows configuration of decommissioning timeout and targeted instance shrinking. -- -- /See:/ 'shrinkPolicy' smart constructor. data ShrinkPolicy = ShrinkPolicy'@@ -2228,13 +2121,11 @@ , _spInstanceResizePolicy = Nothing } --- | The desired timeout for decommissioning an instance. Overrides the--- default YARN decommissioning timeout.+-- | The desired timeout for decommissioning an instance. Overrides the default YARN decommissioning timeout. spDecommissionTimeout :: Lens' ShrinkPolicy (Maybe Int) spDecommissionTimeout = lens _spDecommissionTimeout (\ s a -> s{_spDecommissionTimeout = a}); --- | Custom policy for requesting termination protection or termination of--- specific instances when shrinking an instance group.+-- | Custom policy for requesting termination protection or termination of specific instances when shrinking an instance group. spInstanceResizePolicy :: Lens' ShrinkPolicy (Maybe InstanceResizePolicy) spInstanceResizePolicy = lens _spInstanceResizePolicy (\ s a -> s{_spInstanceResizePolicy = a}); @@ -2298,8 +2189,7 @@ sStatus :: Lens' Step (Maybe StepStatus) sStatus = lens _sStatus (\ s a -> s{_sStatus = a}); --- | This specifies what action to take when the cluster step fails. Possible--- values are TERMINATE_CLUSTER, CANCEL_AND_WAIT, and CONTINUE.+-- | This specifies what action to take when the cluster step fails. Possible values are TERMINATE_CLUSTER, CANCEL_AND_WAIT, and CONTINUE. sActionOnFailure :: Lens' Step (Maybe ActionOnFailure) sActionOnFailure = lens _sActionOnFailure (\ s a -> s{_sActionOnFailure = a}); @@ -2405,8 +2295,7 @@ , _sscrMessage = Nothing } --- | The programmable code for the state change reason. Note: Currently, the--- service provides no code for the state change.+-- | The programmable code for the state change reason. Note: Currently, the service provides no code for the state change. sscrCode :: Lens' StepStateChangeReason (Maybe StepStateChangeReasonCode) sscrCode = lens _sscrCode (\ s a -> s{_sscrCode = a}); @@ -2515,8 +2404,7 @@ ssStatus :: Lens' StepSummary (Maybe StepStatus) ssStatus = lens _ssStatus (\ s a -> s{_ssStatus = a}); --- | This specifies what action to take when the cluster step fails. Possible--- values are TERMINATE_CLUSTER, CANCEL_AND_WAIT, and CONTINUE.+-- | This specifies what action to take when the cluster step fails. Possible values are TERMINATE_CLUSTER, CANCEL_AND_WAIT, and CONTINUE. ssActionOnFailure :: Lens' StepSummary (Maybe ActionOnFailure) ssActionOnFailure = lens _ssActionOnFailure (\ s a -> s{_ssActionOnFailure = a}); @@ -2597,9 +2485,7 @@ instance NFData StepTimeline --- | The list of supported product configurations which allow user-supplied--- arguments. EMR accepts these arguments and forwards them to the--- corresponding installation script as bootstrap action arguments.+-- | The list of supported product configurations which allow user-supplied arguments. EMR accepts these arguments and forwards them to the corresponding installation script as bootstrap action arguments. -- -- /See:/ 'supportedProductConfig' smart constructor. data SupportedProductConfig = SupportedProductConfig'@@ -2640,11 +2526,7 @@ (catMaybes [("Args" .=) <$> _spcArgs, ("Name" .=) <$> _spcName]) --- | 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 clu\\ sters to track your--- Amazon EMR resource allocation costs. For more information, see--- <http://docs.aws.amazon.com/ElasticMapReduce/latest/DeveloperGuide/emr-plan-tags.html Tagging Amazon EMR Resources>.+-- | 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 clu\\ sters to track your Amazon EMR resource allocation costs. For more information, see <http://docs.aws.amazon.com/ElasticMapReduce/latest/DeveloperGuide/emr-plan-tags.html Tagging Amazon EMR Resources>. -- -- /See:/ 'tag' smart constructor. data Tag = Tag'@@ -2667,15 +2549,11 @@ , _tagKey = Nothing } --- | A user-defined value, which is optional in a tag. For more information,--- see--- <http://docs.aws.amazon.com/ElasticMapReduce/latest/DeveloperGuide/emr-plan-tags.html Tagging Amazon EMR Resources>.+-- | A user-defined value, which is optional in a tag. For more information, see <http://docs.aws.amazon.com/ElasticMapReduce/latest/DeveloperGuide/emr-plan-tags.html Tagging Amazon EMR Resources>. tagValue :: Lens' Tag (Maybe Text) tagValue = lens _tagValue (\ s a -> s{_tagValue = a}); --- | A user-defined key, which is the minimum required information for a--- valid tag. For more information, see--- <http://docs.aws.amazon.com/ElasticMapReduce/latest/DeveloperGuide/emr-plan-tags.html Tagging Amazon EMR Resources>.+-- | A user-defined key, which is the minimum required information for a valid tag. For more information, see <http://docs.aws.amazon.com/ElasticMapReduce/latest/DeveloperGuide/emr-plan-tags.html Tagging Amazon EMR Resources>. tagKey :: Lens' Tag (Maybe Text) tagKey = lens _tagKey (\ s a -> s{_tagKey = a}); @@ -2694,9 +2572,7 @@ (catMaybes [("Value" .=) <$> _tagValue, ("Key" .=) <$> _tagKey]) --- | 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.+-- | EBS volume specifications such as volume type, IOPS, and size(GiB) that will be requested for the EBS volume attached to an EC2 instance in the cluster. -- -- /See:/ 'volumeSpecification' smart constructor. data VolumeSpecification = VolumeSpecification'@@ -2725,8 +2601,7 @@ , _vsSizeInGB = pSizeInGB_ } --- | The number of I\/O operations per second (IOPS) that the volume--- supports.+-- | The number of I\/O operations per second (IOPS) that the volume supports. vsIOPS :: Lens' VolumeSpecification (Maybe Int) vsIOPS = lens _vsIOPS (\ s a -> s{_vsIOPS = a}); @@ -2734,8 +2609,7 @@ vsVolumeType :: Lens' VolumeSpecification Text vsVolumeType = lens _vsVolumeType (\ s a -> s{_vsVolumeType = a}); --- | 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.+-- | 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. vsSizeInGB :: Lens' VolumeSpecification Int vsSizeInGB = lens _vsSizeInGB (\ s a -> s{_vsSizeInGB = a});
test/Test/AWS/Gen/EMR.hs view
@@ -28,103 +28,103 @@ -- fixtures :: TestTree -- fixtures = -- [ testGroup "request"--- [ testRunJobFlow $+-- [ requestRunJobFlow $ -- runJobFlow ----- , testSetVisibleToAllUsers $+-- , requestSetVisibleToAllUsers $ -- setVisibleToAllUsers ----- , testTerminateJobFlows $+-- , requestTerminateJobFlows $ -- terminateJobFlows ----- , testDescribeStep $+-- , requestDescribeStep $ -- describeStep ----- , testRemoveTags $+-- , requestRemoveTags $ -- removeTags ----- , testDescribeCluster $+-- , requestDescribeCluster $ -- describeCluster ----- , testSetTerminationProtection $+-- , requestSetTerminationProtection $ -- setTerminationProtection ----- , testAddJobFlowSteps $+-- , requestAddJobFlowSteps $ -- addJobFlowSteps ----- , testModifyInstanceGroups $+-- , requestModifyInstanceGroups $ -- modifyInstanceGroups ----- , testListSteps $+-- , requestListSteps $ -- listSteps ----- , testAddInstanceGroups $+-- , requestAddInstanceGroups $ -- addInstanceGroups ----- , testListInstanceGroups $+-- , requestListInstanceGroups $ -- listInstanceGroups ----- , testListBootstrapActions $+-- , requestListBootstrapActions $ -- listBootstrapActions ----- , testAddTags $+-- , requestAddTags $ -- addTags ----- , testListInstances $+-- , requestListInstances $ -- listInstances ----- , testListClusters $+-- , requestListClusters $ -- listClusters -- -- ] -- , testGroup "response"--- [ testRunJobFlowResponse $+-- [ responseRunJobFlow $ -- runJobFlowResponse ----- , testSetVisibleToAllUsersResponse $+-- , responseSetVisibleToAllUsers $ -- setVisibleToAllUsersResponse ----- , testTerminateJobFlowsResponse $+-- , responseTerminateJobFlows $ -- terminateJobFlowsResponse ----- , testDescribeStepResponse $+-- , responseDescribeStep $ -- describeStepResponse ----- , testRemoveTagsResponse $+-- , responseRemoveTags $ -- removeTagsResponse ----- , testDescribeClusterResponse $+-- , responseDescribeCluster $ -- describeClusterResponse ----- , testSetTerminationProtectionResponse $+-- , responseSetTerminationProtection $ -- setTerminationProtectionResponse ----- , testAddJobFlowStepsResponse $+-- , responseAddJobFlowSteps $ -- addJobFlowStepsResponse ----- , testModifyInstanceGroupsResponse $+-- , responseModifyInstanceGroups $ -- modifyInstanceGroupsResponse ----- , testListStepsResponse $+-- , responseListSteps $ -- listStepsResponse ----- , testAddInstanceGroupsResponse $+-- , responseAddInstanceGroups $ -- addInstanceGroupsResponse ----- , testListInstanceGroupsResponse $+-- , responseListInstanceGroups $ -- listInstanceGroupsResponse ----- , testListBootstrapActionsResponse $+-- , responseListBootstrapActions $ -- listBootstrapActionsResponse ----- , testAddTagsResponse $+-- , responseAddTags $ -- addTagsResponse ----- , testListInstancesResponse $+-- , responseListInstances $ -- listInstancesResponse ----- , testListClustersResponse $+-- , responseListClusters $ -- listClustersResponse -- -- ]@@ -132,195 +132,195 @@ -- Requests -testRunJobFlow :: RunJobFlow -> TestTree-testRunJobFlow = req+requestRunJobFlow :: RunJobFlow -> TestTree+requestRunJobFlow = req "RunJobFlow" "fixture/RunJobFlow.yaml" -testSetVisibleToAllUsers :: SetVisibleToAllUsers -> TestTree-testSetVisibleToAllUsers = req+requestSetVisibleToAllUsers :: SetVisibleToAllUsers -> TestTree+requestSetVisibleToAllUsers = req "SetVisibleToAllUsers" "fixture/SetVisibleToAllUsers.yaml" -testTerminateJobFlows :: TerminateJobFlows -> TestTree-testTerminateJobFlows = req+requestTerminateJobFlows :: TerminateJobFlows -> TestTree+requestTerminateJobFlows = req "TerminateJobFlows" "fixture/TerminateJobFlows.yaml" -testDescribeStep :: DescribeStep -> TestTree-testDescribeStep = req+requestDescribeStep :: DescribeStep -> TestTree+requestDescribeStep = req "DescribeStep" "fixture/DescribeStep.yaml" -testRemoveTags :: RemoveTags -> TestTree-testRemoveTags = req+requestRemoveTags :: RemoveTags -> TestTree+requestRemoveTags = req "RemoveTags" "fixture/RemoveTags.yaml" -testDescribeCluster :: DescribeCluster -> TestTree-testDescribeCluster = req+requestDescribeCluster :: DescribeCluster -> TestTree+requestDescribeCluster = req "DescribeCluster" "fixture/DescribeCluster.yaml" -testSetTerminationProtection :: SetTerminationProtection -> TestTree-testSetTerminationProtection = req+requestSetTerminationProtection :: SetTerminationProtection -> TestTree+requestSetTerminationProtection = req "SetTerminationProtection" "fixture/SetTerminationProtection.yaml" -testAddJobFlowSteps :: AddJobFlowSteps -> TestTree-testAddJobFlowSteps = req+requestAddJobFlowSteps :: AddJobFlowSteps -> TestTree+requestAddJobFlowSteps = req "AddJobFlowSteps" "fixture/AddJobFlowSteps.yaml" -testModifyInstanceGroups :: ModifyInstanceGroups -> TestTree-testModifyInstanceGroups = req+requestModifyInstanceGroups :: ModifyInstanceGroups -> TestTree+requestModifyInstanceGroups = req "ModifyInstanceGroups" "fixture/ModifyInstanceGroups.yaml" -testListSteps :: ListSteps -> TestTree-testListSteps = req+requestListSteps :: ListSteps -> TestTree+requestListSteps = req "ListSteps" "fixture/ListSteps.yaml" -testAddInstanceGroups :: AddInstanceGroups -> TestTree-testAddInstanceGroups = req+requestAddInstanceGroups :: AddInstanceGroups -> TestTree+requestAddInstanceGroups = req "AddInstanceGroups" "fixture/AddInstanceGroups.yaml" -testListInstanceGroups :: ListInstanceGroups -> TestTree-testListInstanceGroups = req+requestListInstanceGroups :: ListInstanceGroups -> TestTree+requestListInstanceGroups = req "ListInstanceGroups" "fixture/ListInstanceGroups.yaml" -testListBootstrapActions :: ListBootstrapActions -> TestTree-testListBootstrapActions = req+requestListBootstrapActions :: ListBootstrapActions -> TestTree+requestListBootstrapActions = req "ListBootstrapActions" "fixture/ListBootstrapActions.yaml" -testAddTags :: AddTags -> TestTree-testAddTags = req+requestAddTags :: AddTags -> TestTree+requestAddTags = req "AddTags" "fixture/AddTags.yaml" -testListInstances :: ListInstances -> TestTree-testListInstances = req+requestListInstances :: ListInstances -> TestTree+requestListInstances = req "ListInstances" "fixture/ListInstances.yaml" -testListClusters :: ListClusters -> TestTree-testListClusters = req+requestListClusters :: ListClusters -> TestTree+requestListClusters = req "ListClusters" "fixture/ListClusters.yaml" -- Responses -testRunJobFlowResponse :: RunJobFlowResponse -> TestTree-testRunJobFlowResponse = res+responseRunJobFlow :: RunJobFlowResponse -> TestTree+responseRunJobFlow = res "RunJobFlowResponse" "fixture/RunJobFlowResponse.proto" emr (Proxy :: Proxy RunJobFlow) -testSetVisibleToAllUsersResponse :: SetVisibleToAllUsersResponse -> TestTree-testSetVisibleToAllUsersResponse = res+responseSetVisibleToAllUsers :: SetVisibleToAllUsersResponse -> TestTree+responseSetVisibleToAllUsers = res "SetVisibleToAllUsersResponse" "fixture/SetVisibleToAllUsersResponse.proto" emr (Proxy :: Proxy SetVisibleToAllUsers) -testTerminateJobFlowsResponse :: TerminateJobFlowsResponse -> TestTree-testTerminateJobFlowsResponse = res+responseTerminateJobFlows :: TerminateJobFlowsResponse -> TestTree+responseTerminateJobFlows = res "TerminateJobFlowsResponse" "fixture/TerminateJobFlowsResponse.proto" emr (Proxy :: Proxy TerminateJobFlows) -testDescribeStepResponse :: DescribeStepResponse -> TestTree-testDescribeStepResponse = res+responseDescribeStep :: DescribeStepResponse -> TestTree+responseDescribeStep = res "DescribeStepResponse" "fixture/DescribeStepResponse.proto" emr (Proxy :: Proxy DescribeStep) -testRemoveTagsResponse :: RemoveTagsResponse -> TestTree-testRemoveTagsResponse = res+responseRemoveTags :: RemoveTagsResponse -> TestTree+responseRemoveTags = res "RemoveTagsResponse" "fixture/RemoveTagsResponse.proto" emr (Proxy :: Proxy RemoveTags) -testDescribeClusterResponse :: DescribeClusterResponse -> TestTree-testDescribeClusterResponse = res+responseDescribeCluster :: DescribeClusterResponse -> TestTree+responseDescribeCluster = res "DescribeClusterResponse" "fixture/DescribeClusterResponse.proto" emr (Proxy :: Proxy DescribeCluster) -testSetTerminationProtectionResponse :: SetTerminationProtectionResponse -> TestTree-testSetTerminationProtectionResponse = res+responseSetTerminationProtection :: SetTerminationProtectionResponse -> TestTree+responseSetTerminationProtection = res "SetTerminationProtectionResponse" "fixture/SetTerminationProtectionResponse.proto" emr (Proxy :: Proxy SetTerminationProtection) -testAddJobFlowStepsResponse :: AddJobFlowStepsResponse -> TestTree-testAddJobFlowStepsResponse = res+responseAddJobFlowSteps :: AddJobFlowStepsResponse -> TestTree+responseAddJobFlowSteps = res "AddJobFlowStepsResponse" "fixture/AddJobFlowStepsResponse.proto" emr (Proxy :: Proxy AddJobFlowSteps) -testModifyInstanceGroupsResponse :: ModifyInstanceGroupsResponse -> TestTree-testModifyInstanceGroupsResponse = res+responseModifyInstanceGroups :: ModifyInstanceGroupsResponse -> TestTree+responseModifyInstanceGroups = res "ModifyInstanceGroupsResponse" "fixture/ModifyInstanceGroupsResponse.proto" emr (Proxy :: Proxy ModifyInstanceGroups) -testListStepsResponse :: ListStepsResponse -> TestTree-testListStepsResponse = res+responseListSteps :: ListStepsResponse -> TestTree+responseListSteps = res "ListStepsResponse" "fixture/ListStepsResponse.proto" emr (Proxy :: Proxy ListSteps) -testAddInstanceGroupsResponse :: AddInstanceGroupsResponse -> TestTree-testAddInstanceGroupsResponse = res+responseAddInstanceGroups :: AddInstanceGroupsResponse -> TestTree+responseAddInstanceGroups = res "AddInstanceGroupsResponse" "fixture/AddInstanceGroupsResponse.proto" emr (Proxy :: Proxy AddInstanceGroups) -testListInstanceGroupsResponse :: ListInstanceGroupsResponse -> TestTree-testListInstanceGroupsResponse = res+responseListInstanceGroups :: ListInstanceGroupsResponse -> TestTree+responseListInstanceGroups = res "ListInstanceGroupsResponse" "fixture/ListInstanceGroupsResponse.proto" emr (Proxy :: Proxy ListInstanceGroups) -testListBootstrapActionsResponse :: ListBootstrapActionsResponse -> TestTree-testListBootstrapActionsResponse = res+responseListBootstrapActions :: ListBootstrapActionsResponse -> TestTree+responseListBootstrapActions = res "ListBootstrapActionsResponse" "fixture/ListBootstrapActionsResponse.proto" emr (Proxy :: Proxy ListBootstrapActions) -testAddTagsResponse :: AddTagsResponse -> TestTree-testAddTagsResponse = res+responseAddTags :: AddTagsResponse -> TestTree+responseAddTags = res "AddTagsResponse" "fixture/AddTagsResponse.proto" emr (Proxy :: Proxy AddTags) -testListInstancesResponse :: ListInstancesResponse -> TestTree-testListInstancesResponse = res+responseListInstances :: ListInstancesResponse -> TestTree+responseListInstances = res "ListInstancesResponse" "fixture/ListInstancesResponse.proto" emr (Proxy :: Proxy ListInstances) -testListClustersResponse :: ListClustersResponse -> TestTree-testListClustersResponse = res+responseListClusters :: ListClustersResponse -> TestTree+responseListClusters = res "ListClustersResponse" "fixture/ListClustersResponse.proto" emr