aws-sdk-ecs 1.152.0 → 1.161.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 +45 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-ecs/client.rb +258 -143
- data/lib/aws-sdk-ecs/client_api.rb +11 -0
- data/lib/aws-sdk-ecs/endpoints.rb +56 -224
- data/lib/aws-sdk-ecs/plugins/endpoints.rb +18 -6
- data/lib/aws-sdk-ecs/types.rb +551 -625
- data/lib/aws-sdk-ecs.rb +16 -12
- data/sig/client.rbs +7 -0
- data/sig/resource.rbs +2 -0
- data/sig/types.rbs +8 -0
- metadata +4 -4
@@ -7,6 +7,7 @@
|
|
7
7
|
#
|
8
8
|
# WARNING ABOUT GENERATED CODE
|
9
9
|
|
10
|
+
|
10
11
|
module Aws::ECS
|
11
12
|
# @api private
|
12
13
|
module ClientApi
|
@@ -76,6 +77,7 @@ module Aws::ECS
|
|
76
77
|
ContainerInstances = Shapes::ListShape.new(name: 'ContainerInstances')
|
77
78
|
ContainerOverride = Shapes::StructureShape.new(name: 'ContainerOverride')
|
78
79
|
ContainerOverrides = Shapes::ListShape.new(name: 'ContainerOverrides')
|
80
|
+
ContainerRestartPolicy = Shapes::StructureShape.new(name: 'ContainerRestartPolicy')
|
79
81
|
ContainerStateChange = Shapes::StructureShape.new(name: 'ContainerStateChange')
|
80
82
|
ContainerStateChanges = Shapes::ListShape.new(name: 'ContainerStateChanges')
|
81
83
|
Containers = Shapes::ListShape.new(name: 'Containers')
|
@@ -185,6 +187,7 @@ module Aws::ECS
|
|
185
187
|
InstanceHealthCheckState = Shapes::StringShape.new(name: 'InstanceHealthCheckState')
|
186
188
|
InstanceHealthCheckType = Shapes::StringShape.new(name: 'InstanceHealthCheckType')
|
187
189
|
Integer = Shapes::IntegerShape.new(name: 'Integer')
|
190
|
+
IntegerList = Shapes::ListShape.new(name: 'IntegerList')
|
188
191
|
InvalidParameterException = Shapes::StructureShape.new(name: 'InvalidParameterException')
|
189
192
|
IpcMode = Shapes::StringShape.new(name: 'IpcMode')
|
190
193
|
KernelCapabilities = Shapes::StructureShape.new(name: 'KernelCapabilities')
|
@@ -562,6 +565,7 @@ module Aws::ECS
|
|
562
565
|
ContainerDefinition.add_member(:links, Shapes::ShapeRef.new(shape: StringList, location_name: "links"))
|
563
566
|
ContainerDefinition.add_member(:port_mappings, Shapes::ShapeRef.new(shape: PortMappingList, location_name: "portMappings"))
|
564
567
|
ContainerDefinition.add_member(:essential, Shapes::ShapeRef.new(shape: BoxedBoolean, location_name: "essential"))
|
568
|
+
ContainerDefinition.add_member(:restart_policy, Shapes::ShapeRef.new(shape: ContainerRestartPolicy, location_name: "restartPolicy"))
|
565
569
|
ContainerDefinition.add_member(:entry_point, Shapes::ShapeRef.new(shape: StringList, location_name: "entryPoint"))
|
566
570
|
ContainerDefinition.add_member(:command, Shapes::ShapeRef.new(shape: StringList, location_name: "command"))
|
567
571
|
ContainerDefinition.add_member(:environment, Shapes::ShapeRef.new(shape: EnvironmentVariables, location_name: "environment"))
|
@@ -643,6 +647,11 @@ module Aws::ECS
|
|
643
647
|
|
644
648
|
ContainerOverrides.member = Shapes::ShapeRef.new(shape: ContainerOverride)
|
645
649
|
|
650
|
+
ContainerRestartPolicy.add_member(:enabled, Shapes::ShapeRef.new(shape: BoxedBoolean, required: true, location_name: "enabled"))
|
651
|
+
ContainerRestartPolicy.add_member(:ignored_exit_codes, Shapes::ShapeRef.new(shape: IntegerList, location_name: "ignoredExitCodes"))
|
652
|
+
ContainerRestartPolicy.add_member(:restart_attempt_period, Shapes::ShapeRef.new(shape: BoxedInteger, location_name: "restartAttemptPeriod"))
|
653
|
+
ContainerRestartPolicy.struct_class = Types::ContainerRestartPolicy
|
654
|
+
|
646
655
|
ContainerStateChange.add_member(:container_name, Shapes::ShapeRef.new(shape: String, location_name: "containerName"))
|
647
656
|
ContainerStateChange.add_member(:image_digest, Shapes::ShapeRef.new(shape: String, location_name: "imageDigest"))
|
648
657
|
ContainerStateChange.add_member(:runtime_id, Shapes::ShapeRef.new(shape: String, location_name: "runtimeId"))
|
@@ -1049,6 +1058,8 @@ module Aws::ECS
|
|
1049
1058
|
|
1050
1059
|
InstanceHealthCheckResultList.member = Shapes::ShapeRef.new(shape: InstanceHealthCheckResult)
|
1051
1060
|
|
1061
|
+
IntegerList.member = Shapes::ShapeRef.new(shape: BoxedInteger)
|
1062
|
+
|
1052
1063
|
InvalidParameterException.struct_class = Types::InvalidParameterException
|
1053
1064
|
|
1054
1065
|
KernelCapabilities.add_member(:add, Shapes::ShapeRef.new(shape: StringList, location_name: "add"))
|