aws-sdk-deadline 1.55.0 → 1.56.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: 5321055b95a2665c9862e7c3759f53869b6eb21e309f3d1101ad3c9784fe96b7
4
- data.tar.gz: f1caefd0c78dbe1be868f6470ae42c83d22c068ca9687bdc92e392453bf30d06
3
+ metadata.gz: e2b9cc8cb54f1de82d18b90dcc8bae2cc87f7e0e641c9e580a890e6743e5ea21
4
+ data.tar.gz: 528b448e7fc360791ae99852b9d58eca5f3c59cbab6f57f822019d678f457b38
5
5
  SHA512:
6
- metadata.gz: a7d34bf3823fb17708e9bf45eaa4183ae0e2207d99b95c4f0d3f8bed1dd489728b76ee895c6254b1c1816a899263eaf6a4dc634ebad96733a8a25da84f38b488
7
- data.tar.gz: 5eb8274a8e78e8350001faf32e257b0dc7f71901805b0fa8648560597f420676ef4faf346a9065f19a3e796f21211cacd7674d8d1e2521c63edf5dfebd932d7b
6
+ metadata.gz: e274ac7f2dea4faa72808333463ee9c52c69ecc63d70bdfb74527feed1c36811a4582dafa0626bf4d4be25ddb31f15b053267dd58d346d3e03646441e348c502
7
+ data.tar.gz: 78b5ebc725ce9f87c70966d7c9d6f3c6373771c8dbae5ee873aa566dc81cb7e88adc0c1da1ac28a2bdf1d32d3940fd59875ee001db50591b64e672702116f2b7
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.56.0 (2026-05-28)
5
+ ------------------
6
+
7
+ * Feature - Added support for persistent storage on Service-Managed Fleets, allowing customers to configure persistent storage that preserves data across worker sessions which reduces job startup times for workloads with large software installations or asset caches.
8
+
4
9
  1.55.0 (2026-05-21)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.55.0
1
+ 1.56.0
@@ -2088,6 +2088,13 @@ module Aws::Deadline
2088
2088
  # resource_configuration_arns: ["VpcResourceConfigurationArn"],
2089
2089
  # },
2090
2090
  # storage_profile_id: "StorageProfileId",
2091
+ # persistent_volume_configuration: {
2092
+ # size_gi_b: 1,
2093
+ # iops: 1,
2094
+ # throughput_mi_b: 1,
2095
+ # mount_path: "MountPath", # required
2096
+ # last_used_ttl_hours: 1,
2097
+ # },
2091
2098
  # auto_scaling_configuration: {
2092
2099
  # standby_worker_count: 1,
2093
2100
  # worker_idle_duration_seconds: 1,
@@ -2409,7 +2416,7 @@ module Aws::Deadline
2409
2416
  # authenticates monitor users.
2410
2417
  #
2411
2418
  # @option params [String] :identity_center_region
2412
- # The AWS Region where IAM Identity Center is enabled. Required when IAM
2419
+ # The Region where IAM Identity Center is enabled. Required when IAM
2413
2420
  # Identity Center is in a different Region than the monitor.
2414
2421
  #
2415
2422
  # @option params [required, String] :subdomain
@@ -3173,6 +3180,45 @@ module Aws::Deadline
3173
3180
  req.send_request(options)
3174
3181
  end
3175
3182
 
3183
+ # Deletes a persistent volume.
3184
+ #
3185
+ # @option params [required, String] :farm_id
3186
+ # The farm ID of the farm that contains the fleet.
3187
+ #
3188
+ # @option params [required, String] :fleet_id
3189
+ # The fleet ID of the fleet that contains the volume.
3190
+ #
3191
+ # @option params [required, String] :volume_id
3192
+ # The volume ID of the volume to delete.
3193
+ #
3194
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
3195
+ #
3196
+ #
3197
+ # @example Example: Delete a volume
3198
+ #
3199
+ # resp = client.delete_volume({
3200
+ # farm_id: "farm-1234567890abcdef1234567890abcdef",
3201
+ # fleet_id: "fleet-1234567890abcdef1234567890abcdef",
3202
+ # volume_id: "volume-1234567890abcdef1234567890abcdef",
3203
+ # })
3204
+ #
3205
+ # @example Request syntax with placeholder values
3206
+ #
3207
+ # resp = client.delete_volume({
3208
+ # farm_id: "FarmId", # required
3209
+ # fleet_id: "FleetId", # required
3210
+ # volume_id: "VolumeId", # required
3211
+ # })
3212
+ #
3213
+ # @see http://docs.aws.amazon.com/goto/WebAPI/deadline-2023-10-12/DeleteVolume AWS API Documentation
3214
+ #
3215
+ # @overload delete_volume(params = {})
3216
+ # @param [Hash] params ({})
3217
+ def delete_volume(params = {}, options = {})
3218
+ req = build_request(:delete_volume, params)
3219
+ req.send_request(options)
3220
+ end
3221
+
3176
3222
  # Deletes a worker.
3177
3223
  #
3178
3224
  # @option params [required, String] :farm_id
@@ -3536,6 +3582,11 @@ module Aws::Deadline
3536
3582
  # resp.configuration.service_managed_ec2.vpc_configuration.resource_configuration_arns #=> Array
3537
3583
  # resp.configuration.service_managed_ec2.vpc_configuration.resource_configuration_arns[0] #=> String
3538
3584
  # resp.configuration.service_managed_ec2.storage_profile_id #=> String
3585
+ # resp.configuration.service_managed_ec2.persistent_volume_configuration.size_gi_b #=> Integer
3586
+ # resp.configuration.service_managed_ec2.persistent_volume_configuration.iops #=> Integer
3587
+ # resp.configuration.service_managed_ec2.persistent_volume_configuration.throughput_mi_b #=> Integer
3588
+ # resp.configuration.service_managed_ec2.persistent_volume_configuration.mount_path #=> String
3589
+ # resp.configuration.service_managed_ec2.persistent_volume_configuration.last_used_ttl_hours #=> Integer
3539
3590
  # resp.configuration.service_managed_ec2.auto_scaling_configuration.standby_worker_count #=> Integer
3540
3591
  # resp.configuration.service_managed_ec2.auto_scaling_configuration.worker_idle_duration_seconds #=> Integer
3541
3592
  # resp.configuration.service_managed_ec2.auto_scaling_configuration.scale_out_workers_per_minute #=> Integer
@@ -4590,6 +4641,77 @@ module Aws::Deadline
4590
4641
  req.send_request(options)
4591
4642
  end
4592
4643
 
