aws-sdk-emr 1.35.0 → 1.36.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: 95cc2de83ff9b8d382ab78003581b6146ecf4d9e6e4e03dc7069f56d263cd93a
4
- data.tar.gz: 27035301f6534d5aa603df81d442b904a9d901f5cb2d1203ec655d12e0694701
3
+ metadata.gz: 3e1e06ab391f35815ddec6b3924f9502a95c580de884d04dc6e21d47062676e7
4
+ data.tar.gz: 1509c419c8b6189e6c36fba66926008ce656cd501a23bdaa3f0534d8e5376ea2
5
5
  SHA512:
6
- metadata.gz: 11e2ae607b790bcd9b7c3bf31bf27ca3c80591a780e893562f27cccc9f999b3421c1b27e7c2aebe4377bd4b13c45e4e08b7d76bf975e200d352b3d9b990c83e0
7
- data.tar.gz: d77317342e21f47154c169b2cf1096e8269f1b0141308f3297c4178e18710d8e058e21f5f18eab6677c25d0ff98eb5c12337bfb11240bdaaaff69eb1e280b916
6
+ metadata.gz: 6458606bf94fbe64116e844ef4417f4d797a3888fe9cc2f5d6eab22d64c7e8a50dce9136b0b16c424bfb6e1b06413d83a90555a1bee6a1282728a7be453f88b3
7
+ data.tar.gz: 06bcef3935b67488e46a88f2e4a65f7817be231bbdb17ca8349e742fef47f20433544503464c982d49e825f9353dd3d6a61a0cfc0333323cced2be3d57742b44
@@ -48,6 +48,6 @@ require_relative 'aws-sdk-emr/customizations'
48
48
  # @!group service
49
49
  module Aws::EMR
50
50
 
51
- GEM_VERSION = '1.35.0'
51
+ GEM_VERSION = '1.36.0'
52
52
 
53
53
  end
@@ -988,6 +988,50 @@ module Aws::EMR
988
988
  req.send_request(options)
989
989
  end
990
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
+
991
1035
  # Provides the details of a security configuration by returning the
992
1036
  # configuration JSON.
993
1037
  #
@@ -1499,6 +1543,95 @@ module Aws::EMR
1499
1543
  req.send_request(options)
1500
1544
  end
1501
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
+
1502
1635
  # Lists all the security configurations visible to this account,
1503
1636
  # providing their creation dates and times, and their names. This call
1504
1637
  # returns a maximum of 50 clusters per call, but returns a marker to
@@ -2616,6 +2749,109 @@ module Aws::EMR
2616
2749
  req.send_request(options)
2617
2750
  end
2618
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
+
2619
2855
  # TerminateJobFlows shuts a list of clusters (job flows) down. When a
2620
2856
  # job flow is shut down, any step not yet completed is canceled and the
2621
2857
  # EC2 instances on which the cluster is running are stopped. Any log
@@ -2661,7 +2897,7 @@ module Aws::EMR
2661
2897
  params: params,
2662
2898
  config: config)
2663
2899
  context[:gem_name] = 'aws-sdk-emr'
2664
- context[:gem_version] = '1.35.0'
2900
+ context[:gem_version] = '1.36.0'
2665
2901
  Seahorse::Client::Request.new(handlers, context)
2666
2902
  end
2667
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,10 @@ 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')
185
195
  OnDemandProvisioningAllocationStrategy = Shapes::StringShape.new(name: 'OnDemandProvisioningAllocationStrategy')
186
196
  OnDemandProvisioningSpecification = Shapes::StructureShape.new(name: 'OnDemandProvisioningSpecification')
187
197
  OptionalArnType = Shapes::StringShape.new(name: 'OptionalArnType')
@@ -222,6 +232,8 @@ module Aws::EMR
222
232
  SpotProvisioningAllocationStrategy = Shapes::StringShape.new(name: 'SpotProvisioningAllocationStrategy')
223
233
  SpotProvisioningSpecification = Shapes::StructureShape.new(name: 'SpotProvisioningSpecification')
