aws-sdk-emr 1.32.0 → 1.37.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 3c5ab572bd4d4b11ab13cd73525572f455919d54ed364bd6bbac48a2e8c35e3a
4
- data.tar.gz: 1ee09f91d9d8829ea5b1627400247687cd8633f4af8c0104281b06f4b3d38ead
3
+ metadata.gz: a2cd74c992df966f52f52c87398a9d107d074d2fe7d0913f7a790bcb90e41b90
4
+ data.tar.gz: 73818357d9e4314a0a641b7c4996c87a12cd19026badff2f03ab71a77425e503
5
5
  SHA512:
6
- metadata.gz: ae0dbb171c1806ea801c1286466f90dc6b19a3b12116a23ad96071a26d59e0606a2575f419d77b35ecbe6dc07a56a178f25d6c8fe5fefc4c632d24df1dc7d243
7
- data.tar.gz: 8f97f070a23af8d2d688d2f1d6c3a03670a3167f8155acacc5603ec41870468acec44230664c8a1111372cc42a7b91d58ee5f36a92cd9cfb42fd19045b753393
6
+ metadata.gz: dbea3cc8b22416ca527fc24c259b5db7c29235359a69bc616656b0673695adacd4128697beaa46d513244e49455f1fe9b2c19132b5e9dd9a3048faabbc8f9ca5
7
+ data.tar.gz: 8894261e883852df8891b2290924424f04fc4d2cbff0ba4c031d6622b30d7972dcddc25a08534fbe6a7f3c38647bd751482ad7b1349a48e58f860dc0fc759728
@@ -7,6 +7,7 @@
7
7
  #
8
8
  # WARNING ABOUT GENERATED CODE
9
9
 
10
+
10
11
  require 'aws-sdk-core'
11
12
  require 'aws-sigv4'
12
13
 
@@ -45,9 +46,9 @@ require_relative 'aws-sdk-emr/customizations'
45
46
  #
46
47
  # See {Errors} for more information.
47
48
  #
48
- # @service
49
+ # @!group service
49
50
  module Aws::EMR
50
51
 
51
- GEM_VERSION = '1.32.0'
52
+ GEM_VERSION = '1.37.0'
52
53
 
53
54
  end
@@ -85,13 +85,28 @@ module Aws::EMR
85
85
  # * `Aws::Credentials` - Used for configuring static, non-refreshing
86
86
  # credentials.
87
87
  #
88
+ # * `Aws::SharedCredentials` - Used for loading static credentials from a
89
+ # shared file, such as `~/.aws/config`.
90
+ #
91
+ # * `Aws::AssumeRoleCredentials` - Used when you need to assume a role.
92
+ #
93
+ # * `Aws::AssumeRoleWebIdentityCredentials` - Used when you need to
94
+ # assume a role after providing credentials via the web.
95
+ #
96
+ # * `Aws::SSOCredentials` - Used for loading credentials from AWS SSO using an
97
+ # access token generated from `aws login`.
98
+ #
99
+ # * `Aws::ProcessCredentials` - Used for loading credentials from a
100
+ # process that outputs to stdout.
101
+ #
88
102
  # * `Aws::InstanceProfileCredentials` - Used for loading credentials
89
103
  # from an EC2 IMDS on an EC2 instance.
90
104
  #
91
- # * `Aws::SharedCredentials` - Used for loading credentials from a
92
- # shared file, such as `~/.aws/config`.
105
+ # * `Aws::ECSCredentials` - Used for loading credentials from
106
+ # instances running in ECS.
93
107
  #
94
- # * `Aws::AssumeRoleCredentials` - Used when you need to assume a role.
108
+ # * `Aws::CognitoIdentityCredentials` - Used for loading credentials
109
+ # from the Cognito Identity service.
95
110
  #
96
111
  # When `:credentials` are not configured directly, the following
97
112
  # locations will be searched for credentials:
@@ -101,10 +116,10 @@ module Aws::EMR
101
116
  # * ENV['AWS_ACCESS_KEY_ID'], ENV['AWS_SECRET_ACCESS_KEY']
102
117
  # * `~/.aws/credentials`
103
118
  # * `~/.aws/config`
104
- # * EC2 IMDS instance profile - When used by default, the timeouts are
105
- # very aggressive. Construct and pass an instance of
106
- # `Aws::InstanceProfileCredentails` to enable retries and extended
107
- # timeouts.
119
+ # * EC2/ECS IMDS instance profile - When used by default, the timeouts
120
+ # are very aggressive. Construct and pass an instance of
121
+ # `Aws::InstanceProfileCredentails` or `Aws::ECSCredentials` to
122
+ # enable retries and extended timeouts.
108
123
  #
109
124
  # @option options [required, String] :region
110
125
  # The AWS region to connect to. The configured `:region` is
@@ -383,10 +398,14 @@ module Aws::EMR
383
398
  # },
384
399
  # ],
385
400
  # launch_specifications: {
386
- # spot_specification: { # required
401
+ # spot_specification: {
387
402
  # timeout_duration_minutes: 1, # required
388
403
  # timeout_action: "SWITCH_TO_ON_DEMAND", # required, accepts SWITCH_TO_ON_DEMAND, TERMINATE_CLUSTER
389
404
  # block_duration_minutes: 1,
405
+ # allocation_strategy: "capacity-optimized", # accepts capacity-optimized
406
+ # },
407
+ # on_demand_specification: {
408
+ # allocation_strategy: "lowest-price", # required, accepts lowest-price
390
409
  # },