4644
+ # Gets a persistent volume.
4645
+ #
4646
+ # @option params [required, String] :farm_id
4647
+ # The farm ID of the farm that contains the fleet.
4648
+ #
4649
+ # @option params [required, String] :fleet_id
4650
+ # The fleet ID of the fleet that contains the volume.
4651
+ #
4652
+ # @option params [required, String] :volume_id
4653
+ # The volume ID of the volume to retrieve.
4654
+ #
4655
+ # @return [Types::GetVolumeResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
4656
+ #
4657
+ # * {Types::GetVolumeResponse#volume_id #volume_id} => String
4658
+ # * {Types::GetVolumeResponse#farm_id #farm_id} => String
4659
+ # * {Types::GetVolumeResponse#fleet_id #fleet_id} => String
4660
+ # * {Types::GetVolumeResponse#state #state} => String
4661
+ # * {Types::GetVolumeResponse#size_gi_b #size_gi_b} => Integer
4662
+ # * {Types::GetVolumeResponse#availability_zone_id #availability_zone_id} => String
4663
+ # * {Types::GetVolumeResponse#attached_worker_id #attached_worker_id} => String
4664
+ # * {Types::GetVolumeResponse#volume_type #volume_type} => String
4665
+ # * {Types::GetVolumeResponse#iops #iops} => Integer
4666
+ # * {Types::GetVolumeResponse#throughput_mi_b #throughput_mi_b} => Integer
4667
+ # * {Types::GetVolumeResponse#created_at #created_at} => Time
4668
+ # * {Types::GetVolumeResponse#last_assigned_at #last_assigned_at} => Time
4669
+ # * {Types::GetVolumeResponse#last_released_at #last_released_at} => Time
4670
+ # * {Types::GetVolumeResponse#expires_at #expires_at} => Time
4671
+ #
4672
+ #
4673
+ # @example Example: Get a volume
4674
+ #
4675
+ # resp = client.get_volume({
4676
+ # farm_id: "farm-1234567890abcdef1234567890abcdef",
4677
+ # fleet_id: "fleet-1234567890abcdef1234567890abcdef",
4678
+ # volume_id: "volume-1234567890abcdef1234567890abcdef",
4679
+ # })
4680
+ #
4681
+ # @example Request syntax with placeholder values
4682
+ #
4683
+ # resp = client.get_volume({
4684
+ # farm_id: "FarmId", # required
4685
+ # fleet_id: "FleetId", # required
4686
+ # volume_id: "VolumeId", # required
4687
+ # })
4688
+ #
4689
+ # @example Response structure
4690
+ #
4691
+ # resp.volume_id #=> String
4692
+ # resp.farm_id #=> String
4693
+ # resp.fleet_id #=> String
4694
+ # resp.state #=> String, one of "PENDING_CREATION", "PENDING_ATTACHMENT", "IN_USE", "AVAILABLE", "PENDING_DELETION"
4695
+ # resp.size_gi_b #=> Integer
4696
+ # resp.availability_zone_id #=> String
4697
+ # resp.attached_worker_id #=> String
4698
+ # resp.volume_type #=> String, one of "gp3"
4699
+ # resp.iops #=> Integer
4700
+ # resp.throughput_mi_b #=> Integer
4701
+ # resp.created_at #=> Time
4702
+ # resp.last_assigned_at #=> Time
4703
+ # resp.last_released_at #=> Time
4704
+ # resp.expires_at #=> Time
4705
+ #
4706
+ # @see http://docs.aws.amazon.com/goto/WebAPI/deadline-2023-10-12/GetVolume AWS API Documentation
4707
+ #
4708
+ # @overload get_volume(params = {})
4709
+ # @param [Hash] params ({})
4710
+ def get_volume(params = {}, options = {})
4711
+ req = build_request(:get_volume, params)
4712
+ req.send_request(options)
4713
+ end
4714
+
4593
4715
  # Gets a worker.
4594
4716
  #
4595
4717
  # @option params [required, String] :farm_id
@@ -5015,6 +5137,11 @@ module Aws::Deadline
5015
5137
  # resp.fleets[0].configuration.service_managed_ec2.vpc_configuration.resource_configuration_arns #=> Array
5016
5138
  # resp.fleets[0].configuration.service_managed_ec2.vpc_configuration.resource_configuration_arns[0] #=> String
5017
5139
  # resp.fleets[0].configuration.service_managed_ec2.storage_profile_id #=> String
5140
+ # resp.fleets[0].configuration.service_managed_ec2.persistent_volume_configuration.size_gi_b #=> Integer
5141
+ # resp.fleets[0].configuration.service_managed_ec2.persistent_volume_configuration.iops #=> Integer
5142
+ # resp.fleets[0].configuration.service_managed_ec2.persistent_volume_configuration.throughput_mi_b #=> Integer
5143
+ # resp.fleets[0].configuration.service_managed_ec2.persistent_volume_configuration.mount_path #=> String
5144
+ # resp.fleets[0].configuration.service_managed_ec2.persistent_volume_configuration.last_used_ttl_hours #=> Integer
5018
5145
  # resp.fleets[0].configuration.service_managed_ec2.auto_scaling_configuration.standby_worker_count #=> Integer
5019
5146
  # resp.fleets[0].configuration.service_managed_ec2.auto_scaling_configuration.worker_idle_duration_seconds #=> Integer
5020
5147
  # resp.fleets[0].configuration.service_managed_ec2.auto_scaling_configuration.scale_out_workers_per_minute #=> Integer
@@ -6257,6 +6384,67 @@ module Aws::Deadline
6257
6384
  req.send_request(options)
6258
6385
  end
6259
6386
 
6387
+ # Lists the persistent volumes in a fleet.
6388
+ #
6389
+ # @option params [required, String] :farm_id
6390
+ # The farm ID of the farm that contains the fleet.
6391
+ #
6392
+ # @option params [required, String] :fleet_id
6393
+ # The fleet ID of the fleet that contains the volumes.
6394
+ #
6395
+ # @option params [String] :next_token
6396
+ # The token for the next set of results, or `null` to start from the
6397
+ # beginning.
6398
+ #
6399
+ # @option params [Integer] :max_results
6400
+ # The maximum number of results to return. Use this parameter with
6401
+ # `NextToken` to get results as a set of sequential pages.
6402
+ #
6403
+ # @return [Types::ListVolumesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
6404
+ #
6405
+ # * {Types::ListVolumesResponse#volumes #volumes} => Array<Types::VolumeSummary>
6406
+ # * {Types::ListVolumesResponse#next_token #next_token} => String
6407
+ #
6408
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
6409
+ #
6410
+ #
6411
+ # @example Example: List volumes for a fleet
6412
+ #
6413
+ # resp = client.list_volumes({
6414
+ # farm_id: "farm-1234567890abcdef1234567890abcdef",
6415
+ # fleet_id: "fleet-1234567890abcdef1234567890abcdef",
6416
+ # })
6417
+ #
6418
+ # @example Request syntax with placeholder values
6419
+ #
6420
+ # resp = client.list_volumes({
6421
+ # farm_id: "FarmId", # required
6422
+ # fleet_id: "FleetId", # required
6423
+ # next_token: "NextToken",
6424
+ # max_results: 1,
6425
+ # })
6426
+ #
6427
+ # @example Response structure
6428
+ #
6429
+ # resp.volumes #=> Array
6430
+ # resp.volumes[0].volume_id #=> String
6431
+ # resp.volumes[0].farm_id #=> String
6432
+ # resp.volumes[0].fleet_id #=> String
6433
+ # resp.volumes[0].state #=> String, one of "PENDING_CREATION", "PENDING_ATTACHMENT", "IN_USE", "AVAILABLE", "PENDING_DELETION"
6434
+ # resp.volumes[0].size_gi_b #=> Integer
6435
+ # resp.volumes[0].availability_zone_id #=> String
6436
+ # resp.volumes[0].attached_worker_id #=> String
6437
+ # resp.next_token #=> String
6438
+ #
6439
+ # @see http://docs.aws.amazon.com/goto/WebAPI/deadline-2023-10-12/ListVolumes AWS API Documentation
6440
+ #
6441
+ # @overload list_volumes(params = {})
6442
+ # @param [Hash] params ({})
6443
+ def list_volumes(params = {}, options = {})
6444
+ req = build_request(:list_volumes, params)
6445
+ req.send_request(options)
6446
+ end
6447
+
6260
6448
  # Lists workers.
6261
6449
  #
6262
6450
  # @option params [required, String] :farm_id
@@ -7261,6 +7449,13 @@ module Aws::Deadline
7261
7449
  # resource_configuration_arns: ["VpcResourceConfigurationArn"],
7262
7450
  # },
7263
7451
  # storage_profile_id: "StorageProfileId",
7452
+ # persistent_volume_configuration: {
7453
+ # size_gi_b: 1,
7454
+ # iops: 1,
7455
+ # throughput_mi_b: 1,
7456
+ # mount_path: "MountPath", # required
7457
+ # last_used_ttl_hours: 1,
7458
+ # },
7264
7459
  # auto_scaling_configuration: {
