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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +75 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-ecs/client.rb +207 -103
- data/lib/aws-sdk-ecs/client_api.rb +3 -0
- data/lib/aws-sdk-ecs/endpoint_provider.rb +1 -1
- data/lib/aws-sdk-ecs/endpoints.rb +1 -0
- data/lib/aws-sdk-ecs/types.rb +335 -116
- data/lib/aws-sdk-ecs.rb +1 -1
- metadata +4 -4
@@ -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?(
|
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"
|