aws-sdk-ecs 1.0.0.rc1

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,1017 @@
1
+ # WARNING ABOUT GENERATED CODE
2
+ #
3
+ # This file is generated. See the contributing for info on making contributions:
4
+ # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
5
+ #
6
+ # WARNING ABOUT GENERATED CODE
7
+
8
+ module Aws
9
+ module ECS
10
+ # @api private
11
+ module ClientApi
12
+
13
+ include Seahorse::Model
14
+
15
+ AgentUpdateStatus = Shapes::StringShape.new(name: 'AgentUpdateStatus')
16
+ Attribute = Shapes::StructureShape.new(name: 'Attribute')
17
+ Attributes = Shapes::ListShape.new(name: 'Attributes')
18
+ Boolean = Shapes::BooleanShape.new(name: 'Boolean')
19
+ BoxedBoolean = Shapes::BooleanShape.new(name: 'BoxedBoolean')
20
+ BoxedInteger = Shapes::IntegerShape.new(name: 'BoxedInteger')
21
+ ClientException = Shapes::StructureShape.new(name: 'ClientException')
22
+ Cluster = Shapes::StructureShape.new(name: 'Cluster')
23
+ ClusterContainsContainerInstancesException = Shapes::StructureShape.new(name: 'ClusterContainsContainerInstancesException')
24
+ ClusterContainsServicesException = Shapes::StructureShape.new(name: 'ClusterContainsServicesException')
25
+ ClusterNotFoundException = Shapes::StructureShape.new(name: 'ClusterNotFoundException')
26
+ Clusters = Shapes::ListShape.new(name: 'Clusters')
27
+ Container = Shapes::StructureShape.new(name: 'Container')
28
+ ContainerDefinition = Shapes::StructureShape.new(name: 'ContainerDefinition')
29
+ ContainerDefinitions = Shapes::ListShape.new(name: 'ContainerDefinitions')
30
+ ContainerInstance = Shapes::StructureShape.new(name: 'ContainerInstance')
31
+ ContainerInstances = Shapes::ListShape.new(name: 'ContainerInstances')
32
+ ContainerOverride = Shapes::StructureShape.new(name: 'ContainerOverride')
33
+ ContainerOverrides = Shapes::ListShape.new(name: 'ContainerOverrides')
34
+ Containers = Shapes::ListShape.new(name: 'Containers')
35
+ CreateClusterRequest = Shapes::StructureShape.new(name: 'CreateClusterRequest')
36
+ CreateClusterResponse = Shapes::StructureShape.new(name: 'CreateClusterResponse')
37
+ CreateServiceRequest = Shapes::StructureShape.new(name: 'CreateServiceRequest')
38
+ CreateServiceResponse = Shapes::StructureShape.new(name: 'CreateServiceResponse')
39
+ DeleteClusterRequest = Shapes::StructureShape.new(name: 'DeleteClusterRequest')
40
+ DeleteClusterResponse = Shapes::StructureShape.new(name: 'DeleteClusterResponse')
41
+ DeleteServiceRequest = Shapes::StructureShape.new(name: 'DeleteServiceRequest')
42
+ DeleteServiceResponse = Shapes::StructureShape.new(name: 'DeleteServiceResponse')
43
+ Deployment = Shapes::StructureShape.new(name: 'Deployment')
44
+ DeploymentConfiguration = Shapes::StructureShape.new(name: 'DeploymentConfiguration')
45
+ Deployments = Shapes::ListShape.new(name: 'Deployments')
46
+ DeregisterContainerInstanceRequest = Shapes::StructureShape.new(name: 'DeregisterContainerInstanceRequest')
47
+ DeregisterContainerInstanceResponse = Shapes::StructureShape.new(name: 'DeregisterContainerInstanceResponse')
48
+ DeregisterTaskDefinitionRequest = Shapes::StructureShape.new(name: 'DeregisterTaskDefinitionRequest')
49
+ DeregisterTaskDefinitionResponse = Shapes::StructureShape.new(name: 'DeregisterTaskDefinitionResponse')
50
+ DescribeClustersRequest = Shapes::StructureShape.new(name: 'DescribeClustersRequest')
51
+ DescribeClustersResponse = Shapes::StructureShape.new(name: 'DescribeClustersResponse')
52
+ DescribeContainerInstancesRequest = Shapes::StructureShape.new(name: 'DescribeContainerInstancesRequest')
53
+ DescribeContainerInstancesResponse = Shapes::StructureShape.new(name: 'DescribeContainerInstancesResponse')
54
+ DescribeServicesRequest = Shapes::StructureShape.new(name: 'DescribeServicesRequest')
55
+ DescribeServicesResponse = Shapes::StructureShape.new(name: 'DescribeServicesResponse')
56
+ DescribeTaskDefinitionRequest = Shapes::StructureShape.new(name: 'DescribeTaskDefinitionRequest')
57
+ DescribeTaskDefinitionResponse = Shapes::StructureShape.new(name: 'DescribeTaskDefinitionResponse')
58
+ DescribeTasksRequest = Shapes::StructureShape.new(name: 'DescribeTasksRequest')
59
+ DescribeTasksResponse = Shapes::StructureShape.new(name: 'DescribeTasksResponse')
60
+ DesiredStatus = Shapes::StringShape.new(name: 'DesiredStatus')
61
+ DiscoverPollEndpointRequest = Shapes::StructureShape.new(name: 'DiscoverPollEndpointRequest')
62
+ DiscoverPollEndpointResponse = Shapes::StructureShape.new(name: 'DiscoverPollEndpointResponse')
63
+ DockerLabelsMap = Shapes::MapShape.new(name: 'DockerLabelsMap')
64
+ Double = Shapes::FloatShape.new(name: 'Double')
65
+ EnvironmentVariables = Shapes::ListShape.new(name: 'EnvironmentVariables')
66
+ Failure = Shapes::StructureShape.new(name: 'Failure')
67
+ Failures = Shapes::ListShape.new(name: 'Failures')
68
+ HostEntry = Shapes::StructureShape.new(name: 'HostEntry')
69
+ HostEntryList = Shapes::ListShape.new(name: 'HostEntryList')
70
+ HostVolumeProperties = Shapes::StructureShape.new(name: 'HostVolumeProperties')
71
+ Integer = Shapes::IntegerShape.new(name: 'Integer')
72
+ InvalidParameterException = Shapes::StructureShape.new(name: 'InvalidParameterException')
73
+ KeyValuePair = Shapes::StructureShape.new(name: 'KeyValuePair')
74
+ ListClustersRequest = Shapes::StructureShape.new(name: 'ListClustersRequest')
75
+ ListClustersResponse = Shapes::StructureShape.new(name: 'ListClustersResponse')
76
+ ListContainerInstancesRequest = Shapes::StructureShape.new(name: 'ListContainerInstancesRequest')
77
+ ListContainerInstancesResponse = Shapes::StructureShape.new(name: 'ListContainerInstancesResponse')
78
+ ListServicesRequest = Shapes::StructureShape.new(name: 'ListServicesRequest')
79
+ ListServicesResponse = Shapes::StructureShape.new(name: 'ListServicesResponse')
80
+ ListTaskDefinitionFamiliesRequest = Shapes::StructureShape.new(name: 'ListTaskDefinitionFamiliesRequest')
81
+ ListTaskDefinitionFamiliesResponse = Shapes::StructureShape.new(name: 'ListTaskDefinitionFamiliesResponse')
82
+ ListTaskDefinitionsRequest = Shapes::StructureShape.new(name: 'ListTaskDefinitionsRequest')
83
+ ListTaskDefinitionsResponse = Shapes::StructureShape.new(name: 'ListTaskDefinitionsResponse')
84
+ ListTasksRequest = Shapes::StructureShape.new(name: 'ListTasksRequest')
85
+ ListTasksResponse = Shapes::StructureShape.new(name: 'ListTasksResponse')
86
+ LoadBalancer = Shapes::StructureShape.new(name: 'LoadBalancer')
87
+ LoadBalancers = Shapes::ListShape.new(name: 'LoadBalancers')
88
+ LogConfiguration = Shapes::StructureShape.new(name: 'LogConfiguration')
89
+ LogConfigurationOptionsMap = Shapes::MapShape.new(name: 'LogConfigurationOptionsMap')
90
+ LogDriver = Shapes::StringShape.new(name: 'LogDriver')
91
+ Long = Shapes::IntegerShape.new(name: 'Long')
92
+ MissingVersionException = Shapes::StructureShape.new(name: 'MissingVersionException')
93
+ MountPoint = Shapes::StructureShape.new(name: 'MountPoint')
94
+ MountPointList = Shapes::ListShape.new(name: 'MountPointList')
95
+ NetworkBinding = Shapes::StructureShape.new(name: 'NetworkBinding')
96
+ NetworkBindings = Shapes::ListShape.new(name: 'NetworkBindings')
97
+ NetworkMode = Shapes::StringShape.new(name: 'NetworkMode')
98
+ NoUpdateAvailableException = Shapes::StructureShape.new(name: 'NoUpdateAvailableException')
99
+ PortMapping = Shapes::StructureShape.new(name: 'PortMapping')
100
+ PortMappingList = Shapes::ListShape.new(name: 'PortMappingList')
101
+ RegisterContainerInstanceRequest = Shapes::StructureShape.new(name: 'RegisterContainerInstanceRequest')
102
+ RegisterContainerInstanceResponse = Shapes::StructureShape.new(name: 'RegisterContainerInstanceResponse')
103
+ RegisterTaskDefinitionRequest = Shapes::StructureShape.new(name: 'RegisterTaskDefinitionRequest')
104
+ RegisterTaskDefinitionResponse = Shapes::StructureShape.new(name: 'RegisterTaskDefinitionResponse')
105
+ RequiresAttributes = Shapes::ListShape.new(name: 'RequiresAttributes')
106
+ Resource = Shapes::StructureShape.new(name: 'Resource')
107
+ Resources = Shapes::ListShape.new(name: 'Resources')
108
+ RunTaskRequest = Shapes::StructureShape.new(name: 'RunTaskRequest')
109
+ RunTaskResponse = Shapes::StructureShape.new(name: 'RunTaskResponse')
110
+ ServerException = Shapes::StructureShape.new(name: 'ServerException')
111
+ Service = Shapes::StructureShape.new(name: 'Service')
112
+ ServiceEvent = Shapes::StructureShape.new(name: 'ServiceEvent')
113
+ ServiceEvents = Shapes::ListShape.new(name: 'ServiceEvents')
114
+ ServiceNotActiveException = Shapes::StructureShape.new(name: 'ServiceNotActiveException')
115
+ ServiceNotFoundException = Shapes::StructureShape.new(name: 'ServiceNotFoundException')
116
+ Services = Shapes::ListShape.new(name: 'Services')
117
+ SortOrder = Shapes::StringShape.new(name: 'SortOrder')
118
+ StartTaskRequest = Shapes::StructureShape.new(name: 'StartTaskRequest')
119
+ StartTaskResponse = Shapes::StructureShape.new(name: 'StartTaskResponse')
120
+ StopTaskRequest = Shapes::StructureShape.new(name: 'StopTaskRequest')
121
+ StopTaskResponse = Shapes::StructureShape.new(name: 'StopTaskResponse')
122
+ String = Shapes::StringShape.new(name: 'String')
123
+ StringList = Shapes::ListShape.new(name: 'StringList')
124
+ SubmitContainerStateChangeRequest = Shapes::StructureShape.new(name: 'SubmitContainerStateChangeRequest')
125
+ SubmitContainerStateChangeResponse = Shapes::StructureShape.new(name: 'SubmitContainerStateChangeResponse')
126
+ SubmitTaskStateChangeRequest = Shapes::StructureShape.new(name: 'SubmitTaskStateChangeRequest')
127
+ SubmitTaskStateChangeResponse = Shapes::StructureShape.new(name: 'SubmitTaskStateChangeResponse')
128
+ Task = Shapes::StructureShape.new(name: 'Task')
129
+ TaskDefinition = Shapes::StructureShape.new(name: 'TaskDefinition')
130
+ TaskDefinitionFamilyStatus = Shapes::StringShape.new(name: 'TaskDefinitionFamilyStatus')
131
+ TaskDefinitionStatus = Shapes::StringShape.new(name: 'TaskDefinitionStatus')
132
+ TaskOverride = Shapes::StructureShape.new(name: 'TaskOverride')
133
+ Tasks = Shapes::ListShape.new(name: 'Tasks')
134
+ Timestamp = Shapes::TimestampShape.new(name: 'Timestamp')
135
+ TransportProtocol = Shapes::StringShape.new(name: 'TransportProtocol')
136
+ Ulimit = Shapes::StructureShape.new(name: 'Ulimit')
137
+ UlimitList = Shapes::ListShape.new(name: 'UlimitList')
138
+ UlimitName = Shapes::StringShape.new(name: 'UlimitName')
139
+ UpdateContainerAgentRequest = Shapes::StructureShape.new(name: 'UpdateContainerAgentRequest')
140
+ UpdateContainerAgentResponse = Shapes::StructureShape.new(name: 'UpdateContainerAgentResponse')
141
+ UpdateInProgressException = Shapes::StructureShape.new(name: 'UpdateInProgressException')
142
+ UpdateServiceRequest = Shapes::StructureShape.new(name: 'UpdateServiceRequest')
143
+ UpdateServiceResponse = Shapes::StructureShape.new(name: 'UpdateServiceResponse')
144
+ VersionInfo = Shapes::StructureShape.new(name: 'VersionInfo')
145
+ Volume = Shapes::StructureShape.new(name: 'Volume')
146
+ VolumeFrom = Shapes::StructureShape.new(name: 'VolumeFrom')
147
+ VolumeFromList = Shapes::ListShape.new(name: 'VolumeFromList')
148
+ VolumeList = Shapes::ListShape.new(name: 'VolumeList')
149
+
150
+ Attribute.add_member(:name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "name"))
151
+ Attribute.add_member(:value, Shapes::ShapeRef.new(shape: String, location_name: "value"))
152
+ Attribute.struct_class = Types::Attribute
153
+
154
+ Attributes.member = Shapes::ShapeRef.new(shape: Attribute)
155
+
156
+ Cluster.add_member(:cluster_arn, Shapes::ShapeRef.new(shape: String, location_name: "clusterArn"))
157
+ Cluster.add_member(:cluster_name, Shapes::ShapeRef.new(shape: String, location_name: "clusterName"))
158
+ Cluster.add_member(:status, Shapes::ShapeRef.new(shape: String, location_name: "status"))
159
+ Cluster.add_member(:registered_container_instances_count, Shapes::ShapeRef.new(shape: Integer, location_name: "registeredContainerInstancesCount"))
160
+ Cluster.add_member(:running_tasks_count, Shapes::ShapeRef.new(shape: Integer, location_name: "runningTasksCount"))
161
+ Cluster.add_member(:pending_tasks_count, Shapes::ShapeRef.new(shape: Integer, location_name: "pendingTasksCount"))
162
+ Cluster.add_member(:active_services_count, Shapes::ShapeRef.new(shape: Integer, location_name: "activeServicesCount"))
163
+ Cluster.struct_class = Types::Cluster
164
+
165
+ Clusters.member = Shapes::ShapeRef.new(shape: Cluster)
166
+
167
+ Container.add_member(:container_arn, Shapes::ShapeRef.new(shape: String, location_name: "containerArn"))
168
+ Container.add_member(:task_arn, Shapes::ShapeRef.new(shape: String, location_name: "taskArn"))
169
+ Container.add_member(:name, Shapes::ShapeRef.new(shape: String, location_name: "name"))
170
+ Container.add_member(:last_status, Shapes::ShapeRef.new(shape: String, location_name: "lastStatus"))
171
+ Container.add_member(:exit_code, Shapes::ShapeRef.new(shape: BoxedInteger, location_name: "exitCode"))
172
+ Container.add_member(:reason, Shapes::ShapeRef.new(shape: String, location_name: "reason"))
173
+ Container.add_member(:network_bindings, Shapes::ShapeRef.new(shape: NetworkBindings, location_name: "networkBindings"))
174
+ Container.struct_class = Types::Container
175
+
176
+ ContainerDefinition.add_member(:name, Shapes::ShapeRef.new(shape: String, location_name: "name"))
177
+ ContainerDefinition.add_member(:image, Shapes::ShapeRef.new(shape: String, location_name: "image"))
178
+ ContainerDefinition.add_member(:cpu, Shapes::ShapeRef.new(shape: Integer, location_name: "cpu"))
179
+ ContainerDefinition.add_member(:memory, Shapes::ShapeRef.new(shape: BoxedInteger, location_name: "memory"))
180
+ ContainerDefinition.add_member(:memory_reservation, Shapes::ShapeRef.new(shape: BoxedInteger, location_name: "memoryReservation"))
181
+ ContainerDefinition.add_member(:links, Shapes::ShapeRef.new(shape: StringList, location_name: "links"))
182
+ ContainerDefinition.add_member(:port_mappings, Shapes::ShapeRef.new(shape: PortMappingList, location_name: "portMappings"))
183
+ ContainerDefinition.add_member(:essential, Shapes::ShapeRef.new(shape: BoxedBoolean, location_name: "essential"))
184
+ ContainerDefinition.add_member(:entry_point, Shapes::ShapeRef.new(shape: StringList, location_name: "entryPoint"))
185
+ ContainerDefinition.add_member(:command, Shapes::ShapeRef.new(shape: StringList, location_name: "command"))
186
+ ContainerDefinition.add_member(:environment, Shapes::ShapeRef.new(shape: EnvironmentVariables, location_name: "environment"))
187
+ ContainerDefinition.add_member(:mount_points, Shapes::ShapeRef.new(shape: MountPointList, location_name: "mountPoints"))
188
+ ContainerDefinition.add_member(:volumes_from, Shapes::ShapeRef.new(shape: VolumeFromList, location_name: "volumesFrom"))
189
+ ContainerDefinition.add_member(:hostname, Shapes::ShapeRef.new(shape: String, location_name: "hostname"))
190
+ ContainerDefinition.add_member(:user, Shapes::ShapeRef.new(shape: String, location_name: "user"))
191
+ ContainerDefinition.add_member(:working_directory, Shapes::ShapeRef.new(shape: String, location_name: "workingDirectory"))
192
+ ContainerDefinition.add_member(:disable_networking, Shapes::ShapeRef.new(shape: BoxedBoolean, location_name: "disableNetworking"))
193
+ ContainerDefinition.add_member(:privileged, Shapes::ShapeRef.new(shape: BoxedBoolean, location_name: "privileged"))
194
+ ContainerDefinition.add_member(:readonly_root_filesystem, Shapes::ShapeRef.new(shape: BoxedBoolean, location_name: "readonlyRootFilesystem"))
195
+ ContainerDefinition.add_member(:dns_servers, Shapes::ShapeRef.new(shape: StringList, location_name: "dnsServers"))
196
+ ContainerDefinition.add_member(:dns_search_domains, Shapes::ShapeRef.new(shape: StringList, location_name: "dnsSearchDomains"))
197
+ ContainerDefinition.add_member(:extra_hosts, Shapes::ShapeRef.new(shape: HostEntryList, location_name: "extraHosts"))
198
+ ContainerDefinition.add_member(:docker_security_options, Shapes::ShapeRef.new(shape: StringList, location_name: "dockerSecurityOptions"))
199
+ ContainerDefinition.add_member(:docker_labels, Shapes::ShapeRef.new(shape: DockerLabelsMap, location_name: "dockerLabels"))
200
+ ContainerDefinition.add_member(:ulimits, Shapes::ShapeRef.new(shape: UlimitList, location_name: "ulimits"))
201
+ ContainerDefinition.add_member(:log_configuration, Shapes::ShapeRef.new(shape: LogConfiguration, location_name: "logConfiguration"))
202
+ ContainerDefinition.struct_class = Types::ContainerDefinition
203
+
204
+ ContainerDefinitions.member = Shapes::ShapeRef.new(shape: ContainerDefinition)
205
+
206
+ ContainerInstance.add_member(:container_instance_arn, Shapes::ShapeRef.new(shape: String, location_name: "containerInstanceArn"))
207
+ ContainerInstance.add_member(:ec2_instance_id, Shapes::ShapeRef.new(shape: String, location_name: "ec2InstanceId"))
208
+ ContainerInstance.add_member(:version, Shapes::ShapeRef.new(shape: Long, location_name: "version"))
209
+ ContainerInstance.add_member(:version_info, Shapes::ShapeRef.new(shape: VersionInfo, location_name: "versionInfo"))
210
+ ContainerInstance.add_member(:remaining_resources, Shapes::ShapeRef.new(shape: Resources, location_name: "remainingResources"))
211
+ ContainerInstance.add_member(:registered_resources, Shapes::ShapeRef.new(shape: Resources, location_name: "registeredResources"))
212
+ ContainerInstance.add_member(:status, Shapes::ShapeRef.new(shape: String, location_name: "status"))
213
+ ContainerInstance.add_member(:agent_connected, Shapes::ShapeRef.new(shape: Boolean, location_name: "agentConnected"))
214
+ ContainerInstance.add_member(:running_tasks_count, Shapes::ShapeRef.new(shape: Integer, location_name: "runningTasksCount"))
215
+ ContainerInstance.add_member(:pending_tasks_count, Shapes::ShapeRef.new(shape: Integer, location_name: "pendingTasksCount"))
216
+ ContainerInstance.add_member(:agent_update_status, Shapes::ShapeRef.new(shape: AgentUpdateStatus, location_name: "agentUpdateStatus"))
217
+ ContainerInstance.add_member(:attributes, Shapes::ShapeRef.new(shape: Attributes, location_name: "attributes"))
218
+ ContainerInstance.struct_class = Types::ContainerInstance
219
+
220
+ ContainerInstances.member = Shapes::ShapeRef.new(shape: ContainerInstance)
221
+
222
+ ContainerOverride.add_member(:name, Shapes::ShapeRef.new(shape: String, location_name: "name"))
223
+ ContainerOverride.add_member(:command, Shapes::ShapeRef.new(shape: StringList, location_name: "command"))
224
+ ContainerOverride.add_member(:environment, Shapes::ShapeRef.new(shape: EnvironmentVariables, location_name: "environment"))
225
+ ContainerOverride.struct_class = Types::ContainerOverride
226
+
227
+ ContainerOverrides.member = Shapes::ShapeRef.new(shape: ContainerOverride)
228
+
229
+ Containers.member = Shapes::ShapeRef.new(shape: Container)
230
+
231
+ CreateClusterRequest.add_member(:cluster_name, Shapes::ShapeRef.new(shape: String, location_name: "clusterName"))
232
+ CreateClusterRequest.struct_class = Types::CreateClusterRequest
233
+
234
+ CreateClusterResponse.add_member(:cluster, Shapes::ShapeRef.new(shape: Cluster, location_name: "cluster"))
235
+ CreateClusterResponse.struct_class = Types::CreateClusterResponse
236
+
237
+ CreateServiceRequest.add_member(:cluster, Shapes::ShapeRef.new(shape: String, location_name: "cluster"))
238
+ CreateServiceRequest.add_member(:service_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "serviceName"))
239
+ CreateServiceRequest.add_member(:task_definition, Shapes::ShapeRef.new(shape: String, required: true, location_name: "taskDefinition"))
240
+ CreateServiceRequest.add_member(:load_balancers, Shapes::ShapeRef.new(shape: LoadBalancers, location_name: "loadBalancers"))
241
+ CreateServiceRequest.add_member(:desired_count, Shapes::ShapeRef.new(shape: BoxedInteger, required: true, location_name: "desiredCount"))
242
+ CreateServiceRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: String, location_name: "clientToken"))
243
+ CreateServiceRequest.add_member(:role, Shapes::ShapeRef.new(shape: String, location_name: "role"))
244
+ CreateServiceRequest.add_member(:deployment_configuration, Shapes::ShapeRef.new(shape: DeploymentConfiguration, location_name: "deploymentConfiguration"))
245
+ CreateServiceRequest.struct_class = Types::CreateServiceRequest
246
+
247
+ CreateServiceResponse.add_member(:service, Shapes::ShapeRef.new(shape: Service, location_name: "service"))
248
+ CreateServiceResponse.struct_class = Types::CreateServiceResponse
249
+
250
+ DeleteClusterRequest.add_member(:cluster, Shapes::ShapeRef.new(shape: String, required: true, location_name: "cluster"))
251
+ DeleteClusterRequest.struct_class = Types::DeleteClusterRequest
252
+
253
+ DeleteClusterResponse.add_member(:cluster, Shapes::ShapeRef.new(shape: Cluster, location_name: "cluster"))
254
+ DeleteClusterResponse.struct_class = Types::DeleteClusterResponse
255
+
256
+ DeleteServiceRequest.add_member(:cluster, Shapes::ShapeRef.new(shape: String, location_name: "cluster"))
257
+ DeleteServiceRequest.add_member(:service, Shapes::ShapeRef.new(shape: String, required: true, location_name: "service"))
258
+ DeleteServiceRequest.struct_class = Types::DeleteServiceRequest
259
+
260
+ DeleteServiceResponse.add_member(:service, Shapes::ShapeRef.new(shape: Service, location_name: "service"))
261
+ DeleteServiceResponse.struct_class = Types::DeleteServiceResponse
262
+
263
+ Deployment.add_member(:id, Shapes::ShapeRef.new(shape: String, location_name: "id"))
264
+ Deployment.add_member(:status, Shapes::ShapeRef.new(shape: String, location_name: "status"))
265
+ Deployment.add_member(:task_definition, Shapes::ShapeRef.new(shape: String, location_name: "taskDefinition"))
266
+ Deployment.add_member(:desired_count, Shapes::ShapeRef.new(shape: Integer, location_name: "desiredCount"))
267
+ Deployment.add_member(:pending_count, Shapes::ShapeRef.new(shape: Integer, location_name: "pendingCount"))
268
+ Deployment.add_member(:running_count, Shapes::ShapeRef.new(shape: Integer, location_name: "runningCount"))
269
+ Deployment.add_member(:created_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "createdAt"))
270
+ Deployment.add_member(:updated_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "updatedAt"))
271
+ Deployment.struct_class = Types::Deployment
272
+
273
+ DeploymentConfiguration.add_member(:maximum_percent, Shapes::ShapeRef.new(shape: BoxedInteger, location_name: "maximumPercent"))
274
+ DeploymentConfiguration.add_member(:minimum_healthy_percent, Shapes::ShapeRef.new(shape: BoxedInteger, location_name: "minimumHealthyPercent"))
275
+ DeploymentConfiguration.struct_class = Types::DeploymentConfiguration
276
+
277
+ Deployments.member = Shapes::ShapeRef.new(shape: Deployment)
278
+
279
+ DeregisterContainerInstanceRequest.add_member(:cluster, Shapes::ShapeRef.new(shape: String, location_name: "cluster"))
280
+ DeregisterContainerInstanceRequest.add_member(:container_instance, Shapes::ShapeRef.new(shape: String, required: true, location_name: "containerInstance"))
281
+ DeregisterContainerInstanceRequest.add_member(:force, Shapes::ShapeRef.new(shape: BoxedBoolean, location_name: "force"))
282
+ DeregisterContainerInstanceRequest.struct_class = Types::DeregisterContainerInstanceRequest
283
+
284
+ DeregisterContainerInstanceResponse.add_member(:container_instance, Shapes::ShapeRef.new(shape: ContainerInstance, location_name: "containerInstance"))
285
+ DeregisterContainerInstanceResponse.struct_class = Types::DeregisterContainerInstanceResponse
286
+
287
+ DeregisterTaskDefinitionRequest.add_member(:task_definition, Shapes::ShapeRef.new(shape: String, required: true, location_name: "taskDefinition"))
288
+ DeregisterTaskDefinitionRequest.struct_class = Types::DeregisterTaskDefinitionRequest
289
+
290
+ DeregisterTaskDefinitionResponse.add_member(:task_definition, Shapes::ShapeRef.new(shape: TaskDefinition, location_name: "taskDefinition"))
291
+ DeregisterTaskDefinitionResponse.struct_class = Types::DeregisterTaskDefinitionResponse
292
+
293
+ DescribeClustersRequest.add_member(:clusters, Shapes::ShapeRef.new(shape: StringList, location_name: "clusters"))
294
+ DescribeClustersRequest.struct_class = Types::DescribeClustersRequest
295
+
296
+ DescribeClustersResponse.add_member(:clusters, Shapes::ShapeRef.new(shape: Clusters, location_name: "clusters"))
297
+ DescribeClustersResponse.add_member(:failures, Shapes::ShapeRef.new(shape: Failures, location_name: "failures"))
298
+ DescribeClustersResponse.struct_class = Types::DescribeClustersResponse
299
+
300
+ DescribeContainerInstancesRequest.add_member(:cluster, Shapes::ShapeRef.new(shape: String, location_name: "cluster"))
301
+ DescribeContainerInstancesRequest.add_member(:container_instances, Shapes::ShapeRef.new(shape: StringList, required: true, location_name: "containerInstances"))
302
+ DescribeContainerInstancesRequest.struct_class = Types::DescribeContainerInstancesRequest
303
+
304
+ DescribeContainerInstancesResponse.add_member(:container_instances, Shapes::ShapeRef.new(shape: ContainerInstances, location_name: "containerInstances"))
305
+ DescribeContainerInstancesResponse.add_member(:failures, Shapes::ShapeRef.new(shape: Failures, location_name: "failures"))
306
+ DescribeContainerInstancesResponse.struct_class = Types::DescribeContainerInstancesResponse
307
+
308
+ DescribeServicesRequest.add_member(:cluster, Shapes::ShapeRef.new(shape: String, location_name: "cluster"))
309
+ DescribeServicesRequest.add_member(:services, Shapes::ShapeRef.new(shape: StringList, required: true, location_name: "services"))
310
+ DescribeServicesRequest.struct_class = Types::DescribeServicesRequest
311
+
312
+ DescribeServicesResponse.add_member(:services, Shapes::ShapeRef.new(shape: Services, location_name: "services"))
313
+ DescribeServicesResponse.add_member(:failures, Shapes::ShapeRef.new(shape: Failures, location_name: "failures"))
314
+ DescribeServicesResponse.struct_class = Types::DescribeServicesResponse
315
+
316
+ DescribeTaskDefinitionRequest.add_member(:task_definition, Shapes::ShapeRef.new(shape: String, required: true, location_name: "taskDefinition"))
317
+ DescribeTaskDefinitionRequest.struct_class = Types::DescribeTaskDefinitionRequest
318
+
319
+ DescribeTaskDefinitionResponse.add_member(:task_definition, Shapes::ShapeRef.new(shape: TaskDefinition, location_name: "taskDefinition"))
320
+ DescribeTaskDefinitionResponse.struct_class = Types::DescribeTaskDefinitionResponse
321
+
322
+ DescribeTasksRequest.add_member(:cluster, Shapes::ShapeRef.new(shape: String, location_name: "cluster"))
323
+ DescribeTasksRequest.add_member(:tasks, Shapes::ShapeRef.new(shape: StringList, required: true, location_name: "tasks"))
324
+ DescribeTasksRequest.struct_class = Types::DescribeTasksRequest
325
+
326
+ DescribeTasksResponse.add_member(:tasks, Shapes::ShapeRef.new(shape: Tasks, location_name: "tasks"))
327
+ DescribeTasksResponse.add_member(:failures, Shapes::ShapeRef.new(shape: Failures, location_name: "failures"))
328
+ DescribeTasksResponse.struct_class = Types::DescribeTasksResponse
329
+
330
+ DiscoverPollEndpointRequest.add_member(:container_instance, Shapes::ShapeRef.new(shape: String, location_name: "containerInstance"))
331
+ DiscoverPollEndpointRequest.add_member(:cluster, Shapes::ShapeRef.new(shape: String, location_name: "cluster"))
332
+ DiscoverPollEndpointRequest.struct_class = Types::DiscoverPollEndpointRequest
333
+
334
+ DiscoverPollEndpointResponse.add_member(:endpoint, Shapes::ShapeRef.new(shape: String, location_name: "endpoint"))
335
+ DiscoverPollEndpointResponse.add_member(:telemetry_endpoint, Shapes::ShapeRef.new(shape: String, location_name: "telemetryEndpoint"))
336
+ DiscoverPollEndpointResponse.struct_class = Types::DiscoverPollEndpointResponse
337
+
338
+ DockerLabelsMap.key = Shapes::ShapeRef.new(shape: String)
339
+ DockerLabelsMap.value = Shapes::ShapeRef.new(shape: String)
340
+
341
+ EnvironmentVariables.member = Shapes::ShapeRef.new(shape: KeyValuePair)
342
+
343
+ Failure.add_member(:arn, Shapes::ShapeRef.new(shape: String, location_name: "arn"))
344
+ Failure.add_member(:reason, Shapes::ShapeRef.new(shape: String, location_name: "reason"))
345
+ Failure.struct_class = Types::Failure
346
+
347
+ Failures.member = Shapes::ShapeRef.new(shape: Failure)
348
+
349
+ HostEntry.add_member(:hostname, Shapes::ShapeRef.new(shape: String, required: true, location_name: "hostname"))
350
+ HostEntry.add_member(:ip_address, Shapes::ShapeRef.new(shape: String, required: true, location_name: "ipAddress"))
351
+ HostEntry.struct_class = Types::HostEntry
352
+
353
+ HostEntryList.member = Shapes::ShapeRef.new(shape: HostEntry)
354
+
355
+ HostVolumeProperties.add_member(:source_path, Shapes::ShapeRef.new(shape: String, location_name: "sourcePath"))
356
+ HostVolumeProperties.struct_class = Types::HostVolumeProperties
357
+
358
+ KeyValuePair.add_member(:name, Shapes::ShapeRef.new(shape: String, location_name: "name"))
359
+ KeyValuePair.add_member(:value, Shapes::ShapeRef.new(shape: String, location_name: "value"))
360
+ KeyValuePair.struct_class = Types::KeyValuePair
361
+
362
+ ListClustersRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "nextToken"))
363
+ ListClustersRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: BoxedInteger, location_name: "maxResults"))
364
+ ListClustersRequest.struct_class = Types::ListClustersRequest
365
+
366
+ ListClustersResponse.add_member(:cluster_arns, Shapes::ShapeRef.new(shape: StringList, location_name: "clusterArns"))
367
+ ListClustersResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "nextToken"))
368
+ ListClustersResponse.struct_class = Types::ListClustersResponse
369
+
370
+ ListContainerInstancesRequest.add_member(:cluster, Shapes::ShapeRef.new(shape: String, location_name: "cluster"))
371
+ ListContainerInstancesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "nextToken"))
372
+ ListContainerInstancesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: BoxedInteger, location_name: "maxResults"))
373
+ ListContainerInstancesRequest.struct_class = Types::ListContainerInstancesRequest
374
+
375
+ ListContainerInstancesResponse.add_member(:container_instance_arns, Shapes::ShapeRef.new(shape: StringList, location_name: "containerInstanceArns"))
376
+ ListContainerInstancesResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "nextToken"))
377
+ ListContainerInstancesResponse.struct_class = Types::ListContainerInstancesResponse
378
+
379
+ ListServicesRequest.add_member(:cluster, Shapes::ShapeRef.new(shape: String, location_name: "cluster"))
380
+ ListServicesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "nextToken"))
381
+ ListServicesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: BoxedInteger, location_name: "maxResults"))
382
+ ListServicesRequest.struct_class = Types::ListServicesRequest
383
+
384
+ ListServicesResponse.add_member(:service_arns, Shapes::ShapeRef.new(shape: StringList, location_name: "serviceArns"))
385
+ ListServicesResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "nextToken"))
386
+ ListServicesResponse.struct_class = Types::ListServicesResponse
387
+
388
+ ListTaskDefinitionFamiliesRequest.add_member(:family_prefix, Shapes::ShapeRef.new(shape: String, location_name: "familyPrefix"))
389
+ ListTaskDefinitionFamiliesRequest.add_member(:status, Shapes::ShapeRef.new(shape: TaskDefinitionFamilyStatus, location_name: "status"))
390
+ ListTaskDefinitionFamiliesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "nextToken"))
391
+ ListTaskDefinitionFamiliesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: BoxedInteger, location_name: "maxResults"))
392
+ ListTaskDefinitionFamiliesRequest.struct_class = Types::ListTaskDefinitionFamiliesRequest
393
+
394
+ ListTaskDefinitionFamiliesResponse.add_member(:families, Shapes::ShapeRef.new(shape: StringList, location_name: "families"))
395
+ ListTaskDefinitionFamiliesResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "nextToken"))
396
+ ListTaskDefinitionFamiliesResponse.struct_class = Types::ListTaskDefinitionFamiliesResponse
397
+
398
+ ListTaskDefinitionsRequest.add_member(:family_prefix, Shapes::ShapeRef.new(shape: String, location_name: "familyPrefix"))
399
+ ListTaskDefinitionsRequest.add_member(:status, Shapes::ShapeRef.new(shape: TaskDefinitionStatus, location_name: "status"))
400
+ ListTaskDefinitionsRequest.add_member(:sort, Shapes::ShapeRef.new(shape: SortOrder, location_name: "sort"))
401
+ ListTaskDefinitionsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "nextToken"))
402
+ ListTaskDefinitionsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: BoxedInteger, location_name: "maxResults"))
403
+ ListTaskDefinitionsRequest.struct_class = Types::ListTaskDefinitionsRequest
404
+
405
+ ListTaskDefinitionsResponse.add_member(:task_definition_arns, Shapes::ShapeRef.new(shape: StringList, location_name: "taskDefinitionArns"))
406
+ ListTaskDefinitionsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "nextToken"))
407
+ ListTaskDefinitionsResponse.struct_class = Types::ListTaskDefinitionsResponse
408
+
409
+ ListTasksRequest.add_member(:cluster, Shapes::ShapeRef.new(shape: String, location_name: "cluster"))
410
+ ListTasksRequest.add_member(:container_instance, Shapes::ShapeRef.new(shape: String, location_name: "containerInstance"))
411
+ ListTasksRequest.add_member(:family, Shapes::ShapeRef.new(shape: String, location_name: "family"))
412
+ ListTasksRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "nextToken"))
413
+ ListTasksRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: BoxedInteger, location_name: "maxResults"))
414
+ ListTasksRequest.add_member(:started_by, Shapes::ShapeRef.new(shape: String, location_name: "startedBy"))
415
+ ListTasksRequest.add_member(:service_name, Shapes::ShapeRef.new(shape: String, location_name: "serviceName"))
416
+ ListTasksRequest.add_member(:desired_status, Shapes::ShapeRef.new(shape: DesiredStatus, location_name: "desiredStatus"))
417
+ ListTasksRequest.struct_class = Types::ListTasksRequest
418
+
419
+ ListTasksResponse.add_member(:task_arns, Shapes::ShapeRef.new(shape: StringList, location_name: "taskArns"))
420
+ ListTasksResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "nextToken"))
421
+ ListTasksResponse.struct_class = Types::ListTasksResponse
422
+
423
+ LoadBalancer.add_member(:target_group_arn, Shapes::ShapeRef.new(shape: String, location_name: "targetGroupArn"))
424
+ LoadBalancer.add_member(:load_balancer_name, Shapes::ShapeRef.new(shape: String, location_name: "loadBalancerName"))
425
+ LoadBalancer.add_member(:container_name, Shapes::ShapeRef.new(shape: String, location_name: "containerName"))
426
+ LoadBalancer.add_member(:container_port, Shapes::ShapeRef.new(shape: BoxedInteger, location_name: "containerPort"))
427
+ LoadBalancer.struct_class = Types::LoadBalancer
428
+
429
+ LoadBalancers.member = Shapes::ShapeRef.new(shape: LoadBalancer)
430
+
431
+ LogConfiguration.add_member(:log_driver, Shapes::ShapeRef.new(shape: LogDriver, required: true, location_name: "logDriver"))
432
+ LogConfiguration.add_member(:options, Shapes::ShapeRef.new(shape: LogConfigurationOptionsMap, location_name: "options"))
433
+ LogConfiguration.struct_class = Types::LogConfiguration
434
+
435
+ LogConfigurationOptionsMap.key = Shapes::ShapeRef.new(shape: String)
436
+ LogConfigurationOptionsMap.value = Shapes::ShapeRef.new(shape: String)
437
+
438
+ MountPoint.add_member(:source_volume, Shapes::ShapeRef.new(shape: String, location_name: "sourceVolume"))
439
+ MountPoint.add_member(:container_path, Shapes::ShapeRef.new(shape: String, location_name: "containerPath"))
440
+ MountPoint.add_member(:read_only, Shapes::ShapeRef.new(shape: BoxedBoolean, location_name: "readOnly"))
441
+ MountPoint.struct_class = Types::MountPoint
442
+
443
+ MountPointList.member = Shapes::ShapeRef.new(shape: MountPoint)
444
+
445
+ NetworkBinding.add_member(:bind_ip, Shapes::ShapeRef.new(shape: String, location_name: "bindIP"))
446
+ NetworkBinding.add_member(:container_port, Shapes::ShapeRef.new(shape: BoxedInteger, location_name: "containerPort"))
447
+ NetworkBinding.add_member(:host_port, Shapes::ShapeRef.new(shape: BoxedInteger, location_name: "hostPort"))
448
+ NetworkBinding.add_member(:protocol, Shapes::ShapeRef.new(shape: TransportProtocol, location_name: "protocol"))
449
+ NetworkBinding.struct_class = Types::NetworkBinding
450
+
451
+ NetworkBindings.member = Shapes::ShapeRef.new(shape: NetworkBinding)
452
+
453
+ PortMapping.add_member(:container_port, Shapes::ShapeRef.new(shape: BoxedInteger, location_name: "containerPort"))
454
+ PortMapping.add_member(:host_port, Shapes::ShapeRef.new(shape: BoxedInteger, location_name: "hostPort"))
455
+ PortMapping.add_member(:protocol, Shapes::ShapeRef.new(shape: TransportProtocol, location_name: "protocol"))
456
+ PortMapping.struct_class = Types::PortMapping
457
+
458
+ PortMappingList.member = Shapes::ShapeRef.new(shape: PortMapping)
459
+
460
+ RegisterContainerInstanceRequest.add_member(:cluster, Shapes::ShapeRef.new(shape: String, location_name: "cluster"))
461
+ RegisterContainerInstanceRequest.add_member(:instance_identity_document, Shapes::ShapeRef.new(shape: String, location_name: "instanceIdentityDocument"))
462
+ RegisterContainerInstanceRequest.add_member(:instance_identity_document_signature, Shapes::ShapeRef.new(shape: String, location_name: "instanceIdentityDocumentSignature"))
463
+ RegisterContainerInstanceRequest.add_member(:total_resources, Shapes::ShapeRef.new(shape: Resources, location_name: "totalResources"))
464
+ RegisterContainerInstanceRequest.add_member(:version_info, Shapes::ShapeRef.new(shape: VersionInfo, location_name: "versionInfo"))
465
+ RegisterContainerInstanceRequest.add_member(:container_instance_arn, Shapes::ShapeRef.new(shape: String, location_name: "containerInstanceArn"))
466
+ RegisterContainerInstanceRequest.add_member(:attributes, Shapes::ShapeRef.new(shape: Attributes, location_name: "attributes"))
467
+ RegisterContainerInstanceRequest.struct_class = Types::RegisterContainerInstanceRequest
468
+
469
+ RegisterContainerInstanceResponse.add_member(:container_instance, Shapes::ShapeRef.new(shape: ContainerInstance, location_name: "containerInstance"))
470
+ RegisterContainerInstanceResponse.struct_class = Types::RegisterContainerInstanceResponse
471
+
472
+ RegisterTaskDefinitionRequest.add_member(:family, Shapes::ShapeRef.new(shape: String, required: true, location_name: "family"))
473
+ RegisterTaskDefinitionRequest.add_member(:task_role_arn, Shapes::ShapeRef.new(shape: String, location_name: "taskRoleArn"))
474
+ RegisterTaskDefinitionRequest.add_member(:network_mode, Shapes::ShapeRef.new(shape: NetworkMode, location_name: "networkMode"))
475
+ RegisterTaskDefinitionRequest.add_member(:container_definitions, Shapes::ShapeRef.new(shape: ContainerDefinitions, required: true, location_name: "containerDefinitions"))
476
+ RegisterTaskDefinitionRequest.add_member(:volumes, Shapes::ShapeRef.new(shape: VolumeList, location_name: "volumes"))
477
+ RegisterTaskDefinitionRequest.struct_class = Types::RegisterTaskDefinitionRequest
478
+
479
+ RegisterTaskDefinitionResponse.add_member(:task_definition, Shapes::ShapeRef.new(shape: TaskDefinition, location_name: "taskDefinition"))
480
+ RegisterTaskDefinitionResponse.struct_class = Types::RegisterTaskDefinitionResponse
481
+
482
+ RequiresAttributes.member = Shapes::ShapeRef.new(shape: Attribute)
483
+
484
+ Resource.add_member(:name, Shapes::ShapeRef.new(shape: String, location_name: "name"))
485
+ Resource.add_member(:type, Shapes::ShapeRef.new(shape: String, location_name: "type"))
486
+ Resource.add_member(:double_value, Shapes::ShapeRef.new(shape: Double, location_name: "doubleValue"))
487
+ Resource.add_member(:long_value, Shapes::ShapeRef.new(shape: Long, location_name: "longValue"))
488
+ Resource.add_member(:integer_value, Shapes::ShapeRef.new(shape: Integer, location_name: "integerValue"))
489
+ Resource.add_member(:string_set_value, Shapes::ShapeRef.new(shape: StringList, location_name: "stringSetValue"))
490
+ Resource.struct_class = Types::Resource
491
+
492
+ Resources.member = Shapes::ShapeRef.new(shape: Resource)
493
+
494
+ RunTaskRequest.add_member(:cluster, Shapes::ShapeRef.new(shape: String, location_name: "cluster"))
495
+ RunTaskRequest.add_member(:task_definition, Shapes::ShapeRef.new(shape: String, required: true, location_name: "taskDefinition"))
496
+ RunTaskRequest.add_member(:overrides, Shapes::ShapeRef.new(shape: TaskOverride, location_name: "overrides"))
497
+ RunTaskRequest.add_member(:count, Shapes::ShapeRef.new(shape: BoxedInteger, location_name: "count"))
498
+ RunTaskRequest.add_member(:started_by, Shapes::ShapeRef.new(shape: String, location_name: "startedBy"))
499
+ RunTaskRequest.struct_class = Types::RunTaskRequest
500
+
501
+ RunTaskResponse.add_member(:tasks, Shapes::ShapeRef.new(shape: Tasks, location_name: "tasks"))
502
+ RunTaskResponse.add_member(:failures, Shapes::ShapeRef.new(shape: Failures, location_name: "failures"))
503
+ RunTaskResponse.struct_class = Types::RunTaskResponse
504
+
505
+ Service.add_member(:service_arn, Shapes::ShapeRef.new(shape: String, location_name: "serviceArn"))
506
+ Service.add_member(:service_name, Shapes::ShapeRef.new(shape: String, location_name: "serviceName"))
507
+ Service.add_member(:cluster_arn, Shapes::ShapeRef.new(shape: String, location_name: "clusterArn"))
508
+ Service.add_member(:load_balancers, Shapes::ShapeRef.new(shape: LoadBalancers, location_name: "loadBalancers"))
509
+ Service.add_member(:status, Shapes::ShapeRef.new(shape: String, location_name: "status"))
510
+ Service.add_member(:desired_count, Shapes::ShapeRef.new(shape: Integer, location_name: "desiredCount"))
511
+ Service.add_member(:running_count, Shapes::ShapeRef.new(shape: Integer, location_name: "runningCount"))
512
+ Service.add_member(:pending_count, Shapes::ShapeRef.new(shape: Integer, location_name: "pendingCount"))
513
+ Service.add_member(:task_definition, Shapes::ShapeRef.new(shape: String, location_name: "taskDefinition"))
514
+ Service.add_member(:deployment_configuration, Shapes::ShapeRef.new(shape: DeploymentConfiguration, location_name: "deploymentConfiguration"))
515
+ Service.add_member(:deployments, Shapes::ShapeRef.new(shape: Deployments, location_name: "deployments"))
516
+ Service.add_member(:role_arn, Shapes::ShapeRef.new(shape: String, location_name: "roleArn"))
517
+ Service.add_member(:events, Shapes::ShapeRef.new(shape: ServiceEvents, location_name: "events"))
518
+ Service.add_member(:created_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "createdAt"))
519
+ Service.struct_class = Types::Service
520
+
521
+ ServiceEvent.add_member(:id, Shapes::ShapeRef.new(shape: String, location_name: "id"))
522
+ ServiceEvent.add_member(:created_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "createdAt"))
523
+ ServiceEvent.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
524
+ ServiceEvent.struct_class = Types::ServiceEvent
525
+
526
+ ServiceEvents.member = Shapes::ShapeRef.new(shape: ServiceEvent)
527
+
528
+ Services.member = Shapes::ShapeRef.new(shape: Service)
529
+
530
+ StartTaskRequest.add_member(:cluster, Shapes::ShapeRef.new(shape: String, location_name: "cluster"))
531
+ StartTaskRequest.add_member(:task_definition, Shapes::ShapeRef.new(shape: String, required: true, location_name: "taskDefinition"))
532
+ StartTaskRequest.add_member(:overrides, Shapes::ShapeRef.new(shape: TaskOverride, location_name: "overrides"))
533
+ StartTaskRequest.add_member(:container_instances, Shapes::ShapeRef.new(shape: StringList, required: true, location_name: "containerInstances"))
534
+ StartTaskRequest.add_member(:started_by, Shapes::ShapeRef.new(shape: String, location_name: "startedBy"))
535
+ StartTaskRequest.struct_class = Types::StartTaskRequest
536
+
537
+ StartTaskResponse.add_member(:tasks, Shapes::ShapeRef.new(shape: Tasks, location_name: "tasks"))
538
+ StartTaskResponse.add_member(:failures, Shapes::ShapeRef.new(shape: Failures, location_name: "failures"))
539
+ StartTaskResponse.struct_class = Types::StartTaskResponse
540
+
541
+ StopTaskRequest.add_member(:cluster, Shapes::ShapeRef.new(shape: String, location_name: "cluster"))
542
+ StopTaskRequest.add_member(:task, Shapes::ShapeRef.new(shape: String, required: true, location_name: "task"))
543
+ StopTaskRequest.add_member(:reason, Shapes::ShapeRef.new(shape: String, location_name: "reason"))
544
+ StopTaskRequest.struct_class = Types::StopTaskRequest
545
+
546
+ StopTaskResponse.add_member(:task, Shapes::ShapeRef.new(shape: Task, location_name: "task"))
547
+ StopTaskResponse.struct_class = Types::StopTaskResponse
548
+
549
+ StringList.member = Shapes::ShapeRef.new(shape: String)
550
+
551
+ SubmitContainerStateChangeRequest.add_member(:cluster, Shapes::ShapeRef.new(shape: String, location_name: "cluster"))
552
+ SubmitContainerStateChangeRequest.add_member(:task, Shapes::ShapeRef.new(shape: String, location_name: "task"))
553
+ SubmitContainerStateChangeRequest.add_member(:container_name, Shapes::ShapeRef.new(shape: String, location_name: "containerName"))
554
+ SubmitContainerStateChangeRequest.add_member(:status, Shapes::ShapeRef.new(shape: String, location_name: "status"))
555
+ SubmitContainerStateChangeRequest.add_member(:exit_code, Shapes::ShapeRef.new(shape: BoxedInteger, location_name: "exitCode"))
556
+ SubmitContainerStateChangeRequest.add_member(:reason, Shapes::ShapeRef.new(shape: String, location_name: "reason"))
557
+ SubmitContainerStateChangeRequest.add_member(:network_bindings, Shapes::ShapeRef.new(shape: NetworkBindings, location_name: "networkBindings"))
558
+ SubmitContainerStateChangeRequest.struct_class = Types::SubmitContainerStateChangeRequest
559
+
560
+ SubmitContainerStateChangeResponse.add_member(:acknowledgment, Shapes::ShapeRef.new(shape: String, location_name: "acknowledgment"))
561
+ SubmitContainerStateChangeResponse.struct_class = Types::SubmitContainerStateChangeResponse
562
+
563
+ SubmitTaskStateChangeRequest.add_member(:cluster, Shapes::ShapeRef.new(shape: String, location_name: "cluster"))
564
+ SubmitTaskStateChangeRequest.add_member(:task, Shapes::ShapeRef.new(shape: String, location_name: "task"))
565
+ SubmitTaskStateChangeRequest.add_member(:status, Shapes::ShapeRef.new(shape: String, location_name: "status"))
566
+ SubmitTaskStateChangeRequest.add_member(:reason, Shapes::ShapeRef.new(shape: String, location_name: "reason"))
567
+ SubmitTaskStateChangeRequest.struct_class = Types::SubmitTaskStateChangeRequest
568
+
569
+ SubmitTaskStateChangeResponse.add_member(:acknowledgment, Shapes::ShapeRef.new(shape: String, location_name: "acknowledgment"))
570
+ SubmitTaskStateChangeResponse.struct_class = Types::SubmitTaskStateChangeResponse
571
+
572
+ Task.add_member(:task_arn, Shapes::ShapeRef.new(shape: String, location_name: "taskArn"))
573
+ Task.add_member(:cluster_arn, Shapes::ShapeRef.new(shape: String, location_name: "clusterArn"))
574
+ Task.add_member(:task_definition_arn, Shapes::ShapeRef.new(shape: String, location_name: "taskDefinitionArn"))
575
+ Task.add_member(:container_instance_arn, Shapes::ShapeRef.new(shape: String, location_name: "containerInstanceArn"))
576
+ Task.add_member(:overrides, Shapes::ShapeRef.new(shape: TaskOverride, location_name: "overrides"))
577
+ Task.add_member(:last_status, Shapes::ShapeRef.new(shape: String, location_name: "lastStatus"))
578
+ Task.add_member(:desired_status, Shapes::ShapeRef.new(shape: String, location_name: "desiredStatus"))
579
+ Task.add_member(:containers, Shapes::ShapeRef.new(shape: Containers, location_name: "containers"))
580
+ Task.add_member(:started_by, Shapes::ShapeRef.new(shape: String, location_name: "startedBy"))
581
+ Task.add_member(:version, Shapes::ShapeRef.new(shape: Long, location_name: "version"))
582
+ Task.add_member(:stopped_reason, Shapes::ShapeRef.new(shape: String, location_name: "stoppedReason"))
583
+ Task.add_member(:created_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "createdAt"))
584
+ Task.add_member(:started_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "startedAt"))
585
+ Task.add_member(:stopped_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "stoppedAt"))
586
+ Task.struct_class = Types::Task
587
+
588
+ TaskDefinition.add_member(:task_definition_arn, Shapes::ShapeRef.new(shape: String, location_name: "taskDefinitionArn"))
589
+ TaskDefinition.add_member(:container_definitions, Shapes::ShapeRef.new(shape: ContainerDefinitions, location_name: "containerDefinitions"))
590
+ TaskDefinition.add_member(:family, Shapes::ShapeRef.new(shape: String, location_name: "family"))
591
+ TaskDefinition.add_member(:task_role_arn, Shapes::ShapeRef.new(shape: String, location_name: "taskRoleArn"))
592
+ TaskDefinition.add_member(:network_mode, Shapes::ShapeRef.new(shape: NetworkMode, location_name: "networkMode"))
593
+ TaskDefinition.add_member(:revision, Shapes::ShapeRef.new(shape: Integer, location_name: "revision"))
594
+ TaskDefinition.add_member(:volumes, Shapes::ShapeRef.new(shape: VolumeList, location_name: "volumes"))
595
+ TaskDefinition.add_member(:status, Shapes::ShapeRef.new(shape: TaskDefinitionStatus, location_name: "status"))
596
+ TaskDefinition.add_member(:requires_attributes, Shapes::ShapeRef.new(shape: RequiresAttributes, location_name: "requiresAttributes"))
597
+ TaskDefinition.struct_class = Types::TaskDefinition
598
+
599
+ TaskOverride.add_member(:container_overrides, Shapes::ShapeRef.new(shape: ContainerOverrides, location_name: "containerOverrides"))
600
+ TaskOverride.add_member(:task_role_arn, Shapes::ShapeRef.new(shape: String, location_name: "taskRoleArn"))
601
+ TaskOverride.struct_class = Types::TaskOverride
602
+
603
+ Tasks.member = Shapes::ShapeRef.new(shape: Task)
604
+
605
+ Ulimit.add_member(:name, Shapes::ShapeRef.new(shape: UlimitName, required: true, location_name: "name"))
606
+ Ulimit.add_member(:soft_limit, Shapes::ShapeRef.new(shape: Integer, required: true, location_name: "softLimit"))
607
+ Ulimit.add_member(:hard_limit, Shapes::ShapeRef.new(shape: Integer, required: true, location_name: "hardLimit"))
608
+ Ulimit.struct_class = Types::Ulimit
609
+
610
+ UlimitList.member = Shapes::ShapeRef.new(shape: Ulimit)
611
+
612
+ UpdateContainerAgentRequest.add_member(:cluster, Shapes::ShapeRef.new(shape: String, location_name: "cluster"))
613
+ UpdateContainerAgentRequest.add_member(:container_instance, Shapes::ShapeRef.new(shape: String, required: true, location_name: "containerInstance"))
614
+ UpdateContainerAgentRequest.struct_class = Types::UpdateContainerAgentRequest
615
+
616
+ UpdateContainerAgentResponse.add_member(:container_instance, Shapes::ShapeRef.new(shape: ContainerInstance, location_name: "containerInstance"))
617
+ UpdateContainerAgentResponse.struct_class = Types::UpdateContainerAgentResponse
618
+
619
+ UpdateServiceRequest.add_member(:cluster, Shapes::ShapeRef.new(shape: String, location_name: "cluster"))
620
+ UpdateServiceRequest.add_member(:service, Shapes::ShapeRef.new(shape: String, required: true, location_name: "service"))
621
+ UpdateServiceRequest.add_member(:desired_count, Shapes::ShapeRef.new(shape: BoxedInteger, location_name: "desiredCount"))
622
+ UpdateServiceRequest.add_member(:task_definition, Shapes::ShapeRef.new(shape: String, location_name: "taskDefinition"))
623
+ UpdateServiceRequest.add_member(:deployment_configuration, Shapes::ShapeRef.new(shape: DeploymentConfiguration, location_name: "deploymentConfiguration"))
624
+ UpdateServiceRequest.struct_class = Types::UpdateServiceRequest
625
+
626
+ UpdateServiceResponse.add_member(:service, Shapes::ShapeRef.new(shape: Service, location_name: "service"))
627
+ UpdateServiceResponse.struct_class = Types::UpdateServiceResponse
628
+
629
+ VersionInfo.add_member(:agent_version, Shapes::ShapeRef.new(shape: String, location_name: "agentVersion"))
630
+ VersionInfo.add_member(:agent_hash, Shapes::ShapeRef.new(shape: String, location_name: "agentHash"))
631
+ VersionInfo.add_member(:docker_version, Shapes::ShapeRef.new(shape: String, location_name: "dockerVersion"))
632
+ VersionInfo.struct_class = Types::VersionInfo
633
+
634
+ Volume.add_member(:name, Shapes::ShapeRef.new(shape: String, location_name: "name"))
635
+ Volume.add_member(:host, Shapes::ShapeRef.new(shape: HostVolumeProperties, location_name: "host"))
636
+ Volume.struct_class = Types::Volume
637
+
638
+ VolumeFrom.add_member(:source_container, Shapes::ShapeRef.new(shape: String, location_name: "sourceContainer"))
639
+ VolumeFrom.add_member(:read_only, Shapes::ShapeRef.new(shape: BoxedBoolean, location_name: "readOnly"))
640
+ VolumeFrom.struct_class = Types::VolumeFrom
641
+
642
+ VolumeFromList.member = Shapes::ShapeRef.new(shape: VolumeFrom)
643
+
644
+ VolumeList.member = Shapes::ShapeRef.new(shape: Volume)
645
+
646
+
647
+ # @api private
648
+ API = Seahorse::Model::Api.new.tap do |api|
649
+
650
+ api.version = "2014-11-13"
651
+
652
+ api.metadata = {
653
+ "endpointPrefix" => "ecs",
654
+ "jsonVersion" => "1.1",
655
+ "protocol" => "json",
656
+ "serviceFullName" => "Amazon EC2 Container Service",
657
+ "signatureVersion" => "v4",
658
+ "targetPrefix" => "AmazonEC2ContainerServiceV20141113",
659
+ }
660
+
661
+ api.add_operation(:create_cluster, Seahorse::Model::Operation.new.tap do |o|
662
+ o.name = "CreateCluster"
663
+ o.http_method = "POST"
664
+ o.http_request_uri = "/"
665
+ o.input = Shapes::ShapeRef.new(shape: CreateClusterRequest)
666
+ o.output = Shapes::ShapeRef.new(shape: CreateClusterResponse)
667
+ o.errors << Shapes::ShapeRef.new(shape: ServerException)
668
+ o.errors << Shapes::ShapeRef.new(shape: ClientException)
669
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
670
+ end)
671
+
672
+ api.add_operation(:create_service, Seahorse::Model::Operation.new.tap do |o|
673
+ o.name = "CreateService"
674
+ o.http_method = "POST"
675
+ o.http_request_uri = "/"
676
+ o.input = Shapes::ShapeRef.new(shape: CreateServiceRequest)
677
+ o.output = Shapes::ShapeRef.new(shape: CreateServiceResponse)
678
+ o.errors << Shapes::ShapeRef.new(shape: ServerException)
679
+ o.errors << Shapes::ShapeRef.new(shape: ClientException)
680
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
681
+ o.errors << Shapes::ShapeRef.new(shape: ClusterNotFoundException)
682
+ end)
683
+
684
+ api.add_operation(:delete_cluster, Seahorse::Model::Operation.new.tap do |o|
685
+ o.name = "DeleteCluster"
686
+ o.http_method = "POST"
687
+ o.http_request_uri = "/"
688
+ o.input = Shapes::ShapeRef.new(shape: DeleteClusterRequest)
689
+ o.output = Shapes::ShapeRef.new(shape: DeleteClusterResponse)
690
+ o.errors << Shapes::ShapeRef.new(shape: ServerException)
691
+ o.errors << Shapes::ShapeRef.new(shape: ClientException)
692
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
693
+ o.errors << Shapes::ShapeRef.new(shape: ClusterNotFoundException)
694
+ o.errors << Shapes::ShapeRef.new(shape: ClusterContainsContainerInstancesException)
695
+ o.errors << Shapes::ShapeRef.new(shape: ClusterContainsServicesException)
696
+ end)
697
+
698
+ api.add_operation(:delete_service, Seahorse::Model::Operation.new.tap do |o|
699
+ o.name = "DeleteService"
700
+ o.http_method = "POST"
701
+ o.http_request_uri = "/"
702
+ o.input = Shapes::ShapeRef.new(shape: DeleteServiceRequest)
703
+ o.output = Shapes::ShapeRef.new(shape: DeleteServiceResponse)
704
+ o.errors << Shapes::ShapeRef.new(shape: ServerException)
705
+ o.errors << Shapes::ShapeRef.new(shape: ClientException)
706
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
707
+ o.errors << Shapes::ShapeRef.new(shape: ClusterNotFoundException)
708
+ o.errors << Shapes::ShapeRef.new(shape: ServiceNotFoundException)
709
+ end)
710
+
711
+ api.add_operation(:deregister_container_instance, Seahorse::Model::Operation.new.tap do |o|
712
+ o.name = "DeregisterContainerInstance"
713
+ o.http_method = "POST"
714
+ o.http_request_uri = "/"
715
+ o.input = Shapes::ShapeRef.new(shape: DeregisterContainerInstanceRequest)
716
+ o.output = Shapes::ShapeRef.new(shape: DeregisterContainerInstanceResponse)
717
+ o.errors << Shapes::ShapeRef.new(shape: ServerException)
718
+ o.errors << Shapes::ShapeRef.new(shape: ClientException)
719
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
720
+ o.errors << Shapes::ShapeRef.new(shape: ClusterNotFoundException)
721
+ end)
722
+
723
+ api.add_operation(:deregister_task_definition, Seahorse::Model::Operation.new.tap do |o|
724
+ o.name = "DeregisterTaskDefinition"
725
+ o.http_method = "POST"
726
+ o.http_request_uri = "/"
727
+ o.input = Shapes::ShapeRef.new(shape: DeregisterTaskDefinitionRequest)
728
+ o.output = Shapes::ShapeRef.new(shape: DeregisterTaskDefinitionResponse)
729
+ o.errors << Shapes::ShapeRef.new(shape: ServerException)
730
+ o.errors << Shapes::ShapeRef.new(shape: ClientException)
731
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
732
+ end)
733
+
734
+ api.add_operation(:describe_clusters, Seahorse::Model::Operation.new.tap do |o|
735
+ o.name = "DescribeClusters"
736
+ o.http_method = "POST"
737
+ o.http_request_uri = "/"
738
+ o.input = Shapes::ShapeRef.new(shape: DescribeClustersRequest)
739
+ o.output = Shapes::ShapeRef.new(shape: DescribeClustersResponse)
740
+ o.errors << Shapes::ShapeRef.new(shape: ServerException)
741
+ o.errors << Shapes::ShapeRef.new(shape: ClientException)
742
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
743
+ end)
744
+
745
+ api.add_operation(:describe_container_instances, Seahorse::Model::Operation.new.tap do |o|
746
+ o.name = "DescribeContainerInstances"
747
+ o.http_method = "POST"
748
+ o.http_request_uri = "/"
749
+ o.input = Shapes::ShapeRef.new(shape: DescribeContainerInstancesRequest)
750
+ o.output = Shapes::ShapeRef.new(shape: DescribeContainerInstancesResponse)
751
+ o.errors << Shapes::ShapeRef.new(shape: ServerException)
752
+ o.errors << Shapes::ShapeRef.new(shape: ClientException)
753
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
754
+ o.errors << Shapes::ShapeRef.new(shape: ClusterNotFoundException)
755
+ end)
756
+
757
+ api.add_operation(:describe_services, Seahorse::Model::Operation.new.tap do |o|
758
+ o.name = "DescribeServices"
759
+ o.http_method = "POST"
760
+ o.http_request_uri = "/"
761
+ o.input = Shapes::ShapeRef.new(shape: DescribeServicesRequest)
762
+ o.output = Shapes::ShapeRef.new(shape: DescribeServicesResponse)
763
+ o.errors << Shapes::ShapeRef.new(shape: ServerException)
764
+ o.errors << Shapes::ShapeRef.new(shape: ClientException)
765
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
766
+ o.errors << Shapes::ShapeRef.new(shape: ClusterNotFoundException)
767
+ end)
768
+
769
+ api.add_operation(:describe_task_definition, Seahorse::Model::Operation.new.tap do |o|
770
+ o.name = "DescribeTaskDefinition"
771
+ o.http_method = "POST"
772
+ o.http_request_uri = "/"
773
+ o.input = Shapes::ShapeRef.new(shape: DescribeTaskDefinitionRequest)
774
+ o.output = Shapes::ShapeRef.new(shape: DescribeTaskDefinitionResponse)
775
+ o.errors << Shapes::ShapeRef.new(shape: ServerException)
776
+ o.errors << Shapes::ShapeRef.new(shape: ClientException)
777
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
778
+ end)
779
+
780
+ api.add_operation(:describe_tasks, Seahorse::Model::Operation.new.tap do |o|
781
+ o.name = "DescribeTasks"
782
+ o.http_method = "POST"
783
+ o.http_request_uri = "/"
784
+ o.input = Shapes::ShapeRef.new(shape: DescribeTasksRequest)
785
+ o.output = Shapes::ShapeRef.new(shape: DescribeTasksResponse)
786
+ o.errors << Shapes::ShapeRef.new(shape: ServerException)
787
+ o.errors << Shapes::ShapeRef.new(shape: ClientException)
788
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
789
+ o.errors << Shapes::ShapeRef.new(shape: ClusterNotFoundException)
790
+ end)
791
+
792
+ api.add_operation(:discover_poll_endpoint, Seahorse::Model::Operation.new.tap do |o|
793
+ o.name = "DiscoverPollEndpoint"
794
+ o.http_method = "POST"
795
+ o.http_request_uri = "/"
796
+ o.input = Shapes::ShapeRef.new(shape: DiscoverPollEndpointRequest)
797
+ o.output = Shapes::ShapeRef.new(shape: DiscoverPollEndpointResponse)
798
+ o.errors << Shapes::ShapeRef.new(shape: ServerException)
799
+ o.errors << Shapes::ShapeRef.new(shape: ClientException)
800
+ end)
801
+
802
+ api.add_operation(:list_clusters, Seahorse::Model::Operation.new.tap do |o|
803
+ o.name = "ListClusters"
804
+ o.http_method = "POST"
805
+ o.http_request_uri = "/"
806
+ o.input = Shapes::ShapeRef.new(shape: ListClustersRequest)
807
+ o.output = Shapes::ShapeRef.new(shape: ListClustersResponse)
808
+ o.errors << Shapes::ShapeRef.new(shape: ServerException)
809
+ o.errors << Shapes::ShapeRef.new(shape: ClientException)
810
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
811
+ o[:pager] = Aws::Pager.new(
812
+ limit_key: "max_results",
813
+ tokens: {
814
+ "next_token" => "next_token"
815
+ }
816
+ )
817
+ end)
818
+
819
+ api.add_operation(:list_container_instances, Seahorse::Model::Operation.new.tap do |o|
820
+ o.name = "ListContainerInstances"
821
+ o.http_method = "POST"
822
+ o.http_request_uri = "/"
823
+ o.input = Shapes::ShapeRef.new(shape: ListContainerInstancesRequest)
824
+ o.output = Shapes::ShapeRef.new(shape: ListContainerInstancesResponse)
825
+ o.errors << Shapes::ShapeRef.new(shape: ServerException)
826
+ o.errors << Shapes::ShapeRef.new(shape: ClientException)
827
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
828
+ o.errors << Shapes::ShapeRef.new(shape: ClusterNotFoundException)
829
+ o[:pager] = Aws::Pager.new(
830
+ limit_key: "max_results",
831
+ tokens: {
832
+ "next_token" => "next_token"
833
+ }
834
+ )
835
+ end)
836
+
837
+ api.add_operation(:list_services, Seahorse::Model::Operation.new.tap do |o|
838
+ o.name = "ListServices"
839
+ o.http_method = "POST"
840
+ o.http_request_uri = "/"
841
+ o.input = Shapes::ShapeRef.new(shape: ListServicesRequest)
842
+ o.output = Shapes::ShapeRef.new(shape: ListServicesResponse)
843
+ o.errors << Shapes::ShapeRef.new(shape: ServerException)
844
+ o.errors << Shapes::ShapeRef.new(shape: ClientException)
845
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
846
+ o.errors << Shapes::ShapeRef.new(shape: ClusterNotFoundException)
847
+ o[:pager] = Aws::Pager.new(
848
+ limit_key: "max_results",
849
+ tokens: {
850
+ "next_token" => "next_token"
851
+ }
852
+ )
853
+ end)
854
+
855
+ api.add_operation(:list_task_definition_families, Seahorse::Model::Operation.new.tap do |o|
856
+ o.name = "ListTaskDefinitionFamilies"
857
+ o.http_method = "POST"
858
+ o.http_request_uri = "/"
859
+ o.input = Shapes::ShapeRef.new(shape: ListTaskDefinitionFamiliesRequest)
860
+ o.output = Shapes::ShapeRef.new(shape: ListTaskDefinitionFamiliesResponse)
861
+ o.errors << Shapes::ShapeRef.new(shape: ServerException)
862
+ o.errors << Shapes::ShapeRef.new(shape: ClientException)
863
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
864
+ o[:pager] = Aws::Pager.new(
865
+ limit_key: "max_results",
866
+ tokens: {
867
+ "next_token" => "next_token"
868
+ }
869
+ )
870
+ end)
871
+
872
+ api.add_operation(:list_task_definitions, Seahorse::Model::Operation.new.tap do |o|
873
+ o.name = "ListTaskDefinitions"
874
+ o.http_method = "POST"
875
+ o.http_request_uri = "/"
876
+ o.input = Shapes::ShapeRef.new(shape: ListTaskDefinitionsRequest)
877
+ o.output = Shapes::ShapeRef.new(shape: ListTaskDefinitionsResponse)
878
+ o.errors << Shapes::ShapeRef.new(shape: ServerException)
879
+ o.errors << Shapes::ShapeRef.new(shape: ClientException)
880
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
881
+ o[:pager] = Aws::Pager.new(
882
+ limit_key: "max_results",
883
+ tokens: {
884
+ "next_token" => "next_token"
885
+ }
886
+ )
887
+ end)
888
+
889
+ api.add_operation(:list_tasks, Seahorse::Model::Operation.new.tap do |o|
890
+ o.name = "ListTasks"
891
+ o.http_method = "POST"
892
+ o.http_request_uri = "/"
893
+ o.input = Shapes::ShapeRef.new(shape: ListTasksRequest)
894
+ o.output = Shapes::ShapeRef.new(shape: ListTasksResponse)
895
+ o.errors << Shapes::ShapeRef.new(shape: ServerException)
896
+ o.errors << Shapes::ShapeRef.new(shape: ClientException)
897
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
898
+ o.errors << Shapes::ShapeRef.new(shape: ClusterNotFoundException)
899
+ o.errors << Shapes::ShapeRef.new(shape: ServiceNotFoundException)
900
+ o[:pager] = Aws::Pager.new(
901
+ limit_key: "max_results",
902
+ tokens: {
903
+ "next_token" => "next_token"
904
+ }
905
+ )
906
+ end)
907
+
908
+ api.add_operation(:register_container_instance, Seahorse::Model::Operation.new.tap do |o|
909
+ o.name = "RegisterContainerInstance"
910
+ o.http_method = "POST"
911
+ o.http_request_uri = "/"
912
+ o.input = Shapes::ShapeRef.new(shape: RegisterContainerInstanceRequest)
913
+ o.output = Shapes::ShapeRef.new(shape: RegisterContainerInstanceResponse)
914
+ o.errors << Shapes::ShapeRef.new(shape: ServerException)
915
+ o.errors << Shapes::ShapeRef.new(shape: ClientException)
916
+ end)
917
+
918
+ api.add_operation(:register_task_definition, Seahorse::Model::Operation.new.tap do |o|
919
+ o.name = "RegisterTaskDefinition"
920
+ o.http_method = "POST"
921
+ o.http_request_uri = "/"
922
+ o.input = Shapes::ShapeRef.new(shape: RegisterTaskDefinitionRequest)
923
+ o.output = Shapes::ShapeRef.new(shape: RegisterTaskDefinitionResponse)
924
+ o.errors << Shapes::ShapeRef.new(shape: ServerException)
925
+ o.errors << Shapes::ShapeRef.new(shape: ClientException)
926
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
927
+ end)
928
+
929
+ api.add_operation(:run_task, Seahorse::Model::Operation.new.tap do |o|
930
+ o.name = "RunTask"
931
+ o.http_method = "POST"
932
+ o.http_request_uri = "/"
933
+ o.input = Shapes::ShapeRef.new(shape: RunTaskRequest)
934
+ o.output = Shapes::ShapeRef.new(shape: RunTaskResponse)
935
+ o.errors << Shapes::ShapeRef.new(shape: ServerException)
936
+ o.errors << Shapes::ShapeRef.new(shape: ClientException)
937
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
938
+ o.errors << Shapes::ShapeRef.new(shape: ClusterNotFoundException)
939
+ end)
940
+
941
+ api.add_operation(:start_task, Seahorse::Model::Operation.new.tap do |o|
942
+ o.name = "StartTask"
943
+ o.http_method = "POST"
944
+ o.http_request_uri = "/"
945
+ o.input = Shapes::ShapeRef.new(shape: StartTaskRequest)
946
+ o.output = Shapes::ShapeRef.new(shape: StartTaskResponse)
947
+ o.errors << Shapes::ShapeRef.new(shape: ServerException)
948
+ o.errors << Shapes::ShapeRef.new(shape: ClientException)
949
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
950
+ o.errors << Shapes::ShapeRef.new(shape: ClusterNotFoundException)
951
+ end)
952
+
953
+ api.add_operation(:stop_task, Seahorse::Model::Operation.new.tap do |o|
954
+ o.name = "StopTask"
955
+ o.http_method = "POST"
956
+ o.http_request_uri = "/"
957
+ o.input = Shapes::ShapeRef.new(shape: StopTaskRequest)
958
+ o.output = Shapes::ShapeRef.new(shape: StopTaskResponse)
959
+ o.errors << Shapes::ShapeRef.new(shape: ServerException)
960
+ o.errors << Shapes::ShapeRef.new(shape: ClientException)
961
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
962
+ o.errors << Shapes::ShapeRef.new(shape: ClusterNotFoundException)
963
+ end)
964
+
965
+ api.add_operation(:submit_container_state_change, Seahorse::Model::Operation.new.tap do |o|
966
+ o.name = "SubmitContainerStateChange"
967
+ o.http_method = "POST"
968
+ o.http_request_uri = "/"
969
+ o.input = Shapes::ShapeRef.new(shape: SubmitContainerStateChangeRequest)
970
+ o.output = Shapes::ShapeRef.new(shape: SubmitContainerStateChangeResponse)
971
+ o.errors << Shapes::ShapeRef.new(shape: ServerException)
972
+ o.errors << Shapes::ShapeRef.new(shape: ClientException)
973
+ end)
974
+
975
+ api.add_operation(:submit_task_state_change, Seahorse::Model::Operation.new.tap do |o|
976
+ o.name = "SubmitTaskStateChange"
977
+ o.http_method = "POST"
978
+ o.http_request_uri = "/"
979
+ o.input = Shapes::ShapeRef.new(shape: SubmitTaskStateChangeRequest)
980
+ o.output = Shapes::ShapeRef.new(shape: SubmitTaskStateChangeResponse)
981
+ o.errors << Shapes::ShapeRef.new(shape: ServerException)
982
+ o.errors << Shapes::ShapeRef.new(shape: ClientException)
983
+ end)
984
+
985
+ api.add_operation(:update_container_agent, Seahorse::Model::Operation.new.tap do |o|
986
+ o.name = "UpdateContainerAgent"
987
+ o.http_method = "POST"
988
+ o.http_request_uri = "/"
989
+ o.input = Shapes::ShapeRef.new(shape: UpdateContainerAgentRequest)
990
+ o.output = Shapes::ShapeRef.new(shape: UpdateContainerAgentResponse)
991
+ o.errors << Shapes::ShapeRef.new(shape: ServerException)
992
+ o.errors << Shapes::ShapeRef.new(shape: ClientException)
993
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
994
+ o.errors << Shapes::ShapeRef.new(shape: ClusterNotFoundException)
995
+ o.errors << Shapes::ShapeRef.new(shape: UpdateInProgressException)
996
+ o.errors << Shapes::ShapeRef.new(shape: NoUpdateAvailableException)
997
+ o.errors << Shapes::ShapeRef.new(shape: MissingVersionException)
998
+ end)
999
+
1000
+ api.add_operation(:update_service, Seahorse::Model::Operation.new.tap do |o|
1001
+ o.name = "UpdateService"
1002
+ o.http_method = "POST"
1003
+ o.http_request_uri = "/"
1004
+ o.input = Shapes::ShapeRef.new(shape: UpdateServiceRequest)
1005
+ o.output = Shapes::ShapeRef.new(shape: UpdateServiceResponse)
1006
+ o.errors << Shapes::ShapeRef.new(shape: ServerException)
1007
+ o.errors << Shapes::ShapeRef.new(shape: ClientException)
1008
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterException)
1009
+ o.errors << Shapes::ShapeRef.new(shape: ClusterNotFoundException)
1010
+ o.errors << Shapes::ShapeRef.new(shape: ServiceNotFoundException)
1011
+ o.errors << Shapes::ShapeRef.new(shape: ServiceNotActiveException)
1012
+ end)
1013
+ end
1014
+
1015
+ end
1016
+ end
1017
+ end