UNPKG

73.8 kBTypeScriptView Raw
1import {Request} from '../lib/request';
2import {Response} from '../lib/response';
3import {AWSError} from '../lib/error';
4import {Service} from '../lib/service';
5import {ServiceConfigurationOptions} from '../lib/service';
6import {ConfigBase as Config} from '../lib/config';
7interface Blob {}
8declare class IoTAnalytics extends Service {
9 /**
10 * Constructs a service object. This object has one method for each API operation.
11 */
12 constructor(options?: IoTAnalytics.Types.ClientConfiguration)
13 config: Config & IoTAnalytics.Types.ClientConfiguration;
14 /**
15 * Sends messages to a channel.
16 */
17 batchPutMessage(params: IoTAnalytics.Types.BatchPutMessageRequest, callback?: (err: AWSError, data: IoTAnalytics.Types.BatchPutMessageResponse) => void): Request<IoTAnalytics.Types.BatchPutMessageResponse, AWSError>;
18 /**
19 * Sends messages to a channel.
20 */
21 batchPutMessage(callback?: (err: AWSError, data: IoTAnalytics.Types.BatchPutMessageResponse) => void): Request<IoTAnalytics.Types.BatchPutMessageResponse, AWSError>;
22 /**
23 * Cancels the reprocessing of data through the pipeline.
24 */
25 cancelPipelineReprocessing(params: IoTAnalytics.Types.CancelPipelineReprocessingRequest, callback?: (err: AWSError, data: IoTAnalytics.Types.CancelPipelineReprocessingResponse) => void): Request<IoTAnalytics.Types.CancelPipelineReprocessingResponse, AWSError>;
26 /**
27 * Cancels the reprocessing of data through the pipeline.
28 */
29 cancelPipelineReprocessing(callback?: (err: AWSError, data: IoTAnalytics.Types.CancelPipelineReprocessingResponse) => void): Request<IoTAnalytics.Types.CancelPipelineReprocessingResponse, AWSError>;
30 /**
31 * Creates a channel. A channel collects data from an MQTT topic and archives the raw, unprocessed messages before publishing the data to a pipeline.
32 */
33 createChannel(params: IoTAnalytics.Types.CreateChannelRequest, callback?: (err: AWSError, data: IoTAnalytics.Types.CreateChannelResponse) => void): Request<IoTAnalytics.Types.CreateChannelResponse, AWSError>;
34 /**
35 * Creates a channel. A channel collects data from an MQTT topic and archives the raw, unprocessed messages before publishing the data to a pipeline.
36 */
37 createChannel(callback?: (err: AWSError, data: IoTAnalytics.Types.CreateChannelResponse) => void): Request<IoTAnalytics.Types.CreateChannelResponse, AWSError>;
38 /**
39 * Creates a data set. A data set stores data retrieved from a data store by applying a "queryAction" (a SQL query) or a "containerAction" (executing a containerized application). This operation creates the skeleton of a data set. The data set can be populated manually by calling "CreateDatasetContent" or automatically according to a "trigger" you specify.
40 */
41 createDataset(params: IoTAnalytics.Types.CreateDatasetRequest, callback?: (err: AWSError, data: IoTAnalytics.Types.CreateDatasetResponse) => void): Request<IoTAnalytics.Types.CreateDatasetResponse, AWSError>;
42 /**
43 * Creates a data set. A data set stores data retrieved from a data store by applying a "queryAction" (a SQL query) or a "containerAction" (executing a containerized application). This operation creates the skeleton of a data set. The data set can be populated manually by calling "CreateDatasetContent" or automatically according to a "trigger" you specify.
44 */
45 createDataset(callback?: (err: AWSError, data: IoTAnalytics.Types.CreateDatasetResponse) => void): Request<IoTAnalytics.Types.CreateDatasetResponse, AWSError>;
46 /**
47 * Creates the content of a data set by applying a "queryAction" (a SQL query) or a "containerAction" (executing a containerized application).
48 */
49 createDatasetContent(params: IoTAnalytics.Types.CreateDatasetContentRequest, callback?: (err: AWSError, data: IoTAnalytics.Types.CreateDatasetContentResponse) => void): Request<IoTAnalytics.Types.CreateDatasetContentResponse, AWSError>;
50 /**
51 * Creates the content of a data set by applying a "queryAction" (a SQL query) or a "containerAction" (executing a containerized application).
52 */
53 createDatasetContent(callback?: (err: AWSError, data: IoTAnalytics.Types.CreateDatasetContentResponse) => void): Request<IoTAnalytics.Types.CreateDatasetContentResponse, AWSError>;
54 /**
55 * Creates a data store, which is a repository for messages.
56 */
57 createDatastore(params: IoTAnalytics.Types.CreateDatastoreRequest, callback?: (err: AWSError, data: IoTAnalytics.Types.CreateDatastoreResponse) => void): Request<IoTAnalytics.Types.CreateDatastoreResponse, AWSError>;
58 /**
59 * Creates a data store, which is a repository for messages.
60 */
61 createDatastore(callback?: (err: AWSError, data: IoTAnalytics.Types.CreateDatastoreResponse) => void): Request<IoTAnalytics.Types.CreateDatastoreResponse, AWSError>;
62 /**
63 * Creates a pipeline. A pipeline consumes messages from a channel and allows you to process the messages before storing them in a data store. You must specify both a channel and a datastore activity and, optionally, as many as 23 additional activities in the pipelineActivities array.
64 */
65 createPipeline(params: IoTAnalytics.Types.CreatePipelineRequest, callback?: (err: AWSError, data: IoTAnalytics.Types.CreatePipelineResponse) => void): Request<IoTAnalytics.Types.CreatePipelineResponse, AWSError>;
66 /**
67 * Creates a pipeline. A pipeline consumes messages from a channel and allows you to process the messages before storing them in a data store. You must specify both a channel and a datastore activity and, optionally, as many as 23 additional activities in the pipelineActivities array.
68 */
69 createPipeline(callback?: (err: AWSError, data: IoTAnalytics.Types.CreatePipelineResponse) => void): Request<IoTAnalytics.Types.CreatePipelineResponse, AWSError>;
70 /**
71 * Deletes the specified channel.
72 */
73 deleteChannel(params: IoTAnalytics.Types.DeleteChannelRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
74 /**
75 * Deletes the specified channel.
76 */
77 deleteChannel(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
78 /**
79 * Deletes the specified data set. You do not have to delete the content of the data set before you perform this operation.
80 */
81 deleteDataset(params: IoTAnalytics.Types.DeleteDatasetRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
82 /**
83 * Deletes the specified data set. You do not have to delete the content of the data set before you perform this operation.
84 */
85 deleteDataset(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
86 /**
87 * Deletes the content of the specified data set.
88 */
89 deleteDatasetContent(params: IoTAnalytics.Types.DeleteDatasetContentRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
90 /**
91 * Deletes the content of the specified data set.
92 */
93 deleteDatasetContent(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
94 /**
95 * Deletes the specified data store.
96 */
97 deleteDatastore(params: IoTAnalytics.Types.DeleteDatastoreRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
98 /**
99 * Deletes the specified data store.
100 */
101 deleteDatastore(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
102 /**
103 * Deletes the specified pipeline.
104 */
105 deletePipeline(params: IoTAnalytics.Types.DeletePipelineRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
106 /**
107 * Deletes the specified pipeline.
108 */
109 deletePipeline(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
110 /**
111 * Retrieves information about a channel.
112 */
113 describeChannel(params: IoTAnalytics.Types.DescribeChannelRequest, callback?: (err: AWSError, data: IoTAnalytics.Types.DescribeChannelResponse) => void): Request<IoTAnalytics.Types.DescribeChannelResponse, AWSError>;
114 /**
115 * Retrieves information about a channel.
116 */
117 describeChannel(callback?: (err: AWSError, data: IoTAnalytics.Types.DescribeChannelResponse) => void): Request<IoTAnalytics.Types.DescribeChannelResponse, AWSError>;
118 /**
119 * Retrieves information about a data set.
120 */
121 describeDataset(params: IoTAnalytics.Types.DescribeDatasetRequest, callback?: (err: AWSError, data: IoTAnalytics.Types.DescribeDatasetResponse) => void): Request<IoTAnalytics.Types.DescribeDatasetResponse, AWSError>;
122 /**
123 * Retrieves information about a data set.
124 */
125 describeDataset(callback?: (err: AWSError, data: IoTAnalytics.Types.DescribeDatasetResponse) => void): Request<IoTAnalytics.Types.DescribeDatasetResponse, AWSError>;
126 /**
127 * Retrieves information about a data store.
128 */
129 describeDatastore(params: IoTAnalytics.Types.DescribeDatastoreRequest, callback?: (err: AWSError, data: IoTAnalytics.Types.DescribeDatastoreResponse) => void): Request<IoTAnalytics.Types.DescribeDatastoreResponse, AWSError>;
130 /**
131 * Retrieves information about a data store.
132 */
133 describeDatastore(callback?: (err: AWSError, data: IoTAnalytics.Types.DescribeDatastoreResponse) => void): Request<IoTAnalytics.Types.DescribeDatastoreResponse, AWSError>;
134 /**
135 * Retrieves the current settings of the AWS IoT Analytics logging options.
136 */
137 describeLoggingOptions(params: IoTAnalytics.Types.DescribeLoggingOptionsRequest, callback?: (err: AWSError, data: IoTAnalytics.Types.DescribeLoggingOptionsResponse) => void): Request<IoTAnalytics.Types.DescribeLoggingOptionsResponse, AWSError>;
138 /**
139 * Retrieves the current settings of the AWS IoT Analytics logging options.
140 */
141 describeLoggingOptions(callback?: (err: AWSError, data: IoTAnalytics.Types.DescribeLoggingOptionsResponse) => void): Request<IoTAnalytics.Types.DescribeLoggingOptionsResponse, AWSError>;
142 /**
143 * Retrieves information about a pipeline.
144 */
145 describePipeline(params: IoTAnalytics.Types.DescribePipelineRequest, callback?: (err: AWSError, data: IoTAnalytics.Types.DescribePipelineResponse) => void): Request<IoTAnalytics.Types.DescribePipelineResponse, AWSError>;
146 /**
147 * Retrieves information about a pipeline.
148 */
149 describePipeline(callback?: (err: AWSError, data: IoTAnalytics.Types.DescribePipelineResponse) => void): Request<IoTAnalytics.Types.DescribePipelineResponse, AWSError>;
150 /**
151 * Retrieves the contents of a data set as pre-signed URIs.
152 */
153 getDatasetContent(params: IoTAnalytics.Types.GetDatasetContentRequest, callback?: (err: AWSError, data: IoTAnalytics.Types.GetDatasetContentResponse) => void): Request<IoTAnalytics.Types.GetDatasetContentResponse, AWSError>;
154 /**
155 * Retrieves the contents of a data set as pre-signed URIs.
156 */
157 getDatasetContent(callback?: (err: AWSError, data: IoTAnalytics.Types.GetDatasetContentResponse) => void): Request<IoTAnalytics.Types.GetDatasetContentResponse, AWSError>;
158 /**
159 * Retrieves a list of channels.
160 */
161 listChannels(params: IoTAnalytics.Types.ListChannelsRequest, callback?: (err: AWSError, data: IoTAnalytics.Types.ListChannelsResponse) => void): Request<IoTAnalytics.Types.ListChannelsResponse, AWSError>;
162 /**
163 * Retrieves a list of channels.
164 */
165 listChannels(callback?: (err: AWSError, data: IoTAnalytics.Types.ListChannelsResponse) => void): Request<IoTAnalytics.Types.ListChannelsResponse, AWSError>;
166 /**
167 * Lists information about data set contents that have been created.
168 */
169 listDatasetContents(params: IoTAnalytics.Types.ListDatasetContentsRequest, callback?: (err: AWSError, data: IoTAnalytics.Types.ListDatasetContentsResponse) => void): Request<IoTAnalytics.Types.ListDatasetContentsResponse, AWSError>;
170 /**
171 * Lists information about data set contents that have been created.
172 */
173 listDatasetContents(callback?: (err: AWSError, data: IoTAnalytics.Types.ListDatasetContentsResponse) => void): Request<IoTAnalytics.Types.ListDatasetContentsResponse, AWSError>;
174 /**
175 * Retrieves information about data sets.
176 */
177 listDatasets(params: IoTAnalytics.Types.ListDatasetsRequest, callback?: (err: AWSError, data: IoTAnalytics.Types.ListDatasetsResponse) => void): Request<IoTAnalytics.Types.ListDatasetsResponse, AWSError>;
178 /**
179 * Retrieves information about data sets.
180 */
181 listDatasets(callback?: (err: AWSError, data: IoTAnalytics.Types.ListDatasetsResponse) => void): Request<IoTAnalytics.Types.ListDatasetsResponse, AWSError>;
182 /**
183 * Retrieves a list of data stores.
184 */
185 listDatastores(params: IoTAnalytics.Types.ListDatastoresRequest, callback?: (err: AWSError, data: IoTAnalytics.Types.ListDatastoresResponse) => void): Request<IoTAnalytics.Types.ListDatastoresResponse, AWSError>;
186 /**
187 * Retrieves a list of data stores.
188 */
189 listDatastores(callback?: (err: AWSError, data: IoTAnalytics.Types.ListDatastoresResponse) => void): Request<IoTAnalytics.Types.ListDatastoresResponse, AWSError>;
190 /**
191 * Retrieves a list of pipelines.
192 */
193 listPipelines(params: IoTAnalytics.Types.ListPipelinesRequest, callback?: (err: AWSError, data: IoTAnalytics.Types.ListPipelinesResponse) => void): Request<IoTAnalytics.Types.ListPipelinesResponse, AWSError>;
194 /**
195 * Retrieves a list of pipelines.
196 */
197 listPipelines(callback?: (err: AWSError, data: IoTAnalytics.Types.ListPipelinesResponse) => void): Request<IoTAnalytics.Types.ListPipelinesResponse, AWSError>;
198 /**
199 * Lists the tags (metadata) which you have assigned to the resource.
200 */
201 listTagsForResource(params: IoTAnalytics.Types.ListTagsForResourceRequest, callback?: (err: AWSError, data: IoTAnalytics.Types.ListTagsForResourceResponse) => void): Request<IoTAnalytics.Types.ListTagsForResourceResponse, AWSError>;
202 /**
203 * Lists the tags (metadata) which you have assigned to the resource.
204 */
205 listTagsForResource(callback?: (err: AWSError, data: IoTAnalytics.Types.ListTagsForResourceResponse) => void): Request<IoTAnalytics.Types.ListTagsForResourceResponse, AWSError>;
206 /**
207 * Sets or updates the AWS IoT Analytics logging options. Note that if you update the value of any loggingOptions field, it takes up to one minute for the change to take effect. Also, if you change the policy attached to the role you specified in the roleArn field (for example, to correct an invalid policy) it takes up to 5 minutes for that change to take effect.
208 */
209 putLoggingOptions(params: IoTAnalytics.Types.PutLoggingOptionsRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
210 /**
211 * Sets or updates the AWS IoT Analytics logging options. Note that if you update the value of any loggingOptions field, it takes up to one minute for the change to take effect. Also, if you change the policy attached to the role you specified in the roleArn field (for example, to correct an invalid policy) it takes up to 5 minutes for that change to take effect.
212 */
213 putLoggingOptions(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
214 /**
215 * Simulates the results of running a pipeline activity on a message payload.
216 */
217 runPipelineActivity(params: IoTAnalytics.Types.RunPipelineActivityRequest, callback?: (err: AWSError, data: IoTAnalytics.Types.RunPipelineActivityResponse) => void): Request<IoTAnalytics.Types.RunPipelineActivityResponse, AWSError>;
218 /**
219 * Simulates the results of running a pipeline activity on a message payload.
220 */
221 runPipelineActivity(callback?: (err: AWSError, data: IoTAnalytics.Types.RunPipelineActivityResponse) => void): Request<IoTAnalytics.Types.RunPipelineActivityResponse, AWSError>;
222 /**
223 * Retrieves a sample of messages from the specified channel ingested during the specified timeframe. Up to 10 messages can be retrieved.
224 */
225 sampleChannelData(params: IoTAnalytics.Types.SampleChannelDataRequest, callback?: (err: AWSError, data: IoTAnalytics.Types.SampleChannelDataResponse) => void): Request<IoTAnalytics.Types.SampleChannelDataResponse, AWSError>;
226 /**
227 * Retrieves a sample of messages from the specified channel ingested during the specified timeframe. Up to 10 messages can be retrieved.
228 */
229 sampleChannelData(callback?: (err: AWSError, data: IoTAnalytics.Types.SampleChannelDataResponse) => void): Request<IoTAnalytics.Types.SampleChannelDataResponse, AWSError>;
230 /**
231 * Starts the reprocessing of raw message data through the pipeline.
232 */
233 startPipelineReprocessing(params: IoTAnalytics.Types.StartPipelineReprocessingRequest, callback?: (err: AWSError, data: IoTAnalytics.Types.StartPipelineReprocessingResponse) => void): Request<IoTAnalytics.Types.StartPipelineReprocessingResponse, AWSError>;
234 /**
235 * Starts the reprocessing of raw message data through the pipeline.
236 */
237 startPipelineReprocessing(callback?: (err: AWSError, data: IoTAnalytics.Types.StartPipelineReprocessingResponse) => void): Request<IoTAnalytics.Types.StartPipelineReprocessingResponse, AWSError>;
238 /**
239 * Adds to or modifies the tags of the given resource. Tags are metadata which can be used to manage a resource.
240 */
241 tagResource(params: IoTAnalytics.Types.TagResourceRequest, callback?: (err: AWSError, data: IoTAnalytics.Types.TagResourceResponse) => void): Request<IoTAnalytics.Types.TagResourceResponse, AWSError>;
242 /**
243 * Adds to or modifies the tags of the given resource. Tags are metadata which can be used to manage a resource.
244 */
245 tagResource(callback?: (err: AWSError, data: IoTAnalytics.Types.TagResourceResponse) => void): Request<IoTAnalytics.Types.TagResourceResponse, AWSError>;
246 /**
247 * Removes the given tags (metadata) from the resource.
248 */
249 untagResource(params: IoTAnalytics.Types.UntagResourceRequest, callback?: (err: AWSError, data: IoTAnalytics.Types.UntagResourceResponse) => void): Request<IoTAnalytics.Types.UntagResourceResponse, AWSError>;
250 /**
251 * Removes the given tags (metadata) from the resource.
252 */
253 untagResource(callback?: (err: AWSError, data: IoTAnalytics.Types.UntagResourceResponse) => void): Request<IoTAnalytics.Types.UntagResourceResponse, AWSError>;
254 /**
255 * Updates the settings of a channel.
256 */
257 updateChannel(params: IoTAnalytics.Types.UpdateChannelRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
258 /**
259 * Updates the settings of a channel.
260 */
261 updateChannel(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
262 /**
263 * Updates the settings of a data set.
264 */
265 updateDataset(params: IoTAnalytics.Types.UpdateDatasetRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
266 /**
267 * Updates the settings of a data set.
268 */
269 updateDataset(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
270 /**
271 * Updates the settings of a data store.
272 */
273 updateDatastore(params: IoTAnalytics.Types.UpdateDatastoreRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
274 /**
275 * Updates the settings of a data store.
276 */
277 updateDatastore(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
278 /**
279 * Updates the settings of a pipeline. You must specify both a channel and a datastore activity and, optionally, as many as 23 additional activities in the pipelineActivities array.
280 */
281 updatePipeline(params: IoTAnalytics.Types.UpdatePipelineRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
282 /**
283 * Updates the settings of a pipeline. You must specify both a channel and a datastore activity and, optionally, as many as 23 additional activities in the pipelineActivities array.
284 */
285 updatePipeline(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
286}
287declare namespace IoTAnalytics {
288 export type ActivityBatchSize = number;
289 export type ActivityName = string;
290 export interface AddAttributesActivity {
291 /**
292 * The name of the 'addAttributes' activity.
293 */
294 name: ActivityName;
295 /**
296 * A list of 1-50 "AttributeNameMapping" objects that map an existing attribute to a new attribute. The existing attributes remain in the message, so if you want to remove the originals, use "RemoveAttributeActivity".
297 */
298 attributes: AttributeNameMapping;
299 /**
300 * The next activity in the pipeline.
301 */
302 next?: ActivityName;
303 }
304 export type AttributeName = string;
305 export type AttributeNameMapping = {[key: string]: AttributeName};
306 export type AttributeNames = AttributeName[];
307 export type BatchPutMessageErrorEntries = BatchPutMessageErrorEntry[];
308 export interface BatchPutMessageErrorEntry {
309 /**
310 * The ID of the message that caused the error. (See the value corresponding to the "messageId" key in the message object.)
311 */
312 messageId?: MessageId;
313 /**
314 * The code associated with the error.
315 */
316 errorCode?: ErrorCode;
317 /**
318 * The message associated with the error.
319 */
320 errorMessage?: ErrorMessage;
321 }
322 export interface BatchPutMessageRequest {
323 /**
324 * The name of the channel where the messages are sent.
325 */
326 channelName: ChannelName;
327 /**
328 * The list of messages to be sent. Each message has format: '{ "messageId": "string", "payload": "string"}'. Note that the field names of message payloads (data) that you send to AWS IoT Analytics: Must contain only alphanumeric characters and undescores (_); no other special characters are allowed. Must begin with an alphabetic character or single underscore (_). Cannot contain hyphens (-). In regular expression terms: "^[A-Za-z_]([A-Za-z0-9]*|[A-Za-z0-9][A-Za-z0-9_]*)$". Cannot be greater than 255 characters. Are case-insensitive. (Fields named "foo" and "FOO" in the same payload are considered duplicates.) For example, {"temp_01": 29} or {"_temp_01": 29} are valid, but {"temp-01": 29}, {"01_temp": 29} or {"__temp_01": 29} are invalid in message payloads.
329 */
330 messages: Messages;
331 }
332 export interface BatchPutMessageResponse {
333 /**
334 * A list of any errors encountered when sending the messages to the channel.
335 */
336 batchPutMessageErrorEntries?: BatchPutMessageErrorEntries;
337 }
338 export type BucketKeyExpression = string;
339 export type BucketName = string;
340 export interface CancelPipelineReprocessingRequest {
341 /**
342 * The name of pipeline for which data reprocessing is canceled.
343 */
344 pipelineName: PipelineName;
345 /**
346 * The ID of the reprocessing task (returned by "StartPipelineReprocessing").
347 */
348 reprocessingId: ReprocessingId;
349 }
350 export interface CancelPipelineReprocessingResponse {
351 }
352 export interface Channel {
353 /**
354 * The name of the channel.
355 */
356 name?: ChannelName;
357 /**
358 * Where channel data is stored. You may choose one of "serviceManagedS3" or "customerManagedS3" storage. If not specified, the default is "serviceManagedS3". This cannot be changed after creation of the channel.
359 */
360 storage?: ChannelStorage;
361 /**
362 * The ARN of the channel.
363 */
364 arn?: ChannelArn;
365 /**
366 * The status of the channel.
367 */
368 status?: ChannelStatus;
369 /**
370 * How long, in days, message data is kept for the channel.
371 */
372 retentionPeriod?: RetentionPeriod;
373 /**
374 * When the channel was created.
375 */
376 creationTime?: Timestamp;
377 /**
378 * When the channel was last updated.
379 */
380 lastUpdateTime?: Timestamp;
381 }
382 export interface ChannelActivity {
383 /**
384 * The name of the 'channel' activity.
385 */
386 name: ActivityName;
387 /**
388 * The name of the channel from which the messages are processed.
389 */
390 channelName: ChannelName;
391 /**
392 * The next activity in the pipeline.
393 */
394 next?: ActivityName;
395 }
396 export type ChannelArn = string;
397 export type ChannelName = string;
398 export interface ChannelStatistics {
399 /**
400 * The estimated size of the channel.
401 */
402 size?: EstimatedResourceSize;
403 }
404 export type ChannelStatus = "CREATING"|"ACTIVE"|"DELETING"|string;
405 export interface ChannelStorage {
406 /**
407 * Use this to store channel data in an S3 bucket managed by the AWS IoT Analytics service. The choice of service-managed or customer-managed S3 storage cannot be changed after creation of the channel.
408 */
409 serviceManagedS3?: ServiceManagedChannelS3Storage;
410 /**
411 * Use this to store channel data in an S3 bucket that you manage. If customer managed storage is selected, the "retentionPeriod" parameter is ignored. The choice of service-managed or customer-managed S3 storage cannot be changed after creation of the channel.
412 */
413 customerManagedS3?: CustomerManagedChannelS3Storage;
414 }
415 export interface ChannelStorageSummary {
416 /**
417 * Used to store channel data in an S3 bucket managed by the AWS IoT Analytics service.
418 */
419 serviceManagedS3?: ServiceManagedChannelS3StorageSummary;
420 /**
421 * Used to store channel data in an S3 bucket that you manage.
422 */
423 customerManagedS3?: CustomerManagedChannelS3StorageSummary;
424 }
425 export type ChannelSummaries = ChannelSummary[];
426 export interface ChannelSummary {
427 /**
428 * The name of the channel.
429 */
430 channelName?: ChannelName;
431 /**
432 * Where channel data is stored.
433 */
434 channelStorage?: ChannelStorageSummary;
435 /**
436 * The status of the channel.
437 */
438 status?: ChannelStatus;
439 /**
440 * When the channel was created.
441 */
442 creationTime?: Timestamp;
443 /**
444 * The last time the channel was updated.
445 */
446 lastUpdateTime?: Timestamp;
447 }
448 export type ComputeType = "ACU_1"|"ACU_2"|string;
449 export interface ContainerDatasetAction {
450 /**
451 * The ARN of the Docker container stored in your account. The Docker container contains an application and needed support libraries and is used to generate data set contents.
452 */
453 image: Image;
454 /**
455 * The ARN of the role which gives permission to the system to access needed resources in order to run the "containerAction". This includes, at minimum, permission to retrieve the data set contents which are the input to the containerized application.
456 */
457 executionRoleArn: RoleArn;
458 /**
459 * Configuration of the resource which executes the "containerAction".
460 */
461 resourceConfiguration: ResourceConfiguration;
462 /**
463 * The values of variables used within the context of the execution of the containerized application (basically, parameters passed to the application). Each variable must have a name and a value given by one of "stringValue", "datasetContentVersionValue", or "outputFileUriValue".
464 */
465 variables?: Variables;
466 }
467 export interface CreateChannelRequest {
468 /**
469 * The name of the channel.
470 */
471 channelName: ChannelName;
472 /**
473 * Where channel data is stored. You may choose one of "serviceManagedS3" or "customerManagedS3" storage. If not specified, the default is "serviceManagedS3". This cannot be changed after creation of the channel.
474 */
475 channelStorage?: ChannelStorage;
476 /**
477 * How long, in days, message data is kept for the channel. When "customerManagedS3" storage is selected, this parameter is ignored.
478 */
479 retentionPeriod?: RetentionPeriod;
480 /**
481 * Metadata which can be used to manage the channel.
482 */
483 tags?: TagList;
484 }
485 export interface CreateChannelResponse {
486 /**
487 * The name of the channel.
488 */
489 channelName?: ChannelName;
490 /**
491 * The ARN of the channel.
492 */
493 channelArn?: ChannelArn;
494 /**
495 * How long, in days, message data is kept for the channel.
496 */
497 retentionPeriod?: RetentionPeriod;
498 }
499 export interface CreateDatasetContentRequest {
500 /**
501 * The name of the data set.
502 */
503 datasetName: DatasetName;
504 }
505 export interface CreateDatasetContentResponse {
506 /**
507 * The version ID of the data set contents which are being created.
508 */
509 versionId?: DatasetContentVersion;
510 }
511 export interface CreateDatasetRequest {
512 /**
513 * The name of the data set.
514 */
515 datasetName: DatasetName;
516 /**
517 * A list of actions that create the data set contents.
518 */
519 actions: DatasetActions;
520 /**
521 * A list of triggers. A trigger causes data set contents to be populated at a specified time interval or when another data set's contents are created. The list of triggers can be empty or contain up to five DataSetTrigger objects.
522 */
523 triggers?: DatasetTriggers;
524 /**
525 * When data set contents are created they are delivered to destinations specified here.
526 */
527 contentDeliveryRules?: DatasetContentDeliveryRules;
528 /**
529 * [Optional] How long, in days, versions of data set contents are kept for the data set. If not specified or set to null, versions of data set contents are retained for at most 90 days. The number of versions of data set contents retained is determined by the versioningConfiguration parameter. (For more information, see https://docs.aws.amazon.com/iotanalytics/latest/userguide/getting-started.html#aws-iot-analytics-dataset-versions)
530 */
531 retentionPeriod?: RetentionPeriod;
532 /**
533 * [Optional] How many versions of data set contents are kept. If not specified or set to null, only the latest version plus the latest succeeded version (if they are different) are kept for the time period specified by the "retentionPeriod" parameter. (For more information, see https://docs.aws.amazon.com/iotanalytics/latest/userguide/getting-started.html#aws-iot-analytics-dataset-versions)
534 */
535 versioningConfiguration?: VersioningConfiguration;
536 /**
537 * Metadata which can be used to manage the data set.
538 */
539 tags?: TagList;
540 }
541 export interface CreateDatasetResponse {
542 /**
543 * The name of the data set.
544 */
545 datasetName?: DatasetName;
546 /**
547 * The ARN of the data set.
548 */
549 datasetArn?: DatasetArn;
550 /**
551 * How long, in days, data set contents are kept for the data set.
552 */
553 retentionPeriod?: RetentionPeriod;
554 }
555 export interface CreateDatastoreRequest {
556 /**
557 * The name of the data store.
558 */
559 datastoreName: DatastoreName;
560 /**
561 * Where data store data is stored. You may choose one of "serviceManagedS3" or "customerManagedS3" storage. If not specified, the default is "serviceManagedS3". This cannot be changed after the data store is created.
562 */
563 datastoreStorage?: DatastoreStorage;
564 /**
565 * How long, in days, message data is kept for the data store. When "customerManagedS3" storage is selected, this parameter is ignored.
566 */
567 retentionPeriod?: RetentionPeriod;
568 /**
569 * Metadata which can be used to manage the data store.
570 */
571 tags?: TagList;
572 }
573 export interface CreateDatastoreResponse {
574 /**
575 * The name of the data store.
576 */
577 datastoreName?: DatastoreName;
578 /**
579 * The ARN of the data store.
580 */
581 datastoreArn?: DatastoreArn;
582 /**
583 * How long, in days, message data is kept for the data store.
584 */
585 retentionPeriod?: RetentionPeriod;
586 }
587 export interface CreatePipelineRequest {
588 /**
589 * The name of the pipeline.
590 */
591 pipelineName: PipelineName;
592 /**
593 * A list of "PipelineActivity" objects. Activities perform transformations on your messages, such as removing, renaming or adding message attributes; filtering messages based on attribute values; invoking your Lambda functions on messages for advanced processing; or performing mathematical transformations to normalize device data. The list can be 2-25 PipelineActivity objects and must contain both a channel and a datastore activity. Each entry in the list must contain only one activity, for example: pipelineActivities = [ { "channel": { ... } }, { "lambda": { ... } }, ... ]
594 */
595 pipelineActivities: PipelineActivities;
596 /**
597 * Metadata which can be used to manage the pipeline.
598 */
599 tags?: TagList;
600 }
601 export interface CreatePipelineResponse {
602 /**
603 * The name of the pipeline.
604 */
605 pipelineName?: PipelineName;
606 /**
607 * The ARN of the pipeline.
608 */
609 pipelineArn?: PipelineArn;
610 }
611 export interface CustomerManagedChannelS3Storage {
612 /**
613 * The name of the Amazon S3 bucket in which channel data is stored.
614 */
615 bucket: BucketName;
616 /**
617 * [Optional] The prefix used to create the keys of the channel data objects. Each object in an Amazon S3 bucket has a key that is its unique identifier within the bucket (each object in a bucket has exactly one key). The prefix must end with a '/'.
618 */
619 keyPrefix?: S3KeyPrefix;
620 /**
621 * The ARN of the role which grants AWS IoT Analytics permission to interact with your Amazon S3 resources.
622 */
623 roleArn: RoleArn;
624 }
625 export interface CustomerManagedChannelS3StorageSummary {
626 /**
627 * The name of the Amazon S3 bucket in which channel data is stored.
628 */
629 bucket?: BucketName;
630 /**
631 * [Optional] The prefix used to create the keys of the channel data objects. Each object in an Amazon S3 bucket has a key that is its unique identifier within the bucket (each object in a bucket has exactly one key). The prefix must end with a '/'.
632 */
633 keyPrefix?: S3KeyPrefix;
634 /**
635 * The ARN of the role which grants AWS IoT Analytics permission to interact with your Amazon S3 resources.
636 */
637 roleArn?: RoleArn;
638 }
639 export interface CustomerManagedDatastoreS3Storage {
640 /**
641 * The name of the Amazon S3 bucket in which data store data is stored.
642 */
643 bucket: BucketName;
644 /**
645 * [Optional] The prefix used to create the keys of the data store data objects. Each object in an Amazon S3 bucket has a key that is its unique identifier within the bucket (each object in a bucket has exactly one key). The prefix must end with a '/'.
646 */
647 keyPrefix?: S3KeyPrefix;
648 /**
649 * The ARN of the role which grants AWS IoT Analytics permission to interact with your Amazon S3 resources.
650 */
651 roleArn: RoleArn;
652 }
653 export interface CustomerManagedDatastoreS3StorageSummary {
654 /**
655 * The name of the Amazon S3 bucket in which data store data is stored.
656 */
657 bucket?: BucketName;
658 /**
659 * [Optional] The prefix used to create the keys of the data store data objects. Each object in an Amazon S3 bucket has a key that is its unique identifier within the bucket (each object in a bucket has exactly one key). The prefix must end with a '/'.
660 */
661 keyPrefix?: S3KeyPrefix;
662 /**
663 * The ARN of the role which grants AWS IoT Analytics permission to interact with your Amazon S3 resources.
664 */
665 roleArn?: RoleArn;
666 }
667 export interface Dataset {
668 /**
669 * The name of the data set.
670 */
671 name?: DatasetName;
672 /**
673 * The ARN of the data set.
674 */
675 arn?: DatasetArn;
676 /**
677 * The "DatasetAction" objects that automatically create the data set contents.
678 */
679 actions?: DatasetActions;
680 /**
681 * The "DatasetTrigger" objects that specify when the data set is automatically updated.
682 */
683 triggers?: DatasetTriggers;
684 /**
685 * When data set contents are created they are delivered to destinations specified here.
686 */
687 contentDeliveryRules?: DatasetContentDeliveryRules;
688 /**
689 * The status of the data set.
690 */
691 status?: DatasetStatus;
692 /**
693 * When the data set was created.
694 */
695 creationTime?: Timestamp;
696 /**
697 * The last time the data set was updated.
698 */
699 lastUpdateTime?: Timestamp;
700 /**
701 * [Optional] How long, in days, message data is kept for the data set.
702 */
703 retentionPeriod?: RetentionPeriod;
704 /**
705 * [Optional] How many versions of data set contents are kept. If not specified or set to null, only the latest version plus the latest succeeded version (if they are different) are kept for the time period specified by the "retentionPeriod" parameter. (For more information, see https://docs.aws.amazon.com/iotanalytics/latest/userguide/getting-started.html#aws-iot-analytics-dataset-versions)
706 */
707 versioningConfiguration?: VersioningConfiguration;
708 }
709 export interface DatasetAction {
710 /**
711 * The name of the data set action by which data set contents are automatically created.
712 */
713 actionName?: DatasetActionName;
714 /**
715 * An "SqlQueryDatasetAction" object that uses an SQL query to automatically create data set contents.
716 */
717 queryAction?: SqlQueryDatasetAction;
718 /**
719 * Information which allows the system to run a containerized application in order to create the data set contents. The application must be in a Docker container along with any needed support libraries.
720 */
721 containerAction?: ContainerDatasetAction;
722 }
723 export type DatasetActionName = string;
724 export type DatasetActionSummaries = DatasetActionSummary[];
725 export interface DatasetActionSummary {
726 /**
727 * The name of the action which automatically creates the data set's contents.
728 */
729 actionName?: DatasetActionName;
730 /**
731 * The type of action by which the data set's contents are automatically created.
732 */
733 actionType?: DatasetActionType;
734 }
735 export type DatasetActionType = "QUERY"|"CONTAINER"|string;
736 export type DatasetActions = DatasetAction[];
737 export type DatasetArn = string;
738 export interface DatasetContentDeliveryDestination {
739 /**
740 * Configuration information for delivery of data set contents to AWS IoT Events.
741 */
742 iotEventsDestinationConfiguration?: IotEventsDestinationConfiguration;
743 /**
744 * Configuration information for delivery of data set contents to Amazon S3.
745 */
746 s3DestinationConfiguration?: S3DestinationConfiguration;
747 }
748 export interface DatasetContentDeliveryRule {
749 /**
750 * The name of the data set content delivery rules entry.
751 */
752 entryName?: EntryName;
753 /**
754 * The destination to which data set contents are delivered.
755 */
756 destination: DatasetContentDeliveryDestination;
757 }
758 export type DatasetContentDeliveryRules = DatasetContentDeliveryRule[];
759 export type DatasetContentState = "CREATING"|"SUCCEEDED"|"FAILED"|string;
760 export interface DatasetContentStatus {
761 /**
762 * The state of the data set contents. Can be one of "READY", "CREATING", "SUCCEEDED" or "FAILED".
763 */
764 state?: DatasetContentState;
765 /**
766 * The reason the data set contents are in this state.
767 */
768 reason?: Reason;
769 }
770 export type DatasetContentSummaries = DatasetContentSummary[];
771 export interface DatasetContentSummary {
772 /**
773 * The version of the data set contents.
774 */
775 version?: DatasetContentVersion;
776 /**
777 * The status of the data set contents.
778 */
779 status?: DatasetContentStatus;
780 /**
781 * The actual time the creation of the data set contents was started.
782 */
783 creationTime?: Timestamp;
784 /**
785 * The time the creation of the data set contents was scheduled to start.
786 */
787 scheduleTime?: Timestamp;
788 /**
789 * The time the dataset content status was updated to SUCCEEDED or FAILED.
790 */
791 completionTime?: Timestamp;
792 }
793 export type DatasetContentVersion = string;
794 export interface DatasetContentVersionValue {
795 /**
796 * The name of the data set whose latest contents are used as input to the notebook or application.
797 */
798 datasetName: DatasetName;
799 }
800 export type DatasetEntries = DatasetEntry[];
801 export interface DatasetEntry {
802 /**
803 * The name of the data set item.
804 */
805 entryName?: EntryName;
806 /**
807 * The pre-signed URI of the data set item.
808 */
809 dataURI?: PresignedURI;
810 }
811 export type DatasetName = string;
812 export type DatasetStatus = "CREATING"|"ACTIVE"|"DELETING"|string;
813 export type DatasetSummaries = DatasetSummary[];
814 export interface DatasetSummary {
815 /**
816 * The name of the data set.
817 */
818 datasetName?: DatasetName;
819 /**
820 * The status of the data set.
821 */
822 status?: DatasetStatus;
823 /**
824 * The time the data set was created.
825 */
826 creationTime?: Timestamp;
827 /**
828 * The last time the data set was updated.
829 */
830 lastUpdateTime?: Timestamp;
831 /**
832 * A list of triggers. A trigger causes data set content to be populated at a specified time interval or when another data set is populated. The list of triggers can be empty or contain up to five DataSetTrigger objects
833 */
834 triggers?: DatasetTriggers;
835 /**
836 * A list of "DataActionSummary" objects.
837 */
838 actions?: DatasetActionSummaries;
839 }
840 export interface DatasetTrigger {
841 /**
842 * The "Schedule" when the trigger is initiated.
843 */
844 schedule?: Schedule;
845 /**
846 * The data set whose content creation triggers the creation of this data set's contents.
847 */
848 dataset?: TriggeringDataset;
849 }
850 export type DatasetTriggers = DatasetTrigger[];
851 export interface Datastore {
852 /**
853 * The name of the data store.
854 */
855 name?: DatastoreName;
856 /**
857 * Where data store data is stored. You may choose one of "serviceManagedS3" or "customerManagedS3" storage. If not specified, the default is "serviceManagedS3". This cannot be changed after the data store is created.
858 */
859 storage?: DatastoreStorage;
860 /**
861 * The ARN of the data store.
862 */
863 arn?: DatastoreArn;
864 /**
865 * The status of a data store: CREATING The data store is being created. ACTIVE The data store has been created and can be used. DELETING The data store is being deleted.
866 */
867 status?: DatastoreStatus;
868 /**
869 * How long, in days, message data is kept for the data store. When "customerManagedS3" storage is selected, this parameter is ignored.
870 */
871 retentionPeriod?: RetentionPeriod;
872 /**
873 * When the data store was created.
874 */
875 creationTime?: Timestamp;
876 /**
877 * The last time the data store was updated.
878 */
879 lastUpdateTime?: Timestamp;
880 }
881 export interface DatastoreActivity {
882 /**
883 * The name of the 'datastore' activity.
884 */
885 name: ActivityName;
886 /**
887 * The name of the data store where processed messages are stored.
888 */
889 datastoreName: DatastoreName;
890 }
891 export type DatastoreArn = string;
892 export type DatastoreName = string;
893 export interface DatastoreStatistics {
894 /**
895 * The estimated size of the data store.
896 */
897 size?: EstimatedResourceSize;
898 }
899 export type DatastoreStatus = "CREATING"|"ACTIVE"|"DELETING"|string;
900 export interface DatastoreStorage {
901 /**
902 * Use this to store data store data in an S3 bucket managed by the AWS IoT Analytics service. The choice of service-managed or customer-managed S3 storage cannot be changed after creation of the data store.
903 */
904 serviceManagedS3?: ServiceManagedDatastoreS3Storage;
905 /**
906 * Use this to store data store data in an S3 bucket that you manage. When customer managed storage is selected, the "retentionPeriod" parameter is ignored. The choice of service-managed or customer-managed S3 storage cannot be changed after creation of the data store.
907 */
908 customerManagedS3?: CustomerManagedDatastoreS3Storage;
909 }
910 export interface DatastoreStorageSummary {
911 /**
912 * Used to store data store data in an S3 bucket managed by the AWS IoT Analytics service.
913 */
914 serviceManagedS3?: ServiceManagedDatastoreS3StorageSummary;
915 /**
916 * Used to store data store data in an S3 bucket that you manage.
917 */
918 customerManagedS3?: CustomerManagedDatastoreS3StorageSummary;
919 }
920 export type DatastoreSummaries = DatastoreSummary[];
921 export interface DatastoreSummary {
922 /**
923 * The name of the data store.
924 */
925 datastoreName?: DatastoreName;
926 /**
927 * Where data store data is stored.
928 */
929 datastoreStorage?: DatastoreStorageSummary;
930 /**
931 * The status of the data store.
932 */
933 status?: DatastoreStatus;
934 /**
935 * When the data store was created.
936 */
937 creationTime?: Timestamp;
938 /**
939 * The last time the data store was updated.
940 */
941 lastUpdateTime?: Timestamp;
942 }
943 export interface DeleteChannelRequest {
944 /**
945 * The name of the channel to delete.
946 */
947 channelName: ChannelName;
948 }
949 export interface DeleteDatasetContentRequest {
950 /**
951 * The name of the data set whose content is deleted.
952 */
953 datasetName: DatasetName;
954 /**
955 * The version of the data set whose content is deleted. You can also use the strings "$LATEST" or "$LATEST_SUCCEEDED" to delete the latest or latest successfully completed data set. If not specified, "$LATEST_SUCCEEDED" is the default.
956 */
957 versionId?: DatasetContentVersion;
958 }
959 export interface DeleteDatasetRequest {
960 /**
961 * The name of the data set to delete.
962 */
963 datasetName: DatasetName;
964 }
965 export interface DeleteDatastoreRequest {
966 /**
967 * The name of the data store to delete.
968 */
969 datastoreName: DatastoreName;
970 }
971 export interface DeletePipelineRequest {
972 /**
973 * The name of the pipeline to delete.
974 */
975 pipelineName: PipelineName;
976 }
977 export interface DeltaTime {
978 /**
979 * The number of seconds of estimated "in flight" lag time of message data. When you create data set contents using message data from a specified time frame, some message data may still be "in flight" when processing begins, and so will not arrive in time to be processed. Use this field to make allowances for the "in flight" time of your message data, so that data not processed from a previous time frame will be included with the next time frame. Without this, missed message data would be excluded from processing during the next time frame as well, because its timestamp places it within the previous time frame.
980 */
981 offsetSeconds: OffsetSeconds;
982 /**
983 * An expression by which the time of the message data may be determined. This may be the name of a timestamp field, or a SQL expression which is used to derive the time the message data was generated.
984 */
985 timeExpression: TimeExpression;
986 }
987 export interface DescribeChannelRequest {
988 /**
989 * The name of the channel whose information is retrieved.
990 */
991 channelName: ChannelName;
992 /**
993 * If true, additional statistical information about the channel is included in the response. This feature cannot be used with a channel whose S3 storage is customer-managed.
994 */
995 includeStatistics?: IncludeStatisticsFlag;
996 }
997 export interface DescribeChannelResponse {
998 /**
999 * An object that contains information about the channel.
1000 */
1001 channel?: Channel;
1002 /**
1003 * Statistics about the channel. Included if the 'includeStatistics' parameter is set to true in the request.
1004 */
1005 statistics?: ChannelStatistics;
1006 }
1007 export interface DescribeDatasetRequest {
1008 /**
1009 * The name of the data set whose information is retrieved.
1010 */
1011 datasetName: DatasetName;
1012 }
1013 export interface DescribeDatasetResponse {
1014 /**
1015 * An object that contains information about the data set.
1016 */
1017 dataset?: Dataset;
1018 }
1019 export interface DescribeDatastoreRequest {
1020 /**
1021 * The name of the data store
1022 */
1023 datastoreName: DatastoreName;
1024 /**
1025 * If true, additional statistical information about the data store is included in the response. This feature cannot be used with a data store whose S3 storage is customer-managed.
1026 */
1027 includeStatistics?: IncludeStatisticsFlag;
1028 }
1029 export interface DescribeDatastoreResponse {
1030 /**
1031 * Information about the data store.
1032 */
1033 datastore?: Datastore;
1034 /**
1035 * Additional statistical information about the data store. Included if the 'includeStatistics' parameter is set to true in the request.
1036 */
1037 statistics?: DatastoreStatistics;
1038 }
1039 export interface DescribeLoggingOptionsRequest {
1040 }
1041 export interface DescribeLoggingOptionsResponse {
1042 /**
1043 * The current settings of the AWS IoT Analytics logging options.
1044 */
1045 loggingOptions?: LoggingOptions;
1046 }
1047 export interface DescribePipelineRequest {
1048 /**
1049 * The name of the pipeline whose information is retrieved.
1050 */
1051 pipelineName: PipelineName;
1052 }
1053 export interface DescribePipelineResponse {
1054 /**
1055 * A "Pipeline" object that contains information about the pipeline.
1056 */
1057 pipeline?: Pipeline;
1058 }
1059 export interface DeviceRegistryEnrichActivity {
1060 /**
1061 * The name of the 'deviceRegistryEnrich' activity.
1062 */
1063 name: ActivityName;
1064 /**
1065 * The name of the attribute that is added to the message.
1066 */
1067 attribute: AttributeName;
1068 /**
1069 * The name of the IoT device whose registry information is added to the message.
1070 */
1071 thingName: AttributeName;
1072 /**
1073 * The ARN of the role that allows access to the device's registry information.
1074 */
1075 roleArn: RoleArn;
1076 /**
1077 * The next activity in the pipeline.
1078 */
1079 next?: ActivityName;
1080 }
1081 export interface DeviceShadowEnrichActivity {
1082 /**
1083 * The name of the 'deviceShadowEnrich' activity.
1084 */
1085 name: ActivityName;
1086 /**
1087 * The name of the attribute that is added to the message.
1088 */
1089 attribute: AttributeName;
1090 /**
1091 * The name of the IoT device whose shadow information is added to the message.
1092 */
1093 thingName: AttributeName;
1094 /**
1095 * The ARN of the role that allows access to the device's shadow.
1096 */
1097 roleArn: RoleArn;
1098 /**
1099 * The next activity in the pipeline.
1100 */
1101 next?: ActivityName;
1102 }
1103 export type DoubleValue = number;
1104 export type EndTime = Date;
1105 export type EntryName = string;
1106 export type ErrorCode = string;
1107 export type ErrorMessage = string;
1108 export interface EstimatedResourceSize {
1109 /**
1110 * The estimated size of the resource in bytes.
1111 */
1112 estimatedSizeInBytes?: SizeInBytes;
1113 /**
1114 * The time when the estimate of the size of the resource was made.
1115 */
1116 estimatedOn?: Timestamp;
1117 }
1118 export interface FilterActivity {
1119 /**
1120 * The name of the 'filter' activity.
1121 */
1122 name: ActivityName;
1123 /**
1124 * An expression that looks like a SQL WHERE clause that must return a Boolean value.
1125 */
1126 filter: FilterExpression;
1127 /**
1128 * The next activity in the pipeline.
1129 */
1130 next?: ActivityName;
1131 }
1132 export type FilterExpression = string;
1133 export interface GetDatasetContentRequest {
1134 /**
1135 * The name of the data set whose contents are retrieved.
1136 */
1137 datasetName: DatasetName;
1138 /**
1139 * The version of the data set whose contents are retrieved. You can also use the strings "$LATEST" or "$LATEST_SUCCEEDED" to retrieve the contents of the latest or latest successfully completed data set. If not specified, "$LATEST_SUCCEEDED" is the default.
1140 */
1141 versionId?: DatasetContentVersion;
1142 }
1143 export interface GetDatasetContentResponse {
1144 /**
1145 * A list of "DatasetEntry" objects.
1146 */
1147 entries?: DatasetEntries;
1148 /**
1149 * The time when the request was made.
1150 */
1151 timestamp?: Timestamp;
1152 /**
1153 * The status of the data set content.
1154 */
1155 status?: DatasetContentStatus;
1156 }
1157 export interface GlueConfiguration {
1158 /**
1159 * The name of the table in your AWS Glue Data Catalog which is used to perform the ETL (extract, transform and load) operations. (An AWS Glue Data Catalog table contains partitioned data and descriptions of data sources and targets.)
1160 */
1161 tableName: GlueTableName;
1162 /**
1163 * The name of the database in your AWS Glue Data Catalog in which the table is located. (An AWS Glue Data Catalog database contains Glue Data tables.)
1164 */
1165 databaseName: GlueDatabaseName;
1166 }
1167 export type GlueDatabaseName = string;
1168 export type GlueTableName = string;
1169 export type Image = string;
1170 export type IncludeStatisticsFlag = boolean;
1171 export interface IotEventsDestinationConfiguration {
1172 /**
1173 * The name of the AWS IoT Events input to which data set contents are delivered.
1174 */
1175 inputName: IotEventsInputName;
1176 /**
1177 * The ARN of the role which grants AWS IoT Analytics permission to deliver data set contents to an AWS IoT Events input.
1178 */
1179 roleArn: RoleArn;
1180 }
1181 export type IotEventsInputName = string;
1182 export interface LambdaActivity {
1183 /**
1184 * The name of the 'lambda' activity.
1185 */
1186 name: ActivityName;
1187 /**
1188 * The name of the Lambda function that is run on the message.
1189 */
1190 lambdaName: LambdaName;
1191 /**
1192 * The number of messages passed to the Lambda function for processing. The AWS Lambda function must be able to process all of these messages within five minutes, which is the maximum timeout duration for Lambda functions.
1193 */
1194 batchSize: ActivityBatchSize;
1195 /**
1196 * The next activity in the pipeline.
1197 */
1198 next?: ActivityName;
1199 }
1200 export type LambdaName = string;
1201 export interface ListChannelsRequest {
1202 /**
1203 * The token for the next set of results.
1204 */
1205 nextToken?: NextToken;
1206 /**
1207 * The maximum number of results to return in this request. The default value is 100.
1208 */
1209 maxResults?: MaxResults;
1210 }
1211 export interface ListChannelsResponse {
1212 /**
1213 * A list of "ChannelSummary" objects.
1214 */
1215 channelSummaries?: ChannelSummaries;
1216 /**
1217 * The token to retrieve the next set of results, or null if there are no more results.
1218 */
1219 nextToken?: NextToken;
1220 }
1221 export interface ListDatasetContentsRequest {
1222 /**
1223 * The name of the data set whose contents information you want to list.
1224 */
1225 datasetName: DatasetName;
1226 /**
1227 * The token for the next set of results.
1228 */
1229 nextToken?: NextToken;
1230 /**
1231 * The maximum number of results to return in this request.
1232 */
1233 maxResults?: MaxResults;
1234 /**
1235 * A filter to limit results to those data set contents whose creation is scheduled on or after the given time. See the field triggers.schedule in the CreateDataset request. (timestamp)
1236 */
1237 scheduledOnOrAfter?: Timestamp;
1238 /**
1239 * A filter to limit results to those data set contents whose creation is scheduled before the given time. See the field triggers.schedule in the CreateDataset request. (timestamp)
1240 */
1241 scheduledBefore?: Timestamp;
1242 }
1243 export interface ListDatasetContentsResponse {
1244 /**
1245 * Summary information about data set contents that have been created.
1246 */
1247 datasetContentSummaries?: DatasetContentSummaries;
1248 /**
1249 * The token to retrieve the next set of results, or null if there are no more results.
1250 */
1251 nextToken?: NextToken;
1252 }
1253 export interface ListDatasetsRequest {
1254 /**
1255 * The token for the next set of results.
1256 */
1257 nextToken?: NextToken;
1258 /**
1259 * The maximum number of results to return in this request. The default value is 100.
1260 */
1261 maxResults?: MaxResults;
1262 }
1263 export interface ListDatasetsResponse {
1264 /**
1265 * A list of "DatasetSummary" objects.
1266 */
1267 datasetSummaries?: DatasetSummaries;
1268 /**
1269 * The token to retrieve the next set of results, or null if there are no more results.
1270 */
1271 nextToken?: NextToken;
1272 }
1273 export interface ListDatastoresRequest {
1274 /**
1275 * The token for the next set of results.
1276 */
1277 nextToken?: NextToken;
1278 /**
1279 * The maximum number of results to return in this request. The default value is 100.
1280 */
1281 maxResults?: MaxResults;
1282 }
1283 export interface ListDatastoresResponse {
1284 /**
1285 * A list of "DatastoreSummary" objects.
1286 */
1287 datastoreSummaries?: DatastoreSummaries;
1288 /**
1289 * The token to retrieve the next set of results, or null if there are no more results.
1290 */
1291 nextToken?: NextToken;
1292 }
1293 export interface ListPipelinesRequest {
1294 /**
1295 * The token for the next set of results.
1296 */
1297 nextToken?: NextToken;
1298 /**
1299 * The maximum number of results to return in this request. The default value is 100.
1300 */
1301 maxResults?: MaxResults;
1302 }
1303 export interface ListPipelinesResponse {
1304 /**
1305 * A list of "PipelineSummary" objects.
1306 */
1307 pipelineSummaries?: PipelineSummaries;
1308 /**
1309 * The token to retrieve the next set of results, or null if there are no more results.
1310 */
1311 nextToken?: NextToken;
1312 }
1313 export interface ListTagsForResourceRequest {
1314 /**
1315 * The ARN of the resource whose tags you want to list.
1316 */
1317 resourceArn: ResourceArn;
1318 }
1319 export interface ListTagsForResourceResponse {
1320 /**
1321 * The tags (metadata) which you have assigned to the resource.
1322 */
1323 tags?: TagList;
1324 }
1325 export type LogResult = string;
1326 export type LoggingEnabled = boolean;
1327 export type LoggingLevel = "ERROR"|string;
1328 export interface LoggingOptions {
1329 /**
1330 * The ARN of the role that grants permission to AWS IoT Analytics to perform logging.
1331 */
1332 roleArn: RoleArn;
1333 /**
1334 * The logging level. Currently, only "ERROR" is supported.
1335 */
1336 level: LoggingLevel;
1337 /**
1338 * If true, logging is enabled for AWS IoT Analytics.
1339 */
1340 enabled: LoggingEnabled;
1341 }
1342 export interface MathActivity {
1343 /**
1344 * The name of the 'math' activity.
1345 */
1346 name: ActivityName;
1347 /**
1348 * The name of the attribute that contains the result of the math operation.
1349 */
1350 attribute: AttributeName;
1351 /**
1352 * An expression that uses one or more existing attributes and must return an integer value.
1353 */
1354 math: MathExpression;
1355 /**
1356 * The next activity in the pipeline.
1357 */
1358 next?: ActivityName;
1359 }
1360 export type MathExpression = string;
1361 export type MaxMessages = number;
1362 export type MaxResults = number;
1363 export type MaxVersions = number;
1364 export interface Message {
1365 /**
1366 * The ID you wish to assign to the message. Each "messageId" must be unique within each batch sent.
1367 */
1368 messageId: MessageId;
1369 /**
1370 * The payload of the message. This may be a JSON string or a Base64-encoded string representing binary data (in which case you must decode it by means of a pipeline activity).
1371 */
1372 payload: MessagePayload;
1373 }
1374 export type MessageId = string;
1375 export type MessagePayload = Buffer|Uint8Array|Blob|string;
1376 export type MessagePayloads = MessagePayload[];
1377 export type Messages = Message[];
1378 export type NextToken = string;
1379 export type OffsetSeconds = number;
1380 export type OutputFileName = string;
1381 export interface OutputFileUriValue {
1382 /**
1383 * The URI of the location where data set contents are stored, usually the URI of a file in an S3 bucket.
1384 */
1385 fileName: OutputFileName;
1386 }
1387 export interface Pipeline {
1388 /**
1389 * The name of the pipeline.
1390 */
1391 name?: PipelineName;
1392 /**
1393 * The ARN of the pipeline.
1394 */
1395 arn?: PipelineArn;
1396 /**
1397 * The activities that perform transformations on the messages.
1398 */
1399 activities?: PipelineActivities;
1400 /**
1401 * A summary of information about the pipeline reprocessing.
1402 */
1403 reprocessingSummaries?: ReprocessingSummaries;
1404 /**
1405 * When the pipeline was created.
1406 */
1407 creationTime?: Timestamp;
1408 /**
1409 * The last time the pipeline was updated.
1410 */
1411 lastUpdateTime?: Timestamp;
1412 }
1413 export type PipelineActivities = PipelineActivity[];
1414 export interface PipelineActivity {
1415 /**
1416 * Determines the source of the messages to be processed.
1417 */
1418 channel?: ChannelActivity;
1419 /**
1420 * Runs a Lambda function to modify the message.
1421 */
1422 lambda?: LambdaActivity;
1423 /**
1424 * Specifies where to store the processed message data.
1425 */
1426 datastore?: DatastoreActivity;
1427 /**
1428 * Adds other attributes based on existing attributes in the message.
1429 */
1430 addAttributes?: AddAttributesActivity;
1431 /**
1432 * Removes attributes from a message.
1433 */
1434 removeAttributes?: RemoveAttributesActivity;
1435 /**
1436 * Creates a new message using only the specified attributes from the original message.
1437 */
1438 selectAttributes?: SelectAttributesActivity;
1439 /**
1440 * Filters a message based on its attributes.
1441 */
1442 filter?: FilterActivity;
1443 /**
1444 * Computes an arithmetic expression using the message's attributes and adds it to the message.
1445 */
1446 math?: MathActivity;
1447 /**
1448 * Adds data from the AWS IoT device registry to your message.
1449 */
1450 deviceRegistryEnrich?: DeviceRegistryEnrichActivity;
1451 /**
1452 * Adds information from the AWS IoT Device Shadows service to a message.
1453 */
1454 deviceShadowEnrich?: DeviceShadowEnrichActivity;
1455 }
1456 export type PipelineArn = string;
1457 export type PipelineName = string;
1458 export type PipelineSummaries = PipelineSummary[];
1459 export interface PipelineSummary {
1460 /**
1461 * The name of the pipeline.
1462 */
1463 pipelineName?: PipelineName;
1464 /**
1465 * A summary of information about the pipeline reprocessing.
1466 */
1467 reprocessingSummaries?: ReprocessingSummaries;
1468 /**
1469 * When the pipeline was created.
1470 */
1471 creationTime?: Timestamp;
1472 /**
1473 * When the pipeline was last updated.
1474 */
1475 lastUpdateTime?: Timestamp;
1476 }
1477 export type PresignedURI = string;
1478 export interface PutLoggingOptionsRequest {
1479 /**
1480 * The new values of the AWS IoT Analytics logging options.
1481 */
1482 loggingOptions: LoggingOptions;
1483 }
1484 export interface QueryFilter {
1485 /**
1486 * Used to limit data to that which has arrived since the last execution of the action.
1487 */
1488 deltaTime?: DeltaTime;
1489 }
1490 export type QueryFilters = QueryFilter[];
1491 export type Reason = string;
1492 export interface RemoveAttributesActivity {
1493 /**
1494 * The name of the 'removeAttributes' activity.
1495 */
1496 name: ActivityName;
1497 /**
1498 * A list of 1-50 attributes to remove from the message.
1499 */
1500 attributes: AttributeNames;
1501 /**
1502 * The next activity in the pipeline.
1503 */
1504 next?: ActivityName;
1505 }
1506 export type ReprocessingId = string;
1507 export type ReprocessingStatus = "RUNNING"|"SUCCEEDED"|"CANCELLED"|"FAILED"|string;
1508 export type ReprocessingSummaries = ReprocessingSummary[];
1509 export interface ReprocessingSummary {
1510 /**
1511 * The 'reprocessingId' returned by "StartPipelineReprocessing".
1512 */
1513 id?: ReprocessingId;
1514 /**
1515 * The status of the pipeline reprocessing.
1516 */
1517 status?: ReprocessingStatus;
1518 /**
1519 * The time the pipeline reprocessing was created.
1520 */
1521 creationTime?: Timestamp;
1522 }
1523 export type ResourceArn = string;
1524 export interface ResourceConfiguration {
1525 /**
1526 * The type of the compute resource used to execute the "containerAction". Possible values are: ACU_1 (vCPU=4, memory=16GiB) or ACU_2 (vCPU=8, memory=32GiB).
1527 */
1528 computeType: ComputeType;
1529 /**
1530 * The size (in GB) of the persistent storage available to the resource instance used to execute the "containerAction" (min: 1, max: 50).
1531 */
1532 volumeSizeInGB: VolumeSizeInGB;
1533 }
1534 export interface RetentionPeriod {
1535 /**
1536 * If true, message data is kept indefinitely.
1537 */
1538 unlimited?: UnlimitedRetentionPeriod;
1539 /**
1540 * The number of days that message data is kept. The "unlimited" parameter must be false.
1541 */
1542 numberOfDays?: RetentionPeriodInDays;
1543 }
1544 export type RetentionPeriodInDays = number;
1545 export type RoleArn = string;
1546 export interface RunPipelineActivityRequest {
1547 /**
1548 * The pipeline activity that is run. This must not be a 'channel' activity or a 'datastore' activity because these activities are used in a pipeline only to load the original message and to store the (possibly) transformed message. If a 'lambda' activity is specified, only short-running Lambda functions (those with a timeout of less than 30 seconds or less) can be used.
1549 */
1550 pipelineActivity: PipelineActivity;
1551 /**
1552 * The sample message payloads on which the pipeline activity is run.
1553 */
1554 payloads: MessagePayloads;
1555 }
1556 export interface RunPipelineActivityResponse {
1557 /**
1558 * The enriched or transformed sample message payloads as base64-encoded strings. (The results of running the pipeline activity on each input sample message payload, encoded in base64.)
1559 */
1560 payloads?: MessagePayloads;
1561 /**
1562 * In case the pipeline activity fails, the log message that is generated.
1563 */
1564 logResult?: LogResult;
1565 }
1566 export interface S3DestinationConfiguration {
1567 /**
1568 * The name of the Amazon S3 bucket to which data set contents are delivered.
1569 */
1570 bucket: BucketName;
1571 /**
1572 * The key of the data set contents object. Each object in an Amazon S3 bucket has a key that is its unique identifier within the bucket (each object in a bucket has exactly one key). To produce a unique key, you can use "!{iotanalytics:scheduledTime}" to insert the time of the scheduled SQL query run, or "!{iotanalytics:versioned} to insert a unique hash identifying the data set, for example: "/DataSet/!{iotanalytics:scheduledTime}/!{iotanalytics:versioned}.csv".
1573 */
1574 key: BucketKeyExpression;
1575 /**
1576 * Configuration information for coordination with the AWS Glue ETL (extract, transform and load) service.
1577 */
1578 glueConfiguration?: GlueConfiguration;
1579 /**
1580 * The ARN of the role which grants AWS IoT Analytics permission to interact with your Amazon S3 and AWS Glue resources.
1581 */
1582 roleArn: RoleArn;
1583 }
1584 export type S3KeyPrefix = string;
1585 export interface SampleChannelDataRequest {
1586 /**
1587 * The name of the channel whose message samples are retrieved.
1588 */
1589 channelName: ChannelName;
1590 /**
1591 * The number of sample messages to be retrieved. The limit is 10, the default is also 10.
1592 */
1593 maxMessages?: MaxMessages;
1594 /**
1595 * The start of the time window from which sample messages are retrieved.
1596 */
1597 startTime?: StartTime;
1598 /**
1599 * The end of the time window from which sample messages are retrieved.
1600 */
1601 endTime?: EndTime;
1602 }
1603 export interface SampleChannelDataResponse {
1604 /**
1605 * The list of message samples. Each sample message is returned as a base64-encoded string.
1606 */
1607 payloads?: MessagePayloads;
1608 }
1609 export interface Schedule {
1610 /**
1611 * The expression that defines when to trigger an update. For more information, see Schedule Expressions for Rules in the Amazon CloudWatch Events User Guide.
1612 */
1613 expression?: ScheduleExpression;
1614 }
1615 export type ScheduleExpression = string;
1616 export interface SelectAttributesActivity {
1617 /**
1618 * The name of the 'selectAttributes' activity.
1619 */
1620 name: ActivityName;
1621 /**
1622 * A list of the attributes to select from the message.
1623 */
1624 attributes: AttributeNames;
1625 /**
1626 * The next activity in the pipeline.
1627 */
1628 next?: ActivityName;
1629 }
1630 export interface ServiceManagedChannelS3Storage {
1631 }
1632 export interface ServiceManagedChannelS3StorageSummary {
1633 }
1634 export interface ServiceManagedDatastoreS3Storage {
1635 }
1636 export interface ServiceManagedDatastoreS3StorageSummary {
1637 }
1638 export type SizeInBytes = number;
1639 export type SqlQuery = string;
1640 export interface SqlQueryDatasetAction {
1641 /**
1642 * A SQL query string.
1643 */
1644 sqlQuery: SqlQuery;
1645 /**
1646 * Pre-filters applied to message data.
1647 */
1648 filters?: QueryFilters;
1649 }
1650 export interface StartPipelineReprocessingRequest {
1651 /**
1652 * The name of the pipeline on which to start reprocessing.
1653 */
1654 pipelineName: PipelineName;
1655 /**
1656 * The start time (inclusive) of raw message data that is reprocessed.
1657 */
1658 startTime?: StartTime;
1659 /**
1660 * The end time (exclusive) of raw message data that is reprocessed.
1661 */
1662 endTime?: EndTime;
1663 }
1664 export interface StartPipelineReprocessingResponse {
1665 /**
1666 * The ID of the pipeline reprocessing activity that was started.
1667 */
1668 reprocessingId?: ReprocessingId;
1669 }
1670 export type StartTime = Date;
1671 export type StringValue = string;
1672 export interface Tag {
1673 /**
1674 * The tag's key.
1675 */
1676 key: TagKey;
1677 /**
1678 * The tag's value.
1679 */
1680 value: TagValue;
1681 }
1682 export type TagKey = string;
1683 export type TagKeyList = TagKey[];
1684 export type TagList = Tag[];
1685 export interface TagResourceRequest {
1686 /**
1687 * The ARN of the resource whose tags you want to modify.
1688 */
1689 resourceArn: ResourceArn;
1690 /**
1691 * The new or modified tags for the resource.
1692 */
1693 tags: TagList;
1694 }
1695 export interface TagResourceResponse {
1696 }
1697 export type TagValue = string;
1698 export type TimeExpression = string;
1699 export type Timestamp = Date;
1700 export interface TriggeringDataset {
1701 /**
1702 * The name of the data set whose content generation triggers the new data set content generation.
1703 */
1704 name: DatasetName;
1705 }
1706 export type UnlimitedRetentionPeriod = boolean;
1707 export type UnlimitedVersioning = boolean;
1708 export interface UntagResourceRequest {
1709 /**
1710 * The ARN of the resource whose tags you want to remove.
1711 */
1712 resourceArn: ResourceArn;
1713 /**
1714 * The keys of those tags which you want to remove.
1715 */
1716 tagKeys: TagKeyList;
1717 }
1718 export interface UntagResourceResponse {
1719 }
1720 export interface UpdateChannelRequest {
1721 /**
1722 * The name of the channel to be updated.
1723 */
1724 channelName: ChannelName;
1725 /**
1726 * Where channel data is stored. You may choose one of "serviceManagedS3" or "customerManagedS3" storage. If not specified, the default is "serviceManagedS3". This cannot be changed after creation of the channel.
1727 */
1728 channelStorage?: ChannelStorage;
1729 /**
1730 * How long, in days, message data is kept for the channel. The retention period cannot be updated if the channel's S3 storage is customer-managed.
1731 */
1732 retentionPeriod?: RetentionPeriod;
1733 }
1734 export interface UpdateDatasetRequest {
1735 /**
1736 * The name of the data set to update.
1737 */
1738 datasetName: DatasetName;
1739 /**
1740 * A list of "DatasetAction" objects.
1741 */
1742 actions: DatasetActions;
1743 /**
1744 * A list of "DatasetTrigger" objects. The list can be empty or can contain up to five DataSetTrigger objects.
1745 */
1746 triggers?: DatasetTriggers;
1747 /**
1748 * When data set contents are created they are delivered to destinations specified here.
1749 */
1750 contentDeliveryRules?: DatasetContentDeliveryRules;
1751 /**
1752 * How long, in days, data set contents are kept for the data set.
1753 */
1754 retentionPeriod?: RetentionPeriod;
1755 /**
1756 * [Optional] How many versions of data set contents are kept. If not specified or set to null, only the latest version plus the latest succeeded version (if they are different) are kept for the time period specified by the "retentionPeriod" parameter. (For more information, see https://docs.aws.amazon.com/iotanalytics/latest/userguide/getting-started.html#aws-iot-analytics-dataset-versions)
1757 */
1758 versioningConfiguration?: VersioningConfiguration;
1759 }
1760 export interface UpdateDatastoreRequest {
1761 /**
1762 * The name of the data store to be updated.
1763 */
1764 datastoreName: DatastoreName;
1765 /**
1766 * How long, in days, message data is kept for the data store. The retention period cannot be updated if the data store's S3 storage is customer-managed.
1767 */
1768 retentionPeriod?: RetentionPeriod;
1769 /**
1770 * Where data store data is stored. You may choose one of "serviceManagedS3" or "customerManagedS3" storage. If not specified, the default is "serviceManagedS3". This cannot be changed after the data store is created.
1771 */
1772 datastoreStorage?: DatastoreStorage;
1773 }
1774 export interface UpdatePipelineRequest {
1775 /**
1776 * The name of the pipeline to update.
1777 */
1778 pipelineName: PipelineName;
1779 /**
1780 * A list of "PipelineActivity" objects. Activities perform transformations on your messages, such as removing, renaming or adding message attributes; filtering messages based on attribute values; invoking your Lambda functions on messages for advanced processing; or performing mathematical transformations to normalize device data. The list can be 2-25 PipelineActivity objects and must contain both a channel and a datastore activity. Each entry in the list must contain only one activity, for example: pipelineActivities = [ { "channel": { ... } }, { "lambda": { ... } }, ... ]
1781 */
1782 pipelineActivities: PipelineActivities;
1783 }
1784 export interface Variable {
1785 /**
1786 * The name of the variable.
1787 */
1788 name: VariableName;
1789 /**
1790 * The value of the variable as a string.
1791 */
1792 stringValue?: StringValue;
1793 /**
1794 * The value of the variable as a double (numeric).
1795 */
1796 doubleValue?: DoubleValue;
1797 /**
1798 * The value of the variable as a structure that specifies a data set content version.
1799 */
1800 datasetContentVersionValue?: DatasetContentVersionValue;
1801 /**
1802 * The value of the variable as a structure that specifies an output file URI.
1803 */
1804 outputFileUriValue?: OutputFileUriValue;
1805 }
1806 export type VariableName = string;
1807 export type Variables = Variable[];
1808 export interface VersioningConfiguration {
1809 /**
1810 * If true, unlimited versions of data set contents will be kept.
1811 */
1812 unlimited?: UnlimitedVersioning;
1813 /**
1814 * How many versions of data set contents will be kept. The "unlimited" parameter must be false.
1815 */
1816 maxVersions?: MaxVersions;
1817 }
1818 export type VolumeSizeInGB = number;
1819 /**
1820 * 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.
1821 */
1822 export type apiVersion = "2017-11-27"|"latest"|string;
1823 export interface ClientApiVersions {
1824 /**
1825 * 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.
1826 */
1827 apiVersion?: apiVersion;
1828 }
1829 export type ClientConfiguration = ServiceConfigurationOptions & ClientApiVersions;
1830 /**
1831 * Contains interfaces for use with the IoTAnalytics client.
1832 */
1833 export import Types = IoTAnalytics;
1834}
1835export = IoTAnalytics;