aws-sdk-ecs 1.105.0 → 1.107.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 +10 -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/endpoint_parameters.rb +3 -0
- data/lib/aws-sdk-ecs/endpoint_provider.rb +76 -76
- 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 +700 -2106
- 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|
|
@@ -50,6 +50,9 @@ module Aws::ECS
|
|
50
50
|
|
51
51
|
def initialize(options = {})
|
52
52
|
self[:region] = options[:region]
|
53
|
+
if self[:region].nil?
|
54
|
+
raise ArgumentError, "Missing required EndpointParameter: :region"
|
55
|
+
end
|
53
56
|
self[:use_dual_stack] = options[:use_dual_stack]
|
54
57
|
self[:use_dual_stack] = false if self[:use_dual_stack].nil?
|
55
58
|
if self[:use_dual_stack].nil?
|
@@ -29,82 +29,82 @@ module Aws::ECS
|
|
29
29
|
# @api private
|
30
30
|
RULES = <<-JSON
|
31
31
|
eyJ2ZXJzaW9uIjoiMS4wIiwicGFyYW1ldGVycyI6eyJSZWdpb24iOnsiYnVp
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
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aGlzIHBhcnRpdGlvbiBkb2VzIG5vdCBzdXBwb3J0IER1YWxTdGFjayIs
|
104
|
+
InR5cGUiOiJlcnJvciJ9XX0seyJjb25kaXRpb25zIjpbXSwiZW5kcG9pbnQi
|
105
|
+
OnsidXJsIjoiaHR0cHM6Ly9lY3Mue1JlZ2lvbn0ue1BhcnRpdGlvblJlc3Vs
|
106
|
+
dCNkbnNTdWZmaXh9IiwicHJvcGVydGllcyI6e30sImhlYWRlcnMiOnt9fSwi
|
107
|
+
dHlwZSI6ImVuZHBvaW50In1dfV19
|
108
108
|
|
109
109
|
JSON
|
110
110
|
end
|
@@ -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
|