aws-sdk-ecs 1.136.0 → 1.137.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.
@@ -137,6 +137,13 @@ module Aws::ECS
137
137
  DockerLabelsMap = Shapes::MapShape.new(name: 'DockerLabelsMap')
138
138
  DockerVolumeConfiguration = Shapes::StructureShape.new(name: 'DockerVolumeConfiguration')
139
139
  Double = Shapes::FloatShape.new(name: 'Double')
140
+ EBSKMSKeyId = Shapes::StringShape.new(name: 'EBSKMSKeyId')
141
+ EBSResourceType = Shapes::StringShape.new(name: 'EBSResourceType')
142
+ EBSSnapshotId = Shapes::StringShape.new(name: 'EBSSnapshotId')
143
+ EBSTagSpecification = Shapes::StructureShape.new(name: 'EBSTagSpecification')
144
+ EBSTagSpecifications = Shapes::ListShape.new(name: 'EBSTagSpecifications')
145
+ EBSVolumeType = Shapes::StringShape.new(name: 'EBSVolumeType')
146
+ ECSVolumeName = Shapes::StringShape.new(name: 'ECSVolumeName')
140
147
  EFSAuthorizationConfig = Shapes::StructureShape.new(name: 'EFSAuthorizationConfig')
141
148
  EFSAuthorizationConfigIAM = Shapes::StringShape.new(name: 'EFSAuthorizationConfigIAM')
142
149
  EFSTransitEncryption = Shapes::StringShape.new(name: 'EFSTransitEncryption')
@@ -166,6 +173,7 @@ module Aws::ECS
166
173
  HostEntry = Shapes::StructureShape.new(name: 'HostEntry')
167
174
  HostEntryList = Shapes::ListShape.new(name: 'HostEntryList')
168
175
  HostVolumeProperties = Shapes::StructureShape.new(name: 'HostVolumeProperties')
176
+ IAMRoleArn = Shapes::StringShape.new(name: 'IAMRoleArn')
169
177
  InferenceAccelerator = Shapes::StructureShape.new(name: 'InferenceAccelerator')
170
178
  InferenceAcceleratorOverride = Shapes::StructureShape.new(name: 'InferenceAcceleratorOverride')
171
179
  InferenceAcceleratorOverrides = Shapes::ListShape.new(name: 'InferenceAcceleratorOverrides')
@@ -298,10 +306,13 @@ module Aws::ECS
298
306
  ServiceEvents = Shapes::ListShape.new(name: 'ServiceEvents')
299
307
  ServiceField = Shapes::StringShape.new(name: 'ServiceField')
300
308
  ServiceFieldList = Shapes::ListShape.new(name: 'ServiceFieldList')
309
+ ServiceManagedEBSVolumeConfiguration = Shapes::StructureShape.new(name: 'ServiceManagedEBSVolumeConfiguration')
301
310
  ServiceNotActiveException = Shapes::StructureShape.new(name: 'ServiceNotActiveException')
302
311
  ServiceNotFoundException = Shapes::StructureShape.new(name: 'ServiceNotFoundException')
303
312
  ServiceRegistries = Shapes::ListShape.new(name: 'ServiceRegistries')
304
313
  ServiceRegistry = Shapes::StructureShape.new(name: 'ServiceRegistry')
314
+ ServiceVolumeConfiguration = Shapes::StructureShape.new(name: 'ServiceVolumeConfiguration')
315
+ ServiceVolumeConfigurations = Shapes::ListShape.new(name: 'ServiceVolumeConfigurations')
305
316
  Services = Shapes::ListShape.new(name: 'Services')
306
317
  Session = Shapes::StructureShape.new(name: 'Session')
307
318
  Setting = Shapes::StructureShape.new(name: 'Setting')
@@ -348,6 +359,9 @@ module Aws::ECS
348
359
  TaskDefinitionStatus = Shapes::StringShape.new(name: 'TaskDefinitionStatus')
349
360
  TaskField = Shapes::StringShape.new(name: 'TaskField')
350
361
  TaskFieldList = Shapes::ListShape.new(name: 'TaskFieldList')
362
+ TaskFilesystemType = Shapes::StringShape.new(name: 'TaskFilesystemType')
363
+ TaskManagedEBSVolumeConfiguration = Shapes::StructureShape.new(name: 'TaskManagedEBSVolumeConfiguration')
364
+ TaskManagedEBSVolumeTerminationPolicy = Shapes::StructureShape.new(name: 'TaskManagedEBSVolumeTerminationPolicy')
351
365
  TaskOverride = Shapes::StructureShape.new(name: 'TaskOverride')
