aws-sdk-batch 1.46.0 → 1.47.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 5c6a9011b5e322a31d9711ed061aa4b32c840ede851a7a844ea80c32e219890a
4
- data.tar.gz: 380e04bbccff0d590de3ca7b5bd6f46a782a5f7132c2da889b923d8f662da158
3
+ metadata.gz: a0ca3ab3167d6dc2b5a84553513240962a75f6a9dd895974154332fb2e376eee
4
+ data.tar.gz: b49540fe6e277ee66097d47925ee04c4c925f89c78139224dc27315c405001b9
5
5
  SHA512:
6
- metadata.gz: 80e85ccfb2cd93d0d41904f2c0fac2a80ec4e118cf795779848ab1cff23e74aee79a1d963286e934d24a4c9ce8495e4e75de73f79c48759add57e079d37ccdff
7
- data.tar.gz: d5815bbf0664ba1b92fcecf34cfa1ea91086ed16816fc6d247e1edb0f14a73cf13b38003f9af7c99303736dcddbef5b122496e2145afa81f4137168139f74367
6
+ metadata.gz: 8055bea497e50a9424f0da00bc31fd5d1597c062c58c55ae642e0246a62d8484be12b6c3ec4d6199efbe1587b6a5ad03083a9da989fcce77cd0fc3dab3cf5779
7
+ data.tar.gz: cc551c73c2144967276fffe4ba8d4a83277ffec61edec3cbc3ad214854d163212a4e19b88a885f2155c3bb951ceaf29158b2bd8b940333eee5a1bcd64a33019c
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.47.0 (2021-03-31)
5
+ ------------------
6
+
7
+ * Feature - AWS Batch adds support for Amazon EFS File System
8
+
4
9
  1.46.0 (2021-03-17)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.46.0
1
+ 1.47.0
data/lib/aws-sdk-batch.rb CHANGED
@@ -48,6 +48,6 @@ require_relative 'aws-sdk-batch/customizations'
48
48
  # @!group service
49
49
  module Aws::Batch
50
50
 
51
- GEM_VERSION = '1.46.0'
51
+ GEM_VERSION = '1.47.0'
52
52
 
53
53
  end
@@ -1199,6 +1199,12 @@ module Aws::Batch
1199
1199
  # resp.job_definitions[0].container_properties.volumes #=> Array
1200
1200
  # resp.job_definitions[0].container_properties.volumes[0].host.source_path #=> String
1201
1201
  # resp.job_definitions[0].container_properties.volumes[0].name #=> String
1202
+ # resp.job_definitions[0].container_properties.volumes[0].efs_volume_configuration.file_system_id #=> String
1203
+ # resp.job_definitions[0].container_properties.volumes[0].efs_volume_configuration.root_directory #=> String
1204
+ # resp.job_definitions[0].container_properties.volumes[0].efs_volume_configuration.transit_encryption #=> String, one of "ENABLED", "DISABLED"
1205
+ # resp.job_definitions[0].container_properties.volumes[0].efs_volume_configuration.transit_encryption_port #=> Integer
1206
+ # resp.job_definitions[0].container_properties.volumes[0].efs_volume_configuration.authorization_config.access_point_id #=> String
1207
+ # resp.job_definitions[0].container_properties.volumes[0].efs_volume_configuration.authorization_config.iam #=> String, one of "ENABLED", "DISABLED"
1202
1208
  # resp.job_definitions[0].container_properties.environment #=> Array
1203
1209
  # resp.job_definitions[0].container_properties.environment[0].name #=> String
1204
1210
  # resp.job_definitions[0].container_properties.environment[0].value #=> String
@@ -1257,6 +1263,12 @@ module Aws::Batch
1257
1263
  # resp.job_definitions[0].node_properties.node_range_properties[0].container.volumes #=> Array
1258
1264
  # resp.job_definitions[0].node_properties.node_range_properties[0].container.volumes[0].host.source_path #=> String
1259
1265
  # resp.job_definitions[0].node_properties.node_range_properties[0].container.volumes[0].name #=> String
