aws-sdk 2.810.0 → 2.814.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +35 -1
- package/README.md +2 -3
- package/apis/amp-2020-08-01.examples.json +5 -0
- package/apis/amp-2020-08-01.min.json +211 -0
- package/apis/amp-2020-08-01.paginators.json +10 -0
- package/apis/ce-2017-10-25.min.json +101 -97
- package/apis/config-2014-11-12.min.json +40 -6
- package/apis/dlm-2018-01-12.min.json +104 -16
- package/apis/ec2-2016-11-15.min.json +11 -0
- package/apis/greengrassv2-2020-11-30.examples.json +5 -0
- package/apis/greengrassv2-2020-11-30.min.json +1069 -0
- package/apis/greengrassv2-2020-11-30.paginators.json +40 -0
- package/apis/imagebuilder-2019-12-02.min.json +375 -88
- package/apis/imagebuilder-2019-12-02.paginators.json +24 -9
- package/apis/iot-2015-05-28.min.json +904 -278
- package/apis/iot-2015-05-28.paginators.json +24 -0
- package/apis/iotanalytics-2017-11-27.min.json +79 -27
- package/apis/iotdeviceadvisor-2020-09-18.examples.json +5 -0
- package/apis/iotdeviceadvisor-2020-09-18.min.json +596 -0
- package/apis/iotdeviceadvisor-2020-09-18.paginators.json +19 -0
- package/apis/iotfleethub-2020-11-03.examples.json +5 -0
- package/apis/iotfleethub-2020-11-03.min.json +292 -0
- package/apis/iotfleethub-2020-11-03.paginators.json +9 -0
- package/apis/iotwireless-2020-11-22.examples.json +5 -0
- package/apis/iotwireless-2020-11-22.min.json +1832 -0
- package/apis/iotwireless-2020-11-22.paginators.json +29 -0
- package/apis/kms-2014-11-01.examples.json +7 -4
- package/apis/kms-2014-11-01.min.json +7 -1
- package/apis/lambda-2015-03-31.examples.json +6 -6
- package/apis/lambda-2015-03-31.min.json +140 -100
- package/apis/location-2020-11-19.examples.json +5 -0
- package/apis/location-2020-11-19.min.json +1759 -0
- package/apis/location-2020-11-19.paginators.json +44 -0
- package/apis/metadata.json +21 -0
- package/apis/quicksight-2018-04-01.min.json +120 -119
- package/apis/rds-2014-10-31.min.json +192 -172
- package/apis/route53-2013-04-01.min.json +372 -96
- package/apis/route53resolver-2018-04-01.min.json +81 -6
- package/apis/route53resolver-2018-04-01.paginators.json +6 -0
- package/apis/servicecatalog-2015-12-10.min.json +187 -117
- package/apis/servicecatalog-2015-12-10.paginators.json +5 -0
- package/apis/ssm-2014-11-06.min.json +606 -293
- package/apis/ssm-2014-11-06.paginators.json +12 -0
- package/apis/wellarchitected-2020-03-31.examples.json +5 -0
- package/apis/wellarchitected-2020-03-31.min.json +1329 -0
- package/apis/wellarchitected-2020-03-31.paginators.json +49 -0
- package/clients/all.d.ts +7 -0
- package/clients/all.js +8 -1
- package/clients/amp.d.ts +220 -0
- package/clients/amp.js +18 -0
- package/clients/configservice.d.ts +49 -28
- package/clients/costexplorer.d.ts +3 -2
- package/clients/dlm.d.ts +99 -7
- package/clients/ec2.d.ts +14 -2
- package/clients/greengrassv2.d.ts +1270 -0
- package/clients/greengrassv2.js +18 -0
- package/clients/imagebuilder.d.ts +433 -5
- package/clients/iot.d.ts +770 -60
- package/clients/iotanalytics.d.ts +68 -2
- package/clients/iotdeviceadvisor.d.ts +710 -0
- package/clients/iotdeviceadvisor.js +18 -0
- package/clients/iotfleethub.d.ts +315 -0
- package/clients/iotfleethub.js +18 -0
- package/clients/iotwireless.d.ts +2124 -0
- package/clients/iotwireless.js +18 -0
- package/clients/kms.d.ts +117 -109
- package/clients/lambda.d.ts +63 -17
- package/clients/location.d.ts +1498 -0
- package/clients/location.js +18 -0
- package/clients/quicksight.d.ts +15 -10
- package/clients/rds.d.ts +41 -14
- package/clients/route53.d.ts +247 -1
- package/clients/route53resolver.d.ts +105 -8
- package/clients/servicecatalog.d.ts +122 -14
- package/clients/sqs.d.ts +23 -23
- package/clients/ssm.d.ts +534 -31
- package/clients/wellarchitected.d.ts +871 -0
- package/clients/wellarchitected.js +18 -0
- package/dist/aws-sdk-core-react-native.js +7 -2
- package/dist/aws-sdk-react-native.js +293 -24
- package/dist/aws-sdk.js +2709 -1190
- package/dist/aws-sdk.min.js +81 -81
- package/lib/config_service_placeholders.d.ts +14 -0
- package/lib/core.js +1 -1
- package/lib/util.js +5 -0
- package/package.json +1 -1
|
@@ -0,0 +1,710 @@
|
|
|
1
|
+
import {Request} from '../lib/request';
|
|
2
|
+
import {Response} from '../lib/response';
|
|
3
|
+
import {AWSError} from '../lib/error';
|
|
4
|
+
import {Service} from '../lib/service';
|
|
5
|
+
import {ServiceConfigurationOptions} from '../lib/service';
|
|
6
|
+
import {ConfigBase as Config} from '../lib/config-base';
|
|
7
|
+
interface Blob {}
|
|
8
|
+
declare class IotDeviceAdvisor extends Service {
|
|
9
|
+
/**
|
|
10
|
+
* Constructs a service object. This object has one method for each API operation.
|
|
11
|
+
*/
|
|
12
|
+
constructor(options?: IotDeviceAdvisor.Types.ClientConfiguration)
|
|
13
|
+
config: Config & IotDeviceAdvisor.Types.ClientConfiguration;
|
|
14
|
+
/**
|
|
15
|
+
* Creates a Device Advisor test suite.
|
|
16
|
+
*/
|
|
17
|
+
createSuiteDefinition(params: IotDeviceAdvisor.Types.CreateSuiteDefinitionRequest, callback?: (err: AWSError, data: IotDeviceAdvisor.Types.CreateSuiteDefinitionResponse) => void): Request<IotDeviceAdvisor.Types.CreateSuiteDefinitionResponse, AWSError>;
|
|
18
|
+
/**
|
|
19
|
+
* Creates a Device Advisor test suite.
|
|
20
|
+
*/
|
|
21
|
+
createSuiteDefinition(callback?: (err: AWSError, data: IotDeviceAdvisor.Types.CreateSuiteDefinitionResponse) => void): Request<IotDeviceAdvisor.Types.CreateSuiteDefinitionResponse, AWSError>;
|
|
22
|
+
/**
|
|
23
|
+
* Deletes a Device Advisor test suite.
|
|
24
|
+
*/
|
|
25
|
+
deleteSuiteDefinition(params: IotDeviceAdvisor.Types.DeleteSuiteDefinitionRequest, callback?: (err: AWSError, data: IotDeviceAdvisor.Types.DeleteSuiteDefinitionResponse) => void): Request<IotDeviceAdvisor.Types.DeleteSuiteDefinitionResponse, AWSError>;
|
|
26
|
+
/**
|
|
27
|
+
* Deletes a Device Advisor test suite.
|
|
28
|
+
*/
|
|
29
|
+
deleteSuiteDefinition(callback?: (err: AWSError, data: IotDeviceAdvisor.Types.DeleteSuiteDefinitionResponse) => void): Request<IotDeviceAdvisor.Types.DeleteSuiteDefinitionResponse, AWSError>;
|
|
30
|
+
/**
|
|
31
|
+
* Gets information about a Device Advisor test suite.
|
|
32
|
+
*/
|
|
33
|
+
getSuiteDefinition(params: IotDeviceAdvisor.Types.GetSuiteDefinitionRequest, callback?: (err: AWSError, data: IotDeviceAdvisor.Types.GetSuiteDefinitionResponse) => void): Request<IotDeviceAdvisor.Types.GetSuiteDefinitionResponse, AWSError>;
|
|
34
|
+
/**
|
|
35
|
+
* Gets information about a Device Advisor test suite.
|
|
36
|
+
*/
|
|
37
|
+
getSuiteDefinition(callback?: (err: AWSError, data: IotDeviceAdvisor.Types.GetSuiteDefinitionResponse) => void): Request<IotDeviceAdvisor.Types.GetSuiteDefinitionResponse, AWSError>;
|
|
38
|
+
/**
|
|
39
|
+
* Gets information about a Device Advisor test suite run.
|
|
40
|
+
*/
|
|
41
|
+
getSuiteRun(params: IotDeviceAdvisor.Types.GetSuiteRunRequest, callback?: (err: AWSError, data: IotDeviceAdvisor.Types.GetSuiteRunResponse) => void): Request<IotDeviceAdvisor.Types.GetSuiteRunResponse, AWSError>;
|
|
42
|
+
/**
|
|
43
|
+
* Gets information about a Device Advisor test suite run.
|
|
44
|
+
*/
|
|
45
|
+
getSuiteRun(callback?: (err: AWSError, data: IotDeviceAdvisor.Types.GetSuiteRunResponse) => void): Request<IotDeviceAdvisor.Types.GetSuiteRunResponse, AWSError>;
|
|
46
|
+
/**
|
|
47
|
+
* Gets a report download link for a successful Device Advisor qualifying test suite run.
|
|
48
|
+
*/
|
|
49
|
+
getSuiteRunReport(params: IotDeviceAdvisor.Types.GetSuiteRunReportRequest, callback?: (err: AWSError, data: IotDeviceAdvisor.Types.GetSuiteRunReportResponse) => void): Request<IotDeviceAdvisor.Types.GetSuiteRunReportResponse, AWSError>;
|
|
50
|
+
/**
|
|
51
|
+
* Gets a report download link for a successful Device Advisor qualifying test suite run.
|
|
52
|
+
*/
|
|
53
|
+
getSuiteRunReport(callback?: (err: AWSError, data: IotDeviceAdvisor.Types.GetSuiteRunReportResponse) => void): Request<IotDeviceAdvisor.Types.GetSuiteRunReportResponse, AWSError>;
|
|
54
|
+
/**
|
|
55
|
+
* Lists the Device Advisor test suites you have created.
|
|
56
|
+
*/
|
|
57
|
+
listSuiteDefinitions(params: IotDeviceAdvisor.Types.ListSuiteDefinitionsRequest, callback?: (err: AWSError, data: IotDeviceAdvisor.Types.ListSuiteDefinitionsResponse) => void): Request<IotDeviceAdvisor.Types.ListSuiteDefinitionsResponse, AWSError>;
|
|
58
|
+
/**
|
|
59
|
+
* Lists the Device Advisor test suites you have created.
|
|
60
|
+
*/
|
|
61
|
+
listSuiteDefinitions(callback?: (err: AWSError, data: IotDeviceAdvisor.Types.ListSuiteDefinitionsResponse) => void): Request<IotDeviceAdvisor.Types.ListSuiteDefinitionsResponse, AWSError>;
|
|
62
|
+
/**
|
|
63
|
+
* Lists the runs of the specified Device Advisor test suite. You can list all runs of the test suite, or the runs of a specific version of the test suite.
|
|
64
|
+
*/
|
|
65
|
+
listSuiteRuns(params: IotDeviceAdvisor.Types.ListSuiteRunsRequest, callback?: (err: AWSError, data: IotDeviceAdvisor.Types.ListSuiteRunsResponse) => void): Request<IotDeviceAdvisor.Types.ListSuiteRunsResponse, AWSError>;
|
|
66
|
+
/**
|
|
67
|
+
* Lists the runs of the specified Device Advisor test suite. You can list all runs of the test suite, or the runs of a specific version of the test suite.
|
|
68
|
+
*/
|
|
69
|
+
listSuiteRuns(callback?: (err: AWSError, data: IotDeviceAdvisor.Types.ListSuiteRunsResponse) => void): Request<IotDeviceAdvisor.Types.ListSuiteRunsResponse, AWSError>;
|
|
70
|
+
/**
|
|
71
|
+
* Lists the tags attached to an IoT Device Advisor resource.
|
|
72
|
+
*/
|
|
73
|
+
listTagsForResource(params: IotDeviceAdvisor.Types.ListTagsForResourceRequest, callback?: (err: AWSError, data: IotDeviceAdvisor.Types.ListTagsForResourceResponse) => void): Request<IotDeviceAdvisor.Types.ListTagsForResourceResponse, AWSError>;
|
|
74
|
+
/**
|
|
75
|
+
* Lists the tags attached to an IoT Device Advisor resource.
|
|
76
|
+
*/
|
|
77
|
+
listTagsForResource(callback?: (err: AWSError, data: IotDeviceAdvisor.Types.ListTagsForResourceResponse) => void): Request<IotDeviceAdvisor.Types.ListTagsForResourceResponse, AWSError>;
|
|
78
|
+
/**
|
|
79
|
+
* Lists all the test cases in the test suite.
|
|
80
|
+
*/
|
|
81
|
+
listTestCases(params: IotDeviceAdvisor.Types.ListTestCasesRequest, callback?: (err: AWSError, data: IotDeviceAdvisor.Types.ListTestCasesResponse) => void): Request<IotDeviceAdvisor.Types.ListTestCasesResponse, AWSError>;
|
|
82
|
+
/**
|
|
83
|
+
* Lists all the test cases in the test suite.
|
|
84
|
+
*/
|
|
85
|
+
listTestCases(callback?: (err: AWSError, data: IotDeviceAdvisor.Types.ListTestCasesResponse) => void): Request<IotDeviceAdvisor.Types.ListTestCasesResponse, AWSError>;
|
|
86
|
+
/**
|
|
87
|
+
* Starts a Device Advisor test suite run.
|
|
88
|
+
*/
|
|
89
|
+
startSuiteRun(params: IotDeviceAdvisor.Types.StartSuiteRunRequest, callback?: (err: AWSError, data: IotDeviceAdvisor.Types.StartSuiteRunResponse) => void): Request<IotDeviceAdvisor.Types.StartSuiteRunResponse, AWSError>;
|
|
90
|
+
/**
|
|
91
|
+
* Starts a Device Advisor test suite run.
|
|
92
|
+
*/
|
|
93
|
+
startSuiteRun(callback?: (err: AWSError, data: IotDeviceAdvisor.Types.StartSuiteRunResponse) => void): Request<IotDeviceAdvisor.Types.StartSuiteRunResponse, AWSError>;
|
|
94
|
+
/**
|
|
95
|
+
* Adds to and modifies existing tags of an IoT Device Advisor resource.
|
|
96
|
+
*/
|
|
97
|
+
tagResource(params: IotDeviceAdvisor.Types.TagResourceRequest, callback?: (err: AWSError, data: IotDeviceAdvisor.Types.TagResourceResponse) => void): Request<IotDeviceAdvisor.Types.TagResourceResponse, AWSError>;
|
|
98
|
+
/**
|
|
99
|
+
* Adds to and modifies existing tags of an IoT Device Advisor resource.
|
|
100
|
+
*/
|
|
101
|
+
tagResource(callback?: (err: AWSError, data: IotDeviceAdvisor.Types.TagResourceResponse) => void): Request<IotDeviceAdvisor.Types.TagResourceResponse, AWSError>;
|
|
102
|
+
/**
|
|
103
|
+
* Removes tags from an IoT Device Advisor resource.
|
|
104
|
+
*/
|
|
105
|
+
untagResource(params: IotDeviceAdvisor.Types.UntagResourceRequest, callback?: (err: AWSError, data: IotDeviceAdvisor.Types.UntagResourceResponse) => void): Request<IotDeviceAdvisor.Types.UntagResourceResponse, AWSError>;
|
|
106
|
+
/**
|
|
107
|
+
* Removes tags from an IoT Device Advisor resource.
|
|
108
|
+
*/
|
|
109
|
+
untagResource(callback?: (err: AWSError, data: IotDeviceAdvisor.Types.UntagResourceResponse) => void): Request<IotDeviceAdvisor.Types.UntagResourceResponse, AWSError>;
|
|
110
|
+
/**
|
|
111
|
+
* Updates a Device Advisor test suite.
|
|
112
|
+
*/
|
|
113
|
+
updateSuiteDefinition(params: IotDeviceAdvisor.Types.UpdateSuiteDefinitionRequest, callback?: (err: AWSError, data: IotDeviceAdvisor.Types.UpdateSuiteDefinitionResponse) => void): Request<IotDeviceAdvisor.Types.UpdateSuiteDefinitionResponse, AWSError>;
|
|
114
|
+
/**
|
|
115
|
+
* Updates a Device Advisor test suite.
|
|
116
|
+
*/
|
|
117
|
+
updateSuiteDefinition(callback?: (err: AWSError, data: IotDeviceAdvisor.Types.UpdateSuiteDefinitionResponse) => void): Request<IotDeviceAdvisor.Types.UpdateSuiteDefinitionResponse, AWSError>;
|
|
118
|
+
}
|
|
119
|
+
declare namespace IotDeviceAdvisor {
|
|
120
|
+
export type AmazonResourceName = string;
|
|
121
|
+
export type CategoryName = string;
|
|
122
|
+
export type ConfigString = string;
|
|
123
|
+
export interface CreateSuiteDefinitionRequest {
|
|
124
|
+
/**
|
|
125
|
+
* Creates a Device Advisor test suite with suite definition configuration.
|
|
126
|
+
*/
|
|
127
|
+
suiteDefinitionConfiguration?: SuiteDefinitionConfiguration;
|
|
128
|
+
/**
|
|
129
|
+
* The tags to be attached to the suite definition.
|
|
130
|
+
*/
|
|
131
|
+
tags?: TagMap;
|
|
132
|
+
}
|
|
133
|
+
export interface CreateSuiteDefinitionResponse {
|
|
134
|
+
/**
|
|
135
|
+
* Creates a Device Advisor test suite with suite UUID.
|
|
136
|
+
*/
|
|
137
|
+
suiteDefinitionId?: UUID;
|
|
138
|
+
/**
|
|
139
|
+
* Creates a Device Advisor test suite with Amazon Resource name.
|
|
140
|
+
*/
|
|
141
|
+
suiteDefinitionArn?: AmazonResourceName;
|
|
142
|
+
/**
|
|
143
|
+
* Creates a Device Advisor test suite with suite definition name.
|
|
144
|
+
*/
|
|
145
|
+
suiteDefinitionName?: SuiteDefinitionName;
|
|
146
|
+
/**
|
|
147
|
+
* Creates a Device Advisor test suite with TimeStamp of when it was created.
|
|
148
|
+
*/
|
|
149
|
+
createdAt?: Timestamp;
|
|
150
|
+
}
|
|
151
|
+
export interface DeleteSuiteDefinitionRequest {
|
|
152
|
+
/**
|
|
153
|
+
* Deletes a Device Advisor test suite with defined suite Id.
|
|
154
|
+
*/
|
|
155
|
+
suiteDefinitionId: UUID;
|
|
156
|
+
}
|
|
157
|
+
export interface DeleteSuiteDefinitionResponse {
|
|
158
|
+
}
|
|
159
|
+
export interface DeviceUnderTest {
|
|
160
|
+
/**
|
|
161
|
+
* Lists devices thing arn
|
|
162
|
+
*/
|
|
163
|
+
thingArn?: AmazonResourceName;
|
|
164
|
+
/**
|
|
165
|
+
* Lists devices certificate arn
|
|
166
|
+
*/
|
|
167
|
+
certificateArn?: AmazonResourceName;
|
|
168
|
+
}
|
|
169
|
+
export type DeviceUnderTestList = DeviceUnderTest[];
|
|
170
|
+
export type ErrorReason = string;
|
|
171
|
+
export type Failure = string;
|
|
172
|
+
export interface GetSuiteDefinitionRequest {
|
|
173
|
+
/**
|
|
174
|
+
* Requests suite definition Id with GetSuiteDefinition API call.
|
|
175
|
+
*/
|
|
176
|
+
suiteDefinitionId: UUID;
|
|
177
|
+
/**
|
|
178
|
+
* Requests the suite definition version of a test suite.
|
|
179
|
+
*/
|
|
180
|
+
suiteDefinitionVersion?: SuiteDefinitionVersion;
|
|
181
|
+
}
|
|
182
|
+
export interface GetSuiteDefinitionResponse {
|
|
183
|
+
/**
|
|
184
|
+
* Gets suite definition Id with GetSuiteDefinition API call.
|
|
185
|
+
*/
|
|
186
|
+
suiteDefinitionId?: UUID;
|
|
187
|
+
/**
|
|
188
|
+
* The ARN of the suite definition.
|
|
189
|
+
*/
|
|
190
|
+
suiteDefinitionArn?: AmazonResourceName;
|
|
191
|
+
/**
|
|
192
|
+
* Gets suite definition version with GetSuiteDefinition API call.
|
|
193
|
+
*/
|
|
194
|
+
suiteDefinitionVersion?: SuiteDefinitionVersion;
|
|
195
|
+
/**
|
|
196
|
+
* Gets latest suite definition version with GetSuiteDefinition API call.
|
|
197
|
+
*/
|
|
198
|
+
latestVersion?: SuiteDefinitionVersion;
|
|
199
|
+
/**
|
|
200
|
+
* Gets the suite configuration with GetSuiteDefinition API call.
|
|
201
|
+
*/
|
|
202
|
+
suiteDefinitionConfiguration?: SuiteDefinitionConfiguration;
|
|
203
|
+
/**
|
|
204
|
+
* Gets the timestamp of the time suite was created with GetSuiteDefinition API call.
|
|
205
|
+
*/
|
|
206
|
+
createdAt?: Timestamp;
|
|
207
|
+
/**
|
|
208
|
+
* Gets the timestamp of the time suite was modified with GetSuiteDefinition API call.
|
|
209
|
+
*/
|
|
210
|
+
lastModifiedAt?: Timestamp;
|
|
211
|
+
/**
|
|
212
|
+
* Tags attached to the suite definition.
|
|
213
|
+
*/
|
|
214
|
+
tags?: TagMap;
|
|
215
|
+
}
|
|
216
|
+
export interface GetSuiteRunReportRequest {
|
|
217
|
+
/**
|
|
218
|
+
* Device Advisor suite definition Id.
|
|
219
|
+
*/
|
|
220
|
+
suiteDefinitionId: UUID;
|
|
221
|
+
/**
|
|
222
|
+
* Device Advisor suite run Id.
|
|
223
|
+
*/
|
|
224
|
+
suiteRunId: UUID;
|
|
225
|
+
}
|
|
226
|
+
export interface GetSuiteRunReportResponse {
|
|
227
|
+
/**
|
|
228
|
+
* Gets the download URL of the qualification report.
|
|
229
|
+
*/
|
|
230
|
+
qualificationReportDownloadUrl?: QualificationReportDownloadUrl;
|
|
231
|
+
}
|
|
232
|
+
export interface GetSuiteRunRequest {
|
|
233
|
+
/**
|
|
234
|
+
* Requests the information about Device Advisor test suite run based on suite definition Id.
|
|
235
|
+
*/
|
|
236
|
+
suiteDefinitionId: UUID;
|
|
237
|
+
/**
|
|
238
|
+
* Requests the information about Device Advisor test suite run based on suite run Id.
|
|
239
|
+
*/
|
|
240
|
+
suiteRunId: UUID;
|
|
241
|
+
}
|
|
242
|
+
export interface GetSuiteRunResponse {
|
|
243
|
+
/**
|
|
244
|
+
* Gets the information about Device Advisor test suite run based on suite definition Id.
|
|
245
|
+
*/
|
|
246
|
+
suiteDefinitionId?: UUID;
|
|
247
|
+
/**
|
|
248
|
+
* Gets the information about Device Advisor test suite run based on suite definition version.
|
|
249
|
+
*/
|
|
250
|
+
suiteDefinitionVersion?: SuiteDefinitionVersion;
|
|
251
|
+
/**
|
|
252
|
+
* Gets the information about Device Advisor test suite run based on suite run Id.
|
|
253
|
+
*/
|
|
254
|
+
suiteRunId?: UUID;
|
|
255
|
+
/**
|
|
256
|
+
* The ARN of the suite run.
|
|
257
|
+
*/
|
|
258
|
+
suiteRunArn?: AmazonResourceName;
|
|
259
|
+
/**
|
|
260
|
+
* Gets the information about Device Advisor test suite run based on suite configuration.
|
|
261
|
+
*/
|
|
262
|
+
suiteRunConfiguration?: SuiteRunConfiguration;
|
|
263
|
+
/**
|
|
264
|
+
* Gets the information about Device Advisor test suite run based on test case runs.
|
|
265
|
+
*/
|
|
266
|
+
testResult?: TestResult;
|
|
267
|
+
/**
|
|
268
|
+
* Gets the information about Device Advisor test suite run based on start time.
|
|
269
|
+
*/
|
|
270
|
+
startTime?: Timestamp;
|
|
271
|
+
/**
|
|
272
|
+
* Gets the information about Device Advisor test suite run based on end time.
|
|
273
|
+
*/
|
|
274
|
+
endTime?: Timestamp;
|
|
275
|
+
/**
|
|
276
|
+
* Gets the information about Device Advisor test suite run based on its status.
|
|
277
|
+
*/
|
|
278
|
+
status?: SuiteRunStatus;
|
|
279
|
+
/**
|
|
280
|
+
* Gets the information about Device Advisor test suite run based on error.
|
|
281
|
+
*/
|
|
282
|
+
errorReason?: ErrorReason;
|
|
283
|
+
/**
|
|
284
|
+
* The tags attached to the suite run.
|
|
285
|
+
*/
|
|
286
|
+
tags?: TagMap;
|
|
287
|
+
}
|
|
288
|
+
export type GroupName = string;
|
|
289
|
+
export interface GroupResult {
|
|
290
|
+
/**
|
|
291
|
+
* Show Group Result Id.
|
|
292
|
+
*/
|
|
293
|
+
groupId?: UUID;
|
|
294
|
+
/**
|
|
295
|
+
* Show Group Result Name.
|
|
296
|
+
*/
|
|
297
|
+
groupName?: GroupName;
|
|
298
|
+
/**
|
|
299
|
+
* Show Group Result.
|
|
300
|
+
*/
|
|
301
|
+
tests?: TestCaseRuns;
|
|
302
|
+
}
|
|
303
|
+
export type GroupResultList = GroupResult[];
|
|
304
|
+
export type IntendedForQualificationBoolean = boolean;
|
|
305
|
+
export interface ListSuiteDefinitionsRequest {
|
|
306
|
+
/**
|
|
307
|
+
* Request the list of all the Device Advisor test suites.
|
|
308
|
+
*/
|
|
309
|
+
maxResults?: MaxResults;
|
|
310
|
+
/**
|
|
311
|
+
* Requests the Device Advisor test suites next token.
|
|
312
|
+
*/
|
|
313
|
+
nextToken?: Token;
|
|
314
|
+
}
|
|
315
|
+
export interface ListSuiteDefinitionsResponse {
|
|
316
|
+
/**
|
|
317
|
+
* Lists test suite information using List suite definition.
|
|
318
|
+
*/
|
|
319
|
+
suiteDefinitionInformationList?: SuiteDefinitionInformationList;
|
|
320
|
+
/**
|
|
321
|
+
* Creates a Device Advisor test suite.
|
|
322
|
+
*/
|
|
323
|
+
nextToken?: Token;
|
|
324
|
+
}
|
|
325
|
+
export interface ListSuiteRunsRequest {
|
|
326
|
+
/**
|
|
327
|
+
* Lists the runs of the specified Device Advisor test suite based on suite definition Id.
|
|
328
|
+
*/
|
|
329
|
+
suiteDefinitionId?: UUID;
|
|
330
|
+
/**
|
|
331
|
+
* Lists the runs of the specified Device Advisor test suite based on suite definition version.
|
|
332
|
+
*/
|
|
333
|
+
suiteDefinitionVersion?: SuiteDefinitionVersion;
|
|
334
|
+
/**
|
|
335
|
+
* MaxResults for list suite run API request.
|
|
336
|
+
*/
|
|
337
|
+
maxResults?: MaxResults;
|
|
338
|
+
/**
|
|
339
|
+
* Next pagination token for list suite run request.
|
|
340
|
+
*/
|
|
341
|
+
nextToken?: Token;
|
|
342
|
+
}
|
|
343
|
+
export interface ListSuiteRunsResponse {
|
|
344
|
+
/**
|
|
345
|
+
* Lists the runs of the specified Device Advisor test suite.
|
|
346
|
+
*/
|
|
347
|
+
suiteRunsList?: SuiteRunsList;
|
|
348
|
+
/**
|
|
349
|
+
* Next pagination token for list suite run response.
|
|
350
|
+
*/
|
|
351
|
+
nextToken?: Token;
|
|
352
|
+
}
|
|
353
|
+
export interface ListTagsForResourceRequest {
|
|
354
|
+
/**
|
|
355
|
+
* The ARN of the IoT Device Advisor resource.
|
|
356
|
+
*/
|
|
357
|
+
resourceArn: AmazonResourceName;
|
|
358
|
+
}
|
|
359
|
+
export interface ListTagsForResourceResponse {
|
|
360
|
+
/**
|
|
361
|
+
* The tags attached to the IoT Device Advisor resource.
|
|
362
|
+
*/
|
|
363
|
+
tags?: TagMap;
|
|
364
|
+
}
|
|
365
|
+
export interface ListTestCasesRequest {
|
|
366
|
+
/**
|
|
367
|
+
* Lists all the qualification test cases in the test suite.
|
|
368
|
+
*/
|
|
369
|
+
intendedForQualification?: IntendedForQualificationBoolean;
|
|
370
|
+
/**
|
|
371
|
+
* Requests the test cases max results.
|
|
372
|
+
*/
|
|
373
|
+
maxResults?: MaxResults;
|
|
374
|
+
/**
|
|
375
|
+
* Requests the test cases next token.
|
|
376
|
+
*/
|
|
377
|
+
nextToken?: Token;
|
|
378
|
+
}
|
|
379
|
+
export interface ListTestCasesResponse {
|
|
380
|
+
/**
|
|
381
|
+
* Gets the category of test case.
|
|
382
|
+
*/
|
|
383
|
+
categories?: TestCategory;
|
|
384
|
+
/**
|
|
385
|
+
* Gets the configuration of root test group.
|
|
386
|
+
*/
|
|
387
|
+
rootGroupConfiguration?: TestConfiguration;
|
|
388
|
+
/**
|
|
389
|
+
* Gets the configuration of test group.
|
|
390
|
+
*/
|
|
391
|
+
groupConfiguration?: TestConfiguration;
|
|
392
|
+
/**
|
|
393
|
+
* Test cases next token response.
|
|
394
|
+
*/
|
|
395
|
+
nextToken?: Token;
|
|
396
|
+
}
|
|
397
|
+
export type LogUrl = string;
|
|
398
|
+
export type MaxResults = number;
|
|
399
|
+
export type QualificationReportDownloadUrl = string;
|
|
400
|
+
export type RootGroup = string;
|
|
401
|
+
export type SelectedTestList = UUID[];
|
|
402
|
+
export interface StartSuiteRunRequest {
|
|
403
|
+
/**
|
|
404
|
+
* Request to start suite run based on suite definition Id.
|
|
405
|
+
*/
|
|
406
|
+
suiteDefinitionId: UUID;
|
|
407
|
+
/**
|
|
408
|
+
* Request to start suite run based on suite definition version.
|
|
409
|
+
*/
|
|
410
|
+
suiteDefinitionVersion?: SuiteDefinitionVersion;
|
|
411
|
+
/**
|
|
412
|
+
* Request to start suite run based on suite configuration.
|
|
413
|
+
*/
|
|
414
|
+
suiteRunConfiguration?: SuiteRunConfiguration;
|
|
415
|
+
/**
|
|
416
|
+
* The tags to be attached to the suite run.
|
|
417
|
+
*/
|
|
418
|
+
tags?: TagMap;
|
|
419
|
+
}
|
|
420
|
+
export interface StartSuiteRunResponse {
|
|
421
|
+
/**
|
|
422
|
+
* Starts a Device Advisor test suite run based on suite Run Id.
|
|
423
|
+
*/
|
|
424
|
+
suiteRunId?: UUID;
|
|
425
|
+
/**
|
|
426
|
+
* Starts a Device Advisor test suite run based on suite run arn.
|
|
427
|
+
*/
|
|
428
|
+
suiteRunArn?: AmazonResourceName;
|
|
429
|
+
/**
|
|
430
|
+
* Starts a Device Advisor test suite run based on suite create time.
|
|
431
|
+
*/
|
|
432
|
+
createdAt?: Timestamp;
|
|
433
|
+
}
|
|
434
|
+
export type Status = "PASS"|"FAIL"|"CANCELED"|"PENDING"|"RUNNING"|"PASS_WITH_WARNINGS"|"ERROR"|string;
|
|
435
|
+
export type String128 = string;
|
|
436
|
+
export type String256 = string;
|
|
437
|
+
export interface SuiteDefinitionConfiguration {
|
|
438
|
+
/**
|
|
439
|
+
* Gets Suite Definition Configuration name.
|
|
440
|
+
*/
|
|
441
|
+
suiteDefinitionName?: SuiteDefinitionName;
|
|
442
|
+
/**
|
|
443
|
+
* Gets the devices configured.
|
|
444
|
+
*/
|
|
445
|
+
devices?: DeviceUnderTestList;
|
|
446
|
+
/**
|
|
447
|
+
* Gets the tests intended for qualification in a suite.
|
|
448
|
+
*/
|
|
449
|
+
intendedForQualification?: IntendedForQualificationBoolean;
|
|
450
|
+
/**
|
|
451
|
+
* Gets test suite root group.
|
|
452
|
+
*/
|
|
453
|
+
rootGroup?: RootGroup;
|
|
454
|
+
/**
|
|
455
|
+
* Gets device permission arn.
|
|
456
|
+
*/
|
|
457
|
+
devicePermissionRoleArn?: AmazonResourceName;
|
|
458
|
+
}
|
|
459
|
+
export interface SuiteDefinitionInformation {
|
|
460
|
+
/**
|
|
461
|
+
* Get suite definition Id.
|
|
462
|
+
*/
|
|
463
|
+
suiteDefinitionId?: UUID;
|
|
464
|
+
/**
|
|
465
|
+
* Get test suite name.
|
|
466
|
+
*/
|
|
467
|
+
suiteDefinitionName?: SuiteDefinitionName;
|
|
468
|
+
/**
|
|
469
|
+
* Specifies the devices under test.
|
|
470
|
+
*/
|
|
471
|
+
defaultDevices?: DeviceUnderTestList;
|
|
472
|
+
/**
|
|
473
|
+
* Gets the test suites which will be used for qualification.
|
|
474
|
+
*/
|
|
475
|
+
intendedForQualification?: IntendedForQualificationBoolean;
|
|
476
|
+
/**
|
|
477
|
+
* Gets the information of when the test suite was created.
|
|
478
|
+
*/
|
|
479
|
+
createdAt?: Timestamp;
|
|
480
|
+
}
|
|
481
|
+
export type SuiteDefinitionInformationList = SuiteDefinitionInformation[];
|
|
482
|
+
export type SuiteDefinitionName = string;
|
|
483
|
+
export type SuiteDefinitionVersion = string;
|
|
484
|
+
export interface SuiteRunConfiguration {
|
|
485
|
+
/**
|
|
486
|
+
* Gets the primary device for suite run.
|
|
487
|
+
*/
|
|
488
|
+
primaryDevice?: DeviceUnderTest;
|
|
489
|
+
/**
|
|
490
|
+
* Gets the secondary device for suite run.
|
|
491
|
+
*/
|
|
492
|
+
secondaryDevice?: DeviceUnderTest;
|
|
493
|
+
/**
|
|
494
|
+
* Gets test case list.
|
|
495
|
+
*/
|
|
496
|
+
selectedTestList?: SelectedTestList;
|
|
497
|
+
}
|
|
498
|
+
export interface SuiteRunInformation {
|
|
499
|
+
/**
|
|
500
|
+
* Get suite run information based on suite definition Id.
|
|
501
|
+
*/
|
|
502
|
+
suiteDefinitionId?: UUID;
|
|
503
|
+
/**
|
|
504
|
+
* Get suite run information based on suite definition version.
|
|
505
|
+
*/
|
|
506
|
+
suiteDefinitionVersion?: SuiteDefinitionVersion;
|
|
507
|
+
/**
|
|
508
|
+
* Get suite run information based on suite definition name.
|
|
509
|
+
*/
|
|
510
|
+
suiteDefinitionName?: SuiteDefinitionName;
|
|
511
|
+
/**
|
|
512
|
+
* Get suite run information based on suite run Id.
|
|
513
|
+
*/
|
|
514
|
+
suiteRunId?: UUID;
|
|
515
|
+
/**
|
|
516
|
+
* Get suite run information based on time suite was created.
|
|
517
|
+
*/
|
|
518
|
+
createdAt?: Timestamp;
|
|
519
|
+
/**
|
|
520
|
+
* Get suite run information based on start time of the run.
|
|
521
|
+
*/
|
|
522
|
+
startedAt?: Timestamp;
|
|
523
|
+
/**
|
|
524
|
+
* Get suite run information based on end time of the run.
|
|
525
|
+
*/
|
|
526
|
+
endAt?: Timestamp;
|
|
527
|
+
/**
|
|
528
|
+
* Get suite run information based on test run status.
|
|
529
|
+
*/
|
|
530
|
+
status?: SuiteRunStatus;
|
|
531
|
+
/**
|
|
532
|
+
* Get suite run information based on result of the test suite run.
|
|
533
|
+
*/
|
|
534
|
+
passed?: SuiteRunResultCount;
|
|
535
|
+
/**
|
|
536
|
+
* Get suite run information based on result of the test suite run.
|
|
537
|
+
*/
|
|
538
|
+
failed?: SuiteRunResultCount;
|
|
539
|
+
}
|
|
540
|
+
export type SuiteRunResultCount = number;
|
|
541
|
+
export type SuiteRunStatus = "PASS"|"FAIL"|"CANCELED"|"PENDING"|"RUNNING"|"PASS_WITH_WARNINGS"|"ERROR"|string;
|
|
542
|
+
export type SuiteRunsList = SuiteRunInformation[];
|
|
543
|
+
export type TagKeyList = String128[];
|
|
544
|
+
export type TagMap = {[key: string]: String256};
|
|
545
|
+
export interface TagResourceRequest {
|
|
546
|
+
/**
|
|
547
|
+
* The resource ARN of an IoT Device Advisor resource.
|
|
548
|
+
*/
|
|
549
|
+
resourceArn: AmazonResourceName;
|
|
550
|
+
/**
|
|
551
|
+
* The tags to be attached to the IoT Device Advisor resource.
|
|
552
|
+
*/
|
|
553
|
+
tags: TagMap;
|
|
554
|
+
}
|
|
555
|
+
export interface TagResourceResponse {
|
|
556
|
+
}
|
|
557
|
+
export interface TestCase {
|
|
558
|
+
/**
|
|
559
|
+
* Shows test case name.
|
|
560
|
+
*/
|
|
561
|
+
name?: TestCaseName;
|
|
562
|
+
/**
|
|
563
|
+
* Shows test case configuration.
|
|
564
|
+
*/
|
|
565
|
+
configuration?: TestConfiguration;
|
|
566
|
+
/**
|
|
567
|
+
* Specifies a test.
|
|
568
|
+
*/
|
|
569
|
+
test?: TestCaseDefinition;
|
|
570
|
+
}
|
|
571
|
+
export interface TestCaseCategory {
|
|
572
|
+
/**
|
|
573
|
+
* Lists all the tests name in the specified category.
|
|
574
|
+
*/
|
|
575
|
+
name?: CategoryName;
|
|
576
|
+
/**
|
|
577
|
+
* Lists all the tests in the specified category.
|
|
578
|
+
*/
|
|
579
|
+
tests?: TestCaseList;
|
|
580
|
+
}
|
|
581
|
+
export interface TestCaseDefinition {
|
|
582
|
+
/**
|
|
583
|
+
* Provides test case definition Id.
|
|
584
|
+
*/
|
|
585
|
+
id?: TestCaseName;
|
|
586
|
+
/**
|
|
587
|
+
* Provides test case definition version.
|
|
588
|
+
*/
|
|
589
|
+
testCaseVersion?: TestCaseVersion;
|
|
590
|
+
}
|
|
591
|
+
export type TestCaseDefinitionName = string;
|
|
592
|
+
export type TestCaseList = TestCase[];
|
|
593
|
+
export type TestCaseName = string;
|
|
594
|
+
export interface TestCaseRun {
|
|
595
|
+
/**
|
|
596
|
+
* Provides test case run Id.
|
|
597
|
+
*/
|
|
598
|
+
testCaseRunId?: UUID;
|
|
599
|
+
/**
|
|
600
|
+
* Provides test case run definition Id.
|
|
601
|
+
*/
|
|
602
|
+
testCaseDefinitionId?: UUID;
|
|
603
|
+
/**
|
|
604
|
+
* Provides test case run definition Name.
|
|
605
|
+
*/
|
|
606
|
+
testCaseDefinitionName?: TestCaseDefinitionName;
|
|
607
|
+
/**
|
|
608
|
+
* Provides test case run status.
|
|
609
|
+
*/
|
|
610
|
+
status?: Status;
|
|
611
|
+
/**
|
|
612
|
+
* Provides test case run start time.
|
|
613
|
+
*/
|
|
614
|
+
startTime?: Timestamp;
|
|
615
|
+
/**
|
|
616
|
+
* Provides test case run end time.
|
|
617
|
+
*/
|
|
618
|
+
endTime?: Timestamp;
|
|
619
|
+
/**
|
|
620
|
+
* Provides test case run log Url.
|
|
621
|
+
*/
|
|
622
|
+
logUrl?: LogUrl;
|
|
623
|
+
/**
|
|
624
|
+
* Provides test case run warnings.
|
|
625
|
+
*/
|
|
626
|
+
warnings?: Warnings;
|
|
627
|
+
/**
|
|
628
|
+
* Provides test case run failure result.
|
|
629
|
+
*/
|
|
630
|
+
failure?: Failure;
|
|
631
|
+
}
|
|
632
|
+
export type TestCaseRuns = TestCaseRun[];
|
|
633
|
+
export type TestCaseVersion = string;
|
|
634
|
+
export type TestCategory = TestCaseCategory[];
|
|
635
|
+
export type TestConfiguration = {[key: string]: ConfigString};
|
|
636
|
+
export interface TestResult {
|
|
637
|
+
/**
|
|
638
|
+
* Show each group of test results.
|
|
639
|
+
*/
|
|
640
|
+
groups?: GroupResultList;
|
|
641
|
+
}
|
|
642
|
+
export type Timestamp = Date;
|
|
643
|
+
export type Token = string;
|
|
644
|
+
export type UUID = string;
|
|
645
|
+
export interface UntagResourceRequest {
|
|
646
|
+
/**
|
|
647
|
+
* The resource ARN of an IoT Device Advisor resource.
|
|
648
|
+
*/
|
|
649
|
+
resourceArn: AmazonResourceName;
|
|
650
|
+
/**
|
|
651
|
+
* List of tag keys to remove from the IoT Device Advisor resource.
|
|
652
|
+
*/
|
|
653
|
+
tagKeys: TagKeyList;
|
|
654
|
+
}
|
|
655
|
+
export interface UntagResourceResponse {
|
|
656
|
+
}
|
|
657
|
+
export interface UpdateSuiteDefinitionRequest {
|
|
658
|
+
/**
|
|
659
|
+
* Updates a Device Advisor test suite with suite definition id.
|
|
660
|
+
*/
|
|
661
|
+
suiteDefinitionId: UUID;
|
|
662
|
+
/**
|
|
663
|
+
* Updates a Device Advisor test suite with suite definition configuration.
|
|
664
|
+
*/
|
|
665
|
+
suiteDefinitionConfiguration?: SuiteDefinitionConfiguration;
|
|
666
|
+
}
|
|
667
|
+
export interface UpdateSuiteDefinitionResponse {
|
|
668
|
+
/**
|
|
669
|
+
* Updates a Device Advisor test suite with suite UUID.
|
|
670
|
+
*/
|
|
671
|
+
suiteDefinitionId?: UUID;
|
|
672
|
+
/**
|
|
673
|
+
* Updates a Device Advisor test suite with Amazon Resource name.
|
|
674
|
+
*/
|
|
675
|
+
suiteDefinitionArn?: AmazonResourceName;
|
|
676
|
+
/**
|
|
677
|
+
* Updates a Device Advisor test suite with suite definition name.
|
|
678
|
+
*/
|
|
679
|
+
suiteDefinitionName?: SuiteDefinitionName;
|
|
680
|
+
/**
|
|
681
|
+
* Updates a Device Advisor test suite with suite definition version.
|
|
682
|
+
*/
|
|
683
|
+
suiteDefinitionVersion?: SuiteDefinitionVersion;
|
|
684
|
+
/**
|
|
685
|
+
* Updates a Device Advisor test suite with TimeStamp of when it was created.
|
|
686
|
+
*/
|
|
687
|
+
createdAt?: Timestamp;
|
|
688
|
+
/**
|
|
689
|
+
* Updates a Device Advisor test suite with TimeStamp of when it was updated.
|
|
690
|
+
*/
|
|
691
|
+
lastUpdatedAt?: Timestamp;
|
|
692
|
+
}
|
|
693
|
+
export type Warnings = string;
|
|
694
|
+
/**
|
|
695
|
+
* A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version.
|
|
696
|
+
*/
|
|
697
|
+
export type apiVersion = "2020-09-18"|"latest"|string;
|
|
698
|
+
export interface ClientApiVersions {
|
|
699
|
+
/**
|
|
700
|
+
* A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version.
|
|
701
|
+
*/
|
|
702
|
+
apiVersion?: apiVersion;
|
|
703
|
+
}
|
|
704
|
+
export type ClientConfiguration = ServiceConfigurationOptions & ClientApiVersions;
|
|
705
|
+
/**
|
|
706
|
+
* Contains interfaces for use with the IotDeviceAdvisor client.
|
|
707
|
+
*/
|
|
708
|
+
export import Types = IotDeviceAdvisor;
|
|
709
|
+
}
|
|
710
|
+
export = IotDeviceAdvisor;
|