Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

IoTEvents

import { IoTEvents } from "https://aws-api.deno.dev/v0.4/services/iotevents.ts?docs=full";
class IoTEvents {
constructor(apiFactory: client.ApiFactory);
async createAlarmModel(params: CreateAlarmModelRequest, opts?: client.RequestOptions): Promise<CreateAlarmModelResponse>;
async createDetectorModel(params: CreateDetectorModelRequest, opts?: client.RequestOptions): Promise<CreateDetectorModelResponse>;
async createInput(params: CreateInputRequest, opts?: client.RequestOptions): Promise<CreateInputResponse>;
async deleteAlarmModel(params: DeleteAlarmModelRequest, opts?: client.RequestOptions): Promise<void>;
async deleteDetectorModel(params: DeleteDetectorModelRequest, opts?: client.RequestOptions): Promise<void>;
async deleteInput(params: DeleteInputRequest, opts?: client.RequestOptions): Promise<void>;
async describeAlarmModel(params: DescribeAlarmModelRequest, opts?: client.RequestOptions): Promise<DescribeAlarmModelResponse>;
async describeDetectorModel(params: DescribeDetectorModelRequest, opts?: client.RequestOptions): Promise<DescribeDetectorModelResponse>;
async describeDetectorModelAnalysis(params: DescribeDetectorModelAnalysisRequest, opts?: client.RequestOptions): Promise<DescribeDetectorModelAnalysisResponse>;
async describeInput(params: DescribeInputRequest, opts?: client.RequestOptions): Promise<DescribeInputResponse>;
async describeLoggingOptions(opts?: client.RequestOptions): Promise<DescribeLoggingOptionsResponse>;
async getDetectorModelAnalysisResults(params: GetDetectorModelAnalysisResultsRequest, opts?: client.RequestOptions): Promise<GetDetectorModelAnalysisResultsResponse>;
async listAlarmModels(params?: ListAlarmModelsRequest, opts?: client.RequestOptions): Promise<ListAlarmModelsResponse>;
async listAlarmModelVersions(params: ListAlarmModelVersionsRequest, opts?: client.RequestOptions): Promise<ListAlarmModelVersionsResponse>;
async listDetectorModels(params?: ListDetectorModelsRequest, opts?: client.RequestOptions): Promise<ListDetectorModelsResponse>;
async listDetectorModelVersions(params: ListDetectorModelVersionsRequest, opts?: client.RequestOptions): Promise<ListDetectorModelVersionsResponse>;
async listInputRoutings(params: ListInputRoutingsRequest, opts?: client.RequestOptions): Promise<ListInputRoutingsResponse>;
async listInputs(params?: ListInputsRequest, opts?: client.RequestOptions): Promise<ListInputsResponse>;
async listTagsForResource(params: ListTagsForResourceRequest, opts?: client.RequestOptions): Promise<ListTagsForResourceResponse>;
async putLoggingOptions(params: PutLoggingOptionsRequest, opts?: client.RequestOptions): Promise<void>;
async startDetectorModelAnalysis(params: StartDetectorModelAnalysisRequest, opts?: client.RequestOptions): Promise<StartDetectorModelAnalysisResponse>;
async tagResource(params: TagResourceRequest, opts?: client.RequestOptions): Promise<void>;
async untagResource(params: UntagResourceRequest, opts?: client.RequestOptions): Promise<void>;
async updateAlarmModel(params: UpdateAlarmModelRequest, opts?: client.RequestOptions): Promise<UpdateAlarmModelResponse>;
async updateDetectorModel(params: UpdateDetectorModelRequest, opts?: client.RequestOptions): Promise<UpdateDetectorModelResponse>;
async updateInput(params: UpdateInputRequest, opts?: client.RequestOptions): Promise<UpdateInputResponse>;
 
static ApiMetadata: client.ApiMetadata;
}

§Constructors

§
new IoTEvents(apiFactory: client.ApiFactory)
[src]

§Methods

§

Creates an alarm model to monitor an AWS IoT Events input attribute. You can use the alarm to get notified when the value is outside a specified range. For more information, see Create an alarm model in the AWS IoT Events Developer Guide.

§

Creates a detector model.

§

Creates an input.

§
deleteAlarmModel(params: DeleteAlarmModelRequest, opts?: client.RequestOptions): Promise<void>
[src]

Deletes an alarm model. Any alarm instances that were created based on this alarm model are also deleted. This action can't be undone.

§
deleteDetectorModel(params: DeleteDetectorModelRequest, opts?: client.RequestOptions): Promise<void>
[src]

Deletes a detector model. Any active instances of the detector model are also deleted.

§
deleteInput(params: DeleteInputRequest, opts?: client.RequestOptions): Promise<void>
[src]

Deletes an input.

§

Retrieves information about an alarm model. If you don't specify a value for the alarmModelVersion parameter, the latest version is returned.

§

Describes a detector model. If the version parameter is not specified, information about the latest version is returned.

§

Retrieves runtime information about a detector model analysis.

Note: After AWS IoT Events starts analyzing your detector model, you have up to 24 hours to retrieve the analysis results.

§

Describes an input.

§
describeLoggingOptions(opts?: client.RequestOptions): Promise<DescribeLoggingOptionsResponse>
[src]

Retrieves the current settings of the AWS IoT Events logging options.

§

Retrieves one or more analysis results of the detector model.

Note: After AWS IoT Events starts analyzing your detector model, you have up to 24 hours to retrieve the analysis results.

§

Lists the alarm models that you created. The operation returns only the metadata associated with each alarm model.

§

Lists all the versions of an alarm model. The operation returns only the metadata associated with each alarm model version.

§

Lists the detector models you have created. Only the metadata associated with each detector model is returned.

§

Lists all the versions of a detector model. Only the metadata associated with each detector model version is returned.

§

Lists one or more input routings.

§
listInputs(params?: ListInputsRequest, opts?: client.RequestOptions): Promise<ListInputsResponse>
[src]

Lists the inputs you have created.

§

Lists the tags (metadata) you have assigned to the resource.

§
putLoggingOptions(params: PutLoggingOptionsRequest, opts?: client.RequestOptions): Promise<void>
[src]

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.

§

Performs an analysis of your detector model. For more information, see Troubleshooting a detector model in the AWS IoT Events Developer Guide.

§
tagResource(params: TagResourceRequest, opts?: client.RequestOptions): Promise<void>
[src]

Adds to or modifies the tags of the given resource. Tags are metadata that can be used to manage a resource.

§
untagResource(params: UntagResourceRequest, opts?: client.RequestOptions): Promise<void>
[src]

Removes the given tags (metadata) from the resource.

§

Updates an alarm model. Any alarms that were created based on the previous version are deleted and then created again as new data arrives.

§

Updates a detector model. Detectors (instances) spawned by the previous version are deleted and then re-created as new inputs arrive.

§

Updates an input.

§Static Properties