224
234
  SpotProvisioningTimeoutAction = Shapes::StringShape.new(name: 'SpotProvisioningTimeoutAction')
235
+ StartNotebookExecutionInput = Shapes::StructureShape.new(name: 'StartNotebookExecutionInput')
236
+ StartNotebookExecutionOutput = Shapes::StructureShape.new(name: 'StartNotebookExecutionOutput')
225
237
  Statistic = Shapes::StringShape.new(name: 'Statistic')
226
238
  Step = Shapes::StructureShape.new(name: 'Step')
227
239
  StepCancellationOption = Shapes::StringShape.new(name: 'StepCancellationOption')
@@ -241,6 +253,7 @@ module Aws::EMR
241
253
  StepSummary = Shapes::StructureShape.new(name: 'StepSummary')
242
254
  StepSummaryList = Shapes::ListShape.new(name: 'StepSummaryList')
243
255
  StepTimeline = Shapes::StructureShape.new(name: 'StepTimeline')
256
+ StopNotebookExecutionInput = Shapes::StructureShape.new(name: 'StopNotebookExecutionInput')
244
257
  String = Shapes::StringShape.new(name: 'String')
245
258
  StringList = Shapes::ListShape.new(name: 'StringList')
246
259
  StringMap = Shapes::MapShape.new(name: 'StringMap')
@@ -464,6 +477,12 @@ module Aws::EMR
464
477
  DescribeJobFlowsOutput.add_member(:job_flows, Shapes::ShapeRef.new(shape: JobFlowDetailList, location_name: "JobFlows"))
465
478
  DescribeJobFlowsOutput.struct_class = Types::DescribeJobFlowsOutput
466
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
+
467
486
  DescribeSecurityConfigurationInput.add_member(:name, Shapes::ShapeRef.new(shape: XmlString, required: true, location_name: "Name"))
468
487
  DescribeSecurityConfigurationInput.struct_class = Types::DescribeSecurityConfigurationInput
469
488
 
@@ -518,6 +537,11 @@ module Aws::EMR
518
537
  Ec2InstanceAttributes.add_member(:additional_slave_security_groups, Shapes::ShapeRef.new(shape: StringList, location_name: "AdditionalSlaveSecurityGroups"))
519
538
  Ec2InstanceAttributes.struct_class = Types::Ec2InstanceAttributes
520
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
+
521
545
  FailureDetails.add_member(:reason, Shapes::ShapeRef.new(shape: String, location_name: "Reason"))
522
546
  FailureDetails.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
523
547
  FailureDetails.add_member(:log_file, Shapes::ShapeRef.new(shape: String, location_name: "LogFile"))
@@ -863,6 +887,17 @@ module Aws::EMR
863
887
  ListInstancesOutput.add_member(:marker, Shapes::ShapeRef.new(shape: Marker, location_name: "Marker"))
864
888
  ListInstancesOutput.struct_class = Types::ListInstancesOutput
865
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
+
866
901
  ListSecurityConfigurationsInput.add_member(:marker, Shapes::ShapeRef.new(shape: Marker, location_name: "Marker"))
867
902
  ListSecurityConfigurationsInput.struct_class = Types::ListSecurityConfigurationsInput
868
903
 
@@ -906,6 +941,31 @@ module Aws::EMR
906
941
 
907
942
  NewSupportedProductsList.member = Shapes::ShapeRef.new(shape: SupportedProductConfig)
908
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
+
909
969
  OnDemandProvisioningSpecification.add_member(:allocation_strategy, Shapes::ShapeRef.new(shape: OnDemandProvisioningAllocationStrategy, required: true, location_name: "AllocationStrategy"))
910
970
  OnDemandProvisioningSpecification.struct_class = Types::OnDemandProvisioningSpecification
911
971
 
@@ -1044,6 +1104,19 @@ module Aws::EMR
1044
1104
  SpotProvisioningSpecification.add_member(:allocation_strategy, Shapes::ShapeRef.new(shape: SpotProvisioningAllocationStrategy, location_name: "AllocationStrategy"))