1266
+ # resp.job_definitions[0].node_properties.node_range_properties[0].container.volumes[0].efs_volume_configuration.file_system_id #=> String
1267
+ # resp.job_definitions[0].node_properties.node_range_properties[0].container.volumes[0].efs_volume_configuration.root_directory #=> String
1268
+ # resp.job_definitions[0].node_properties.node_range_properties[0].container.volumes[0].efs_volume_configuration.transit_encryption #=> String, one of "ENABLED", "DISABLED"
1269
+ # resp.job_definitions[0].node_properties.node_range_properties[0].container.volumes[0].efs_volume_configuration.transit_encryption_port #=> Integer
1270
+ # resp.job_definitions[0].node_properties.node_range_properties[0].container.volumes[0].efs_volume_configuration.authorization_config.access_point_id #=> String
1271
+ # resp.job_definitions[0].node_properties.node_range_properties[0].container.volumes[0].efs_volume_configuration.authorization_config.iam #=> String, one of "ENABLED", "DISABLED"
1260
1272
  # resp.job_definitions[0].node_properties.node_range_properties[0].container.environment #=> Array
1261
1273
  # resp.job_definitions[0].node_properties.node_range_properties[0].container.environment[0].name #=> String
1262
1274
  # resp.job_definitions[0].node_properties.node_range_properties[0].container.environment[0].value #=> String
@@ -1528,6 +1540,12 @@ module Aws::Batch
1528
1540
  # resp.jobs[0].container.volumes #=> Array
1529
1541
  # resp.jobs[0].container.volumes[0].host.source_path #=> String
1530
1542
  # resp.jobs[0].container.volumes[0].name #=> String
1543
+ # resp.jobs[0].container.volumes[0].efs_volume_configuration.file_system_id #=> String
1544
+ # resp.jobs[0].container.volumes[0].efs_volume_configuration.root_directory #=> String
1545
+ # resp.jobs[0].container.volumes[0].efs_volume_configuration.transit_encryption #=> String, one of "ENABLED", "DISABLED"
1546
+ # resp.jobs[0].container.volumes[0].efs_volume_configuration.transit_encryption_port #=> Integer
1547
+ # resp.jobs[0].container.volumes[0].efs_volume_configuration.authorization_config.access_point_id #=> String
1548
+ # resp.jobs[0].container.volumes[0].efs_volume_configuration.authorization_config.iam #=> String, one of "ENABLED", "DISABLED"
1531
1549
  # resp.jobs[0].container.environment #=> Array
1532
1550
  # resp.jobs[0].container.environment[0].name #=> String
1533
1551
  # resp.jobs[0].container.environment[0].value #=> String
@@ -1596,6 +1614,12 @@ module Aws::Batch
1596
1614
  # resp.jobs[0].node_properties.node_range_properties[0].container.volumes #=> Array
1597
1615
  # resp.jobs[0].node_properties.node_range_properties[0].container.volumes[0].host.source_path #=> String
1598
1616
  # resp.jobs[0].node_properties.node_range_properties[0].container.volumes[0].name #=> String
1617
+ # resp.jobs[0].node_properties.node_range_properties[0].container.volumes[0].efs_volume_configuration.file_system_id #=> String
1618
+ # resp.jobs[0].node_properties.node_range_properties[0].container.volumes[0].efs_volume_configuration.root_directory #=> String
1619
+ # resp.jobs[0].node_properties.node_range_properties[0].container.volumes[0].efs_volume_configuration.transit_encryption #=> String, one of "ENABLED", "DISABLED"
1620
+ # resp.jobs[0].node_properties.node_range_properties[0].container.volumes[0].efs_volume_configuration.transit_encryption_port #=> Integer
1621
+ # resp.jobs[0].node_properties.node_range_properties[0].container.volumes[0].efs_volume_configuration.authorization_config.access_point_id #=> String
1622
+ # resp.jobs[0].node_properties.node_range_properties[0].container.volumes[0].efs_volume_configuration.authorization_config.iam #=> String, one of "ENABLED", "DISABLED"
1599
1623
  # resp.jobs[0].node_properties.node_range_properties[0].container.environment #=> Array
1600
1624
  # resp.jobs[0].node_properties.node_range_properties[0].container.environment[0].name #=> String
1601
1625
  # resp.jobs[0].node_properties.node_range_properties[0].container.environment[0].value #=> String
@@ -2031,6 +2055,16 @@ module Aws::Batch
2031
2055
  # source_path: "String",
2032
2056
  # },