391
410
  # },
392
411
  # },
@@ -969,6 +988,50 @@ module Aws::EMR
969
988
  req.send_request(options)
970
989
  end
971
990
 
991
+ # Provides details of a notebook execution.
992
+ #
993
+ # @option params [required, String] :notebook_execution_id
994
+ # The unique identifier of the notebook execution.
995
+ #
996
+ # @return [Types::DescribeNotebookExecutionOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
997
+ #
998
+ # * {Types::DescribeNotebookExecutionOutput#notebook_execution #notebook_execution} => Types::NotebookExecution
999
+ #
1000
+ # @example Request syntax with placeholder values
1001
+ #
1002
+ # resp = client.describe_notebook_execution({
1003
+ # notebook_execution_id: "XmlStringMaxLen256", # required
1004
+ # })
1005
+ #
1006
+ # @example Response structure
1007
+ #
1008
+ # resp.notebook_execution.notebook_execution_id #=> String
1009
+ # resp.notebook_execution.editor_id #=> String
1010
+ # resp.notebook_execution.execution_engine.id #=> String
1011
+ # resp.notebook_execution.execution_engine.type #=> String, one of "EMR"
1012
+ # resp.notebook_execution.execution_engine.master_instance_security_group_id #=> String
1013
+ # resp.notebook_execution.notebook_execution_name #=> String
1014
+ # resp.notebook_execution.notebook_params #=> String
1015
+ # resp.notebook_execution.status #=> String, one of "START_PENDING", "STARTING", "RUNNING", "FINISHING", "FINISHED", "FAILING", "FAILED", "STOP_PENDING", "STOPPING", "STOPPED"
1016
+ # resp.notebook_execution.start_time #=> Time
1017
+ # resp.notebook_execution.end_time #=> Time
1018
+ # resp.notebook_execution.arn #=> String
1019
+ # resp.notebook_execution.output_notebook_uri #=> String
1020
+ # resp.notebook_execution.last_state_change_reason #=> String
1021
+ # resp.notebook_execution.notebook_instance_security_group_id #=> String
1022
+ # resp.notebook_execution.tags #=> Array
1023
+ # resp.notebook_execution.tags[0].key #=> String
1024
+ # resp.notebook_execution.tags[0].value #=> String
1025
+ #
1026
+ # @see http://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/DescribeNotebookExecution AWS API Documentation
1027
+ #
1028
+ # @overload describe_notebook_execution(params = {})
1029
+ # @param [Hash] params ({})
1030
+ def describe_notebook_execution(params = {}, options = {})
1031
+ req = build_request(:describe_notebook_execution, params)
1032
+ req.send_request(options)
1033
+ end
1034
+
972
1035
  # Provides the details of a security configuration by returning the
973
1036
  # configuration JSON.
974
1037
  #
@@ -1288,6 +1351,8 @@ module Aws::EMR
1288
1351
  # resp.instance_fleets[0].launch_specifications.spot_specification.timeout_duration_minutes #=> Integer
1289
1352
  # resp.instance_fleets[0].launch_specifications.spot_specification.timeout_action #=> String, one of "SWITCH_TO_ON_DEMAND", "TERMINATE_CLUSTER"
1290
1353
  # resp.instance_fleets[0].launch_specifications.spot_specification.block_duration_minutes #=> Integer
1354
+ # resp.instance_fleets[0].launch_specifications.spot_specification.allocation_strategy #=> String, one of "capacity-optimized"
1355
+ # resp.instance_fleets[0].launch_specifications.on_demand_specification.allocation_strategy #=> String, one of "lowest-price"
1291
1356
  # resp.marker #=> String
1292
1357
  #
1293
1358
  # @see http://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/ListInstanceFleets AWS API Documentation
@@ -1478,6 +1543,95 @@ module Aws::EMR
1478
1543
  req.send_request(options)
1479
1544
  end
1480
1545
 