352
366
  TaskSet = Shapes::StructureShape.new(name: 'TaskSet')
353
367
  TaskSetField = Shapes::StringShape.new(name: 'TaskSetField')
@@ -355,6 +369,8 @@ module Aws::ECS
355
369
  TaskSetNotFoundException = Shapes::StructureShape.new(name: 'TaskSetNotFoundException')
356
370
  TaskSets = Shapes::ListShape.new(name: 'TaskSets')
357
371
  TaskStopCode = Shapes::StringShape.new(name: 'TaskStopCode')
372
+ TaskVolumeConfiguration = Shapes::StructureShape.new(name: 'TaskVolumeConfiguration')
373
+ TaskVolumeConfigurations = Shapes::ListShape.new(name: 'TaskVolumeConfigurations')
358
374
  Tasks = Shapes::ListShape.new(name: 'Tasks')
359
375
  Timestamp = Shapes::TimestampShape.new(name: 'Timestamp')
360
376
  Tmpfs = Shapes::StructureShape.new(name: 'Tmpfs')
@@ -675,6 +691,7 @@ module Aws::ECS
675
691
  CreateServiceRequest.add_member(:propagate_tags, Shapes::ShapeRef.new(shape: PropagateTags, location_name: "propagateTags"))
676
692
  CreateServiceRequest.add_member(:enable_execute_command, Shapes::ShapeRef.new(shape: Boolean, location_name: "enableExecuteCommand"))
677
693
  CreateServiceRequest.add_member(:service_connect_configuration, Shapes::ShapeRef.new(shape: ServiceConnectConfiguration, location_name: "serviceConnectConfiguration"))
694
+ CreateServiceRequest.add_member(:volume_configurations, Shapes::ShapeRef.new(shape: ServiceVolumeConfigurations, location_name: "volumeConfigurations"))
678
695
  CreateServiceRequest.struct_class = Types::CreateServiceRequest
679
696
 
680
697
  CreateServiceResponse.add_member(:service, Shapes::ShapeRef.new(shape: Service, location_name: "service"))
@@ -766,6 +783,7 @@ module Aws::ECS
766
783
  Deployment.add_member(:rollout_state_reason, Shapes::ShapeRef.new(shape: String, location_name: "rolloutStateReason"))
767
784
  Deployment.add_member(:service_connect_configuration, Shapes::ShapeRef.new(shape: ServiceConnectConfiguration, location_name: "serviceConnectConfiguration"))
768
785
  Deployment.add_member(:service_connect_resources, Shapes::ShapeRef.new(shape: ServiceConnectServiceResourceList, location_name: "serviceConnectResources"))
786
+ Deployment.add_member(:volume_configurations, Shapes::ShapeRef.new(shape: ServiceVolumeConfigurations, location_name: "volumeConfigurations"))
769
787
  Deployment.struct_class = Types::Deployment
770
788
 
771
789
  DeploymentAlarms.add_member(:alarm_names, Shapes::ShapeRef.new(shape: StringList, required: true, location_name: "alarmNames"))
@@ -894,6 +912,13 @@ module Aws::ECS
894
912
  DockerVolumeConfiguration.add_member(:labels, Shapes::ShapeRef.new(shape: StringMap, location_name: "labels"))
895
913
  DockerVolumeConfiguration.struct_class = Types::DockerVolumeConfiguration
896
914
 
915
+ EBSTagSpecification.add_member(:resource_type, Shapes::ShapeRef.new(shape: EBSResourceType, required: true, location_name: "resourceType"))
916
+ EBSTagSpecification.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
917
+ EBSTagSpecification.add_member(:propagate_tags, Shapes::ShapeRef.new(shape: PropagateTags, location_name: "propagateTags"))
918
+ EBSTagSpecification.struct_class = Types::EBSTagSpecification
919
+
920
+ EBSTagSpecifications.member = Shapes::ShapeRef.new(shape: EBSTagSpecification)
921
+
897
922
  EFSAuthorizationConfig.add_member(:access_point_id, Shapes::ShapeRef.new(shape: String, location_name: "accessPointId"))
898
923
  EFSAuthorizationConfig.add_member(:iam, Shapes::ShapeRef.new(shape: EFSAuthorizationConfigIAM, location_name: "iam"))