7265
7460
  # standby_worker_count: 1,
7266
7461
  # worker_idle_duration_seconds: 1,
@@ -8147,7 +8342,7 @@ module Aws::Deadline
8147
8342
  tracer: tracer
8148
8343
  )
8149
8344
  context[:gem_name] = 'aws-sdk-deadline'
8150
- context[:gem_version] = '1.55.0'
8345
+ context[:gem_version] = '1.56.0'
8151
8346
  Seahorse::Client::Request.new(handlers, context)
8152
8347
  end
8153
8348
 
@@ -225,6 +225,8 @@ module Aws::Deadline
225
225
  DeleteQueueResponse = Shapes::StructureShape.new(name: 'DeleteQueueResponse')
226
226
  DeleteStorageProfileRequest = Shapes::StructureShape.new(name: 'DeleteStorageProfileRequest')
227
227
  DeleteStorageProfileResponse = Shapes::StructureShape.new(name: 'DeleteStorageProfileResponse')
228
+ DeleteVolumeRequest = Shapes::StructureShape.new(name: 'DeleteVolumeRequest')
229
+ DeleteVolumeResponse = Shapes::StructureShape.new(name: 'DeleteVolumeResponse')
228
230
  DeleteWorkerRequest = Shapes::StructureShape.new(name: 'DeleteWorkerRequest')
229
231
  DeleteWorkerResponse = Shapes::StructureShape.new(name: 'DeleteWorkerResponse')
230
232
  DependenciesList = Shapes::ListShape.new(name: 'DependenciesList')
@@ -245,6 +247,7 @@ module Aws::Deadline
245
247
  Double = Shapes::FloatShape.new(name: 'Double')
246
248
  EbsIops = Shapes::IntegerShape.new(name: 'EbsIops')
247
249
  EbsThroughputMiB = Shapes::IntegerShape.new(name: 'EbsThroughputMiB')
250
+ EbsVolumeType = Shapes::StringShape.new(name: 'EbsVolumeType')
248
251
  Ec2EbsVolume = Shapes::StructureShape.new(name: 'Ec2EbsVolume')
249
252
  Ec2MarketType = Shapes::StringShape.new(name: 'Ec2MarketType')
250
253
  EndedAt = Shapes::TimestampShape.new(name: 'EndedAt', timestampFormat: "iso8601")
@@ -327,6 +330,8 @@ module Aws::Deadline
327
330
  GetStorageProfileResponse = Shapes::StructureShape.new(name: 'GetStorageProfileResponse')
328
331
  GetTaskRequest = Shapes::StructureShape.new(name: 'GetTaskRequest')
329
332
  GetTaskResponse = Shapes::StructureShape.new(name: 'GetTaskResponse')
333
+ GetVolumeRequest = Shapes::StructureShape.new(name: 'GetVolumeRequest')
334
+ GetVolumeResponse = Shapes::StructureShape.new(name: 'GetVolumeResponse')
330
335
  GetWorkerRequest = Shapes::StructureShape.new(name: 'GetWorkerRequest')
331
336
  GetWorkerResponse = Shapes::StructureShape.new(name: 'GetWorkerResponse')
332
337
  HostConfiguration = Shapes::StructureShape.new(name: 'HostConfiguration')
@@ -452,6 +457,8 @@ module Aws::Deadline
452
457
  ListTagsForResourceResponse = Shapes::StructureShape.new(name: 'ListTagsForResourceResponse')
453
458
  ListTasksRequest = Shapes::StructureShape.new(name: 'ListTasksRequest')
454
459
  ListTasksResponse = Shapes::StructureShape.new(name: 'ListTasksResponse')
460
+ ListVolumesRequest = Shapes::StructureShape.new(name: 'ListVolumesRequest')
461
+ ListVolumesResponse = Shapes::StructureShape.new(name: 'ListVolumesResponse')
455
462
  ListWorkersRequest = Shapes::StructureShape.new(name: 'ListWorkersRequest')
456
463
  ListWorkersResponse = Shapes::StructureShape.new(name: 'ListWorkersResponse')
457
464
  LogConfiguration = Shapes::StructureShape.new(name: 'LogConfiguration')
@@ -482,6 +489,7 @@ module Aws::Deadline
482
489
  MonitorId = Shapes::StringShape.new(name: 'MonitorId')
483
490
  MonitorSummaries = Shapes::ListShape.new(name: 'MonitorSummaries')
484
491
  MonitorSummary = Shapes::StructureShape.new(name: 'MonitorSummary')
492
+ MountPath = Shapes::StringShape.new(name: 'MountPath')
485
493
  NextItemOffset = Shapes::IntegerShape.new(name: 'NextItemOffset')
486
494
  NextToken = Shapes::StringShape.new(name: 'NextToken')
487
495
  OutputRelativeDirectoriesList = Shapes::ListShape.new(name: 'OutputRelativeDirectoriesList')
@@ -496,6 +504,11 @@ module Aws::Deadline
496
504
  PathMappingRules = Shapes::ListShape.new(name: 'PathMappingRules')
497
505
  PathString = Shapes::StringShape.new(name: 'PathString')
498
506
  Period = Shapes::StringShape.new(name: 'Period')
507
+ PersistentVolumeConfiguration = Shapes::StructureShape.new(name: 'PersistentVolumeConfiguration')
508
+ PersistentVolumeIops = Shapes::IntegerShape.new(name: 'PersistentVolumeIops')
509
+ PersistentVolumeSizeGiB = Shapes::IntegerShape.new(name: 'PersistentVolumeSizeGiB')
510
+ PersistentVolumeThroughputMiB = Shapes::IntegerShape.new(name: 'PersistentVolumeThroughputMiB')
511
+ PersistentVolumeTtlHours = Shapes::IntegerShape.new(name: 'PersistentVolumeTtlHours')
499
512
  PortNumber = Shapes::IntegerShape.new(name: 'PortNumber')
500
513
  PosixUser = Shapes::StructureShape.new(name: 'PosixUser')
501
514
  PosixUserGroupString = Shapes::StringShape.new(name: 'PosixUserGroupString')
@@ -744,6 +757,10 @@ module Aws::Deadline
744
757
  ValidationExceptionField = Shapes::StructureShape.new(name: 'ValidationExceptionField')
745
758
  ValidationExceptionFieldList = Shapes::ListShape.new(name: 'ValidationExceptionFieldList')
746
759
  ValidationExceptionReason = Shapes::StringShape.new(name: 'ValidationExceptionReason')
760
+ VolumeId = Shapes::StringShape.new(name: 'VolumeId')
761
+ VolumeState = Shapes::StringShape.new(name: 'VolumeState')
762
+ VolumeSummaries = Shapes::ListShape.new(name: 'VolumeSummaries')
763
+ VolumeSummary = Shapes::StructureShape.new(name: 'VolumeSummary')
747
764
  VpcConfiguration = Shapes::StructureShape.new(name: 'VpcConfiguration')
748
765
  VpcId = Shapes::StringShape.new(name: 'VpcId')
749
766
  VpcResourceConfigurationArn = Shapes::StringShape.new(name: 'VpcResourceConfigurationArn')
@@ -1598,6 +1615,13 @@ module Aws::Deadline
1598
1615
 
1599
1616
  DeleteStorageProfileResponse.struct_class = Types::DeleteStorageProfileResponse
1600
1617
 
