aws-sdk-ecs 1.22.0 → 1.23.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -43,6 +43,8 @@ module Aws::ECS
43
43
  ContainerDefinition = Shapes::StructureShape.new(name: 'ContainerDefinition')
44
44
  ContainerDefinitions = Shapes::ListShape.new(name: 'ContainerDefinitions')
45
45
  ContainerInstance = Shapes::StructureShape.new(name: 'ContainerInstance')
46
+ ContainerInstanceField = Shapes::StringShape.new(name: 'ContainerInstanceField')
47
+ ContainerInstanceFieldList = Shapes::ListShape.new(name: 'ContainerInstanceFieldList')
46
48
  ContainerInstanceStatus = Shapes::StringShape.new(name: 'ContainerInstanceStatus')
47
49
  ContainerInstances = Shapes::ListShape.new(name: 'ContainerInstances')
48
50
  ContainerOverride = Shapes::StructureShape.new(name: 'ContainerOverride')
@@ -54,6 +56,8 @@ module Aws::ECS
54
56
  CreateClusterResponse = Shapes::StructureShape.new(name: 'CreateClusterResponse')
55
57
  CreateServiceRequest = Shapes::StructureShape.new(name: 'CreateServiceRequest')
56
58
  CreateServiceResponse = Shapes::StructureShape.new(name: 'CreateServiceResponse')
59
+ DeleteAccountSettingRequest = Shapes::StructureShape.new(name: 'DeleteAccountSettingRequest')
60
+ DeleteAccountSettingResponse = Shapes::StructureShape.new(name: 'DeleteAccountSettingResponse')
57
61
  DeleteAttributesRequest = Shapes::StructureShape.new(name: 'DeleteAttributesRequest')
58
62
  DeleteAttributesResponse = Shapes::StructureShape.new(name: 'DeleteAttributesResponse')
59
63
  DeleteClusterRequest = Shapes::StructureShape.new(name: 'DeleteClusterRequest')
@@ -101,6 +105,8 @@ module Aws::ECS
101
105
  KeyValuePair = Shapes::StructureShape.new(name: 'KeyValuePair')
102
106
  LaunchType = Shapes::StringShape.new(name: 'LaunchType')
103
107
  LinuxParameters = Shapes::StructureShape.new(name: 'LinuxParameters')
108
+ ListAccountSettingsRequest = Shapes::StructureShape.new(name: 'ListAccountSettingsRequest')
109
+ ListAccountSettingsResponse = Shapes::StructureShape.new(name: 'ListAccountSettingsResponse')
104
110
  ListAttributesRequest = Shapes::StructureShape.new(name: 'ListAttributesRequest')
105
111
  ListAttributesResponse = Shapes::StructureShape.new(name: 'ListAttributesResponse')
106
112
  ListClustersRequest = Shapes::StructureShape.new(name: 'ListClustersRequest')
@@ -109,6 +115,8 @@ module Aws::ECS
109
115
  ListContainerInstancesResponse = Shapes::StructureShape.new(name: 'ListContainerInstancesResponse')
110
116
  ListServicesRequest = Shapes::StructureShape.new(name: 'ListServicesRequest')
111
117
  ListServicesResponse = Shapes::StructureShape.new(name: 'ListServicesResponse')
118
+ ListTagsForResourceRequest = Shapes::StructureShape.new(name: 'ListTagsForResourceRequest')
119
+ ListTagsForResourceResponse = Shapes::StructureShape.new(name: 'ListTagsForResourceResponse')
112
120
  ListTaskDefinitionFamiliesRequest = Shapes::StructureShape.new(name: 'ListTaskDefinitionFamiliesRequest')
113
121
  ListTaskDefinitionFamiliesResponse = Shapes::StructureShape.new(name: 'ListTaskDefinitionFamiliesResponse')
114
122
  ListTaskDefinitionsRequest = Shapes::StructureShape.new(name: 'ListTaskDefinitionsRequest')
@@ -141,6 +149,9 @@ module Aws::ECS
141
149
  PlatformUnknownException = Shapes::StructureShape.new(name: 'PlatformUnknownException')
142
150
  PortMapping = Shapes::StructureShape.new(name: 'PortMapping')
143
151
  PortMappingList = Shapes::ListShape.new(name: 'PortMappingList')
152
+ PropagateTags = Shapes::StringShape.new(name: 'PropagateTags')
153
+ PutAccountSettingRequest = Shapes::StructureShape.new(name: 'PutAccountSettingRequest')
154
+ PutAccountSettingResponse = Shapes::StructureShape.new(name: 'PutAccountSettingResponse')
144
155
  PutAttributesRequest = Shapes::StructureShape.new(name: 'PutAttributesRequest')
145
156
  PutAttributesResponse = Shapes::StructureShape.new(name: 'PutAttributesResponse')
146
157
  RegisterContainerInstanceRequest = Shapes::StructureShape.new(name: 'RegisterContainerInstanceRequest')
@@ -150,20 +161,28 @@ module Aws::ECS
150
161
  RepositoryCredentials = Shapes::StructureShape.new(name: 'RepositoryCredentials')
151
162
  RequiresAttributes = Shapes::ListShape.new(name: 'RequiresAttributes')
152
163
  Resource = Shapes::StructureShape.new(name: 'Resource')
164
+ ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
153
165
  Resources = Shapes::ListShape.new(name: 'Resources')
154
166
  RunTaskRequest = Shapes::StructureShape.new(name: 'RunTaskRequest')
