Iot Events

This page documents function available when using the Iot_Events module, created with @service Iot_Events.

Index

Documentation

Main.Iot_Events.create_detector_modelMethod
create_detector_model(detector_model_definition, detector_model_name, role_arn)
create_detector_model(detector_model_definition, detector_model_name, role_arn, params::Dict{String,<:Any})

Creates a detector model.

Arguments

  • detector_model_definition: Information that defines how the detectors operate.
  • detector_model_name: The name of the detector model.
  • role_arn: The ARN of the role that grants permission to AWS IoT Events to perform its operations.

Optional Parameters

Optional parameters can be passed as a params::Dict{String,<:Any}. Valid keys are:

  • "detectorModelDescription": A brief description of the detector model.
  • "evaluationMethod": Information about the order in which events are evaluated and how actions are executed.
  • "key": The input attribute key used to identify a device or system to create a detector (an instance of the detector model) and then to route each input received to the appropriate detector (instance). This parameter uses a JSON-path expression in the message payload of each input to specify the attribute-value pair that is used to identify the device associated with the input.
  • "tags": Metadata that can be used to manage the detector model.
source
Main.Iot_Events.create_inputMethod
create_input(input_definition, input_name)
create_input(input_definition, input_name, params::Dict{String,<:Any})

Creates an input.

Arguments

  • input_definition: The definition of the input.
  • input_name: The name you want to give to the input.

Optional Parameters

Optional parameters can be passed as a params::Dict{String,<:Any}. Valid keys are:

  • "inputDescription": A brief description of the input.
  • "tags": Metadata that can be used to manage the input.
source
Main.Iot_Events.delete_detector_modelMethod
delete_detector_model(detector_model_name)
delete_detector_model(detector_model_name, params::Dict{String,<:Any})

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

Arguments

  • detector_model_name: The name of the detector model to be deleted.
source
Main.Iot_Events.delete_inputMethod
delete_input(input_name)
delete_input(input_name, params::Dict{String,<:Any})

Deletes an input.

Arguments

  • input_name: The name of the input to delete.
source
Main.Iot_Events.describe_detector_modelMethod
describe_detector_model(detector_model_name)
describe_detector_model(detector_model_name, params::Dict{String,<:Any})

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

Arguments

  • detector_model_name: The name of the detector model.

Optional Parameters

Optional parameters can be passed as a params::Dict{String,<:Any}. Valid keys are:

  • "version": The version of the detector model.
source
Main.Iot_Events.describe_detector_model_analysisMethod
describe_detector_model_analysis(analysis_id)
describe_detector_model_analysis(analysis_id, params::Dict{String,<:Any})

Retrieves execution information about a detector model analysis

Arguments

  • analysis_id: The ID of the analysis result that you want to retrieve.
source
Main.Iot_Events.describe_inputMethod
describe_input(input_name)
describe_input(input_name, params::Dict{String,<:Any})

Describes an input.

Arguments

  • input_name: The name of the input.
source
Main.Iot_Events.get_detector_model_analysis_resultsMethod
get_detector_model_analysis_results(analysis_id)
get_detector_model_analysis_results(analysis_id, params::Dict{String,<:Any})

Retrieves one or more analysis results of the detector model.

Arguments

  • analysis_id: The ID of the analysis result that you want to retrieve.

Optional Parameters

Optional parameters can be passed as a params::Dict{String,<:Any}. Valid keys are:

  • "maxResults": The maximum number of results to be returned per request.
  • "nextToken": The token that you can use to return the next set of results.
source
Main.Iot_Events.list_detector_model_versionsMethod
list_detector_model_versions(detector_model_name)
list_detector_model_versions(detector_model_name, params::Dict{String,<:Any})

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

Arguments

  • detector_model_name: The name of the detector model whose versions are returned.

Optional Parameters

Optional parameters can be passed as a params::Dict{String,<:Any}. Valid keys are:

  • "maxResults": The maximum number of results to be returned per request.
  • "nextToken": The token that you can use to return the next set of results.
source
Main.Iot_Events.list_detector_modelsMethod
list_detector_models()
list_detector_models(params::Dict{String,<:Any})

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

Optional Parameters

Optional parameters can be passed as a params::Dict{String,<:Any}. Valid keys are:

  • "maxResults": The maximum number of results to be returned per request.
  • "nextToken": The token that you can use to return the next set of results.
source
Main.Iot_Events.list_inputsMethod
list_inputs()
list_inputs(params::Dict{String,<:Any})

Lists the inputs you have created.

Optional Parameters

Optional parameters can be passed as a params::Dict{String,<:Any}. Valid keys are:

  • "maxResults": The maximum number of results to be returned per request.
  • "nextToken": The token that you can use to return the next set of results.
source
Main.Iot_Events.list_tags_for_resourceMethod
list_tags_for_resource(resource_arn)
list_tags_for_resource(resource_arn, params::Dict{String,<:Any})

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

Arguments

  • resource_arn: The ARN of the resource.
source
Main.Iot_Events.put_logging_optionsMethod
put_logging_options(logging_options)
put_logging_options(logging_options, params::Dict{String,<:Any})

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.

Arguments

  • logging_options: The new values of the AWS IoT Events logging options.
source
Main.Iot_Events.start_detector_model_analysisMethod
start_detector_model_analysis(detector_model_definition)
start_detector_model_analysis(detector_model_definition, params::Dict{String,<:Any})

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

Arguments

  • detector_model_definition:
source
Main.Iot_Events.tag_resourceMethod
tag_resource(resource_arn, tags)
tag_resource(resource_arn, tags, params::Dict{String,<:Any})

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

Arguments

  • resource_arn: The ARN of the resource.
  • tags: The new or modified tags for the resource.
source
Main.Iot_Events.untag_resourceMethod
untag_resource(resource_arn, tag_keys)
untag_resource(resource_arn, tag_keys, params::Dict{String,<:Any})

Removes the given tags (metadata) from the resource.

Arguments

  • resource_arn: The ARN of the resource.
  • tag_keys: A list of the keys of the tags to be removed from the resource.
source
Main.Iot_Events.update_detector_modelMethod
update_detector_model(detector_model_definition, detector_model_name, role_arn)
update_detector_model(detector_model_definition, detector_model_name, role_arn, params::Dict{String,<:Any})

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

Arguments

  • detector_model_definition: Information that defines how a detector operates.
  • detector_model_name: The name of the detector model that is updated.
  • role_arn: The ARN of the role that grants permission to AWS IoT Events to perform its operations.

Optional Parameters

Optional parameters can be passed as a params::Dict{String,<:Any}. Valid keys are:

  • "detectorModelDescription": A brief description of the detector model.
  • "evaluationMethod": Information about the order in which events are evaluated and how actions are executed.
source
Main.Iot_Events.update_inputMethod
update_input(input_definition, input_name)
update_input(input_definition, input_name, params::Dict{String,<:Any})

Updates an input.

Arguments

  • input_definition: The definition of the input.
  • input_name: The name of the input you want to update.

Optional Parameters

Optional parameters can be passed as a params::Dict{String,<:Any}. Valid keys are:

  • "inputDescription": A brief description of the input.
source