1618
+ DeleteVolumeRequest.add_member(:farm_id, Shapes::ShapeRef.new(shape: FarmId, required: true, location: "uri", location_name: "farmId"))
1619
+ DeleteVolumeRequest.add_member(:fleet_id, Shapes::ShapeRef.new(shape: FleetId, required: true, location: "uri", location_name: "fleetId"))
1620
+ DeleteVolumeRequest.add_member(:volume_id, Shapes::ShapeRef.new(shape: VolumeId, required: true, location: "uri", location_name: "volumeId"))
1621
+ DeleteVolumeRequest.struct_class = Types::DeleteVolumeRequest
1622
+
1623
+ DeleteVolumeResponse.struct_class = Types::DeleteVolumeResponse
1624
+
1601
1625
  DeleteWorkerRequest.add_member(:farm_id, Shapes::ShapeRef.new(shape: FarmId, required: true, location: "uri", location_name: "farmId"))
1602
1626
  DeleteWorkerRequest.add_member(:fleet_id, Shapes::ShapeRef.new(shape: FleetId, required: true, location: "uri", location_name: "fleetId"))
1603
1627
  DeleteWorkerRequest.add_member(:worker_id, Shapes::ShapeRef.new(shape: WorkerId, required: true, location: "uri", location_name: "workerId"))
@@ -2114,6 +2138,27 @@ module Aws::Deadline
2114
2138
  GetTaskResponse.add_member(:parameters, Shapes::ShapeRef.new(shape: TaskParameters, location_name: "parameters"))
2115
2139
  GetTaskResponse.struct_class = Types::GetTaskResponse
2116
2140
 
2141
+ GetVolumeRequest.add_member(:farm_id, Shapes::ShapeRef.new(shape: FarmId, required: true, location: "uri", location_name: "farmId"))
2142
+ GetVolumeRequest.add_member(:fleet_id, Shapes::ShapeRef.new(shape: FleetId, required: true, location: "uri", location_name: "fleetId"))
2143
+ GetVolumeRequest.add_member(:volume_id, Shapes::ShapeRef.new(shape: VolumeId, required: true, location: "uri", location_name: "volumeId"))
2144
+ GetVolumeRequest.struct_class = Types::GetVolumeRequest
2145
+
2146
+ GetVolumeResponse.add_member(:volume_id, Shapes::ShapeRef.new(shape: VolumeId, required: true, location_name: "volumeId"))
2147
+ GetVolumeResponse.add_member(:farm_id, Shapes::ShapeRef.new(shape: FarmId, required: true, location_name: "farmId"))
2148
+ GetVolumeResponse.add_member(:fleet_id, Shapes::ShapeRef.new(shape: FleetId, required: true, location_name: "fleetId"))
2149
+ GetVolumeResponse.add_member(:state, Shapes::ShapeRef.new(shape: VolumeState, required: true, location_name: "state"))
2150
+ GetVolumeResponse.add_member(:size_gi_b, Shapes::ShapeRef.new(shape: PersistentVolumeSizeGiB, required: true, location_name: "sizeGiB"))
2151
+ GetVolumeResponse.add_member(:availability_zone_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "availabilityZoneId"))
2152
+ GetVolumeResponse.add_member(:attached_worker_id, Shapes::ShapeRef.new(shape: WorkerId, location_name: "attachedWorkerId"))
2153
+ GetVolumeResponse.add_member(:volume_type, Shapes::ShapeRef.new(shape: EbsVolumeType, required: true, location_name: "volumeType"))
2154
+ GetVolumeResponse.add_member(:iops, Shapes::ShapeRef.new(shape: PersistentVolumeIops, location_name: "iops"))
2155
+ GetVolumeResponse.add_member(:throughput_mi_b, Shapes::ShapeRef.new(shape: PersistentVolumeThroughputMiB, location_name: "throughputMiB"))
2156
+ GetVolumeResponse.add_member(:created_at, Shapes::ShapeRef.new(shape: CreatedAt, required: true, location_name: "createdAt"))
2157
+ GetVolumeResponse.add_member(:last_assigned_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "lastAssignedAt"))
2158
+ GetVolumeResponse.add_member(:last_released_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "lastReleasedAt"))
2159
+ GetVolumeResponse.add_member(:expires_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "expiresAt"))
2160
+ GetVolumeResponse.struct_class = Types::GetVolumeResponse
2161
+
2117
2162
  GetWorkerRequest.add_member(:farm_id, Shapes::ShapeRef.new(shape: FarmId, required: true, location: "uri", location_name: "farmId"))
2118
2163
  GetWorkerRequest.add_member(:fleet_id, Shapes::ShapeRef.new(shape: FleetId, required: true, location: "uri", location_name: "fleetId"))
2119
2164
  GetWorkerRequest.add_member(:worker_id, Shapes::ShapeRef.new(shape: WorkerId, required: true, location: "uri", location_name: "workerId"))
@@ -2611,6 +2656,16 @@ module Aws::Deadline
2611
2656
  ListTasksResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
2612
2657
  ListTasksResponse.struct_class = Types::ListTasksResponse
2613
2658
 
2659
+ ListVolumesRequest.add_member(:farm_id, Shapes::ShapeRef.new(shape: FarmId, required: true, location: "uri", location_name: "farmId"))
2660
+ ListVolumesRequest.add_member(:fleet_id, Shapes::ShapeRef.new(shape: FleetId, required: true, location: "uri", location_name: "fleetId"))
2661
+ ListVolumesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
2662
+ ListVolumesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
2663
+ ListVolumesRequest.struct_class = Types::ListVolumesRequest
2664
+
2665
+ ListVolumesResponse.add_member(:volumes, Shapes::ShapeRef.new(shape: VolumeSummaries, required: true, location_name: "volumes"))
2666
+ ListVolumesResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
2667
+ ListVolumesResponse.struct_class = Types::ListVolumesResponse
2668
+
2614
2669
  ListWorkersRequest.add_member(:farm_id, Shapes::ShapeRef.new(shape: FarmId, required: true, location: "uri", location_name: "farmId"))
2615
2670
  ListWorkersRequest.add_member(:fleet_id, Shapes::ShapeRef.new(shape: FleetId, required: true, location: "uri", location_name: "fleetId"))
2616
2671
  ListWorkersRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
@@ -2693,6 +2748,13 @@ module Aws::Deadline
2693
2748
 
2694
2749
  PathMappingRules.member = Shapes::ShapeRef.new(shape: PathMappingRule)
2695
2750
 
2751
+ PersistentVolumeConfiguration.add_member(:size_gi_b, Shapes::ShapeRef.new(shape: PersistentVolumeSizeGiB, location_name: "sizeGiB"))
2752
+ PersistentVolumeConfiguration.add_member(:iops, Shapes::ShapeRef.new(shape: PersistentVolumeIops, location_name: "iops"))
2753
+ PersistentVolumeConfiguration.add_member(:throughput_mi_b, Shapes::ShapeRef.new(shape: PersistentVolumeThroughputMiB, location_name: "throughputMiB"))
2754
+ PersistentVolumeConfiguration.add_member(:mount_path, Shapes::ShapeRef.new(shape: MountPath, required: true, location_name: "mountPath"))
2755
+ PersistentVolumeConfiguration.add_member(:last_used_ttl_hours, Shapes::ShapeRef.new(shape: PersistentVolumeTtlHours, location_name: "lastUsedTtlHours"))
2756
+ PersistentVolumeConfiguration.struct_class = Types::PersistentVolumeConfiguration
2757
+
2696
2758
  PosixUser.add_member(:user, Shapes::ShapeRef.new(shape: PosixUserUserString, required: true, location_name: "user"))
2697
2759
  PosixUser.add_member(:group, Shapes::ShapeRef.new(shape: PosixUserGroupString, required: true, location_name: "group"))
2698
2760
  PosixUser.struct_class = Types::PosixUser
@@ -2915,6 +2977,7 @@ module Aws::Deadline
2915
2977
  ServiceManagedEc2FleetConfiguration.add_member(:instance_market_options, Shapes::ShapeRef.new(shape: ServiceManagedEc2InstanceMarketOptions, required: true, location_name: "instanceMarketOptions"))