155
167
  RunTaskResponse = Shapes::StructureShape.new(name: 'RunTaskResponse')
156
168
  SchedulingStrategy = Shapes::StringShape.new(name: 'SchedulingStrategy')
157
169
  Scope = Shapes::StringShape.new(name: 'Scope')
170
+ Secret = Shapes::StructureShape.new(name: 'Secret')
171
+ SecretList = Shapes::ListShape.new(name: 'SecretList')
158
172
  ServerException = Shapes::StructureShape.new(name: 'ServerException')
159
173
  Service = Shapes::StructureShape.new(name: 'Service')
160
174
  ServiceEvent = Shapes::StructureShape.new(name: 'ServiceEvent')
161
175
  ServiceEvents = Shapes::ListShape.new(name: 'ServiceEvents')
176
+ ServiceField = Shapes::StringShape.new(name: 'ServiceField')
177
+ ServiceFieldList = Shapes::ListShape.new(name: 'ServiceFieldList')
162
178
  ServiceNotActiveException = Shapes::StructureShape.new(name: 'ServiceNotActiveException')
163
179
  ServiceNotFoundException = Shapes::StructureShape.new(name: 'ServiceNotFoundException')
164
180
  ServiceRegistries = Shapes::ListShape.new(name: 'ServiceRegistries')
165
181
  ServiceRegistry = Shapes::StructureShape.new(name: 'ServiceRegistry')
166
182
  Services = Shapes::ListShape.new(name: 'Services')
183
+ Setting = Shapes::StructureShape.new(name: 'Setting')
184
+ SettingName = Shapes::StringShape.new(name: 'SettingName')
185
+ Settings = Shapes::ListShape.new(name: 'Settings')
167
186
  SortOrder = Shapes::StringShape.new(name: 'SortOrder')
168
187
  StartTaskRequest = Shapes::StructureShape.new(name: 'StartTaskRequest')
169
188
  StartTaskResponse = Shapes::StructureShape.new(name: 'StartTaskResponse')
@@ -179,16 +198,28 @@ module Aws::ECS
179
198
  SubmitTaskStateChangeResponse = Shapes::StructureShape.new(name: 'SubmitTaskStateChangeResponse')
180
199
  SystemControl = Shapes::StructureShape.new(name: 'SystemControl')
181
200
  SystemControls = Shapes::ListShape.new(name: 'SystemControls')
201
+ Tag = Shapes::StructureShape.new(name: 'Tag')
202
+ TagKey = Shapes::StringShape.new(name: 'TagKey')
203
+ TagKeys = Shapes::ListShape.new(name: 'TagKeys')
204
+ TagResourceRequest = Shapes::StructureShape.new(name: 'TagResourceRequest')
205
+ TagResourceResponse = Shapes::StructureShape.new(name: 'TagResourceResponse')
206
+ TagValue = Shapes::StringShape.new(name: 'TagValue')
207
+ Tags = Shapes::ListShape.new(name: 'Tags')
182
208
  TargetNotFoundException = Shapes::StructureShape.new(name: 'TargetNotFoundException')
183
209
  TargetType = Shapes::StringShape.new(name: 'TargetType')
184
210
  Task = Shapes::StructureShape.new(name: 'Task')
185
211
  TaskDefinition = Shapes::StructureShape.new(name: 'TaskDefinition')
186
212
  TaskDefinitionFamilyStatus = Shapes::StringShape.new(name: 'TaskDefinitionFamilyStatus')
213
+ TaskDefinitionField = Shapes::StringShape.new(name: 'TaskDefinitionField')
214
+ TaskDefinitionFieldList = Shapes::ListShape.new(name: 'TaskDefinitionFieldList')
187
215
  TaskDefinitionPlacementConstraint = Shapes::StructureShape.new(name: 'TaskDefinitionPlacementConstraint')
188
216
  TaskDefinitionPlacementConstraintType = Shapes::StringShape.new(name: 'TaskDefinitionPlacementConstraintType')
189
217
  TaskDefinitionPlacementConstraints = Shapes::ListShape.new(name: 'TaskDefinitionPlacementConstraints')
190
218
  TaskDefinitionStatus = Shapes::StringShape.new(name: 'TaskDefinitionStatus')
219
+ TaskField = Shapes::StringShape.new(name: 'TaskField')
220
+ TaskFieldList = Shapes::ListShape.new(name: 'TaskFieldList')
191
221
  TaskOverride = Shapes::StructureShape.new(name: 'TaskOverride')
222
+ TaskStopCode = Shapes::StringShape.new(name: 'TaskStopCode')
192
223
  Tasks = Shapes::ListShape.new(name: 'Tasks')
193
224
  Timestamp = Shapes::TimestampShape.new(name: 'Timestamp')
194
225
  Tmpfs = Shapes::StructureShape.new(name: 'Tmpfs')
@@ -198,6 +229,8 @@ module Aws::ECS
198
229
  UlimitList = Shapes::ListShape.new(name: 'UlimitList')
199
230
  UlimitName = Shapes::StringShape.new(name: 'UlimitName')
200
231
  UnsupportedFeatureException = Shapes::StructureShape.new(name: 'UnsupportedFeatureException')
232
+ UntagResourceRequest = Shapes::StructureShape.new(name: 'UntagResourceRequest')
233
+ UntagResourceResponse = Shapes::StructureShape.new(name: 'UntagResourceResponse')
201
234
  UpdateContainerAgentRequest = Shapes::StructureShape.new(name: 'UpdateContainerAgentRequest')
