aws-sdk-ecs 1.151.0 → 1.157.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.
@@ -76,6 +76,7 @@ module Aws::ECS
76
76
  ContainerInstances = Shapes::ListShape.new(name: 'ContainerInstances')
77
77
  ContainerOverride = Shapes::StructureShape.new(name: 'ContainerOverride')
78
78
  ContainerOverrides = Shapes::ListShape.new(name: 'ContainerOverrides')
79
+ ContainerRestartPolicy = Shapes::StructureShape.new(name: 'ContainerRestartPolicy')
79
80
  ContainerStateChange = Shapes::StructureShape.new(name: 'ContainerStateChange')
80
81
  ContainerStateChanges = Shapes::ListShape.new(name: 'ContainerStateChanges')
81
82
  Containers = Shapes::ListShape.new(name: 'Containers')
@@ -185,6 +186,7 @@ module Aws::ECS
185
186
  InstanceHealthCheckState = Shapes::StringShape.new(name: 'InstanceHealthCheckState')
186
187
  InstanceHealthCheckType = Shapes::StringShape.new(name: 'InstanceHealthCheckType')
187
188
  Integer = Shapes::IntegerShape.new(name: 'Integer')
189
+ IntegerList = Shapes::ListShape.new(name: 'IntegerList')
188
190
  InvalidParameterException = Shapes::StructureShape.new(name: 'InvalidParameterException')
189
191
  IpcMode = Shapes::StringShape.new(name: 'IpcMode')
190
192
  KernelCapabilities = Shapes::StructureShape.new(name: 'KernelCapabilities')
@@ -562,6 +564,7 @@ module Aws::ECS
562
564
  ContainerDefinition.add_member(:links, Shapes::ShapeRef.new(shape: StringList, location_name: "links"))
563
565
  ContainerDefinition.add_member(:port_mappings, Shapes::ShapeRef.new(shape: PortMappingList, location_name: "portMappings"))
564
566
  ContainerDefinition.add_member(:essential, Shapes::ShapeRef.new(shape: BoxedBoolean, location_name: "essential"))
567
+ ContainerDefinition.add_member(:restart_policy, Shapes::ShapeRef.new(shape: ContainerRestartPolicy, location_name: "restartPolicy"))
565
568
  ContainerDefinition.add_member(:entry_point, Shapes::ShapeRef.new(shape: StringList, location_name: "entryPoint"))
566
569
  ContainerDefinition.add_member(:command, Shapes::ShapeRef.new(shape: StringList, location_name: "command"))
567
570
  ContainerDefinition.add_member(:environment, Shapes::ShapeRef.new(shape: EnvironmentVariables, location_name: "environment"))
@@ -643,6 +646,11 @@ module Aws::ECS
643
646
 
644
647
  ContainerOverrides.member = Shapes::ShapeRef.new(shape: ContainerOverride)
645
648
 
649
+ ContainerRestartPolicy.add_member(:enabled, Shapes::ShapeRef.new(shape: BoxedBoolean, required: true, location_name: "enabled"))
650
+ ContainerRestartPolicy.add_member(:ignored_exit_codes, Shapes::ShapeRef.new(shape: IntegerList, location_name: "ignoredExitCodes"))
651
+ ContainerRestartPolicy.add_member(:restart_attempt_period, Shapes::ShapeRef.new(shape: BoxedInteger, location_name: "restartAttemptPeriod"))
652
+ ContainerRestartPolicy.struct_class = Types::ContainerRestartPolicy
653
+
646
654
  ContainerStateChange.add_member(:container_name, Shapes::ShapeRef.new(shape: String, location_name: "containerName"))
647
655
  ContainerStateChange.add_member(:image_digest, Shapes::ShapeRef.new(shape: String, location_name: "imageDigest"))
648
656
  ContainerStateChange.add_member(:runtime_id, Shapes::ShapeRef.new(shape: String, location_name: "runtimeId"))
@@ -1049,6 +1057,8 @@ module Aws::ECS
1049
1057
 
1050
1058
  InstanceHealthCheckResultList.member = Shapes::ShapeRef.new(shape: InstanceHealthCheckResult)
1051
1059
 
1060
+ IntegerList.member = Shapes::ShapeRef.new(shape: BoxedInteger)
1061
+
1052
1062
  InvalidParameterException.struct_class = Types::InvalidParameterException
1053
1063
 
1054
1064
  KernelCapabilities.add_member(:add, Shapes::ShapeRef.new(shape: StringList, location_name: "add"))