2916
2978
  ServiceManagedEc2FleetConfiguration.add_member(:vpc_configuration, Shapes::ShapeRef.new(shape: VpcConfiguration, location_name: "vpcConfiguration"))
2917
2979
  ServiceManagedEc2FleetConfiguration.add_member(:storage_profile_id, Shapes::ShapeRef.new(shape: StorageProfileId, location_name: "storageProfileId"))
2980
+ ServiceManagedEc2FleetConfiguration.add_member(:persistent_volume_configuration, Shapes::ShapeRef.new(shape: PersistentVolumeConfiguration, location_name: "persistentVolumeConfiguration"))
2918
2981
  ServiceManagedEc2FleetConfiguration.add_member(:auto_scaling_configuration, Shapes::ShapeRef.new(shape: ServiceManagedEc2AutoScalingConfiguration, location_name: "autoScalingConfiguration"))
2919
2982
  ServiceManagedEc2FleetConfiguration.struct_class = Types::ServiceManagedEc2FleetConfiguration
2920
2983
 
@@ -3496,6 +3559,17 @@ module Aws::Deadline
3496
3559
 
3497
3560
  ValidationExceptionFieldList.member = Shapes::ShapeRef.new(shape: ValidationExceptionField)
3498
3561
 
3562
+ VolumeSummaries.member = Shapes::ShapeRef.new(shape: VolumeSummary)
3563
+
3564
+ VolumeSummary.add_member(:volume_id, Shapes::ShapeRef.new(shape: VolumeId, required: true, location_name: "volumeId"))
3565
+ VolumeSummary.add_member(:farm_id, Shapes::ShapeRef.new(shape: FarmId, required: true, location_name: "farmId"))
3566
+ VolumeSummary.add_member(:fleet_id, Shapes::ShapeRef.new(shape: FleetId, required: true, location_name: "fleetId"))
3567
+ VolumeSummary.add_member(:state, Shapes::ShapeRef.new(shape: VolumeState, required: true, location_name: "state"))
3568
+ VolumeSummary.add_member(:size_gi_b, Shapes::ShapeRef.new(shape: PersistentVolumeSizeGiB, required: true, location_name: "sizeGiB"))
3569
+ VolumeSummary.add_member(:availability_zone_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "availabilityZoneId"))
3570
+ VolumeSummary.add_member(:attached_worker_id, Shapes::ShapeRef.new(shape: WorkerId, location_name: "attachedWorkerId"))
3571
+ VolumeSummary.struct_class = Types::VolumeSummary
3572
+
3499
3573
  VpcConfiguration.add_member(:resource_configuration_arns, Shapes::ShapeRef.new(shape: VpcResourceConfigurationArns, location_name: "resourceConfigurationArns"))
3500
3574
  VpcConfiguration.struct_class = Types::VpcConfiguration
3501
3575
 
@@ -4298,6 +4372,23 @@ module Aws::Deadline
4298
4372
  o.errors << Shapes::ShapeRef.new(shape: ValidationException)
4299
4373
  end)
4300
4374
 
4375
+ api.add_operation(:delete_volume, Seahorse::Model::Operation.new.tap do |o|
4376
+ o.name = "DeleteVolume"
4377
+ o.http_method = "DELETE"
4378
+ o.http_request_uri = "/2023-10-12/farms/{farmId}/fleets/{fleetId}/volumes/{volumeId}"
4379
+ o.endpoint_pattern = {
4380
+ "hostPrefix" => "management.",
4381
+ }
4382
+ o.input = Shapes::ShapeRef.new(shape: DeleteVolumeRequest)
4383
+ o.output = Shapes::ShapeRef.new(shape: DeleteVolumeResponse)
4384
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
4385
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
4386
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
4387
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
4388
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
4389
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
4390
+ end)
4391
+
4301
4392
  api.add_operation(:delete_worker, Seahorse::Model::Operation.new.tap do |o|
4302
4393
  o.name = "DeleteWorker"
4303
4394
  o.http_method = "DELETE"
@@ -4691,6 +4782,22 @@ module Aws::Deadline
4691
4782
  o.errors << Shapes::ShapeRef.new(shape: ValidationException)
4692
4783
  end)
4693
4784
 
4785
+ api.add_operation(:get_volume, Seahorse::Model::Operation.new.tap do |o|
4786
+ o.name = "GetVolume"
4787
+ o.http_method = "GET"
4788
+ o.http_request_uri = "/2023-10-12/farms/{farmId}/fleets/{fleetId}/volumes/{volumeId}"
4789
+ o.endpoint_pattern = {
4790
+ "hostPrefix" => "management.",
4791
+ }
4792
+ o.input = Shapes::ShapeRef.new(shape: GetVolumeRequest)
4793
+ o.output = Shapes::ShapeRef.new(shape: GetVolumeResponse)
4794
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
4795
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
4796
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
4797
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
4798
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
4799
+ end)
4800
+
4694
4801
  api.add_operation(:get_worker, Seahorse::Model::Operation.new.tap do |o|
4695
4802
  o.name = "GetWorker"
4696
4803
  o.http_method = "GET"
@@ -5310,6 +5417,28 @@ module Aws::Deadline
5310
5417
  )
5311
5418
  end)
5312
5419
 