2033
2057
  # name: "String",
2058
+ # efs_volume_configuration: {
2059
+ # file_system_id: "String", # required
2060
+ # root_directory: "String",
2061
+ # transit_encryption: "ENABLED", # accepts ENABLED, DISABLED
2062
+ # transit_encryption_port: 1,
2063
+ # authorization_config: {
2064
+ # access_point_id: "String",
2065
+ # iam: "ENABLED", # accepts ENABLED, DISABLED
2066
+ # },
2067
+ # },
2034
2068
  # },
2035
2069
  # ],
2036
2070
  # environment: [
@@ -2127,6 +2161,16 @@ module Aws::Batch
2127
2161
  # source_path: "String",
2128
2162
  # },
2129
2163
  # name: "String",
2164
+ # efs_volume_configuration: {
2165
+ # file_system_id: "String", # required
2166
+ # root_directory: "String",
2167
+ # transit_encryption: "ENABLED", # accepts ENABLED, DISABLED
2168
+ # transit_encryption_port: 1,
2169
+ # authorization_config: {
2170
+ # access_point_id: "String",
2171
+ # iam: "ENABLED", # accepts ENABLED, DISABLED
2172
+ # },
2173
+ # },
2130
2174
  # },
2131
2175
  # ],
2132
2176
  # environment: [
@@ -2663,6 +2707,10 @@ module Aws::Batch
2663
2707
  # information, see [AWS Batch service IAM role][1] in the *AWS Batch
2664
2708
  # User Guide*.
2665
2709
  #
2710
+ # If the compute environment has a service-linked role, it cannot be
2711
+ # changed to use a regular IAM role. If the compute environment has a
2712
+ # regular IAM role, it cannot be changed to use a service-linked role.
2713
+ #
2666
2714
  # If your specified role has a path other than `/`, then you must either
2667
2715
  # specify the full role ARN (this is recommended) or prefix the role
2668
2716
  # name with the path.
@@ -2829,7 +2877,7 @@ module Aws::Batch
2829
2877
  params: params,
2830
2878
  config: config)
2831
2879
  context[:gem_name] = 'aws-sdk-batch'
2832
- context[:gem_version] = '1.46.0'
2880
+ context[:gem_version] = '1.47.0'
2833
2881
  Seahorse::Client::Request.new(handlers, context)
2834
2882
  end
2835
2883
 
@@ -63,6 +63,10 @@ module Aws::Batch
63
63
  DeviceCgroupPermission = Shapes::StringShape.new(name: 'DeviceCgroupPermission')
64
64
  DeviceCgroupPermissions = Shapes::ListShape.new(name: 'DeviceCgroupPermissions')
65
65
  DevicesList = Shapes::ListShape.new(name: 'DevicesList')
66
+ EFSAuthorizationConfig = Shapes::StructureShape.new(name: 'EFSAuthorizationConfig')
67
+ EFSAuthorizationConfigIAM = Shapes::StringShape.new(name: 'EFSAuthorizationConfigIAM')
68
+ EFSTransitEncryption = Shapes::StringShape.new(name: 'EFSTransitEncryption')
69
+ EFSVolumeConfiguration = Shapes::StructureShape.new(name: 'EFSVolumeConfiguration')
66
70
  Ec2Configuration = Shapes::StructureShape.new(name: 'Ec2Configuration')
67
71
  Ec2ConfigurationList = Shapes::ListShape.new(name: 'Ec2ConfigurationList')
68
72
  EnvironmentVariables = Shapes::ListShape.new(name: 'EnvironmentVariables')
@@ -381,6 +385,17 @@ module Aws::Batch
381
385
 
382
386
  DevicesList.member = Shapes::ShapeRef.new(shape: Device)
383
387
 