899
924
  EFSAuthorizationConfig.struct_class = Types::EFSAuthorizationConfig
@@ -1368,6 +1393,7 @@ module Aws::ECS
1368
1393
  RunTaskRequest.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
1369
1394
  RunTaskRequest.add_member(:task_definition, Shapes::ShapeRef.new(shape: String, required: true, location_name: "taskDefinition"))
1370
1395
  RunTaskRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: String, location_name: "clientToken", metadata: {"idempotencyToken"=>true}))
1396
+ RunTaskRequest.add_member(:volume_configurations, Shapes::ShapeRef.new(shape: TaskVolumeConfigurations, location_name: "volumeConfigurations"))
1371
1397
  RunTaskRequest.struct_class = Types::RunTaskRequest
1372
1398
 
1373
1399
  RunTaskResponse.add_member(:tasks, Shapes::ShapeRef.new(shape: Tasks, location_name: "tasks"))
@@ -1459,6 +1485,18 @@ module Aws::ECS
1459
1485
 
1460
1486
  ServiceFieldList.member = Shapes::ShapeRef.new(shape: ServiceField)
1461
1487
 
1488
+ ServiceManagedEBSVolumeConfiguration.add_member(:encrypted, Shapes::ShapeRef.new(shape: BoxedBoolean, location_name: "encrypted"))
1489
+ ServiceManagedEBSVolumeConfiguration.add_member(:kms_key_id, Shapes::ShapeRef.new(shape: EBSKMSKeyId, location_name: "kmsKeyId"))
1490
+ ServiceManagedEBSVolumeConfiguration.add_member(:volume_type, Shapes::ShapeRef.new(shape: EBSVolumeType, location_name: "volumeType"))
1491
+ ServiceManagedEBSVolumeConfiguration.add_member(:size_in_gi_b, Shapes::ShapeRef.new(shape: BoxedInteger, location_name: "sizeInGiB"))
1492
+ ServiceManagedEBSVolumeConfiguration.add_member(:snapshot_id, Shapes::ShapeRef.new(shape: EBSSnapshotId, location_name: "snapshotId"))
1493
+ ServiceManagedEBSVolumeConfiguration.add_member(:iops, Shapes::ShapeRef.new(shape: BoxedInteger, location_name: "iops"))
1494
+ ServiceManagedEBSVolumeConfiguration.add_member(:throughput, Shapes::ShapeRef.new(shape: BoxedInteger, location_name: "throughput"))
1495
+ ServiceManagedEBSVolumeConfiguration.add_member(:tag_specifications, Shapes::ShapeRef.new(shape: EBSTagSpecifications, location_name: "tagSpecifications"))
1496
+ ServiceManagedEBSVolumeConfiguration.add_member(:role_arn, Shapes::ShapeRef.new(shape: IAMRoleArn, required: true, location_name: "roleArn"))
1497
+ ServiceManagedEBSVolumeConfiguration.add_member(:filesystem_type, Shapes::ShapeRef.new(shape: TaskFilesystemType, location_name: "filesystemType"))
1498
+ ServiceManagedEBSVolumeConfiguration.struct_class = Types::ServiceManagedEBSVolumeConfiguration
1499
+
1462
1500
  ServiceNotActiveException.struct_class = Types::ServiceNotActiveException
1463
1501
 
1464
1502
  ServiceNotFoundException.struct_class = Types::ServiceNotFoundException
@@ -1471,6 +1509,12 @@ module Aws::ECS
1471
1509
  ServiceRegistry.add_member(:container_port, Shapes::ShapeRef.new(shape: BoxedInteger, location_name: "containerPort"))
1472
1510
  ServiceRegistry.struct_class = Types::ServiceRegistry
1473
1511
 
1512
+ ServiceVolumeConfiguration.add_member(:name, Shapes::ShapeRef.new(shape: ECSVolumeName, required: true, location_name: "name"))
1513
+ ServiceVolumeConfiguration.add_member(:managed_ebs_volume, Shapes::ShapeRef.new(shape: ServiceManagedEBSVolumeConfiguration, location_name: "managedEBSVolume"))
1514
+ ServiceVolumeConfiguration.struct_class = Types::ServiceVolumeConfiguration
1515
+
1516
+ ServiceVolumeConfigurations.member = Shapes::ShapeRef.new(shape: ServiceVolumeConfiguration)
1517
+
1474
1518
  Services.member = Shapes::ShapeRef.new(shape: Service)