202
235
  UpdateContainerAgentResponse = Shapes::StructureShape.new(name: 'UpdateContainerAgentResponse')
203
236
  UpdateContainerInstancesStateRequest = Shapes::StructureShape.new(name: 'UpdateContainerInstancesStateRequest')
@@ -248,6 +281,7 @@ module Aws::ECS
248
281
  Cluster.add_member(:pending_tasks_count, Shapes::ShapeRef.new(shape: Integer, location_name: "pendingTasksCount"))
249
282
  Cluster.add_member(:active_services_count, Shapes::ShapeRef.new(shape: Integer, location_name: "activeServicesCount"))
250
283
  Cluster.add_member(:statistics, Shapes::ShapeRef.new(shape: Statistics, location_name: "statistics"))
284
+ Cluster.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
251
285
  Cluster.struct_class = Types::Cluster
252
286
 
253
287
  ClusterFieldList.member = Shapes::ShapeRef.new(shape: ClusterField)
@@ -282,6 +316,7 @@ module Aws::ECS
282
316
  ContainerDefinition.add_member(:mount_points, Shapes::ShapeRef.new(shape: MountPointList, location_name: "mountPoints"))
283
317
  ContainerDefinition.add_member(:volumes_from, Shapes::ShapeRef.new(shape: VolumeFromList, location_name: "volumesFrom"))
284
318
  ContainerDefinition.add_member(:linux_parameters, Shapes::ShapeRef.new(shape: LinuxParameters, location_name: "linuxParameters"))
319
+ ContainerDefinition.add_member(:secrets, Shapes::ShapeRef.new(shape: SecretList, location_name: "secrets"))
285
320
  ContainerDefinition.add_member(:hostname, Shapes::ShapeRef.new(shape: String, location_name: "hostname"))
286
321
  ContainerDefinition.add_member(:user, Shapes::ShapeRef.new(shape: String, location_name: "user"))
287
322
  ContainerDefinition.add_member(:working_directory, Shapes::ShapeRef.new(shape: String, location_name: "workingDirectory"))
@@ -317,8 +352,11 @@ module Aws::ECS
317
352
  ContainerInstance.add_member(:attributes, Shapes::ShapeRef.new(shape: Attributes, location_name: "attributes"))
318
353
  ContainerInstance.add_member(:registered_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "registeredAt"))
319
354
  ContainerInstance.add_member(:attachments, Shapes::ShapeRef.new(shape: Attachments, location_name: "attachments"))
355
+ ContainerInstance.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
320
356
  ContainerInstance.struct_class = Types::ContainerInstance
321
357
 
358
+ ContainerInstanceFieldList.member = Shapes::ShapeRef.new(shape: ContainerInstanceField)
359
+
322
360
  ContainerInstances.member = Shapes::ShapeRef.new(shape: ContainerInstance)
323
361
 
324
362
  ContainerOverride.add_member(:name, Shapes::ShapeRef.new(shape: String, location_name: "name"))
@@ -343,6 +381,7 @@ module Aws::ECS
343
381
  Containers.member = Shapes::ShapeRef.new(shape: Container)
344
382
 
345
383
  CreateClusterRequest.add_member(:cluster_name, Shapes::ShapeRef.new(shape: String, location_name: "clusterName"))
384
+ CreateClusterRequest.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
346
385
  CreateClusterRequest.struct_class = Types::CreateClusterRequest
347
386
 
348
387
  CreateClusterResponse.add_member(:cluster, Shapes::ShapeRef.new(shape: Cluster, location_name: "cluster"))
@@ -364,11 +403,21 @@ module Aws::ECS
364
403
  CreateServiceRequest.add_member(:network_configuration, Shapes::ShapeRef.new(shape: NetworkConfiguration, location_name: "networkConfiguration"))
365
404
  CreateServiceRequest.add_member(:health_check_grace_period_seconds, Shapes::ShapeRef.new(shape: BoxedInteger, location_name: "healthCheckGracePeriodSeconds"))
366
405
  CreateServiceRequest.add_member(:scheduling_strategy, Shapes::ShapeRef.new(shape: SchedulingStrategy, location_name: "schedulingStrategy"))
406
+ CreateServiceRequest.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
407
+ CreateServiceRequest.add_member(:enable_ecs_managed_tags, Shapes::ShapeRef.new(shape: Boolean, location_name: "enableECSManagedTags"))
408
+ CreateServiceRequest.add_member(:propagate_tags, Shapes::ShapeRef.new(shape: PropagateTags, location_name: "propagateTags"))
367
409
  CreateServiceRequest.struct_class = Types::CreateServiceRequest
368
410
 
369
411
  CreateServiceResponse.add_member(:service, Shapes::ShapeRef.new(shape: Service, location_name: "service"))
370
412
  CreateServiceResponse.struct_class = Types::CreateServiceResponse
371
413
 
414
+ DeleteAccountSettingRequest.add_member(:name, Shapes::ShapeRef.new(shape: SettingName, required: true, location_name: "name"))
415
+ DeleteAccountSettingRequest.add_member(:principal_arn, Shapes::ShapeRef.new(shape: String, location_name: "principalArn"))
416
+ DeleteAccountSettingRequest.struct_class = Types::DeleteAccountSettingRequest
417
+
418
+ DeleteAccountSettingResponse.add_member(:setting, Shapes::ShapeRef.new(shape: Setting, location_name: "setting"))
419
+ DeleteAccountSettingResponse.struct_class = Types::DeleteAccountSettingResponse
420
+
372
421
  DeleteAttributesRequest.add_member(:cluster, Shapes::ShapeRef.new(shape: String, location_name: "cluster"))