388
+ EFSAuthorizationConfig.add_member(:access_point_id, Shapes::ShapeRef.new(shape: String, location_name: "accessPointId"))
389
+ EFSAuthorizationConfig.add_member(:iam, Shapes::ShapeRef.new(shape: EFSAuthorizationConfigIAM, location_name: "iam"))
390
+ EFSAuthorizationConfig.struct_class = Types::EFSAuthorizationConfig
391
+
392
+ EFSVolumeConfiguration.add_member(:file_system_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "fileSystemId"))
393
+ EFSVolumeConfiguration.add_member(:root_directory, Shapes::ShapeRef.new(shape: String, location_name: "rootDirectory"))
394
+ EFSVolumeConfiguration.add_member(:transit_encryption, Shapes::ShapeRef.new(shape: EFSTransitEncryption, location_name: "transitEncryption"))
395
+ EFSVolumeConfiguration.add_member(:transit_encryption_port, Shapes::ShapeRef.new(shape: Integer, location_name: "transitEncryptionPort"))
396
+ EFSVolumeConfiguration.add_member(:authorization_config, Shapes::ShapeRef.new(shape: EFSAuthorizationConfig, location_name: "authorizationConfig"))
397
+ EFSVolumeConfiguration.struct_class = Types::EFSVolumeConfiguration
398
+
384
399
  Ec2Configuration.add_member(:image_type, Shapes::ShapeRef.new(shape: ImageType, required: true, location_name: "imageType"))
385
400
  Ec2Configuration.add_member(:image_id_override, Shapes::ShapeRef.new(shape: ImageIdOverride, location_name: "imageIdOverride"))
386
401
  Ec2Configuration.struct_class = Types::Ec2Configuration
@@ -696,6 +711,7 @@ module Aws::Batch
696
711
 
697
712
  Volume.add_member(:host, Shapes::ShapeRef.new(shape: Host, location_name: "host"))
698
713
  Volume.add_member(:name, Shapes::ShapeRef.new(shape: String, location_name: "name"))
714
+ Volume.add_member(:efs_volume_configuration, Shapes::ShapeRef.new(shape: EFSVolumeConfiguration, location_name: "efsVolumeConfiguration"))
699
715
  Volume.struct_class = Types::Volume
700
716
 
701
717
  Volumes.member = Shapes::ShapeRef.new(shape: Volume)
@@ -1231,6 +1231,16 @@ module Aws::Batch
1231
1231
  # source_path: "String",
1232
1232
  # },
1233
1233
  # name: "String",
1234
+ # efs_volume_configuration: {
1235
+ # file_system_id: "String", # required
1236
+ # root_directory: "String",
1237
+ # transit_encryption: "ENABLED", # accepts ENABLED, DISABLED
1238
+ # transit_encryption_port: 1,
1239
+ # authorization_config: {
1240
+ # access_point_id: "String",
1241
+ # iam: "ENABLED", # accepts ENABLED, DISABLED
1242
+ # },
1243
+ # },
1234
1244
  # },
1235
1245
  # ],
1236
1246
  # environment: [
@@ -2328,14 +2338,150 @@ module Aws::Batch
2328
2338
  include Aws::Structure
2329
2339
  end
2330
2340
 
