aws-sdk-ecs 1.105.0 → 1.106.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 +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-ecs/client.rb +338 -14
- data/lib/aws-sdk-ecs/client_api.rb +88 -0
- data/lib/aws-sdk-ecs/endpoints.rb +14 -0
- data/lib/aws-sdk-ecs/errors.rb +11 -0
- data/lib/aws-sdk-ecs/plugins/endpoints.rb +2 -0
- data/lib/aws-sdk-ecs/types.rb +837 -26
- data/lib/aws-sdk-ecs.rb +1 -1
- metadata +2 -2
@@ -15,6 +15,7 @@ module Aws::ECS
|
|
15
15
|
|
16
16
|
AccessDeniedException = Shapes::StructureShape.new(name: 'AccessDeniedException')
|
17
17
|
AgentUpdateStatus = Shapes::StringShape.new(name: 'AgentUpdateStatus')
|
18
|
+
ApplicationProtocol = Shapes::StringShape.new(name: 'ApplicationProtocol')
|
18
19
|
AssignPublicIp = Shapes::StringShape.new(name: 'AssignPublicIp')
|
19
20
|
Attachment = Shapes::StructureShape.new(name: 'Attachment')
|
20
21
|
AttachmentDetails = Shapes::ListShape.new(name: 'AttachmentDetails')
|
@@ -51,6 +52,8 @@ module Aws::ECS
|
|
51
52
|
ClusterField = Shapes::StringShape.new(name: 'ClusterField')
|
52
53
|
ClusterFieldList = Shapes::ListShape.new(name: 'ClusterFieldList')
|
53
54
|
ClusterNotFoundException = Shapes::StructureShape.new(name: 'ClusterNotFoundException')
|
55
|
+
ClusterServiceConnectDefaults = Shapes::StructureShape.new(name: 'ClusterServiceConnectDefaults')
|
56
|
+
ClusterServiceConnectDefaultsRequest = Shapes::StructureShape.new(name: 'ClusterServiceConnectDefaultsRequest')
|
54
57
|
ClusterSetting = Shapes::StructureShape.new(name: 'ClusterSetting')
|
55
58
|
ClusterSettingName = Shapes::StringShape.new(name: 'ClusterSettingName')
|
56
59
|
ClusterSettings = Shapes::ListShape.new(name: 'ClusterSettings')
|
@@ -183,6 +186,8 @@ module Aws::ECS
|
|
183
186
|
ListClustersResponse = Shapes::StructureShape.new(name: 'ListClustersResponse')
|
184
187
|
ListContainerInstancesRequest = Shapes::StructureShape.new(name: 'ListContainerInstancesRequest')
|
185
188
|
ListContainerInstancesResponse = Shapes::StructureShape.new(name: 'ListContainerInstancesResponse')
|
189
|
+
ListServicesByNamespaceRequest = Shapes::StructureShape.new(name: 'ListServicesByNamespaceRequest')
|
190
|
+
ListServicesByNamespaceResponse = Shapes::StructureShape.new(name: 'ListServicesByNamespaceResponse')
|
186
191
|
ListServicesRequest = Shapes::StructureShape.new(name: 'ListServicesRequest')
|
187
192
|
ListServicesResponse = Shapes::StructureShape.new(name: 'ListServicesResponse')
|
188
193
|
ListTagsForResourceRequest = Shapes::StructureShape.new(name: 'ListTagsForResourceRequest')
|
@@ -213,6 +218,7 @@ module Aws::ECS
|
|
213
218
|
MissingVersionException = Shapes::StructureShape.new(name: 'MissingVersionException')
|
214
219
|
MountPoint = Shapes::StructureShape.new(name: 'MountPoint')
|
215
220
|
MountPointList = Shapes::ListShape.new(name: 'MountPointList')
|
221
|
+
NamespaceNotFoundException = Shapes::StructureShape.new(name: 'NamespaceNotFoundException')
|
216
222
|
NetworkBinding = Shapes::StructureShape.new(name: 'NetworkBinding')
|
217
223
|
NetworkBindings = Shapes::ListShape.new(name: 'NetworkBindings')
|
218
224
|
NetworkConfiguration = Shapes::StructureShape.new(name: 'NetworkConfiguration')
|
@@ -235,6 +241,7 @@ module Aws::ECS
|
|
235
241
|
PlatformUnknownException = Shapes::StructureShape.new(name: 'PlatformUnknownException')
|
236
242
|
PortMapping = Shapes::StructureShape.new(name: 'PortMapping')
|
237
243
|
PortMappingList = Shapes::ListShape.new(name: 'PortMappingList')
|
244
|
+
PortNumber = Shapes::IntegerShape.new(name: 'PortNumber')
|
238
245
|
PropagateTags = Shapes::StringShape.new(name: 'PropagateTags')
|
239
246
|
ProtectedTask = Shapes::StructureShape.new(name: 'ProtectedTask')
|
240
247
|
ProtectedTasks = Shapes::ListShape.new(name: 'ProtectedTasks')
|
@@ -274,6 +281,13 @@ module Aws::ECS
|
|
274
281
|
SensitiveString = Shapes::StringShape.new(name: 'SensitiveString')
|
275
282
|
ServerException = Shapes::StructureShape.new(name: 'ServerException')
|
276
283
|
Service = Shapes::StructureShape.new(name: 'Service')
|
284
|
+
ServiceConnectClientAlias = Shapes::StructureShape.new(name: 'ServiceConnectClientAlias')
|
285
|
+
ServiceConnectClientAliasList = Shapes::ListShape.new(name: 'ServiceConnectClientAliasList')
|
286
|
+
ServiceConnectConfiguration = Shapes::StructureShape.new(name: 'ServiceConnectConfiguration')
|
287
|
+
ServiceConnectService = Shapes::StructureShape.new(name: 'ServiceConnectService')
|
288
|
+
ServiceConnectServiceList = Shapes::ListShape.new(name: 'ServiceConnectServiceList')
|
289
|
+
ServiceConnectServiceResource = Shapes::StructureShape.new(name: 'ServiceConnectServiceResource')
|
290
|
+
ServiceConnectServiceResourceList = Shapes::ListShape.new(name: 'ServiceConnectServiceResourceList')
|
277
291
|
ServiceEvent = Shapes::StructureShape.new(name: 'ServiceEvent')
|
278
292
|
ServiceEvents = Shapes::ListShape.new(name: 'ServiceEvents')
|
279
293
|
ServiceField = Shapes::StringShape.new(name: 'ServiceField')
|
@@ -451,6 +465,7 @@ module Aws::ECS
|
|
451
465
|
Cluster.add_member(:default_capacity_provider_strategy, Shapes::ShapeRef.new(shape: CapacityProviderStrategy, location_name: "defaultCapacityProviderStrategy"))
|
452
466
|
Cluster.add_member(:attachments, Shapes::ShapeRef.new(shape: Attachments, location_name: "attachments"))
|
453
467
|
Cluster.add_member(:attachments_status, Shapes::ShapeRef.new(shape: String, location_name: "attachmentsStatus"))
|
468
|
+
Cluster.add_member(:service_connect_defaults, Shapes::ShapeRef.new(shape: ClusterServiceConnectDefaults, location_name: "serviceConnectDefaults"))
|
454
469
|
Cluster.struct_class = Types::Cluster
|
455
470
|
|
456
471
|
ClusterConfiguration.add_member(:execute_command_configuration, Shapes::ShapeRef.new(shape: ExecuteCommandConfiguration, location_name: "executeCommandConfiguration"))
|
@@ -466,6 +481,12 @@ module Aws::ECS
|
|
466
481
|
|
467
482
|
ClusterNotFoundException.struct_class = Types::ClusterNotFoundException
|
468
483
|
|
484
|
+
ClusterServiceConnectDefaults.add_member(:namespace, Shapes::ShapeRef.new(shape: String, location_name: "namespace"))
|
485
|
+
ClusterServiceConnectDefaults.struct_class = Types::ClusterServiceConnectDefaults
|
486
|
+
|
487
|
+
ClusterServiceConnectDefaultsRequest.add_member(:namespace, Shapes::ShapeRef.new(shape: String, required: true, location_name: "namespace"))
|
488
|
+
ClusterServiceConnectDefaultsRequest.struct_class = Types::ClusterServiceConnectDefaultsRequest
|
489
|
+
|
469
490
|
ClusterSetting.add_member(:name, Shapes::ShapeRef.new(shape: ClusterSettingName, location_name: "name"))
|
470
491
|
ClusterSetting.add_member(:value, Shapes::ShapeRef.new(shape: String, location_name: "value"))
|
471
492
|
ClusterSetting.struct_class = Types::ClusterSetting
|
@@ -611,6 +632,7 @@ module Aws::ECS
|
|
611
632
|
CreateClusterRequest.add_member(:configuration, Shapes::ShapeRef.new(shape: ClusterConfiguration, location_name: "configuration"))
|
612
633
|
CreateClusterRequest.add_member(:capacity_providers, Shapes::ShapeRef.new(shape: StringList, location_name: "capacityProviders"))
|
613
634
|
CreateClusterRequest.add_member(:default_capacity_provider_strategy, Shapes::ShapeRef.new(shape: CapacityProviderStrategy, location_name: "defaultCapacityProviderStrategy"))
|
635
|
+
CreateClusterRequest.add_member(:service_connect_defaults, Shapes::ShapeRef.new(shape: ClusterServiceConnectDefaultsRequest, location_name: "serviceConnectDefaults"))
|
614
636
|
CreateClusterRequest.struct_class = Types::CreateClusterRequest
|
615
637
|
|
616
638
|
CreateClusterResponse.add_member(:cluster, Shapes::ShapeRef.new(shape: Cluster, location_name: "cluster"))
|
@@ -638,6 +660,7 @@ module Aws::ECS
|
|
638
660
|
CreateServiceRequest.add_member(:enable_ecs_managed_tags, Shapes::ShapeRef.new(shape: Boolean, location_name: "enableECSManagedTags"))
|
639
661
|
CreateServiceRequest.add_member(:propagate_tags, Shapes::ShapeRef.new(shape: PropagateTags, location_name: "propagateTags"))
|
640
662
|
CreateServiceRequest.add_member(:enable_execute_command, Shapes::ShapeRef.new(shape: Boolean, location_name: "enableExecuteCommand"))
|
663
|
+
CreateServiceRequest.add_member(:service_connect_configuration, Shapes::ShapeRef.new(shape: ServiceConnectConfiguration, location_name: "serviceConnectConfiguration"))
|
641
664
|
CreateServiceRequest.struct_class = Types::CreateServiceRequest
|
642
665
|
|
643
666
|
CreateServiceResponse.add_member(:service, Shapes::ShapeRef.new(shape: Service, location_name: "service"))
|
@@ -720,6 +743,8 @@ module Aws::ECS
|
|
720
743
|
Deployment.add_member(:network_configuration, Shapes::ShapeRef.new(shape: NetworkConfiguration, location_name: "networkConfiguration"))
|
721
744
|
Deployment.add_member(:rollout_state, Shapes::ShapeRef.new(shape: DeploymentRolloutState, location_name: "rolloutState"))
|
722
745
|
Deployment.add_member(:rollout_state_reason, Shapes::ShapeRef.new(shape: String, location_name: "rolloutStateReason"))
|
746
|
+
Deployment.add_member(:service_connect_configuration, Shapes::ShapeRef.new(shape: ServiceConnectConfiguration, location_name: "serviceConnectConfiguration"))
|
747
|
+
Deployment.add_member(:service_connect_resources, Shapes::ShapeRef.new(shape: ServiceConnectServiceResourceList, location_name: "serviceConnectResources"))
|
723
748
|
Deployment.struct_class = Types::Deployment
|
724
749
|
|
725
750
|
DeploymentCircuitBreaker.add_member(:enable, Shapes::ShapeRef.new(shape: Boolean, required: true, location_name: "enable"))
|
@@ -829,6 +854,7 @@ module Aws::ECS
|
|
829
854
|
|
830
855
|
DiscoverPollEndpointResponse.add_member(:endpoint, Shapes::ShapeRef.new(shape: String, location_name: "endpoint"))
|
831
856
|
DiscoverPollEndpointResponse.add_member(:telemetry_endpoint, Shapes::ShapeRef.new(shape: String, location_name: "telemetryEndpoint"))
|
857
|
+
DiscoverPollEndpointResponse.add_member(:service_connect_endpoint, Shapes::ShapeRef.new(shape: String, location_name: "serviceConnectEndpoint"))
|
832
858
|
DiscoverPollEndpointResponse.struct_class = Types::DiscoverPollEndpointResponse
|
833
859
|
|
834
860
|
DockerLabelsMap.key = Shapes::ShapeRef.new(shape: String)
|
@@ -1023,6 +1049,15 @@ module Aws::ECS
|
|
1023
1049
|
ListContainerInstancesResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "nextToken"))
|
1024
1050
|
ListContainerInstancesResponse.struct_class = Types::ListContainerInstancesResponse
|
1025
1051
|
|
1052
|
+
ListServicesByNamespaceRequest.add_member(:namespace, Shapes::ShapeRef.new(shape: String, required: true, location_name: "namespace"))
|
1053
|
+
ListServicesByNamespaceRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "nextToken"))
|
1054
|
+
ListServicesByNamespaceRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: BoxedInteger, location_name: "maxResults"))
|
1055
|
+
ListServicesByNamespaceRequest.struct_class = Types::ListServicesByNamespaceRequest
|
1056
|
+
|
1057
|
+
ListServicesByNamespaceResponse.add_member(:service_arns, Shapes::ShapeRef.new(shape: StringList, location_name: "serviceArns"))
|
1058
|
+
ListServicesByNamespaceResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "nextToken"))
|
1059
|
+
ListServicesByNamespaceResponse.struct_class = Types::ListServicesByNamespaceResponse
|
1060
|
+
|
1026
1061
|
ListServicesRequest.add_member(:cluster, Shapes::ShapeRef.new(shape: String, location_name: "cluster"))
|
1027
1062
|
ListServicesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "nextToken"))
|
1028
1063
|
ListServicesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: BoxedInteger, location_name: "maxResults"))
|
@@ -1124,6 +1159,8 @@ module Aws::ECS
|
|
1124
1159
|
|
1125
1160
|
MountPointList.member = Shapes::ShapeRef.new(shape: MountPoint)
|
1126
1161
|
|
1162
|
+
NamespaceNotFoundException.struct_class = Types::NamespaceNotFoundException
|
1163
|
+
|
1127
1164
|
NetworkBinding.add_member(:bind_ip, Shapes::ShapeRef.new(shape: String, location_name: "bindIP"))
|
1128
1165
|
NetworkBinding.add_member(:container_port, Shapes::ShapeRef.new(shape: BoxedInteger, location_name: "containerPort"))
|
1129
1166
|
NetworkBinding.add_member(:host_port, Shapes::ShapeRef.new(shape: BoxedInteger, location_name: "hostPort"))
|
@@ -1169,6 +1206,8 @@ module Aws::ECS
|
|
1169
1206
|
PortMapping.add_member(:container_port, Shapes::ShapeRef.new(shape: BoxedInteger, location_name: "containerPort"))
|
1170
1207
|
PortMapping.add_member(:host_port, Shapes::ShapeRef.new(shape: BoxedInteger, location_name: "hostPort"))
|
1171
1208
|
PortMapping.add_member(:protocol, Shapes::ShapeRef.new(shape: TransportProtocol, location_name: "protocol"))
|
1209
|
+
PortMapping.add_member(:name, Shapes::ShapeRef.new(shape: String, location_name: "name"))
|
1210
|
+
PortMapping.add_member(:app_protocol, Shapes::ShapeRef.new(shape: ApplicationProtocol, location_name: "appProtocol"))
|
1172
1211
|
PortMapping.struct_class = Types::PortMapping
|
1173
1212
|
|
1174
1213
|
PortMappingList.member = Shapes::ShapeRef.new(shape: PortMapping)
|
@@ -1352,6 +1391,32 @@ module Aws::ECS
|
|
1352
1391
|
Service.add_member(:enable_execute_command, Shapes::ShapeRef.new(shape: Boolean, location_name: "enableExecuteCommand"))
|
1353
1392
|
Service.struct_class = Types::Service
|
1354
1393
|
|
1394
|
+
ServiceConnectClientAlias.add_member(:port, Shapes::ShapeRef.new(shape: PortNumber, required: true, location_name: "port"))
|
1395
|
+
ServiceConnectClientAlias.add_member(:dns_name, Shapes::ShapeRef.new(shape: String, location_name: "dnsName"))
|
1396
|
+
ServiceConnectClientAlias.struct_class = Types::ServiceConnectClientAlias
|
1397
|
+
|
1398
|
+
ServiceConnectClientAliasList.member = Shapes::ShapeRef.new(shape: ServiceConnectClientAlias)
|
1399
|
+
|
1400
|
+
ServiceConnectConfiguration.add_member(:enabled, Shapes::ShapeRef.new(shape: Boolean, required: true, location_name: "enabled"))
|
1401
|
+
ServiceConnectConfiguration.add_member(:namespace, Shapes::ShapeRef.new(shape: String, location_name: "namespace"))
|
1402
|
+
ServiceConnectConfiguration.add_member(:services, Shapes::ShapeRef.new(shape: ServiceConnectServiceList, location_name: "services"))
|
1403
|
+
ServiceConnectConfiguration.add_member(:log_configuration, Shapes::ShapeRef.new(shape: LogConfiguration, location_name: "logConfiguration"))
|
1404
|
+
ServiceConnectConfiguration.struct_class = Types::ServiceConnectConfiguration
|
1405
|
+
|
1406
|
+
ServiceConnectService.add_member(:port_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "portName"))
|
1407
|
+
ServiceConnectService.add_member(:discovery_name, Shapes::ShapeRef.new(shape: String, location_name: "discoveryName"))
|
1408
|
+
ServiceConnectService.add_member(:client_aliases, Shapes::ShapeRef.new(shape: ServiceConnectClientAliasList, location_name: "clientAliases"))
|
1409
|
+
ServiceConnectService.add_member(:ingress_port_override, Shapes::ShapeRef.new(shape: PortNumber, location_name: "ingressPortOverride"))
|
1410
|
+
ServiceConnectService.struct_class = Types::ServiceConnectService
|
1411
|
+
|
1412
|
+
ServiceConnectServiceList.member = Shapes::ShapeRef.new(shape: ServiceConnectService)
|
1413
|
+
|
1414
|
+
ServiceConnectServiceResource.add_member(:discovery_name, Shapes::ShapeRef.new(shape: String, location_name: "discoveryName"))
|
1415
|
+
ServiceConnectServiceResource.add_member(:discovery_arn, Shapes::ShapeRef.new(shape: String, location_name: "discoveryArn"))
|
1416
|
+
ServiceConnectServiceResource.struct_class = Types::ServiceConnectServiceResource
|
1417
|
+
|
1418
|
+
ServiceConnectServiceResourceList.member = Shapes::ShapeRef.new(shape: ServiceConnectServiceResource)
|
1419
|
+
|
1355
1420
|
ServiceEvent.add_member(:id, Shapes::ShapeRef.new(shape: String, location_name: "id"))
|
1356
1421
|
ServiceEvent.add_member(:created_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "createdAt"))
|
1357
1422
|
ServiceEvent.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
|
@@ -1628,6 +1693,7 @@ module Aws::ECS
|
|
1628
1693
|
UpdateClusterRequest.add_member(:cluster, Shapes::ShapeRef.new(shape: String, required: true, location_name: "cluster"))
|
1629
1694
|
UpdateClusterRequest.add_member(:settings, Shapes::ShapeRef.new(shape: ClusterSettings, location_name: "settings"))
|
1630
1695
|
UpdateClusterRequest.add_member(:configuration, Shapes::ShapeRef.new(shape: ClusterConfiguration, location_name: "configuration"))
|
1696
|
+
UpdateClusterRequest.add_member(:service_connect_defaults, Shapes::ShapeRef.new(shape: ClusterServiceConnectDefaultsRequest, location_name: "serviceConnectDefaults"))
|
1631
1697
|
UpdateClusterRequest.struct_class = Types::UpdateClusterRequest
|
1632
1698
|
|
1633
1699
|
UpdateClusterResponse.add_member(:cluster, Shapes::ShapeRef.new(shape: Cluster, location_name: "cluster"))
|
@@ -1683,6 +1749,7 @@ module Aws::ECS
|
|
1683
1749
|
UpdateServiceRequest.add_member(:load_balancers, Shapes::ShapeRef.new(shape: LoadBalancers, location_name: "loadBalancers"))
|
1684
1750
|
UpdateServiceRequest.add_member(:propagate_tags, Shapes::ShapeRef.new(shape: PropagateTags, location_name: "propagateTags"))
|
1685
1751
|
UpdateServiceRequest.add_member(:service_registries, Shapes::ShapeRef.new(shape: ServiceRegistries, location_name: "serviceRegistries"))
|
1752
|
+
UpdateServiceRequest.add_member(:service_connect_configuration, Shapes::ShapeRef.new(shape: ServiceConnectConfiguration, location_name: "serviceConnectConfiguration"))
|
1686
1753
|
UpdateServiceRequest.struct_class = Types::UpdateServiceRequest
|
1687
1754
|
|
1688
1755
|
UpdateServiceResponse.add_member(:service, Shapes::ShapeRef.new(shape: Service, location_name: "service"))
|
@@ -1784,6 +1851,7 @@ module Aws::ECS
|
|
1784
1851
|
o.errors << Shapes::ShapeRef.new(shape: PlatformUnknownException)
|
1785
1852
|
o.errors << Shapes::ShapeRef.new(shape: PlatformTaskDefinitionIncompatibilityException)
|
1786
1853
|
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
1854
|
+
o.errors << Shapes::ShapeRef.new(shape: NamespaceNotFoundException)
|
1787
1855
|
end)
|
1788
1856
|
|
1789
1857
|
api.add_operation(:create_task_set, Seahorse::Model::Operation.new.tap do |o|
|
@@ -1802,6 +1870,7 @@ module Aws::ECS
|
|
1802
1870
|
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
1803
1871
|
o.errors << Shapes::ShapeRef.new(shape: ServiceNotFoundException)
|
1804
1872
|
o.errors << Shapes::ShapeRef.new(shape: ServiceNotActiveException)
|
1873
|
+
o.errors << Shapes::ShapeRef.new(shape: NamespaceNotFoundException)
|
1805
1874
|
end)
|
1806
1875
|
|
1807
1876
|
api.add_operation(:delete_account_setting, Seahorse::Model::Operation.new.tap do |o|
|
@@ -2116,6 +2185,24 @@ module Aws::ECS
|
|
2116
2185
|
)
|
2117
2186
|
end)
|
2118
2187
|
|
2188
|
+
api.add_operation(:list_services_by_namespace, Seahorse::Model::Operation.new.tap do |o|
|
2189
|
+
o.name = "ListServicesByNamespace"
|
2190
|
+
o.http_method = "POST"
|
2191
|
+
o.http_request_uri = "/"
|
2192
|
+
o.input = Shapes::ShapeRef.new(shape: ListServicesByNamespaceRequest)
|
2193
|
+
o.output = Shapes::ShapeRef.new(shape: ListServicesByNamespaceResponse)
|
2194
|
+
o.errors << Shapes::ShapeRef.new(shape: ServerException)
|
2195
|
+
o.errors << Shapes::ShapeRef.new(shape: ClientException)
|
2196
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
2197
|
+
o.errors << Shapes::ShapeRef.new(shape: NamespaceNotFoundException)
|
2198
|
+
o[:pager] = Aws::Pager.new(
|
2199
|
+
limit_key: "max_results",
|
2200
|
+
tokens: {
|
2201
|
+
"next_token" => "next_token"
|
2202
|
+
}
|
2203
|
+
)
|
2204
|
+
end)
|
2205
|
+
|
2119
2206
|
api.add_operation(:list_tags_for_resource, Seahorse::Model::Operation.new.tap do |o|
|
2120
2207
|
o.name = "ListTagsForResource"
|
2121
2208
|
o.http_method = "POST"
|
@@ -2430,6 +2517,7 @@ module Aws::ECS
|
|
2430
2517
|
o.errors << Shapes::ShapeRef.new(shape: PlatformUnknownException)
|
2431
2518
|
o.errors << Shapes::ShapeRef.new(shape: PlatformTaskDefinitionIncompatibilityException)
|
2432
2519
|
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
2520
|
+
o.errors << Shapes::ShapeRef.new(shape: NamespaceNotFoundException)
|
2433
2521
|
end)
|
2434
2522
|
|
2435
2523
|
api.add_operation(:update_service_primary_task_set, Seahorse::Model::Operation.new.tap do |o|
|
@@ -389,6 +389,20 @@ module Aws::ECS
|
|
389
389
|
end
|
390
390
|
end
|
391
391
|
|
392
|
+
class ListServicesByNamespace
|
393
|
+
def self.build(context)
|
394
|
+
unless context.config.regional_endpoint
|
395
|
+
endpoint = context.config.endpoint.to_s
|
396
|
+
end
|
397
|
+
Aws::ECS::EndpointParameters.new(
|
398
|
+
region: context.config.region,
|
399
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
400
|
+
use_fips: context.config.use_fips_endpoint,
|
401
|
+
endpoint: endpoint,
|
402
|
+
)
|
403
|
+
end
|
404
|
+
end
|
405
|
+
|
392
406
|
class ListTagsForResource
|
393
407
|
def self.build(context)
|
394
408
|
unless context.config.regional_endpoint
|
data/lib/aws-sdk-ecs/errors.rb
CHANGED
@@ -38,6 +38,7 @@ module Aws::ECS
|
|
38
38
|
# * {InvalidParameterException}
|
39
39
|
# * {LimitExceededException}
|
40
40
|
# * {MissingVersionException}
|
41
|
+
# * {NamespaceNotFoundException}
|
41
42
|
# * {NoUpdateAvailableException}
|
42
43
|
# * {PlatformTaskDefinitionIncompatibilityException}
|
43
44
|
# * {PlatformUnknownException}
|
@@ -173,6 +174,16 @@ module Aws::ECS
|
|
173
174
|
end
|
174
175
|
end
|
175
176
|
|
177
|
+
class NamespaceNotFoundException < ServiceError
|
178
|
+
|
179
|
+
# @param [Seahorse::Client::RequestContext] context
|
180
|
+
# @param [String] message
|
181
|
+
# @param [Aws::ECS::Types::NamespaceNotFoundException] data
|
182
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
183
|
+
super(context, message, data)
|
184
|
+
end
|
185
|
+
end
|
186
|
+
|
176
187
|
class NoUpdateAvailableException < ServiceError
|
177
188
|
|
178
189
|
# @param [Seahorse::Client::RequestContext] context
|
@@ -110,6 +110,8 @@ module Aws::ECS
|
|
110
110
|
Aws::ECS::Endpoints::ListContainerInstances.build(context)
|
111
111
|
when :list_services
|
112
112
|
Aws::ECS::Endpoints::ListServices.build(context)
|
113
|
+
when :list_services_by_namespace
|
114
|
+
Aws::ECS::Endpoints::ListServicesByNamespace.build(context)
|
113
115
|
when :list_tags_for_resource
|
114
116
|
Aws::ECS::Endpoints::ListTagsForResource.build(context)
|
115
117
|
when :list_task_definition_families
|