5420
+ api.add_operation(:list_volumes, Seahorse::Model::Operation.new.tap do |o|
5421
+ o.name = "ListVolumes"
5422
+ o.http_method = "GET"
5423
+ o.http_request_uri = "/2023-10-12/farms/{farmId}/fleets/{fleetId}/volumes"
5424
+ o.endpoint_pattern = {
5425
+ "hostPrefix" => "management.",
5426
+ }
5427
+ o.input = Shapes::ShapeRef.new(shape: ListVolumesRequest)
5428
+ o.output = Shapes::ShapeRef.new(shape: ListVolumesResponse)
5429
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
5430
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
5431
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
5432
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
5433
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
5434
+ o[:pager] = Aws::Pager.new(
5435
+ limit_key: "max_results",
5436
+ tokens: {
5437
+ "next_token" => "next_token"
5438
+ }
5439
+ )
5440
+ end)
5441
+
5313
5442
  api.add_operation(:list_workers, Seahorse::Model::Operation.new.tap do |o|
5314
5443
  o.name = "ListWorkers"
5315
5444
  o.http_method = "GET"
@@ -3017,8 +3017,8 @@ module Aws::Deadline
3017
3017
  # @return [String]
3018
3018
  #
3019
3019
  # @!attribute [rw] identity_center_region
3020
- # The AWS Region where IAM Identity Center is enabled. Required when
3021
- # IAM Identity Center is in a different Region than the monitor.
3020
+ # The Region where IAM Identity Center is enabled. Required when IAM
3021
+ # Identity Center is in a different Region than the monitor.
3022
3022
  # @return [String]
3023
3023
  #
3024
3024
  # @!attribute [rw] subdomain
@@ -3804,6 +3804,32 @@ module Aws::Deadline
3804
3804
  #
3805
3805
  class DeleteStorageProfileResponse < Aws::EmptyStructure; end
3806
3806
 
3807
+ # @!attribute [rw] farm_id
3808
+ # The farm ID of the farm that contains the fleet.
3809
+ # @return [String]
3810
+ #
3811
+ # @!attribute [rw] fleet_id
3812
+ # The fleet ID of the fleet that contains the volume.
3813
+ # @return [String]
3814
+ #
3815
+ # @!attribute [rw] volume_id
3816
+ # The volume ID of the volume to delete.
3817
+ # @return [String]
3818
+ #
3819
+ # @see http://docs.aws.amazon.com/goto/WebAPI/deadline-2023-10-12/DeleteVolumeRequest AWS API Documentation
3820
+ #
3821
+ class DeleteVolumeRequest < Struct.new(
3822
+ :farm_id,
3823
+ :fleet_id,
3824
+ :volume_id)
3825
+ SENSITIVE = []
3826
+ include Aws::Structure
3827
+ end
3828
+
3829
+ # @see http://docs.aws.amazon.com/goto/WebAPI/deadline-2023-10-12/DeleteVolumeResponse AWS API Documentation
3830
+ #
3831
+ class DeleteVolumeResponse < Aws::EmptyStructure; end
3832
+
3807
3833
  # @!attribute [rw] farm_id
3808
3834
  # The farm ID of the worker to delete.
3809
3835
  # @return [String]
@@ -5220,7 +5246,7 @@ module Aws::Deadline
5220
5246
  # @return [String]
5221
5247
  #
5222
5248
  # @!attribute [rw] identity_center_region
5223
- # The AWS Region where IAM Identity Center is enabled.
5249
+ # The Region where IAM Identity Center is enabled.
5224
5250
  # @return [String]
5225
5251
  #
5226
5252
  # @!attribute [rw] identity_center_application_arn
@@ -6256,6 +6282,109 @@ module Aws::Deadline
6256
6282
  include Aws::Structure
6257
6283
  end
6258
6284
 
6285
+ # @!attribute [rw] farm_id
6286
+ # The farm ID of the farm that contains the fleet.
6287
+ # @return [String]
6288
+ #
6289
+ # @!attribute [rw] fleet_id
6290
+ # The fleet ID of the fleet that contains the volume.
6291
+ # @return [String]
6292
+ #
6293
+ # @!attribute [rw] volume_id
6294
+ # The volume ID of the volume to retrieve.
6295
+ # @return [String]
6296
+ #
6297
+ # @see http://docs.aws.amazon.com/goto/WebAPI/deadline-2023-10-12/GetVolumeRequest AWS API Documentation
6298
+ #
6299
+ class GetVolumeRequest < Struct.new(
6300
+ :farm_id,
6301
+ :fleet_id,
6302
+ :volume_id)
6303
+ SENSITIVE = []
6304
+ include Aws::Structure
6305
+ end
6306
+
6307
+ # Mixin that adds an optional ARN field to response structures. Apply to
6308
+ # SummaryMixins (flows into Get, Summary, and BatchGet) and Create
6309
+ # outputs.
6310
+ #
6311
+ # @!attribute [rw] volume_id
6312
+ # The volume ID.
6313
+ # @return [String]
6314
+ #
6315
+ # @!attribute [rw] farm_id
6316
+ # The farm ID of the farm that contains the fleet.
6317
+ # @return [String]
6318
+ #
6319
+ # @!attribute [rw] fleet_id
6320
+ # The fleet ID of the fleet that contains the volume.
6321
+ # @return [String]
6322
+ #
6323
+ # @!attribute [rw] state
6324
+ # The state of the volume.
6325
+ # @return [String]
6326
+ #
6327
+ # @!attribute [rw] size_gi_b
6328
+ # The volume size in GiB.
6329
+ # @return [Integer]
6330
+ #
6331
+ # @!attribute [rw] availability_zone_id
6332
+ # The Availability Zone ID of the volume.
6333
+ # @return [String]
6334
+ #
6335
+ # @!attribute [rw] attached_worker_id
6336
+ # The worker ID of the worker the volume is attached to.
6337
+ # @return [String]
6338
+ #
6339
+ # @!attribute [rw] volume_type
6340
+ # The EBS volume type.
6341
+ # @return [String]
6342
+ #
6343
+ # @!attribute [rw] iops
6344
+ # The IOPS of the volume.
6345
+ # @return [Integer]
6346
+ #
6347
+ # @!attribute [rw] throughput_mi_b
6348
+ # The throughput of the volume in MiB.
6349
+ # @return [Integer]
6350
+ #
6351
+ # @!attribute [rw] created_at
6352
+ # The date and time the resource was created.
6353
+ # @return [Time]
6354
+ #
6355
+ # @!attribute [rw] last_assigned_at
6356
+ # The date and time the volume was last assigned to a worker.
6357
+ # @return [Time]
6358
+ #
6359
+ # @!attribute [rw] last_released_at
6360
+ # The date and time the volume was last released from a worker.
6361
+ # @return [Time]
6362
+ #
6363
+ # @!attribute [rw] expires_at
6364
+ # The date and time the volume expires and will be deleted.
6365
+ # @return [Time]
6366
+ #
6367
+ # @see http://docs.aws.amazon.com/goto/WebAPI/deadline-2023-10-12/GetVolumeResponse AWS API Documentation
6368
+ #
6369
+ class GetVolumeResponse < Struct.new(
6370
+ :volume_id,
6371
+ :farm_id,
6372
+ :fleet_id,
6373
+ :state,
6374
+ :size_gi_b,
6375
+ :availability_zone_id,
6376
+ :attached_worker_id,
6377
+ :volume_type,
6378
+ :iops,
6379
+ :throughput_mi_b,
6380
+ :created_at,
6381
+ :last_assigned_at,
6382
+ :last_released_at,
6383
+ :expires_at)
6384
+ SENSITIVE = []
6385
+ include Aws::Structure
6386
+ end
6387
+
6259
6388
  # @!attribute [rw] farm_id
6260
6389
  # The farm ID for the worker.
6261
6390
  # @return [String]
@@ -8830,6 +8959,63 @@ module Aws::Deadline
8830
8959
  include Aws::Structure
8831
8960
  end
8832
8961
 
8962
+ # Shared pagination fields for List operation inputs (nextToken +
8963
+ # maxResults).
8964
+ #
8965
+ # @!attribute [rw] farm_id
8966
+ # The farm ID of the farm that contains the fleet.
8967
+ # @return [String]
8968
+ #
8969
+ # @!attribute [rw] fleet_id
8970
+ # The fleet ID of the fleet that contains the volumes.
8971
+ # @return [String]
8972
+ #
8973
+ # @!attribute [rw] next_token
8974
+ # The token for the next set of results, or `null` to start from the
8975
+ # beginning.
8976
+ # @return [String]
8977
+ #
8978
+ # @!attribute [rw] max_results
8979
+ # The maximum number of results to return. Use this parameter with
8980
+ # `NextToken` to get results as a set of sequential pages.
8981
+ # @return [Integer]
8982
+ #
8983
+ # @see http://docs.aws.amazon.com/goto/WebAPI/deadline-2023-10-12/ListVolumesRequest AWS API Documentation
8984
+ #
8985
+ class ListVolumesRequest < Struct.new(
8986
+ :farm_id,
8987
+ :fleet_id,
8988
+ :next_token,
8989
+ :max_results)
8990
+ SENSITIVE = []
8991
+ include Aws::Structure
8992
+ end
8993
+
8994
+ # Shared pagination field for List operation outputs (nextToken).
8995
+ #
8996
+ # @!attribute [rw] volumes
8997
+ # The volumes on the list.
8998
+ # @return [Array<Types::VolumeSummary>]
8999
+ #
9000
+ # @!attribute [rw] next_token
9001
+ # If Deadline Cloud returns `nextToken`, then there are more results
9002
+ # available. The value of `nextToken` is a unique pagination token for
9003
+ # each page. To retrieve the next page, call the operation again using
9004
+ # the returned token. Keep all other arguments unchanged. If no
9005
+ # results remain, then `nextToken` is set to `null`. Each pagination
9006
+ # token expires after 24 hours. If you provide a token that isn't
9007
+ # valid, then you receive an HTTP 400 `ValidationException` error.
9008
+ # @return [String]
9009
+ #
9010
+ # @see http://docs.aws.amazon.com/goto/WebAPI/deadline-2023-10-12/ListVolumesResponse AWS API Documentation
9011
+ #
9012
+ class ListVolumesResponse < Struct.new(
9013
+ :volumes,
9014
+ :next_token)
9015
+ SENSITIVE = []
9016
+ include Aws::Structure
9017
+ end
9018
+
8833
9019
  # Shared pagination fields for List operation inputs (nextToken +
8834
9020
  # maxResults).
8835
9021
  #
@@ -9038,7 +9224,7 @@ module Aws::Deadline
9038
9224
  # @return [String]
9039
9225
  #
9040
9226
  # @!attribute [rw] identity_center_region
9041
- # The AWS Region where IAM Identity Center is enabled.
9227
+ # The Region where IAM Identity Center is enabled.
9042
9228
  # @return [String]
9043
9229
  #
9044
9230
  # @!attribute [rw] identity_center_application_arn
@@ -9169,6 +9355,43 @@ module Aws::Deadline
9169
9355
  include Aws::Structure
9170
9356
  end
9171
9357
 
9358
+ # Specifies the persistent EBS volume configuration for workers in a
9359
+ # service managed fleet.
9360
+ #
9361
+ # @!attribute [rw] size_gi_b
9362
+ # The persistent volume size in GiB. The default is 250.
9363
+ # @return [Integer]
9364
+ #
9365
+ # @!attribute [rw] iops
9366
+ # The IOPS per persistent volume. The default is 3000.
9367
+ # @return [Integer]
9368
+ #
9369
+ # @!attribute [rw] throughput_mi_b
9370
+ # The throughput per persistent volume in MiB. The default is 125.
9371
+ # @return [Integer]
9372
+ #
9373
+ # @!attribute [rw] mount_path
9374
+ # The file system path where the persistent volume is mounted on the
9375
+ # worker instance.
9376
+ # @return [String]
9377
+ #
9378
+ # @!attribute [rw] last_used_ttl_hours
9379
+ # The number of hours a persistent volume can remain unused before it
9380
+ # is deleted. The default is 168 (7 days).
9381
+ # @return [Integer]
9382
+ #
9383
+ # @see http://docs.aws.amazon.com/goto/WebAPI/deadline-2023-10-12/PersistentVolumeConfiguration AWS API Documentation
9384
+ #
9385
+ class PersistentVolumeConfiguration < Struct.new(
9386
+ :size_gi_b,
9387
+ :iops,
9388
+ :throughput_mi_b,
9389
+ :mount_path,
9390
+ :last_used_ttl_hours)
9391
+ SENSITIVE = []
9392
+ include Aws::Structure
9393
+ end
9394
+
9172
9395
  # The POSIX user.
9173
9396
  #
9174
9397
  # @!attribute [rw] user
@@ -10118,6 +10341,11 @@ module Aws::Deadline
10118
10341
  # The storage profile ID for the service managed EC2 fleet.
10119
10342
  # @return [String]
10120
10343
  #
10344
+ # @!attribute [rw] persistent_volume_configuration
10345
+ # The persistent volume configuration for the service managed EC2
10346
+ # fleet.
10347
+ # @return [Types::PersistentVolumeConfiguration]
10348
+ #
10121
10349
  # @!attribute [rw] auto_scaling_configuration
10122
10350
  # The auto scaling configuration settings for the service managed EC2
10123
10351
  # fleet.
@@ -10130,6 +10358,7 @@ module Aws::Deadline
10130
10358
  :instance_market_options,
10131
10359
  :vpc_configuration,
10132
10360
  :storage_profile_id,
10361
+ :persistent_volume_configuration,
10133
10362
  :auto_scaling_configuration)