2341
+ # The authorization configuration details for the Amazon EFS file
2342
+ # system.
2343
+ #
2344
+ # @note When making an API call, you may pass EFSAuthorizationConfig
2345
+ # data as a hash:
2346
+ #
2347
+ # {
2348
+ # access_point_id: "String",
2349
+ # iam: "ENABLED", # accepts ENABLED, DISABLED
2350
+ # }
2351
+ #
2352
+ # @!attribute [rw] access_point_id
2353
+ # The Amazon EFS access point ID to use. If an access point is
2354
+ # specified, the root directory value specified in the
2355
+ # `EFSVolumeConfiguration` must either be omitted or set to `/` which
2356
+ # will enforce the path set on the EFS access point. If an access
2357
+ # point is used, transit encryption must be enabled in the
2358
+ # `EFSVolumeConfiguration`. For more information, see [Working with
2359
+ # Amazon EFS Access Points][1] in the *Amazon Elastic File System User
2360
+ # Guide*.
2361
+ #
2362
+ #
2363
+ #
2364
+ # [1]: https://docs.aws.amazon.com/efs/latest/ug/efs-access-points.html
2365
+ # @return [String]
2366
+ #
2367
+ # @!attribute [rw] iam
2368
+ # Whether or not to use the AWS Batch execution IAM role defined in a
2369
+ # job definition when mounting the Amazon EFS file system. If enabled,
2370
+ # transit encryption must be enabled in the `EFSVolumeConfiguration`.
2371
+ # If this parameter is omitted, the default value of `DISABLED` is
2372
+ # used. For more information, see [Using Amazon EFS Access Points][1]
2373
+ # in the *AWS Batch User Guide*. EFS IAM authorization requires that
2374
+ # `TransitEncryption` be `ENABLED` and that a `JobRoleArn` is
2375
+ # specified.
2376
+ #
2377
+ #
2378
+ #
2379
+ # [1]: https://docs.aws.amazon.com/batch/latest/ug/efs-volumes.html#efs-volume-accesspoints
2380
+ # @return [String]
2381
+ #
2382
+ # @see http://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/EFSAuthorizationConfig AWS API Documentation
2383
+ #
2384
+ class EFSAuthorizationConfig < Struct.new(
2385
+ :access_point_id,
2386
+ :iam)
2387
+ SENSITIVE = []
2388
+ include Aws::Structure
2389
+ end
2390
+
2391
+ # This parameter is specified when you are using an Amazon Elastic File
2392
+ # System file system for task storage. For more information, see [Amazon
2393
+ # EFS Volumes][1] in the *AWS Batch User Guide*.
2394
+ #
2395
+ #
2396
+ #
2397
+ # [1]: https://docs.aws.amazon.com/batch/latest/ug/efs-volumes.html
2398
+ #
2399
+ # @note When making an API call, you may pass EFSVolumeConfiguration
2400
+ # data as a hash:
2401
+ #
2402
+ # {
2403
+ # file_system_id: "String", # required
2404
+ # root_directory: "String",
2405
+ # transit_encryption: "ENABLED", # accepts ENABLED, DISABLED
2406
+ # transit_encryption_port: 1,
2407
+ # authorization_config: {
2408
+ # access_point_id: "String",
2409
+ # iam: "ENABLED", # accepts ENABLED, DISABLED
2410
+ # },
2411
+ # }
2412
+ #
2413
+ # @!attribute [rw] file_system_id
2414
+ # The Amazon EFS file system ID to use.
2415
+ # @return [String]
2416
+ #
2417
+ # @!attribute [rw] root_directory
2418
+ # The directory within the Amazon EFS file system to mount as the root
2419
+ # directory inside the host. If this parameter is omitted, the root of
2420
+ # the Amazon EFS volume will be used. Specifying `/` will have the
2421
+ # same effect as omitting this parameter.
2422
+ #
2423
+ # If an EFS access point is specified in the `authorizationConfig`,
2424
+ # the root directory parameter must either be omitted or set to `/`
2425
+ # which will enforce the path set on the Amazon EFS access point.
2426
+ # @return [String]
2427
+ #
2428
+ # @!attribute [rw] transit_encryption
2429
+ # Whether or not to enable encryption for Amazon EFS data in transit
2430
+ # between the Amazon ECS host and the Amazon EFS server. Transit
2431
+ # encryption must be enabled if Amazon EFS IAM authorization is used.
2432
+ # If this parameter is omitted, the default value of `DISABLED` is
2433
+ # used. For more information, see [Encrypting data in transit][1] in
2434
+ # the *Amazon Elastic File System User Guide*.
2435
+ #
2436
+ #
2437
+ #
2438
+ # [1]: https://docs.aws.amazon.com/efs/latest/ug/encryption-in-transit.html
2439
+ # @return [String]
2440
+ #
2441
+ # @!attribute [rw] transit_encryption_port
2442
+ # The port to use when sending encrypted data between the Amazon ECS
2443
+ # host and the Amazon EFS server. If you do not specify a transit
2444
+ # encryption port, it will use the port selection strategy that the
2445
+ # Amazon EFS mount helper uses. For more information, see [EFS Mount
2446
+ # Helper][1] in the *Amazon Elastic File System User Guide*.
2447
+ #
2448
+ #
2449
+ #
2450
+ # [1]: https://docs.aws.amazon.com/efs/latest/ug/efs-mount-helper.html
2451
+ # @return [Integer]
2452
+ #
2453
+ # @!attribute [rw] authorization_config
2454
+ # The authorization configuration details for the Amazon EFS file
2455
+ # system.
2456
+ # @return [Types::EFSAuthorizationConfig]
2457
+ #
2458
+ # @see http://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/EFSVolumeConfiguration AWS API Documentation
2459
+ #
2460
+ class EFSVolumeConfiguration < Struct.new(
2461
+ :file_system_id,
2462
+ :root_directory,
2463
+ :transit_encryption,
2464
+ :transit_encryption_port,
2465
+ :authorization_config)
2466
+ SENSITIVE = []
2467
+ include Aws::Structure
2468
+ end
2469
+
2331
2470
  # Provides information used to select Amazon Machine Images (AMIs) for
