aws-sdk-ecs 1.196.0 → 1.198.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 +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-ecs/client.rb +268 -61
- data/lib/aws-sdk-ecs/client_api.rb +55 -0
- data/lib/aws-sdk-ecs/types.rb +482 -40
- data/lib/aws-sdk-ecs.rb +1 -1
- data/sig/client.rbs +62 -7
- data/sig/types.rbs +50 -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')
|
@@ -291,6 +297,7 @@ module Aws::ECS
|
|
291
297
|
RegisterTaskDefinitionResponse = Shapes::StructureShape.new(name: 'RegisterTaskDefinitionResponse')
|
292
298
|
RepositoryCredentials = Shapes::StructureShape.new(name: 'RepositoryCredentials')
|
293
299
|
RequiresAttributes = Shapes::ListShape.new(name: 'RequiresAttributes')
|
300
|
+
ResolvedConfiguration = Shapes::StructureShape.new(name: 'ResolvedConfiguration')
|
294
301
|
Resource = Shapes::StructureShape.new(name: 'Resource')
|
295
302
|
ResourceIds = Shapes::ListShape.new(name: 'ResourceIds')
|
296
303
|
ResourceInUseException = Shapes::StructureShape.new(name: 'ResourceInUseException')
|
@@ -319,12 +326,16 @@ module Aws::ECS
|
|
319
326
|
ServiceConnectServiceList = Shapes::ListShape.new(name: 'ServiceConnectServiceList')
|
320
327
|
ServiceConnectServiceResource = Shapes::StructureShape.new(name: 'ServiceConnectServiceResource')
|
321
328
|
ServiceConnectServiceResourceList = Shapes::ListShape.new(name: 'ServiceConnectServiceResourceList')
|
329
|
+
ServiceConnectTestTrafficHeaderMatchRules = Shapes::StructureShape.new(name: 'ServiceConnectTestTrafficHeaderMatchRules')
|
330
|
+
ServiceConnectTestTrafficHeaderRules = Shapes::StructureShape.new(name: 'ServiceConnectTestTrafficHeaderRules')
|
331
|
+
ServiceConnectTestTrafficRules = Shapes::StructureShape.new(name: 'ServiceConnectTestTrafficRules')
|
322
332
|
ServiceConnectTlsCertificateAuthority = Shapes::StructureShape.new(name: 'ServiceConnectTlsCertificateAuthority')
|
323
333
|
ServiceConnectTlsConfiguration = Shapes::StructureShape.new(name: 'ServiceConnectTlsConfiguration')
|
324
334
|
ServiceDeployment = Shapes::StructureShape.new(name: 'ServiceDeployment')
|
325
335
|
ServiceDeploymentAlarms = Shapes::StructureShape.new(name: 'ServiceDeploymentAlarms')
|
326
336
|
ServiceDeploymentBrief = Shapes::StructureShape.new(name: 'ServiceDeploymentBrief')
|
327
337
|
ServiceDeploymentCircuitBreaker = Shapes::StructureShape.new(name: 'ServiceDeploymentCircuitBreaker')
|
338
|
+
ServiceDeploymentLifecycleStage = Shapes::StringShape.new(name: 'ServiceDeploymentLifecycleStage')
|
328
339
|
ServiceDeploymentNotFoundException = Shapes::StructureShape.new(name: 'ServiceDeploymentNotFoundException')
|
329
340
|
ServiceDeploymentRollbackMonitorsStatus = Shapes::StringShape.new(name: 'ServiceDeploymentRollbackMonitorsStatus')
|
330
341
|
ServiceDeploymentStatus = Shapes::StringShape.new(name: 'ServiceDeploymentStatus')
|
@@ -341,6 +352,8 @@ module Aws::ECS
|
|
341
352
|
ServiceRegistries = Shapes::ListShape.new(name: 'ServiceRegistries')
|
342
353
|
ServiceRegistry = Shapes::StructureShape.new(name: 'ServiceRegistry')
|
343
354
|
ServiceRevision = Shapes::StructureShape.new(name: 'ServiceRevision')
|
355
|
+
ServiceRevisionLoadBalancer = Shapes::StructureShape.new(name: 'ServiceRevisionLoadBalancer')
|
356
|
+
ServiceRevisionLoadBalancers = Shapes::ListShape.new(name: 'ServiceRevisionLoadBalancers')
|
344
357
|
ServiceRevisionSummary = Shapes::StructureShape.new(name: 'ServiceRevisionSummary')
|
345
358
|
ServiceRevisions = Shapes::ListShape.new(name: 'ServiceRevisions')
|
346
359
|
ServiceRevisionsSummaryList = Shapes::ListShape.new(name: 'ServiceRevisionsSummaryList')
|
@@ -450,6 +463,12 @@ module Aws::ECS
|
|
450
463
|
|
451
464
|
AccessDeniedException.struct_class = Types::AccessDeniedException
|
452
465
|
|
466
|
+
AdvancedConfiguration.add_member(:alternate_target_group_arn, Shapes::ShapeRef.new(shape: String, location_name: "alternateTargetGroupArn"))
|
467
|
+
AdvancedConfiguration.add_member(:production_listener_rule, Shapes::ShapeRef.new(shape: String, location_name: "productionListenerRule"))
|
468
|
+
AdvancedConfiguration.add_member(:test_listener_rule, Shapes::ShapeRef.new(shape: String, location_name: "testListenerRule"))
|
469
|
+
AdvancedConfiguration.add_member(:role_arn, Shapes::ShapeRef.new(shape: String, location_name: "roleArn"))
|
470
|
+
AdvancedConfiguration.struct_class = Types::AdvancedConfiguration
|
471
|
+
|
453
472
|
Attachment.add_member(:id, Shapes::ShapeRef.new(shape: String, location_name: "id"))
|
454
473
|
Attachment.add_member(:type, Shapes::ShapeRef.new(shape: String, location_name: "type"))
|
455
474
|
Attachment.add_member(:status, Shapes::ShapeRef.new(shape: String, location_name: "status"))
|
@@ -863,6 +882,9 @@ module Aws::ECS
|
|
863
882
|
DeploymentConfiguration.add_member(:maximum_percent, Shapes::ShapeRef.new(shape: BoxedInteger, location_name: "maximumPercent"))
|
864
883
|
DeploymentConfiguration.add_member(:minimum_healthy_percent, Shapes::ShapeRef.new(shape: BoxedInteger, location_name: "minimumHealthyPercent"))
|
865
884
|
DeploymentConfiguration.add_member(:alarms, Shapes::ShapeRef.new(shape: DeploymentAlarms, location_name: "alarms"))
|
885
|
+
DeploymentConfiguration.add_member(:strategy, Shapes::ShapeRef.new(shape: DeploymentStrategy, location_name: "strategy"))
|
886
|
+
DeploymentConfiguration.add_member(:bake_time_in_minutes, Shapes::ShapeRef.new(shape: BoxedInteger, location_name: "bakeTimeInMinutes"))
|
887
|
+
DeploymentConfiguration.add_member(:lifecycle_hooks, Shapes::ShapeRef.new(shape: DeploymentLifecycleHookList, location_name: "lifecycleHooks"))
|
866
888
|
DeploymentConfiguration.struct_class = Types::DeploymentConfiguration
|
867
889
|
|
868
890
|
DeploymentController.add_member(:type, Shapes::ShapeRef.new(shape: DeploymentControllerType, required: true, location_name: "type"))
|
@@ -871,6 +893,15 @@ module Aws::ECS
|
|
871
893
|
DeploymentEphemeralStorage.add_member(:kms_key_id, Shapes::ShapeRef.new(shape: String, location_name: "kmsKeyId"))
|
872
894
|
DeploymentEphemeralStorage.struct_class = Types::DeploymentEphemeralStorage
|
873
895
|
|
896
|
+
DeploymentLifecycleHook.add_member(:hook_target_arn, Shapes::ShapeRef.new(shape: String, location_name: "hookTargetArn"))
|
897
|
+
DeploymentLifecycleHook.add_member(:role_arn, Shapes::ShapeRef.new(shape: IAMRoleArn, location_name: "roleArn"))
|
898
|
+
DeploymentLifecycleHook.add_member(:lifecycle_stages, Shapes::ShapeRef.new(shape: DeploymentLifecycleHookStageList, location_name: "lifecycleStages"))
|
899
|
+
DeploymentLifecycleHook.struct_class = Types::DeploymentLifecycleHook
|
900
|
+
|
901
|
+
DeploymentLifecycleHookList.member = Shapes::ShapeRef.new(shape: DeploymentLifecycleHook)
|
902
|
+
|
903
|
+
DeploymentLifecycleHookStageList.member = Shapes::ShapeRef.new(shape: DeploymentLifecycleHookStage)
|
904
|
+
|
874
905
|
Deployments.member = Shapes::ShapeRef.new(shape: Deployment)
|
875
906
|
|
876
907
|
DeregisterContainerInstanceRequest.add_member(:cluster, Shapes::ShapeRef.new(shape: String, location_name: "cluster"))
|
@@ -1262,6 +1293,7 @@ module Aws::ECS
|
|
1262
1293
|
LoadBalancer.add_member(:load_balancer_name, Shapes::ShapeRef.new(shape: String, location_name: "loadBalancerName"))
|
1263
1294
|
LoadBalancer.add_member(:container_name, Shapes::ShapeRef.new(shape: String, location_name: "containerName"))
|
1264
1295
|
LoadBalancer.add_member(:container_port, Shapes::ShapeRef.new(shape: BoxedInteger, location_name: "containerPort"))
|
1296
|
+
LoadBalancer.add_member(:advanced_configuration, Shapes::ShapeRef.new(shape: AdvancedConfiguration, location_name: "advancedConfiguration"))
|
1265
1297
|
LoadBalancer.struct_class = Types::LoadBalancer
|
1266
1298
|
|
1267
1299
|
LoadBalancers.member = Shapes::ShapeRef.new(shape: LoadBalancer)
|
@@ -1453,6 +1485,9 @@ module Aws::ECS
|
|
1453
1485
|
|
1454
1486
|
RequiresAttributes.member = Shapes::ShapeRef.new(shape: Attribute)
|
1455
1487
|
|
1488
|
+
ResolvedConfiguration.add_member(:load_balancers, Shapes::ShapeRef.new(shape: ServiceRevisionLoadBalancers, location_name: "loadBalancers"))
|
1489
|
+
ResolvedConfiguration.struct_class = Types::ResolvedConfiguration
|
1490
|
+
|
1456
1491
|
Resource.add_member(:name, Shapes::ShapeRef.new(shape: String, location_name: "name"))
|
1457
1492
|
Resource.add_member(:type, Shapes::ShapeRef.new(shape: String, location_name: "type"))
|
1458
1493
|
Resource.add_member(:double_value, Shapes::ShapeRef.new(shape: Double, location_name: "doubleValue"))
|
@@ -1558,6 +1593,7 @@ module Aws::ECS
|
|
1558
1593
|
|
1559
1594
|
ServiceConnectClientAlias.add_member(:port, Shapes::ShapeRef.new(shape: PortNumber, required: true, location_name: "port"))
|
1560
1595
|
ServiceConnectClientAlias.add_member(:dns_name, Shapes::ShapeRef.new(shape: String, location_name: "dnsName"))
|
1596
|
+
ServiceConnectClientAlias.add_member(:test_traffic_rules, Shapes::ShapeRef.new(shape: ServiceConnectTestTrafficRules, location_name: "testTrafficRules"))
|
1561
1597
|
ServiceConnectClientAlias.struct_class = Types::ServiceConnectClientAlias
|
1562
1598
|
|
1563
1599
|
ServiceConnectClientAliasList.member = Shapes::ShapeRef.new(shape: ServiceConnectClientAlias)
|
@@ -1584,6 +1620,16 @@ module Aws::ECS
|
|
1584
1620
|
|
1585
1621
|
ServiceConnectServiceResourceList.member = Shapes::ShapeRef.new(shape: ServiceConnectServiceResource)
|
1586
1622
|
|
1623
|
+
ServiceConnectTestTrafficHeaderMatchRules.add_member(:exact, Shapes::ShapeRef.new(shape: String, required: true, location_name: "exact"))
|
1624
|
+
ServiceConnectTestTrafficHeaderMatchRules.struct_class = Types::ServiceConnectTestTrafficHeaderMatchRules
|
1625
|
+
|
1626
|
+
ServiceConnectTestTrafficHeaderRules.add_member(:name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "name"))
|
1627
|
+
ServiceConnectTestTrafficHeaderRules.add_member(:value, Shapes::ShapeRef.new(shape: ServiceConnectTestTrafficHeaderMatchRules, location_name: "value"))
|
1628
|
+
ServiceConnectTestTrafficHeaderRules.struct_class = Types::ServiceConnectTestTrafficHeaderRules
|
1629
|
+
|
1630
|
+
ServiceConnectTestTrafficRules.add_member(:header, Shapes::ShapeRef.new(shape: ServiceConnectTestTrafficHeaderRules, required: true, location_name: "header"))
|
1631
|
+
ServiceConnectTestTrafficRules.struct_class = Types::ServiceConnectTestTrafficRules
|
1632
|
+
|
1587
1633
|
ServiceConnectTlsCertificateAuthority.add_member(:aws_pca_authority_arn, Shapes::ShapeRef.new(shape: String, location_name: "awsPcaAuthorityArn"))
|
1588
1634
|
ServiceConnectTlsCertificateAuthority.struct_class = Types::ServiceConnectTlsCertificateAuthority
|
1589
1635
|
|
@@ -1604,6 +1650,7 @@ module Aws::ECS
|
|
1604
1650
|
ServiceDeployment.add_member(:target_service_revision, Shapes::ShapeRef.new(shape: ServiceRevisionSummary, location_name: "targetServiceRevision"))
|
1605
1651
|
ServiceDeployment.add_member(:status, Shapes::ShapeRef.new(shape: ServiceDeploymentStatus, location_name: "status"))
|
1606
1652
|
ServiceDeployment.add_member(:status_reason, Shapes::ShapeRef.new(shape: String, location_name: "statusReason"))
|
1653
|
+
ServiceDeployment.add_member(:lifecycle_stage, Shapes::ShapeRef.new(shape: ServiceDeploymentLifecycleStage, location_name: "lifecycleStage"))
|
1607
1654
|
ServiceDeployment.add_member(:deployment_configuration, Shapes::ShapeRef.new(shape: DeploymentConfiguration, location_name: "deploymentConfiguration"))
|
1608
1655
|
ServiceDeployment.add_member(:rollback, Shapes::ShapeRef.new(shape: Rollback, location_name: "rollback"))
|
1609
1656
|
ServiceDeployment.add_member(:deployment_circuit_breaker, Shapes::ShapeRef.new(shape: ServiceDeploymentCircuitBreaker, location_name: "deploymentCircuitBreaker"))
|
@@ -1691,8 +1738,15 @@ module Aws::ECS
|
|
1691
1738
|
ServiceRevision.add_member(:fargate_ephemeral_storage, Shapes::ShapeRef.new(shape: DeploymentEphemeralStorage, location_name: "fargateEphemeralStorage"))
|
1692
1739
|
ServiceRevision.add_member(:created_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "createdAt"))
|
1693
1740
|
ServiceRevision.add_member(:vpc_lattice_configurations, Shapes::ShapeRef.new(shape: VpcLatticeConfigurations, location_name: "vpcLatticeConfigurations"))
|
1741
|
+
ServiceRevision.add_member(:resolved_configuration, Shapes::ShapeRef.new(shape: ResolvedConfiguration, location_name: "resolvedConfiguration"))
|
1694
1742
|
ServiceRevision.struct_class = Types::ServiceRevision
|
1695
1743
|
|
1744
|
+
ServiceRevisionLoadBalancer.add_member(:target_group_arn, Shapes::ShapeRef.new(shape: String, location_name: "targetGroupArn"))
|
1745
|
+
ServiceRevisionLoadBalancer.add_member(:production_listener_rule, Shapes::ShapeRef.new(shape: String, location_name: "productionListenerRule"))
|
1746
|
+
ServiceRevisionLoadBalancer.struct_class = Types::ServiceRevisionLoadBalancer
|
1747
|
+
|
1748
|
+
ServiceRevisionLoadBalancers.member = Shapes::ShapeRef.new(shape: ServiceRevisionLoadBalancer)
|
1749
|
+
|
1696
1750
|
ServiceRevisionSummary.add_member(:arn, Shapes::ShapeRef.new(shape: String, location_name: "arn"))
|
1697
1751
|
ServiceRevisionSummary.add_member(:requested_task_count, Shapes::ShapeRef.new(shape: Integer, location_name: "requestedTaskCount"))
|
1698
1752
|
ServiceRevisionSummary.add_member(:running_task_count, Shapes::ShapeRef.new(shape: Integer, location_name: "runningTaskCount"))
|
@@ -2061,6 +2115,7 @@ module Aws::ECS
|
|
2061
2115
|
UpdateServiceRequest.add_member(:platform_version, Shapes::ShapeRef.new(shape: String, location_name: "platformVersion"))
|
2062
2116
|
UpdateServiceRequest.add_member(:force_new_deployment, Shapes::ShapeRef.new(shape: Boolean, location_name: "forceNewDeployment"))
|
2063
2117
|
UpdateServiceRequest.add_member(:health_check_grace_period_seconds, Shapes::ShapeRef.new(shape: BoxedInteger, location_name: "healthCheckGracePeriodSeconds"))
|
2118
|
+
UpdateServiceRequest.add_member(:deployment_controller, Shapes::ShapeRef.new(shape: DeploymentController, location_name: "deploymentController"))
|
2064
2119
|
UpdateServiceRequest.add_member(:enable_execute_command, Shapes::ShapeRef.new(shape: BoxedBoolean, location_name: "enableExecuteCommand"))
|
2065
2120
|
UpdateServiceRequest.add_member(:enable_ecs_managed_tags, Shapes::ShapeRef.new(shape: BoxedBoolean, location_name: "enableECSManagedTags"))
|
2066
2121
|
UpdateServiceRequest.add_member(:load_balancers, Shapes::ShapeRef.new(shape: LoadBalancers, location_name: "loadBalancers"))
|