10134
10363
  SENSITIVE = []
10135
10364
  include Aws::Structure
@@ -12650,6 +12879,50 @@ module Aws::Deadline
12650
12879
  include Aws::Structure
12651
12880
  end
12652
12881
 
12882
+ # The summary of a persistent volume.
12883
+ #
12884
+ # @!attribute [rw] volume_id
12885
+ # The volume ID.
12886
+ # @return [String]
12887
+ #
12888
+ # @!attribute [rw] farm_id
12889
+ # The farm ID of the farm that contains the fleet.
12890
+ # @return [String]
12891
+ #
12892
+ # @!attribute [rw] fleet_id
12893
+ # The fleet ID of the fleet that contains the volume.
12894
+ # @return [String]
12895
+ #
12896
+ # @!attribute [rw] state
12897
+ # The state of the volume.
12898
+ # @return [String]
12899
+ #
12900
+ # @!attribute [rw] size_gi_b
12901
+ # The volume size in GiB.
12902
+ # @return [Integer]
12903
+ #
12904
+ # @!attribute [rw] availability_zone_id
12905
+ # The Availability Zone ID of the volume.
12906
+ # @return [String]
12907
+ #
12908
+ # @!attribute [rw] attached_worker_id
12909
+ # The worker ID of the worker the volume is attached to.
12910
+ # @return [String]
12911
+ #
12912
+ # @see http://docs.aws.amazon.com/goto/WebAPI/deadline-2023-10-12/VolumeSummary AWS API Documentation
12913
+ #
12914
+ class VolumeSummary < Struct.new(
12915
+ :volume_id,
12916
+ :farm_id,
12917
+ :fleet_id,
12918
+ :state,
12919
+ :size_gi_b,
12920
+ :availability_zone_id,
12921
+ :attached_worker_id)
12922
+ SENSITIVE = []
12923
+ include Aws::Structure
12924
+ end
12925
+
12653
12926
  # The configuration options for a service managed fleet's VPC.
12654
12927
  #
12655
12928
  # @!attribute [rw] resource_configuration_arns
@@ -55,7 +55,7 @@ module Aws::Deadline
55
55
  autoload :EndpointProvider, 'aws-sdk-deadline/endpoint_provider'
56
56
  autoload :Endpoints, 'aws-sdk-deadline/endpoints'
57
57
 
58
- GEM_VERSION = '1.55.0'
58
+ GEM_VERSION = '1.56.0'
59
59
 
60
60
  end
61
61
 
data/sig/client.rbs CHANGED
@@ -770,6 +770,17 @@ module Aws
770
770
  ) -> _DeleteStorageProfileResponseSuccess
771
771
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteStorageProfileResponseSuccess
772
772
 
773
+ interface _DeleteVolumeResponseSuccess
774
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteVolumeResponse]
775
+ end
776
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Deadline/Client.html#delete_volume-instance_method
777
+ def delete_volume: (
778
+ farm_id: ::String,
779
+ fleet_id: ::String,
780
+ volume_id: ::String
781
+ ) -> _DeleteVolumeResponseSuccess
782
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteVolumeResponseSuccess
783
+
773
784
  interface _DeleteWorkerResponseSuccess
774
785
  include ::Seahorse::Client::_ResponseSuccess[Types::DeleteWorkerResponse]
775
786
  end
@@ -1233,6 +1244,31 @@ module Aws
1233
1244
  ) -> _GetTaskResponseSuccess
1234
1245
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetTaskResponseSuccess
1235
1246
 
1247
+ interface _GetVolumeResponseSuccess
1248
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetVolumeResponse]
1249
+ def volume_id: () -> ::String
1250
+ def farm_id: () -> ::String
1251
+ def fleet_id: () -> ::String
1252
+ def state: () -> ("PENDING_CREATION" | "PENDING_ATTACHMENT" | "IN_USE" | "AVAILABLE" | "PENDING_DELETION")
1253
+ def size_gi_b: () -> ::Integer
1254
+ def availability_zone_id: () -> ::String
1255
+ def attached_worker_id: () -> ::String
1256
+ def volume_type: () -> ("gp3")
1257
+ def iops: () -> ::Integer
1258
+ def throughput_mi_b: () -> ::Integer
1259
+ def created_at: () -> ::Time
1260
+ def last_assigned_at: () -> ::Time
1261
+ def last_released_at: () -> ::Time
1262
+ def expires_at: () -> ::Time
1263
+ end
1264
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Deadline/Client.html#get_volume-instance_method
1265
+ def get_volume: (
1266
+ farm_id: ::String,
1267
+ fleet_id: ::String,
1268
+ volume_id: ::String
1269
+ ) -> _GetVolumeResponseSuccess
1270
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetVolumeResponseSuccess
1271
+
1236
1272
  interface _GetWorkerResponseSuccess