373
422
  DeleteAttributesRequest.add_member(:attributes, Shapes::ShapeRef.new(shape: Attributes, required: true, location_name: "attributes"))
374
423
  DeleteAttributesRequest.struct_class = Types::DeleteAttributesRequest
@@ -433,6 +482,7 @@ module Aws::ECS
433
482
 
434
483
  DescribeContainerInstancesRequest.add_member(:cluster, Shapes::ShapeRef.new(shape: String, location_name: "cluster"))
435
484
  DescribeContainerInstancesRequest.add_member(:container_instances, Shapes::ShapeRef.new(shape: StringList, required: true, location_name: "containerInstances"))
485
+ DescribeContainerInstancesRequest.add_member(:include, Shapes::ShapeRef.new(shape: ContainerInstanceFieldList, location_name: "include"))
436
486
  DescribeContainerInstancesRequest.struct_class = Types::DescribeContainerInstancesRequest
437
487
 
438
488
  DescribeContainerInstancesResponse.add_member(:container_instances, Shapes::ShapeRef.new(shape: ContainerInstances, location_name: "containerInstances"))
@@ -441,6 +491,7 @@ module Aws::ECS
441
491
 
442
492
  DescribeServicesRequest.add_member(:cluster, Shapes::ShapeRef.new(shape: String, location_name: "cluster"))
443
493
  DescribeServicesRequest.add_member(:services, Shapes::ShapeRef.new(shape: StringList, required: true, location_name: "services"))
494
+ DescribeServicesRequest.add_member(:include, Shapes::ShapeRef.new(shape: ServiceFieldList, location_name: "include"))
444
495
  DescribeServicesRequest.struct_class = Types::DescribeServicesRequest
445
496
 
446
497
  DescribeServicesResponse.add_member(:services, Shapes::ShapeRef.new(shape: Services, location_name: "services"))
@@ -448,13 +499,16 @@ module Aws::ECS
448
499
  DescribeServicesResponse.struct_class = Types::DescribeServicesResponse
449
500
 
450
501
  DescribeTaskDefinitionRequest.add_member(:task_definition, Shapes::ShapeRef.new(shape: String, required: true, location_name: "taskDefinition"))
502
+ DescribeTaskDefinitionRequest.add_member(:include, Shapes::ShapeRef.new(shape: TaskDefinitionFieldList, location_name: "include"))
451
503
  DescribeTaskDefinitionRequest.struct_class = Types::DescribeTaskDefinitionRequest
452
504
 
453
505
  DescribeTaskDefinitionResponse.add_member(:task_definition, Shapes::ShapeRef.new(shape: TaskDefinition, location_name: "taskDefinition"))
506
+ DescribeTaskDefinitionResponse.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
454
507
  DescribeTaskDefinitionResponse.struct_class = Types::DescribeTaskDefinitionResponse
455
508
 
456
509
  DescribeTasksRequest.add_member(:cluster, Shapes::ShapeRef.new(shape: String, location_name: "cluster"))
457
510
  DescribeTasksRequest.add_member(:tasks, Shapes::ShapeRef.new(shape: StringList, required: true, location_name: "tasks"))
511
+ DescribeTasksRequest.add_member(:include, Shapes::ShapeRef.new(shape: TaskFieldList, location_name: "include"))
458
512
  DescribeTasksRequest.struct_class = Types::DescribeTasksRequest
459
513
 
460
514
  DescribeTasksResponse.add_member(:tasks, Shapes::ShapeRef.new(shape: Tasks, location_name: "tasks"))
@@ -527,6 +581,18 @@ module Aws::ECS
527
581
  LinuxParameters.add_member(:tmpfs, Shapes::ShapeRef.new(shape: TmpfsList, location_name: "tmpfs"))
528
582
  LinuxParameters.struct_class = Types::LinuxParameters
529
583
 
584
+ ListAccountSettingsRequest.add_member(:name, Shapes::ShapeRef.new(shape: SettingName, location_name: "name"))
585
+ ListAccountSettingsRequest.add_member(:value, Shapes::ShapeRef.new(shape: String, location_name: "value"))
586
+ ListAccountSettingsRequest.add_member(:principal_arn, Shapes::ShapeRef.new(shape: String, location_name: "principalArn"))
587
+ ListAccountSettingsRequest.add_member(:effective_settings, Shapes::ShapeRef.new(shape: Boolean, location_name: "effectiveSettings"))
588
+ ListAccountSettingsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "nextToken"))
589
+ ListAccountSettingsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: Integer, location_name: "maxResults"))
590
+ ListAccountSettingsRequest.struct_class = Types::ListAccountSettingsRequest
591
+
592
+ ListAccountSettingsResponse.add_member(:settings, Shapes::ShapeRef.new(shape: Settings, location_name: "settings"))
593
+ ListAccountSettingsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "nextToken"))
594
+ ListAccountSettingsResponse.struct_class = Types::ListAccountSettingsResponse
595
+
530
596
  ListAttributesRequest.add_member(:cluster, Shapes::ShapeRef.new(shape: String, location_name: "cluster"))
531
597
  ListAttributesRequest.add_member(:target_type, Shapes::ShapeRef.new(shape: TargetType, required: true, location_name: "targetType"))
532
598
  ListAttributesRequest.add_member(:attribute_name, Shapes::ShapeRef.new(shape: String, location_name: "attributeName"))
@@ -569,6 +635,12 @@ module Aws::ECS
569
635
  ListServicesResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "nextToken"))
570
636
  ListServicesResponse.struct_class = Types::ListServicesResponse
571
637
 
638
+ ListTagsForResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: String, required: true, location_name: "resourceArn"))
639
+ ListTagsForResourceRequest.struct_class = Types::ListTagsForResourceRequest
640
+
641
+ ListTagsForResourceResponse.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
642
+ ListTagsForResourceResponse.struct_class = Types::ListTagsForResourceResponse
643
+
572
644
  ListTaskDefinitionFamiliesRequest.add_member(:family_prefix, Shapes::ShapeRef.new(shape: String, location_name: "familyPrefix"))
573
645
  ListTaskDefinitionFamiliesRequest.add_member(:status, Shapes::ShapeRef.new(shape: TaskDefinitionFamilyStatus, location_name: "status"))
574
646
  ListTaskDefinitionFamiliesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "nextToken"))
@@ -664,6 +736,14 @@ module Aws::ECS
664
736
 
665
737
  PortMappingList.member = Shapes::ShapeRef.new(shape: PortMapping)
666
738
 
739
+ PutAccountSettingRequest.add_member(:name, Shapes::ShapeRef.new(shape: SettingName, required: true, location_name: "name"))
740
+ PutAccountSettingRequest.add_member(:value, Shapes::ShapeRef.new(shape: String, required: true, location_name: "value"))
741
+ PutAccountSettingRequest.add_member(:principal_arn, Shapes::ShapeRef.new(shape: String, location_name: "principalArn"))
742
+ PutAccountSettingRequest.struct_class = Types::PutAccountSettingRequest
743
+
744
+ PutAccountSettingResponse.add_member(:setting, Shapes::ShapeRef.new(shape: Setting, location_name: "setting"))
745
+ PutAccountSettingResponse.struct_class = Types::PutAccountSettingResponse
746
+
667
747
  PutAttributesRequest.add_member(:cluster, Shapes::ShapeRef.new(shape: String, location_name: "cluster"))
668
748
  PutAttributesRequest.add_member(:attributes, Shapes::ShapeRef.new(shape: Attributes, required: true, location_name: "attributes"))
669
749
  PutAttributesRequest.struct_class = Types::PutAttributesRequest
@@ -678,6 +758,7 @@ module Aws::ECS
678
758
  RegisterContainerInstanceRequest.add_member(:version_info, Shapes::ShapeRef.new(shape: VersionInfo, location_name: "versionInfo"))
679
759
  RegisterContainerInstanceRequest.add_member(:container_instance_arn, Shapes::ShapeRef.new(shape: String, location_name: "containerInstanceArn"))
680
760
  RegisterContainerInstanceRequest.add_member(:attributes, Shapes::ShapeRef.new(shape: Attributes, location_name: "attributes"))
761
+ RegisterContainerInstanceRequest.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
681
762
  RegisterContainerInstanceRequest.struct_class = Types::RegisterContainerInstanceRequest
682
763
 
683
764
  RegisterContainerInstanceResponse.add_member(:container_instance, Shapes::ShapeRef.new(shape: ContainerInstance, location_name: "containerInstance"))
@@ -693,9 +774,11 @@ module Aws::ECS
693
774
  RegisterTaskDefinitionRequest.add_member(:requires_compatibilities, Shapes::ShapeRef.new(shape: CompatibilityList, location_name: "requiresCompatibilities"))
694
775
  RegisterTaskDefinitionRequest.add_member(:cpu, Shapes::ShapeRef.new(shape: String, location_name: "cpu"))
695
776
  RegisterTaskDefinitionRequest.add_member(:memory, Shapes::ShapeRef.new(shape: String, location_name: "memory"))
777
+ RegisterTaskDefinitionRequest.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
696
778
  RegisterTaskDefinitionRequest.struct_class = Types::RegisterTaskDefinitionRequest
697
779
 
698
780
  RegisterTaskDefinitionResponse.add_member(:task_definition, Shapes::ShapeRef.new(shape: TaskDefinition, location_name: "taskDefinition"))
781
+ RegisterTaskDefinitionResponse.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
699
782
  RegisterTaskDefinitionResponse.struct_class = Types::RegisterTaskDefinitionResponse
700
783
 
701
784
  RepositoryCredentials.add_member(:credentials_parameter, Shapes::ShapeRef.new(shape: String, required: true, location_name: "credentialsParameter"))
@@ -724,12 +807,21 @@ module Aws::ECS
724
807
  RunTaskRequest.add_member(:launch_type, Shapes::ShapeRef.new(shape: LaunchType, location_name: "launchType"))
725
808
  RunTaskRequest.add_member(:platform_version, Shapes::ShapeRef.new(shape: String, location_name: "platformVersion"))
726
809
  RunTaskRequest.add_member(:network_configuration, Shapes::ShapeRef.new(shape: NetworkConfiguration, location_name: "networkConfiguration"))
810
+ RunTaskRequest.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
811
+ RunTaskRequest.add_member(:enable_ecs_managed_tags, Shapes::ShapeRef.new(shape: Boolean, location_name: "enableECSManagedTags"))
812
+ RunTaskRequest.add_member(:propagate_tags, Shapes::ShapeRef.new(shape: PropagateTags, location_name: "propagateTags"))
727
813
  RunTaskRequest.struct_class = Types::RunTaskRequest
728
814
 
729
815
  RunTaskResponse.add_member(:tasks, Shapes::ShapeRef.new(shape: Tasks, location_name: "tasks"))