1546
+ # Provides summaries of all notebook executions. You can filter the list
1547
+ # based on multiple criteria such as status, time range, and editor id.
1548
+ # Returns a maximum of 50 notebook executions and a marker to track the
1549
+ # paging of a longer notebook execution list across multiple
1550
+ # `ListNotebookExecution` calls.
1551
+ #
1552
+ # @option params [String] :editor_id
1553
+ # The unique ID of the editor associated with the notebook execution.
1554
+ #
1555
+ # @option params [String] :status
1556
+ # The status filter for listing notebook executions.
1557
+ #
1558
+ # * `START_PENDING` indicates that the cluster has received the
1559
+ # execution request but execution has not begun.
1560
+ #
1561
+ # * `STARTING` indicates that the execution is starting on the cluster.
1562
+ #
1563
+ # * `RUNNING` indicates that the execution is being processed by the
1564
+ # cluster.
1565
+ #
1566
+ # * `FINISHING` indicates that execution processing is in the final
1567
+ # stages.
1568
+ #
1569
+ # * `FINISHED` indicates that the execution has completed without error.
1570
+ #
1571
+ # * `FAILING` indicates that the execution is failing and will not
1572
+ # finish successfully.
1573
+ #
1574
+ # * `FAILED` indicates that the execution failed.
1575
+ #
1576
+ # * `STOP_PENDING` indicates that the cluster has received a
1577
+ # `StopNotebookExecution` request and the stop is pending.
1578
+ #
1579
+ # * `STOPPING` indicates that the cluster is in the process of stopping
1580
+ # the execution as a result of a `StopNotebookExecution` request.
1581
+ #
1582
+ # * `STOPPED` indicates that the execution stopped because of a
1583
+ # `StopNotebookExecution` request.
1584
+ #
1585
+ # @option params [Time,DateTime,Date,Integer,String] :from
1586
+ # The beginning of time range filter for listing notebook executions.
1587
+ # The default is the timestamp of 30 days ago.
1588
+ #
1589
+ # @option params [Time,DateTime,Date,Integer,String] :to
1590
+ # The end of time range filter for listing notebook executions. The
1591
+ # default is the current timestamp.
1592
+ #
1593
+ # @option params [String] :marker
1594
+ # The pagination token, returned by a previous `ListNotebookExecutions`
1595
+ # call, that indicates the start of the list for this
1596
+ # `ListNotebookExecutions` call.
1597
+ #
1598
+ # @return [Types::ListNotebookExecutionsOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1599
+ #
1600
+ # * {Types::ListNotebookExecutionsOutput#notebook_executions #notebook_executions} => Array<Types::NotebookExecutionSummary>
1601
+ # * {Types::ListNotebookExecutionsOutput#marker #marker} => String
1602
+ #
1603
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
1604
+ #
1605
+ # @example Request syntax with placeholder values
1606
+ #
1607
+ # resp = client.list_notebook_executions({
1608
+ # editor_id: "XmlStringMaxLen256",
1609
+ # status: "START_PENDING", # accepts START_PENDING, STARTING, RUNNING, FINISHING, FINISHED, FAILING, FAILED, STOP_PENDING, STOPPING, STOPPED
1610
+ # from: Time.now,
1611
+ # to: Time.now,
1612
+ # marker: "Marker",
1613
+ # })
1614
+ #
1615
+ # @example Response structure
1616
+ #
1617
+ # resp.notebook_executions #=> Array
1618
+ # resp.notebook_executions[0].notebook_execution_id #=> String
1619
+ # resp.notebook_executions[0].editor_id #=> String
1620
+ # resp.notebook_executions[0].notebook_execution_name #=> String
1621
+ # resp.notebook_executions[0].status #=> String, one of "START_PENDING", "STARTING", "RUNNING", "FINISHING", "FINISHED", "FAILING", "FAILED", "STOP_PENDING", "STOPPING", "STOPPED"
1622
+ # resp.notebook_executions[0].start_time #=> Time
1623
+ # resp.notebook_executions[0].end_time #=> Time
1624
+ # resp.marker #=> String
1625
+ #
1626
+ # @see http://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/ListNotebookExecutions AWS API Documentation
1627
+ #
1628
+ # @overload list_notebook_executions(params = {})
1629
+ # @param [Hash] params ({})
1630
+ def list_notebook_executions(params = {}, options = {})
1631
+ req = build_request(:list_notebook_executions, params)
1632
+ req.send_request(options)
1633
+ end
1634
+
1481
1635
  # Lists all the security configurations visible to this account,
1482
1636
  # providing their creation dates and times, and their names. This call
1483
1637
  # returns a maximum of 50 clusters per call, but returns a marker to
@@ -2374,10 +2528,14 @@ module Aws::EMR
2374
2528
  # },
2375
2529
  # ],
2376
2530
  # launch_specifications: {
2377
- # spot_specification: { # required
2531
+ # spot_specification: {
2378
2532
  # timeout_duration_minutes: 1, # required
2379
2533
  # timeout_action: "SWITCH_TO_ON_DEMAND", # required, accepts SWITCH_TO_ON_DEMAND, TERMINATE_CLUSTER
2380
2534
  # block_duration_minutes: 1,
2535
+ # allocation_strategy: "capacity-optimized", # accepts capacity-optimized
2536
+ # },
2537
+ # on_demand_specification: {
2538
+ # allocation_strategy: "lowest-price", # required, accepts lowest-price
2381
2539
  # },
2382
2540
  # },
2383
2541
  # },
@@ -2591,6 +2749,109 @@ module Aws::EMR
2591
2749
  req.send_request(options)
2592
2750
  end
2593
2751
 