2332
- # instances in the compute environment. If the `Ec2Configuration` isn't
2333
- # specified, the default is `ECS_AL1`.
2471
+ # instances in the compute environment. If `Ec2Configuration` isn't
2472
+ # specified, the default is currently `ECS_AL1` ([Amazon Linux][1]) for
2473
+ # non-GPU, non-Graviton instances. Starting on March 31, 2021, this
2474
+ # default will be changing to `ECS_AL2` ([Amazon Linux 2][2]).
2334
2475
  #
2335
2476
  # <note markdown="1"> This object isn't applicable to jobs running on Fargate resources.
2336
2477
  #
2337
2478
  # </note>
2338
2479
  #
2480
+ #
2481
+ #
2482
+ # [1]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-optimized_AMI.html#alami
2483
+ # [2]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-optimized_AMI.html#al2ami
2484
+ #
2339
2485
  # @note When making an API call, you may pass Ec2Configuration
2340
2486
  # data as a hash:
2341
2487
  #
@@ -2347,7 +2493,9 @@ module Aws::Batch
2347
2493
  # @!attribute [rw] image_type
2348
2494
  # The image type to match with the instance type to select an AMI. If
2349
2495
  # the `imageIdOverride` parameter isn't specified, then a recent
2350
- # [Amazon ECS-optimized AMI][1] is used.
2496
+ # [Amazon ECS-optimized AMI][1] (`ECS_AL1`) is used. Starting on March
2497
+ # 31, 2021, this default will be changing to `ECS_AL2` ([Amazon Linux
2498
+ # 2][2]).
2351
2499
  #
2352
2500
  # ECS\_AL2
2353
2501
  #
@@ -3042,6 +3190,14 @@ module Aws::Batch
3042
3190
  # is used. If the value is `$Default`, the default version of the
3043
3191
  # launch template is used.
3044
3192
  #
3193
+ # After the compute environment is created, the launch template
3194
+ # version used will not be changed, even if the `$Default` or
3195
+ # `$Latest` version for the launch template is updated. To use a new
3196
+ # launch template version, create a new compute environment, add the
3197
+ # new compute environment to the existing job queue, remove the old
3198
+ # compute environment from the job queue, and delete the old compute
3199
+ # environment.
3200
+ #
3045
3201
  # Default: `$Default`.
3046
3202
  # @return [String]
3047
3203
  #
@@ -3697,6 +3853,16 @@ module Aws::Batch
3697
3853
  # source_path: "String",
3698
3854
  # },
3699
3855
  # name: "String",
3856
+ # efs_volume_configuration: {
3857
+ # file_system_id: "String", # required
3858
+ # root_directory: "String",
3859
+ # transit_encryption: "ENABLED", # accepts ENABLED, DISABLED
3860
+ # transit_encryption_port: 1,
3861
+ # authorization_config: {
3862
+ # access_point_id: "String",
3863
+ # iam: "ENABLED", # accepts ENABLED, DISABLED
3864
+ # },
3865
+ # },
3700
3866
  # },
3701
3867
  # ],
3702
3868
  # environment: [
@@ -3901,6 +4067,16 @@ module Aws::Batch
3901
4067
  # source_path: "String",
3902
4068
  # },
3903
4069
  # name: "String",
4070
+ # efs_volume_configuration: {
4071
+ # file_system_id: "String", # required
4072
+ # root_directory: "String",
4073
+ # transit_encryption: "ENABLED", # accepts ENABLED, DISABLED
4074
+ # transit_encryption_port: 1,
4075
+ # authorization_config: {
4076
+ # access_point_id: "String",
4077
+ # iam: "ENABLED", # accepts ENABLED, DISABLED
4078
+ # },
4079
+ # },
3904
4080
  # },
3905
4081
  # ],
3906
4082
  # environment: [
@@ -4028,6 +4204,16 @@ module Aws::Batch
4028
4204
  # source_path: "String",
4029
4205
  # },
4030
4206
  # name: "String",
