aws-sdk-ecs 1.162.0 → 1.173.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +55 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-ecs/client.rb +499 -81
- data/lib/aws-sdk-ecs/client_api.rb +205 -1
- data/lib/aws-sdk-ecs/endpoint_parameters.rb +9 -6
- data/lib/aws-sdk-ecs/endpoints.rb +2 -614
- data/lib/aws-sdk-ecs/plugins/endpoints.rb +1 -118
- data/lib/aws-sdk-ecs/types.rb +1026 -132
- data/lib/aws-sdk-ecs.rb +1 -1
- data/sig/client.rbs +68 -9
- data/sig/types.rbs +154 -3
- metadata +4 -4
@@ -28,6 +28,7 @@ module Aws::ECS
|
|
28
28
|
Attributes = Shapes::ListShape.new(name: 'Attributes')
|
29
29
|
AutoScalingGroupProvider = Shapes::StructureShape.new(name: 'AutoScalingGroupProvider')
|
30
30
|
AutoScalingGroupProviderUpdate = Shapes::StructureShape.new(name: 'AutoScalingGroupProviderUpdate')
|
31
|
+
AvailabilityZoneRebalancing = Shapes::StringShape.new(name: 'AvailabilityZoneRebalancing')
|
31
32
|
AwsVpcConfiguration = Shapes::StructureShape.new(name: 'AwsVpcConfiguration')
|
32
33
|
BlockedException = Shapes::StructureShape.new(name: 'BlockedException')
|
33
34
|
Boolean = Shapes::BooleanShape.new(name: 'Boolean')
|
@@ -69,6 +70,8 @@ module Aws::ECS
|
|
69
70
|
ContainerDefinitions = Shapes::ListShape.new(name: 'ContainerDefinitions')
|
70
71
|
ContainerDependencies = Shapes::ListShape.new(name: 'ContainerDependencies')
|
71
72
|
ContainerDependency = Shapes::StructureShape.new(name: 'ContainerDependency')
|
73
|
+
ContainerImage = Shapes::StructureShape.new(name: 'ContainerImage')
|
74
|
+
ContainerImages = Shapes::ListShape.new(name: 'ContainerImages')
|
72
75
|
ContainerInstance = Shapes::StructureShape.new(name: 'ContainerInstance')
|
73
76
|
ContainerInstanceField = Shapes::StringShape.new(name: 'ContainerInstanceField')
|
74
77
|
ContainerInstanceFieldList = Shapes::ListShape.new(name: 'ContainerInstanceFieldList')
|
@@ -89,6 +92,7 @@ module Aws::ECS
|
|
89
92
|
CreateServiceResponse = Shapes::StructureShape.new(name: 'CreateServiceResponse')
|
90
93
|
CreateTaskSetRequest = Shapes::StructureShape.new(name: 'CreateTaskSetRequest')
|
91
94
|
CreateTaskSetResponse = Shapes::StructureShape.new(name: 'CreateTaskSetResponse')
|
95
|
+
CreatedAt = Shapes::StructureShape.new(name: 'CreatedAt')
|
92
96
|
DeleteAccountSettingRequest = Shapes::StructureShape.new(name: 'DeleteAccountSettingRequest')
|
93
97
|
DeleteAccountSettingResponse = Shapes::StructureShape.new(name: 'DeleteAccountSettingResponse')
|
94
98
|
DeleteAttributesRequest = Shapes::StructureShape.new(name: 'DeleteAttributesRequest')
|
@@ -122,6 +126,10 @@ module Aws::ECS
|
|
122
126
|
DescribeClustersResponse = Shapes::StructureShape.new(name: 'DescribeClustersResponse')
|
123
127
|
DescribeContainerInstancesRequest = Shapes::StructureShape.new(name: 'DescribeContainerInstancesRequest')
|
124
128
|
DescribeContainerInstancesResponse = Shapes::StructureShape.new(name: 'DescribeContainerInstancesResponse')
|
129
|
+
DescribeServiceDeploymentsRequest = Shapes::StructureShape.new(name: 'DescribeServiceDeploymentsRequest')
|
130
|
+
DescribeServiceDeploymentsResponse = Shapes::StructureShape.new(name: 'DescribeServiceDeploymentsResponse')
|
131
|
+
DescribeServiceRevisionsRequest = Shapes::StructureShape.new(name: 'DescribeServiceRevisionsRequest')
|
132
|
+
DescribeServiceRevisionsResponse = Shapes::StructureShape.new(name: 'DescribeServiceRevisionsResponse')
|
125
133
|
DescribeServicesRequest = Shapes::StructureShape.new(name: 'DescribeServicesRequest')
|
126
134
|
DescribeServicesResponse = Shapes::StructureShape.new(name: 'DescribeServicesResponse')
|
127
135
|
DescribeTaskDefinitionRequest = Shapes::StructureShape.new(name: 'DescribeTaskDefinitionRequest')
|
@@ -203,6 +211,8 @@ module Aws::ECS
|
|
203
211
|
ListClustersResponse = Shapes::StructureShape.new(name: 'ListClustersResponse')
|
204
212
|
ListContainerInstancesRequest = Shapes::StructureShape.new(name: 'ListContainerInstancesRequest')
|
205
213
|
ListContainerInstancesResponse = Shapes::StructureShape.new(name: 'ListContainerInstancesResponse')
|
214
|
+
ListServiceDeploymentsRequest = Shapes::StructureShape.new(name: 'ListServiceDeploymentsRequest')
|
215
|
+
ListServiceDeploymentsResponse = Shapes::StructureShape.new(name: 'ListServiceDeploymentsResponse')
|
206
216
|
ListServicesByNamespaceRequest = Shapes::StructureShape.new(name: 'ListServicesByNamespaceRequest')
|
207
217
|
ListServicesByNamespaceResponse = Shapes::StructureShape.new(name: 'ListServicesByNamespaceResponse')
|
208
218
|
ListServicesRequest = Shapes::StructureShape.new(name: 'ListServicesRequest')
|
@@ -289,6 +299,7 @@ module Aws::ECS
|
|
289
299
|
ResourceRequirements = Shapes::ListShape.new(name: 'ResourceRequirements')
|
290
300
|
ResourceType = Shapes::StringShape.new(name: 'ResourceType')
|
291
301
|
Resources = Shapes::ListShape.new(name: 'Resources')
|
302
|
+
Rollback = Shapes::StructureShape.new(name: 'Rollback')
|
292
303
|
RunTaskRequest = Shapes::StructureShape.new(name: 'RunTaskRequest')
|
293
304
|
RunTaskResponse = Shapes::StructureShape.new(name: 'RunTaskResponse')
|
294
305
|
RuntimePlatform = Shapes::StructureShape.new(name: 'RuntimePlatform')
|
@@ -310,6 +321,15 @@ module Aws::ECS
|
|
310
321
|
ServiceConnectServiceResourceList = Shapes::ListShape.new(name: 'ServiceConnectServiceResourceList')
|
311
322
|
ServiceConnectTlsCertificateAuthority = Shapes::StructureShape.new(name: 'ServiceConnectTlsCertificateAuthority')
|
312
323
|
ServiceConnectTlsConfiguration = Shapes::StructureShape.new(name: 'ServiceConnectTlsConfiguration')
|
324
|
+
ServiceDeployment = Shapes::StructureShape.new(name: 'ServiceDeployment')
|
325
|
+
ServiceDeploymentAlarms = Shapes::StructureShape.new(name: 'ServiceDeploymentAlarms')
|
326
|
+
ServiceDeploymentBrief = Shapes::StructureShape.new(name: 'ServiceDeploymentBrief')
|
327
|
+
ServiceDeploymentCircuitBreaker = Shapes::StructureShape.new(name: 'ServiceDeploymentCircuitBreaker')
|
328
|
+
ServiceDeploymentRollbackMonitorsStatus = Shapes::StringShape.new(name: 'ServiceDeploymentRollbackMonitorsStatus')
|
329
|
+
ServiceDeploymentStatus = Shapes::StringShape.new(name: 'ServiceDeploymentStatus')
|
330
|
+
ServiceDeploymentStatusList = Shapes::ListShape.new(name: 'ServiceDeploymentStatusList')
|
331
|
+
ServiceDeployments = Shapes::ListShape.new(name: 'ServiceDeployments')
|
332
|
+
ServiceDeploymentsBrief = Shapes::ListShape.new(name: 'ServiceDeploymentsBrief')
|
313
333
|
ServiceEvent = Shapes::StructureShape.new(name: 'ServiceEvent')
|
314
334
|
ServiceEvents = Shapes::ListShape.new(name: 'ServiceEvents')
|
315
335
|
ServiceField = Shapes::StringShape.new(name: 'ServiceField')
|
@@ -319,6 +339,10 @@ module Aws::ECS
|
|
319
339
|
ServiceNotFoundException = Shapes::StructureShape.new(name: 'ServiceNotFoundException')
|
320
340
|
ServiceRegistries = Shapes::ListShape.new(name: 'ServiceRegistries')
|
321
341
|
ServiceRegistry = Shapes::StructureShape.new(name: 'ServiceRegistry')
|
342
|
+
ServiceRevision = Shapes::StructureShape.new(name: 'ServiceRevision')
|
343
|
+
ServiceRevisionSummary = Shapes::StructureShape.new(name: 'ServiceRevisionSummary')
|
344
|
+
ServiceRevisions = Shapes::ListShape.new(name: 'ServiceRevisions')
|
345
|
+
ServiceRevisionsSummaryList = Shapes::ListShape.new(name: 'ServiceRevisionsSummaryList')
|
322
346
|
ServiceVolumeConfiguration = Shapes::StructureShape.new(name: 'ServiceVolumeConfiguration')
|
323
347
|
ServiceVolumeConfigurations = Shapes::ListShape.new(name: 'ServiceVolumeConfigurations')
|
324
348
|
Services = Shapes::ListShape.new(name: 'Services')
|
@@ -411,11 +435,14 @@ module Aws::ECS
|
|
411
435
|
UpdateTaskProtectionResponse = Shapes::StructureShape.new(name: 'UpdateTaskProtectionResponse')
|
412
436
|
UpdateTaskSetRequest = Shapes::StructureShape.new(name: 'UpdateTaskSetRequest')
|
413
437
|
UpdateTaskSetResponse = Shapes::StructureShape.new(name: 'UpdateTaskSetResponse')
|
438
|
+
VersionConsistency = Shapes::StringShape.new(name: 'VersionConsistency')
|
414
439
|
VersionInfo = Shapes::StructureShape.new(name: 'VersionInfo')
|
415
440
|
Volume = Shapes::StructureShape.new(name: 'Volume')
|
416
441
|
VolumeFrom = Shapes::StructureShape.new(name: 'VolumeFrom')
|
417
442
|
VolumeFromList = Shapes::ListShape.new(name: 'VolumeFromList')
|
418
443
|
VolumeList = Shapes::ListShape.new(name: 'VolumeList')
|
444
|
+
VpcLatticeConfiguration = Shapes::StructureShape.new(name: 'VpcLatticeConfiguration')
|
445
|
+
VpcLatticeConfigurations = Shapes::ListShape.new(name: 'VpcLatticeConfigurations')
|
419
446
|
|
420
447
|
AccessDeniedException.struct_class = Types::AccessDeniedException
|
421
448
|
|
@@ -577,6 +604,7 @@ module Aws::ECS
|
|
577
604
|
ContainerDefinition.add_member(:depends_on, Shapes::ShapeRef.new(shape: ContainerDependencies, location_name: "dependsOn"))
|
578
605
|
ContainerDefinition.add_member(:start_timeout, Shapes::ShapeRef.new(shape: BoxedInteger, location_name: "startTimeout"))
|
579
606
|
ContainerDefinition.add_member(:stop_timeout, Shapes::ShapeRef.new(shape: BoxedInteger, location_name: "stopTimeout"))
|
607
|
+
ContainerDefinition.add_member(:version_consistency, Shapes::ShapeRef.new(shape: VersionConsistency, location_name: "versionConsistency"))
|
580
608
|
ContainerDefinition.add_member(:hostname, Shapes::ShapeRef.new(shape: String, location_name: "hostname"))
|
581
609
|
ContainerDefinition.add_member(:user, Shapes::ShapeRef.new(shape: String, location_name: "user"))
|
582
610
|
ContainerDefinition.add_member(:working_directory, Shapes::ShapeRef.new(shape: String, location_name: "workingDirectory"))
|
@@ -607,6 +635,13 @@ module Aws::ECS
|
|
607
635
|
ContainerDependency.add_member(:condition, Shapes::ShapeRef.new(shape: ContainerCondition, required: true, location_name: "condition"))
|
608
636
|
ContainerDependency.struct_class = Types::ContainerDependency
|
609
637
|
|
638
|
+
ContainerImage.add_member(:container_name, Shapes::ShapeRef.new(shape: String, location_name: "containerName"))
|
639
|
+
ContainerImage.add_member(:image_digest, Shapes::ShapeRef.new(shape: String, location_name: "imageDigest"))
|
640
|
+
ContainerImage.add_member(:image, Shapes::ShapeRef.new(shape: String, location_name: "image"))
|
641
|
+
ContainerImage.struct_class = Types::ContainerImage
|
642
|
+
|
643
|
+
ContainerImages.member = Shapes::ShapeRef.new(shape: ContainerImage)
|
644
|
+
|
610
645
|
ContainerInstance.add_member(:container_instance_arn, Shapes::ShapeRef.new(shape: String, location_name: "containerInstanceArn"))
|
611
646
|
ContainerInstance.add_member(:ec2_instance_id, Shapes::ShapeRef.new(shape: String, location_name: "ec2InstanceId"))
|
612
647
|
ContainerInstance.add_member(:capacity_provider_name, Shapes::ShapeRef.new(shape: String, location_name: "capacityProviderName"))
|
@@ -688,6 +723,7 @@ module Aws::ECS
|
|
688
723
|
CreateServiceRequest.add_member(:cluster, Shapes::ShapeRef.new(shape: String, location_name: "cluster"))
|
689
724
|
CreateServiceRequest.add_member(:service_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "serviceName"))
|
690
725
|
CreateServiceRequest.add_member(:task_definition, Shapes::ShapeRef.new(shape: String, location_name: "taskDefinition"))
|
726
|
+
CreateServiceRequest.add_member(:availability_zone_rebalancing, Shapes::ShapeRef.new(shape: AvailabilityZoneRebalancing, location_name: "availabilityZoneRebalancing"))
|
691
727
|
CreateServiceRequest.add_member(:load_balancers, Shapes::ShapeRef.new(shape: LoadBalancers, location_name: "loadBalancers"))
|
692
728
|
CreateServiceRequest.add_member(:service_registries, Shapes::ShapeRef.new(shape: ServiceRegistries, location_name: "serviceRegistries"))
|
693
729
|
CreateServiceRequest.add_member(:desired_count, Shapes::ShapeRef.new(shape: BoxedInteger, location_name: "desiredCount"))
|
@@ -709,6 +745,7 @@ module Aws::ECS
|
|
709
745
|
CreateServiceRequest.add_member(:enable_execute_command, Shapes::ShapeRef.new(shape: Boolean, location_name: "enableExecuteCommand"))
|
710
746
|
CreateServiceRequest.add_member(:service_connect_configuration, Shapes::ShapeRef.new(shape: ServiceConnectConfiguration, location_name: "serviceConnectConfiguration"))
|
711
747
|
CreateServiceRequest.add_member(:volume_configurations, Shapes::ShapeRef.new(shape: ServiceVolumeConfigurations, location_name: "volumeConfigurations"))
|
748
|
+
CreateServiceRequest.add_member(:vpc_lattice_configurations, Shapes::ShapeRef.new(shape: VpcLatticeConfigurations, location_name: "vpcLatticeConfigurations"))
|
712
749
|
CreateServiceRequest.struct_class = Types::CreateServiceRequest
|
713
750
|
|
714
751
|
CreateServiceResponse.add_member(:service, Shapes::ShapeRef.new(shape: Service, location_name: "service"))
|
@@ -732,6 +769,10 @@ module Aws::ECS
|
|
732
769
|
CreateTaskSetResponse.add_member(:task_set, Shapes::ShapeRef.new(shape: TaskSet, location_name: "taskSet"))
|
733
770
|
CreateTaskSetResponse.struct_class = Types::CreateTaskSetResponse
|
734
771
|
|
772
|
+
CreatedAt.add_member(:before, Shapes::ShapeRef.new(shape: Timestamp, location_name: "before"))
|
773
|
+
CreatedAt.add_member(:after, Shapes::ShapeRef.new(shape: Timestamp, location_name: "after"))
|
774
|
+
CreatedAt.struct_class = Types::CreatedAt
|
775
|
+
|
735
776
|
DeleteAccountSettingRequest.add_member(:name, Shapes::ShapeRef.new(shape: SettingName, required: true, location_name: "name"))
|
736
777
|
DeleteAccountSettingRequest.add_member(:principal_arn, Shapes::ShapeRef.new(shape: String, location_name: "principalArn"))
|
737
778
|
DeleteAccountSettingRequest.struct_class = Types::DeleteAccountSettingRequest
|
@@ -802,11 +843,12 @@ module Aws::ECS
|
|
802
843
|
Deployment.add_member(:service_connect_resources, Shapes::ShapeRef.new(shape: ServiceConnectServiceResourceList, location_name: "serviceConnectResources"))
|
803
844
|
Deployment.add_member(:volume_configurations, Shapes::ShapeRef.new(shape: ServiceVolumeConfigurations, location_name: "volumeConfigurations"))
|
804
845
|
Deployment.add_member(:fargate_ephemeral_storage, Shapes::ShapeRef.new(shape: DeploymentEphemeralStorage, location_name: "fargateEphemeralStorage"))
|
846
|
+
Deployment.add_member(:vpc_lattice_configurations, Shapes::ShapeRef.new(shape: VpcLatticeConfigurations, location_name: "vpcLatticeConfigurations"))
|
805
847
|
Deployment.struct_class = Types::Deployment
|
806
848
|
|
807
849
|
DeploymentAlarms.add_member(:alarm_names, Shapes::ShapeRef.new(shape: StringList, required: true, location_name: "alarmNames"))
|
808
|
-
DeploymentAlarms.add_member(:enable, Shapes::ShapeRef.new(shape: Boolean, required: true, location_name: "enable"))
|
809
850
|
DeploymentAlarms.add_member(:rollback, Shapes::ShapeRef.new(shape: Boolean, required: true, location_name: "rollback"))
|
851
|
+
DeploymentAlarms.add_member(:enable, Shapes::ShapeRef.new(shape: Boolean, required: true, location_name: "enable"))
|
810
852
|
DeploymentAlarms.struct_class = Types::DeploymentAlarms
|
811
853
|
|
812
854
|
DeploymentCircuitBreaker.add_member(:enable, Shapes::ShapeRef.new(shape: Boolean, required: true, location_name: "enable"))
|
@@ -869,6 +911,20 @@ module Aws::ECS
|
|
869
911
|
DescribeContainerInstancesResponse.add_member(:failures, Shapes::ShapeRef.new(shape: Failures, location_name: "failures"))
|
870
912
|
DescribeContainerInstancesResponse.struct_class = Types::DescribeContainerInstancesResponse
|
871
913
|
|
914
|
+
DescribeServiceDeploymentsRequest.add_member(:service_deployment_arns, Shapes::ShapeRef.new(shape: StringList, required: true, location_name: "serviceDeploymentArns"))
|
915
|
+
DescribeServiceDeploymentsRequest.struct_class = Types::DescribeServiceDeploymentsRequest
|
916
|
+
|
917
|
+
DescribeServiceDeploymentsResponse.add_member(:service_deployments, Shapes::ShapeRef.new(shape: ServiceDeployments, location_name: "serviceDeployments"))
|
918
|
+
DescribeServiceDeploymentsResponse.add_member(:failures, Shapes::ShapeRef.new(shape: Failures, location_name: "failures"))
|
919
|
+
DescribeServiceDeploymentsResponse.struct_class = Types::DescribeServiceDeploymentsResponse
|
920
|
+
|
921
|
+
DescribeServiceRevisionsRequest.add_member(:service_revision_arns, Shapes::ShapeRef.new(shape: StringList, required: true, location_name: "serviceRevisionArns"))
|
922
|
+
DescribeServiceRevisionsRequest.struct_class = Types::DescribeServiceRevisionsRequest
|
923
|
+
|
924
|
+
DescribeServiceRevisionsResponse.add_member(:service_revisions, Shapes::ShapeRef.new(shape: ServiceRevisions, location_name: "serviceRevisions"))
|
925
|
+
DescribeServiceRevisionsResponse.add_member(:failures, Shapes::ShapeRef.new(shape: Failures, location_name: "failures"))
|
926
|
+
DescribeServiceRevisionsResponse.struct_class = Types::DescribeServiceRevisionsResponse
|
927
|
+
|
872
928
|
DescribeServicesRequest.add_member(:cluster, Shapes::ShapeRef.new(shape: String, location_name: "cluster"))
|
873
929
|
DescribeServicesRequest.add_member(:services, Shapes::ShapeRef.new(shape: StringList, required: true, location_name: "services"))
|
874
930
|
DescribeServicesRequest.add_member(:include, Shapes::ShapeRef.new(shape: ServiceFieldList, location_name: "include"))
|
@@ -1124,6 +1180,18 @@ module Aws::ECS
|
|
1124
1180
|
ListContainerInstancesResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "nextToken"))
|
1125
1181
|
ListContainerInstancesResponse.struct_class = Types::ListContainerInstancesResponse
|
1126
1182
|
|
1183
|
+
ListServiceDeploymentsRequest.add_member(:service, Shapes::ShapeRef.new(shape: String, required: true, location_name: "service"))
|
1184
|
+
ListServiceDeploymentsRequest.add_member(:cluster, Shapes::ShapeRef.new(shape: String, location_name: "cluster"))
|
1185
|
+
ListServiceDeploymentsRequest.add_member(:status, Shapes::ShapeRef.new(shape: ServiceDeploymentStatusList, location_name: "status"))
|
1186
|
+
ListServiceDeploymentsRequest.add_member(:created_at, Shapes::ShapeRef.new(shape: CreatedAt, location_name: "createdAt"))
|
1187
|
+
ListServiceDeploymentsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "nextToken"))
|
1188
|
+
ListServiceDeploymentsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: BoxedInteger, location_name: "maxResults"))
|
1189
|
+
ListServiceDeploymentsRequest.struct_class = Types::ListServiceDeploymentsRequest
|
1190
|
+
|
1191
|
+
ListServiceDeploymentsResponse.add_member(:service_deployments, Shapes::ShapeRef.new(shape: ServiceDeploymentsBrief, location_name: "serviceDeployments"))
|
1192
|
+
ListServiceDeploymentsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "nextToken"))
|
1193
|
+
ListServiceDeploymentsResponse.struct_class = Types::ListServiceDeploymentsResponse
|
1194
|
+
|
1127
1195
|
ListServicesByNamespaceRequest.add_member(:namespace, Shapes::ShapeRef.new(shape: String, required: true, location_name: "namespace"))
|
1128
1196
|
ListServicesByNamespaceRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "nextToken"))
|
1129
1197
|
ListServicesByNamespaceRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: BoxedInteger, location_name: "maxResults"))
|
@@ -1369,6 +1437,7 @@ module Aws::ECS
|
|
1369
1437
|
RegisterTaskDefinitionRequest.add_member(:inference_accelerators, Shapes::ShapeRef.new(shape: InferenceAccelerators, location_name: "inferenceAccelerators"))
|
1370
1438
|
RegisterTaskDefinitionRequest.add_member(:ephemeral_storage, Shapes::ShapeRef.new(shape: EphemeralStorage, location_name: "ephemeralStorage"))
|
1371
1439
|
RegisterTaskDefinitionRequest.add_member(:runtime_platform, Shapes::ShapeRef.new(shape: RuntimePlatform, location_name: "runtimePlatform"))
|
1440
|
+
RegisterTaskDefinitionRequest.add_member(:enable_fault_injection, Shapes::ShapeRef.new(shape: BoxedBoolean, location_name: "enableFaultInjection"))
|
1372
1441
|
RegisterTaskDefinitionRequest.struct_class = Types::RegisterTaskDefinitionRequest
|
1373
1442
|
|
1374
1443
|
RegisterTaskDefinitionResponse.add_member(:task_definition, Shapes::ShapeRef.new(shape: TaskDefinition, location_name: "taskDefinition"))
|
@@ -1402,6 +1471,11 @@ module Aws::ECS
|
|
1402
1471
|
|
1403
1472
|
Resources.member = Shapes::ShapeRef.new(shape: Resource)
|
1404
1473
|
|
1474
|
+
Rollback.add_member(:reason, Shapes::ShapeRef.new(shape: String, location_name: "reason"))
|
1475
|
+
Rollback.add_member(:started_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "startedAt"))
|
1476
|
+
Rollback.add_member(:service_revision_arn, Shapes::ShapeRef.new(shape: String, location_name: "serviceRevisionArn"))
|
1477
|
+
Rollback.struct_class = Types::Rollback
|
1478
|
+
|
1405
1479
|
RunTaskRequest.add_member(:capacity_provider_strategy, Shapes::ShapeRef.new(shape: CapacityProviderStrategy, location_name: "capacityProviderStrategy"))
|
1406
1480
|
RunTaskRequest.add_member(:cluster, Shapes::ShapeRef.new(shape: String, location_name: "cluster"))
|
1407
1481
|
RunTaskRequest.add_member(:count, Shapes::ShapeRef.new(shape: BoxedInteger, location_name: "count"))
|
@@ -1475,6 +1549,7 @@ module Aws::ECS
|
|
1475
1549
|
Service.add_member(:enable_ecs_managed_tags, Shapes::ShapeRef.new(shape: Boolean, location_name: "enableECSManagedTags"))
|
1476
1550
|
Service.add_member(:propagate_tags, Shapes::ShapeRef.new(shape: PropagateTags, location_name: "propagateTags"))
|
1477
1551
|
Service.add_member(:enable_execute_command, Shapes::ShapeRef.new(shape: Boolean, location_name: "enableExecuteCommand"))
|
1552
|
+
Service.add_member(:availability_zone_rebalancing, Shapes::ShapeRef.new(shape: AvailabilityZoneRebalancing, location_name: "availabilityZoneRebalancing"))
|
1478
1553
|
Service.struct_class = Types::Service
|
1479
1554
|
|
1480
1555
|
ServiceConnectClientAlias.add_member(:port, Shapes::ShapeRef.new(shape: PortNumber, required: true, location_name: "port"))
|
@@ -1513,6 +1588,51 @@ module Aws::ECS
|
|
1513
1588
|
ServiceConnectTlsConfiguration.add_member(:role_arn, Shapes::ShapeRef.new(shape: String, location_name: "roleArn"))
|
1514
1589
|
ServiceConnectTlsConfiguration.struct_class = Types::ServiceConnectTlsConfiguration
|
1515
1590
|
|
1591
|
+
ServiceDeployment.add_member(:service_deployment_arn, Shapes::ShapeRef.new(shape: String, location_name: "serviceDeploymentArn"))
|
1592
|
+
ServiceDeployment.add_member(:service_arn, Shapes::ShapeRef.new(shape: String, location_name: "serviceArn"))
|
1593
|
+
ServiceDeployment.add_member(:cluster_arn, Shapes::ShapeRef.new(shape: String, location_name: "clusterArn"))
|
1594
|
+
ServiceDeployment.add_member(:created_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "createdAt"))
|
1595
|
+
ServiceDeployment.add_member(:started_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "startedAt"))
|
1596
|
+
ServiceDeployment.add_member(:finished_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "finishedAt"))
|
1597
|
+
ServiceDeployment.add_member(:stopped_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "stoppedAt"))
|
1598
|
+
ServiceDeployment.add_member(:updated_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "updatedAt"))
|
1599
|
+
ServiceDeployment.add_member(:source_service_revisions, Shapes::ShapeRef.new(shape: ServiceRevisionsSummaryList, location_name: "sourceServiceRevisions"))
|
1600
|
+
ServiceDeployment.add_member(:target_service_revision, Shapes::ShapeRef.new(shape: ServiceRevisionSummary, location_name: "targetServiceRevision"))
|
1601
|
+
ServiceDeployment.add_member(:status, Shapes::ShapeRef.new(shape: ServiceDeploymentStatus, location_name: "status"))
|
1602
|
+
ServiceDeployment.add_member(:status_reason, Shapes::ShapeRef.new(shape: String, location_name: "statusReason"))
|
1603
|
+
ServiceDeployment.add_member(:deployment_configuration, Shapes::ShapeRef.new(shape: DeploymentConfiguration, location_name: "deploymentConfiguration"))
|
1604
|
+
ServiceDeployment.add_member(:rollback, Shapes::ShapeRef.new(shape: Rollback, location_name: "rollback"))
|
1605
|
+
ServiceDeployment.add_member(:deployment_circuit_breaker, Shapes::ShapeRef.new(shape: ServiceDeploymentCircuitBreaker, location_name: "deploymentCircuitBreaker"))
|
1606
|
+
ServiceDeployment.add_member(:alarms, Shapes::ShapeRef.new(shape: ServiceDeploymentAlarms, location_name: "alarms"))
|
1607
|
+
ServiceDeployment.struct_class = Types::ServiceDeployment
|
1608
|
+
|
1609
|
+
ServiceDeploymentAlarms.add_member(:status, Shapes::ShapeRef.new(shape: ServiceDeploymentRollbackMonitorsStatus, location_name: "status"))
|
1610
|
+
ServiceDeploymentAlarms.add_member(:alarm_names, Shapes::ShapeRef.new(shape: StringList, location_name: "alarmNames"))
|
1611
|
+
ServiceDeploymentAlarms.add_member(:triggered_alarm_names, Shapes::ShapeRef.new(shape: StringList, location_name: "triggeredAlarmNames"))
|
1612
|
+
ServiceDeploymentAlarms.struct_class = Types::ServiceDeploymentAlarms
|
1613
|
+
|
1614
|
+
ServiceDeploymentBrief.add_member(:service_deployment_arn, Shapes::ShapeRef.new(shape: String, location_name: "serviceDeploymentArn"))
|
1615
|
+
ServiceDeploymentBrief.add_member(:service_arn, Shapes::ShapeRef.new(shape: String, location_name: "serviceArn"))
|
1616
|
+
ServiceDeploymentBrief.add_member(:cluster_arn, Shapes::ShapeRef.new(shape: String, location_name: "clusterArn"))
|
1617
|
+
ServiceDeploymentBrief.add_member(:started_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "startedAt"))
|
1618
|
+
ServiceDeploymentBrief.add_member(:created_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "createdAt"))
|
1619
|
+
ServiceDeploymentBrief.add_member(:finished_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "finishedAt"))
|
1620
|
+
ServiceDeploymentBrief.add_member(:target_service_revision_arn, Shapes::ShapeRef.new(shape: String, location_name: "targetServiceRevisionArn"))
|
1621
|
+
ServiceDeploymentBrief.add_member(:status, Shapes::ShapeRef.new(shape: ServiceDeploymentStatus, location_name: "status"))
|
1622
|
+
ServiceDeploymentBrief.add_member(:status_reason, Shapes::ShapeRef.new(shape: String, location_name: "statusReason"))
|
1623
|
+
ServiceDeploymentBrief.struct_class = Types::ServiceDeploymentBrief
|
1624
|
+
|
1625
|
+
ServiceDeploymentCircuitBreaker.add_member(:status, Shapes::ShapeRef.new(shape: ServiceDeploymentRollbackMonitorsStatus, location_name: "status"))
|
1626
|
+
ServiceDeploymentCircuitBreaker.add_member(:failure_count, Shapes::ShapeRef.new(shape: Integer, location_name: "failureCount"))
|
1627
|
+
ServiceDeploymentCircuitBreaker.add_member(:threshold, Shapes::ShapeRef.new(shape: Integer, location_name: "threshold"))
|
1628
|
+
ServiceDeploymentCircuitBreaker.struct_class = Types::ServiceDeploymentCircuitBreaker
|
1629
|
+
|
1630
|
+
ServiceDeploymentStatusList.member = Shapes::ShapeRef.new(shape: ServiceDeploymentStatus)
|
1631
|
+
|
1632
|
+
ServiceDeployments.member = Shapes::ShapeRef.new(shape: ServiceDeployment)
|
1633
|
+
|
1634
|
+
ServiceDeploymentsBrief.member = Shapes::ShapeRef.new(shape: ServiceDeploymentBrief)
|
1635
|
+
|
1516
1636
|
ServiceEvent.add_member(:id, Shapes::ShapeRef.new(shape: String, location_name: "id"))
|
1517
1637
|
ServiceEvent.add_member(:created_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "createdAt"))
|
1518
1638
|
ServiceEvent.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
|
@@ -1546,6 +1666,36 @@ module Aws::ECS
|
|
1546
1666
|
ServiceRegistry.add_member(:container_port, Shapes::ShapeRef.new(shape: BoxedInteger, location_name: "containerPort"))
|
1547
1667
|
ServiceRegistry.struct_class = Types::ServiceRegistry
|
1548
1668
|
|
1669
|
+
ServiceRevision.add_member(:service_revision_arn, Shapes::ShapeRef.new(shape: String, location_name: "serviceRevisionArn"))
|
1670
|
+
ServiceRevision.add_member(:service_arn, Shapes::ShapeRef.new(shape: String, location_name: "serviceArn"))
|
1671
|
+
ServiceRevision.add_member(:cluster_arn, Shapes::ShapeRef.new(shape: String, location_name: "clusterArn"))
|
1672
|
+
ServiceRevision.add_member(:task_definition, Shapes::ShapeRef.new(shape: String, location_name: "taskDefinition"))
|
1673
|
+
ServiceRevision.add_member(:capacity_provider_strategy, Shapes::ShapeRef.new(shape: CapacityProviderStrategy, location_name: "capacityProviderStrategy"))
|
1674
|
+
ServiceRevision.add_member(:launch_type, Shapes::ShapeRef.new(shape: LaunchType, location_name: "launchType"))
|
1675
|
+
ServiceRevision.add_member(:platform_version, Shapes::ShapeRef.new(shape: String, location_name: "platformVersion"))
|
1676
|
+
ServiceRevision.add_member(:platform_family, Shapes::ShapeRef.new(shape: String, location_name: "platformFamily"))
|
1677
|
+
ServiceRevision.add_member(:load_balancers, Shapes::ShapeRef.new(shape: LoadBalancers, location_name: "loadBalancers"))
|
1678
|
+
ServiceRevision.add_member(:service_registries, Shapes::ShapeRef.new(shape: ServiceRegistries, location_name: "serviceRegistries"))
|
1679
|
+
ServiceRevision.add_member(:network_configuration, Shapes::ShapeRef.new(shape: NetworkConfiguration, location_name: "networkConfiguration"))
|
1680
|
+
ServiceRevision.add_member(:container_images, Shapes::ShapeRef.new(shape: ContainerImages, location_name: "containerImages"))
|
1681
|
+
ServiceRevision.add_member(:guard_duty_enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "guardDutyEnabled"))
|
1682
|
+
ServiceRevision.add_member(:service_connect_configuration, Shapes::ShapeRef.new(shape: ServiceConnectConfiguration, location_name: "serviceConnectConfiguration"))
|
1683
|
+
ServiceRevision.add_member(:volume_configurations, Shapes::ShapeRef.new(shape: ServiceVolumeConfigurations, location_name: "volumeConfigurations"))
|
1684
|
+
ServiceRevision.add_member(:fargate_ephemeral_storage, Shapes::ShapeRef.new(shape: DeploymentEphemeralStorage, location_name: "fargateEphemeralStorage"))
|
1685
|
+
ServiceRevision.add_member(:created_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "createdAt"))
|
1686
|
+
ServiceRevision.add_member(:vpc_lattice_configurations, Shapes::ShapeRef.new(shape: VpcLatticeConfigurations, location_name: "vpcLatticeConfigurations"))
|
1687
|
+
ServiceRevision.struct_class = Types::ServiceRevision
|
1688
|
+
|
1689
|
+
ServiceRevisionSummary.add_member(:arn, Shapes::ShapeRef.new(shape: String, location_name: "arn"))
|
1690
|
+
ServiceRevisionSummary.add_member(:requested_task_count, Shapes::ShapeRef.new(shape: Integer, location_name: "requestedTaskCount"))
|
1691
|
+
ServiceRevisionSummary.add_member(:running_task_count, Shapes::ShapeRef.new(shape: Integer, location_name: "runningTaskCount"))
|
1692
|
+
ServiceRevisionSummary.add_member(:pending_task_count, Shapes::ShapeRef.new(shape: Integer, location_name: "pendingTaskCount"))
|
1693
|
+
ServiceRevisionSummary.struct_class = Types::ServiceRevisionSummary
|
1694
|
+
|
1695
|
+
ServiceRevisions.member = Shapes::ShapeRef.new(shape: ServiceRevision)
|
1696
|
+
|
1697
|
+
ServiceRevisionsSummaryList.member = Shapes::ShapeRef.new(shape: ServiceRevisionSummary)
|
1698
|
+
|
1549
1699
|
ServiceVolumeConfiguration.add_member(:name, Shapes::ShapeRef.new(shape: ECSVolumeName, required: true, location_name: "name"))
|
1550
1700
|
ServiceVolumeConfiguration.add_member(:managed_ebs_volume, Shapes::ShapeRef.new(shape: ServiceManagedEBSVolumeConfiguration, location_name: "managedEBSVolume"))
|
1551
1701
|
ServiceVolumeConfiguration.struct_class = Types::ServiceVolumeConfiguration
|
@@ -1723,6 +1873,7 @@ module Aws::ECS
|
|
1723
1873
|
TaskDefinition.add_member(:deregistered_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "deregisteredAt"))
|
1724
1874
|
TaskDefinition.add_member(:registered_by, Shapes::ShapeRef.new(shape: String, location_name: "registeredBy"))
|
1725
1875
|
TaskDefinition.add_member(:ephemeral_storage, Shapes::ShapeRef.new(shape: EphemeralStorage, location_name: "ephemeralStorage"))
|
1876
|
+
TaskDefinition.add_member(:enable_fault_injection, Shapes::ShapeRef.new(shape: BoxedBoolean, location_name: "enableFaultInjection"))
|
1726
1877
|
TaskDefinition.struct_class = Types::TaskDefinition
|
1727
1878
|
|
1728
1879
|
TaskDefinitionFieldList.member = Shapes::ShapeRef.new(shape: TaskDefinitionField)
|
@@ -1888,6 +2039,7 @@ module Aws::ECS
|
|
1888
2039
|
UpdateServiceRequest.add_member(:task_definition, Shapes::ShapeRef.new(shape: String, location_name: "taskDefinition"))
|
1889
2040
|
UpdateServiceRequest.add_member(:capacity_provider_strategy, Shapes::ShapeRef.new(shape: CapacityProviderStrategy, location_name: "capacityProviderStrategy"))
|
1890
2041
|
UpdateServiceRequest.add_member(:deployment_configuration, Shapes::ShapeRef.new(shape: DeploymentConfiguration, location_name: "deploymentConfiguration"))
|
2042
|
+
UpdateServiceRequest.add_member(:availability_zone_rebalancing, Shapes::ShapeRef.new(shape: AvailabilityZoneRebalancing, location_name: "availabilityZoneRebalancing"))
|
1891
2043
|
UpdateServiceRequest.add_member(:network_configuration, Shapes::ShapeRef.new(shape: NetworkConfiguration, location_name: "networkConfiguration"))
|
1892
2044
|
UpdateServiceRequest.add_member(:placement_constraints, Shapes::ShapeRef.new(shape: PlacementConstraints, location_name: "placementConstraints"))
|
1893
2045
|
UpdateServiceRequest.add_member(:placement_strategy, Shapes::ShapeRef.new(shape: PlacementStrategies, location_name: "placementStrategy"))
|
@@ -1901,6 +2053,7 @@ module Aws::ECS
|
|
1901
2053
|
UpdateServiceRequest.add_member(:service_registries, Shapes::ShapeRef.new(shape: ServiceRegistries, location_name: "serviceRegistries"))
|
1902
2054
|
UpdateServiceRequest.add_member(:service_connect_configuration, Shapes::ShapeRef.new(shape: ServiceConnectConfiguration, location_name: "serviceConnectConfiguration"))
|
1903
2055
|
UpdateServiceRequest.add_member(:volume_configurations, Shapes::ShapeRef.new(shape: ServiceVolumeConfigurations, location_name: "volumeConfigurations"))
|
2056
|
+
UpdateServiceRequest.add_member(:vpc_lattice_configurations, Shapes::ShapeRef.new(shape: VpcLatticeConfigurations, location_name: "vpcLatticeConfigurations"))
|
1904
2057
|
UpdateServiceRequest.struct_class = Types::UpdateServiceRequest
|
1905
2058
|
|
1906
2059
|
UpdateServiceResponse.add_member(:service, Shapes::ShapeRef.new(shape: Service, location_name: "service"))
|
@@ -1946,6 +2099,13 @@ module Aws::ECS
|
|
1946
2099
|
|
1947
2100
|
VolumeList.member = Shapes::ShapeRef.new(shape: Volume)
|
1948
2101
|
|
2102
|
+
VpcLatticeConfiguration.add_member(:role_arn, Shapes::ShapeRef.new(shape: IAMRoleArn, required: true, location_name: "roleArn"))
|
2103
|
+
VpcLatticeConfiguration.add_member(:target_group_arn, Shapes::ShapeRef.new(shape: String, required: true, location_name: "targetGroupArn"))
|
2104
|
+
VpcLatticeConfiguration.add_member(:port_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "portName"))
|
2105
|
+
VpcLatticeConfiguration.struct_class = Types::VpcLatticeConfiguration
|
2106
|
+
|
2107
|
+
VpcLatticeConfigurations.member = Shapes::ShapeRef.new(shape: VpcLatticeConfiguration)
|
2108
|
+
|
1949
2109
|
|
1950
2110
|
# @api private
|
1951
2111
|
API = Seahorse::Model::Api.new.tap do |api|
|
@@ -2176,6 +2336,36 @@ module Aws::ECS
|
|
2176
2336
|
o.errors << Shapes::ShapeRef.new(shape: ClusterNotFoundException)
|
2177
2337
|
end)
|
2178
2338
|
|
2339
|
+
api.add_operation(:describe_service_deployments, Seahorse::Model::Operation.new.tap do |o|
|
2340
|
+
o.name = "DescribeServiceDeployments"
|
2341
|
+
o.http_method = "POST"
|
2342
|
+
o.http_request_uri = "/"
|
2343
|
+
o.input = Shapes::ShapeRef.new(shape: DescribeServiceDeploymentsRequest)
|
2344
|
+
o.output = Shapes::ShapeRef.new(shape: DescribeServiceDeploymentsResponse)
|
2345
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
2346
|
+
o.errors << Shapes::ShapeRef.new(shape: ClientException)
|
2347
|
+
o.errors << Shapes::ShapeRef.new(shape: ClusterNotFoundException)
|
2348
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
2349
|
+
o.errors << Shapes::ShapeRef.new(shape: ServerException)
|
2350
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceNotFoundException)
|
2351
|
+
o.errors << Shapes::ShapeRef.new(shape: UnsupportedFeatureException)
|
2352
|
+
end)
|
2353
|
+
|
2354
|
+
api.add_operation(:describe_service_revisions, Seahorse::Model::Operation.new.tap do |o|
|
2355
|
+
o.name = "DescribeServiceRevisions"
|
2356
|
+
o.http_method = "POST"
|
2357
|
+
o.http_request_uri = "/"
|
2358
|
+
o.input = Shapes::ShapeRef.new(shape: DescribeServiceRevisionsRequest)
|
2359
|
+
o.output = Shapes::ShapeRef.new(shape: DescribeServiceRevisionsResponse)
|
2360
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
2361
|
+
o.errors << Shapes::ShapeRef.new(shape: ClientException)
|
2362
|
+
o.errors << Shapes::ShapeRef.new(shape: ClusterNotFoundException)
|
2363
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
2364
|
+
o.errors << Shapes::ShapeRef.new(shape: ServerException)
|
2365
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceNotFoundException)
|
2366
|
+
o.errors << Shapes::ShapeRef.new(shape: UnsupportedFeatureException)
|
2367
|
+
end)
|
2368
|
+
|
2179
2369
|
api.add_operation(:describe_services, Seahorse::Model::Operation.new.tap do |o|
|
2180
2370
|
o.name = "DescribeServices"
|
2181
2371
|
o.http_method = "POST"
|
@@ -2334,6 +2524,20 @@ module Aws::ECS
|
|
2334
2524
|
)
|
2335
2525
|
end)
|
2336
2526
|
|
2527
|
+
api.add_operation(:list_service_deployments, Seahorse::Model::Operation.new.tap do |o|
|
2528
|
+
o.name = "ListServiceDeployments"
|
2529
|
+
o.http_method = "POST"
|
2530
|
+
o.http_request_uri = "/"
|
2531
|
+
o.input = Shapes::ShapeRef.new(shape: ListServiceDeploymentsRequest)
|
2532
|
+
o.output = Shapes::ShapeRef.new(shape: ListServiceDeploymentsResponse)
|
2533
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
2534
|
+
o.errors << Shapes::ShapeRef.new(shape: ClientException)
|
2535
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
2536
|
+
o.errors << Shapes::ShapeRef.new(shape: ServerException)
|
2537
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceNotFoundException)
|
2538
|
+
o.errors << Shapes::ShapeRef.new(shape: UnsupportedFeatureException)
|
2539
|
+
end)
|
2540
|
+
|
2337
2541
|
api.add_operation(:list_services, Seahorse::Model::Operation.new.tap do |o|
|
2338
2542
|
o.name = "ListServices"
|
2339
2543
|
o.http_method = "POST"
|
@@ -52,15 +52,18 @@ module Aws::ECS
|
|
52
52
|
self[:region] = options[:region]
|
53
53
|
self[:use_dual_stack] = options[:use_dual_stack]
|
54
54
|
self[:use_dual_stack] = false if self[:use_dual_stack].nil?
|
55
|
-
if self[:use_dual_stack].nil?
|
56
|
-
raise ArgumentError, "Missing required EndpointParameter: :use_dual_stack"
|
57
|
-
end
|
58
55
|
self[:use_fips] = options[:use_fips]
|
59
56
|
self[:use_fips] = false if self[:use_fips].nil?
|
60
|
-
if self[:use_fips].nil?
|
61
|
-
raise ArgumentError, "Missing required EndpointParameter: :use_fips"
|
62
|
-
end
|
63
57
|
self[:endpoint] = options[:endpoint]
|
64
58
|
end
|
59
|
+
|
60
|
+
def self.create(config, options={})
|
61
|
+
new({
|
62
|
+
region: config.region,
|
63
|
+
use_dual_stack: config.use_dualstack_endpoint,
|
64
|
+
use_fips: config.use_fips_endpoint,
|
65
|
+
endpoint: (config.endpoint.to_s unless config.regional_endpoint),
|
66
|
+
}.merge(options))
|
67
|
+
end
|
65
68
|
end
|
66
69
|
end
|