@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public interface AWSIoTEvents
Note: Do not directly implement this interface, new methods are added to it regularly. Extend from
AbstractAWSIoTEvents
instead.
AWS IoT Events monitors your equipment or device fleets for failures or changes in operation, and triggers actions when such events occur. You can use AWS IoT Events API operations to create, read, update, and delete inputs and detector models, and to list their versions.
Modifier and Type | Field and Description |
---|---|
static String |
ENDPOINT_PREFIX
The region metadata service name for computing region endpoints.
|
Modifier and Type | Method and Description |
---|---|
CreateAlarmModelResult |
createAlarmModel(CreateAlarmModelRequest createAlarmModelRequest)
Creates an alarm model to monitor an AWS IoT Events input attribute.
|
CreateDetectorModelResult |
createDetectorModel(CreateDetectorModelRequest createDetectorModelRequest)
Creates a detector model.
|
CreateInputResult |
createInput(CreateInputRequest createInputRequest)
Creates an input.
|
DeleteAlarmModelResult |
deleteAlarmModel(DeleteAlarmModelRequest deleteAlarmModelRequest)
Deletes an alarm model.
|
DeleteDetectorModelResult |
deleteDetectorModel(DeleteDetectorModelRequest deleteDetectorModelRequest)
Deletes a detector model.
|
DeleteInputResult |
deleteInput(DeleteInputRequest deleteInputRequest)
Deletes an input.
|
DescribeAlarmModelResult |
describeAlarmModel(DescribeAlarmModelRequest describeAlarmModelRequest)
Retrieves information about an alarm model.
|
DescribeDetectorModelResult |
describeDetectorModel(DescribeDetectorModelRequest describeDetectorModelRequest)
Describes a detector model.
|
DescribeDetectorModelAnalysisResult |
describeDetectorModelAnalysis(DescribeDetectorModelAnalysisRequest describeDetectorModelAnalysisRequest)
Retrieves runtime information about a detector model analysis.
|
DescribeInputResult |
describeInput(DescribeInputRequest describeInputRequest)
Describes an input.
|
DescribeLoggingOptionsResult |
describeLoggingOptions(DescribeLoggingOptionsRequest describeLoggingOptionsRequest)
Retrieves the current settings of the AWS IoT Events logging options.
|
ResponseMetadata |
getCachedResponseMetadata(AmazonWebServiceRequest request)
Returns additional metadata for a previously executed successful request, typically used for debugging issues
where a service isn't acting as expected.
|
GetDetectorModelAnalysisResultsResult |
getDetectorModelAnalysisResults(GetDetectorModelAnalysisResultsRequest getDetectorModelAnalysisResultsRequest)
Retrieves one or more analysis results of the detector model.
|
ListAlarmModelsResult |
listAlarmModels(ListAlarmModelsRequest listAlarmModelsRequest)
Lists the alarm models that you created.
|
ListAlarmModelVersionsResult |
listAlarmModelVersions(ListAlarmModelVersionsRequest listAlarmModelVersionsRequest)
Lists all the versions of an alarm model.
|
ListDetectorModelsResult |
listDetectorModels(ListDetectorModelsRequest listDetectorModelsRequest)
Lists the detector models you have created.
|
ListDetectorModelVersionsResult |
listDetectorModelVersions(ListDetectorModelVersionsRequest listDetectorModelVersionsRequest)
Lists all the versions of a detector model.
|
ListInputRoutingsResult |
listInputRoutings(ListInputRoutingsRequest listInputRoutingsRequest)
Lists one or more input routings.
|
ListInputsResult |
listInputs(ListInputsRequest listInputsRequest)
Lists the inputs you have created.
|
ListTagsForResourceResult |
listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest)
Lists the tags (metadata) you have assigned to the resource.
|
PutLoggingOptionsResult |
putLoggingOptions(PutLoggingOptionsRequest putLoggingOptionsRequest)
Sets or updates the AWS IoT Events logging options.
|
void |
shutdown()
Shuts down this client object, releasing any resources that might be held open.
|
StartDetectorModelAnalysisResult |
startDetectorModelAnalysis(StartDetectorModelAnalysisRequest startDetectorModelAnalysisRequest)
Performs an analysis of your detector model.
|
TagResourceResult |
tagResource(TagResourceRequest tagResourceRequest)
Adds to or modifies the tags of the given resource.
|
UntagResourceResult |
untagResource(UntagResourceRequest untagResourceRequest)
Removes the given tags (metadata) from the resource.
|
UpdateAlarmModelResult |
updateAlarmModel(UpdateAlarmModelRequest updateAlarmModelRequest)
Updates an alarm model.
|
UpdateDetectorModelResult |
updateDetectorModel(UpdateDetectorModelRequest updateDetectorModelRequest)
Updates a detector model.
|
UpdateInputResult |
updateInput(UpdateInputRequest updateInputRequest)
Updates an input.
|
static final String ENDPOINT_PREFIX
CreateAlarmModelResult createAlarmModel(CreateAlarmModelRequest createAlarmModelRequest)
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.
createAlarmModelRequest
- InvalidRequestException
- The request was invalid.ResourceInUseException
- The resource is in use.ResourceAlreadyExistsException
- The resource already exists.LimitExceededException
- A limit was exceeded.ThrottlingException
- The request could not be completed due to throttling.InternalFailureException
- An internal failure occurred.ServiceUnavailableException
- The service is currently unavailable.CreateDetectorModelResult createDetectorModel(CreateDetectorModelRequest createDetectorModelRequest)
Creates a detector model.
createDetectorModelRequest
- InvalidRequestException
- The request was invalid.ResourceInUseException
- The resource is in use.ResourceAlreadyExistsException
- The resource already exists.LimitExceededException
- A limit was exceeded.ThrottlingException
- The request could not be completed due to throttling.InternalFailureException
- An internal failure occurred.ServiceUnavailableException
- The service is currently unavailable.CreateInputResult createInput(CreateInputRequest createInputRequest)
Creates an input.
createInputRequest
- InvalidRequestException
- The request was invalid.ThrottlingException
- The request could not be completed due to throttling.InternalFailureException
- An internal failure occurred.ServiceUnavailableException
- The service is currently unavailable.ResourceAlreadyExistsException
- The resource already exists.DeleteAlarmModelResult deleteAlarmModel(DeleteAlarmModelRequest deleteAlarmModelRequest)
Deletes an alarm model. Any alarm instances that were created based on this alarm model are also deleted. This action can't be undone.
deleteAlarmModelRequest
- InvalidRequestException
- The request was invalid.ResourceInUseException
- The resource is in use.ResourceNotFoundException
- The resource was not found.ThrottlingException
- The request could not be completed due to throttling.InternalFailureException
- An internal failure occurred.ServiceUnavailableException
- The service is currently unavailable.DeleteDetectorModelResult deleteDetectorModel(DeleteDetectorModelRequest deleteDetectorModelRequest)
Deletes a detector model. Any active instances of the detector model are also deleted.
deleteDetectorModelRequest
- InvalidRequestException
- The request was invalid.ResourceInUseException
- The resource is in use.ResourceNotFoundException
- The resource was not found.ThrottlingException
- The request could not be completed due to throttling.InternalFailureException
- An internal failure occurred.ServiceUnavailableException
- The service is currently unavailable.DeleteInputResult deleteInput(DeleteInputRequest deleteInputRequest)
Deletes an input.
deleteInputRequest
- InvalidRequestException
- The request was invalid.ResourceNotFoundException
- The resource was not found.ThrottlingException
- The request could not be completed due to throttling.InternalFailureException
- An internal failure occurred.ServiceUnavailableException
- The service is currently unavailable.ResourceInUseException
- The resource is in use.DescribeAlarmModelResult describeAlarmModel(DescribeAlarmModelRequest describeAlarmModelRequest)
Retrieves information about an alarm model. If you don't specify a value for the alarmModelVersion
parameter, the latest version is returned.
describeAlarmModelRequest
- InvalidRequestException
- The request was invalid.ResourceNotFoundException
- The resource was not found.ThrottlingException
- The request could not be completed due to throttling.InternalFailureException
- An internal failure occurred.ServiceUnavailableException
- The service is currently unavailable.DescribeDetectorModelResult describeDetectorModel(DescribeDetectorModelRequest describeDetectorModelRequest)
Describes a detector model. If the version
parameter is not specified, information about the latest
version is returned.
describeDetectorModelRequest
- InvalidRequestException
- The request was invalid.ResourceNotFoundException
- The resource was not found.ThrottlingException
- The request could not be completed due to throttling.InternalFailureException
- An internal failure occurred.ServiceUnavailableException
- The service is currently unavailable.DescribeDetectorModelAnalysisResult describeDetectorModelAnalysis(DescribeDetectorModelAnalysisRequest describeDetectorModelAnalysisRequest)
Retrieves runtime information about a detector model analysis.
After AWS IoT Events starts analyzing your detector model, you have up to 24 hours to retrieve the analysis results.
describeDetectorModelAnalysisRequest
- InvalidRequestException
- The request was invalid.ResourceNotFoundException
- The resource was not found.ThrottlingException
- The request could not be completed due to throttling.InternalFailureException
- An internal failure occurred.ServiceUnavailableException
- The service is currently unavailable.DescribeInputResult describeInput(DescribeInputRequest describeInputRequest)
Describes an input.
describeInputRequest
- InvalidRequestException
- The request was invalid.ResourceNotFoundException
- The resource was not found.ThrottlingException
- The request could not be completed due to throttling.InternalFailureException
- An internal failure occurred.ServiceUnavailableException
- The service is currently unavailable.DescribeLoggingOptionsResult describeLoggingOptions(DescribeLoggingOptionsRequest describeLoggingOptionsRequest)
Retrieves the current settings of the AWS IoT Events logging options.
describeLoggingOptionsRequest
- InvalidRequestException
- The request was invalid.ThrottlingException
- The request could not be completed due to throttling.InternalFailureException
- An internal failure occurred.ResourceNotFoundException
- The resource was not found.ServiceUnavailableException
- The service is currently unavailable.UnsupportedOperationException
- The requested operation is not supported.GetDetectorModelAnalysisResultsResult getDetectorModelAnalysisResults(GetDetectorModelAnalysisResultsRequest getDetectorModelAnalysisResultsRequest)
Retrieves one or more analysis results of the detector model.
After AWS IoT Events starts analyzing your detector model, you have up to 24 hours to retrieve the analysis results.
getDetectorModelAnalysisResultsRequest
- InvalidRequestException
- The request was invalid.ResourceNotFoundException
- The resource was not found.ThrottlingException
- The request could not be completed due to throttling.InternalFailureException
- An internal failure occurred.ServiceUnavailableException
- The service is currently unavailable.ListAlarmModelVersionsResult listAlarmModelVersions(ListAlarmModelVersionsRequest listAlarmModelVersionsRequest)
Lists all the versions of an alarm model. The operation returns only the metadata associated with each alarm model version.
listAlarmModelVersionsRequest
- InvalidRequestException
- The request was invalid.ResourceNotFoundException
- The resource was not found.ThrottlingException
- The request could not be completed due to throttling.InternalFailureException
- An internal failure occurred.ServiceUnavailableException
- The service is currently unavailable.ListAlarmModelsResult listAlarmModels(ListAlarmModelsRequest listAlarmModelsRequest)
Lists the alarm models that you created. The operation returns only the metadata associated with each alarm model.
listAlarmModelsRequest
- InvalidRequestException
- The request was invalid.ThrottlingException
- The request could not be completed due to throttling.InternalFailureException
- An internal failure occurred.ServiceUnavailableException
- The service is currently unavailable.ListDetectorModelVersionsResult listDetectorModelVersions(ListDetectorModelVersionsRequest listDetectorModelVersionsRequest)
Lists all the versions of a detector model. Only the metadata associated with each detector model version is returned.
listDetectorModelVersionsRequest
- InvalidRequestException
- The request was invalid.ResourceNotFoundException
- The resource was not found.ThrottlingException
- The request could not be completed due to throttling.InternalFailureException
- An internal failure occurred.ServiceUnavailableException
- The service is currently unavailable.ListDetectorModelsResult listDetectorModels(ListDetectorModelsRequest listDetectorModelsRequest)
Lists the detector models you have created. Only the metadata associated with each detector model is returned.
listDetectorModelsRequest
- InvalidRequestException
- The request was invalid.ThrottlingException
- The request could not be completed due to throttling.InternalFailureException
- An internal failure occurred.ServiceUnavailableException
- The service is currently unavailable.ListInputRoutingsResult listInputRoutings(ListInputRoutingsRequest listInputRoutingsRequest)
Lists one or more input routings.
listInputRoutingsRequest
- InvalidRequestException
- The request was invalid.ThrottlingException
- The request could not be completed due to throttling.InternalFailureException
- An internal failure occurred.ServiceUnavailableException
- The service is currently unavailable.ResourceNotFoundException
- The resource was not found.ListInputsResult listInputs(ListInputsRequest listInputsRequest)
Lists the inputs you have created.
listInputsRequest
- InvalidRequestException
- The request was invalid.ThrottlingException
- The request could not be completed due to throttling.InternalFailureException
- An internal failure occurred.ServiceUnavailableException
- The service is currently unavailable.ListTagsForResourceResult listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest)
Lists the tags (metadata) you have assigned to the resource.
listTagsForResourceRequest
- InvalidRequestException
- The request was invalid.ResourceNotFoundException
- The resource was not found.ResourceInUseException
- The resource is in use.ThrottlingException
- The request could not be completed due to throttling.InternalFailureException
- An internal failure occurred.PutLoggingOptionsResult putLoggingOptions(PutLoggingOptionsRequest putLoggingOptionsRequest)
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.
putLoggingOptionsRequest
- InvalidRequestException
- The request was invalid.ThrottlingException
- The request could not be completed due to throttling.InternalFailureException
- An internal failure occurred.ServiceUnavailableException
- The service is currently unavailable.UnsupportedOperationException
- The requested operation is not supported.ResourceInUseException
- The resource is in use.StartDetectorModelAnalysisResult startDetectorModelAnalysis(StartDetectorModelAnalysisRequest startDetectorModelAnalysisRequest)
Performs an analysis of your detector model. For more information, see Troubleshooting a detector model in the AWS IoT Events Developer Guide.
startDetectorModelAnalysisRequest
- InvalidRequestException
- The request was invalid.LimitExceededException
- A limit was exceeded.ThrottlingException
- The request could not be completed due to throttling.InternalFailureException
- An internal failure occurred.ServiceUnavailableException
- The service is currently unavailable.TagResourceResult tagResource(TagResourceRequest tagResourceRequest)
Adds to or modifies the tags of the given resource. Tags are metadata that can be used to manage a resource.
tagResourceRequest
- InvalidRequestException
- The request was invalid.ResourceNotFoundException
- The resource was not found.ResourceInUseException
- The resource is in use.ThrottlingException
- The request could not be completed due to throttling.LimitExceededException
- A limit was exceeded.InternalFailureException
- An internal failure occurred.UntagResourceResult untagResource(UntagResourceRequest untagResourceRequest)
Removes the given tags (metadata) from the resource.
untagResourceRequest
- InvalidRequestException
- The request was invalid.ResourceNotFoundException
- The resource was not found.ResourceInUseException
- The resource is in use.ThrottlingException
- The request could not be completed due to throttling.InternalFailureException
- An internal failure occurred.UpdateAlarmModelResult updateAlarmModel(UpdateAlarmModelRequest updateAlarmModelRequest)
Updates an alarm model. Any alarms that were created based on the previous version are deleted and then created again as new data arrives.
updateAlarmModelRequest
- InvalidRequestException
- The request was invalid.ResourceInUseException
- The resource is in use.ResourceNotFoundException
- The resource was not found.ThrottlingException
- The request could not be completed due to throttling.InternalFailureException
- An internal failure occurred.ServiceUnavailableException
- The service is currently unavailable.UpdateDetectorModelResult updateDetectorModel(UpdateDetectorModelRequest updateDetectorModelRequest)
Updates a detector model. Detectors (instances) spawned by the previous version are deleted and then re-created as new inputs arrive.
updateDetectorModelRequest
- InvalidRequestException
- The request was invalid.ResourceInUseException
- The resource is in use.ResourceNotFoundException
- The resource was not found.ThrottlingException
- The request could not be completed due to throttling.InternalFailureException
- An internal failure occurred.ServiceUnavailableException
- The service is currently unavailable.UpdateInputResult updateInput(UpdateInputRequest updateInputRequest)
Updates an input.
updateInputRequest
- InvalidRequestException
- The request was invalid.ThrottlingException
- The request could not be completed due to throttling.ResourceNotFoundException
- The resource was not found.InternalFailureException
- An internal failure occurred.ServiceUnavailableException
- The service is currently unavailable.ResourceInUseException
- The resource is in use.void shutdown()
ResponseMetadata getCachedResponseMetadata(AmazonWebServiceRequest request)
Response metadata is only cached for a limited period of time, so if you need to access this extra diagnostic information for an executed request, you should use this method to retrieve it as soon as possible after executing a request.
request
- The originally executed request.