2752
+ # Starts a notebook execution.
2753
+ #
2754
+ # @option params [required, String] :editor_id
2755
+ # The unique identifier of the EMR Notebook to use for notebook
2756
+ # execution.
2757
+ #
2758
+ # @option params [required, String] :relative_path
2759
+ # The path and file name of the notebook file for this execution,
2760
+ # relative to the path specified for the EMR Notebook. For example, if
2761
+ # you specify a path of `s3://MyBucket/MyNotebooks` when you create an
2762
+ # EMR Notebook for a notebook with an ID of
2763
+ # `e-ABCDEFGHIJK1234567890ABCD` (the `EditorID` of this request), and
2764
+ # you specify a `RelativePath` of
2765
+ # `my_notebook_executions/notebook_execution.ipynb`, the location of the
2766
+ # file for the notebook execution is
2767
+ # `s3://MyBucket/MyNotebooks/e-ABCDEFGHIJK1234567890ABCD/my_notebook_executions/notebook_execution.ipynb`.
2768
+ #
2769
+ # @option params [String] :notebook_execution_name
2770
+ # An optional name for the notebook execution.
2771
+ #
2772
+ # @option params [String] :notebook_params
2773
+ # Input parameters in JSON format passed to the EMR Notebook at runtime
2774
+ # for execution.
2775
+ #
2776
+ # @option params [required, Types::ExecutionEngineConfig] :execution_engine
2777
+ # Specifies the execution engine (cluster) that runs the notebook
2778
+ # execution.
2779
+ #
2780
+ # @option params [required, String] :service_role
2781
+ # The name or ARN of the IAM role that is used as the service role for
2782
+ # Amazon EMR (the EMR role) for the notebook execution.
2783
+ #
2784
+ # @option params [String] :notebook_instance_security_group_id
2785
+ # The unique identifier of the Amazon EC2 security group to associate
2786
+ # with the EMR Notebook for this notebook execution.
2787
+ #
2788
+ # @option params [Array<Types::Tag>] :tags
2789
+ # A list of tags associated with a notebook execution. Tags are
2790
+ # user-defined key value pairs that consist of a required key string
2791
+ # with a maximum of 128 characters and an optional value string with a
2792
+ # maximum of 256 characters.
2793
+ #
2794
+ # @return [Types::StartNotebookExecutionOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2795
+ #
2796
+ # * {Types::StartNotebookExecutionOutput#notebook_execution_id #notebook_execution_id} => String
2797
+ #
2798
+ # @example Request syntax with placeholder values
2799
+ #
2800
+ # resp = client.start_notebook_execution({
2801
+ # editor_id: "XmlStringMaxLen256", # required
2802
+ # relative_path: "XmlString", # required
2803
+ # notebook_execution_name: "XmlStringMaxLen256",
2804
+ # notebook_params: "XmlString",
2805
+ # execution_engine: { # required
2806
+ # id: "XmlStringMaxLen256", # required
2807
+ # type: "EMR", # accepts EMR
2808
+ # master_instance_security_group_id: "XmlStringMaxLen256",
2809
+ # },
2810
+ # service_role: "XmlString", # required
2811
+ # notebook_instance_security_group_id: "XmlStringMaxLen256",
2812
+ # tags: [
2813
+ # {
2814
+ # key: "String",
2815
+ # value: "String",
2816
+ # },
2817
+ # ],
2818
+ # })
2819
+ #
2820
+ # @example Response structure
2821
+ #
2822
+ # resp.notebook_execution_id #=> String
2823
+ #
2824
+ # @see http://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/StartNotebookExecution AWS API Documentation
2825
+ #
2826
+ # @overload start_notebook_execution(params = {})
2827
+ # @param [Hash] params ({})
2828
+ def start_notebook_execution(params = {}, options = {})
2829
+ req = build_request(:start_notebook_execution, params)
2830
+ req.send_request(options)
2831
+ end
2832
+
2833
+ # Stops a notebook execution.
2834
+ #
2835
+ # @option params [required, String] :notebook_execution_id
2836
+ # The unique identifier of the notebook execution.
2837
+ #
2838
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
2839
+ #
2840
+ # @example Request syntax with placeholder values
2841
+ #
2842
+ # resp = client.stop_notebook_execution({
2843
+ # notebook_execution_id: "XmlStringMaxLen256", # required
2844
+ # })
2845
+ #
2846
+ # @see http://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/StopNotebookExecution AWS API Documentation
2847
+ #
2848
+ # @overload stop_notebook_execution(params = {})
2849
+ # @param [Hash] params ({})
2850
+ def stop_notebook_execution(params = {}, options = {})
2851
+ req = build_request(:stop_notebook_execution, params)
2852
+ req.send_request(options)
2853
+ end
2854
+
2594
2855
  # TerminateJobFlows shuts a list of clusters (job flows) down. When a
2595
2856
  # job flow is shut down, any step not yet completed is canceled and the
2596
2857
  # EC2 instances on which the cluster is running are stopped. Any log
@@ -2636,7 +2897,7 @@ module Aws::EMR
2636
2897
  params: params,
2637
2898
  config: config)
2638
2899
  context[:gem_name] = 'aws-sdk-emr'
2639
- context[:gem_version] = '1.32.0'
2900
+ context[:gem_version] = '1.37.0'
2640
2901
  Seahorse::Client::Request.new(handlers, context)
2641
2902
  end
2642
2903
 
@@ -72,6 +72,8 @@ module Aws::EMR
72
72
  DescribeClusterOutput = Shapes::StructureShape.new(name: 'DescribeClusterOutput')
73
73
  DescribeJobFlowsInput = Shapes::StructureShape.new(name: 'DescribeJobFlowsInput')
74
74
  DescribeJobFlowsOutput = Shapes::StructureShape.new(name: 'DescribeJobFlowsOutput')
75
+ DescribeNotebookExecutionInput = Shapes::StructureShape.new(name: 'DescribeNotebookExecutionInput')
76
+ DescribeNotebookExecutionOutput = Shapes::StructureShape.new(name: 'DescribeNotebookExecutionOutput')
75
77
  DescribeSecurityConfigurationInput = Shapes::StructureShape.new(name: 'DescribeSecurityConfigurationInput')
76
78
  DescribeSecurityConfigurationOutput = Shapes::StructureShape.new(name: 'DescribeSecurityConfigurationOutput')
77
79
  DescribeStepInput = Shapes::StructureShape.new(name: 'DescribeStepInput')
@@ -88,6 +90,8 @@ module Aws::EMR
88
90
  Ec2InstanceAttributes = Shapes::StructureShape.new(name: 'Ec2InstanceAttributes')
89
91
  ErrorCode = Shapes::StringShape.new(name: 'ErrorCode')
90
92
  ErrorMessage = Shapes::StringShape.new(name: 'ErrorMessage')
93
+ ExecutionEngineConfig = Shapes::StructureShape.new(name: 'ExecutionEngineConfig')
94
+ ExecutionEngineType = Shapes::StringShape.new(name: 'ExecutionEngineType')
91
95
  FailureDetails = Shapes::StructureShape.new(name: 'FailureDetails')
92
96
  GetBlockPublicAccessConfigurationInput = Shapes::StructureShape.new(name: 'GetBlockPublicAccessConfigurationInput')
93
97
  GetBlockPublicAccessConfigurationOutput = Shapes::StructureShape.new(name: 'GetBlockPublicAccessConfigurationOutput')
@@ -166,6 +170,8 @@ module Aws::EMR
166
170
  ListInstanceGroupsOutput = Shapes::StructureShape.new(name: 'ListInstanceGroupsOutput')
167
171
  ListInstancesInput = Shapes::StructureShape.new(name: 'ListInstancesInput')
168
172
  ListInstancesOutput = Shapes::StructureShape.new(name: 'ListInstancesOutput')
173
+ ListNotebookExecutionsInput = Shapes::StructureShape.new(name: 'ListNotebookExecutionsInput')
174
+ ListNotebookExecutionsOutput = Shapes::StructureShape.new(name: 'ListNotebookExecutionsOutput')
169
175
  ListSecurityConfigurationsInput = Shapes::StructureShape.new(name: 'ListSecurityConfigurationsInput')
170
176
  ListSecurityConfigurationsOutput = Shapes::StructureShape.new(name: 'ListSecurityConfigurationsOutput')
171
177
  ListStepsInput = Shapes::StructureShape.new(name: 'ListStepsInput')
@@ -182,6 +188,12 @@ module Aws::EMR
182
188
  ModifyInstanceGroupsInput = Shapes::StructureShape.new(name: 'ModifyInstanceGroupsInput')
183
189
  NewSupportedProductsList = Shapes::ListShape.new(name: 'NewSupportedProductsList')
184
190
  NonNegativeDouble = Shapes::FloatShape.new(name: 'NonNegativeDouble')
191
+ NotebookExecution = Shapes::StructureShape.new(name: 'NotebookExecution')
192
+ NotebookExecutionStatus = Shapes::StringShape.new(name: 'NotebookExecutionStatus')
193
+ NotebookExecutionSummary = Shapes::StructureShape.new(name: 'NotebookExecutionSummary')
194
+ NotebookExecutionSummaryList = Shapes::ListShape.new(name: 'NotebookExecutionSummaryList')
195
+ OnDemandProvisioningAllocationStrategy = Shapes::StringShape.new(name: 'OnDemandProvisioningAllocationStrategy')
196
+ OnDemandProvisioningSpecification = Shapes::StructureShape.new(name: 'OnDemandProvisioningSpecification')
185
197
  OptionalArnType = Shapes::StringShape.new(name: 'OptionalArnType')
186
198
  PlacementType = Shapes::StructureShape.new(name: 'PlacementType')
187
199
  Port = Shapes::IntegerShape.new(name: 'Port')
@@ -217,8 +229,11 @@ module Aws::EMR
217
229
  SetVisibleToAllUsersInput = Shapes::StructureShape.new(name: 'SetVisibleToAllUsersInput')
218
230
  ShrinkPolicy = Shapes::StructureShape.new(name: 'ShrinkPolicy')
219
231
  SimpleScalingPolicyConfiguration = Shapes::StructureShape.new(name: 'SimpleScalingPolicyConfiguration')
232
+ SpotProvisioningAllocationStrategy = Shapes::StringShape.new(name: 'SpotProvisioningAllocationStrategy')
220
233
  SpotProvisioningSpecification = Shapes::StructureShape.new(name: 'SpotProvisioningSpecification')
221
234
  SpotProvisioningTimeoutAction = Shapes::StringShape.new(name: 'SpotProvisioningTimeoutAction')
235
+ StartNotebookExecutionInput = Shapes::StructureShape.new(name: 'StartNotebookExecutionInput')
236
+ StartNotebookExecutionOutput = Shapes::StructureShape.new(name: 'StartNotebookExecutionOutput')
222
237
  Statistic = Shapes::StringShape.new(name: 'Statistic')
223
238
  Step = Shapes::StructureShape.new(name: 'Step')
224
239
  StepCancellationOption = Shapes::StringShape.new(name: 'StepCancellationOption')
@@ -238,6 +253,7 @@ module Aws::EMR
238
253
  StepSummary = Shapes::StructureShape.new(name: 'StepSummary')
239
254
  StepSummaryList = Shapes::ListShape.new(name: 'StepSummaryList')
240
255
  StepTimeline = Shapes::StructureShape.new(name: 'StepTimeline')
256
+ StopNotebookExecutionInput = Shapes::StructureShape.new(name: 'StopNotebookExecutionInput')
241
257
  String = Shapes::StringShape.new(name: 'String')
242
258
  StringList = Shapes::ListShape.new(name: 'StringList')
243
259
  StringMap = Shapes::MapShape.new(name: 'StringMap')
@@ -461,6 +477,12 @@ module Aws::EMR
461
477
  DescribeJobFlowsOutput.add_member(:job_flows, Shapes::ShapeRef.new(shape: JobFlowDetailList, location_name: "JobFlows"))
462
478
  DescribeJobFlowsOutput.struct_class = Types::DescribeJobFlowsOutput
463
479
 
480
+ DescribeNotebookExecutionInput.add_member(:notebook_execution_id, Shapes::ShapeRef.new(shape: XmlStringMaxLen256, required: true, location_name: "NotebookExecutionId"))
481
+ DescribeNotebookExecutionInput.struct_class = Types::DescribeNotebookExecutionInput
482
+
483
+ DescribeNotebookExecutionOutput.add_member(:notebook_execution, Shapes::ShapeRef.new(shape: NotebookExecution, location_name: "NotebookExecution"))
484
+ DescribeNotebookExecutionOutput.struct_class = Types::DescribeNotebookExecutionOutput
485
+
464
486
  DescribeSecurityConfigurationInput.add_member(:name, Shapes::ShapeRef.new(shape: XmlString, required: true, location_name: "Name"))
465
487
  DescribeSecurityConfigurationInput.struct_class = Types::DescribeSecurityConfigurationInput
466
488
 
@@ -515,6 +537,11 @@ module Aws::EMR
515
537
  Ec2InstanceAttributes.add_member(:additional_slave_security_groups, Shapes::ShapeRef.new(shape: StringList, location_name: "AdditionalSlaveSecurityGroups"))
516
538
  Ec2InstanceAttributes.struct_class = Types::Ec2InstanceAttributes
517
539
 
540
+ ExecutionEngineConfig.add_member(:id, Shapes::ShapeRef.new(shape: XmlStringMaxLen256, required: true, location_name: "Id"))
541
+ ExecutionEngineConfig.add_member(:type, Shapes::ShapeRef.new(shape: ExecutionEngineType, location_name: "Type"))
542
+ ExecutionEngineConfig.add_member(:master_instance_security_group_id, Shapes::ShapeRef.new(shape: XmlStringMaxLen256, location_name: "MasterInstanceSecurityGroupId"))
543
+ ExecutionEngineConfig.struct_class = Types::ExecutionEngineConfig
544
+
518
545
  FailureDetails.add_member(:reason, Shapes::ShapeRef.new(shape: String, location_name: "Reason"))
519
546
  FailureDetails.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
520
547
  FailureDetails.add_member(:log_file, Shapes::ShapeRef.new(shape: String, location_name: "LogFile"))
@@ -587,7 +614,8 @@ module Aws::EMR
587
614
  InstanceFleetModifyConfig.add_member(:target_spot_capacity, Shapes::ShapeRef.new(shape: WholeNumber, location_name: "TargetSpotCapacity"))
588
615
  InstanceFleetModifyConfig.struct_class = Types::InstanceFleetModifyConfig
589
616
 
590
- InstanceFleetProvisioningSpecifications.add_member(:spot_specification, Shapes::ShapeRef.new(shape: SpotProvisioningSpecification, required: true, location_name: "SpotSpecification"))
617
+ InstanceFleetProvisioningSpecifications.add_member(:spot_specification, Shapes::ShapeRef.new(shape: SpotProvisioningSpecification, location_name: "SpotSpecification"))
618
+ InstanceFleetProvisioningSpecifications.add_member(:on_demand_specification, Shapes::ShapeRef.new(shape: OnDemandProvisioningSpecification, location_name: "OnDemandSpecification"))
591
619
  InstanceFleetProvisioningSpecifications.struct_class = Types::InstanceFleetProvisioningSpecifications
592
620
 
593
621
  InstanceFleetStateChangeReason.add_member(:code, Shapes::ShapeRef.new(shape: InstanceFleetStateChangeReasonCode, location_name: "Code"))
@@ -859,6 +887,17 @@ module Aws::EMR
859
887
  ListInstancesOutput.add_member(:marker, Shapes::ShapeRef.new(shape: Marker, location_name: "Marker"))
860
888
  ListInstancesOutput.struct_class = Types::ListInstancesOutput
861
889
 
890
+ ListNotebookExecutionsInput.add_member(:editor_id, Shapes::ShapeRef.new(shape: XmlStringMaxLen256, location_name: "EditorId"))
891
+ ListNotebookExecutionsInput.add_member(:status, Shapes::ShapeRef.new(shape: NotebookExecutionStatus, location_name: "Status"))
892
+ ListNotebookExecutionsInput.add_member(:from, Shapes::ShapeRef.new(shape: Date, location_name: "From"))
893
+ ListNotebookExecutionsInput.add_member(:to, Shapes::ShapeRef.new(shape: Date, location_name: "To"))
894
+ ListNotebookExecutionsInput.add_member(:marker, Shapes::ShapeRef.new(shape: Marker, location_name: "Marker"))
895
+ ListNotebookExecutionsInput.struct_class = Types::ListNotebookExecutionsInput
896
+
897
+ ListNotebookExecutionsOutput.add_member(:notebook_executions, Shapes::ShapeRef.new(shape: NotebookExecutionSummaryList, location_name: "NotebookExecutions"))
898
+ ListNotebookExecutionsOutput.add_member(:marker, Shapes::ShapeRef.new(shape: Marker, location_name: "Marker"))
899
+ ListNotebookExecutionsOutput.struct_class = Types::ListNotebookExecutionsOutput
900
+
862
901
  ListSecurityConfigurationsInput.add_member(:marker, Shapes::ShapeRef.new(shape: Marker, location_name: "Marker"))
863
902
  ListSecurityConfigurationsInput.struct_class = Types::ListSecurityConfigurationsInput
864
903
 
@@ -902,6 +941,34 @@ module Aws::EMR
902
941
 
903
942
  NewSupportedProductsList.member = Shapes::ShapeRef.new(shape: SupportedProductConfig)
904
943
 
944
+ NotebookExecution.add_member(:notebook_execution_id, Shapes::ShapeRef.new(shape: XmlStringMaxLen256, location_name: "NotebookExecutionId"))
945
+ NotebookExecution.add_member(:editor_id, Shapes::ShapeRef.new(shape: XmlStringMaxLen256, location_name: "EditorId"))
946
+ NotebookExecution.add_member(:execution_engine, Shapes::ShapeRef.new(shape: ExecutionEngineConfig, location_name: "ExecutionEngine"))
947
+ NotebookExecution.add_member(:notebook_execution_name, Shapes::ShapeRef.new(shape: XmlStringMaxLen256, location_name: "NotebookExecutionName"))
948
+ NotebookExecution.add_member(:notebook_params, Shapes::ShapeRef.new(shape: XmlString, location_name: "NotebookParams"))
949
+ NotebookExecution.add_member(:status, Shapes::ShapeRef.new(shape: NotebookExecutionStatus, location_name: "Status"))
950
+ NotebookExecution.add_member(:start_time, Shapes::ShapeRef.new(shape: Date, location_name: "StartTime"))
951
+ NotebookExecution.add_member(:end_time, Shapes::ShapeRef.new(shape: Date, location_name: "EndTime"))
952
+ NotebookExecution.add_member(:arn, Shapes::ShapeRef.new(shape: XmlStringMaxLen256, location_name: "Arn"))
953
+ NotebookExecution.add_member(:output_notebook_uri, Shapes::ShapeRef.new(shape: XmlString, location_name: "OutputNotebookURI"))
954
+ NotebookExecution.add_member(:last_state_change_reason, Shapes::ShapeRef.new(shape: XmlString, location_name: "LastStateChangeReason"))
955
+ NotebookExecution.add_member(:notebook_instance_security_group_id, Shapes::ShapeRef.new(shape: XmlStringMaxLen256, location_name: "NotebookInstanceSecurityGroupId"))
956
+ NotebookExecution.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
957
+ NotebookExecution.struct_class = Types::NotebookExecution
958
+
959
+ NotebookExecutionSummary.add_member(:notebook_execution_id, Shapes::ShapeRef.new(shape: XmlStringMaxLen256, location_name: "NotebookExecutionId"))
960
+ NotebookExecutionSummary.add_member(:editor_id, Shapes::ShapeRef.new(shape: XmlStringMaxLen256, location_name: "EditorId"))
961
+ NotebookExecutionSummary.add_member(:notebook_execution_name, Shapes::ShapeRef.new(shape: XmlStringMaxLen256, location_name: "NotebookExecutionName"))
962
+ NotebookExecutionSummary.add_member(:status, Shapes::ShapeRef.new(shape: NotebookExecutionStatus, location_name: "Status"))
963
+ NotebookExecutionSummary.add_member(:start_time, Shapes::ShapeRef.new(shape: Date, location_name: "StartTime"))
964
+ NotebookExecutionSummary.add_member(:end_time, Shapes::ShapeRef.new(shape: Date, location_name: "EndTime"))
965
+ NotebookExecutionSummary.struct_class = Types::NotebookExecutionSummary
966
+
967
+ NotebookExecutionSummaryList.member = Shapes::ShapeRef.new(shape: NotebookExecutionSummary)
968
+
969
+ OnDemandProvisioningSpecification.add_member(:allocation_strategy, Shapes::ShapeRef.new(shape: OnDemandProvisioningAllocationStrategy, required: true, location_name: "AllocationStrategy"))
970
+ OnDemandProvisioningSpecification.struct_class = Types::OnDemandProvisioningSpecification
971
+
905
972
  PlacementType.add_member(:availability_zone, Shapes::ShapeRef.new(shape: XmlString, location_name: "AvailabilityZone"))
906
973
  PlacementType.add_member(:availability_zones, Shapes::ShapeRef.new(shape: XmlStringMaxLen256List, location_name: "AvailabilityZones"))
907
974
  PlacementType.struct_class = Types::PlacementType
@@ -1034,8 +1101,22 @@ module Aws::EMR
1034
1101
  SpotProvisioningSpecification.add_member(:timeout_duration_minutes, Shapes::ShapeRef.new(shape: WholeNumber, required: true, location_name: "TimeoutDurationMinutes"))
1035
1102
  SpotProvisioningSpecification.add_member(:timeout_action, Shapes::ShapeRef.new(shape: SpotProvisioningTimeoutAction, required: true, location_name: "TimeoutAction"))
1036
1103
  SpotProvisioningSpecification.add_member(:block_duration_minutes, Shapes::ShapeRef.new(shape: WholeNumber, location_name: "BlockDurationMinutes"))
1104
+ SpotProvisioningSpecification.add_member(:allocation_strategy, Shapes::ShapeRef.new(shape: SpotProvisioningAllocationStrategy, location_name: "AllocationStrategy"))
1037
1105
  SpotProvisioningSpecification.struct_class = Types::SpotProvisioningSpecification
1038
1106
 