730
816
  RunTaskResponse.add_member(:failures, Shapes::ShapeRef.new(shape: Failures, location_name: "failures"))
731
817
  RunTaskResponse.struct_class = Types::RunTaskResponse
732
818
 
819
+ Secret.add_member(:name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "name"))
820
+ Secret.add_member(:value_from, Shapes::ShapeRef.new(shape: String, required: true, location_name: "valueFrom"))
821
+ Secret.struct_class = Types::Secret
822
+
823
+ SecretList.member = Shapes::ShapeRef.new(shape: Secret)
824
+
733
825
  Service.add_member(:service_arn, Shapes::ShapeRef.new(shape: String, location_name: "serviceArn"))
734
826
  Service.add_member(:service_name, Shapes::ShapeRef.new(shape: String, location_name: "serviceName"))
735
827
  Service.add_member(:cluster_arn, Shapes::ShapeRef.new(shape: String, location_name: "clusterArn"))
@@ -752,6 +844,10 @@ module Aws::ECS
752
844
  Service.add_member(:network_configuration, Shapes::ShapeRef.new(shape: NetworkConfiguration, location_name: "networkConfiguration"))
753
845
  Service.add_member(:health_check_grace_period_seconds, Shapes::ShapeRef.new(shape: BoxedInteger, location_name: "healthCheckGracePeriodSeconds"))
754
846
  Service.add_member(:scheduling_strategy, Shapes::ShapeRef.new(shape: SchedulingStrategy, location_name: "schedulingStrategy"))
847
+ Service.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
848
+ Service.add_member(:created_by, Shapes::ShapeRef.new(shape: String, location_name: "createdBy"))
849
+ Service.add_member(:enable_ecs_managed_tags, Shapes::ShapeRef.new(shape: Boolean, location_name: "enableECSManagedTags"))
850
+ Service.add_member(:propagate_tags, Shapes::ShapeRef.new(shape: PropagateTags, location_name: "propagateTags"))
755
851
  Service.struct_class = Types::Service
756
852
 
757
853
  ServiceEvent.add_member(:id, Shapes::ShapeRef.new(shape: String, location_name: "id"))
@@ -761,6 +857,8 @@ module Aws::ECS
761
857
 
762
858
  ServiceEvents.member = Shapes::ShapeRef.new(shape: ServiceEvent)
763
859
 
860
+ ServiceFieldList.member = Shapes::ShapeRef.new(shape: ServiceField)
861
+
764
862
  ServiceRegistries.member = Shapes::ShapeRef.new(shape: ServiceRegistry)
765
863
 
766
864
  ServiceRegistry.add_member(:registry_arn, Shapes::ShapeRef.new(shape: String, location_name: "registryArn"))
@@ -771,6 +869,13 @@ module Aws::ECS
771
869
 
772
870
  Services.member = Shapes::ShapeRef.new(shape: Service)
773
871
 
872
+ Setting.add_member(:name, Shapes::ShapeRef.new(shape: SettingName, location_name: "name"))
873
+ Setting.add_member(:value, Shapes::ShapeRef.new(shape: String, location_name: "value"))
874
+ Setting.add_member(:principal_arn, Shapes::ShapeRef.new(shape: String, location_name: "principalArn"))
875
+ Setting.struct_class = Types::Setting
876
+
877
+ Settings.member = Shapes::ShapeRef.new(shape: Setting)
878
+
774
879
  StartTaskRequest.add_member(:cluster, Shapes::ShapeRef.new(shape: String, location_name: "cluster"))
775
880
  StartTaskRequest.add_member(:task_definition, Shapes::ShapeRef.new(shape: String, required: true, location_name: "taskDefinition"))
776
881
  StartTaskRequest.add_member(:overrides, Shapes::ShapeRef.new(shape: TaskOverride, location_name: "overrides"))
@@ -778,6 +883,9 @@ module Aws::ECS
778
883
  StartTaskRequest.add_member(:started_by, Shapes::ShapeRef.new(shape: String, location_name: "startedBy"))
779
884
  StartTaskRequest.add_member(:group, Shapes::ShapeRef.new(shape: String, location_name: "group"))
780
885
  StartTaskRequest.add_member(:network_configuration, Shapes::ShapeRef.new(shape: NetworkConfiguration, location_name: "networkConfiguration"))
886
+ StartTaskRequest.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
887
+ StartTaskRequest.add_member(:enable_ecs_managed_tags, Shapes::ShapeRef.new(shape: Boolean, location_name: "enableECSManagedTags"))
888
+ StartTaskRequest.add_member(:propagate_tags, Shapes::ShapeRef.new(shape: PropagateTags, location_name: "propagateTags"))
781
889
  StartTaskRequest.struct_class = Types::StartTaskRequest
782
890
 
783
891
  StartTaskResponse.add_member(:tasks, Shapes::ShapeRef.new(shape: Tasks, location_name: "tasks"))
@@ -831,6 +939,20 @@ module Aws::ECS
831
939
 
832
940
  SystemControls.member = Shapes::ShapeRef.new(shape: SystemControl)
833
941
 