1045
1105
  SpotProvisioningSpecification.struct_class = Types::SpotProvisioningSpecification
1046
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
+
1047
1120
  Step.add_member(:id, Shapes::ShapeRef.new(shape: StepId, location_name: "Id"))
1048
1121
  Step.add_member(:name, Shapes::ShapeRef.new(shape: String, location_name: "Name"))
1049
1122
  Step.add_member(:config, Shapes::ShapeRef.new(shape: HadoopStepConfig, location_name: "Config"))
@@ -1099,6 +1172,9 @@ module Aws::EMR
1099
1172
  StepTimeline.add_member(:end_date_time, Shapes::ShapeRef.new(shape: Date, location_name: "EndDateTime"))
1100
1173
  StepTimeline.struct_class = Types::StepTimeline
1101
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
+
1102
1178
  StringList.member = Shapes::ShapeRef.new(shape: String)
1103
1179
 
1104
1180
  StringMap.key = Shapes::ShapeRef.new(shape: String)
@@ -1235,6 +1311,16 @@ module Aws::EMR
1235
1311
  o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
1236
1312
  end)
1237
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
+
1238
1324
  api.add_operation(:describe_security_configuration, Seahorse::Model::Operation.new.tap do |o|
1239
1325
  o.name = "DescribeSecurityConfiguration"
1240
1326
  o.http_method = "POST"
@@ -1348,6 +1434,21 @@ module Aws::EMR
1348
1434
  )
1349
1435
  end)
1350
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
+
1351
1452
  api.add_operation(:list_security_configurations, Seahorse::Model::Operation.new.tap do |o|
1352
1453
  o.name = "ListSecurityConfigurations"
1353
1454
  o.http_method = "POST"
@@ -1486,6 +1587,26 @@ module Aws::EMR
1486
1587
  o.errors << Shapes::ShapeRef.new(shape: InternalServerError)
1487
1588
  end)
