The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Paws::IoTEvents - Perl Interface to AWS AWS IoT Events

SYNOPSIS

  use Paws;

  my $obj = Paws->service('IoTEvents');
  my $res = $obj->Method(
    Arg1 => $val1,
    Arg2 => [ 'V1', 'V2' ],
    # if Arg3 is an object, the HashRef will be used as arguments to the constructor
    # of the arguments type
    Arg3 => { Att1 => 'Val1' },
    # if Arg4 is an array of objects, the HashRefs will be passed as arguments to
    # the constructor of the arguments type
    Arg4 => [ { Att1 => 'Val1'  }, { Att1 => 'Val2' } ],
  );

DESCRIPTION

AWS IoT Events monitors your equipment or device fleets for failures or changes in operation, and triggers actions when such events occur. AWS IoT Events API commands enable you to create, read, update and delete inputs and detector models, and to list their versions.

For the AWS API documentation, see https://docs.aws.amazon.com/goto/WebAPI/iotevents-2018-07-27

METHODS

CreateDetectorModel

DetectorModelDefinition => Paws::IoTEvents::DetectorModelDefinition
DetectorModelName => Str
RoleArn => Str
[DetectorModelDescription => Str]
[EvaluationMethod => Str]
[Key => Str]
[Tags => ArrayRef[Paws::IoTEvents::Tag]]

Each argument is described in detail in: Paws::IoTEvents::CreateDetectorModel

Returns: a Paws::IoTEvents::CreateDetectorModelResponse instance

Creates a detector model.

CreateInput

InputDefinition => Paws::IoTEvents::InputDefinition
InputName => Str
[InputDescription => Str]
[Tags => ArrayRef[Paws::IoTEvents::Tag]]

Each argument is described in detail in: Paws::IoTEvents::CreateInput

Returns: a Paws::IoTEvents::CreateInputResponse instance

Creates an input.

DeleteDetectorModel

DetectorModelName => Str

Each argument is described in detail in: Paws::IoTEvents::DeleteDetectorModel

Returns: a Paws::IoTEvents::DeleteDetectorModelResponse instance

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

DeleteInput

InputName => Str

Each argument is described in detail in: Paws::IoTEvents::DeleteInput

Returns: a Paws::IoTEvents::DeleteInputResponse instance

Deletes an input.

DescribeDetectorModel

DetectorModelName => Str
[DetectorModelVersion => Str]

Each argument is described in detail in: Paws::IoTEvents::DescribeDetectorModel

Returns: a Paws::IoTEvents::DescribeDetectorModelResponse instance

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

DescribeInput

InputName => Str

Each argument is described in detail in: Paws::IoTEvents::DescribeInput

Returns: a Paws::IoTEvents::DescribeInputResponse instance

Describes an input.

DescribeLoggingOptions

Each argument is described in detail in: Paws::IoTEvents::DescribeLoggingOptions

Returns: a Paws::IoTEvents::DescribeLoggingOptionsResponse instance

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

ListDetectorModels

[MaxResults => Int]
[NextToken => Str]

Each argument is described in detail in: Paws::IoTEvents::ListDetectorModels

Returns: a Paws::IoTEvents::ListDetectorModelsResponse instance

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

ListDetectorModelVersions

DetectorModelName => Str
[MaxResults => Int]
[NextToken => Str]

Each argument is described in detail in: Paws::IoTEvents::ListDetectorModelVersions

Returns: a Paws::IoTEvents::ListDetectorModelVersionsResponse instance

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

ListInputs

[MaxResults => Int]
[NextToken => Str]

Each argument is described in detail in: Paws::IoTEvents::ListInputs

Returns: a Paws::IoTEvents::ListInputsResponse instance

Lists the inputs you have created.

ListTagsForResource

ResourceArn => Str

Each argument is described in detail in: Paws::IoTEvents::ListTagsForResource

Returns: a Paws::IoTEvents::ListTagsForResourceResponse instance

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

PutLoggingOptions

LoggingOptions => Paws::IoTEvents::LoggingOptions

Each argument is described in detail in: Paws::IoTEvents::PutLoggingOptions

Returns: nothing

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. 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 five minutes for that change to take effect.

TagResource

ResourceArn => Str
Tags => ArrayRef[Paws::IoTEvents::Tag]

Each argument is described in detail in: Paws::IoTEvents::TagResource

Returns: a Paws::IoTEvents::TagResourceResponse instance

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

UntagResource

ResourceArn => Str
TagKeys => ArrayRef[Str|Undef]

Each argument is described in detail in: Paws::IoTEvents::UntagResource

Returns: a Paws::IoTEvents::UntagResourceResponse instance

Removes the given tags (metadata) from the resource.

UpdateDetectorModel

DetectorModelDefinition => Paws::IoTEvents::DetectorModelDefinition
DetectorModelName => Str
RoleArn => Str
[DetectorModelDescription => Str]
[EvaluationMethod => Str]

Each argument is described in detail in: Paws::IoTEvents::UpdateDetectorModel

Returns: a Paws::IoTEvents::UpdateDetectorModelResponse instance

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

UpdateInput

InputDefinition => Paws::IoTEvents::InputDefinition
InputName => Str
[InputDescription => Str]

Each argument is described in detail in: Paws::IoTEvents::UpdateInput

Returns: a Paws::IoTEvents::UpdateInputResponse instance

Updates an input.

PAGINATORS

Paginator methods are helpers that repetively call methods that return partial results

SEE ALSO

This service class forms part of Paws

BUGS and CONTRIBUTIONS

The source code is located here: https://github.com/pplu/aws-sdk-perl

Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues