aws-sdk-emr 1.40.0 → 1.45.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +298 -0
- data/LICENSE.txt +202 -0
- data/VERSION +1 -0
- data/lib/aws-sdk-emr.rb +2 -2
- data/lib/aws-sdk-emr/client.rb +90 -78
- data/lib/aws-sdk-emr/client_api.rb +29 -2
- data/lib/aws-sdk-emr/errors.rb +1 -1
- data/lib/aws-sdk-emr/resource.rb +1 -1
- data/lib/aws-sdk-emr/types.rb +215 -74
- data/lib/aws-sdk-emr/waiters.rb +1 -1
- metadata +8 -5
data/lib/aws-sdk-emr/errors.rb
CHANGED
@@ -3,7 +3,7 @@
|
|
3
3
|
# WARNING ABOUT GENERATED CODE
|
4
4
|
#
|
5
5
|
# This file is generated. See the contributing guide for more information:
|
6
|
-
# https://github.com/aws/aws-sdk-ruby/blob/
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
7
7
|
#
|
8
8
|
# WARNING ABOUT GENERATED CODE
|
9
9
|
|
data/lib/aws-sdk-emr/resource.rb
CHANGED
@@ -3,7 +3,7 @@
|
|
3
3
|
# WARNING ABOUT GENERATED CODE
|
4
4
|
#
|
5
5
|
# This file is generated. See the contributing guide for more information:
|
6
|
-
# https://github.com/aws/aws-sdk-ruby/blob/
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
7
7
|
#
|
8
8
|
# WARNING ABOUT GENERATED CODE
|
9
9
|
|
data/lib/aws-sdk-emr/types.rb
CHANGED
@@ -3,7 +3,7 @@
|
|
3
3
|
# WARNING ABOUT GENERATED CODE
|
4
4
|
#
|
5
5
|
# This file is generated. See the contributing guide for more information:
|
6
|
-
# https://github.com/aws/aws-sdk-ruby/blob/
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
7
7
|
#
|
8
8
|
# WARNING ABOUT GENERATED CODE
|
9
9
|
|
@@ -61,6 +61,11 @@ module Aws::EMR
|
|
61
61
|
# },
|
62
62
|
# on_demand_specification: {
|
63
63
|
# allocation_strategy: "lowest-price", # required, accepts lowest-price
|
64
|
+
# capacity_reservation_options: {
|
65
|
+
# usage_strategy: "use-capacity-reservations-first", # accepts use-capacity-reservations-first
|
66
|
+
# capacity_reservation_preference: "open", # accepts open, none
|
67
|
+
# capacity_reservation_resource_group_arn: "XmlStringMaxLen256",
|
68
|
+
# },
|
64
69
|
# },
|
65
70
|
# },
|
66
71
|
# },
|
@@ -1365,7 +1370,7 @@ module Aws::EMR
|
|
1365
1370
|
# user_role: "XmlString", # required
|
1366
1371
|
# workspace_security_group_id: "XmlStringMaxLen256", # required
|
1367
1372
|
# engine_security_group_id: "XmlStringMaxLen256", # required
|
1368
|
-
# default_s3_location: "XmlString",
|
1373
|
+
# default_s3_location: "XmlString", # required
|
1369
1374
|
# tags: [
|
1370
1375
|
# {
|
1371
1376
|
# key: "String",
|
@@ -1379,7 +1384,7 @@ module Aws::EMR
|
|
1379
1384
|
# @return [String]
|
1380
1385
|
#
|
1381
1386
|
# @!attribute [rw] description
|
1382
|
-
# A detailed description of the Studio.
|
1387
|
+
# A detailed description of the Amazon EMR Studio.
|
1383
1388
|
# @return [String]
|
1384
1389
|
#
|
1385
1390
|
# @!attribute [rw] auth_mode
|
@@ -1394,9 +1399,10 @@ module Aws::EMR
|
|
1394
1399
|
# @return [String]
|
1395
1400
|
#
|
1396
1401
|
# @!attribute [rw] subnet_ids
|
1397
|
-
# A list of subnet IDs to associate with the Studio.
|
1398
|
-
#
|
1399
|
-
#
|
1402
|
+
# A list of subnet IDs to associate with the Amazon EMR Studio. A
|
1403
|
+
# Studio can have a maximum of 5 subnets. The subnets must belong to
|
1404
|
+
# the VPC specified by `VpcId`. Studio users can create a Workspace in
|
1405
|
+
# any of the specified subnets.
|
1400
1406
|
# @return [Array<String>]
|
1401
1407
|
#
|
1402
1408
|
# @!attribute [rw] service_role
|
@@ -1407,8 +1413,8 @@ module Aws::EMR
|
|
1407
1413
|
#
|
1408
1414
|
# @!attribute [rw] user_role
|
1409
1415
|
# The IAM user role that will be assumed by users and groups logged in
|
1410
|
-
# to
|
1411
|
-
# down for each user or group using session policies.
|
1416
|
+
# to an Amazon EMR Studio. The permissions attached to this IAM role
|
1417
|
+
# can be scoped down for each user or group using session policies.
|
1412
1418
|
# @return [String]
|
1413
1419
|
#
|
1414
1420
|
# @!attribute [rw] workspace_security_group_id
|
@@ -1425,16 +1431,15 @@ module Aws::EMR
|
|
1425
1431
|
# @return [String]
|
1426
1432
|
#
|
1427
1433
|
# @!attribute [rw] default_s3_location
|
1428
|
-
# The
|
1429
|
-
# notebook files.
|
1430
|
-
# location when creating a Workspace.
|
1434
|
+
# The Amazon S3 location to back up Amazon EMR Studio Workspaces and
|
1435
|
+
# notebook files.
|
1431
1436
|
# @return [String]
|
1432
1437
|
#
|
1433
1438
|
# @!attribute [rw] tags
|
1434
|
-
# A list of tags to associate with the Studio. Tags are
|
1435
|
-
# key-value pairs that consist of a required key string
|
1436
|
-
# of 128 characters, and an optional value string with
|
1437
|
-
# 256 characters.
|
1439
|
+
# A list of tags to associate with the Amazon EMR Studio. Tags are
|
1440
|
+
# user-defined key-value pairs that consist of a required key string
|
1441
|
+
# with a maximum of 128 characters, and an optional value string with
|
1442
|
+
# a maximum of 256 characters.
|
1438
1443
|
# @return [Array<Types::Tag>]
|
1439
1444
|
#
|
1440
1445
|
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/CreateStudioInput AWS API Documentation
|
@@ -1508,13 +1513,13 @@ module Aws::EMR
|
|
1508
1513
|
#
|
1509
1514
|
#
|
1510
1515
|
#
|
1511
|
-
# [1]: https://docs.aws.amazon.com/singlesignon/latest/IdentityStoreAPIReference/API_User.html#singlesignon-Type-User-
|
1516
|
+
# [1]: https://docs.aws.amazon.com/singlesignon/latest/IdentityStoreAPIReference/API_User.html#singlesignon-Type-User-UserName
|
1512
1517
|
# [2]: https://docs.aws.amazon.com/singlesignon/latest/IdentityStoreAPIReference/API_Group.html#singlesignon-Type-Group-DisplayName
|
1513
1518
|
# @return [String]
|
1514
1519
|
#
|
1515
1520
|
# @!attribute [rw] identity_type
|
1516
|
-
# Specifies whether the identity to map to the Studio is a
|
1517
|
-
# group.
|
1521
|
+
# Specifies whether the identity to map to the Amazon EMR Studio is a
|
1522
|
+
# user or a group.
|
1518
1523
|
# @return [String]
|
1519
1524
|
#
|
1520
1525
|
# @!attribute [rw] session_policy_arn
|
@@ -1604,20 +1609,20 @@ module Aws::EMR
|
|
1604
1609
|
# @return [String]
|
1605
1610
|
#
|
1606
1611
|
# @!attribute [rw] identity_name
|
1607
|
-
# The name of the user name or group to remove from the
|
1608
|
-
# more information, see [UserName][1] and [DisplayName][2]
|
1609
|
-
# SSO Identity Store API Reference*. Either `IdentityName`
|
1610
|
-
# `IdentityId` must be specified.
|
1612
|
+
# The name of the user name or group to remove from the Amazon EMR
|
1613
|
+
# Studio. For more information, see [UserName][1] and [DisplayName][2]
|
1614
|
+
# in the *AWS SSO Identity Store API Reference*. Either `IdentityName`
|
1615
|
+
# or `IdentityId` must be specified.
|
1611
1616
|
#
|
1612
1617
|
#
|
1613
1618
|
#
|
1614
|
-
# [1]: https://docs.aws.amazon.com/singlesignon/latest/IdentityStoreAPIReference/API_User.html#singlesignon-Type-User-
|
1619
|
+
# [1]: https://docs.aws.amazon.com/singlesignon/latest/IdentityStoreAPIReference/API_User.html#singlesignon-Type-User-UserName
|
1615
1620
|
# [2]: https://docs.aws.amazon.com/singlesignon/latest/IdentityStoreAPIReference/API_Group.html#singlesignon-Type-Group-DisplayName
|
1616
1621
|
# @return [String]
|
1617
1622
|
#
|
1618
1623
|
# @!attribute [rw] identity_type
|
1619
|
-
# Specifies whether the identity to delete from the
|
1620
|
-
# or a group.
|
1624
|
+
# Specifies whether the identity to delete from the Amazon EMR Studio
|
1625
|
+
# is a user or a group.
|
1621
1626
|
# @return [String]
|
1622
1627
|
#
|
1623
1628
|
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/DeleteStudioSessionMappingInput AWS API Documentation
|
@@ -2258,7 +2263,7 @@ module Aws::EMR
|
|
2258
2263
|
#
|
2259
2264
|
#
|
2260
2265
|
#
|
2261
|
-
# [1]: https://docs.aws.amazon.com/singlesignon/latest/IdentityStoreAPIReference/API_User.html#singlesignon-Type-User-
|
2266
|
+
# [1]: https://docs.aws.amazon.com/singlesignon/latest/IdentityStoreAPIReference/API_User.html#singlesignon-Type-User-UserName
|
2262
2267
|
# [2]: https://docs.aws.amazon.com/singlesignon/latest/IdentityStoreAPIReference/API_Group.html#singlesignon-Type-Group-DisplayName
|
2263
2268
|
# @return [String]
|
2264
2269
|
#
|
@@ -2311,7 +2316,7 @@ module Aws::EMR
|
|
2311
2316
|
#
|
2312
2317
|
# @!attribute [rw] properties
|
2313
2318
|
# A list of Java properties that are set when the step runs. You can
|
2314
|
-
# use these properties to pass key
|
2319
|
+
# use these properties to pass key-value pairs to your main function.
|
2315
2320
|
# @return [Array<Types::KeyValue>]
|
2316
2321
|
#
|
2317
2322
|
# @!attribute [rw] jar
|
@@ -2502,8 +2507,8 @@ module Aws::EMR
|
|
2502
2507
|
#
|
2503
2508
|
# @!attribute [rw] target_spot_capacity
|
2504
2509
|
# The target capacity of Spot units for the instance fleet, which
|
2505
|
-
# determines how many Spot
|
2506
|
-
# fleet launches, Amazon EMR tries to provision Spot
|
2510
|
+
# determines how many Spot Instances to provision. When the instance
|
2511
|
+
# fleet launches, Amazon EMR tries to provision Spot Instances as
|
2507
2512
|
# specified by InstanceTypeConfig. Each instance configuration has a
|
2508
2513
|
# specified `WeightedCapacity`. When a Spot instance is provisioned,
|
2509
2514
|
# the `WeightedCapacity` units count toward the target capacity.
|
@@ -2516,7 +2521,7 @@ module Aws::EMR
|
|
2516
2521
|
# determine the Spot capacity units that have been provisioned for the
|
2517
2522
|
# instance fleet.
|
2518
2523
|
#
|
2519
|
-
# <note markdown="1"> If not specified or set to 0, only On-Demand
|
2524
|
+
# <note markdown="1"> If not specified or set to 0, only On-Demand Instances are
|
2520
2525
|
# provisioned for the instance fleet. At least one of
|
2521
2526
|
# `TargetSpotCapacity` and `TargetOnDemandCapacity` should be greater
|
2522
2527
|
# than 0. For a master instance fleet, only one of
|
@@ -2622,6 +2627,11 @@ module Aws::EMR
|
|
2622
2627
|
# },
|
2623
2628
|
# on_demand_specification: {
|
2624
2629
|
# allocation_strategy: "lowest-price", # required, accepts lowest-price
|
2630
|
+
# capacity_reservation_options: {
|
2631
|
+
# usage_strategy: "use-capacity-reservations-first", # accepts use-capacity-reservations-first
|
2632
|
+
# capacity_reservation_preference: "open", # accepts open, none
|
2633
|
+
# capacity_reservation_resource_group_arn: "XmlStringMaxLen256",
|
2634
|
+
# },
|
2625
2635
|
# },
|
2626
2636
|
# },
|
2627
2637
|
# }
|
@@ -2632,7 +2642,7 @@ module Aws::EMR
|
|
2632
2642
|
#
|
2633
2643
|
# @!attribute [rw] instance_fleet_type
|
2634
2644
|
# The node type that the instance fleet hosts. Valid values are
|
2635
|
-
# MASTER,CORE,and TASK.
|
2645
|
+
# MASTER, CORE, and TASK.
|
2636
2646
|
# @return [String]
|
2637
2647
|
#
|
2638
2648
|
# @!attribute [rw] target_on_demand_capacity
|
@@ -2768,6 +2778,11 @@ module Aws::EMR
|
|
2768
2778
|
# },
|
2769
2779
|
# on_demand_specification: {
|
2770
2780
|
# allocation_strategy: "lowest-price", # required, accepts lowest-price
|
2781
|
+
# capacity_reservation_options: {
|
2782
|
+
# usage_strategy: "use-capacity-reservations-first", # accepts use-capacity-reservations-first
|
2783
|
+
# capacity_reservation_preference: "open", # accepts open, none
|
2784
|
+
# capacity_reservation_resource_group_arn: "XmlStringMaxLen256",
|
2785
|
+
# },
|
2771
2786
|
# },
|
2772
2787
|
# }
|
2773
2788
|
#
|
@@ -2928,10 +2943,10 @@ module Aws::EMR
|
|
2928
2943
|
# @return [String]
|
2929
2944
|
#
|
2930
2945
|
# @!attribute [rw] bid_price
|
2931
|
-
#
|
2932
|
-
#
|
2933
|
-
# `
|
2934
|
-
#
|
2946
|
+
# If specified, indicates that the instance group uses Spot Instances.
|
2947
|
+
# This is the maximum price you are willing to pay for Spot Instances.
|
2948
|
+
# Specify `OnDemandPrice` to set the amount equal to the On-Demand
|
2949
|
+
# price, or specify an amount in USD.
|
2935
2950
|
# @return [String]
|
2936
2951
|
#
|
2937
2952
|
# @!attribute [rw] instance_type
|
@@ -3110,10 +3125,10 @@ module Aws::EMR
|
|
3110
3125
|
# @return [String]
|
3111
3126
|
#
|
3112
3127
|
# @!attribute [rw] bid_price
|
3113
|
-
#
|
3114
|
-
#
|
3115
|
-
# `
|
3116
|
-
#
|
3128
|
+
# If specified, indicates that the instance group uses Spot Instances.
|
3129
|
+
# This is the maximum price you are willing to pay for Spot Instances.
|
3130
|
+
# Specify `OnDemandPrice` to set the amount equal to the On-Demand
|
3131
|
+
# price, or specify an amount in USD.
|
3117
3132
|
# @return [String]
|
3118
3133
|
#
|
3119
3134
|
# @!attribute [rw] instance_type
|
@@ -3182,10 +3197,10 @@ module Aws::EMR
|
|
3182
3197
|
# @return [String]
|
3183
3198
|
#
|
3184
3199
|
# @!attribute [rw] bid_price
|
3185
|
-
#
|
3186
|
-
#
|
3187
|
-
# `
|
3188
|
-
#
|
3200
|
+
# If specified, indicates that the instance group uses Spot Instances.
|
3201
|
+
# This is the maximum price you are willing to pay for Spot Instances.
|
3202
|
+
# Specify `OnDemandPrice` to set the amount equal to the On-Demand
|
3203
|
+
# price, or specify an amount in USD.
|
3189
3204
|
# @return [String]
|
3190
3205
|
#
|
3191
3206
|
# @!attribute [rw] instance_type
|
@@ -3645,8 +3660,8 @@ module Aws::EMR
|
|
3645
3660
|
#
|
3646
3661
|
class InternalServerError < Aws::EmptyStructure; end
|
3647
3662
|
|
3648
|
-
# This exception occurs when there is an internal failure in the
|
3649
|
-
# service.
|
3663
|
+
# This exception occurs when there is an internal failure in the Amazon
|
3664
|
+
# EMR service.
|
3650
3665
|
#
|
3651
3666
|
# @!attribute [rw] message
|
3652
3667
|
# The message associated with the exception.
|
@@ -3968,6 +3983,11 @@ module Aws::EMR
|
|
3968
3983
|
# },
|
3969
3984
|
# on_demand_specification: {
|
3970
3985
|
# allocation_strategy: "lowest-price", # required, accepts lowest-price
|
3986
|
+
# capacity_reservation_options: {
|
3987
|
+
# usage_strategy: "use-capacity-reservations-first", # accepts use-capacity-reservations-first
|
3988
|
+
# capacity_reservation_preference: "open", # accepts open, none
|
3989
|
+
# capacity_reservation_resource_group_arn: "XmlStringMaxLen256",
|
3990
|
+
# },
|
3971
3991
|
# },
|
3972
3992
|
# },
|
3973
3993
|
# },
|
@@ -4806,7 +4826,7 @@ module Aws::EMR
|
|
4806
4826
|
# @!attribute [rw] session_mappings
|
4807
4827
|
# A list of session mapping summary objects. Each object includes
|
4808
4828
|
# session mapping details such as creation time, identity type (user
|
4809
|
-
# or group), and Studio ID.
|
4829
|
+
# or group), and Amazon EMR Studio ID.
|
4810
4830
|
# @return [Array<Types::SessionMappingSummary>]
|
4811
4831
|
#
|
4812
4832
|
# @!attribute [rw] marker
|
@@ -4938,7 +4958,7 @@ module Aws::EMR
|
|
4938
4958
|
#
|
4939
4959
|
# @!attribute [rw] step_concurrency_level
|
4940
4960
|
# The number of steps that can be executed concurrently. You can
|
4941
|
-
# specify a maximum of 256 steps.
|
4961
|
+
# specify a minimum of 1 step and a maximum of 256 steps.
|
4942
4962
|
# @return [Integer]
|
4943
4963
|
#
|
4944
4964
|
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/ModifyClusterInput AWS API Documentation
|
@@ -5228,6 +5248,63 @@ module Aws::EMR
|
|
5228
5248
|
include Aws::Structure
|
5229
5249
|
end
|
5230
5250
|
|
5251
|
+
# Describes the strategy for using unused Capacity Reservations for
|
5252
|
+
# fulfilling On-Demand capacity.
|
5253
|
+
#
|
5254
|
+
# @note When making an API call, you may pass OnDemandCapacityReservationOptions
|
5255
|
+
# data as a hash:
|
5256
|
+
#
|
5257
|
+
# {
|
5258
|
+
# usage_strategy: "use-capacity-reservations-first", # accepts use-capacity-reservations-first
|
5259
|
+
# capacity_reservation_preference: "open", # accepts open, none
|
5260
|
+
# capacity_reservation_resource_group_arn: "XmlStringMaxLen256",
|
5261
|
+
# }
|
5262
|
+
#
|
5263
|
+
# @!attribute [rw] usage_strategy
|
5264
|
+
# Indicates whether to use unused Capacity Reservations for fulfilling
|
5265
|
+
# On-Demand capacity.
|
5266
|
+
#
|
5267
|
+
# If you specify `use-capacity-reservations-first`, the fleet uses
|
5268
|
+
# unused Capacity Reservations to fulfill On-Demand capacity up to the
|
5269
|
+
# target On-Demand capacity. If multiple instance pools have unused
|
5270
|
+
# Capacity Reservations, the On-Demand allocation strategy
|
5271
|
+
# (`lowest-price`) is applied. If the number of unused Capacity
|
5272
|
+
# Reservations is less than the On-Demand target capacity, the
|
5273
|
+
# remaining On-Demand target capacity is launched according to the
|
5274
|
+
# On-Demand allocation strategy (`lowest-price`).
|
5275
|
+
#
|
5276
|
+
# If you do not specify a value, the fleet fulfils the On-Demand
|
5277
|
+
# capacity according to the chosen On-Demand allocation strategy.
|
5278
|
+
# @return [String]
|
5279
|
+
#
|
5280
|
+
# @!attribute [rw] capacity_reservation_preference
|
5281
|
+
# Indicates the instance's Capacity Reservation preferences. Possible
|
5282
|
+
# preferences include:
|
5283
|
+
#
|
5284
|
+
# * `open` - The instance can run in any open Capacity Reservation
|
5285
|
+
# that has matching attributes (instance type, platform,
|
5286
|
+
# Availability Zone).
|
5287
|
+
#
|
5288
|
+
# * `none` - The instance avoids running in a Capacity Reservation
|
5289
|
+
# even if one is available. The instance runs as an On-Demand
|
5290
|
+
# Instance.
|
5291
|
+
# @return [String]
|
5292
|
+
#
|
5293
|
+
# @!attribute [rw] capacity_reservation_resource_group_arn
|
5294
|
+
# The ARN of the Capacity Reservation resource group in which to run
|
5295
|
+
# the instance.
|
5296
|
+
# @return [String]
|
5297
|
+
#
|
5298
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/OnDemandCapacityReservationOptions AWS API Documentation
|
5299
|
+
#
|
5300
|
+
class OnDemandCapacityReservationOptions < Struct.new(
|
5301
|
+
:usage_strategy,
|
5302
|
+
:capacity_reservation_preference,
|
5303
|
+
:capacity_reservation_resource_group_arn)
|
5304
|
+
SENSITIVE = []
|
5305
|
+
include Aws::Structure
|
5306
|
+
end
|
5307
|
+
|
5231
5308
|
# The launch specification for On-Demand Instances in the instance
|
5232
5309
|
# fleet, which determines the allocation strategy.
|
5233
5310
|
#
|
@@ -5243,18 +5320,29 @@ module Aws::EMR
|
|
5243
5320
|
#
|
5244
5321
|
# {
|
5245
5322
|
# allocation_strategy: "lowest-price", # required, accepts lowest-price
|
5323
|
+
# capacity_reservation_options: {
|
5324
|
+
# usage_strategy: "use-capacity-reservations-first", # accepts use-capacity-reservations-first
|
5325
|
+
# capacity_reservation_preference: "open", # accepts open, none
|
5326
|
+
# capacity_reservation_resource_group_arn: "XmlStringMaxLen256",
|
5327
|
+
# },
|
5246
5328
|
# }
|
5247
5329
|
#
|
5248
5330
|
# @!attribute [rw] allocation_strategy
|
5249
|
-
# Specifies the strategy to use in launching On-Demand
|
5250
|
-
# fleets. Currently, the only option is lowest-price (the default),
|
5331
|
+
# Specifies the strategy to use in launching On-Demand instance
|
5332
|
+
# fleets. Currently, the only option is `lowest-price` (the default),
|
5251
5333
|
# which launches the lowest price first.
|
5252
5334
|
# @return [String]
|
5253
5335
|
#
|
5336
|
+
# @!attribute [rw] capacity_reservation_options
|
5337
|
+
# The launch specification for On-Demand instances in the instance
|
5338
|
+
# fleet, which determines the allocation strategy.
|
5339
|
+
# @return [Types::OnDemandCapacityReservationOptions]
|
5340
|
+
#
|
5254
5341
|
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/OnDemandProvisioningSpecification AWS API Documentation
|
5255
5342
|
#
|
5256
5343
|
class OnDemandProvisioningSpecification < Struct.new(
|
5257
|
-
:allocation_strategy
|
5344
|
+
:allocation_strategy,
|
5345
|
+
:capacity_reservation_options)
|
5258
5346
|
SENSITIVE = []
|
5259
5347
|
include Aws::Structure
|
5260
5348
|
end
|
@@ -5449,7 +5537,7 @@ module Aws::EMR
|
|
5449
5537
|
# @return [Types::AutoScalingPolicyDescription]
|
5450
5538
|
#
|
5451
5539
|
# @!attribute [rw] cluster_arn
|
5452
|
-
# The Amazon Resource Name of the cluster.
|
5540
|
+
# The Amazon Resource Name (ARN) of the cluster.
|
5453
5541
|
# @return [String]
|
5454
5542
|
#
|
5455
5543
|
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/PutAutoScalingPolicyOutput AWS API Documentation
|
@@ -5775,6 +5863,11 @@ module Aws::EMR
|
|
5775
5863
|
# },
|
5776
5864
|
# on_demand_specification: {
|
5777
5865
|
# allocation_strategy: "lowest-price", # required, accepts lowest-price
|
5866
|
+
# capacity_reservation_options: {
|
5867
|
+
# usage_strategy: "use-capacity-reservations-first", # accepts use-capacity-reservations-first
|
5868
|
+
# capacity_reservation_preference: "open", # accepts open, none
|
5869
|
+
# capacity_reservation_resource_group_arn: "XmlStringMaxLen256",
|
5870
|
+
# },
|
5778
5871
|
# },
|
5779
5872
|
# },
|
5780
5873
|
# },
|
@@ -5986,7 +6079,7 @@ module Aws::EMR
|
|
5986
6079
|
#
|
5987
6080
|
# * "mapr-m7" - launch the cluster using MapR M7 Edition.
|
5988
6081
|
#
|
5989
|
-
# * "hunk" - launch the cluster with the Hunk Big Data
|
6082
|
+
# * "hunk" - launch the cluster with the Hunk Big Data Analytics
|
5990
6083
|
# Platform.
|
5991
6084
|
#
|
5992
6085
|
# * "hue"- launch the cluster with Hue installed.
|
@@ -6168,11 +6261,11 @@ module Aws::EMR
|
|
6168
6261
|
# The result of the RunJobFlow operation.
|
6169
6262
|
#
|
6170
6263
|
# @!attribute [rw] job_flow_id
|
6171
|
-
#
|
6264
|
+
# A unique identifier for the job flow.
|
6172
6265
|
# @return [String]
|
6173
6266
|
#
|
6174
6267
|
# @!attribute [rw] cluster_arn
|
6175
|
-
# The Amazon Resource Name of the cluster.
|
6268
|
+
# The Amazon Resource Name (ARN) of the cluster.
|
6176
6269
|
# @return [String]
|
6177
6270
|
#
|
6178
6271
|
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/RunJobFlowOutput AWS API Documentation
|
@@ -6425,13 +6518,13 @@ module Aws::EMR
|
|
6425
6518
|
#
|
6426
6519
|
#
|
6427
6520
|
#
|
6428
|
-
# [1]: https://docs.aws.amazon.com/singlesignon/latest/IdentityStoreAPIReference/API_User.html#singlesignon-Type-User-
|
6521
|
+
# [1]: https://docs.aws.amazon.com/singlesignon/latest/IdentityStoreAPIReference/API_User.html#singlesignon-Type-User-UserName
|
6429
6522
|
# [2]: https://docs.aws.amazon.com/singlesignon/latest/IdentityStoreAPIReference/API_Group.html#singlesignon-Type-Group-DisplayName
|
6430
6523
|
# @return [String]
|
6431
6524
|
#
|
6432
6525
|
# @!attribute [rw] identity_type
|
6433
|
-
# Specifies whether the identity mapped to the Studio is a
|
6434
|
-
# group.
|
6526
|
+
# Specifies whether the identity mapped to the Amazon EMR Studio is a
|
6527
|
+
# user or a group.
|
6435
6528
|
# @return [String]
|
6436
6529
|
#
|
6437
6530
|
# @!attribute [rw] session_policy_arn
|
@@ -6480,13 +6573,13 @@ module Aws::EMR
|
|
6480
6573
|
#
|
6481
6574
|
#
|
6482
6575
|
#
|
6483
|
-
# [1]: https://docs.aws.amazon.com/singlesignon/latest/IdentityStoreAPIReference/API_User.html#singlesignon-Type-User-
|
6576
|
+
# [1]: https://docs.aws.amazon.com/singlesignon/latest/IdentityStoreAPIReference/API_User.html#singlesignon-Type-User-UserName
|
6484
6577
|
# [2]: https://docs.aws.amazon.com/singlesignon/latest/IdentityStoreAPIReference/API_Group.html#singlesignon-Type-Group-DisplayName
|
6485
6578
|
# @return [String]
|
6486
6579
|
#
|
6487
6580
|
# @!attribute [rw] identity_type
|
6488
|
-
# Specifies whether the identity mapped to the Studio is a
|
6489
|
-
# group.
|
6581
|
+
# Specifies whether the identity mapped to the Amazon EMR Studio is a
|
6582
|
+
# user or a group.
|
6490
6583
|
# @return [String]
|
6491
6584
|
#
|
6492
6585
|
# @!attribute [rw] session_policy_arn
|
@@ -6706,7 +6799,7 @@ module Aws::EMR
|
|
6706
6799
|
# The defined duration for Spot Instances (also known as Spot blocks)
|
6707
6800
|
# in minutes. When specified, the Spot Instance does not terminate
|
6708
6801
|
# before the defined duration expires, and defined duration pricing
|
6709
|
-
# for Spot
|
6802
|
+
# for Spot Instances applies. Valid values are 60, 120, 180, 240, 300,
|
6710
6803
|
# or 360. The duration period starts as soon as a Spot Instance
|
6711
6804
|
# receives its instance ID. At the end of the duration, Amazon EC2
|
6712
6805
|
# marks the Spot Instance for termination and provides a Spot Instance
|
@@ -7101,28 +7194,28 @@ module Aws::EMR
|
|
7101
7194
|
# and so on.
|
7102
7195
|
#
|
7103
7196
|
# @!attribute [rw] studio_id
|
7104
|
-
# The ID of the EMR Studio.
|
7197
|
+
# The ID of the Amazon EMR Studio.
|
7105
7198
|
# @return [String]
|
7106
7199
|
#
|
7107
7200
|
# @!attribute [rw] studio_arn
|
7108
|
-
# The Amazon Resource Name (ARN) of the EMR Studio.
|
7201
|
+
# The Amazon Resource Name (ARN) of the Amazon EMR Studio.
|
7109
7202
|
# @return [String]
|
7110
7203
|
#
|
7111
7204
|
# @!attribute [rw] name
|
7112
|
-
# The name of the EMR Studio.
|
7205
|
+
# The name of the Amazon EMR Studio.
|
7113
7206
|
# @return [String]
|
7114
7207
|
#
|
7115
7208
|
# @!attribute [rw] description
|
7116
|
-
# The detailed description of the EMR Studio.
|
7209
|
+
# The detailed description of the Amazon EMR Studio.
|
7117
7210
|
# @return [String]
|
7118
7211
|
#
|
7119
7212
|
# @!attribute [rw] auth_mode
|
7120
|
-
# Specifies whether the Studio authenticates users using
|
7121
|
-
# sign-on (SSO) or IAM.
|
7213
|
+
# Specifies whether the Amazon EMR Studio authenticates users using
|
7214
|
+
# single sign-on (SSO) or IAM.
|
7122
7215
|
# @return [String]
|
7123
7216
|
#
|
7124
7217
|
# @!attribute [rw] vpc_id
|
7125
|
-
# The ID of the VPC associated with the EMR Studio.
|
7218
|
+
# The ID of the VPC associated with the Amazon EMR Studio.
|
7126
7219
|
# @return [String]
|
7127
7220
|
#
|
7128
7221
|
# @!attribute [rw] subnet_ids
|
@@ -7161,8 +7254,8 @@ module Aws::EMR
|
|
7161
7254
|
# @return [Time]
|
7162
7255
|
#
|
7163
7256
|
# @!attribute [rw] default_s3_location
|
7164
|
-
# The
|
7165
|
-
#
|
7257
|
+
# The Amazon S3 location to back up Amazon EMR Studio Workspaces and
|
7258
|
+
# notebook files.
|
7166
7259
|
# @return [String]
|
7167
7260
|
#
|
7168
7261
|
# @!attribute [rw] tags
|
@@ -7209,7 +7302,7 @@ module Aws::EMR
|
|
7209
7302
|
# @return [String]
|
7210
7303
|
#
|
7211
7304
|
# @!attribute [rw] description
|
7212
|
-
# The detailed description of the EMR Studio.
|
7305
|
+
# The detailed description of the Amazon EMR Studio.
|
7213
7306
|
# @return [String]
|
7214
7307
|
#
|
7215
7308
|
# @!attribute [rw] url
|
@@ -7233,7 +7326,7 @@ module Aws::EMR
|
|
7233
7326
|
include Aws::Structure
|
7234
7327
|
end
|
7235
7328
|
|
7236
|
-
# The list of supported product configurations
|
7329
|
+
# The list of supported product configurations that allow user-supplied
|
7237
7330
|
# arguments. EMR accepts these arguments and forwards them to the
|
7238
7331
|
# corresponding installation script as bootstrap action arguments.
|
7239
7332
|
#
|
@@ -7328,6 +7421,54 @@ module Aws::EMR
|
|
7328
7421
|
include Aws::Structure
|
7329
7422
|
end
|
7330
7423
|
|
7424
|
+
# @note When making an API call, you may pass UpdateStudioInput
|
7425
|
+
# data as a hash:
|
7426
|
+
#
|
7427
|
+
# {
|
7428
|
+
# studio_id: "XmlStringMaxLen256", # required
|
7429
|
+
# name: "XmlStringMaxLen256",
|
7430
|
+
# description: "XmlStringMaxLen256",
|
7431
|
+
# subnet_ids: ["String"],
|
7432
|
+
# default_s3_location: "XmlString",
|
7433
|
+
# }
|
7434
|
+
#
|
7435
|
+
# @!attribute [rw] studio_id
|
7436
|
+
# The ID of the Amazon EMR Studio to update.
|
7437
|
+
# @return [String]
|
7438
|
+
#
|
7439
|
+
# @!attribute [rw] name
|
7440
|
+
# A descriptive name for the Amazon EMR Studio.
|
7441
|
+
# @return [String]
|
7442
|
+
#
|
7443
|
+
# @!attribute [rw] description
|
7444
|
+
# A detailed description to assign to the Amazon EMR Studio.
|
7445
|
+
# @return [String]
|
7446
|
+
#
|
7447
|
+
# @!attribute [rw] subnet_ids
|
7448
|
+
# A list of subnet IDs to associate with the Amazon EMR Studio. The
|
7449
|
+
# list can include new subnet IDs, but must also include all of the
|
7450
|
+
# subnet IDs previously associated with the Studio. The list order
|
7451
|
+
# does not matter. A Studio can have a maximum of 5 subnets. The
|
7452
|
+
# subnets must belong to the same VPC as the Studio.
|
7453
|
+
# @return [Array<String>]
|
7454
|
+
#
|
7455
|
+
# @!attribute [rw] default_s3_location
|
7456
|
+
# The Amazon S3 location to back up Workspaces and notebook files for
|
7457
|
+
# the Amazon EMR Studio.
|
7458
|
+
# @return [String]
|
7459
|
+
#
|
7460
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/UpdateStudioInput AWS API Documentation
|
7461
|
+
#
|
7462
|
+
class UpdateStudioInput < Struct.new(
|
7463
|
+
:studio_id,
|
7464
|
+
:name,
|
7465
|
+
:description,
|
7466
|
+
:subnet_ids,
|
7467
|
+
:default_s3_location)
|
7468
|
+
SENSITIVE = []
|
7469
|
+
include Aws::Structure
|
7470
|
+
end
|
7471
|
+
|
7331
7472
|
# @note When making an API call, you may pass UpdateStudioSessionMappingInput
|
7332
7473
|
# data as a hash:
|
7333
7474
|
#
|
@@ -7340,7 +7481,7 @@ module Aws::EMR
|
|
7340
7481
|
# }
|
7341
7482
|
#
|
7342
7483
|
# @!attribute [rw] studio_id
|
7343
|
-
# The ID of the EMR Studio.
|
7484
|
+
# The ID of the Amazon EMR Studio.
|
7344
7485
|
# @return [String]
|
7345
7486
|
#
|
7346
7487
|
# @!attribute [rw] identity_id
|
@@ -7363,7 +7504,7 @@ module Aws::EMR
|
|
7363
7504
|
#
|
7364
7505
|
#
|
7365
7506
|
#
|
7366
|
-
# [1]: https://docs.aws.amazon.com/singlesignon/latest/IdentityStoreAPIReference/API_User.html#singlesignon-Type-User-
|
7507
|
+
# [1]: https://docs.aws.amazon.com/singlesignon/latest/IdentityStoreAPIReference/API_User.html#singlesignon-Type-User-UserName
|
7367
7508
|
# [2]: https://docs.aws.amazon.com/singlesignon/latest/IdentityStoreAPIReference/API_Group.html#singlesignon-Type-Group-DisplayName
|
7368
7509
|
# @return [String]
|
7369
7510
|
#
|