aws-sdk-ecs 1.116.0 → 1.131.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -559,6 +559,7 @@ module Aws::ECS
559
559
  ContainerDefinition.add_member(:system_controls, Shapes::ShapeRef.new(shape: SystemControls, location_name: "systemControls"))
560
560
  ContainerDefinition.add_member(:resource_requirements, Shapes::ShapeRef.new(shape: ResourceRequirements, location_name: "resourceRequirements"))
561
561
  ContainerDefinition.add_member(:firelens_configuration, Shapes::ShapeRef.new(shape: FirelensConfiguration, location_name: "firelensConfiguration"))
562
+ ContainerDefinition.add_member(:credential_specs, Shapes::ShapeRef.new(shape: StringList, location_name: "credentialSpecs"))
562
563
  ContainerDefinition.struct_class = Types::ContainerDefinition
563
564
 
564
565
  ContainerDefinitions.member = Shapes::ShapeRef.new(shape: ContainerDefinition)
@@ -1857,6 +1858,7 @@ module Aws::ECS
1857
1858
  o.errors << Shapes::ShapeRef.new(shape: ServerException)
1858
1859
  o.errors << Shapes::ShapeRef.new(shape: ClientException)
1859
1860
  o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
1861
+ o.errors << Shapes::ShapeRef.new(shape: NamespaceNotFoundException)
1860
1862
  end)
1861
1863
 
1862
1864
  api.add_operation(:create_service, Seahorse::Model::Operation.new.tap do |o|
@@ -2495,6 +2497,7 @@ module Aws::ECS
2495
2497
  o.errors << Shapes::ShapeRef.new(shape: ClientException)
2496
2498
  o.errors << Shapes::ShapeRef.new(shape: ClusterNotFoundException)
2497
2499
  o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
2500
+ o.errors << Shapes::ShapeRef.new(shape: NamespaceNotFoundException)
2498
2501
  end)
2499
2502
 
2500
2503
  api.add_operation(:update_cluster_settings, Seahorse::Model::Operation.new.tap do |o|
@@ -32,7 +32,7 @@ module Aws::ECS
32
32
  raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
33
33
  end
34
34
  if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
35
- if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
35
+ if Aws::Endpoints::Matchers.boolean_equals?(Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"), true)
36
36
  return Aws::Endpoints::Endpoint.new(url: "https://ecs-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
37
37
  end
38
38
  raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
@@ -9,6 +9,7 @@
9
9
 
10
10
 
11
11
  module Aws::ECS
12
+ # @api private
12
13
  module Endpoints
13
14
 
14
15
  class CreateCapacityProvider