942
+ Tag.add_member(:key, Shapes::ShapeRef.new(shape: TagKey, location_name: "key"))
943
+ Tag.add_member(:value, Shapes::ShapeRef.new(shape: TagValue, location_name: "value"))
944
+ Tag.struct_class = Types::Tag
945
+
946
+ TagKeys.member = Shapes::ShapeRef.new(shape: TagKey)
947
+
948
+ TagResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: String, required: true, location_name: "resourceArn"))
949
+ TagResourceRequest.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, required: true, location_name: "tags"))
950
+ TagResourceRequest.struct_class = Types::TagResourceRequest
951
+
952
+ TagResourceResponse.struct_class = Types::TagResourceResponse
953
+
954
+ Tags.member = Shapes::ShapeRef.new(shape: Tag)
955
+
834
956
  Task.add_member(:task_arn, Shapes::ShapeRef.new(shape: String, location_name: "taskArn"))
835
957
  Task.add_member(:cluster_arn, Shapes::ShapeRef.new(shape: String, location_name: "clusterArn"))
836
958
  Task.add_member(:task_definition_arn, Shapes::ShapeRef.new(shape: String, location_name: "taskDefinitionArn"))
@@ -844,6 +966,7 @@ module Aws::ECS
844
966
  Task.add_member(:started_by, Shapes::ShapeRef.new(shape: String, location_name: "startedBy"))
845
967
  Task.add_member(:version, Shapes::ShapeRef.new(shape: Long, location_name: "version"))
846
968
  Task.add_member(:stopped_reason, Shapes::ShapeRef.new(shape: String, location_name: "stoppedReason"))
969
+ Task.add_member(:stop_code, Shapes::ShapeRef.new(shape: TaskStopCode, location_name: "stopCode"))
847
970
  Task.add_member(:connectivity, Shapes::ShapeRef.new(shape: Connectivity, location_name: "connectivity"))
848
971
  Task.add_member(:connectivity_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "connectivityAt"))
849
972
  Task.add_member(:pull_started_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "pullStartedAt"))
@@ -858,6 +981,7 @@ module Aws::ECS
858
981
  Task.add_member(:platform_version, Shapes::ShapeRef.new(shape: String, location_name: "platformVersion"))
859
982
  Task.add_member(:attachments, Shapes::ShapeRef.new(shape: Attachments, location_name: "attachments"))
860
983
  Task.add_member(:health_status, Shapes::ShapeRef.new(shape: HealthStatus, location_name: "healthStatus"))
984
+ Task.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
861
985
  Task.struct_class = Types::Task
862
986
 
863
987
  TaskDefinition.add_member(:task_definition_arn, Shapes::ShapeRef.new(shape: String, location_name: "taskDefinitionArn"))
@@ -877,12 +1001,16 @@ module Aws::ECS
877
1001
  TaskDefinition.add_member(:memory, Shapes::ShapeRef.new(shape: String, location_name: "memory"))
878
1002
  TaskDefinition.struct_class = Types::TaskDefinition
879
1003
 
1004
+ TaskDefinitionFieldList.member = Shapes::ShapeRef.new(shape: TaskDefinitionField)
1005
+
880
1006
  TaskDefinitionPlacementConstraint.add_member(:type, Shapes::ShapeRef.new(shape: TaskDefinitionPlacementConstraintType, location_name: "type"))
881
1007
  TaskDefinitionPlacementConstraint.add_member(:expression, Shapes::ShapeRef.new(shape: String, location_name: "expression"))
882
1008
  TaskDefinitionPlacementConstraint.struct_class = Types::TaskDefinitionPlacementConstraint
883
1009
 
884
1010
  TaskDefinitionPlacementConstraints.member = Shapes::ShapeRef.new(shape: TaskDefinitionPlacementConstraint)
885
1011
 
1012
+ TaskFieldList.member = Shapes::ShapeRef.new(shape: TaskField)
1013
+
886
1014
  TaskOverride.add_member(:container_overrides, Shapes::ShapeRef.new(shape: ContainerOverrides, location_name: "containerOverrides"))
887
1015
  TaskOverride.add_member(:task_role_arn, Shapes::ShapeRef.new(shape: String, location_name: "taskRoleArn"))
888
1016
  TaskOverride.add_member(:execution_role_arn, Shapes::ShapeRef.new(shape: String, location_name: "executionRoleArn"))
@@ -904,6 +1032,12 @@ module Aws::ECS
904
1032
 
905
1033
  UlimitList.member = Shapes::ShapeRef.new(shape: Ulimit)
906
1034
 
1035
+ UntagResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: String, required: true, location_name: "resourceArn"))
1036
+ UntagResourceRequest.add_member(:tag_keys, Shapes::ShapeRef.new(shape: TagKeys, required: true, location_name: "tagKeys"))
1037
+ UntagResourceRequest.struct_class = Types::UntagResourceRequest
1038
+
1039
+ UntagResourceResponse.struct_class = Types::UntagResourceResponse
1040
+
907
1041
  UpdateContainerAgentRequest.add_member(:cluster, Shapes::ShapeRef.new(shape: String, location_name: "cluster"))
908
1042
  UpdateContainerAgentRequest.add_member(:container_instance, Shapes::ShapeRef.new(shape: String, required: true, location_name: "containerInstance"))
909
1043
  UpdateContainerAgentRequest.struct_class = Types::UpdateContainerAgentRequest
@@ -998,6 +1132,17 @@ module Aws::ECS
998
1132
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
999
1133
  end)
1000
1134
 