1488
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
+
1489
1610
  api.add_operation(:terminate_job_flows, Seahorse::Model::Operation.new.tap do |o|
1490
1611
  o.name = "TerminateJobFlows"
1491
1612
  o.http_method = "POST"
@@ -1457,6 +1457,37 @@ module Aws::EMR
1457
1457
  include Aws::Structure
1458
1458
  end
1459
1459
 
1460
+ # @note When making an API call, you may pass DescribeNotebookExecutionInput
1461
+ # data as a hash:
1462
+ #
1463
+ # {
1464
+ # notebook_execution_id: "XmlStringMaxLen256", # required
1465
+ # }
1466
+ #
1467
+ # @!attribute [rw] notebook_execution_id
1468
+ # The unique identifier of the notebook execution.
1469
+ # @return [String]
1470
+ #
1471
+ # @see http://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/DescribeNotebookExecutionInput AWS API Documentation
1472
+ #
1473
+ class DescribeNotebookExecutionInput < Struct.new(
1474
+ :notebook_execution_id)
1475
+ SENSITIVE = []
1476
+ include Aws::Structure
1477
+ end
1478
+
1479
+ # @!attribute [rw] notebook_execution
1480
+ # Properties of the notebook execution.
1481
+ # @return [Types::NotebookExecution]
1482
+ #
1483
+ # @see http://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/DescribeNotebookExecutionOutput AWS API Documentation
1484
+ #
1485
+ class DescribeNotebookExecutionOutput < Struct.new(
1486
+ :notebook_execution)
1487
+ SENSITIVE = []
1488
+ include Aws::Structure
1489
+ end
1490
+
1460
1491
  # @note When making an API call, you may pass DescribeSecurityConfigurationInput
1461
1492
  # data as a hash:
1462
1493
  #
@@ -1747,6 +1778,49 @@ module Aws::EMR
1747
1778
  include Aws::Structure
1748
1779
  end
1749
1780
 
1781
+ # Specifies the execution engine (cluster) to run the notebook and
1782
+ # perform the notebook execution, for example, an EMR cluster.
1783
+ #
1784
+ # @note When making an API call, you may pass ExecutionEngineConfig
1785
+ # data as a hash:
1786
+ #
1787
+ # {
1788
+ # id: "XmlStringMaxLen256", # required
1789
+ # type: "EMR", # accepts EMR
1790
+ # master_instance_security_group_id: "XmlStringMaxLen256",
1791
+ # }
1792
+ #
1793
+ # @!attribute [rw] id
1794
+ # The unique identifier of the execution engine. For an EMR cluster,
1795
+ # this is the cluster ID.
1796
+ # @return [String]
1797
+ #
1798
+ # @!attribute [rw] type
1799
+ # The type of execution engine. A value of `EMR` specifies an EMR
1800
+ # cluster.
1801
+ # @return [String]
1802
+ #
1803
+ # @!attribute [rw] master_instance_security_group_id
1804
+ # An optional unique ID of an EC2 security group to associate with the
1805
+ # master instance of the EMR cluster for this notebook execution. For
1806
+ # more information see [Specifying EC2 Security Groups for EMR
1807
+ # Notebooks][1] in the *EMR Management Guide*.
1808
+ #
1809
+ #
1810
+ #
1811
+ # [1]: https://docs.aws.amazon.com/emr/latest/ManagementGuide/emr-managed-notebooks-security-groups.html
1812
+ # @return [String]
1813
+ #
1814
+ # @see http://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/ExecutionEngineConfig AWS API Documentation
1815
+ #
1816
+ class ExecutionEngineConfig < Struct.new(
1817
+ :id,
1818
+ :type,
1819
+ :master_instance_security_group_id)
1820
+ SENSITIVE = []
1821
+ include Aws::Structure
1822
+ end
1823
+
1750
1824
  # The details of the step failure. The service attempts to detect the
1751
1825
  # root cause for many common failures.
1752
1826
  #
@@ -4140,6 +4214,101 @@ module Aws::EMR
4140
4214
  include Aws::Structure
4141
4215
  end
4142
4216
 
4217
+ # @note When making an API call, you may pass ListNotebookExecutionsInput
4218
+ # data as a hash:
4219
+ #
4220
+ # {
4221
+ # editor_id: "XmlStringMaxLen256",
4222
+ # status: "START_PENDING", # accepts START_PENDING, STARTING, RUNNING, FINISHING, FINISHED, FAILING, FAILED, STOP_PENDING, STOPPING, STOPPED
4223
+ # from: Time.now,
4224
+ # to: Time.now,
4225
+ # marker: "Marker",
4226
+ # }
4227
+ #
4228
+ # @!attribute [rw] editor_id
4229
+ # The unique ID of the editor associated with the notebook execution.
4230
+ # @return [String]
4231
+ #
4232
+ # @!attribute [rw] status
4233
+ # The status filter for listing notebook executions.
4234
+ #
4235
+ # * `START_PENDING` indicates that the cluster has received the
4236
+ # execution request but execution has not begun.
4237
+ #
4238
+ # * `STARTING` indicates that the execution is starting on the
4239
+ # cluster.
4240
+ #
4241
+ # * `RUNNING` indicates that the execution is being processed by the
4242
+ # cluster.
4243
+ #
4244
+ # * `FINISHING` indicates that execution processing is in the final
4245
+ # stages.
4246
+ #
4247
+ # * `FINISHED` indicates that the execution has completed without
4248
+ # error.
4249
+ #
4250
+ # * `FAILING` indicates that the execution is failing and will not
4251
+ # finish successfully.
4252
+ #
4253
+ # * `FAILED` indicates that the execution failed.
4254
+ #
4255
+ # * `STOP_PENDING` indicates that the cluster has received a
4256
+ # `StopNotebookExecution` request and the stop is pending.
4257
+ #
4258
+ # * `STOPPING` indicates that the cluster is in the process of
4259
+ # stopping the execution as a result of a `StopNotebookExecution`
4260
+ # request.
4261
+ #
4262
+ # * `STOPPED` indicates that the execution stopped because of a
4263
+ # `StopNotebookExecution` request.
4264
+ # @return [String]
4265
+ #
4266
+ # @!attribute [rw] from
4267
+ # The beginning of time range filter for listing notebook executions.
4268
+ # The default is the timestamp of 30 days ago.
4269
+ # @return [Time]
4270
+ #
4271
+ # @!attribute [rw] to
4272
+ # The end of time range filter for listing notebook executions. The
4273
+ # default is the current timestamp.
4274
+ # @return [Time]
4275
+ #
4276
+ # @!attribute [rw] marker
4277
+ # The pagination token, returned by a previous
4278
+ # `ListNotebookExecutions` call, that indicates the start of the list
4279
+ # for this `ListNotebookExecutions` call.
4280
+ # @return [String]
4281
+ #
4282
+ # @see http://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/ListNotebookExecutionsInput AWS API Documentation
4283
+ #
4284
+ class ListNotebookExecutionsInput < Struct.new(
4285
+ :editor_id,
4286
+ :status,
4287
+ :from,
4288
+ :to,
4289
+ :marker)
4290
+ SENSITIVE = []
4291
+ include Aws::Structure
4292
+ end
4293
+
4294
+ # @!attribute [rw] notebook_executions
4295
+ # A list of notebook executions.
4296
+ # @return [Array<Types::NotebookExecutionSummary>]
4297
+ #
4298
+ # @!attribute [rw] marker
4299
+ # A pagination token that a subsequent `ListNotebookExecutions` can
4300
+ # use to determine the next set of results to retrieve.
4301
+ # @return [String]
4302
+ #
4303
+ # @see http://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/ListNotebookExecutionsOutput AWS API Documentation
4304
+ #
4305
+ class ListNotebookExecutionsOutput < Struct.new(
4306
+ :notebook_executions,
4307
+ :marker)
4308
+ SENSITIVE = []
4309
+ include Aws::Structure
4310
+ end
4311
+
4143
4312
  # @note When making an API call, you may pass ListSecurityConfigurationsInput
4144
4313
  # data as a hash:
4145
4314
  #
@@ -4425,6 +4594,191 @@ module Aws::EMR
4425
4594
  include Aws::Structure
4426
4595
  end
4427
4596
 
4597
+ # A notebook execution. An execution is a specific instance that an EMR
4598
+ # Notebook is run using the `StartNotebookExecution` action.
4599
+ #
4600
+ # @!attribute [rw] notebook_execution_id
4601
+ # The unique identifier of a notebook execution.
4602
+ # @return [String]
4603
+ #
4604
+ # @!attribute [rw] editor_id
4605
+ # The unique identifier of the EMR Notebook that is used for the
4606
+ # notebook execution.
4607
+ # @return [String]
4608
+ #
4609
+ # @!attribute [rw] execution_engine
4610
+ # The execution engine, such as an EMR cluster, used to run the EMR
4611
+ # notebook and perform the notebook execution.
4612
+ # @return [Types::ExecutionEngineConfig]
4613
+ #
4614
+ # @!attribute [rw] notebook_execution_name
4615
+ # A name for the notebook execution.
4616
+ # @return [String]
4617
+ #
4618
+ # @!attribute [rw] notebook_params
4619
+ # Input parameters in JSON format passed to the EMR Notebook at
4620
+ # runtime for execution.
4621
+ # @return [String]
4622
+ #
4623
+ # @!attribute [rw] status
4624
+ # The status of the notebook execution.
4625
+ #
4626
+ # * `START_PENDING` indicates that the cluster has received the
4627
+ # execution request but execution has not begun.
4628
+ #
4629
+ # * `STARTING` indicates that the execution is starting on the
4630
+ # cluster.
4631
+ #
4632
+ # * `RUNNING` indicates that the execution is being processed by the
4633
+ # cluster.
4634
+ #
4635
+ # * `FINISHING` indicates that execution processing is in the final
4636
+ # stages.
4637
+ #
4638
+ # * `FINISHED` indicates that the execution has completed without
4639
+ # error.
4640
+ #
4641
+ # * `FAILING` indicates that the execution is failing and will not
4642
+ # finish successfully.
4643
+ #
4644
+ # * `FAILED` indicates that the execution failed.
4645
+ #
4646
+ # * `STOP_PENDING` indicates that the cluster has received a
4647
+ # `StopNotebookExecution` request and the stop is pending.
4648
+ #
4649
+ # * `STOPPING` indicates that the cluster is in the process of
4650
+ # stopping the execution as a result of a `StopNotebookExecution`
4651
+ # request.
4652
+ #
4653
+ # * `STOPPED` indicates that the execution stopped because of a
4654
+ # `StopNotebookExecution` request.
4655
+ # @return [String]
4656
+ #
4657
+ # @!attribute [rw] start_time
4658
+ # The timestamp when notebook execution started.
4659
+ # @return [Time]
4660
+ #
4661
+ # @!attribute [rw] end_time
4662
+ # The timestamp when notebook execution ended.
4663
+ # @return [Time]
4664
+ #
4665
+ # @!attribute [rw] arn
4666
+ # The Amazon Resource Name (ARN) of the notebook execution.
4667
+ # @return [String]
4668
+ #
4669
+ # @!attribute [rw] output_notebook_uri
4670
+ # The location of the notebook execution's output file in Amazon S3.
4671
+ # @return [String]
4672
+ #
4673
+ # @!attribute [rw] last_state_change_reason
4674
+ # The reason for the latest status change of the notebook execution.
4675
+ # @return [String]
4676
+ #
4677
+ # @!attribute [rw] notebook_instance_security_group_id
4678
+ # The unique identifier of the EC2 security group associated with the
4679
+ # EMR Notebook instance. For more information see [Specifying EC2
4680
+ # Security Groups for EMR Notebooks][1] in the *EMR Management Guide*.
4681
+ #
4682
+ #
4683
+ #
4684
+ # [1]: https://docs.aws.amazon.com/emr/latest/ManagementGuide/emr-managed-notebooks-security-groups.html
4685
+ # @return [String]
4686
+ #
4687
+ # @!attribute [rw] tags
4688
+ # A list of tags associated with a notebook execution. Tags are
4689
+ # user-defined key value pairs that consist of a required key string
4690
+ # with a maximum of 128 characters and an optional value string with a
4691
+ # maximum of 256 characters.
4692
+ # @return [Array<Types::Tag>]
4693
+ #
4694
+ # @see http://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/NotebookExecution AWS API Documentation
4695
+ #
4696
+ class NotebookExecution < Struct.new(
4697
+ :notebook_execution_id,
4698
+ :editor_id,
4699
+ :execution_engine,
4700
+ :notebook_execution_name,
4701
+ :notebook_params,
4702
+ :status,
4703
+ :start_time,
4704
+ :end_time,
4705
+ :arn,
4706
+ :output_notebook_uri,
4707
+ :last_state_change_reason,
4708
+ :notebook_instance_security_group_id,
4709
+ :tags)
4710
+ SENSITIVE = []
4711
+ include Aws::Structure
4712
+ end
4713
+
4714
+ # @!attribute [rw] notebook_execution_id
4715
+ # The unique identifier of the notebook execution.
4716
+ # @return [String]
4717
+ #
4718
+ # @!attribute [rw] editor_id
4719
+ # The unique identifier of the editor associated with the notebook
4720
+ # execution.
4721
+ # @return [String]
4722
+ #
4723
+ # @!attribute [rw] notebook_execution_name
4724
+ # The name of the notebook execution.
4725
+ # @return [String]
4726
+ #
4727
+ # @!attribute [rw] status
4728
+ # The status of the notebook execution.
4729
+ #
4730
+ # * `START_PENDING` indicates that the cluster has received the
4731
+ # execution request but execution has not begun.
4732
+ #
4733
+ # * `STARTING` indicates that the execution is starting on the
4734
+ # cluster.
4735
+ #
4736
+ # * `RUNNING` indicates that the execution is being processed by the
4737
+ # cluster.
4738
+ #
4739
+ # * `FINISHING` indicates that execution processing is in the final
4740
+ # stages.
4741
+ #
4742
+ # * `FINISHED` indicates that the execution has completed without
4743
+ # error.
4744
+ #
4745
+ # * `FAILING` indicates that the execution is failing and will not
4746
+ # finish successfully.
4747
+ #
4748
+ # * `FAILED` indicates that the execution failed.
4749
+ #
4750
+ # * `STOP_PENDING` indicates that the cluster has received a
4751
+ # `StopNotebookExecution` request and the stop is pending.
4752
+ #
4753
+ # * `STOPPING` indicates that the cluster is in the process of
4754
+ # stopping the execution as a result of a `StopNotebookExecution`
4755
+ # request.
4756
+ #
4757
+ # * `STOPPED` indicates that the execution stopped because of a
4758
+ # `StopNotebookExecution` request.
4759
+ # @return [String]
4760
+ #
4761
+ # @!attribute [rw] start_time
4762
+ # The timestamp when notebook execution started.
4763
+ # @return [Time]
4764
+ #
4765
+ # @!attribute [rw] end_time
4766
+ # The timestamp when notebook execution started.
4767
+ # @return [Time]
4768
+ #
4769
+ # @see http://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/NotebookExecutionSummary AWS API Documentation
4770
+ #
4771
+ class NotebookExecutionSummary < Struct.new(
4772
+ :notebook_execution_id,
4773
+ :editor_id,
4774
+ :notebook_execution_name,
4775
+ :status,
4776
+ :start_time,
4777
+ :end_time)
4778
+ SENSITIVE = []
4779
+ include Aws::Structure
4780
+ end
4781
+
4428
4782
  # The launch specification for On-Demand instances in the instance
4429
4783
  # fleet, which determines the allocation strategy.
4430
4784
  #
@@ -5774,6 +6128,104 @@ module Aws::EMR
5774
6128
  include Aws::Structure
5775
6129
  end
5776
6130
 
6131
+ # @note When making an API call, you may pass StartNotebookExecutionInput
6132
+ # data as a hash:
6133
+ #
6134
+ # {
6135
+ # editor_id: "XmlStringMaxLen256", # required
6136
+ # relative_path: "XmlString", # required
6137
+ # notebook_execution_name: "XmlStringMaxLen256",
6138
+ # notebook_params: "XmlString",
6139
+ # execution_engine: { # required
6140
+ # id: "XmlStringMaxLen256", # required
6141
+ # type: "EMR", # accepts EMR
6142
+ # master_instance_security_group_id: "XmlStringMaxLen256",
6143
+ # },
6144
+ # service_role: "XmlString", # required
6145
+ # notebook_instance_security_group_id: "XmlStringMaxLen256",
6146
+ # tags: [
6147
+ # {
6148
+ # key: "String",
6149
+ # value: "String",
6150
+ # },
6151
+ # ],
6152
+ # }
6153
+ #
6154
+ # @!attribute [rw] editor_id
6155
+ # The unique identifier of the EMR Notebook to use for notebook
6156
+ # execution.
6157
+ # @return [String]
6158
+ #
6159
+ # @!attribute [rw] relative_path
6160
+ # The path and file name of the notebook file for this execution,
6161
+ # relative to the path specified for the EMR Notebook. For example, if
6162
+ # you specify a path of `s3://MyBucket/MyNotebooks` when you create an
6163
+ # EMR Notebook for a notebook with an ID of
6164
+ # `e-ABCDEFGHIJK1234567890ABCD` (the `EditorID` of this request), and
6165
+ # you specify a `RelativePath` of
6166
+ # `my_notebook_executions/notebook_execution.ipynb`, the location of
6167
+ # the file for the notebook execution is
6168
+ # `s3://MyBucket/MyNotebooks/e-ABCDEFGHIJK1234567890ABCD/my_notebook_executions/notebook_execution.ipynb`.
6169
+ # @return [String]
6170
+ #
6171
+ # @!attribute [rw] notebook_execution_name
6172
+ # An optional name for the notebook execution.
6173
+ # @return [String]
6174
+ #
6175
+ # @!attribute [rw] notebook_params
6176
+ # Input parameters in JSON format passed to the EMR Notebook at
6177
+ # runtime for execution.
6178
+ # @return [String]
6179
+ #
6180
+ # @!attribute [rw] execution_engine
6181
+ # Specifies the execution engine (cluster) that runs the notebook
6182
+ # execution.
6183
+ # @return [Types::ExecutionEngineConfig]
6184
+ #
6185
+ # @!attribute [rw] service_role
6186
+ # The name or ARN of the IAM role that is used as the service role for
6187
+ # Amazon EMR (the EMR role) for the notebook execution.
6188
+ # @return [String]
6189
+ #
6190
+ # @!attribute [rw] notebook_instance_security_group_id
6191
+ # The unique identifier of the Amazon EC2 security group to associate
6192
+ # with the EMR Notebook for this notebook execution.
6193
+ # @return [String]
6194
+ #
6195
+ # @!attribute [rw] tags
6196
+ # A list of tags associated with a notebook execution. Tags are
6197
+ # user-defined key value pairs that consist of a required key string
6198
+ # with a maximum of 128 characters and an optional value string with a
6199
+ # maximum of 256 characters.
6200
+ # @return [Array<Types::Tag>]
6201
+ #
6202
+ # @see http://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/StartNotebookExecutionInput AWS API Documentation
6203
+ #
6204
+ class StartNotebookExecutionInput < Struct.new(
6205
+ :editor_id,
6206
+ :relative_path,
6207
+ :notebook_execution_name,
6208
+ :notebook_params,
6209
+ :execution_engine,
6210
+ :service_role,
6211
+ :notebook_instance_security_group_id,
6212
+ :tags)
6213
+ SENSITIVE = []
6214
+ include Aws::Structure
6215
+ end
6216
+
6217
+ # @!attribute [rw] notebook_execution_id
6218
+ # The unique identifier of the notebook execution.
6219
+ # @return [String]
6220
+ #
6221
+ # @see http://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/StartNotebookExecutionOutput AWS API Documentation
6222
+ #
6223
+ class StartNotebookExecutionOutput < Struct.new(
6224
+ :notebook_execution_id)
6225
+ SENSITIVE = []
6226
+ include Aws::Structure
6227
+ end
6228
+
5777
6229
  # This represents a step in a cluster.
5778
6230
  #
5779
6231
  # @!attribute [rw] id
@@ -6022,6 +6474,25 @@ module Aws::EMR
6022
6474
  include Aws::Structure
6023
6475
  end
6024
6476
 
6477
+ # @note When making an API call, you may pass StopNotebookExecutionInput
6478
+ # data as a hash:
6479
+ #
6480
+ # {
6481
+ # notebook_execution_id: "XmlStringMaxLen256", # required
6482
+ # }
6483
+ #
6484
+ # @!attribute [rw] notebook_execution_id
6485
+ # The unique identifier of the notebook execution.
6486
+ # @return [String]
6487
+ #
6488
+ # @see http://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/StopNotebookExecutionInput AWS API Documentation
6489
+ #
6490
+ class StopNotebookExecutionInput < Struct.new(
6491
+ :notebook_execution_id)
6492
+ SENSITIVE = []
6493
+ include Aws::Structure
6494
+ end
6495
+
6025
6496
  # The list of supported product configurations which allow user-supplied
6026
6497
  # arguments. EMR accepts these arguments and forwards them to the
6027
6498
  # corresponding installation script as bootstrap action arguments.
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-emr
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.35.0
4
+ version: 1.36.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-08-25 00:00:00.000000000 Z
11
+ date: 2020-08-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core