1107
+ StartNotebookExecutionInput.add_member(:editor_id, Shapes::ShapeRef.new(shape: XmlStringMaxLen256, required: true, location_name: "EditorId"))
1108
+ StartNotebookExecutionInput.add_member(:relative_path, Shapes::ShapeRef.new(shape: XmlString, required: true, location_name: "RelativePath"))
1109
+ StartNotebookExecutionInput.add_member(:notebook_execution_name, Shapes::ShapeRef.new(shape: XmlStringMaxLen256, location_name: "NotebookExecutionName"))
1110
+ StartNotebookExecutionInput.add_member(:notebook_params, Shapes::ShapeRef.new(shape: XmlString, location_name: "NotebookParams"))
1111
+ StartNotebookExecutionInput.add_member(:execution_engine, Shapes::ShapeRef.new(shape: ExecutionEngineConfig, required: true, location_name: "ExecutionEngine"))
1112
+ StartNotebookExecutionInput.add_member(:service_role, Shapes::ShapeRef.new(shape: XmlString, required: true, location_name: "ServiceRole"))
1113
+ StartNotebookExecutionInput.add_member(:notebook_instance_security_group_id, Shapes::ShapeRef.new(shape: XmlStringMaxLen256, location_name: "NotebookInstanceSecurityGroupId"))
1114
+ StartNotebookExecutionInput.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
1115
+ StartNotebookExecutionInput.struct_class = Types::StartNotebookExecutionInput
1116
+
1117
+ StartNotebookExecutionOutput.add_member(:notebook_execution_id, Shapes::ShapeRef.new(shape: XmlStringMaxLen256, location_name: "NotebookExecutionId"))
1118
+ StartNotebookExecutionOutput.struct_class = Types::StartNotebookExecutionOutput
1119
+
1039
1120
  Step.add_member(:id, Shapes::ShapeRef.new(shape: StepId, location_name: "Id"))
1040
1121
  Step.add_member(:name, Shapes::ShapeRef.new(shape: String, location_name: "Name"))
1041
1122
  Step.add_member(:config, Shapes::ShapeRef.new(shape: HadoopStepConfig, location_name: "Config"))
@@ -1091,6 +1172,9 @@ module Aws::EMR
1091
1172
  StepTimeline.add_member(:end_date_time, Shapes::ShapeRef.new(shape: Date, location_name: "EndDateTime"))
1092
1173
  StepTimeline.struct_class = Types::StepTimeline
1093
1174
 
1175
+ StopNotebookExecutionInput.add_member(:notebook_execution_id, Shapes::ShapeRef.new(shape: XmlStringMaxLen256, required: true, location_name: "NotebookExecutionId"))
1176
+ StopNotebookExecutionInput.struct_class = Types::StopNotebookExecutionInput
1177
+
1094
1178
  StringList.member = Shapes::ShapeRef.new(shape: String)
1095
1179
 
1096
1180
  StringMap.key = Shapes::ShapeRef.new(shape: String)
@@ -1227,6 +1311,16 @@ module Aws::EMR
1227
1311
  o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
1228
1312
  end)
1229
1313
 
1314
+ api.add_operation(:describe_notebook_execution, Seahorse::Model::Operation.new.tap do |o|
1315
+ o.name = "DescribeNotebookExecution"
1316
+ o.http_method = "POST"
1317
+ o.http_request_uri = "/"
1318
+ o.input = Shapes::ShapeRef.new(shape: DescribeNotebookExecutionInput)
1319
+ o.output = Shapes::ShapeRef.new(shape: DescribeNotebookExecutionOutput)
1320
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
1321
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
1322
+ end)
1323
+
1230
1324
  api.add_operation(:describe_security_configuration, Seahorse::Model::Operation.new.tap do |o|
1231
1325
  o.name = "DescribeSecurityConfiguration"
1232
1326
  o.http_method = "POST"
@@ -1340,6 +1434,21 @@ module Aws::EMR
1340
1434
  )
1341
1435
  end)
1342
1436
 
1437
+ api.add_operation(:list_notebook_executions, Seahorse::Model::Operation.new.tap do |o|
1438
+ o.name = "ListNotebookExecutions"
1439
+ o.http_method = "POST"
1440
+ o.http_request_uri = "/"
1441
+ o.input = Shapes::ShapeRef.new(shape: ListNotebookExecutionsInput)
1442
+ o.output = Shapes::ShapeRef.new(shape: ListNotebookExecutionsOutput)
1443
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
1444
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
1445
+ o[:pager] = Aws::Pager.new(
1446
+ tokens: {
1447
+ "marker" => "marker"
1448
+ }
1449
+ )
1450
+ end)
1451
+
1343
1452
  api.add_operation(:list_security_configurations, Seahorse::Model::Operation.new.tap do |o|
1344
1453
  o.name = "ListSecurityConfigurations"
1345
1454
  o.http_method = "POST"
@@ -1478,6 +1587,26 @@ module Aws::EMR
1478
1587
  o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
1479
1588
  end)
1480
1589
 
1590
+ api.add_operation(:start_notebook_execution, Seahorse::Model::Operation.new.tap do |o|
1591
+ o.name = "StartNotebookExecution"
1592
+ o.http_method = "POST"
1593
+ o.http_request_uri = "/"
1594
+ o.input = Shapes::ShapeRef.new(shape: StartNotebookExecutionInput)
1595
+ o.output = Shapes::ShapeRef.new(shape: StartNotebookExecutionOutput)
1596
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1597
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
1598
+ end)
1599
+
1600
+ api.add_operation(:stop_notebook_execution, Seahorse::Model::Operation.new.tap do |o|
1601
+ o.name = "StopNotebookExecution"
1602
+ o.http_method = "POST"
1603
+ o.http_request_uri = "/"
1604
+ o.input = Shapes::ShapeRef.new(shape: StopNotebookExecutionInput)
1605
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
1606
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
1607
+ o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
1608
+ end)
1609
+
1481
1610
  api.add_operation(:terminate_job_flows, Seahorse::Model::Operation.new.tap do |o|
1482
1611
  o.name = "TerminateJobFlows"
1483
1612
  o.http_method = "POST"