1475
1519
 
1476
1520
  Session.add_member(:session_id, Shapes::ShapeRef.new(shape: String, location_name: "sessionId"))
@@ -1498,6 +1542,7 @@ module Aws::ECS
1498
1542
  StartTaskRequest.add_member(:started_by, Shapes::ShapeRef.new(shape: String, location_name: "startedBy"))
1499
1543
  StartTaskRequest.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
1500
1544
  StartTaskRequest.add_member(:task_definition, Shapes::ShapeRef.new(shape: String, required: true, location_name: "taskDefinition"))
1545
+ StartTaskRequest.add_member(:volume_configurations, Shapes::ShapeRef.new(shape: TaskVolumeConfigurations, location_name: "volumeConfigurations"))
1501
1546
  StartTaskRequest.struct_class = Types::StartTaskRequest
1502
1547
 
1503
1548
  StartTaskResponse.add_member(:tasks, Shapes::ShapeRef.new(shape: Tasks, location_name: "tasks"))
@@ -1654,6 +1699,22 @@ module Aws::ECS
1654
1699
 
1655
1700
  TaskFieldList.member = Shapes::ShapeRef.new(shape: TaskField)
1656
1701
 
1702
+ TaskManagedEBSVolumeConfiguration.add_member(:encrypted, Shapes::ShapeRef.new(shape: BoxedBoolean, location_name: "encrypted"))
1703
+ TaskManagedEBSVolumeConfiguration.add_member(:kms_key_id, Shapes::ShapeRef.new(shape: EBSKMSKeyId, location_name: "kmsKeyId"))
1704
+ TaskManagedEBSVolumeConfiguration.add_member(:volume_type, Shapes::ShapeRef.new(shape: EBSVolumeType, location_name: "volumeType"))
1705
+ TaskManagedEBSVolumeConfiguration.add_member(:size_in_gi_b, Shapes::ShapeRef.new(shape: BoxedInteger, location_name: "sizeInGiB"))
1706
+ TaskManagedEBSVolumeConfiguration.add_member(:snapshot_id, Shapes::ShapeRef.new(shape: EBSSnapshotId, location_name: "snapshotId"))
1707
+ TaskManagedEBSVolumeConfiguration.add_member(:iops, Shapes::ShapeRef.new(shape: BoxedInteger, location_name: "iops"))
1708
+ TaskManagedEBSVolumeConfiguration.add_member(:throughput, Shapes::ShapeRef.new(shape: BoxedInteger, location_name: "throughput"))
1709
+ TaskManagedEBSVolumeConfiguration.add_member(:tag_specifications, Shapes::ShapeRef.new(shape: EBSTagSpecifications, location_name: "tagSpecifications"))
1710
+ TaskManagedEBSVolumeConfiguration.add_member(:role_arn, Shapes::ShapeRef.new(shape: IAMRoleArn, required: true, location_name: "roleArn"))
1711
+ TaskManagedEBSVolumeConfiguration.add_member(:termination_policy, Shapes::ShapeRef.new(shape: TaskManagedEBSVolumeTerminationPolicy, location_name: "terminationPolicy"))
1712
+ TaskManagedEBSVolumeConfiguration.add_member(:filesystem_type, Shapes::ShapeRef.new(shape: TaskFilesystemType, location_name: "filesystemType"))
1713
+ TaskManagedEBSVolumeConfiguration.struct_class = Types::TaskManagedEBSVolumeConfiguration
1714
+
1715
+ TaskManagedEBSVolumeTerminationPolicy.add_member(:delete_on_termination, Shapes::ShapeRef.new(shape: BoxedBoolean, required: true, location_name: "deleteOnTermination"))
1716
+ TaskManagedEBSVolumeTerminationPolicy.struct_class = Types::TaskManagedEBSVolumeTerminationPolicy
1717
+
1657
1718
  TaskOverride.add_member(:container_overrides, Shapes::ShapeRef.new(shape: ContainerOverrides, location_name: "containerOverrides"))
1658
1719
  TaskOverride.add_member(:cpu, Shapes::ShapeRef.new(shape: String, location_name: "cpu"))
1659
1720
  TaskOverride.add_member(:inference_accelerator_overrides, Shapes::ShapeRef.new(shape: InferenceAcceleratorOverrides, location_name: "inferenceAcceleratorOverrides"))