1135
+ api.add_operation(:delete_account_setting, Seahorse::Model::Operation.new.tap do |o|
1136
+ o.name = "DeleteAccountSetting"
1137
+ o.http_method = "POST"
1138
+ o.http_request_uri = "/"
1139
+ o.input = Shapes::ShapeRef.new(shape: DeleteAccountSettingRequest)
1140
+ o.output = Shapes::ShapeRef.new(shape: DeleteAccountSettingResponse)
1141
+ o.errors << Shapes::ShapeRef.new(shape: ServerException)
1142
+ o.errors << Shapes::ShapeRef.new(shape: ClientException)
1143
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
1144
+ end)
1145
+
1001
1146
  api.add_operation(:delete_attributes, Seahorse::Model::Operation.new.tap do |o|
1002
1147
  o.name = "DeleteAttributes"
1003
1148
  o.http_method = "POST"
@@ -1128,6 +1273,17 @@ module Aws::ECS
1128
1273
  o.errors << Shapes::ShapeRef.new(shape: ClientException)
1129
1274
  end)
1130
1275
 
1276
+ api.add_operation(:list_account_settings, Seahorse::Model::Operation.new.tap do |o|
1277
+ o.name = "ListAccountSettings"
1278
+ o.http_method = "POST"
1279
+ o.http_request_uri = "/"
1280
+ o.input = Shapes::ShapeRef.new(shape: ListAccountSettingsRequest)
1281
+ o.output = Shapes::ShapeRef.new(shape: ListAccountSettingsResponse)
1282
+ o.errors << Shapes::ShapeRef.new(shape: ServerException)
1283
+ o.errors << Shapes::ShapeRef.new(shape: ClientException)
1284
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
1285
+ end)
1286
+
1131
1287
  api.add_operation(:list_attributes, Seahorse::Model::Operation.new.tap do |o|
1132
1288
  o.name = "ListAttributes"
1133
1289
  o.http_method = "POST"
@@ -1191,6 +1347,18 @@ module Aws::ECS
1191
1347
  )
1192
1348
  end)
1193
1349
 
1350
+ api.add_operation(:list_tags_for_resource, Seahorse::Model::Operation.new.tap do |o|
1351
+ o.name = "ListTagsForResource"
1352
+ o.http_method = "POST"
1353
+ o.http_request_uri = "/"
1354
+ o.input = Shapes::ShapeRef.new(shape: ListTagsForResourceRequest)
1355
+ o.output = Shapes::ShapeRef.new(shape: ListTagsForResourceResponse)
1356
+ o.errors << Shapes::ShapeRef.new(shape: ServerException)
1357
+ o.errors << Shapes::ShapeRef.new(shape: ClientException)
1358
+ o.errors << Shapes::ShapeRef.new(shape: ClusterNotFoundException)
1359
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
1360
+ end)
1361
+
1194
1362
  api.add_operation(:list_task_definition_families, Seahorse::Model::Operation.new.tap do |o|
1195
1363
  o.name = "ListTaskDefinitionFamilies"
1196
1364
  o.http_method = "POST"
@@ -1244,6 +1412,17 @@ module Aws::ECS
1244
1412
  )
1245
1413
  end)
1246
1414
 
1415
+ api.add_operation(:put_account_setting, Seahorse::Model::Operation.new.tap do |o|
1416
+ o.name = "PutAccountSetting"
1417
+ o.http_method = "POST"
1418
+ o.http_request_uri = "/"
1419
+ o.input = Shapes::ShapeRef.new(shape: PutAccountSettingRequest)
1420
+ o.output = Shapes::ShapeRef.new(shape: PutAccountSettingResponse)
1421
+ o.errors << Shapes::ShapeRef.new(shape: ServerException)
1422
+ o.errors << Shapes::ShapeRef.new(shape: ClientException)
1423
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
1424
+ end)
1425
+
1247
1426
  api.add_operation(:put_attributes, Seahorse::Model::Operation.new.tap do |o|
1248
1427
  o.name = "PutAttributes"
1249
1428
  o.http_method = "POST"
@@ -1341,6 +1520,32 @@ module Aws::ECS
1341
1520
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1342
1521
  end)
1343
1522
 
1523
+ api.add_operation(:tag_resource, Seahorse::Model::Operation.new.tap do |o|
1524
+ o.name = "TagResource"
1525
+ o.http_method = "POST"
1526
+ o.http_request_uri = "/"
1527
+ o.input = Shapes::ShapeRef.new(shape: TagResourceRequest)
1528
+ o.output = Shapes::ShapeRef.new(shape: TagResourceResponse)
1529
+ o.errors << Shapes::ShapeRef.new(shape: ServerException)
1530
+ o.errors << Shapes::ShapeRef.new(shape: ClientException)
1531
+ o.errors << Shapes::ShapeRef.new(shape: ClusterNotFoundException)
1532
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1533
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
1534
+ end)
1535
+
1536
+ api.add_operation(:untag_resource, Seahorse::Model::Operation.new.tap do |o|
1537
+ o.name = "UntagResource"
1538
+ o.http_method = "POST"
1539
+ o.http_request_uri = "/"
1540
+ o.input = Shapes::ShapeRef.new(shape: UntagResourceRequest)
1541
+ o.output = Shapes::ShapeRef.new(shape: UntagResourceResponse)
1542
+ o.errors << Shapes::ShapeRef.new(shape: ServerException)
1543
+ o.errors << Shapes::ShapeRef.new(shape: ClientException)
1544
+ o.errors << Shapes::ShapeRef.new(shape: ClusterNotFoundException)
1545
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1546
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
1547
+ end)
1548
+
1344
1549
  api.add_operation(:update_container_agent, Seahorse::Model::Operation.new.tap do |o|
1345
1550
  o.name = "UpdateContainerAgent"
1346
1551
  o.http_method = "POST"