aws-sdk-iotdeviceadvisor 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,496 @@
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/master/CONTRIBUTING.md
7
+ #
8
+ # WARNING ABOUT GENERATED CODE
9
+
10
+ module Aws::IoTDeviceAdvisor
11
+ # @api private
12
+ module ClientApi
13
+
14
+ include Seahorse::Model
15
+
16
+ AmazonResourceName = Shapes::StringShape.new(name: 'AmazonResourceName')
17
+ CategoryName = Shapes::StringShape.new(name: 'CategoryName')
18
+ ConfigString = Shapes::StringShape.new(name: 'ConfigString')
19
+ ConflictException = Shapes::StructureShape.new(name: 'ConflictException')
20
+ CreateSuiteDefinitionRequest = Shapes::StructureShape.new(name: 'CreateSuiteDefinitionRequest')
21
+ CreateSuiteDefinitionResponse = Shapes::StructureShape.new(name: 'CreateSuiteDefinitionResponse')
22
+ DeleteSuiteDefinitionRequest = Shapes::StructureShape.new(name: 'DeleteSuiteDefinitionRequest')
23
+ DeleteSuiteDefinitionResponse = Shapes::StructureShape.new(name: 'DeleteSuiteDefinitionResponse')
24
+ DeviceUnderTest = Shapes::StructureShape.new(name: 'DeviceUnderTest')
25
+ DeviceUnderTestList = Shapes::ListShape.new(name: 'DeviceUnderTestList')
26
+ ErrorReason = Shapes::StringShape.new(name: 'ErrorReason')
27
+ Failure = Shapes::StringShape.new(name: 'Failure')
28
+ GetSuiteDefinitionRequest = Shapes::StructureShape.new(name: 'GetSuiteDefinitionRequest')
29
+ GetSuiteDefinitionResponse = Shapes::StructureShape.new(name: 'GetSuiteDefinitionResponse')
30
+ GetSuiteRunReportRequest = Shapes::StructureShape.new(name: 'GetSuiteRunReportRequest')
31
+ GetSuiteRunReportResponse = Shapes::StructureShape.new(name: 'GetSuiteRunReportResponse')
32
+ GetSuiteRunRequest = Shapes::StructureShape.new(name: 'GetSuiteRunRequest')
33
+ GetSuiteRunResponse = Shapes::StructureShape.new(name: 'GetSuiteRunResponse')
34
+ GroupName = Shapes::StringShape.new(name: 'GroupName')
35
+ GroupResult = Shapes::StructureShape.new(name: 'GroupResult')
36
+ GroupResultList = Shapes::ListShape.new(name: 'GroupResultList')
37
+ IntendedForQualificationBoolean = Shapes::BooleanShape.new(name: 'IntendedForQualificationBoolean')
38
+ InternalServerException = Shapes::StructureShape.new(name: 'InternalServerException')
39
+ ListSuiteDefinitionsRequest = Shapes::StructureShape.new(name: 'ListSuiteDefinitionsRequest')
40
+ ListSuiteDefinitionsResponse = Shapes::StructureShape.new(name: 'ListSuiteDefinitionsResponse')
41
+ ListSuiteRunsRequest = Shapes::StructureShape.new(name: 'ListSuiteRunsRequest')
42
+ ListSuiteRunsResponse = Shapes::StructureShape.new(name: 'ListSuiteRunsResponse')
43
+ ListTagsForResourceRequest = Shapes::StructureShape.new(name: 'ListTagsForResourceRequest')
44
+ ListTagsForResourceResponse = Shapes::StructureShape.new(name: 'ListTagsForResourceResponse')
45
+ ListTestCasesRequest = Shapes::StructureShape.new(name: 'ListTestCasesRequest')
46
+ ListTestCasesResponse = Shapes::StructureShape.new(name: 'ListTestCasesResponse')
47
+ LogUrl = Shapes::StringShape.new(name: 'LogUrl')
48
+ MaxResults = Shapes::IntegerShape.new(name: 'MaxResults')
49
+ Message = Shapes::StringShape.new(name: 'Message')
50
+ QualificationReportDownloadUrl = Shapes::StringShape.new(name: 'QualificationReportDownloadUrl')
51
+ ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
52
+ RootGroup = Shapes::StringShape.new(name: 'RootGroup')
53
+ SelectedTestList = Shapes::ListShape.new(name: 'SelectedTestList')
54
+ StartSuiteRunRequest = Shapes::StructureShape.new(name: 'StartSuiteRunRequest')
55
+ StartSuiteRunResponse = Shapes::StructureShape.new(name: 'StartSuiteRunResponse')
56
+ Status = Shapes::StringShape.new(name: 'Status')
57
+ String128 = Shapes::StringShape.new(name: 'String128')
58
+ String256 = Shapes::StringShape.new(name: 'String256')
59
+ SuiteDefinitionConfiguration = Shapes::StructureShape.new(name: 'SuiteDefinitionConfiguration')
60
+ SuiteDefinitionInformation = Shapes::StructureShape.new(name: 'SuiteDefinitionInformation')
61
+ SuiteDefinitionInformationList = Shapes::ListShape.new(name: 'SuiteDefinitionInformationList')
62
+ SuiteDefinitionName = Shapes::StringShape.new(name: 'SuiteDefinitionName')
63
+ SuiteDefinitionVersion = Shapes::StringShape.new(name: 'SuiteDefinitionVersion')
64
+ SuiteRunConfiguration = Shapes::StructureShape.new(name: 'SuiteRunConfiguration')
65
+ SuiteRunInformation = Shapes::StructureShape.new(name: 'SuiteRunInformation')
66
+ SuiteRunResultCount = Shapes::IntegerShape.new(name: 'SuiteRunResultCount')
67
+ SuiteRunStatus = Shapes::StringShape.new(name: 'SuiteRunStatus')
68
+ SuiteRunsList = Shapes::ListShape.new(name: 'SuiteRunsList')
69
+ TagKeyList = Shapes::ListShape.new(name: 'TagKeyList')
70
+ TagMap = Shapes::MapShape.new(name: 'TagMap')
71
+ TagResourceRequest = Shapes::StructureShape.new(name: 'TagResourceRequest')
72
+ TagResourceResponse = Shapes::StructureShape.new(name: 'TagResourceResponse')
73
+ TestCase = Shapes::StructureShape.new(name: 'TestCase')
74
+ TestCaseCategory = Shapes::StructureShape.new(name: 'TestCaseCategory')
75
+ TestCaseDefinition = Shapes::StructureShape.new(name: 'TestCaseDefinition')
76
+ TestCaseDefinitionName = Shapes::StringShape.new(name: 'TestCaseDefinitionName')
77
+ TestCaseList = Shapes::ListShape.new(name: 'TestCaseList')
78
+ TestCaseName = Shapes::StringShape.new(name: 'TestCaseName')
79
+ TestCaseRun = Shapes::StructureShape.new(name: 'TestCaseRun')
80
+ TestCaseRuns = Shapes::ListShape.new(name: 'TestCaseRuns')
81
+ TestCaseVersion = Shapes::StringShape.new(name: 'TestCaseVersion')
82
+ TestCategory = Shapes::ListShape.new(name: 'TestCategory')
83
+ TestConfiguration = Shapes::MapShape.new(name: 'TestConfiguration')
84
+ TestResult = Shapes::StructureShape.new(name: 'TestResult')
85
+ Timestamp = Shapes::TimestampShape.new(name: 'Timestamp')
86
+ Token = Shapes::StringShape.new(name: 'Token')
87
+ UUID = Shapes::StringShape.new(name: 'UUID')
88
+ UntagResourceRequest = Shapes::StructureShape.new(name: 'UntagResourceRequest')
89
+ UntagResourceResponse = Shapes::StructureShape.new(name: 'UntagResourceResponse')
90
+ UpdateSuiteDefinitionRequest = Shapes::StructureShape.new(name: 'UpdateSuiteDefinitionRequest')
91
+ UpdateSuiteDefinitionResponse = Shapes::StructureShape.new(name: 'UpdateSuiteDefinitionResponse')
92
+ ValidationException = Shapes::StructureShape.new(name: 'ValidationException')
93
+ Warnings = Shapes::StringShape.new(name: 'Warnings')
94
+
95
+ ConflictException.add_member(:message, Shapes::ShapeRef.new(shape: Message, location_name: "message"))
96
+ ConflictException.struct_class = Types::ConflictException
97
+
98
+ CreateSuiteDefinitionRequest.add_member(:suite_definition_configuration, Shapes::ShapeRef.new(shape: SuiteDefinitionConfiguration, location_name: "suiteDefinitionConfiguration"))
99
+ CreateSuiteDefinitionRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
100
+ CreateSuiteDefinitionRequest.struct_class = Types::CreateSuiteDefinitionRequest
101
+
102
+ CreateSuiteDefinitionResponse.add_member(:suite_definition_id, Shapes::ShapeRef.new(shape: UUID, location_name: "suiteDefinitionId"))
103
+ CreateSuiteDefinitionResponse.add_member(:suite_definition_arn, Shapes::ShapeRef.new(shape: AmazonResourceName, location_name: "suiteDefinitionArn"))
104
+ CreateSuiteDefinitionResponse.add_member(:suite_definition_name, Shapes::ShapeRef.new(shape: SuiteDefinitionName, location_name: "suiteDefinitionName"))
105
+ CreateSuiteDefinitionResponse.add_member(:created_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "createdAt"))
106
+ CreateSuiteDefinitionResponse.struct_class = Types::CreateSuiteDefinitionResponse
107
+
108
+ DeleteSuiteDefinitionRequest.add_member(:suite_definition_id, Shapes::ShapeRef.new(shape: UUID, required: true, location: "uri", location_name: "suiteDefinitionId"))
109
+ DeleteSuiteDefinitionRequest.struct_class = Types::DeleteSuiteDefinitionRequest
110
+
111
+ DeleteSuiteDefinitionResponse.struct_class = Types::DeleteSuiteDefinitionResponse
112
+
113
+ DeviceUnderTest.add_member(:thing_arn, Shapes::ShapeRef.new(shape: AmazonResourceName, location_name: "thingArn"))
114
+ DeviceUnderTest.add_member(:certificate_arn, Shapes::ShapeRef.new(shape: AmazonResourceName, location_name: "certificateArn"))
115
+ DeviceUnderTest.struct_class = Types::DeviceUnderTest
116
+
117
+ DeviceUnderTestList.member = Shapes::ShapeRef.new(shape: DeviceUnderTest)
118
+
119
+ GetSuiteDefinitionRequest.add_member(:suite_definition_id, Shapes::ShapeRef.new(shape: UUID, required: true, location: "uri", location_name: "suiteDefinitionId"))
120
+ GetSuiteDefinitionRequest.add_member(:suite_definition_version, Shapes::ShapeRef.new(shape: SuiteDefinitionVersion, location: "querystring", location_name: "suiteDefinitionVersion"))
121
+ GetSuiteDefinitionRequest.struct_class = Types::GetSuiteDefinitionRequest
122
+
123
+ GetSuiteDefinitionResponse.add_member(:suite_definition_id, Shapes::ShapeRef.new(shape: UUID, location_name: "suiteDefinitionId"))
124
+ GetSuiteDefinitionResponse.add_member(:suite_definition_arn, Shapes::ShapeRef.new(shape: AmazonResourceName, location_name: "suiteDefinitionArn"))
125
+ GetSuiteDefinitionResponse.add_member(:suite_definition_version, Shapes::ShapeRef.new(shape: SuiteDefinitionVersion, location_name: "suiteDefinitionVersion"))
126
+ GetSuiteDefinitionResponse.add_member(:latest_version, Shapes::ShapeRef.new(shape: SuiteDefinitionVersion, location_name: "latestVersion"))
127
+ GetSuiteDefinitionResponse.add_member(:suite_definition_configuration, Shapes::ShapeRef.new(shape: SuiteDefinitionConfiguration, location_name: "suiteDefinitionConfiguration"))
128
+ GetSuiteDefinitionResponse.add_member(:created_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "createdAt"))
129
+ GetSuiteDefinitionResponse.add_member(:last_modified_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "lastModifiedAt"))
130
+ GetSuiteDefinitionResponse.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
131
+ GetSuiteDefinitionResponse.struct_class = Types::GetSuiteDefinitionResponse
132
+
133
+ GetSuiteRunReportRequest.add_member(:suite_definition_id, Shapes::ShapeRef.new(shape: UUID, required: true, location: "uri", location_name: "suiteDefinitionId"))
134
+ GetSuiteRunReportRequest.add_member(:suite_run_id, Shapes::ShapeRef.new(shape: UUID, required: true, location: "uri", location_name: "suiteRunId"))
135
+ GetSuiteRunReportRequest.struct_class = Types::GetSuiteRunReportRequest
136
+
137
+ GetSuiteRunReportResponse.add_member(:qualification_report_download_url, Shapes::ShapeRef.new(shape: QualificationReportDownloadUrl, location_name: "qualificationReportDownloadUrl"))
138
+ GetSuiteRunReportResponse.struct_class = Types::GetSuiteRunReportResponse
139
+
140
+ GetSuiteRunRequest.add_member(:suite_definition_id, Shapes::ShapeRef.new(shape: UUID, required: true, location: "uri", location_name: "suiteDefinitionId"))
141
+ GetSuiteRunRequest.add_member(:suite_run_id, Shapes::ShapeRef.new(shape: UUID, required: true, location: "uri", location_name: "suiteRunId"))
142
+ GetSuiteRunRequest.struct_class = Types::GetSuiteRunRequest
143
+
144
+ GetSuiteRunResponse.add_member(:suite_definition_id, Shapes::ShapeRef.new(shape: UUID, location_name: "suiteDefinitionId"))
145
+ GetSuiteRunResponse.add_member(:suite_definition_version, Shapes::ShapeRef.new(shape: SuiteDefinitionVersion, location_name: "suiteDefinitionVersion"))
146
+ GetSuiteRunResponse.add_member(:suite_run_id, Shapes::ShapeRef.new(shape: UUID, location_name: "suiteRunId"))
147
+ GetSuiteRunResponse.add_member(:suite_run_arn, Shapes::ShapeRef.new(shape: AmazonResourceName, location_name: "suiteRunArn"))
148
+ GetSuiteRunResponse.add_member(:suite_run_configuration, Shapes::ShapeRef.new(shape: SuiteRunConfiguration, location_name: "suiteRunConfiguration"))
149
+ GetSuiteRunResponse.add_member(:test_result, Shapes::ShapeRef.new(shape: TestResult, location_name: "testResult"))
150
+ GetSuiteRunResponse.add_member(:start_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "startTime"))
151
+ GetSuiteRunResponse.add_member(:end_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "endTime"))
152
+ GetSuiteRunResponse.add_member(:status, Shapes::ShapeRef.new(shape: SuiteRunStatus, location_name: "status"))
153
+ GetSuiteRunResponse.add_member(:error_reason, Shapes::ShapeRef.new(shape: ErrorReason, location_name: "errorReason"))
154
+ GetSuiteRunResponse.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
155
+ GetSuiteRunResponse.struct_class = Types::GetSuiteRunResponse
156
+
157
+ GroupResult.add_member(:group_id, Shapes::ShapeRef.new(shape: UUID, location_name: "groupId"))
158
+ GroupResult.add_member(:group_name, Shapes::ShapeRef.new(shape: GroupName, location_name: "groupName"))
159
+ GroupResult.add_member(:tests, Shapes::ShapeRef.new(shape: TestCaseRuns, location_name: "tests"))
160
+ GroupResult.struct_class = Types::GroupResult
161
+
162
+ GroupResultList.member = Shapes::ShapeRef.new(shape: GroupResult)
163
+
164
+ InternalServerException.add_member(:message, Shapes::ShapeRef.new(shape: Message, location_name: "message"))
165
+ InternalServerException.struct_class = Types::InternalServerException
166
+
167
+ ListSuiteDefinitionsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
168
+ ListSuiteDefinitionsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: Token, location: "querystring", location_name: "nextToken"))
169
+ ListSuiteDefinitionsRequest.struct_class = Types::ListSuiteDefinitionsRequest
170
+
171
+ ListSuiteDefinitionsResponse.add_member(:suite_definition_information_list, Shapes::ShapeRef.new(shape: SuiteDefinitionInformationList, location_name: "suiteDefinitionInformationList"))
172
+ ListSuiteDefinitionsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: Token, location_name: "nextToken"))
173
+ ListSuiteDefinitionsResponse.struct_class = Types::ListSuiteDefinitionsResponse
174
+
175
+ ListSuiteRunsRequest.add_member(:suite_definition_id, Shapes::ShapeRef.new(shape: UUID, location: "querystring", location_name: "suiteDefinitionId"))
176
+ ListSuiteRunsRequest.add_member(:suite_definition_version, Shapes::ShapeRef.new(shape: SuiteDefinitionVersion, location: "querystring", location_name: "suiteDefinitionVersion"))
177
+ ListSuiteRunsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
178
+ ListSuiteRunsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: Token, location: "querystring", location_name: "nextToken"))
179
+ ListSuiteRunsRequest.struct_class = Types::ListSuiteRunsRequest
180
+
181
+ ListSuiteRunsResponse.add_member(:suite_runs_list, Shapes::ShapeRef.new(shape: SuiteRunsList, location_name: "suiteRunsList"))
182
+ ListSuiteRunsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: Token, location_name: "nextToken"))
183
+ ListSuiteRunsResponse.struct_class = Types::ListSuiteRunsResponse
184
+
185
+ ListTagsForResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: AmazonResourceName, required: true, location: "uri", location_name: "resourceArn"))
186
+ ListTagsForResourceRequest.struct_class = Types::ListTagsForResourceRequest
187
+
188
+ ListTagsForResourceResponse.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
189
+ ListTagsForResourceResponse.struct_class = Types::ListTagsForResourceResponse
190
+
191
+ ListTestCasesRequest.add_member(:intended_for_qualification, Shapes::ShapeRef.new(shape: IntendedForQualificationBoolean, location: "querystring", location_name: "intendedForQualification"))
192
+ ListTestCasesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
193
+ ListTestCasesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: Token, location: "querystring", location_name: "nextToken"))
194
+ ListTestCasesRequest.struct_class = Types::ListTestCasesRequest
195
+
196
+ ListTestCasesResponse.add_member(:categories, Shapes::ShapeRef.new(shape: TestCategory, location_name: "categories"))
197
+ ListTestCasesResponse.add_member(:root_group_configuration, Shapes::ShapeRef.new(shape: TestConfiguration, location_name: "rootGroupConfiguration"))
198
+ ListTestCasesResponse.add_member(:group_configuration, Shapes::ShapeRef.new(shape: TestConfiguration, location_name: "groupConfiguration"))
199
+ ListTestCasesResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: Token, location_name: "nextToken"))
200
+ ListTestCasesResponse.struct_class = Types::ListTestCasesResponse
201
+
202
+ ResourceNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: Message, location_name: "message"))
203
+ ResourceNotFoundException.struct_class = Types::ResourceNotFoundException
204
+
205
+ SelectedTestList.member = Shapes::ShapeRef.new(shape: UUID)
206
+
207
+ StartSuiteRunRequest.add_member(:suite_definition_id, Shapes::ShapeRef.new(shape: UUID, required: true, location: "uri", location_name: "suiteDefinitionId"))
208
+ StartSuiteRunRequest.add_member(:suite_definition_version, Shapes::ShapeRef.new(shape: SuiteDefinitionVersion, location_name: "suiteDefinitionVersion"))
209
+ StartSuiteRunRequest.add_member(:suite_run_configuration, Shapes::ShapeRef.new(shape: SuiteRunConfiguration, location_name: "suiteRunConfiguration"))
210
+ StartSuiteRunRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
211
+ StartSuiteRunRequest.struct_class = Types::StartSuiteRunRequest
212
+
213
+ StartSuiteRunResponse.add_member(:suite_run_id, Shapes::ShapeRef.new(shape: UUID, location_name: "suiteRunId"))
214
+ StartSuiteRunResponse.add_member(:suite_run_arn, Shapes::ShapeRef.new(shape: AmazonResourceName, location_name: "suiteRunArn"))
215
+ StartSuiteRunResponse.add_member(:created_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "createdAt"))
216
+ StartSuiteRunResponse.struct_class = Types::StartSuiteRunResponse
217
+
218
+ SuiteDefinitionConfiguration.add_member(:suite_definition_name, Shapes::ShapeRef.new(shape: SuiteDefinitionName, location_name: "suiteDefinitionName"))
219
+ SuiteDefinitionConfiguration.add_member(:devices, Shapes::ShapeRef.new(shape: DeviceUnderTestList, location_name: "devices"))
220
+ SuiteDefinitionConfiguration.add_member(:intended_for_qualification, Shapes::ShapeRef.new(shape: IntendedForQualificationBoolean, location_name: "intendedForQualification"))
221
+ SuiteDefinitionConfiguration.add_member(:root_group, Shapes::ShapeRef.new(shape: RootGroup, location_name: "rootGroup"))
222
+ SuiteDefinitionConfiguration.add_member(:device_permission_role_arn, Shapes::ShapeRef.new(shape: AmazonResourceName, location_name: "devicePermissionRoleArn"))
223
+ SuiteDefinitionConfiguration.struct_class = Types::SuiteDefinitionConfiguration
224
+
225
+ SuiteDefinitionInformation.add_member(:suite_definition_id, Shapes::ShapeRef.new(shape: UUID, location_name: "suiteDefinitionId"))
226
+ SuiteDefinitionInformation.add_member(:suite_definition_name, Shapes::ShapeRef.new(shape: SuiteDefinitionName, location_name: "suiteDefinitionName"))
227
+ SuiteDefinitionInformation.add_member(:default_devices, Shapes::ShapeRef.new(shape: DeviceUnderTestList, location_name: "defaultDevices"))
228
+ SuiteDefinitionInformation.add_member(:intended_for_qualification, Shapes::ShapeRef.new(shape: IntendedForQualificationBoolean, location_name: "intendedForQualification"))
229
+ SuiteDefinitionInformation.add_member(:created_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "createdAt"))
230
+ SuiteDefinitionInformation.struct_class = Types::SuiteDefinitionInformation
231
+
232
+ SuiteDefinitionInformationList.member = Shapes::ShapeRef.new(shape: SuiteDefinitionInformation)
233
+
234
+ SuiteRunConfiguration.add_member(:primary_device, Shapes::ShapeRef.new(shape: DeviceUnderTest, location_name: "primaryDevice"))
235
+ SuiteRunConfiguration.add_member(:secondary_device, Shapes::ShapeRef.new(shape: DeviceUnderTest, location_name: "secondaryDevice"))
236
+ SuiteRunConfiguration.add_member(:selected_test_list, Shapes::ShapeRef.new(shape: SelectedTestList, location_name: "selectedTestList"))
237
+ SuiteRunConfiguration.struct_class = Types::SuiteRunConfiguration
238
+
239
+ SuiteRunInformation.add_member(:suite_definition_id, Shapes::ShapeRef.new(shape: UUID, location_name: "suiteDefinitionId"))
240
+ SuiteRunInformation.add_member(:suite_definition_version, Shapes::ShapeRef.new(shape: SuiteDefinitionVersion, location_name: "suiteDefinitionVersion"))
241
+ SuiteRunInformation.add_member(:suite_definition_name, Shapes::ShapeRef.new(shape: SuiteDefinitionName, location_name: "suiteDefinitionName"))
242
+ SuiteRunInformation.add_member(:suite_run_id, Shapes::ShapeRef.new(shape: UUID, location_name: "suiteRunId"))
243
+ SuiteRunInformation.add_member(:created_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "createdAt"))
244
+ SuiteRunInformation.add_member(:started_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "startedAt"))
245
+ SuiteRunInformation.add_member(:end_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "endAt"))
246
+ SuiteRunInformation.add_member(:status, Shapes::ShapeRef.new(shape: SuiteRunStatus, location_name: "status"))
247
+ SuiteRunInformation.add_member(:passed, Shapes::ShapeRef.new(shape: SuiteRunResultCount, location_name: "passed"))
248
+ SuiteRunInformation.add_member(:failed, Shapes::ShapeRef.new(shape: SuiteRunResultCount, location_name: "failed"))
249
+ SuiteRunInformation.struct_class = Types::SuiteRunInformation
250
+
251
+ SuiteRunsList.member = Shapes::ShapeRef.new(shape: SuiteRunInformation)
252
+
253
+ TagKeyList.member = Shapes::ShapeRef.new(shape: String128)
254
+
255
+ TagMap.key = Shapes::ShapeRef.new(shape: String128)
256
+ TagMap.value = Shapes::ShapeRef.new(shape: String256)
257
+
258
+ TagResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: AmazonResourceName, required: true, location: "uri", location_name: "resourceArn"))
259
+ TagResourceRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, required: true, location_name: "tags"))
260
+ TagResourceRequest.struct_class = Types::TagResourceRequest
261
+
262
+ TagResourceResponse.struct_class = Types::TagResourceResponse
263
+
264
+ TestCase.add_member(:name, Shapes::ShapeRef.new(shape: TestCaseName, location_name: "name"))
265
+ TestCase.add_member(:configuration, Shapes::ShapeRef.new(shape: TestConfiguration, location_name: "configuration"))
266
+ TestCase.add_member(:test, Shapes::ShapeRef.new(shape: TestCaseDefinition, location_name: "test"))
267
+ TestCase.struct_class = Types::TestCase
268
+
269
+ TestCaseCategory.add_member(:name, Shapes::ShapeRef.new(shape: CategoryName, location_name: "name"))
270
+ TestCaseCategory.add_member(:tests, Shapes::ShapeRef.new(shape: TestCaseList, location_name: "tests"))
271
+ TestCaseCategory.struct_class = Types::TestCaseCategory
272
+
273
+ TestCaseDefinition.add_member(:id, Shapes::ShapeRef.new(shape: TestCaseName, location_name: "id"))
274
+ TestCaseDefinition.add_member(:test_case_version, Shapes::ShapeRef.new(shape: TestCaseVersion, location_name: "testCaseVersion"))
275
+ TestCaseDefinition.struct_class = Types::TestCaseDefinition
276
+
277
+ TestCaseList.member = Shapes::ShapeRef.new(shape: TestCase)
278
+
279
+ TestCaseRun.add_member(:test_case_run_id, Shapes::ShapeRef.new(shape: UUID, location_name: "testCaseRunId"))
280
+ TestCaseRun.add_member(:test_case_definition_id, Shapes::ShapeRef.new(shape: UUID, location_name: "testCaseDefinitionId"))
281
+ TestCaseRun.add_member(:test_case_definition_name, Shapes::ShapeRef.new(shape: TestCaseDefinitionName, location_name: "testCaseDefinitionName"))
282
+ TestCaseRun.add_member(:status, Shapes::ShapeRef.new(shape: Status, location_name: "status"))
283
+ TestCaseRun.add_member(:start_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "startTime"))
284
+ TestCaseRun.add_member(:end_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "endTime"))
285
+ TestCaseRun.add_member(:log_url, Shapes::ShapeRef.new(shape: LogUrl, location_name: "logUrl"))
286
+ TestCaseRun.add_member(:warnings, Shapes::ShapeRef.new(shape: Warnings, location_name: "warnings"))
287
+ TestCaseRun.add_member(:failure, Shapes::ShapeRef.new(shape: Failure, location_name: "failure"))
288
+ TestCaseRun.struct_class = Types::TestCaseRun
289
+
290
+ TestCaseRuns.member = Shapes::ShapeRef.new(shape: TestCaseRun)
291
+
292
+ TestCategory.member = Shapes::ShapeRef.new(shape: TestCaseCategory)
293
+
294
+ TestConfiguration.key = Shapes::ShapeRef.new(shape: ConfigString)
295
+ TestConfiguration.value = Shapes::ShapeRef.new(shape: ConfigString)
296
+
297
+ TestResult.add_member(:groups, Shapes::ShapeRef.new(shape: GroupResultList, location_name: "groups"))
298
+ TestResult.struct_class = Types::TestResult
299
+
300
+ UntagResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: AmazonResourceName, required: true, location: "uri", location_name: "resourceArn"))
301
+ UntagResourceRequest.add_member(:tag_keys, Shapes::ShapeRef.new(shape: TagKeyList, required: true, location: "querystring", location_name: "tagKeys"))
302
+ UntagResourceRequest.struct_class = Types::UntagResourceRequest
303
+
304
+ UntagResourceResponse.struct_class = Types::UntagResourceResponse
305
+
306
+ UpdateSuiteDefinitionRequest.add_member(:suite_definition_id, Shapes::ShapeRef.new(shape: UUID, required: true, location: "uri", location_name: "suiteDefinitionId"))
307
+ UpdateSuiteDefinitionRequest.add_member(:suite_definition_configuration, Shapes::ShapeRef.new(shape: SuiteDefinitionConfiguration, location_name: "suiteDefinitionConfiguration"))
308
+ UpdateSuiteDefinitionRequest.struct_class = Types::UpdateSuiteDefinitionRequest
309
+
310
+ UpdateSuiteDefinitionResponse.add_member(:suite_definition_id, Shapes::ShapeRef.new(shape: UUID, location_name: "suiteDefinitionId"))
311
+ UpdateSuiteDefinitionResponse.add_member(:suite_definition_arn, Shapes::ShapeRef.new(shape: AmazonResourceName, location_name: "suiteDefinitionArn"))
312
+ UpdateSuiteDefinitionResponse.add_member(:suite_definition_name, Shapes::ShapeRef.new(shape: SuiteDefinitionName, location_name: "suiteDefinitionName"))
313
+ UpdateSuiteDefinitionResponse.add_member(:suite_definition_version, Shapes::ShapeRef.new(shape: SuiteDefinitionVersion, location_name: "suiteDefinitionVersion"))
314
+ UpdateSuiteDefinitionResponse.add_member(:created_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "createdAt"))
315
+ UpdateSuiteDefinitionResponse.add_member(:last_updated_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "lastUpdatedAt"))
316
+ UpdateSuiteDefinitionResponse.struct_class = Types::UpdateSuiteDefinitionResponse
317
+
318
+ ValidationException.add_member(:message, Shapes::ShapeRef.new(shape: Message, location_name: "message"))
319
+ ValidationException.struct_class = Types::ValidationException
320
+
321
+
322
+ # @api private
323
+ API = Seahorse::Model::Api.new.tap do |api|
324
+
325
+ api.version = "2020-09-18"
326
+
327
+ api.metadata = {
328
+ "apiVersion" => "2020-09-18",
329
+ "endpointPrefix" => "api.iotdeviceadvisor",
330
+ "jsonVersion" => "1.1",
331
+ "protocol" => "rest-json",
332
+ "serviceAbbreviation" => "AWSIoTDeviceAdvisor",
333
+ "serviceFullName" => "AWS IoT Core Device Advisor",
334
+ "serviceId" => "IotDeviceAdvisor",
335
+ "signatureVersion" => "v4",
336
+ "signingName" => "iotdeviceadvisor",
337
+ "uid" => "iotdeviceadvisor-2020-09-18",
338
+ }
339
+
340
+ api.add_operation(:create_suite_definition, Seahorse::Model::Operation.new.tap do |o|
341
+ o.name = "CreateSuiteDefinition"
342
+ o.http_method = "POST"
343
+ o.http_request_uri = "/suiteDefinitions"
344
+ o.input = Shapes::ShapeRef.new(shape: CreateSuiteDefinitionRequest)
345
+ o.output = Shapes::ShapeRef.new(shape: CreateSuiteDefinitionResponse)
346
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
347
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
348
+ end)
349
+
350
+ api.add_operation(:delete_suite_definition, Seahorse::Model::Operation.new.tap do |o|
351
+ o.name = "DeleteSuiteDefinition"
352
+ o.http_method = "DELETE"
353
+ o.http_request_uri = "/suiteDefinitions/{suiteDefinitionId}"
354
+ o.input = Shapes::ShapeRef.new(shape: DeleteSuiteDefinitionRequest)
355
+ o.output = Shapes::ShapeRef.new(shape: DeleteSuiteDefinitionResponse)
356
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
357
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
358
+ end)
359
+
360
+ api.add_operation(:get_suite_definition, Seahorse::Model::Operation.new.tap do |o|
361
+ o.name = "GetSuiteDefinition"
362
+ o.http_method = "GET"
363
+ o.http_request_uri = "/suiteDefinitions/{suiteDefinitionId}"
364
+ o.input = Shapes::ShapeRef.new(shape: GetSuiteDefinitionRequest)
365
+ o.output = Shapes::ShapeRef.new(shape: GetSuiteDefinitionResponse)
366
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
367
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
368
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
369
+ end)
370
+
371
+ api.add_operation(:get_suite_run, Seahorse::Model::Operation.new.tap do |o|
372
+ o.name = "GetSuiteRun"
373
+ o.http_method = "GET"
374
+ o.http_request_uri = "/suiteDefinitions/{suiteDefinitionId}/suiteRuns/{suiteRunId}"
375
+ o.input = Shapes::ShapeRef.new(shape: GetSuiteRunRequest)
376
+ o.output = Shapes::ShapeRef.new(shape: GetSuiteRunResponse)
377
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
378
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
379
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
380
+ end)
381
+
382
+ api.add_operation(:get_suite_run_report, Seahorse::Model::Operation.new.tap do |o|
383
+ o.name = "GetSuiteRunReport"
384
+ o.http_method = "GET"
385
+ o.http_request_uri = "/suiteDefinitions/{suiteDefinitionId}/suiteRuns/{suiteRunId}/report"
386
+ o.input = Shapes::ShapeRef.new(shape: GetSuiteRunReportRequest)
387
+ o.output = Shapes::ShapeRef.new(shape: GetSuiteRunReportResponse)
388
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
389
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
390
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
391
+ end)
392
+
393
+ api.add_operation(:list_suite_definitions, Seahorse::Model::Operation.new.tap do |o|
394
+ o.name = "ListSuiteDefinitions"
395
+ o.http_method = "GET"
396
+ o.http_request_uri = "/suiteDefinitions"
397
+ o.input = Shapes::ShapeRef.new(shape: ListSuiteDefinitionsRequest)
398
+ o.output = Shapes::ShapeRef.new(shape: ListSuiteDefinitionsResponse)
399
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
400
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
401
+ o[:pager] = Aws::Pager.new(
402
+ limit_key: "max_results",
403
+ tokens: {
404
+ "next_token" => "next_token"
405
+ }
406
+ )
407
+ end)
408
+
409
+ api.add_operation(:list_suite_runs, Seahorse::Model::Operation.new.tap do |o|
410
+ o.name = "ListSuiteRuns"
411
+ o.http_method = "GET"
412
+ o.http_request_uri = "/suiteRuns"
413
+ o.input = Shapes::ShapeRef.new(shape: ListSuiteRunsRequest)
414
+ o.output = Shapes::ShapeRef.new(shape: ListSuiteRunsResponse)
415
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
416
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
417
+ o[:pager] = Aws::Pager.new(
418
+ limit_key: "max_results",
419
+ tokens: {
420
+ "next_token" => "next_token"
421
+ }
422
+ )
423
+ end)
424
+
425
+ api.add_operation(:list_tags_for_resource, Seahorse::Model::Operation.new.tap do |o|
426
+ o.name = "ListTagsForResource"
427
+ o.http_method = "GET"
428
+ o.http_request_uri = "/tags/{resourceArn}"
429
+ o.input = Shapes::ShapeRef.new(shape: ListTagsForResourceRequest)
430
+ o.output = Shapes::ShapeRef.new(shape: ListTagsForResourceResponse)
431
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
432
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
433
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
434
+ end)
435
+
436
+ api.add_operation(:list_test_cases, Seahorse::Model::Operation.new.tap do |o|
437
+ o.name = "ListTestCases"
438
+ o.http_method = "GET"
439
+ o.http_request_uri = "/testCases"
440
+ o.input = Shapes::ShapeRef.new(shape: ListTestCasesRequest)
441
+ o.output = Shapes::ShapeRef.new(shape: ListTestCasesResponse)
442
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
443
+ o[:pager] = Aws::Pager.new(
444
+ limit_key: "max_results",
445
+ tokens: {
446
+ "next_token" => "next_token"
447
+ }
448
+ )
449
+ end)
450
+
451
+ api.add_operation(:start_suite_run, Seahorse::Model::Operation.new.tap do |o|
452
+ o.name = "StartSuiteRun"
453
+ o.http_method = "POST"
454
+ o.http_request_uri = "/suiteDefinitions/{suiteDefinitionId}/suiteRuns"
455
+ o.input = Shapes::ShapeRef.new(shape: StartSuiteRunRequest)
456
+ o.output = Shapes::ShapeRef.new(shape: StartSuiteRunResponse)
457
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
458
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
459
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
460
+ end)
461
+
462
+ api.add_operation(:tag_resource, Seahorse::Model::Operation.new.tap do |o|
463
+ o.name = "TagResource"
464
+ o.http_method = "POST"
465
+ o.http_request_uri = "/tags/{resourceArn}"
466
+ o.input = Shapes::ShapeRef.new(shape: TagResourceRequest)
467
+ o.output = Shapes::ShapeRef.new(shape: TagResourceResponse)
468
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
469
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
470
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
471
+ end)
472
+
473
+ api.add_operation(:untag_resource, Seahorse::Model::Operation.new.tap do |o|
474
+ o.name = "UntagResource"
475
+ o.http_method = "DELETE"
476
+ o.http_request_uri = "/tags/{resourceArn}"
477
+ o.input = Shapes::ShapeRef.new(shape: UntagResourceRequest)
478
+ o.output = Shapes::ShapeRef.new(shape: UntagResourceResponse)
479
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
480
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
481
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
482
+ end)
483
+
484
+ api.add_operation(:update_suite_definition, Seahorse::Model::Operation.new.tap do |o|
485
+ o.name = "UpdateSuiteDefinition"
486
+ o.http_method = "PATCH"
487
+ o.http_request_uri = "/suiteDefinitions/{suiteDefinitionId}"
488
+ o.input = Shapes::ShapeRef.new(shape: UpdateSuiteDefinitionRequest)
489
+ o.output = Shapes::ShapeRef.new(shape: UpdateSuiteDefinitionResponse)
490
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
491
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
492
+ end)
493
+ end
494
+
495
+ end
496
+ end