@@ -1695,6 +1756,12 @@ module Aws::ECS
1695
1756
 
1696
1757
  TaskSets.member = Shapes::ShapeRef.new(shape: TaskSet)
1697
1758
 
1759
+ TaskVolumeConfiguration.add_member(:name, Shapes::ShapeRef.new(shape: ECSVolumeName, required: true, location_name: "name"))
1760
+ TaskVolumeConfiguration.add_member(:managed_ebs_volume, Shapes::ShapeRef.new(shape: TaskManagedEBSVolumeConfiguration, location_name: "managedEBSVolume"))
1761
+ TaskVolumeConfiguration.struct_class = Types::TaskVolumeConfiguration
1762
+
1763
+ TaskVolumeConfigurations.member = Shapes::ShapeRef.new(shape: TaskVolumeConfiguration)
1764
+
1698
1765
  Tasks.member = Shapes::ShapeRef.new(shape: Task)
1699
1766
 
1700
1767
  Tmpfs.add_member(:container_path, Shapes::ShapeRef.new(shape: String, required: true, location_name: "containerPath"))
@@ -1786,6 +1853,7 @@ module Aws::ECS
1786
1853
  UpdateServiceRequest.add_member(:propagate_tags, Shapes::ShapeRef.new(shape: PropagateTags, location_name: "propagateTags"))
1787
1854
  UpdateServiceRequest.add_member(:service_registries, Shapes::ShapeRef.new(shape: ServiceRegistries, location_name: "serviceRegistries"))
1788
1855
  UpdateServiceRequest.add_member(:service_connect_configuration, Shapes::ShapeRef.new(shape: ServiceConnectConfiguration, location_name: "serviceConnectConfiguration"))
1856
+ UpdateServiceRequest.add_member(:volume_configurations, Shapes::ShapeRef.new(shape: ServiceVolumeConfigurations, location_name: "volumeConfigurations"))
1789
1857
  UpdateServiceRequest.struct_class = Types::UpdateServiceRequest
1790
1858
 
1791
1859
  UpdateServiceResponse.add_member(:service, Shapes::ShapeRef.new(shape: Service, location_name: "service"))
@@ -1820,6 +1888,7 @@ module Aws::ECS
1820
1888
  Volume.add_member(:docker_volume_configuration, Shapes::ShapeRef.new(shape: DockerVolumeConfiguration, location_name: "dockerVolumeConfiguration"))
1821
1889
  Volume.add_member(:efs_volume_configuration, Shapes::ShapeRef.new(shape: EFSVolumeConfiguration, location_name: "efsVolumeConfiguration"))
1822
1890
  Volume.add_member(:fsx_windows_file_server_volume_configuration, Shapes::ShapeRef.new(shape: FSxWindowsFileServerVolumeConfiguration, location_name: "fsxWindowsFileServerVolumeConfiguration"))
1891
+ Volume.add_member(:configured_at_launch, Shapes::ShapeRef.new(shape: BoxedBoolean, location_name: "configuredAtLaunch"))
1823
1892
  Volume.struct_class = Types::Volume
1824
1893
 
1825
1894
  VolumeFrom.add_member(:source_container, Shapes::ShapeRef.new(shape: String, location_name: "sourceContainer"))
@@ -2415,6 +2484,7 @@ module Aws::ECS
2415
2484
  o.errors << Shapes::ShapeRef.new(shape: ClientException)
2416
2485
  o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
2417
2486
  o.errors << Shapes::ShapeRef.new(shape: ClusterNotFoundException)
2487
+ o.errors << Shapes::ShapeRef.new(shape: UnsupportedFeatureException)
2418
2488
  end)
2419
2489
 
2420
2490
  api.add_operation(:stop_task, Seahorse::Model::Operation.new.tap do |o|
@@ -2569,6 +2639,7 @@ module Aws::ECS
2569
2639
  o.errors << Shapes::ShapeRef.new(shape: PlatformTaskDefinitionIncompatibilityException)
2570
2640
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
2571
2641
  o.errors << Shapes::ShapeRef.new(shape: NamespaceNotFoundException)
2642
+ o.errors << Shapes::ShapeRef.new(shape: UnsupportedFeatureException)
2572
2643
  end)
2573
2644
 
2574
2645
  api.add_operation(:update_service_primary_task_set, Seahorse::Model::Operation.new.tap do |o|