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';
|
7 | interface Blob {}
|
8 | declare class IoTEvents extends Service {
|
9 | |
10 |
|
11 |
|
12 | constructor(options?: IoTEvents.Types.ClientConfiguration)
|
13 | config: Config & IoTEvents.Types.ClientConfiguration;
|
14 | /**
|
15 | * Creates a detector model.
|
16 | */
|
17 | createDetectorModel(params: IoTEvents.Types.CreateDetectorModelRequest, callback?: (err: AWSError, data: IoTEvents.Types.CreateDetectorModelResponse) => void): Request<IoTEvents.Types.CreateDetectorModelResponse, AWSError>;
|
18 | /**
|
19 | * Creates a detector model.
|
20 | */
|
21 | createDetectorModel(callback?: (err: AWSError, data: IoTEvents.Types.CreateDetectorModelResponse) => void): Request<IoTEvents.Types.CreateDetectorModelResponse, AWSError>;
|
22 | /**
|
23 | * Creates an input.
|
24 | */
|
25 | createInput(params: IoTEvents.Types.CreateInputRequest, callback?: (err: AWSError, data: IoTEvents.Types.CreateInputResponse) => void): Request<IoTEvents.Types.CreateInputResponse, AWSError>;
|
26 | /**
|
27 | * Creates an input.
|
28 | */
|
29 | createInput(callback?: (err: AWSError, data: IoTEvents.Types.CreateInputResponse) => void): Request<IoTEvents.Types.CreateInputResponse, AWSError>;
|
30 | /**
|
31 | * Deletes a detector model. Any active instances of the detector model are also deleted.
|
32 | */
|
33 | deleteDetectorModel(params: IoTEvents.Types.DeleteDetectorModelRequest, callback?: (err: AWSError, data: IoTEvents.Types.DeleteDetectorModelResponse) => void): Request<IoTEvents.Types.DeleteDetectorModelResponse, AWSError>;
|
34 | /**
|
35 | * Deletes a detector model. Any active instances of the detector model are also deleted.
|
36 | */
|
37 | deleteDetectorModel(callback?: (err: AWSError, data: IoTEvents.Types.DeleteDetectorModelResponse) => void): Request<IoTEvents.Types.DeleteDetectorModelResponse, AWSError>;
|
38 | /**
|
39 | * Deletes an input.
|
40 | */
|
41 | deleteInput(params: IoTEvents.Types.DeleteInputRequest, callback?: (err: AWSError, data: IoTEvents.Types.DeleteInputResponse) => void): Request<IoTEvents.Types.DeleteInputResponse, AWSError>;
|
42 | /**
|
43 | * Deletes an input.
|
44 | */
|
45 | deleteInput(callback?: (err: AWSError, data: IoTEvents.Types.DeleteInputResponse) => void): Request<IoTEvents.Types.DeleteInputResponse, AWSError>;
|
46 | /**
|
47 | * Describes a detector model. If the version parameter is not specified, information about the latest version is returned.
|
48 | */
|
49 | describeDetectorModel(params: IoTEvents.Types.DescribeDetectorModelRequest, callback?: (err: AWSError, data: IoTEvents.Types.DescribeDetectorModelResponse) => void): Request<IoTEvents.Types.DescribeDetectorModelResponse, AWSError>;
|
50 | /**
|
51 | * Describes a detector model. If the version parameter is not specified, information about the latest version is returned.
|
52 | */
|
53 | describeDetectorModel(callback?: (err: AWSError, data: IoTEvents.Types.DescribeDetectorModelResponse) => void): Request<IoTEvents.Types.DescribeDetectorModelResponse, AWSError>;
|
54 | /**
|
55 | * Describes an input.
|
56 | */
|
57 | describeInput(params: IoTEvents.Types.DescribeInputRequest, callback?: (err: AWSError, data: IoTEvents.Types.DescribeInputResponse) => void): Request<IoTEvents.Types.DescribeInputResponse, AWSError>;
|
58 | /**
|
59 | * Describes an input.
|
60 | */
|
61 | describeInput(callback?: (err: AWSError, data: IoTEvents.Types.DescribeInputResponse) => void): Request<IoTEvents.Types.DescribeInputResponse, AWSError>;
|
62 | /**
|
63 | * Retrieves the current settings of the AWS IoT Events logging options.
|
64 | */
|
65 | describeLoggingOptions(params: IoTEvents.Types.DescribeLoggingOptionsRequest, callback?: (err: AWSError, data: IoTEvents.Types.DescribeLoggingOptionsResponse) => void): Request<IoTEvents.Types.DescribeLoggingOptionsResponse, AWSError>;
|
66 | /**
|
67 | * Retrieves the current settings of the AWS IoT Events logging options.
|
68 | */
|
69 | describeLoggingOptions(callback?: (err: AWSError, data: IoTEvents.Types.DescribeLoggingOptionsResponse) => void): Request<IoTEvents.Types.DescribeLoggingOptionsResponse, AWSError>;
|
70 | /**
|
71 | * Lists all the versions of a detector model. Only the metadata associated with each detector model version is returned.
|
72 | */
|
73 | listDetectorModelVersions(params: IoTEvents.Types.ListDetectorModelVersionsRequest, callback?: (err: AWSError, data: IoTEvents.Types.ListDetectorModelVersionsResponse) => void): Request<IoTEvents.Types.ListDetectorModelVersionsResponse, AWSError>;
|
74 | /**
|
75 | * Lists all the versions of a detector model. Only the metadata associated with each detector model version is returned.
|
76 | */
|
77 | listDetectorModelVersions(callback?: (err: AWSError, data: IoTEvents.Types.ListDetectorModelVersionsResponse) => void): Request<IoTEvents.Types.ListDetectorModelVersionsResponse, AWSError>;
|
78 | /**
|
79 | * Lists the detector models you have created. Only the metadata associated with each detector model is returned.
|
80 | */
|
81 | listDetectorModels(params: IoTEvents.Types.ListDetectorModelsRequest, callback?: (err: AWSError, data: IoTEvents.Types.ListDetectorModelsResponse) => void): Request<IoTEvents.Types.ListDetectorModelsResponse, AWSError>;
|
82 | /**
|
83 | * Lists the detector models you have created. Only the metadata associated with each detector model is returned.
|
84 | */
|
85 | listDetectorModels(callback?: (err: AWSError, data: IoTEvents.Types.ListDetectorModelsResponse) => void): Request<IoTEvents.Types.ListDetectorModelsResponse, AWSError>;
|
86 | /**
|
87 | * Lists the inputs you have created.
|
88 | */
|
89 | listInputs(params: IoTEvents.Types.ListInputsRequest, callback?: (err: AWSError, data: IoTEvents.Types.ListInputsResponse) => void): Request<IoTEvents.Types.ListInputsResponse, AWSError>;
|
90 | /**
|
91 | * Lists the inputs you have created.
|
92 | */
|
93 | listInputs(callback?: (err: AWSError, data: IoTEvents.Types.ListInputsResponse) => void): Request<IoTEvents.Types.ListInputsResponse, AWSError>;
|
94 | /**
|
95 | * Lists the tags (metadata) you have assigned to the resource.
|
96 | */
|
97 | listTagsForResource(params: IoTEvents.Types.ListTagsForResourceRequest, callback?: (err: AWSError, data: IoTEvents.Types.ListTagsForResourceResponse) => void): Request<IoTEvents.Types.ListTagsForResourceResponse, AWSError>;
|
98 | /**
|
99 | * Lists the tags (metadata) you have assigned to the resource.
|
100 | */
|
101 | listTagsForResource(callback?: (err: AWSError, data: IoTEvents.Types.ListTagsForResourceResponse) => void): Request<IoTEvents.Types.ListTagsForResourceResponse, AWSError>;
|
102 | /**
|
103 | * Sets or updates the AWS IoT Events logging options. If you update the value of any loggingOptions field, it takes up to one minute for the change to take effect. 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 five minutes for that change to take effect.
|
104 | */
|
105 | putLoggingOptions(params: IoTEvents.Types.PutLoggingOptionsRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
|
106 | |
107 |
|
108 |
|
109 | putLoggingOptions(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
|
110 | |
111 |
|
112 |
|
113 | tagResource(params: IoTEvents.Types.TagResourceRequest, callback?: (err: AWSError, data: IoTEvents.Types.TagResourceResponse) => void): Request<IoTEvents.Types.TagResourceResponse, AWSError>;
|
114 | |
115 |
|
116 |
|
117 | tagResource(callback?: (err: AWSError, data: IoTEvents.Types.TagResourceResponse) => void): Request<IoTEvents.Types.TagResourceResponse, AWSError>;
|
118 | |
119 |
|
120 |
|
121 | untagResource(params: IoTEvents.Types.UntagResourceRequest, callback?: (err: AWSError, data: IoTEvents.Types.UntagResourceResponse) => void): Request<IoTEvents.Types.UntagResourceResponse, AWSError>;
|
122 | |
123 |
|
124 |
|
125 | untagResource(callback?: (err: AWSError, data: IoTEvents.Types.UntagResourceResponse) => void): Request<IoTEvents.Types.UntagResourceResponse, AWSError>;
|
126 | |
127 |
|
128 |
|
129 | updateDetectorModel(params: IoTEvents.Types.UpdateDetectorModelRequest, callback?: (err: AWSError, data: IoTEvents.Types.UpdateDetectorModelResponse) => void): Request<IoTEvents.Types.UpdateDetectorModelResponse, AWSError>;
|
130 | |
131 |
|
132 |
|
133 | updateDetectorModel(callback?: (err: AWSError, data: IoTEvents.Types.UpdateDetectorModelResponse) => void): Request<IoTEvents.Types.UpdateDetectorModelResponse, AWSError>;
|
134 | |
135 |
|
136 |
|
137 | updateInput(params: IoTEvents.Types.UpdateInputRequest, callback?: (err: AWSError, data: IoTEvents.Types.UpdateInputResponse) => void): Request<IoTEvents.Types.UpdateInputResponse, AWSError>;
|
138 | |
139 |
|
140 |
|
141 | updateInput(callback?: (err: AWSError, data: IoTEvents.Types.UpdateInputResponse) => void): Request<IoTEvents.Types.UpdateInputResponse, AWSError>;
|
142 | }
|
143 | declare namespace IoTEvents {
|
144 | export interface Action {
|
145 | |
146 |
|
147 |
|
148 | setVariable?: SetVariableAction;
|
149 | |
150 |
|
151 |
|
152 | sns?: SNSTopicPublishAction;
|
153 | |
154 |
|
155 |
|
156 | iotTopicPublish?: IotTopicPublishAction;
|
157 | |
158 |
|
159 |
|
160 | setTimer?: SetTimerAction;
|
161 | |
162 |
|
163 |
|
164 | clearTimer?: ClearTimerAction;
|
165 | |
166 |
|
167 |
|
168 | resetTimer?: ResetTimerAction;
|
169 | |
170 |
|
171 |
|
172 | lambda?: LambdaAction;
|
173 | |
174 |
|
175 |
|
176 | iotEvents?: IotEventsAction;
|
177 | |
178 |
|
179 |
|
180 | sqs?: SqsAction;
|
181 | |
182 |
|
183 |
|
184 | firehose?: FirehoseAction;
|
185 | }
|
186 | export type Actions = Action[];
|
187 | export type AmazonResourceName = string;
|
188 | export interface Attribute {
|
189 | |
190 |
|
191 |
|
192 | jsonPath: AttributeJsonPath;
|
193 | }
|
194 | export type AttributeJsonPath = string;
|
195 | export type Attributes = Attribute[];
|
196 | export interface ClearTimerAction {
|
197 | |
198 |
|
199 |
|
200 | timerName: TimerName;
|
201 | }
|
202 | export type Condition = string;
|
203 | export interface CreateDetectorModelRequest {
|
204 | |
205 |
|
206 |
|
207 | detectorModelName: DetectorModelName;
|
208 | |
209 |
|
210 |
|
211 | detectorModelDefinition: DetectorModelDefinition;
|
212 | |
213 |
|
214 |
|
215 | detectorModelDescription?: DetectorModelDescription;
|
216 | |
217 |
|
218 |
|
219 | key?: AttributeJsonPath;
|
220 | |
221 |
|
222 |
|
223 | roleArn: AmazonResourceName;
|
224 | |
225 |
|
226 |
|
227 | tags?: Tags;
|
228 | |
229 |
|
230 |
|
231 | evaluationMethod?: EvaluationMethod;
|
232 | }
|
233 | export interface CreateDetectorModelResponse {
|
234 | |
235 |
|
236 |
|
237 | detectorModelConfiguration?: DetectorModelConfiguration;
|
238 | }
|
239 | export interface CreateInputRequest {
|
240 | |
241 |
|
242 |
|
243 | inputName: InputName;
|
244 | |
245 |
|
246 |
|
247 | inputDescription?: InputDescription;
|
248 | |
249 |
|
250 |
|
251 | inputDefinition: InputDefinition;
|
252 | |
253 |
|
254 |
|
255 | tags?: Tags;
|
256 | }
|
257 | export interface CreateInputResponse {
|
258 | |
259 |
|
260 |
|
261 | inputConfiguration?: InputConfiguration;
|
262 | }
|
263 | export interface DeleteDetectorModelRequest {
|
264 | |
265 |
|
266 |
|
267 | detectorModelName: DetectorModelName;
|
268 | }
|
269 | export interface DeleteDetectorModelResponse {
|
270 | }
|
271 | export interface DeleteInputRequest {
|
272 | |
273 |
|
274 |
|
275 | inputName: InputName;
|
276 | }
|
277 | export interface DeleteInputResponse {
|
278 | }
|
279 | export type DeliveryStreamName = string;
|
280 | export interface DescribeDetectorModelRequest {
|
281 | |
282 |
|
283 |
|
284 | detectorModelName: DetectorModelName;
|
285 | |
286 |
|
287 |
|
288 | detectorModelVersion?: DetectorModelVersion;
|
289 | }
|
290 | export interface DescribeDetectorModelResponse {
|
291 | |
292 |
|
293 |
|
294 | detectorModel?: DetectorModel;
|
295 | }
|
296 | export interface DescribeInputRequest {
|
297 | |
298 |
|
299 |
|
300 | inputName: InputName;
|
301 | }
|
302 | export interface DescribeInputResponse {
|
303 | |
304 |
|
305 |
|
306 | input?: Input;
|
307 | }
|
308 | export interface DescribeLoggingOptionsRequest {
|
309 | }
|
310 | export interface DescribeLoggingOptionsResponse {
|
311 | |
312 |
|
313 |
|
314 | loggingOptions?: LoggingOptions;
|
315 | }
|
316 | export interface DetectorDebugOption {
|
317 | |
318 |
|
319 |
|
320 | detectorModelName: DetectorModelName;
|
321 | |
322 |
|
323 |
|
324 | keyValue?: KeyValue;
|
325 | }
|
326 | export type DetectorDebugOptions = DetectorDebugOption[];
|
327 | export interface DetectorModel {
|
328 | |
329 |
|
330 |
|
331 | detectorModelDefinition?: DetectorModelDefinition;
|
332 | |
333 |
|
334 |
|
335 | detectorModelConfiguration?: DetectorModelConfiguration;
|
336 | }
|
337 | export type DetectorModelArn = string;
|
338 | export interface DetectorModelConfiguration {
|
339 | |
340 |
|
341 |
|
342 | detectorModelName?: DetectorModelName;
|
343 | |
344 |
|
345 |
|
346 | detectorModelVersion?: DetectorModelVersion;
|
347 | |
348 |
|
349 |
|
350 | detectorModelDescription?: DetectorModelDescription;
|
351 | |
352 |
|
353 |
|
354 | detectorModelArn?: DetectorModelArn;
|
355 | |
356 |
|
357 |
|
358 | roleArn?: AmazonResourceName;
|
359 | |
360 |
|
361 |
|
362 | creationTime?: Timestamp;
|
363 | |
364 |
|
365 |
|
366 | lastUpdateTime?: Timestamp;
|
367 | |
368 |
|
369 |
|
370 | status?: DetectorModelVersionStatus;
|
371 | |
372 |
|
373 |
|
374 | key?: AttributeJsonPath;
|
375 | |
376 |
|
377 |
|
378 | evaluationMethod?: EvaluationMethod;
|
379 | }
|
380 | export interface DetectorModelDefinition {
|
381 | |
382 |
|
383 |
|
384 | states: States;
|
385 | |
386 |
|
387 |
|
388 | initialStateName: StateName;
|
389 | }
|
390 | export type DetectorModelDescription = string;
|
391 | export type DetectorModelName = string;
|
392 | export type DetectorModelSummaries = DetectorModelSummary[];
|
393 | export interface DetectorModelSummary {
|
394 | |
395 |
|
396 |
|
397 | detectorModelName?: DetectorModelName;
|
398 | |
399 |
|
400 |
|
401 | detectorModelDescription?: DetectorModelDescription;
|
402 | |
403 |
|
404 |
|
405 | creationTime?: Timestamp;
|
406 | }
|
407 | export type DetectorModelVersion = string;
|
408 | export type DetectorModelVersionStatus = "ACTIVE"|"ACTIVATING"|"INACTIVE"|"DEPRECATED"|"DRAFT"|"PAUSED"|"FAILED"|string;
|
409 | export type DetectorModelVersionSummaries = DetectorModelVersionSummary[];
|
410 | export interface DetectorModelVersionSummary {
|
411 | |
412 |
|
413 |
|
414 | detectorModelName?: DetectorModelName;
|
415 | |
416 |
|
417 |
|
418 | detectorModelVersion?: DetectorModelVersion;
|
419 | |
420 |
|
421 |
|
422 | detectorModelArn?: DetectorModelArn;
|
423 | |
424 |
|
425 |
|
426 | roleArn?: AmazonResourceName;
|
427 | |
428 |
|
429 |
|
430 | creationTime?: Timestamp;
|
431 | |
432 |
|
433 |
|
434 | lastUpdateTime?: Timestamp;
|
435 | |
436 |
|
437 |
|
438 | status?: DetectorModelVersionStatus;
|
439 | |
440 |
|
441 |
|
442 | evaluationMethod?: EvaluationMethod;
|
443 | }
|
444 | export type EvaluationMethod = "BATCH"|"SERIAL"|string;
|
445 | export interface Event {
|
446 | |
447 |
|
448 |
|
449 | eventName: EventName;
|
450 | |
451 |
|
452 |
|
453 | condition?: Condition;
|
454 | |
455 |
|
456 |
|
457 | actions?: Actions;
|
458 | }
|
459 | export type EventName = string;
|
460 | export type Events = Event[];
|
461 | export interface FirehoseAction {
|
462 | |
463 |
|
464 |
|
465 | deliveryStreamName: DeliveryStreamName;
|
466 | |
467 |
|
468 |
|
469 | separator?: FirehoseSeparator;
|
470 | }
|
471 | export type FirehoseSeparator = string;
|
472 | export interface Input {
|
473 | |
474 |
|
475 |
|
476 | inputConfiguration?: InputConfiguration;
|
477 | |
478 |
|
479 |
|
480 | inputDefinition?: InputDefinition;
|
481 | }
|
482 | export type InputArn = string;
|
483 | export interface InputConfiguration {
|
484 | |
485 |
|
486 |
|
487 | inputName: InputName;
|
488 | |
489 |
|
490 |
|
491 | inputDescription?: InputDescription;
|
492 | |
493 |
|
494 |
|
495 | inputArn: InputArn;
|
496 | |
497 |
|
498 |
|
499 | creationTime: Timestamp;
|
500 | |
501 |
|
502 |
|
503 | lastUpdateTime: Timestamp;
|
504 | |
505 |
|
506 |
|
507 | status: InputStatus;
|
508 | }
|
509 | export interface InputDefinition {
|
510 | |
511 |
|
512 |
|
513 | attributes: Attributes;
|
514 | }
|
515 | export type InputDescription = string;
|
516 | export type InputName = string;
|
517 | export type InputStatus = "CREATING"|"UPDATING"|"ACTIVE"|"DELETING"|string;
|
518 | export type InputSummaries = InputSummary[];
|
519 | export interface InputSummary {
|
520 | |
521 |
|
522 |
|
523 | inputName?: InputName;
|
524 | |
525 |
|
526 |
|
527 | inputDescription?: InputDescription;
|
528 | |
529 |
|
530 |
|
531 | inputArn?: InputArn;
|
532 | |
533 |
|
534 |
|
535 | creationTime?: Timestamp;
|
536 | |
537 |
|
538 |
|
539 | lastUpdateTime?: Timestamp;
|
540 | |
541 |
|
542 |
|
543 | status?: InputStatus;
|
544 | }
|
545 | export interface IotEventsAction {
|
546 | |
547 |
|
548 |
|
549 | inputName: InputName;
|
550 | }
|
551 | export interface IotTopicPublishAction {
|
552 | |
553 |
|
554 |
|
555 | mqttTopic: MQTTTopic;
|
556 | }
|
557 | export type KeyValue = string;
|
558 | export interface LambdaAction {
|
559 | |
560 |
|
561 |
|
562 | functionArn: AmazonResourceName;
|
563 | }
|
564 | export interface ListDetectorModelVersionsRequest {
|
565 | |
566 |
|
567 |
|
568 | detectorModelName: DetectorModelName;
|
569 | |
570 |
|
571 |
|
572 | nextToken?: NextToken;
|
573 | |
574 |
|
575 |
|
576 | maxResults?: MaxResults;
|
577 | }
|
578 | export interface ListDetectorModelVersionsResponse {
|
579 | |
580 |
|
581 |
|
582 | detectorModelVersionSummaries?: DetectorModelVersionSummaries;
|
583 | |
584 |
|
585 |
|
586 | nextToken?: NextToken;
|
587 | }
|
588 | export interface ListDetectorModelsRequest {
|
589 | |
590 |
|
591 |
|
592 | nextToken?: NextToken;
|
593 | |
594 |
|
595 |
|
596 | maxResults?: MaxResults;
|
597 | }
|
598 | export interface ListDetectorModelsResponse {
|
599 | |
600 |
|
601 |
|
602 | detectorModelSummaries?: DetectorModelSummaries;
|
603 | |
604 |
|
605 |
|
606 | nextToken?: NextToken;
|
607 | }
|
608 | export interface ListInputsRequest {
|
609 | |
610 |
|
611 |
|
612 | nextToken?: NextToken;
|
613 | |
614 |
|
615 |
|
616 | maxResults?: MaxResults;
|
617 | }
|
618 | export interface ListInputsResponse {
|
619 | |
620 |
|
621 |
|
622 | inputSummaries?: InputSummaries;
|
623 | |
624 |
|
625 |
|
626 | nextToken?: NextToken;
|
627 | }
|
628 | export interface ListTagsForResourceRequest {
|
629 | |
630 |
|
631 |
|
632 | resourceArn: AmazonResourceName;
|
633 | }
|
634 | export interface ListTagsForResourceResponse {
|
635 | |
636 |
|
637 |
|
638 | tags?: Tags;
|
639 | }
|
640 | export type LoggingEnabled = boolean;
|
641 | export type LoggingLevel = "ERROR"|"INFO"|"DEBUG"|string;
|
642 | export interface LoggingOptions {
|
643 | |
644 |
|
645 |
|
646 | roleArn: AmazonResourceName;
|
647 | |
648 |
|
649 |
|
650 | level: LoggingLevel;
|
651 | |
652 |
|
653 |
|
654 | enabled: LoggingEnabled;
|
655 | |
656 |
|
657 |
|
658 | detectorDebugOptions?: DetectorDebugOptions;
|
659 | }
|
660 | export type MQTTTopic = string;
|
661 | export type MaxResults = number;
|
662 | export type NextToken = string;
|
663 | export interface OnEnterLifecycle {
|
664 | |
665 |
|
666 |
|
667 | events?: Events;
|
668 | }
|
669 | export interface OnExitLifecycle {
|
670 | |
671 |
|
672 |
|
673 | events?: Events;
|
674 | }
|
675 | export interface OnInputLifecycle {
|
676 | |
677 |
|
678 |
|
679 | events?: Events;
|
680 | |
681 |
|
682 |
|
683 | transitionEvents?: TransitionEvents;
|
684 | }
|
685 | export interface PutLoggingOptionsRequest {
|
686 | |
687 |
|
688 |
|
689 | loggingOptions: LoggingOptions;
|
690 | }
|
691 | export type QueueUrl = string;
|
692 | export interface ResetTimerAction {
|
693 | |
694 |
|
695 |
|
696 | timerName: TimerName;
|
697 | }
|
698 | export interface SNSTopicPublishAction {
|
699 | |
700 |
|
701 |
|
702 | targetArn: AmazonResourceName;
|
703 | }
|
704 | export type Seconds = number;
|
705 | export interface SetTimerAction {
|
706 | |
707 |
|
708 |
|
709 | timerName: TimerName;
|
710 | |
711 |
|
712 |
|
713 | seconds?: Seconds;
|
714 | |
715 |
|
716 |
|
717 | durationExpression?: VariableValue;
|
718 | }
|
719 | export interface SetVariableAction {
|
720 | |
721 |
|
722 |
|
723 | variableName: VariableName;
|
724 | |
725 |
|
726 |
|
727 | value: VariableValue;
|
728 | }
|
729 | export interface SqsAction {
|
730 | |
731 |
|
732 |
|
733 | queueUrl: QueueUrl;
|
734 | |
735 |
|
736 |
|
737 | useBase64?: UseBase64;
|
738 | }
|
739 | export interface State {
|
740 | |
741 |
|
742 |
|
743 | stateName: StateName;
|
744 | |
745 |
|
746 |
|
747 | onInput?: OnInputLifecycle;
|
748 | |
749 |
|
750 |
|
751 | onEnter?: OnEnterLifecycle;
|
752 | |
753 |
|
754 |
|
755 | onExit?: OnExitLifecycle;
|
756 | }
|
757 | export type StateName = string;
|
758 | export type States = State[];
|
759 | export interface Tag {
|
760 | |
761 |
|
762 |
|
763 | key: TagKey;
|
764 | |
765 |
|
766 |
|
767 | value: TagValue;
|
768 | }
|
769 | export type TagKey = string;
|
770 | export type TagKeys = TagKey[];
|
771 | export interface TagResourceRequest {
|
772 | |
773 |
|
774 |
|
775 | resourceArn: AmazonResourceName;
|
776 | |
777 |
|
778 |
|
779 | tags: Tags;
|
780 | }
|
781 | export interface TagResourceResponse {
|
782 | }
|
783 | export type TagValue = string;
|
784 | export type Tags = Tag[];
|
785 | export type TimerName = string;
|
786 | export type Timestamp = Date;
|
787 | export interface TransitionEvent {
|
788 | |
789 |
|
790 |
|
791 | eventName: EventName;
|
792 | |
793 |
|
794 |
|
795 | condition: Condition;
|
796 | |
797 |
|
798 |
|
799 | actions?: Actions;
|
800 | |
801 |
|
802 |
|
803 | nextState: StateName;
|
804 | }
|
805 | export type TransitionEvents = TransitionEvent[];
|
806 | export interface UntagResourceRequest {
|
807 | |
808 |
|
809 |
|
810 | resourceArn: AmazonResourceName;
|
811 | |
812 |
|
813 |
|
814 | tagKeys: TagKeys;
|
815 | }
|
816 | export interface UntagResourceResponse {
|
817 | }
|
818 | export interface UpdateDetectorModelRequest {
|
819 | |
820 |
|
821 |
|
822 | detectorModelName: DetectorModelName;
|
823 | |
824 |
|
825 |
|
826 | detectorModelDefinition: DetectorModelDefinition;
|
827 | |
828 |
|
829 |
|
830 | detectorModelDescription?: DetectorModelDescription;
|
831 | |
832 |
|
833 |
|
834 | roleArn: AmazonResourceName;
|
835 | |
836 |
|
837 |
|
838 | evaluationMethod?: EvaluationMethod;
|
839 | }
|
840 | export interface UpdateDetectorModelResponse {
|
841 | |
842 |
|
843 |
|
844 | detectorModelConfiguration?: DetectorModelConfiguration;
|
845 | }
|
846 | export interface UpdateInputRequest {
|
847 | |
848 |
|
849 |
|
850 | inputName: InputName;
|
851 | |
852 |
|
853 |
|
854 | inputDescription?: InputDescription;
|
855 | |
856 |
|
857 |
|
858 | inputDefinition: InputDefinition;
|
859 | }
|
860 | export interface UpdateInputResponse {
|
861 | |
862 |
|
863 |
|
864 | inputConfiguration?: InputConfiguration;
|
865 | }
|
866 | export type UseBase64 = boolean;
|
867 | export type VariableName = string;
|
868 | export type VariableValue = string;
|
869 | |
870 |
|
871 |
|
872 | export type apiVersion = "2018-07-27"|"latest"|string;
|
873 | export interface ClientApiVersions {
|
874 | |
875 |
|
876 |
|
877 | apiVersion?: apiVersion;
|
878 | }
|
879 | export type ClientConfiguration = ServiceConfigurationOptions & ClientApiVersions;
|
880 | |
881 |
|
882 |
|
883 | export import Types = IoTEvents;
|
884 | }
|
885 | export = IoTEvents;
|