aws-sdk-snowdevicemanagement 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,566 @@
1
+ # frozen_string_literal: true
2
+
3
+ # WARNING ABOUT GENERATED CODE
4
+ #
5
+ # This file is generated. See the contributing guide for more information:
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
+ #
8
+ # WARNING ABOUT GENERATED CODE
9
+
10
+ module Aws::SnowDeviceManagement
11
+ # @api private
12
+ module ClientApi
13
+
14
+ include Seahorse::Model
15
+
16
+ AccessDeniedException = Shapes::StructureShape.new(name: 'AccessDeniedException')
17
+ AttachmentStatus = Shapes::StringShape.new(name: 'AttachmentStatus')
18
+ Boolean = Shapes::BooleanShape.new(name: 'Boolean')
19
+ CancelTaskInput = Shapes::StructureShape.new(name: 'CancelTaskInput')
20
+ CancelTaskOutput = Shapes::StructureShape.new(name: 'CancelTaskOutput')
21
+ Capacity = Shapes::StructureShape.new(name: 'Capacity')
22
+ CapacityList = Shapes::ListShape.new(name: 'CapacityList')
23
+ CapacityNameString = Shapes::StringShape.new(name: 'CapacityNameString')
24
+ CapacityUnitString = Shapes::StringShape.new(name: 'CapacityUnitString')
25
+ Command = Shapes::UnionShape.new(name: 'Command')
26
+ CpuOptions = Shapes::StructureShape.new(name: 'CpuOptions')
27
+ CreateTaskInput = Shapes::StructureShape.new(name: 'CreateTaskInput')
28
+ CreateTaskOutput = Shapes::StructureShape.new(name: 'CreateTaskOutput')
29
+ DescribeDeviceEc2Input = Shapes::StructureShape.new(name: 'DescribeDeviceEc2Input')
30
+ DescribeDeviceEc2Output = Shapes::StructureShape.new(name: 'DescribeDeviceEc2Output')
31
+ DescribeDeviceInput = Shapes::StructureShape.new(name: 'DescribeDeviceInput')
32
+ DescribeDeviceOutput = Shapes::StructureShape.new(name: 'DescribeDeviceOutput')
33
+ DescribeExecutionInput = Shapes::StructureShape.new(name: 'DescribeExecutionInput')
34
+ DescribeExecutionOutput = Shapes::StructureShape.new(name: 'DescribeExecutionOutput')
35
+ DescribeTaskInput = Shapes::StructureShape.new(name: 'DescribeTaskInput')
36
+ DescribeTaskOutput = Shapes::StructureShape.new(name: 'DescribeTaskOutput')
37
+ DeviceSummary = Shapes::StructureShape.new(name: 'DeviceSummary')
38
+ DeviceSummaryList = Shapes::ListShape.new(name: 'DeviceSummaryList')
39
+ EbsInstanceBlockDevice = Shapes::StructureShape.new(name: 'EbsInstanceBlockDevice')
40
+ ExecutionId = Shapes::StringShape.new(name: 'ExecutionId')
41
+ ExecutionState = Shapes::StringShape.new(name: 'ExecutionState')
42
+ ExecutionSummary = Shapes::StructureShape.new(name: 'ExecutionSummary')
43
+ ExecutionSummaryList = Shapes::ListShape.new(name: 'ExecutionSummaryList')
44
+ IdempotencyToken = Shapes::StringShape.new(name: 'IdempotencyToken')
45
+ Instance = Shapes::StructureShape.new(name: 'Instance')
46
+ InstanceBlockDeviceMapping = Shapes::StructureShape.new(name: 'InstanceBlockDeviceMapping')
47
+ InstanceBlockDeviceMappingList = Shapes::ListShape.new(name: 'InstanceBlockDeviceMappingList')
48
+ InstanceIdsList = Shapes::ListShape.new(name: 'InstanceIdsList')
49
+ InstanceState = Shapes::StructureShape.new(name: 'InstanceState')
50
+ InstanceStateName = Shapes::StringShape.new(name: 'InstanceStateName')
51
+ InstanceSummary = Shapes::StructureShape.new(name: 'InstanceSummary')
52
+ InstanceSummaryList = Shapes::ListShape.new(name: 'InstanceSummaryList')
53
+ Integer = Shapes::IntegerShape.new(name: 'Integer')
54
+ InternalServerException = Shapes::StructureShape.new(name: 'InternalServerException')
55
+ IpAddressAssignment = Shapes::StringShape.new(name: 'IpAddressAssignment')
56
+ JobId = Shapes::StringShape.new(name: 'JobId')
57
+ ListDeviceResourcesInput = Shapes::StructureShape.new(name: 'ListDeviceResourcesInput')
58
+ ListDeviceResourcesInputTypeString = Shapes::StringShape.new(name: 'ListDeviceResourcesInputTypeString')
59
+ ListDeviceResourcesOutput = Shapes::StructureShape.new(name: 'ListDeviceResourcesOutput')
60
+ ListDevicesInput = Shapes::StructureShape.new(name: 'ListDevicesInput')
61
+ ListDevicesOutput = Shapes::StructureShape.new(name: 'ListDevicesOutput')
62
+ ListExecutionsInput = Shapes::StructureShape.new(name: 'ListExecutionsInput')
63
+ ListExecutionsOutput = Shapes::StructureShape.new(name: 'ListExecutionsOutput')
64
+ ListTagsForResourceInput = Shapes::StructureShape.new(name: 'ListTagsForResourceInput')
65
+ ListTagsForResourceOutput = Shapes::StructureShape.new(name: 'ListTagsForResourceOutput')
66
+ ListTasksInput = Shapes::StructureShape.new(name: 'ListTasksInput')
67
+ ListTasksOutput = Shapes::StructureShape.new(name: 'ListTasksOutput')
68
+ Long = Shapes::IntegerShape.new(name: 'Long')
69
+ ManagedDeviceId = Shapes::StringShape.new(name: 'ManagedDeviceId')
70
+ MaxResults = Shapes::IntegerShape.new(name: 'MaxResults')
71
+ NextToken = Shapes::StringShape.new(name: 'NextToken')
72
+ PhysicalConnectorType = Shapes::StringShape.new(name: 'PhysicalConnectorType')
73
+ PhysicalNetworkInterface = Shapes::StructureShape.new(name: 'PhysicalNetworkInterface')
74
+ PhysicalNetworkInterfaceList = Shapes::ListShape.new(name: 'PhysicalNetworkInterfaceList')
75
+ Reboot = Shapes::StructureShape.new(name: 'Reboot')
76
+ ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
77
+ ResourceSummary = Shapes::StructureShape.new(name: 'ResourceSummary')
78
+ ResourceSummaryList = Shapes::ListShape.new(name: 'ResourceSummaryList')
79
+ SecurityGroupIdentifier = Shapes::StructureShape.new(name: 'SecurityGroupIdentifier')
80
+ SecurityGroupIdentifierList = Shapes::ListShape.new(name: 'SecurityGroupIdentifierList')
81
+ ServiceQuotaExceededException = Shapes::StructureShape.new(name: 'ServiceQuotaExceededException')
82
+ SoftwareInformation = Shapes::StructureShape.new(name: 'SoftwareInformation')
83
+ String = Shapes::StringShape.new(name: 'String')
84
+ TagKeys = Shapes::ListShape.new(name: 'TagKeys')
85
+ TagMap = Shapes::MapShape.new(name: 'TagMap')
86
+ TagResourceInput = Shapes::StructureShape.new(name: 'TagResourceInput')
87
+ TargetList = Shapes::ListShape.new(name: 'TargetList')
88
+ TaskDescriptionString = Shapes::StringShape.new(name: 'TaskDescriptionString')
89
+ TaskId = Shapes::StringShape.new(name: 'TaskId')
90
+ TaskState = Shapes::StringShape.new(name: 'TaskState')
91
+ TaskSummary = Shapes::StructureShape.new(name: 'TaskSummary')
92
+ TaskSummaryList = Shapes::ListShape.new(name: 'TaskSummaryList')
93
+ ThrottlingException = Shapes::StructureShape.new(name: 'ThrottlingException')
94
+ Timestamp = Shapes::TimestampShape.new(name: 'Timestamp')
95
+ Unlock = Shapes::StructureShape.new(name: 'Unlock')
96
+ UnlockState = Shapes::StringShape.new(name: 'UnlockState')
97
+ UntagResourceInput = Shapes::StructureShape.new(name: 'UntagResourceInput')
98
+ ValidationException = Shapes::StructureShape.new(name: 'ValidationException')
99
+
100
+ AccessDeniedException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
101
+ AccessDeniedException.struct_class = Types::AccessDeniedException
102
+
103
+ CancelTaskInput.add_member(:task_id, Shapes::ShapeRef.new(shape: TaskId, required: true, location: "uri", location_name: "taskId"))
104
+ CancelTaskInput.struct_class = Types::CancelTaskInput
105
+
106
+ CancelTaskOutput.add_member(:task_id, Shapes::ShapeRef.new(shape: String, location_name: "taskId"))
107
+ CancelTaskOutput.struct_class = Types::CancelTaskOutput
108
+
109
+ Capacity.add_member(:available, Shapes::ShapeRef.new(shape: Long, location_name: "available"))
110
+ Capacity.add_member(:name, Shapes::ShapeRef.new(shape: CapacityNameString, location_name: "name"))
111
+ Capacity.add_member(:total, Shapes::ShapeRef.new(shape: Long, location_name: "total"))
112
+ Capacity.add_member(:unit, Shapes::ShapeRef.new(shape: CapacityUnitString, location_name: "unit"))
113
+ Capacity.add_member(:used, Shapes::ShapeRef.new(shape: Long, location_name: "used"))
114
+ Capacity.struct_class = Types::Capacity
115
+
116
+ CapacityList.member = Shapes::ShapeRef.new(shape: Capacity)
117
+
118
+ Command.add_member(:reboot, Shapes::ShapeRef.new(shape: Reboot, location_name: "reboot"))
119
+ Command.add_member(:unlock, Shapes::ShapeRef.new(shape: Unlock, location_name: "unlock"))
120
+ Command.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
121
+ Command.add_member_subclass(:reboot, Types::Command::Reboot)
122
+ Command.add_member_subclass(:unlock, Types::Command::Unlock)
123
+ Command.add_member_subclass(:unknown, Types::Command::Unknown)
124
+ Command.struct_class = Types::Command
125
+
126
+ CpuOptions.add_member(:core_count, Shapes::ShapeRef.new(shape: Integer, location_name: "coreCount"))
127
+ CpuOptions.add_member(:threads_per_core, Shapes::ShapeRef.new(shape: Integer, location_name: "threadsPerCore"))
128
+ CpuOptions.struct_class = Types::CpuOptions
129
+
130
+ CreateTaskInput.add_member(:client_token, Shapes::ShapeRef.new(shape: IdempotencyToken, location_name: "clientToken", metadata: {"idempotencyToken"=>true}))
131
+ CreateTaskInput.add_member(:command, Shapes::ShapeRef.new(shape: Command, required: true, location_name: "command"))
132
+ CreateTaskInput.add_member(:description, Shapes::ShapeRef.new(shape: TaskDescriptionString, location_name: "description"))
133
+ CreateTaskInput.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
134
+ CreateTaskInput.add_member(:targets, Shapes::ShapeRef.new(shape: TargetList, required: true, location_name: "targets"))
135
+ CreateTaskInput.struct_class = Types::CreateTaskInput
136
+
137
+ CreateTaskOutput.add_member(:task_arn, Shapes::ShapeRef.new(shape: String, location_name: "taskArn"))
138
+ CreateTaskOutput.add_member(:task_id, Shapes::ShapeRef.new(shape: String, location_name: "taskId"))
139
+ CreateTaskOutput.struct_class = Types::CreateTaskOutput
140
+
141
+ DescribeDeviceEc2Input.add_member(:instance_ids, Shapes::ShapeRef.new(shape: InstanceIdsList, required: true, location_name: "instanceIds"))
142
+ DescribeDeviceEc2Input.add_member(:managed_device_id, Shapes::ShapeRef.new(shape: ManagedDeviceId, required: true, location: "uri", location_name: "managedDeviceId"))
143
+ DescribeDeviceEc2Input.struct_class = Types::DescribeDeviceEc2Input
144
+
145
+ DescribeDeviceEc2Output.add_member(:instances, Shapes::ShapeRef.new(shape: InstanceSummaryList, location_name: "instances"))
146
+ DescribeDeviceEc2Output.struct_class = Types::DescribeDeviceEc2Output
147
+
148
+ DescribeDeviceInput.add_member(:managed_device_id, Shapes::ShapeRef.new(shape: ManagedDeviceId, required: true, location: "uri", location_name: "managedDeviceId"))
149
+ DescribeDeviceInput.struct_class = Types::DescribeDeviceInput
150
+
151
+ DescribeDeviceOutput.add_member(:associated_with_job, Shapes::ShapeRef.new(shape: String, location_name: "associatedWithJob"))
152
+ DescribeDeviceOutput.add_member(:device_capacities, Shapes::ShapeRef.new(shape: CapacityList, location_name: "deviceCapacities"))
153
+ DescribeDeviceOutput.add_member(:device_state, Shapes::ShapeRef.new(shape: UnlockState, location_name: "deviceState"))
154
+ DescribeDeviceOutput.add_member(:device_type, Shapes::ShapeRef.new(shape: String, location_name: "deviceType"))
155
+ DescribeDeviceOutput.add_member(:last_reached_out_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "lastReachedOutAt"))
156
+ DescribeDeviceOutput.add_member(:last_updated_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "lastUpdatedAt"))
157
+ DescribeDeviceOutput.add_member(:managed_device_arn, Shapes::ShapeRef.new(shape: String, location_name: "managedDeviceArn"))
158
+ DescribeDeviceOutput.add_member(:managed_device_id, Shapes::ShapeRef.new(shape: ManagedDeviceId, location_name: "managedDeviceId"))
159
+ DescribeDeviceOutput.add_member(:physical_network_interfaces, Shapes::ShapeRef.new(shape: PhysicalNetworkInterfaceList, location_name: "physicalNetworkInterfaces"))
160
+ DescribeDeviceOutput.add_member(:software, Shapes::ShapeRef.new(shape: SoftwareInformation, location_name: "software"))
161
+ DescribeDeviceOutput.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
162
+ DescribeDeviceOutput.struct_class = Types::DescribeDeviceOutput
163
+
164
+ DescribeExecutionInput.add_member(:managed_device_id, Shapes::ShapeRef.new(shape: ManagedDeviceId, required: true, location: "uri", location_name: "managedDeviceId"))
165
+ DescribeExecutionInput.add_member(:task_id, Shapes::ShapeRef.new(shape: TaskId, required: true, location: "uri", location_name: "taskId"))
166
+ DescribeExecutionInput.struct_class = Types::DescribeExecutionInput
167
+
168
+ DescribeExecutionOutput.add_member(:execution_id, Shapes::ShapeRef.new(shape: ExecutionId, location_name: "executionId"))
169
+ DescribeExecutionOutput.add_member(:last_updated_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "lastUpdatedAt"))
170
+ DescribeExecutionOutput.add_member(:managed_device_id, Shapes::ShapeRef.new(shape: ManagedDeviceId, location_name: "managedDeviceId"))
171
+ DescribeExecutionOutput.add_member(:started_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "startedAt"))
172
+ DescribeExecutionOutput.add_member(:state, Shapes::ShapeRef.new(shape: ExecutionState, location_name: "state"))
173
+ DescribeExecutionOutput.add_member(:task_id, Shapes::ShapeRef.new(shape: TaskId, location_name: "taskId"))
174
+ DescribeExecutionOutput.struct_class = Types::DescribeExecutionOutput
175
+
176
+ DescribeTaskInput.add_member(:task_id, Shapes::ShapeRef.new(shape: TaskId, required: true, location: "uri", location_name: "taskId"))
177
+ DescribeTaskInput.struct_class = Types::DescribeTaskInput
178
+
179
+ DescribeTaskOutput.add_member(:completed_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "completedAt"))
180
+ DescribeTaskOutput.add_member(:created_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "createdAt"))
181
+ DescribeTaskOutput.add_member(:description, Shapes::ShapeRef.new(shape: TaskDescriptionString, location_name: "description"))
182
+ DescribeTaskOutput.add_member(:last_updated_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "lastUpdatedAt"))
183
+ DescribeTaskOutput.add_member(:state, Shapes::ShapeRef.new(shape: TaskState, location_name: "state"))
184
+ DescribeTaskOutput.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
185
+ DescribeTaskOutput.add_member(:targets, Shapes::ShapeRef.new(shape: TargetList, location_name: "targets"))
186
+ DescribeTaskOutput.add_member(:task_arn, Shapes::ShapeRef.new(shape: String, location_name: "taskArn"))
187
+ DescribeTaskOutput.add_member(:task_id, Shapes::ShapeRef.new(shape: String, location_name: "taskId"))
188
+ DescribeTaskOutput.struct_class = Types::DescribeTaskOutput
189
+
190
+ DeviceSummary.add_member(:associated_with_job, Shapes::ShapeRef.new(shape: String, location_name: "associatedWithJob"))
191
+ DeviceSummary.add_member(:managed_device_arn, Shapes::ShapeRef.new(shape: String, location_name: "managedDeviceArn"))
192
+ DeviceSummary.add_member(:managed_device_id, Shapes::ShapeRef.new(shape: ManagedDeviceId, location_name: "managedDeviceId"))
193
+ DeviceSummary.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
194
+ DeviceSummary.struct_class = Types::DeviceSummary
195
+
196
+ DeviceSummaryList.member = Shapes::ShapeRef.new(shape: DeviceSummary)
197
+
198
+ EbsInstanceBlockDevice.add_member(:attach_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "attachTime"))
199
+ EbsInstanceBlockDevice.add_member(:delete_on_termination, Shapes::ShapeRef.new(shape: Boolean, location_name: "deleteOnTermination"))
200
+ EbsInstanceBlockDevice.add_member(:status, Shapes::ShapeRef.new(shape: AttachmentStatus, location_name: "status"))
201
+ EbsInstanceBlockDevice.add_member(:volume_id, Shapes::ShapeRef.new(shape: String, location_name: "volumeId"))
202
+ EbsInstanceBlockDevice.struct_class = Types::EbsInstanceBlockDevice
203
+
204
+ ExecutionSummary.add_member(:execution_id, Shapes::ShapeRef.new(shape: ExecutionId, location_name: "executionId"))
205
+ ExecutionSummary.add_member(:managed_device_id, Shapes::ShapeRef.new(shape: ManagedDeviceId, location_name: "managedDeviceId"))
206
+ ExecutionSummary.add_member(:state, Shapes::ShapeRef.new(shape: ExecutionState, location_name: "state"))
207
+ ExecutionSummary.add_member(:task_id, Shapes::ShapeRef.new(shape: TaskId, location_name: "taskId"))
208
+ ExecutionSummary.struct_class = Types::ExecutionSummary
209
+
210
+ ExecutionSummaryList.member = Shapes::ShapeRef.new(shape: ExecutionSummary)
211
+
212
+ Instance.add_member(:ami_launch_index, Shapes::ShapeRef.new(shape: Integer, location_name: "amiLaunchIndex"))
213
+ Instance.add_member(:block_device_mappings, Shapes::ShapeRef.new(shape: InstanceBlockDeviceMappingList, location_name: "blockDeviceMappings"))
214
+ Instance.add_member(:cpu_options, Shapes::ShapeRef.new(shape: CpuOptions, location_name: "cpuOptions"))
215
+ Instance.add_member(:created_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "createdAt"))
216
+ Instance.add_member(:image_id, Shapes::ShapeRef.new(shape: String, location_name: "imageId"))
217
+ Instance.add_member(:instance_id, Shapes::ShapeRef.new(shape: String, location_name: "instanceId"))
218
+ Instance.add_member(:instance_type, Shapes::ShapeRef.new(shape: String, location_name: "instanceType"))
219
+ Instance.add_member(:private_ip_address, Shapes::ShapeRef.new(shape: String, location_name: "privateIpAddress"))
220
+ Instance.add_member(:public_ip_address, Shapes::ShapeRef.new(shape: String, location_name: "publicIpAddress"))
221
+ Instance.add_member(:root_device_name, Shapes::ShapeRef.new(shape: String, location_name: "rootDeviceName"))
222
+ Instance.add_member(:security_groups, Shapes::ShapeRef.new(shape: SecurityGroupIdentifierList, location_name: "securityGroups"))
223
+ Instance.add_member(:state, Shapes::ShapeRef.new(shape: InstanceState, location_name: "state"))
224
+ Instance.add_member(:updated_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "updatedAt"))
225
+ Instance.struct_class = Types::Instance
226
+
227
+ InstanceBlockDeviceMapping.add_member(:device_name, Shapes::ShapeRef.new(shape: String, location_name: "deviceName"))
228
+ InstanceBlockDeviceMapping.add_member(:ebs, Shapes::ShapeRef.new(shape: EbsInstanceBlockDevice, location_name: "ebs"))
229
+ InstanceBlockDeviceMapping.struct_class = Types::InstanceBlockDeviceMapping
230
+
231
+ InstanceBlockDeviceMappingList.member = Shapes::ShapeRef.new(shape: InstanceBlockDeviceMapping)
232
+
233
+ InstanceIdsList.member = Shapes::ShapeRef.new(shape: String)
234
+
235
+ InstanceState.add_member(:code, Shapes::ShapeRef.new(shape: Integer, location_name: "code"))
236
+ InstanceState.add_member(:name, Shapes::ShapeRef.new(shape: InstanceStateName, location_name: "name"))
237
+ InstanceState.struct_class = Types::InstanceState
238
+
239
+ InstanceSummary.add_member(:instance, Shapes::ShapeRef.new(shape: Instance, location_name: "instance"))
240
+ InstanceSummary.add_member(:last_updated_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "lastUpdatedAt"))
241
+ InstanceSummary.struct_class = Types::InstanceSummary
242
+
243
+ InstanceSummaryList.member = Shapes::ShapeRef.new(shape: InstanceSummary)
244
+
245
+ InternalServerException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
246
+ InternalServerException.struct_class = Types::InternalServerException
247
+
248
+ ListDeviceResourcesInput.add_member(:managed_device_id, Shapes::ShapeRef.new(shape: ManagedDeviceId, required: true, location: "uri", location_name: "managedDeviceId"))
249
+ ListDeviceResourcesInput.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
250
+ ListDeviceResourcesInput.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
251
+ ListDeviceResourcesInput.add_member(:type, Shapes::ShapeRef.new(shape: ListDeviceResourcesInputTypeString, location: "querystring", location_name: "type"))
252
+ ListDeviceResourcesInput.struct_class = Types::ListDeviceResourcesInput
253
+
254
+ ListDeviceResourcesOutput.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
255
+ ListDeviceResourcesOutput.add_member(:resources, Shapes::ShapeRef.new(shape: ResourceSummaryList, location_name: "resources"))
256
+ ListDeviceResourcesOutput.struct_class = Types::ListDeviceResourcesOutput
257
+
258
+ ListDevicesInput.add_member(:job_id, Shapes::ShapeRef.new(shape: JobId, location: "querystring", location_name: "jobId"))
259
+ ListDevicesInput.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
260
+ ListDevicesInput.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
261
+ ListDevicesInput.struct_class = Types::ListDevicesInput
262
+
263
+ ListDevicesOutput.add_member(:devices, Shapes::ShapeRef.new(shape: DeviceSummaryList, location_name: "devices"))
264
+ ListDevicesOutput.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
265
+ ListDevicesOutput.struct_class = Types::ListDevicesOutput
266
+
267
+ ListExecutionsInput.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
268
+ ListExecutionsInput.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
269
+ ListExecutionsInput.add_member(:state, Shapes::ShapeRef.new(shape: ExecutionState, location: "querystring", location_name: "state"))
270
+ ListExecutionsInput.add_member(:task_id, Shapes::ShapeRef.new(shape: TaskId, required: true, location: "querystring", location_name: "taskId"))
271
+ ListExecutionsInput.struct_class = Types::ListExecutionsInput
272
+
273
+ ListExecutionsOutput.add_member(:executions, Shapes::ShapeRef.new(shape: ExecutionSummaryList, location_name: "executions"))
274
+ ListExecutionsOutput.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
275
+ ListExecutionsOutput.struct_class = Types::ListExecutionsOutput
276
+
277
+ ListTagsForResourceInput.add_member(:resource_arn, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "resourceArn"))
278
+ ListTagsForResourceInput.struct_class = Types::ListTagsForResourceInput
279
+
280
+ ListTagsForResourceOutput.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
281
+ ListTagsForResourceOutput.struct_class = Types::ListTagsForResourceOutput
282
+
283
+ ListTasksInput.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
284
+ ListTasksInput.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
285
+ ListTasksInput.add_member(:state, Shapes::ShapeRef.new(shape: TaskState, location: "querystring", location_name: "state"))
286
+ ListTasksInput.struct_class = Types::ListTasksInput
287
+
288
+ ListTasksOutput.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
289
+ ListTasksOutput.add_member(:tasks, Shapes::ShapeRef.new(shape: TaskSummaryList, location_name: "tasks"))
290
+ ListTasksOutput.struct_class = Types::ListTasksOutput
291
+
292
+ PhysicalNetworkInterface.add_member(:default_gateway, Shapes::ShapeRef.new(shape: String, location_name: "defaultGateway"))
293
+ PhysicalNetworkInterface.add_member(:ip_address, Shapes::ShapeRef.new(shape: String, location_name: "ipAddress"))
294
+ PhysicalNetworkInterface.add_member(:ip_address_assignment, Shapes::ShapeRef.new(shape: IpAddressAssignment, location_name: "ipAddressAssignment"))
295
+ PhysicalNetworkInterface.add_member(:mac_address, Shapes::ShapeRef.new(shape: String, location_name: "macAddress"))
296
+ PhysicalNetworkInterface.add_member(:netmask, Shapes::ShapeRef.new(shape: String, location_name: "netmask"))
297
+ PhysicalNetworkInterface.add_member(:physical_connector_type, Shapes::ShapeRef.new(shape: PhysicalConnectorType, location_name: "physicalConnectorType"))
298
+ PhysicalNetworkInterface.add_member(:physical_network_interface_id, Shapes::ShapeRef.new(shape: String, location_name: "physicalNetworkInterfaceId"))
299
+ PhysicalNetworkInterface.struct_class = Types::PhysicalNetworkInterface
300
+
301
+ PhysicalNetworkInterfaceList.member = Shapes::ShapeRef.new(shape: PhysicalNetworkInterface)
302
+
303
+ Reboot.struct_class = Types::Reboot
304
+
305
+ ResourceNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
306
+ ResourceNotFoundException.struct_class = Types::ResourceNotFoundException
307
+
308
+ ResourceSummary.add_member(:arn, Shapes::ShapeRef.new(shape: String, location_name: "arn"))
309
+ ResourceSummary.add_member(:id, Shapes::ShapeRef.new(shape: String, location_name: "id"))
310
+ ResourceSummary.add_member(:resource_type, Shapes::ShapeRef.new(shape: String, required: true, location_name: "resourceType"))
311
+ ResourceSummary.struct_class = Types::ResourceSummary
312
+
313
+ ResourceSummaryList.member = Shapes::ShapeRef.new(shape: ResourceSummary)
314
+
315
+ SecurityGroupIdentifier.add_member(:group_id, Shapes::ShapeRef.new(shape: String, location_name: "groupId"))
316
+ SecurityGroupIdentifier.add_member(:group_name, Shapes::ShapeRef.new(shape: String, location_name: "groupName"))
317
+ SecurityGroupIdentifier.struct_class = Types::SecurityGroupIdentifier
318
+
319
+ SecurityGroupIdentifierList.member = Shapes::ShapeRef.new(shape: SecurityGroupIdentifier)
320
+
321
+ ServiceQuotaExceededException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
322
+ ServiceQuotaExceededException.struct_class = Types::ServiceQuotaExceededException
323
+
324
+ SoftwareInformation.add_member(:install_state, Shapes::ShapeRef.new(shape: String, location_name: "installState"))
325
+ SoftwareInformation.add_member(:installed_version, Shapes::ShapeRef.new(shape: String, location_name: "installedVersion"))
326
+ SoftwareInformation.add_member(:installing_version, Shapes::ShapeRef.new(shape: String, location_name: "installingVersion"))
327
+ SoftwareInformation.struct_class = Types::SoftwareInformation
328
+
329
+ TagKeys.member = Shapes::ShapeRef.new(shape: String)
330
+
331
+ TagMap.key = Shapes::ShapeRef.new(shape: String)
332
+ TagMap.value = Shapes::ShapeRef.new(shape: String)
333
+
334
+ TagResourceInput.add_member(:resource_arn, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "resourceArn"))
335
+ TagResourceInput.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, required: true, location_name: "tags"))
336
+ TagResourceInput.struct_class = Types::TagResourceInput
337
+
338
+ TargetList.member = Shapes::ShapeRef.new(shape: String)
339
+
340
+ TaskSummary.add_member(:state, Shapes::ShapeRef.new(shape: TaskState, location_name: "state"))
341
+ TaskSummary.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
342
+ TaskSummary.add_member(:task_arn, Shapes::ShapeRef.new(shape: String, location_name: "taskArn"))
343
+ TaskSummary.add_member(:task_id, Shapes::ShapeRef.new(shape: TaskId, required: true, location_name: "taskId"))
344
+ TaskSummary.struct_class = Types::TaskSummary
345
+
346
+ TaskSummaryList.member = Shapes::ShapeRef.new(shape: TaskSummary)
347
+
348
+ ThrottlingException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
349
+ ThrottlingException.struct_class = Types::ThrottlingException
350
+
351
+ Unlock.struct_class = Types::Unlock
352
+
353
+ UntagResourceInput.add_member(:resource_arn, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "resourceArn"))
354
+ UntagResourceInput.add_member(:tag_keys, Shapes::ShapeRef.new(shape: TagKeys, required: true, location: "querystring", location_name: "tagKeys"))
355
+ UntagResourceInput.struct_class = Types::UntagResourceInput
356
+
357
+ ValidationException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
358
+ ValidationException.struct_class = Types::ValidationException
359
+
360
+
361
+ # @api private
362
+ API = Seahorse::Model::Api.new.tap do |api|
363
+
364
+ api.version = "2021-08-04"
365
+
366
+ api.metadata = {
367
+ "apiVersion" => "2021-08-04",
368
+ "endpointPrefix" => "snow-device-management",
369
+ "jsonVersion" => "1.1",
370
+ "protocol" => "rest-json",
371
+ "serviceFullName" => "AWS Snow Device Management",
372
+ "serviceId" => "Snow Device Management",
373
+ "signatureVersion" => "v4",
374
+ "signingName" => "snow-device-management",
375
+ "uid" => "snow-device-management-2021-08-04",
376
+ }
377
+
378
+ api.add_operation(:cancel_task, Seahorse::Model::Operation.new.tap do |o|
379
+ o.name = "CancelTask"
380
+ o.http_method = "POST"
381
+ o.http_request_uri = "/task/{taskId}/cancel"
382
+ o.input = Shapes::ShapeRef.new(shape: CancelTaskInput)
383
+ o.output = Shapes::ShapeRef.new(shape: CancelTaskOutput)
384
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
385
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
386
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
387
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
388
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
389
+ end)
390
+
391
+ api.add_operation(:create_task, Seahorse::Model::Operation.new.tap do |o|
392
+ o.name = "CreateTask"
393
+ o.http_method = "POST"
394
+ o.http_request_uri = "/task"
395
+ o.input = Shapes::ShapeRef.new(shape: CreateTaskInput)
396
+ o.output = Shapes::ShapeRef.new(shape: CreateTaskOutput)
397
+ o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
398
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
399
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
400
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
401
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
402
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
403
+ end)
404
+
405
+ api.add_operation(:describe_device, Seahorse::Model::Operation.new.tap do |o|
406
+ o.name = "DescribeDevice"
407
+ o.http_method = "POST"
408
+ o.http_request_uri = "/managed-device/{managedDeviceId}/describe"
409
+ o.input = Shapes::ShapeRef.new(shape: DescribeDeviceInput)
410
+ o.output = Shapes::ShapeRef.new(shape: DescribeDeviceOutput)
411
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
412
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
413
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
414
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
415
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
416
+ end)
417
+
418
+ api.add_operation(:describe_device_ec2_instances, Seahorse::Model::Operation.new.tap do |o|
419
+ o.name = "DescribeDeviceEc2Instances"
420
+ o.http_method = "POST"
421
+ o.http_request_uri = "/managed-device/{managedDeviceId}/resources/ec2/describe"
422
+ o.input = Shapes::ShapeRef.new(shape: DescribeDeviceEc2Input)
423
+ o.output = Shapes::ShapeRef.new(shape: DescribeDeviceEc2Output)
424
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
425
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
426
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
427
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
428
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
429
+ end)
430
+
431
+ api.add_operation(:describe_execution, Seahorse::Model::Operation.new.tap do |o|
432
+ o.name = "DescribeExecution"
433
+ o.http_method = "POST"
434
+ o.http_request_uri = "/task/{taskId}/execution/{managedDeviceId}"
435
+ o.input = Shapes::ShapeRef.new(shape: DescribeExecutionInput)
436
+ o.output = Shapes::ShapeRef.new(shape: DescribeExecutionOutput)
437
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
438
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
439
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
440
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
441
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
442
+ end)
443
+
444
+ api.add_operation(:describe_task, Seahorse::Model::Operation.new.tap do |o|
445
+ o.name = "DescribeTask"
446
+ o.http_method = "POST"
447
+ o.http_request_uri = "/task/{taskId}"
448
+ o.input = Shapes::ShapeRef.new(shape: DescribeTaskInput)
449
+ o.output = Shapes::ShapeRef.new(shape: DescribeTaskOutput)
450
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
451
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
452
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
453
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
454
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
455
+ end)
456
+
457
+ api.add_operation(:list_device_resources, Seahorse::Model::Operation.new.tap do |o|
458
+ o.name = "ListDeviceResources"
459
+ o.http_method = "GET"
460
+ o.http_request_uri = "/managed-device/{managedDeviceId}/resources"
461
+ o.input = Shapes::ShapeRef.new(shape: ListDeviceResourcesInput)
462
+ o.output = Shapes::ShapeRef.new(shape: ListDeviceResourcesOutput)
463
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
464
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
465
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
466
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
467
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
468
+ o[:pager] = Aws::Pager.new(
469
+ limit_key: "max_results",
470
+ tokens: {
471
+ "next_token" => "next_token"
472
+ }
473
+ )
474
+ end)
475
+
476
+ api.add_operation(:list_devices, Seahorse::Model::Operation.new.tap do |o|
477
+ o.name = "ListDevices"
478
+ o.http_method = "GET"
479
+ o.http_request_uri = "/managed-devices"
480
+ o.input = Shapes::ShapeRef.new(shape: ListDevicesInput)
481
+ o.output = Shapes::ShapeRef.new(shape: ListDevicesOutput)
482
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
483
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
484
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
485
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
486
+ o[:pager] = Aws::Pager.new(
487
+ limit_key: "max_results",
488
+ tokens: {
489
+ "next_token" => "next_token"
490
+ }
491
+ )
492
+ end)
493
+
494
+ api.add_operation(:list_executions, Seahorse::Model::Operation.new.tap do |o|
495
+ o.name = "ListExecutions"
496
+ o.http_method = "GET"
497
+ o.http_request_uri = "/executions"
498
+ o.input = Shapes::ShapeRef.new(shape: ListExecutionsInput)
499
+ o.output = Shapes::ShapeRef.new(shape: ListExecutionsOutput)
500
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
501
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
502
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
503
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
504
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
505
+ o[:pager] = Aws::Pager.new(
506
+ limit_key: "max_results",
507
+ tokens: {
508
+ "next_token" => "next_token"
509
+ }
510
+ )
511
+ end)
512
+
513
+ api.add_operation(:list_tags_for_resource, Seahorse::Model::Operation.new.tap do |o|
514
+ o.name = "ListTagsForResource"
515
+ o.http_method = "GET"
516
+ o.http_request_uri = "/tags/{resourceArn}"
517
+ o.input = Shapes::ShapeRef.new(shape: ListTagsForResourceInput)
518
+ o.output = Shapes::ShapeRef.new(shape: ListTagsForResourceOutput)
519
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
520
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
521
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
522
+ end)
523
+
524
+ api.add_operation(:list_tasks, Seahorse::Model::Operation.new.tap do |o|
525
+ o.name = "ListTasks"
526
+ o.http_method = "GET"
527
+ o.http_request_uri = "/tasks"
528
+ o.input = Shapes::ShapeRef.new(shape: ListTasksInput)
529
+ o.output = Shapes::ShapeRef.new(shape: ListTasksOutput)
530
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
531
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
532
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
533
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
534
+ o[:pager] = Aws::Pager.new(
535
+ limit_key: "max_results",
536
+ tokens: {
537
+ "next_token" => "next_token"
538
+ }
539
+ )
540
+ end)
541
+
542
+ api.add_operation(:tag_resource, Seahorse::Model::Operation.new.tap do |o|
543
+ o.name = "TagResource"
544
+ o.http_method = "POST"
545
+ o.http_request_uri = "/tags/{resourceArn}"
546
+ o.input = Shapes::ShapeRef.new(shape: TagResourceInput)
547
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
548
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
549
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
550
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
551
+ end)
552
+
553
+ api.add_operation(:untag_resource, Seahorse::Model::Operation.new.tap do |o|
554
+ o.name = "UntagResource"
555
+ o.http_method = "DELETE"
556
+ o.http_request_uri = "/tags/{resourceArn}"
557
+ o.input = Shapes::ShapeRef.new(shape: UntagResourceInput)
558
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
559
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
560
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
561
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
562
+ end)
563
+ end
564
+
565
+ end
566
+ end