aws-sdk-ecs 1.196.0 → 1.197.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-ecs/client.rb +271 -61
- data/lib/aws-sdk-ecs/client_api.rb +57 -0
- data/lib/aws-sdk-ecs/types.rb +440 -39
- data/lib/aws-sdk-ecs.rb +1 -1
- data/sig/client.rbs +66 -7
- data/sig/types.rbs +51 -0
- metadata +1 -1
@@ -15,6 +15,7 @@ module Aws::ECS
|
|
15
15
|
include Seahorse::Model
|
16
16
|
|
17
17
|
AccessDeniedException = Shapes::StructureShape.new(name: 'AccessDeniedException')
|
18
|
+
AdvancedConfiguration = Shapes::StructureShape.new(name: 'AdvancedConfiguration')
|
18
19
|
AgentUpdateStatus = Shapes::StringShape.new(name: 'AgentUpdateStatus')
|
19
20
|
ApplicationProtocol = Shapes::StringShape.new(name: 'ApplicationProtocol')
|
20
21
|
AssignPublicIp = Shapes::StringShape.new(name: 'AssignPublicIp')
|
@@ -114,7 +115,12 @@ module Aws::ECS
|
|
114
115
|
DeploymentController = Shapes::StructureShape.new(name: 'DeploymentController')
|
115
116
|
DeploymentControllerType = Shapes::StringShape.new(name: 'DeploymentControllerType')
|
116
117
|
DeploymentEphemeralStorage = Shapes::StructureShape.new(name: 'DeploymentEphemeralStorage')
|
118
|
+
DeploymentLifecycleHook = Shapes::StructureShape.new(name: 'DeploymentLifecycleHook')
|
119
|
+
DeploymentLifecycleHookList = Shapes::ListShape.new(name: 'DeploymentLifecycleHookList')
|
120
|
+
DeploymentLifecycleHookStage = Shapes::StringShape.new(name: 'DeploymentLifecycleHookStage')
|
121
|
+
DeploymentLifecycleHookStageList = Shapes::ListShape.new(name: 'DeploymentLifecycleHookStageList')
|
117
122
|
DeploymentRolloutState = Shapes::StringShape.new(name: 'DeploymentRolloutState')
|
123
|
+
DeploymentStrategy = Shapes::StringShape.new(name: 'DeploymentStrategy')
|
118
124
|
Deployments = Shapes::ListShape.new(name: 'Deployments')
|
119
125
|
DeregisterContainerInstanceRequest = Shapes::StructureShape.new(name: 'DeregisterContainerInstanceRequest')
|
120
126
|
DeregisterContainerInstanceResponse = Shapes::StructureShape.new(name: 'DeregisterContainerInstanceResponse')
|
@@ -182,6 +188,7 @@ module Aws::ECS
|
|
182
188
|
GpuIds = Shapes::ListShape.new(name: 'GpuIds')
|
183
189
|
HealthCheck = Shapes::StructureShape.new(name: 'HealthCheck')
|
184
190
|
HealthStatus = Shapes::StringShape.new(name: 'HealthStatus')
|
191
|
+
HookDetails = Shapes::DocumentShape.new(name: 'HookDetails', document: true)
|
185
192
|
HostEntry = Shapes::StructureShape.new(name: 'HostEntry')
|
186
193
|
HostEntryList = Shapes::ListShape.new(name: 'HostEntryList')
|
187
194
|
HostVolumeProperties = Shapes::StructureShape.new(name: 'HostVolumeProperties')
|
@@ -291,6 +298,7 @@ module Aws::ECS
|
|
291
298
|
RegisterTaskDefinitionResponse = Shapes::StructureShape.new(name: 'RegisterTaskDefinitionResponse')
|
292
299
|
RepositoryCredentials = Shapes::StructureShape.new(name: 'RepositoryCredentials')
|
293
300
|
RequiresAttributes = Shapes::ListShape.new(name: 'RequiresAttributes')
|
301
|
+
ResolvedConfiguration = Shapes::StructureShape.new(name: 'ResolvedConfiguration')
|
294
302
|
Resource = Shapes::StructureShape.new(name: 'Resource')
|
295
303
|
ResourceIds = Shapes::ListShape.new(name: 'ResourceIds')
|
296
304
|
ResourceInUseException = Shapes::StructureShape.new(name: 'ResourceInUseException')
|
@@ -319,12 +327,16 @@ module Aws::ECS
|
|
319
327
|
ServiceConnectServiceList = Shapes::ListShape.new(name: 'ServiceConnectServiceList')
|
320
328
|
ServiceConnectServiceResource = Shapes::StructureShape.new(name: 'ServiceConnectServiceResource')
|
321
329
|
ServiceConnectServiceResourceList = Shapes::ListShape.new(name: 'ServiceConnectServiceResourceList')
|
330
|
+
ServiceConnectTestTrafficHeaderMatchRules = Shapes::StructureShape.new(name: 'ServiceConnectTestTrafficHeaderMatchRules')
|
331
|
+
ServiceConnectTestTrafficHeaderRules = Shapes::StructureShape.new(name: 'ServiceConnectTestTrafficHeaderRules')
|
332
|
+
ServiceConnectTestTrafficRules = Shapes::StructureShape.new(name: 'ServiceConnectTestTrafficRules')
|
322
333
|
ServiceConnectTlsCertificateAuthority = Shapes::StructureShape.new(name: 'ServiceConnectTlsCertificateAuthority')
|
323
334
|
ServiceConnectTlsConfiguration = Shapes::StructureShape.new(name: 'ServiceConnectTlsConfiguration')
|
324
335
|
ServiceDeployment = Shapes::StructureShape.new(name: 'ServiceDeployment')
|
325
336
|
ServiceDeploymentAlarms = Shapes::StructureShape.new(name: 'ServiceDeploymentAlarms')
|
326
337
|
ServiceDeploymentBrief = Shapes::StructureShape.new(name: 'ServiceDeploymentBrief')
|
327
338
|
ServiceDeploymentCircuitBreaker = Shapes::StructureShape.new(name: 'ServiceDeploymentCircuitBreaker')
|
339
|
+
ServiceDeploymentLifecycleStage = Shapes::StringShape.new(name: 'ServiceDeploymentLifecycleStage')
|
328
340
|
ServiceDeploymentNotFoundException = Shapes::StructureShape.new(name: 'ServiceDeploymentNotFoundException')
|
329
341
|
ServiceDeploymentRollbackMonitorsStatus = Shapes::StringShape.new(name: 'ServiceDeploymentRollbackMonitorsStatus')
|
330
342
|
ServiceDeploymentStatus = Shapes::StringShape.new(name: 'ServiceDeploymentStatus')
|
@@ -341,6 +353,8 @@ module Aws::ECS
|
|
341
353
|
ServiceRegistries = Shapes::ListShape.new(name: 'ServiceRegistries')
|
342
354
|
ServiceRegistry = Shapes::StructureShape.new(name: 'ServiceRegistry')
|
343
355
|
ServiceRevision = Shapes::StructureShape.new(name: 'ServiceRevision')
|
356
|
+
ServiceRevisionLoadBalancer = Shapes::StructureShape.new(name: 'ServiceRevisionLoadBalancer')
|
357
|
+
ServiceRevisionLoadBalancers = Shapes::ListShape.new(name: 'ServiceRevisionLoadBalancers')
|
344
358
|
ServiceRevisionSummary = Shapes::StructureShape.new(name: 'ServiceRevisionSummary')
|
345
359
|
ServiceRevisions = Shapes::ListShape.new(name: 'ServiceRevisions')
|
346
360
|
ServiceRevisionsSummaryList = Shapes::ListShape.new(name: 'ServiceRevisionsSummaryList')
|
@@ -450,6 +464,12 @@ module Aws::ECS
|
|
450
464
|
|
451
465
|
AccessDeniedException.struct_class = Types::AccessDeniedException
|
452
466
|
|
467
|
+
AdvancedConfiguration.add_member(:alternate_target_group_arn, Shapes::ShapeRef.new(shape: String, location_name: "alternateTargetGroupArn"))
|
468
|
+
AdvancedConfiguration.add_member(:production_listener_rule, Shapes::ShapeRef.new(shape: String, location_name: "productionListenerRule"))
|
469
|
+
AdvancedConfiguration.add_member(:test_listener_rule, Shapes::ShapeRef.new(shape: String, location_name: "testListenerRule"))
|
470
|
+
AdvancedConfiguration.add_member(:role_arn, Shapes::ShapeRef.new(shape: String, location_name: "roleArn"))
|
471
|
+
AdvancedConfiguration.struct_class = Types::AdvancedConfiguration
|
472
|
+
|
453
473
|
Attachment.add_member(:id, Shapes::ShapeRef.new(shape: String, location_name: "id"))
|
454
474
|
Attachment.add_member(:type, Shapes::ShapeRef.new(shape: String, location_name: "type"))
|
455
475
|
Attachment.add_member(:status, Shapes::ShapeRef.new(shape: String, location_name: "status"))
|
@@ -863,6 +883,9 @@ module Aws::ECS
|
|
863
883
|
DeploymentConfiguration.add_member(:maximum_percent, Shapes::ShapeRef.new(shape: BoxedInteger, location_name: "maximumPercent"))
|
864
884
|
DeploymentConfiguration.add_member(:minimum_healthy_percent, Shapes::ShapeRef.new(shape: BoxedInteger, location_name: "minimumHealthyPercent"))
|
865
885
|
DeploymentConfiguration.add_member(:alarms, Shapes::ShapeRef.new(shape: DeploymentAlarms, location_name: "alarms"))
|
886
|
+
DeploymentConfiguration.add_member(:strategy, Shapes::ShapeRef.new(shape: DeploymentStrategy, location_name: "strategy"))
|
887
|
+
DeploymentConfiguration.add_member(:bake_time_in_minutes, Shapes::ShapeRef.new(shape: BoxedInteger, location_name: "bakeTimeInMinutes"))
|
888
|
+
DeploymentConfiguration.add_member(:lifecycle_hooks, Shapes::ShapeRef.new(shape: DeploymentLifecycleHookList, location_name: "lifecycleHooks"))
|
866
889
|
DeploymentConfiguration.struct_class = Types::DeploymentConfiguration
|
867
890
|
|
868
891
|
DeploymentController.add_member(:type, Shapes::ShapeRef.new(shape: DeploymentControllerType, required: true, location_name: "type"))
|
@@ -871,6 +894,16 @@ module Aws::ECS
|
|
871
894
|
DeploymentEphemeralStorage.add_member(:kms_key_id, Shapes::ShapeRef.new(shape: String, location_name: "kmsKeyId"))
|
872
895
|
DeploymentEphemeralStorage.struct_class = Types::DeploymentEphemeralStorage
|
873
896
|
|
897
|
+
DeploymentLifecycleHook.add_member(:hook_target_arn, Shapes::ShapeRef.new(shape: String, location_name: "hookTargetArn"))
|
898
|
+
DeploymentLifecycleHook.add_member(:role_arn, Shapes::ShapeRef.new(shape: IAMRoleArn, location_name: "roleArn"))
|
899
|
+
DeploymentLifecycleHook.add_member(:lifecycle_stages, Shapes::ShapeRef.new(shape: DeploymentLifecycleHookStageList, location_name: "lifecycleStages"))
|
900
|
+
DeploymentLifecycleHook.add_member(:hook_details, Shapes::ShapeRef.new(shape: HookDetails, location_name: "hookDetails"))
|
901
|
+
DeploymentLifecycleHook.struct_class = Types::DeploymentLifecycleHook
|
902
|
+
|
903
|
+
DeploymentLifecycleHookList.member = Shapes::ShapeRef.new(shape: DeploymentLifecycleHook)
|
904
|
+
|
905
|
+
DeploymentLifecycleHookStageList.member = Shapes::ShapeRef.new(shape: DeploymentLifecycleHookStage)
|
906
|
+
|
874
907
|
Deployments.member = Shapes::ShapeRef.new(shape: Deployment)
|
875
908
|
|
876
909
|
DeregisterContainerInstanceRequest.add_member(:cluster, Shapes::ShapeRef.new(shape: String, location_name: "cluster"))
|
@@ -1262,6 +1295,7 @@ module Aws::ECS
|
|
1262
1295
|
LoadBalancer.add_member(:load_balancer_name, Shapes::ShapeRef.new(shape: String, location_name: "loadBalancerName"))
|
1263
1296
|
LoadBalancer.add_member(:container_name, Shapes::ShapeRef.new(shape: String, location_name: "containerName"))
|
1264
1297
|
LoadBalancer.add_member(:container_port, Shapes::ShapeRef.new(shape: BoxedInteger, location_name: "containerPort"))
|
1298
|
+
LoadBalancer.add_member(:advanced_configuration, Shapes::ShapeRef.new(shape: AdvancedConfiguration, location_name: "advancedConfiguration"))
|
1265
1299
|
LoadBalancer.struct_class = Types::LoadBalancer
|
1266
1300
|
|
1267
1301
|
LoadBalancers.member = Shapes::ShapeRef.new(shape: LoadBalancer)
|
@@ -1453,6 +1487,9 @@ module Aws::ECS
|
|
1453
1487
|
|
1454
1488
|
RequiresAttributes.member = Shapes::ShapeRef.new(shape: Attribute)
|
1455
1489
|
|
1490
|
+
ResolvedConfiguration.add_member(:load_balancers, Shapes::ShapeRef.new(shape: ServiceRevisionLoadBalancers, location_name: "loadBalancers"))
|
1491
|
+
ResolvedConfiguration.struct_class = Types::ResolvedConfiguration
|
1492
|
+
|
1456
1493
|
Resource.add_member(:name, Shapes::ShapeRef.new(shape: String, location_name: "name"))
|
1457
1494
|
Resource.add_member(:type, Shapes::ShapeRef.new(shape: String, location_name: "type"))
|
1458
1495
|
Resource.add_member(:double_value, Shapes::ShapeRef.new(shape: Double, location_name: "doubleValue"))
|
@@ -1558,6 +1595,7 @@ module Aws::ECS
|
|
1558
1595
|
|
1559
1596
|
ServiceConnectClientAlias.add_member(:port, Shapes::ShapeRef.new(shape: PortNumber, required: true, location_name: "port"))
|
1560
1597
|
ServiceConnectClientAlias.add_member(:dns_name, Shapes::ShapeRef.new(shape: String, location_name: "dnsName"))
|
1598
|
+
ServiceConnectClientAlias.add_member(:test_traffic_rules, Shapes::ShapeRef.new(shape: ServiceConnectTestTrafficRules, location_name: "testTrafficRules"))
|
1561
1599
|
ServiceConnectClientAlias.struct_class = Types::ServiceConnectClientAlias
|
1562
1600
|
|
1563
1601
|
ServiceConnectClientAliasList.member = Shapes::ShapeRef.new(shape: ServiceConnectClientAlias)
|
@@ -1584,6 +1622,16 @@ module Aws::ECS
|
|
1584
1622
|
|
1585
1623
|
ServiceConnectServiceResourceList.member = Shapes::ShapeRef.new(shape: ServiceConnectServiceResource)
|
1586
1624
|
|
1625
|
+
ServiceConnectTestTrafficHeaderMatchRules.add_member(:exact, Shapes::ShapeRef.new(shape: String, required: true, location_name: "exact"))
|
1626
|
+
ServiceConnectTestTrafficHeaderMatchRules.struct_class = Types::ServiceConnectTestTrafficHeaderMatchRules
|
1627
|
+
|
1628
|
+
ServiceConnectTestTrafficHeaderRules.add_member(:name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "name"))
|
1629
|
+
ServiceConnectTestTrafficHeaderRules.add_member(:value, Shapes::ShapeRef.new(shape: ServiceConnectTestTrafficHeaderMatchRules, location_name: "value"))
|
1630
|
+
ServiceConnectTestTrafficHeaderRules.struct_class = Types::ServiceConnectTestTrafficHeaderRules
|
1631
|
+
|
1632
|
+
ServiceConnectTestTrafficRules.add_member(:header, Shapes::ShapeRef.new(shape: ServiceConnectTestTrafficHeaderRules, required: true, location_name: "header"))
|
1633
|
+
ServiceConnectTestTrafficRules.struct_class = Types::ServiceConnectTestTrafficRules
|
1634
|
+
|
1587
1635
|
ServiceConnectTlsCertificateAuthority.add_member(:aws_pca_authority_arn, Shapes::ShapeRef.new(shape: String, location_name: "awsPcaAuthorityArn"))
|
1588
1636
|
ServiceConnectTlsCertificateAuthority.struct_class = Types::ServiceConnectTlsCertificateAuthority
|
1589
1637
|
|
@@ -1604,6 +1652,7 @@ module Aws::ECS
|
|
1604
1652
|
ServiceDeployment.add_member(:target_service_revision, Shapes::ShapeRef.new(shape: ServiceRevisionSummary, location_name: "targetServiceRevision"))
|
1605
1653
|
ServiceDeployment.add_member(:status, Shapes::ShapeRef.new(shape: ServiceDeploymentStatus, location_name: "status"))
|
1606
1654
|
ServiceDeployment.add_member(:status_reason, Shapes::ShapeRef.new(shape: String, location_name: "statusReason"))
|
1655
|
+
ServiceDeployment.add_member(:lifecycle_stage, Shapes::ShapeRef.new(shape: ServiceDeploymentLifecycleStage, location_name: "lifecycleStage"))
|
1607
1656
|
ServiceDeployment.add_member(:deployment_configuration, Shapes::ShapeRef.new(shape: DeploymentConfiguration, location_name: "deploymentConfiguration"))
|
1608
1657
|
ServiceDeployment.add_member(:rollback, Shapes::ShapeRef.new(shape: Rollback, location_name: "rollback"))
|
1609
1658
|
ServiceDeployment.add_member(:deployment_circuit_breaker, Shapes::ShapeRef.new(shape: ServiceDeploymentCircuitBreaker, location_name: "deploymentCircuitBreaker"))
|
@@ -1691,8 +1740,15 @@ module Aws::ECS
|
|
1691
1740
|
ServiceRevision.add_member(:fargate_ephemeral_storage, Shapes::ShapeRef.new(shape: DeploymentEphemeralStorage, location_name: "fargateEphemeralStorage"))
|
1692
1741
|
ServiceRevision.add_member(:created_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "createdAt"))
|
1693
1742
|
ServiceRevision.add_member(:vpc_lattice_configurations, Shapes::ShapeRef.new(shape: VpcLatticeConfigurations, location_name: "vpcLatticeConfigurations"))
|
1743
|
+
ServiceRevision.add_member(:resolved_configuration, Shapes::ShapeRef.new(shape: ResolvedConfiguration, location_name: "resolvedConfiguration"))
|
1694
1744
|
ServiceRevision.struct_class = Types::ServiceRevision
|
1695
1745
|
|
1746
|
+
ServiceRevisionLoadBalancer.add_member(:target_group_arn, Shapes::ShapeRef.new(shape: String, location_name: "targetGroupArn"))
|
1747
|
+
ServiceRevisionLoadBalancer.add_member(:production_listener_rule, Shapes::ShapeRef.new(shape: String, location_name: "productionListenerRule"))
|
1748
|
+
ServiceRevisionLoadBalancer.struct_class = Types::ServiceRevisionLoadBalancer
|
1749
|
+
|
1750
|
+
ServiceRevisionLoadBalancers.member = Shapes::ShapeRef.new(shape: ServiceRevisionLoadBalancer)
|
1751
|
+
|
1696
1752
|
ServiceRevisionSummary.add_member(:arn, Shapes::ShapeRef.new(shape: String, location_name: "arn"))
|
1697
1753
|
ServiceRevisionSummary.add_member(:requested_task_count, Shapes::ShapeRef.new(shape: Integer, location_name: "requestedTaskCount"))
|
1698
1754
|
ServiceRevisionSummary.add_member(:running_task_count, Shapes::ShapeRef.new(shape: Integer, location_name: "runningTaskCount"))
|
@@ -2061,6 +2117,7 @@ module Aws::ECS
|
|
2061
2117
|
UpdateServiceRequest.add_member(:platform_version, Shapes::ShapeRef.new(shape: String, location_name: "platformVersion"))
|
2062
2118
|
UpdateServiceRequest.add_member(:force_new_deployment, Shapes::ShapeRef.new(shape: Boolean, location_name: "forceNewDeployment"))
|
2063
2119
|
UpdateServiceRequest.add_member(:health_check_grace_period_seconds, Shapes::ShapeRef.new(shape: BoxedInteger, location_name: "healthCheckGracePeriodSeconds"))
|
2120
|
+
UpdateServiceRequest.add_member(:deployment_controller, Shapes::ShapeRef.new(shape: DeploymentController, location_name: "deploymentController"))
|
2064
2121
|
UpdateServiceRequest.add_member(:enable_execute_command, Shapes::ShapeRef.new(shape: BoxedBoolean, location_name: "enableExecuteCommand"))
|
2065
2122
|
UpdateServiceRequest.add_member(:enable_ecs_managed_tags, Shapes::ShapeRef.new(shape: BoxedBoolean, location_name: "enableECSManagedTags"))
|
2066
2123
|
UpdateServiceRequest.add_member(:load_balancers, Shapes::ShapeRef.new(shape: LoadBalancers, location_name: "loadBalancers"))
|