1237
1273
  include ::Seahorse::Client::_ResponseSuccess[Types::GetWorkerResponse]
1238
1274
  def farm_id: () -> ::String
@@ -1651,6 +1687,20 @@ module Aws
1651
1687
  ) -> _ListTasksResponseSuccess
1652
1688
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListTasksResponseSuccess
1653
1689
 
1690
+ interface _ListVolumesResponseSuccess
1691
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListVolumesResponse]
1692
+ def volumes: () -> ::Array[Types::VolumeSummary]
1693
+ def next_token: () -> ::String
1694
+ end
1695
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Deadline/Client.html#list_volumes-instance_method
1696
+ def list_volumes: (
1697
+ farm_id: ::String,
1698
+ fleet_id: ::String,
1699
+ ?next_token: ::String,
1700
+ ?max_results: ::Integer
1701
+ ) -> _ListVolumesResponseSuccess
1702
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListVolumesResponseSuccess
1703
+
1654
1704
  interface _ListWorkersResponseSuccess
1655
1705
  include ::Seahorse::Client::_ResponseSuccess[Types::ListWorkersResponse]
1656
1706
  def workers: () -> ::Array[Types::WorkerSummary]
data/sig/params.rbs CHANGED
@@ -111,6 +111,13 @@ module Aws
111
111
  resource_configuration_arns: Array[::String]?
112
112
  }?,
113
113
  storage_profile_id: ::String?,
114
+ persistent_volume_configuration: {
115
+ size_gi_b: ::Integer?,
116
+ iops: ::Integer?,
117
+ throughput_mi_b: ::Integer?,
118
+ mount_path: ::String,
119
+ last_used_ttl_hours: ::Integer?
120
+ }?,
114
121
  auto_scaling_configuration: {
115
122
  standby_worker_count: ::Integer?,
116
123
  worker_idle_duration_seconds: ::Integer?,
data/sig/types.rbs CHANGED
@@ -1022,6 +1022,16 @@ module Aws::Deadline
1022
1022
  class DeleteStorageProfileResponse < Aws::EmptyStructure
1023
1023
  end
1024
1024
 
1025
+ class DeleteVolumeRequest
1026
+ attr_accessor farm_id: ::String
1027
+ attr_accessor fleet_id: ::String
1028
+ attr_accessor volume_id: ::String
1029
+ SENSITIVE: []
1030
+ end
1031
+
1032
+ class DeleteVolumeResponse < Aws::EmptyStructure
1033
+ end
1034
+
1025
1035
  class DeleteWorkerRequest
1026
1036
  attr_accessor farm_id: ::String
1027
1037
  attr_accessor fleet_id: ::String
@@ -1658,6 +1668,31 @@ module Aws::Deadline
1658
1668
  SENSITIVE: [:parameters]
1659
1669
  end
1660
1670
 
1671
+ class GetVolumeRequest
1672
+ attr_accessor farm_id: ::String
1673
+ attr_accessor fleet_id: ::String
1674
+ attr_accessor volume_id: ::String
1675
+ SENSITIVE: []
1676
+ end
1677
+
1678
+ class GetVolumeResponse
1679
+ attr_accessor volume_id: ::String
1680
+ attr_accessor farm_id: ::String
1681
+ attr_accessor fleet_id: ::String
1682
+ attr_accessor state: ("PENDING_CREATION" | "PENDING_ATTACHMENT" | "IN_USE" | "AVAILABLE" | "PENDING_DELETION")
1683
+ attr_accessor size_gi_b: ::Integer
1684
+ attr_accessor availability_zone_id: ::String
1685
+ attr_accessor attached_worker_id: ::String
1686
+ attr_accessor volume_type: ("gp3")
1687
+ attr_accessor iops: ::Integer
1688
+ attr_accessor throughput_mi_b: ::Integer
1689
+ attr_accessor created_at: ::Time
1690
+ attr_accessor last_assigned_at: ::Time
1691
+ attr_accessor last_released_at: ::Time
1692
+ attr_accessor expires_at: ::Time
1693
+ SENSITIVE: []
1694
+ end
1695
+
1661
1696
  class GetWorkerRequest
1662
1697
  attr_accessor farm_id: ::String
1663
1698
  attr_accessor fleet_id: ::String
@@ -2304,6 +2339,20 @@ module Aws::Deadline
2304
2339
  SENSITIVE: []
2305
2340
  end
2306
2341
 
2342
+ class ListVolumesRequest
2343
+ attr_accessor farm_id: ::String
2344
+ attr_accessor fleet_id: ::String
2345
+ attr_accessor next_token: ::String
2346
+ attr_accessor max_results: ::Integer
2347
+ SENSITIVE: []
2348
+ end
2349
+
2350
+ class ListVolumesResponse
2351
+ attr_accessor volumes: ::Array[Types::VolumeSummary]
2352
+ attr_accessor next_token: ::String
2353
+ SENSITIVE: []
2354
+ end
2355
+
2307
2356
  class ListWorkersRequest
2308
2357
  attr_accessor farm_id: ::String
2309
2358
  attr_accessor fleet_id: ::String
@@ -2392,6 +2441,15 @@ module Aws::Deadline
2392
2441
  SENSITIVE: []
2393
2442
  end
2394
2443
 
2444
+ class PersistentVolumeConfiguration
2445
+ attr_accessor size_gi_b: ::Integer
2446
+ attr_accessor iops: ::Integer
2447
+ attr_accessor throughput_mi_b: ::Integer
2448
+ attr_accessor mount_path: ::String
2449
+ attr_accessor last_used_ttl_hours: ::Integer
2450
+ SENSITIVE: []
2451
+ end
2452
+
2395
2453
  class PosixUser
2396
2454
  attr_accessor user: ::String
2397
2455
  attr_accessor group: ::String
@@ -2671,6 +2729,7 @@ module Aws::Deadline
2671
2729
  attr_accessor instance_market_options: Types::ServiceManagedEc2InstanceMarketOptions
2672
2730
  attr_accessor vpc_configuration: Types::VpcConfiguration
2673
2731
  attr_accessor storage_profile_id: ::String
2732
+ attr_accessor persistent_volume_configuration: Types::PersistentVolumeConfiguration
2674
2733
  attr_accessor auto_scaling_configuration: Types::ServiceManagedEc2AutoScalingConfiguration
2675
2734
  SENSITIVE: []
2676
2735
  end
@@ -3363,6 +3422,17 @@ module Aws::Deadline
3363
3422
  SENSITIVE: []
3364
3423
  end
3365
3424
 
3425
+ class VolumeSummary
3426
+ attr_accessor volume_id: ::String
3427
+ attr_accessor farm_id: ::String
3428
+ attr_accessor fleet_id: ::String
3429
+ attr_accessor state: ("PENDING_CREATION" | "PENDING_ATTACHMENT" | "IN_USE" | "AVAILABLE" | "PENDING_DELETION")
3430
+ attr_accessor size_gi_b: ::Integer
3431
+ attr_accessor availability_zone_id: ::String
3432
+ attr_accessor attached_worker_id: ::String
3433
+ SENSITIVE: []
3434
+ end
3435
+
3366
3436
  class VpcConfiguration
3367
3437
  attr_accessor resource_configuration_arns: ::Array[::String]
3368
3438
  SENSITIVE: []
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-deadline
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.55.0
4
+ version: 1.56.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services