@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. AWS IoT Events API commands enable you 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 |
---|---|
CreateDetectorModelResult |
createDetectorModel(CreateDetectorModelRequest createDetectorModelRequest)
Creates a detector model.
|
CreateInputResult |
createInput(CreateInputRequest createInputRequest)
Creates an input.
|
DeleteDetectorModelResult |
deleteDetectorModel(DeleteDetectorModelRequest deleteDetectorModelRequest)
Deletes a detector model.
|
DeleteInputResult |
deleteInput(DeleteInputRequest deleteInputRequest)
Deletes an input.
|
DescribeDetectorModelResult |
describeDetectorModel(DescribeDetectorModelRequest describeDetectorModelRequest)
Describes a detector model.
|
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.
|
ListDetectorModelsResult |
listDetectorModels(ListDetectorModelsRequest listDetectorModelsRequest)
Lists the detector models you have created.
|
ListDetectorModelVersionsResult |
listDetectorModelVersions(ListDetectorModelVersionsRequest listDetectorModelVersionsRequest)
Lists all the versions of a detector model.
|
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.
|
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.
|
UpdateDetectorModelResult |
updateDetectorModel(UpdateDetectorModelRequest updateDetectorModelRequest)
Updates a detector model.
|
UpdateInputResult |
updateInput(UpdateInputRequest updateInputRequest)
Updates an input.
|
static final String ENDPOINT_PREFIX
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.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.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.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.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.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. 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.
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.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.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.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.