@ThreadSafe @Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AWSIoTEventsClient extends AmazonWebServiceClient implements AWSIoTEvents
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.
LOGGING_AWS_REQUEST_METRIC
ENDPOINT_PREFIX
addRequestHandler, addRequestHandler, configureRegion, getClientConfiguration, getEndpointPrefix, getMonitoringListeners, getRequestMetricsCollector, getServiceName, getSignerByURI, getSignerOverride, getSignerRegionOverride, getTimeOffset, makeImmutable, removeRequestHandler, removeRequestHandler, setEndpoint, setEndpoint, setRegion, setServiceNameIntern, setSignerRegionOverride, setTimeOffset, shutdown, withEndpoint, withRegion, withRegion, withTimeOffset
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
shutdown
public static AWSIoTEventsClientBuilder builder()
public CreateDetectorModelResult createDetectorModel(CreateDetectorModelRequest request)
Creates a detector model.
createDetectorModel
in interface AWSIoTEvents
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.public CreateInputResult createInput(CreateInputRequest request)
Creates an input.
createInput
in interface AWSIoTEvents
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.public DeleteDetectorModelResult deleteDetectorModel(DeleteDetectorModelRequest request)
Deletes a detector model. Any active instances of the detector model are also deleted.
deleteDetectorModel
in interface AWSIoTEvents
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.public DeleteInputResult deleteInput(DeleteInputRequest request)
Deletes an input.
deleteInput
in interface AWSIoTEvents
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.public DescribeDetectorModelResult describeDetectorModel(DescribeDetectorModelRequest request)
Describes a detector model. If the "version"
parameter is not specified, information about the
latest version is returned.
describeDetectorModel
in interface AWSIoTEvents
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.public DescribeInputResult describeInput(DescribeInputRequest request)
Describes an input.
describeInput
in interface AWSIoTEvents
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.public DescribeLoggingOptionsResult describeLoggingOptions(DescribeLoggingOptionsRequest request)
Retrieves the current settings of the AWS IoT Events logging options.
describeLoggingOptions
in interface AWSIoTEvents
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.public ListDetectorModelVersionsResult listDetectorModelVersions(ListDetectorModelVersionsRequest request)
Lists all the versions of a detector model. Only the metadata associated with each detector model version is returned.
listDetectorModelVersions
in interface AWSIoTEvents
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.public ListDetectorModelsResult listDetectorModels(ListDetectorModelsRequest request)
Lists the detector models you have created. Only the metadata associated with each detector model is returned.
listDetectorModels
in interface AWSIoTEvents
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.public ListInputsResult listInputs(ListInputsRequest request)
Lists the inputs you have created.
listInputs
in interface AWSIoTEvents
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.public ListTagsForResourceResult listTagsForResource(ListTagsForResourceRequest request)
Lists the tags (metadata) you have assigned to the resource.
listTagsForResource
in interface AWSIoTEvents
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.public PutLoggingOptionsResult putLoggingOptions(PutLoggingOptionsRequest request)
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.
putLoggingOptions
in interface AWSIoTEvents
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.public TagResourceResult tagResource(TagResourceRequest request)
Adds to or modifies the tags of the given resource. Tags are metadata that can be used to manage a resource.
tagResource
in interface AWSIoTEvents
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.public UntagResourceResult untagResource(UntagResourceRequest request)
Removes the given tags (metadata) from the resource.
untagResource
in interface AWSIoTEvents
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.public UpdateDetectorModelResult updateDetectorModel(UpdateDetectorModelRequest request)
Updates a detector model. Detectors (instances) spawned by the previous version are deleted and then re-created as new inputs arrive.
updateDetectorModel
in interface AWSIoTEvents
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.public UpdateInputResult updateInput(UpdateInputRequest request)
Updates an input.
updateInput
in interface AWSIoTEvents
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.public 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 the request.
getCachedResponseMetadata
in interface AWSIoTEvents
request
- The originally executed requestCopyright © 2013 Amazon Web Services, Inc. All Rights Reserved.