4207
+ # efs_volume_configuration: {
4208
+ # file_system_id: "String", # required
4209
+ # root_directory: "String",
4210
+ # transit_encryption: "ENABLED", # accepts ENABLED, DISABLED
4211
+ # transit_encryption_port: 1,
4212
+ # authorization_config: {
4213
+ # access_point_id: "String",
4214
+ # iam: "ENABLED", # accepts ENABLED, DISABLED
4215
+ # },
4216
+ # },
4031
4217
  # },
4032
4218
  # ],
4033
4219
  # environment: [
@@ -4124,6 +4310,16 @@ module Aws::Batch
4124
4310
  # source_path: "String",
4125
4311
  # },
4126
4312
  # name: "String",
4313
+ # efs_volume_configuration: {
4314
+ # file_system_id: "String", # required
4315
+ # root_directory: "String",
4316
+ # transit_encryption: "ENABLED", # accepts ENABLED, DISABLED
4317
+ # transit_encryption_port: 1,
4318
+ # authorization_config: {
4319
+ # access_point_id: "String",
4320
+ # iam: "ENABLED", # accepts ENABLED, DISABLED
4321
+ # },
4322
+ # },
4127
4323
  # },
4128
4324
  # ],
4129
4325
  # environment: [
@@ -5112,6 +5308,10 @@ module Aws::Batch
5112
5308
  # information, see [AWS Batch service IAM role][1] in the *AWS Batch
5113
5309
  # User Guide*.
5114
5310
  #
5311
+ # If the compute environment has a service-linked role, it cannot be
5312
+ # changed to use a regular IAM role. If the compute environment has a
5313
+ # regular IAM role, it cannot be changed to use a service-linked role.
5314
+ #
5115
5315
  # If your specified role has a path other than `/`, then you must
5116
5316
  # either specify the full role ARN (this is recommended) or prefix the
5117
5317
  # role name with the path.
@@ -5254,6 +5454,16 @@ module Aws::Batch
5254
5454
  # source_path: "String",
5255
5455
  # },
5256
5456
  # name: "String",
5457
+ # efs_volume_configuration: {
5458
+ # file_system_id: "String", # required
5459
+ # root_directory: "String",
5460
+ # transit_encryption: "ENABLED", # accepts ENABLED, DISABLED
5461
+ # transit_encryption_port: 1,
5462
+ # authorization_config: {
5463
+ # access_point_id: "String",
5464
+ # iam: "ENABLED", # accepts ENABLED, DISABLED
5465
+ # },
5466
+ # },
5257
5467
  # }
5258
5468
  #
5259
5469
  # @!attribute [rw] host
@@ -5277,11 +5487,18 @@ module Aws::Batch
5277
5487
  # `mountPoints`.
5278
5488
  # @return [String]
5279
5489
  #
5490
+ # @!attribute [rw] efs_volume_configuration
5491
+ # This parameter is specified when you are using an Amazon Elastic
5492
+ # File System file system for job storage. Jobs running on Fargate
5493
+ # resources must specify a `platformVersion` of at least `1.4.0`.
5494
+ # @return [Types::EFSVolumeConfiguration]
5495
+ #
5280
5496
  # @see http://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/Volume AWS API Documentation
5281
5497
  #
5282
5498
  class Volume < Struct.new(
5283
5499
  :host,
5284
- :name)
5500
+ :name,
5501
+ :efs_volume_configuration)
5285
5502
  SENSITIVE = []
5286
5503
  include Aws::Structure
5287
5504
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-batch
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.46.0
4
+ version: 1.47.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: 2021-03-17 00:00:00.000000000 Z
11
+ date: 2021-03-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core
@@ -66,8 +66,8 @@ homepage: https://github.com/aws/aws-sdk-ruby
66
66
  licenses:
67
67
  - Apache-2.0
68
68
  metadata:
69
- source_code_uri: https://github.com/aws/aws-sdk-ruby/tree/master/gems/aws-sdk-batch
70
- changelog_uri: https://github.com/aws/aws-sdk-ruby/tree/master/gems/aws-sdk-batch/CHANGELOG.md
69
+ source_code_uri: https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-batch
70
+ changelog_uri: https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-batch/CHANGELOG.md
71
71
  post_install_message:
72
72
  rdoc_options: []
73
73
  require_paths: