aws-sdk-ecs 1.104.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 +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-ecs/client.rb +571 -9
- data/lib/aws-sdk-ecs/client_api.rb +149 -0
- data/lib/aws-sdk-ecs/endpoints.rb +42 -0
- data/lib/aws-sdk-ecs/errors.rb +11 -0
- data/lib/aws-sdk-ecs/plugins/endpoints.rb +6 -0
- data/lib/aws-sdk-ecs/types.rb +989 -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')
|
@@ -151,6 +154,8 @@ module Aws::ECS
|
|
151
154
|
FirelensConfiguration = Shapes::StructureShape.new(name: 'FirelensConfiguration')
|
152
155
|
FirelensConfigurationOptionsMap = Shapes::MapShape.new(name: 'FirelensConfigurationOptionsMap')
|
153
156
|
FirelensConfigurationType = Shapes::StringShape.new(name: 'FirelensConfigurationType')
|
157
|
+
GetTaskProtectionRequest = Shapes::StructureShape.new(name: 'GetTaskProtectionRequest')
|
158
|
+
GetTaskProtectionResponse = Shapes::StructureShape.new(name: 'GetTaskProtectionResponse')
|
154
159
|
GpuIds = Shapes::ListShape.new(name: 'GpuIds')
|
155
160
|
HealthCheck = Shapes::StructureShape.new(name: 'HealthCheck')
|
156
161
|
HealthStatus = Shapes::StringShape.new(name: 'HealthStatus')
|
@@ -181,6 +186,8 @@ module Aws::ECS
|
|
181
186
|
ListClustersResponse = Shapes::StructureShape.new(name: 'ListClustersResponse')
|
182
187
|
ListContainerInstancesRequest = Shapes::StructureShape.new(name: 'ListContainerInstancesRequest')
|
183
188
|
ListContainerInstancesResponse = Shapes::StructureShape.new(name: 'ListContainerInstancesResponse')
|
189
|
+
ListServicesByNamespaceRequest = Shapes::StructureShape.new(name: 'ListServicesByNamespaceRequest')
|
190
|
+
ListServicesByNamespaceResponse = Shapes::StructureShape.new(name: 'ListServicesByNamespaceResponse')
|
184
191
|
ListServicesRequest = Shapes::StructureShape.new(name: 'ListServicesRequest')
|
185
192
|
ListServicesResponse = Shapes::StructureShape.new(name: 'ListServicesResponse')
|
186
193
|
ListTagsForResourceRequest = Shapes::StructureShape.new(name: 'ListTagsForResourceRequest')
|
@@ -211,6 +218,7 @@ module Aws::ECS
|
|
211
218
|
MissingVersionException = Shapes::StructureShape.new(name: 'MissingVersionException')
|
212
219
|
MountPoint = Shapes::StructureShape.new(name: 'MountPoint')
|
213
220
|
MountPointList = Shapes::ListShape.new(name: 'MountPointList')
|
221
|
+
NamespaceNotFoundException = Shapes::StructureShape.new(name: 'NamespaceNotFoundException')
|
214
222
|
NetworkBinding = Shapes::StructureShape.new(name: 'NetworkBinding')
|
215
223
|
NetworkBindings = Shapes::ListShape.new(name: 'NetworkBindings')
|
216
224
|
NetworkConfiguration = Shapes::StructureShape.new(name: 'NetworkConfiguration')
|
@@ -233,7 +241,10 @@ module Aws::ECS
|
|
233
241
|
PlatformUnknownException = Shapes::StructureShape.new(name: 'PlatformUnknownException')
|
234
242
|
PortMapping = Shapes::StructureShape.new(name: 'PortMapping')
|
235
243
|
PortMappingList = Shapes::ListShape.new(name: 'PortMappingList')
|
244
|
+
PortNumber = Shapes::IntegerShape.new(name: 'PortNumber')
|
236
245
|
PropagateTags = Shapes::StringShape.new(name: 'PropagateTags')
|
246
|
+
ProtectedTask = Shapes::StructureShape.new(name: 'ProtectedTask')
|
247
|
+
ProtectedTasks = Shapes::ListShape.new(name: 'ProtectedTasks')
|
237
248
|
ProxyConfiguration = Shapes::StructureShape.new(name: 'ProxyConfiguration')
|
238
249
|
ProxyConfigurationProperties = Shapes::ListShape.new(name: 'ProxyConfigurationProperties')
|
239
250
|
ProxyConfigurationType = Shapes::StringShape.new(name: 'ProxyConfigurationType')
|
@@ -270,6 +281,13 @@ module Aws::ECS
|
|
270
281
|
SensitiveString = Shapes::StringShape.new(name: 'SensitiveString')
|
271
282
|
ServerException = Shapes::StructureShape.new(name: 'ServerException')
|
272
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')
|
273
291
|
ServiceEvent = Shapes::StructureShape.new(name: 'ServiceEvent')
|
274
292
|
ServiceEvents = Shapes::ListShape.new(name: 'ServiceEvents')
|
275
293
|
ServiceField = Shapes::StringShape.new(name: 'ServiceField')
|
@@ -355,6 +373,8 @@ module Aws::ECS
|
|
355
373
|
UpdateServicePrimaryTaskSetResponse = Shapes::StructureShape.new(name: 'UpdateServicePrimaryTaskSetResponse')
|
356
374
|
UpdateServiceRequest = Shapes::StructureShape.new(name: 'UpdateServiceRequest')
|
357
375
|
UpdateServiceResponse = Shapes::StructureShape.new(name: 'UpdateServiceResponse')
|
376
|
+
UpdateTaskProtectionRequest = Shapes::StructureShape.new(name: 'UpdateTaskProtectionRequest')
|
377
|
+
UpdateTaskProtectionResponse = Shapes::StructureShape.new(name: 'UpdateTaskProtectionResponse')
|
358
378
|
UpdateTaskSetRequest = Shapes::StructureShape.new(name: 'UpdateTaskSetRequest')
|
359
379
|
UpdateTaskSetResponse = Shapes::StructureShape.new(name: 'UpdateTaskSetResponse')
|
360
380
|
VersionInfo = Shapes::StructureShape.new(name: 'VersionInfo')
|
@@ -445,6 +465,7 @@ module Aws::ECS
|
|
445
465
|
Cluster.add_member(:default_capacity_provider_strategy, Shapes::ShapeRef.new(shape: CapacityProviderStrategy, location_name: "defaultCapacityProviderStrategy"))
|
446
466
|
Cluster.add_member(:attachments, Shapes::ShapeRef.new(shape: Attachments, location_name: "attachments"))
|
447
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"))
|
448
469
|
Cluster.struct_class = Types::Cluster
|
449
470
|
|
450
471
|
ClusterConfiguration.add_member(:execute_command_configuration, Shapes::ShapeRef.new(shape: ExecuteCommandConfiguration, location_name: "executeCommandConfiguration"))
|
@@ -460,6 +481,12 @@ module Aws::ECS
|
|
460
481
|
|
461
482
|
ClusterNotFoundException.struct_class = Types::ClusterNotFoundException
|
462
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
|
+
|
463
490
|
ClusterSetting.add_member(:name, Shapes::ShapeRef.new(shape: ClusterSettingName, location_name: "name"))
|
464
491
|
ClusterSetting.add_member(:value, Shapes::ShapeRef.new(shape: String, location_name: "value"))
|
465
492
|
ClusterSetting.struct_class = Types::ClusterSetting
|
@@ -605,6 +632,7 @@ module Aws::ECS
|
|
605
632
|
CreateClusterRequest.add_member(:configuration, Shapes::ShapeRef.new(shape: ClusterConfiguration, location_name: "configuration"))
|
606
633
|
CreateClusterRequest.add_member(:capacity_providers, Shapes::ShapeRef.new(shape: StringList, location_name: "capacityProviders"))
|
607
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"))
|
608
636
|
CreateClusterRequest.struct_class = Types::CreateClusterRequest
|
609
637
|
|
610
638
|
CreateClusterResponse.add_member(:cluster, Shapes::ShapeRef.new(shape: Cluster, location_name: "cluster"))
|
@@ -632,6 +660,7 @@ module Aws::ECS
|
|
632
660
|
CreateServiceRequest.add_member(:enable_ecs_managed_tags, Shapes::ShapeRef.new(shape: Boolean, location_name: "enableECSManagedTags"))
|
633
661
|
CreateServiceRequest.add_member(:propagate_tags, Shapes::ShapeRef.new(shape: PropagateTags, location_name: "propagateTags"))
|
634
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"))
|
635
664
|
CreateServiceRequest.struct_class = Types::CreateServiceRequest
|
636
665
|
|
637
666
|
CreateServiceResponse.add_member(:service, Shapes::ShapeRef.new(shape: Service, location_name: "service"))
|
@@ -714,6 +743,8 @@ module Aws::ECS
|
|
714
743
|
Deployment.add_member(:network_configuration, Shapes::ShapeRef.new(shape: NetworkConfiguration, location_name: "networkConfiguration"))
|
715
744
|
Deployment.add_member(:rollout_state, Shapes::ShapeRef.new(shape: DeploymentRolloutState, location_name: "rolloutState"))
|
716
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"))
|
717
748
|
Deployment.struct_class = Types::Deployment
|
718
749
|
|
719
750
|
DeploymentCircuitBreaker.add_member(:enable, Shapes::ShapeRef.new(shape: Boolean, required: true, location_name: "enable"))
|
@@ -823,6 +854,7 @@ module Aws::ECS
|
|
823
854
|
|
824
855
|
DiscoverPollEndpointResponse.add_member(:endpoint, Shapes::ShapeRef.new(shape: String, location_name: "endpoint"))
|
825
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"))
|
826
858
|
DiscoverPollEndpointResponse.struct_class = Types::DiscoverPollEndpointResponse
|
827
859
|
|
828
860
|
DockerLabelsMap.key = Shapes::ShapeRef.new(shape: String)
|
@@ -907,6 +939,14 @@ module Aws::ECS
|
|
907
939
|
FirelensConfigurationOptionsMap.key = Shapes::ShapeRef.new(shape: String)
|
908
940
|
FirelensConfigurationOptionsMap.value = Shapes::ShapeRef.new(shape: String)
|
909
941
|
|
942
|
+
GetTaskProtectionRequest.add_member(:cluster, Shapes::ShapeRef.new(shape: String, required: true, location_name: "cluster"))
|
943
|
+
GetTaskProtectionRequest.add_member(:tasks, Shapes::ShapeRef.new(shape: StringList, location_name: "tasks"))
|
944
|
+
GetTaskProtectionRequest.struct_class = Types::GetTaskProtectionRequest
|
945
|
+
|
946
|
+
GetTaskProtectionResponse.add_member(:protected_tasks, Shapes::ShapeRef.new(shape: ProtectedTasks, location_name: "protectedTasks"))
|
947
|
+
GetTaskProtectionResponse.add_member(:failures, Shapes::ShapeRef.new(shape: Failures, location_name: "failures"))
|
948
|
+
GetTaskProtectionResponse.struct_class = Types::GetTaskProtectionResponse
|
949
|
+
|
910
950
|
GpuIds.member = Shapes::ShapeRef.new(shape: String)
|
911
951
|
|
912
952
|
HealthCheck.add_member(:command, Shapes::ShapeRef.new(shape: StringList, required: true, location_name: "command"))
|
@@ -1009,6 +1049,15 @@ module Aws::ECS
|
|
1009
1049
|
ListContainerInstancesResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "nextToken"))
|
1010
1050
|
ListContainerInstancesResponse.struct_class = Types::ListContainerInstancesResponse
|
1011
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
|
+
|
1012
1061
|
ListServicesRequest.add_member(:cluster, Shapes::ShapeRef.new(shape: String, location_name: "cluster"))
|
1013
1062
|
ListServicesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "nextToken"))
|
1014
1063
|
ListServicesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: BoxedInteger, location_name: "maxResults"))
|
@@ -1110,6 +1159,8 @@ module Aws::ECS
|
|
1110
1159
|
|
1111
1160
|
MountPointList.member = Shapes::ShapeRef.new(shape: MountPoint)
|
1112
1161
|
|
1162
|
+
NamespaceNotFoundException.struct_class = Types::NamespaceNotFoundException
|
1163
|
+
|
1113
1164
|
NetworkBinding.add_member(:bind_ip, Shapes::ShapeRef.new(shape: String, location_name: "bindIP"))
|
1114
1165
|
NetworkBinding.add_member(:container_port, Shapes::ShapeRef.new(shape: BoxedInteger, location_name: "containerPort"))
|
1115
1166
|
NetworkBinding.add_member(:host_port, Shapes::ShapeRef.new(shape: BoxedInteger, location_name: "hostPort"))
|
@@ -1155,10 +1206,19 @@ module Aws::ECS
|
|
1155
1206
|
PortMapping.add_member(:container_port, Shapes::ShapeRef.new(shape: BoxedInteger, location_name: "containerPort"))
|
1156
1207
|
PortMapping.add_member(:host_port, Shapes::ShapeRef.new(shape: BoxedInteger, location_name: "hostPort"))
|
1157
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"))
|
1158
1211
|
PortMapping.struct_class = Types::PortMapping
|
1159
1212
|
|
1160
1213
|
PortMappingList.member = Shapes::ShapeRef.new(shape: PortMapping)
|
1161
1214
|
|
1215
|
+
ProtectedTask.add_member(:task_arn, Shapes::ShapeRef.new(shape: String, location_name: "taskArn"))
|
1216
|
+
ProtectedTask.add_member(:protection_enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "protectionEnabled"))
|
1217
|
+
ProtectedTask.add_member(:expiration_date, Shapes::ShapeRef.new(shape: Timestamp, location_name: "expirationDate"))
|
1218
|
+
ProtectedTask.struct_class = Types::ProtectedTask
|
1219
|
+
|
1220
|
+
ProtectedTasks.member = Shapes::ShapeRef.new(shape: ProtectedTask)
|
1221
|
+
|
1162
1222
|
ProxyConfiguration.add_member(:type, Shapes::ShapeRef.new(shape: ProxyConfigurationType, location_name: "type"))
|
1163
1223
|
ProxyConfiguration.add_member(:container_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "containerName"))
|
1164
1224
|
ProxyConfiguration.add_member(:properties, Shapes::ShapeRef.new(shape: ProxyConfigurationProperties, location_name: "properties"))
|
@@ -1331,6 +1391,32 @@ module Aws::ECS
|
|
1331
1391
|
Service.add_member(:enable_execute_command, Shapes::ShapeRef.new(shape: Boolean, location_name: "enableExecuteCommand"))
|
1332
1392
|
Service.struct_class = Types::Service
|
1333
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
|
+
|
1334
1420
|
ServiceEvent.add_member(:id, Shapes::ShapeRef.new(shape: String, location_name: "id"))
|
1335
1421
|
ServiceEvent.add_member(:created_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "createdAt"))
|
1336
1422
|
ServiceEvent.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
|
@@ -1607,6 +1693,7 @@ module Aws::ECS
|
|
1607
1693
|
UpdateClusterRequest.add_member(:cluster, Shapes::ShapeRef.new(shape: String, required: true, location_name: "cluster"))
|
1608
1694
|
UpdateClusterRequest.add_member(:settings, Shapes::ShapeRef.new(shape: ClusterSettings, location_name: "settings"))
|
1609
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"))
|
1610
1697
|
UpdateClusterRequest.struct_class = Types::UpdateClusterRequest
|
1611
1698
|
|
1612
1699
|
UpdateClusterResponse.add_member(:cluster, Shapes::ShapeRef.new(shape: Cluster, location_name: "cluster"))
|
@@ -1662,11 +1749,22 @@ module Aws::ECS
|
|
1662
1749
|
UpdateServiceRequest.add_member(:load_balancers, Shapes::ShapeRef.new(shape: LoadBalancers, location_name: "loadBalancers"))
|
1663
1750
|
UpdateServiceRequest.add_member(:propagate_tags, Shapes::ShapeRef.new(shape: PropagateTags, location_name: "propagateTags"))
|
1664
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"))
|
1665
1753
|
UpdateServiceRequest.struct_class = Types::UpdateServiceRequest
|
1666
1754
|
|
1667
1755
|
UpdateServiceResponse.add_member(:service, Shapes::ShapeRef.new(shape: Service, location_name: "service"))
|
1668
1756
|
UpdateServiceResponse.struct_class = Types::UpdateServiceResponse
|
1669
1757
|
|
1758
|
+
UpdateTaskProtectionRequest.add_member(:cluster, Shapes::ShapeRef.new(shape: String, required: true, location_name: "cluster"))
|
1759
|
+
UpdateTaskProtectionRequest.add_member(:tasks, Shapes::ShapeRef.new(shape: StringList, required: true, location_name: "tasks"))
|
1760
|
+
UpdateTaskProtectionRequest.add_member(:protection_enabled, Shapes::ShapeRef.new(shape: Boolean, required: true, location_name: "protectionEnabled"))
|
1761
|
+
UpdateTaskProtectionRequest.add_member(:expires_in_minutes, Shapes::ShapeRef.new(shape: BoxedInteger, location_name: "expiresInMinutes"))
|
1762
|
+
UpdateTaskProtectionRequest.struct_class = Types::UpdateTaskProtectionRequest
|
1763
|
+
|
1764
|
+
UpdateTaskProtectionResponse.add_member(:protected_tasks, Shapes::ShapeRef.new(shape: ProtectedTasks, location_name: "protectedTasks"))
|
1765
|
+
UpdateTaskProtectionResponse.add_member(:failures, Shapes::ShapeRef.new(shape: Failures, location_name: "failures"))
|
1766
|
+
UpdateTaskProtectionResponse.struct_class = Types::UpdateTaskProtectionResponse
|
1767
|
+
|
1670
1768
|
UpdateTaskSetRequest.add_member(:cluster, Shapes::ShapeRef.new(shape: String, required: true, location_name: "cluster"))
|
1671
1769
|
UpdateTaskSetRequest.add_member(:service, Shapes::ShapeRef.new(shape: String, required: true, location_name: "service"))
|
1672
1770
|
UpdateTaskSetRequest.add_member(:task_set, Shapes::ShapeRef.new(shape: String, required: true, location_name: "taskSet"))
|
@@ -1753,6 +1851,7 @@ module Aws::ECS
|
|
1753
1851
|
o.errors << Shapes::ShapeRef.new(shape: PlatformUnknownException)
|
1754
1852
|
o.errors << Shapes::ShapeRef.new(shape: PlatformTaskDefinitionIncompatibilityException)
|
1755
1853
|
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
1854
|
+
o.errors << Shapes::ShapeRef.new(shape: NamespaceNotFoundException)
|
1756
1855
|
end)
|
1757
1856
|
|
1758
1857
|
api.add_operation(:create_task_set, Seahorse::Model::Operation.new.tap do |o|
|
@@ -1771,6 +1870,7 @@ module Aws::ECS
|
|
1771
1870
|
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
1772
1871
|
o.errors << Shapes::ShapeRef.new(shape: ServiceNotFoundException)
|
1773
1872
|
o.errors << Shapes::ShapeRef.new(shape: ServiceNotActiveException)
|
1873
|
+
o.errors << Shapes::ShapeRef.new(shape: NamespaceNotFoundException)
|
1774
1874
|
end)
|
1775
1875
|
|
1776
1876
|
api.add_operation(:delete_account_setting, Seahorse::Model::Operation.new.tap do |o|
|
@@ -1984,6 +2084,21 @@ module Aws::ECS
|
|
1984
2084
|
o.errors << Shapes::ShapeRef.new(shape: TargetNotConnectedException)
|
1985
2085
|
end)
|
1986
2086
|
|
2087
|
+
api.add_operation(:get_task_protection, Seahorse::Model::Operation.new.tap do |o|
|
2088
|
+
o.name = "GetTaskProtection"
|
2089
|
+
o.http_method = "POST"
|
2090
|
+
o.http_request_uri = "/"
|
2091
|
+
o.input = Shapes::ShapeRef.new(shape: GetTaskProtectionRequest)
|
2092
|
+
o.output = Shapes::ShapeRef.new(shape: GetTaskProtectionResponse)
|
2093
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
2094
|
+
o.errors << Shapes::ShapeRef.new(shape: ClientException)
|
2095
|
+
o.errors << Shapes::ShapeRef.new(shape: ClusterNotFoundException)
|
2096
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
2097
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
2098
|
+
o.errors << Shapes::ShapeRef.new(shape: ServerException)
|
2099
|
+
o.errors << Shapes::ShapeRef.new(shape: UnsupportedFeatureException)
|
2100
|
+
end)
|
2101
|
+
|
1987
2102
|
api.add_operation(:list_account_settings, Seahorse::Model::Operation.new.tap do |o|
|
1988
2103
|
o.name = "ListAccountSettings"
|
1989
2104
|
o.http_method = "POST"
|
@@ -2070,6 +2185,24 @@ module Aws::ECS
|
|
2070
2185
|
)
|
2071
2186
|
end)
|
2072
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
|
+
|
2073
2206
|
api.add_operation(:list_tags_for_resource, Seahorse::Model::Operation.new.tap do |o|
|
2074
2207
|
o.name = "ListTagsForResource"
|
2075
2208
|
o.http_method = "POST"
|
@@ -2384,6 +2517,7 @@ module Aws::ECS
|
|
2384
2517
|
o.errors << Shapes::ShapeRef.new(shape: PlatformUnknownException)
|
2385
2518
|
o.errors << Shapes::ShapeRef.new(shape: PlatformTaskDefinitionIncompatibilityException)
|
2386
2519
|
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
2520
|
+
o.errors << Shapes::ShapeRef.new(shape: NamespaceNotFoundException)
|
2387
2521
|
end)
|
2388
2522
|
|
2389
2523
|
api.add_operation(:update_service_primary_task_set, Seahorse::Model::Operation.new.tap do |o|
|
@@ -2403,6 +2537,21 @@ module Aws::ECS
|
|
2403
2537
|
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
2404
2538
|
end)
|
2405
2539
|
|
2540
|
+
api.add_operation(:update_task_protection, Seahorse::Model::Operation.new.tap do |o|
|
2541
|
+
o.name = "UpdateTaskProtection"
|
2542
|
+
o.http_method = "POST"
|
2543
|
+
o.http_request_uri = "/"
|
2544
|
+
o.input = Shapes::ShapeRef.new(shape: UpdateTaskProtectionRequest)
|
2545
|
+
o.output = Shapes::ShapeRef.new(shape: UpdateTaskProtectionResponse)
|
2546
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
2547
|
+
o.errors << Shapes::ShapeRef.new(shape: ClientException)
|
2548
|
+
o.errors << Shapes::ShapeRef.new(shape: ClusterNotFoundException)
|
2549
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
|
2550
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
2551
|
+
o.errors << Shapes::ShapeRef.new(shape: ServerException)
|
2552
|
+
o.errors << Shapes::ShapeRef.new(shape: UnsupportedFeatureException)
|
2553
|
+
end)
|
2554
|
+
|
2406
2555
|
api.add_operation(:update_task_set, Seahorse::Model::Operation.new.tap do |o|
|
2407
2556
|
o.name = "UpdateTaskSet"
|
2408
2557
|
o.http_method = "POST"
|
@@ -305,6 +305,20 @@ module Aws::ECS
|
|
305
305
|
end
|
306
306
|
end
|
307
307
|
|
308
|
+
class GetTaskProtection
|
309
|
+
def self.build(context)
|
310
|
+
unless context.config.regional_endpoint
|
311
|
+
endpoint = context.config.endpoint.to_s
|
312
|
+
end
|
313
|
+
Aws::ECS::EndpointParameters.new(
|
314
|
+
region: context.config.region,
|
315
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
316
|
+
use_fips: context.config.use_fips_endpoint,
|
317
|
+
endpoint: endpoint,
|
318
|
+
)
|
319
|
+
end
|
320
|
+
end
|
321
|
+
|
308
322
|
class ListAccountSettings
|
309
323
|
def self.build(context)
|
310
324
|
unless context.config.regional_endpoint
|
@@ -375,6 +389,20 @@ module Aws::ECS
|
|
375
389
|
end
|
376
390
|
end
|
377
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
|
+
|
378
406
|
class ListTagsForResource
|
379
407
|
def self.build(context)
|
380
408
|
unless context.config.regional_endpoint
|
@@ -725,6 +753,20 @@ module Aws::ECS
|
|
725
753
|
end
|
726
754
|
end
|
727
755
|
|
756
|
+
class UpdateTaskProtection
|
757
|
+
def self.build(context)
|
758
|
+
unless context.config.regional_endpoint
|
759
|
+
endpoint = context.config.endpoint.to_s
|
760
|
+
end
|
761
|
+
Aws::ECS::EndpointParameters.new(
|
762
|
+
region: context.config.region,
|
763
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
764
|
+
use_fips: context.config.use_fips_endpoint,
|
765
|
+
endpoint: endpoint,
|
766
|
+
)
|
767
|
+
end
|
768
|
+
end
|
769
|
+
|
728
770
|
class UpdateTaskSet
|
729
771
|
def self.build(context)
|
730
772
|
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
|
@@ -98,6 +98,8 @@ module Aws::ECS
|
|
98
98
|
Aws::ECS::Endpoints::DiscoverPollEndpoint.build(context)
|
99
99
|
when :execute_command
|
100
100
|
Aws::ECS::Endpoints::ExecuteCommand.build(context)
|
101
|
+
when :get_task_protection
|
102
|
+
Aws::ECS::Endpoints::GetTaskProtection.build(context)
|
101
103
|
when :list_account_settings
|
102
104
|
Aws::ECS::Endpoints::ListAccountSettings.build(context)
|
103
105
|
when :list_attributes
|
@@ -108,6 +110,8 @@ module Aws::ECS
|
|
108
110
|
Aws::ECS::Endpoints::ListContainerInstances.build(context)
|
109
111
|
when :list_services
|
110
112
|
Aws::ECS::Endpoints::ListServices.build(context)
|
113
|
+
when :list_services_by_namespace
|
114
|
+
Aws::ECS::Endpoints::ListServicesByNamespace.build(context)
|
111
115
|
when :list_tags_for_resource
|
112
116
|
Aws::ECS::Endpoints::ListTagsForResource.build(context)
|
113
117
|
when :list_task_definition_families
|
@@ -158,6 +162,8 @@ module Aws::ECS
|
|
158
162
|
Aws::ECS::Endpoints::UpdateService.build(context)
|
159
163
|
when :update_service_primary_task_set
|
160
164
|
Aws::ECS::Endpoints::UpdateServicePrimaryTaskSet.build(context)
|
165
|
+
when :update_task_protection
|
166
|
+
Aws::ECS::Endpoints::UpdateTaskProtection.build(context)
|
161
167
|
when :update_task_set
|
162
168
|
Aws::ECS::Endpoints::UpdateTaskSet.build(context)
|
163
169
|
end
|