Interface IotEventsClient
- All Superinterfaces:
AutoCloseable,AwsClient,SdkAutoCloseable,SdkClient
builder() method.
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.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringValue for looking up the service's metadata from theServiceMetadataProvider.static final String -
Method Summary
Modifier and TypeMethodDescriptionstatic IotEventsClientBuilderbuilder()Create a builder that can be used to configure and create aIotEventsClient.static IotEventsClientcreate()Create aIotEventsClientwith the region loaded from theDefaultAwsRegionProviderChainand credentials loaded from theDefaultCredentialsProvider.default CreateAlarmModelResponsecreateAlarmModel(Consumer<CreateAlarmModelRequest.Builder> createAlarmModelRequest) Creates an alarm model to monitor an AWS IoT Events input attribute.default CreateAlarmModelResponsecreateAlarmModel(CreateAlarmModelRequest createAlarmModelRequest) Creates an alarm model to monitor an AWS IoT Events input attribute.default CreateDetectorModelResponsecreateDetectorModel(Consumer<CreateDetectorModelRequest.Builder> createDetectorModelRequest) Creates a detector model.default CreateDetectorModelResponsecreateDetectorModel(CreateDetectorModelRequest createDetectorModelRequest) Creates a detector model.default CreateInputResponsecreateInput(Consumer<CreateInputRequest.Builder> createInputRequest) Creates an input.default CreateInputResponsecreateInput(CreateInputRequest createInputRequest) Creates an input.default DeleteAlarmModelResponsedeleteAlarmModel(Consumer<DeleteAlarmModelRequest.Builder> deleteAlarmModelRequest) Deletes an alarm model.default DeleteAlarmModelResponsedeleteAlarmModel(DeleteAlarmModelRequest deleteAlarmModelRequest) Deletes an alarm model.default DeleteDetectorModelResponsedeleteDetectorModel(Consumer<DeleteDetectorModelRequest.Builder> deleteDetectorModelRequest) Deletes a detector model.default DeleteDetectorModelResponsedeleteDetectorModel(DeleteDetectorModelRequest deleteDetectorModelRequest) Deletes a detector model.default DeleteInputResponsedeleteInput(Consumer<DeleteInputRequest.Builder> deleteInputRequest) Deletes an input.default DeleteInputResponsedeleteInput(DeleteInputRequest deleteInputRequest) Deletes an input.default DescribeAlarmModelResponsedescribeAlarmModel(Consumer<DescribeAlarmModelRequest.Builder> describeAlarmModelRequest) Retrieves information about an alarm model.default DescribeAlarmModelResponsedescribeAlarmModel(DescribeAlarmModelRequest describeAlarmModelRequest) Retrieves information about an alarm model.default DescribeDetectorModelResponsedescribeDetectorModel(Consumer<DescribeDetectorModelRequest.Builder> describeDetectorModelRequest) Describes a detector model.default DescribeDetectorModelResponsedescribeDetectorModel(DescribeDetectorModelRequest describeDetectorModelRequest) Describes a detector model.describeDetectorModelAnalysis(Consumer<DescribeDetectorModelAnalysisRequest.Builder> describeDetectorModelAnalysisRequest) Retrieves runtime information about a detector model analysis.describeDetectorModelAnalysis(DescribeDetectorModelAnalysisRequest describeDetectorModelAnalysisRequest) Retrieves runtime information about a detector model analysis.default DescribeInputResponsedescribeInput(Consumer<DescribeInputRequest.Builder> describeInputRequest) Describes an input.default DescribeInputResponsedescribeInput(DescribeInputRequest describeInputRequest) Describes an input.default DescribeLoggingOptionsResponsedescribeLoggingOptions(Consumer<DescribeLoggingOptionsRequest.Builder> describeLoggingOptionsRequest) Retrieves the current settings of the AWS IoT Events logging options.default DescribeLoggingOptionsResponsedescribeLoggingOptions(DescribeLoggingOptionsRequest describeLoggingOptionsRequest) Retrieves the current settings of the AWS IoT Events logging options.getDetectorModelAnalysisResults(Consumer<GetDetectorModelAnalysisResultsRequest.Builder> getDetectorModelAnalysisResultsRequest) Retrieves one or more analysis results of the detector model.getDetectorModelAnalysisResults(GetDetectorModelAnalysisResultsRequest getDetectorModelAnalysisResultsRequest) Retrieves one or more analysis results of the detector model.default ListAlarmModelsResponselistAlarmModels(Consumer<ListAlarmModelsRequest.Builder> listAlarmModelsRequest) Lists the alarm models that you created.default ListAlarmModelsResponselistAlarmModels(ListAlarmModelsRequest listAlarmModelsRequest) Lists the alarm models that you created.default ListAlarmModelVersionsResponselistAlarmModelVersions(Consumer<ListAlarmModelVersionsRequest.Builder> listAlarmModelVersionsRequest) Lists all the versions of an alarm model.default ListAlarmModelVersionsResponselistAlarmModelVersions(ListAlarmModelVersionsRequest listAlarmModelVersionsRequest) Lists all the versions of an alarm model.default ListDetectorModelsResponselistDetectorModels(Consumer<ListDetectorModelsRequest.Builder> listDetectorModelsRequest) Lists the detector models you have created.default ListDetectorModelsResponselistDetectorModels(ListDetectorModelsRequest listDetectorModelsRequest) Lists the detector models you have created.listDetectorModelVersions(Consumer<ListDetectorModelVersionsRequest.Builder> listDetectorModelVersionsRequest) Lists all the versions of a detector model.listDetectorModelVersions(ListDetectorModelVersionsRequest listDetectorModelVersionsRequest) Lists all the versions of a detector model.default ListInputRoutingsResponselistInputRoutings(Consumer<ListInputRoutingsRequest.Builder> listInputRoutingsRequest) Lists one or more input routings.default ListInputRoutingsResponselistInputRoutings(ListInputRoutingsRequest listInputRoutingsRequest) Lists one or more input routings.default ListInputsResponselistInputs(Consumer<ListInputsRequest.Builder> listInputsRequest) Lists the inputs you have created.default ListInputsResponselistInputs(ListInputsRequest listInputsRequest) Lists the inputs you have created.default ListTagsForResourceResponselistTagsForResource(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest) Lists the tags (metadata) you have assigned to the resource.default ListTagsForResourceResponselistTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest) Lists the tags (metadata) you have assigned to the resource.default PutLoggingOptionsResponseputLoggingOptions(Consumer<PutLoggingOptionsRequest.Builder> putLoggingOptionsRequest) Sets or updates the AWS IoT Events logging options.default PutLoggingOptionsResponseputLoggingOptions(PutLoggingOptionsRequest putLoggingOptionsRequest) Sets or updates the AWS IoT Events logging options.The SDK service client configuration exposes client settings to the user, e.g., ClientOverrideConfigurationstatic ServiceMetadatastartDetectorModelAnalysis(Consumer<StartDetectorModelAnalysisRequest.Builder> startDetectorModelAnalysisRequest) Performs an analysis of your detector model.startDetectorModelAnalysis(StartDetectorModelAnalysisRequest startDetectorModelAnalysisRequest) Performs an analysis of your detector model.default TagResourceResponsetagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest) Adds to or modifies the tags of the given resource.default TagResourceResponsetagResource(TagResourceRequest tagResourceRequest) Adds to or modifies the tags of the given resource.default UntagResourceResponseuntagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest) Removes the given tags (metadata) from the resource.default UntagResourceResponseuntagResource(UntagResourceRequest untagResourceRequest) Removes the given tags (metadata) from the resource.default UpdateAlarmModelResponseupdateAlarmModel(Consumer<UpdateAlarmModelRequest.Builder> updateAlarmModelRequest) Updates an alarm model.default UpdateAlarmModelResponseupdateAlarmModel(UpdateAlarmModelRequest updateAlarmModelRequest) Updates an alarm model.default UpdateDetectorModelResponseupdateDetectorModel(Consumer<UpdateDetectorModelRequest.Builder> updateDetectorModelRequest) Updates a detector model.default UpdateDetectorModelResponseupdateDetectorModel(UpdateDetectorModelRequest updateDetectorModelRequest) Updates a detector model.default UpdateInputResponseupdateInput(Consumer<UpdateInputRequest.Builder> updateInputRequest) Updates an input.default UpdateInputResponseupdateInput(UpdateInputRequest updateInputRequest) Updates an input.Methods inherited from interface software.amazon.awssdk.utils.SdkAutoCloseable
closeMethods inherited from interface software.amazon.awssdk.core.SdkClient
serviceName
-
Field Details
-
SERVICE_NAME
- See Also:
-
SERVICE_METADATA_ID
Value for looking up the service's metadata from theServiceMetadataProvider.- See Also:
-
-
Method Details
-
createAlarmModel
default CreateAlarmModelResponse createAlarmModel(CreateAlarmModelRequest createAlarmModelRequest) throws InvalidRequestException, ResourceInUseException, ResourceAlreadyExistsException, LimitExceededException, ThrottlingException, InternalFailureException, ServiceUnavailableException, AwsServiceException, SdkClientException, IotEventsException 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.
- Parameters:
createAlarmModelRequest-- Returns:
- Result of the CreateAlarmModel operation returned by the service.
- See Also:
-
createAlarmModel
default CreateAlarmModelResponse createAlarmModel(Consumer<CreateAlarmModelRequest.Builder> createAlarmModelRequest) throws InvalidRequestException, ResourceInUseException, ResourceAlreadyExistsException, LimitExceededException, ThrottlingException, InternalFailureException, ServiceUnavailableException, AwsServiceException, SdkClientException, IotEventsException 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.
This is a convenience which creates an instance of the
CreateAlarmModelRequest.Builderavoiding the need to create one manually viaCreateAlarmModelRequest.builder()- Parameters:
createAlarmModelRequest- AConsumerthat will call methods onCreateAlarmModelRequest.Builderto create a request.- Returns:
- Result of the CreateAlarmModel operation returned by the service.
- See Also:
-
createDetectorModel
default CreateDetectorModelResponse createDetectorModel(CreateDetectorModelRequest createDetectorModelRequest) throws InvalidRequestException, ResourceInUseException, ResourceAlreadyExistsException, LimitExceededException, ThrottlingException, InternalFailureException, ServiceUnavailableException, AwsServiceException, SdkClientException, IotEventsException Creates a detector model.
- Parameters:
createDetectorModelRequest-- Returns:
- Result of the CreateDetectorModel operation returned by the service.
- See Also:
-
createDetectorModel
default CreateDetectorModelResponse createDetectorModel(Consumer<CreateDetectorModelRequest.Builder> createDetectorModelRequest) throws InvalidRequestException, ResourceInUseException, ResourceAlreadyExistsException, LimitExceededException, ThrottlingException, InternalFailureException, ServiceUnavailableException, AwsServiceException, SdkClientException, IotEventsException Creates a detector model.
This is a convenience which creates an instance of the
CreateDetectorModelRequest.Builderavoiding the need to create one manually viaCreateDetectorModelRequest.builder()- Parameters:
createDetectorModelRequest- AConsumerthat will call methods onCreateDetectorModelRequest.Builderto create a request.- Returns:
- Result of the CreateDetectorModel operation returned by the service.
- See Also:
-
createInput
default CreateInputResponse createInput(CreateInputRequest createInputRequest) throws InvalidRequestException, ThrottlingException, InternalFailureException, ServiceUnavailableException, ResourceAlreadyExistsException, AwsServiceException, SdkClientException, IotEventsException Creates an input.
- Parameters:
createInputRequest-- Returns:
- Result of the CreateInput operation returned by the service.
- See Also:
-
createInput
default CreateInputResponse createInput(Consumer<CreateInputRequest.Builder> createInputRequest) throws InvalidRequestException, ThrottlingException, InternalFailureException, ServiceUnavailableException, ResourceAlreadyExistsException, AwsServiceException, SdkClientException, IotEventsException Creates an input.
This is a convenience which creates an instance of the
CreateInputRequest.Builderavoiding the need to create one manually viaCreateInputRequest.builder()- Parameters:
createInputRequest- AConsumerthat will call methods onCreateInputRequest.Builderto create a request.- Returns:
- Result of the CreateInput operation returned by the service.
- See Also:
-
deleteAlarmModel
default DeleteAlarmModelResponse deleteAlarmModel(DeleteAlarmModelRequest deleteAlarmModelRequest) throws InvalidRequestException, ResourceInUseException, ResourceNotFoundException, ThrottlingException, InternalFailureException, ServiceUnavailableException, AwsServiceException, SdkClientException, IotEventsException Deletes an alarm model. Any alarm instances that were created based on this alarm model are also deleted. This action can't be undone.
- Parameters:
deleteAlarmModelRequest-- Returns:
- Result of the DeleteAlarmModel operation returned by the service.
- See Also:
-
deleteAlarmModel
default DeleteAlarmModelResponse deleteAlarmModel(Consumer<DeleteAlarmModelRequest.Builder> deleteAlarmModelRequest) throws InvalidRequestException, ResourceInUseException, ResourceNotFoundException, ThrottlingException, InternalFailureException, ServiceUnavailableException, AwsServiceException, SdkClientException, IotEventsException Deletes an alarm model. Any alarm instances that were created based on this alarm model are also deleted. This action can't be undone.
This is a convenience which creates an instance of the
DeleteAlarmModelRequest.Builderavoiding the need to create one manually viaDeleteAlarmModelRequest.builder()- Parameters:
deleteAlarmModelRequest- AConsumerthat will call methods onDeleteAlarmModelRequest.Builderto create a request.- Returns:
- Result of the DeleteAlarmModel operation returned by the service.
- See Also:
-
deleteDetectorModel
default DeleteDetectorModelResponse deleteDetectorModel(DeleteDetectorModelRequest deleteDetectorModelRequest) throws InvalidRequestException, ResourceInUseException, ResourceNotFoundException, ThrottlingException, InternalFailureException, ServiceUnavailableException, AwsServiceException, SdkClientException, IotEventsException Deletes a detector model. Any active instances of the detector model are also deleted.
- Parameters:
deleteDetectorModelRequest-- Returns:
- Result of the DeleteDetectorModel operation returned by the service.
- See Also:
-
deleteDetectorModel
default DeleteDetectorModelResponse deleteDetectorModel(Consumer<DeleteDetectorModelRequest.Builder> deleteDetectorModelRequest) throws InvalidRequestException, ResourceInUseException, ResourceNotFoundException, ThrottlingException, InternalFailureException, ServiceUnavailableException, AwsServiceException, SdkClientException, IotEventsException Deletes a detector model. Any active instances of the detector model are also deleted.
This is a convenience which creates an instance of the
DeleteDetectorModelRequest.Builderavoiding the need to create one manually viaDeleteDetectorModelRequest.builder()- Parameters:
deleteDetectorModelRequest- AConsumerthat will call methods onDeleteDetectorModelRequest.Builderto create a request.- Returns:
- Result of the DeleteDetectorModel operation returned by the service.
- See Also:
-
deleteInput
default DeleteInputResponse deleteInput(DeleteInputRequest deleteInputRequest) throws InvalidRequestException, ResourceNotFoundException, ThrottlingException, InternalFailureException, ServiceUnavailableException, ResourceInUseException, AwsServiceException, SdkClientException, IotEventsException Deletes an input.
- Parameters:
deleteInputRequest-- Returns:
- Result of the DeleteInput operation returned by the service.
- See Also:
-
deleteInput
default DeleteInputResponse deleteInput(Consumer<DeleteInputRequest.Builder> deleteInputRequest) throws InvalidRequestException, ResourceNotFoundException, ThrottlingException, InternalFailureException, ServiceUnavailableException, ResourceInUseException, AwsServiceException, SdkClientException, IotEventsException Deletes an input.
This is a convenience which creates an instance of the
DeleteInputRequest.Builderavoiding the need to create one manually viaDeleteInputRequest.builder()- Parameters:
deleteInputRequest- AConsumerthat will call methods onDeleteInputRequest.Builderto create a request.- Returns:
- Result of the DeleteInput operation returned by the service.
- See Also:
-
describeAlarmModel
default DescribeAlarmModelResponse describeAlarmModel(DescribeAlarmModelRequest describeAlarmModelRequest) throws InvalidRequestException, ResourceNotFoundException, ThrottlingException, InternalFailureException, ServiceUnavailableException, AwsServiceException, SdkClientException, IotEventsException Retrieves information about an alarm model. If you don't specify a value for the
alarmModelVersionparameter, the latest version is returned.- Parameters:
describeAlarmModelRequest-- Returns:
- Result of the DescribeAlarmModel operation returned by the service.
- See Also:
-
describeAlarmModel
default DescribeAlarmModelResponse describeAlarmModel(Consumer<DescribeAlarmModelRequest.Builder> describeAlarmModelRequest) throws InvalidRequestException, ResourceNotFoundException, ThrottlingException, InternalFailureException, ServiceUnavailableException, AwsServiceException, SdkClientException, IotEventsException Retrieves information about an alarm model. If you don't specify a value for the
alarmModelVersionparameter, the latest version is returned.
This is a convenience which creates an instance of the
DescribeAlarmModelRequest.Builderavoiding the need to create one manually viaDescribeAlarmModelRequest.builder()- Parameters:
describeAlarmModelRequest- AConsumerthat will call methods onDescribeAlarmModelRequest.Builderto create a request.- Returns:
- Result of the DescribeAlarmModel operation returned by the service.
- See Also:
-
describeDetectorModel
default DescribeDetectorModelResponse describeDetectorModel(DescribeDetectorModelRequest describeDetectorModelRequest) throws InvalidRequestException, ResourceNotFoundException, ThrottlingException, InternalFailureException, ServiceUnavailableException, AwsServiceException, SdkClientException, IotEventsException Describes a detector model. If the
versionparameter is not specified, information about the latest version is returned.- Parameters:
describeDetectorModelRequest-- Returns:
- Result of the DescribeDetectorModel operation returned by the service.
- See Also:
-
describeDetectorModel
default DescribeDetectorModelResponse describeDetectorModel(Consumer<DescribeDetectorModelRequest.Builder> describeDetectorModelRequest) throws InvalidRequestException, ResourceNotFoundException, ThrottlingException, InternalFailureException, ServiceUnavailableException, AwsServiceException, SdkClientException, IotEventsException Describes a detector model. If the
versionparameter is not specified, information about the latest version is returned.
This is a convenience which creates an instance of the
DescribeDetectorModelRequest.Builderavoiding the need to create one manually viaDescribeDetectorModelRequest.builder()- Parameters:
describeDetectorModelRequest- AConsumerthat will call methods onDescribeDetectorModelRequest.Builderto create a request.- Returns:
- Result of the DescribeDetectorModel operation returned by the service.
- See Also:
-
describeDetectorModelAnalysis
default DescribeDetectorModelAnalysisResponse describeDetectorModelAnalysis(DescribeDetectorModelAnalysisRequest describeDetectorModelAnalysisRequest) throws InvalidRequestException, ResourceNotFoundException, ThrottlingException, InternalFailureException, ServiceUnavailableException, AwsServiceException, SdkClientException, IotEventsException 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.
- Parameters:
describeDetectorModelAnalysisRequest-- Returns:
- Result of the DescribeDetectorModelAnalysis operation returned by the service.
- See Also:
-
describeDetectorModelAnalysis
default DescribeDetectorModelAnalysisResponse describeDetectorModelAnalysis(Consumer<DescribeDetectorModelAnalysisRequest.Builder> describeDetectorModelAnalysisRequest) throws InvalidRequestException, ResourceNotFoundException, ThrottlingException, InternalFailureException, ServiceUnavailableException, AwsServiceException, SdkClientException, IotEventsException 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.
This is a convenience which creates an instance of the
DescribeDetectorModelAnalysisRequest.Builderavoiding the need to create one manually viaDescribeDetectorModelAnalysisRequest.builder()- Parameters:
describeDetectorModelAnalysisRequest- AConsumerthat will call methods onDescribeDetectorModelAnalysisRequest.Builderto create a request.- Returns:
- Result of the DescribeDetectorModelAnalysis operation returned by the service.
- See Also:
-
describeInput
default DescribeInputResponse describeInput(DescribeInputRequest describeInputRequest) throws InvalidRequestException, ResourceNotFoundException, ThrottlingException, InternalFailureException, ServiceUnavailableException, AwsServiceException, SdkClientException, IotEventsException Describes an input.
- Parameters:
describeInputRequest-- Returns:
- Result of the DescribeInput operation returned by the service.
- See Also:
-
describeInput
default DescribeInputResponse describeInput(Consumer<DescribeInputRequest.Builder> describeInputRequest) throws InvalidRequestException, ResourceNotFoundException, ThrottlingException, InternalFailureException, ServiceUnavailableException, AwsServiceException, SdkClientException, IotEventsException Describes an input.
This is a convenience which creates an instance of the
DescribeInputRequest.Builderavoiding the need to create one manually viaDescribeInputRequest.builder()- Parameters:
describeInputRequest- AConsumerthat will call methods onDescribeInputRequest.Builderto create a request.- Returns:
- Result of the DescribeInput operation returned by the service.
- See Also:
-
describeLoggingOptions
default DescribeLoggingOptionsResponse describeLoggingOptions(DescribeLoggingOptionsRequest describeLoggingOptionsRequest) throws InvalidRequestException, ThrottlingException, InternalFailureException, ResourceNotFoundException, ServiceUnavailableException, UnsupportedOperationException, AwsServiceException, SdkClientException, IotEventsException Retrieves the current settings of the AWS IoT Events logging options.
- Parameters:
describeLoggingOptionsRequest-- Returns:
- Result of the DescribeLoggingOptions operation returned by the service.
- See Also:
-
describeLoggingOptions
default DescribeLoggingOptionsResponse describeLoggingOptions(Consumer<DescribeLoggingOptionsRequest.Builder> describeLoggingOptionsRequest) throws InvalidRequestException, ThrottlingException, InternalFailureException, ResourceNotFoundException, ServiceUnavailableException, UnsupportedOperationException, AwsServiceException, SdkClientException, IotEventsException Retrieves the current settings of the AWS IoT Events logging options.
This is a convenience which creates an instance of the
DescribeLoggingOptionsRequest.Builderavoiding the need to create one manually viaDescribeLoggingOptionsRequest.builder()- Parameters:
describeLoggingOptionsRequest- AConsumerthat will call methods onDescribeLoggingOptionsRequest.Builderto create a request.- Returns:
- Result of the DescribeLoggingOptions operation returned by the service.
- See Also:
-
getDetectorModelAnalysisResults
default GetDetectorModelAnalysisResultsResponse getDetectorModelAnalysisResults(GetDetectorModelAnalysisResultsRequest getDetectorModelAnalysisResultsRequest) throws InvalidRequestException, ResourceNotFoundException, ThrottlingException, InternalFailureException, ServiceUnavailableException, AwsServiceException, SdkClientException, IotEventsException 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.
- Parameters:
getDetectorModelAnalysisResultsRequest-- Returns:
- Result of the GetDetectorModelAnalysisResults operation returned by the service.
- See Also:
-
getDetectorModelAnalysisResults
default GetDetectorModelAnalysisResultsResponse getDetectorModelAnalysisResults(Consumer<GetDetectorModelAnalysisResultsRequest.Builder> getDetectorModelAnalysisResultsRequest) throws InvalidRequestException, ResourceNotFoundException, ThrottlingException, InternalFailureException, ServiceUnavailableException, AwsServiceException, SdkClientException, IotEventsException 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.
This is a convenience which creates an instance of the
GetDetectorModelAnalysisResultsRequest.Builderavoiding the need to create one manually viaGetDetectorModelAnalysisResultsRequest.builder()- Parameters:
getDetectorModelAnalysisResultsRequest- AConsumerthat will call methods onGetDetectorModelAnalysisResultsRequest.Builderto create a request.- Returns:
- Result of the GetDetectorModelAnalysisResults operation returned by the service.
- See Also:
-
listAlarmModelVersions
default ListAlarmModelVersionsResponse listAlarmModelVersions(ListAlarmModelVersionsRequest listAlarmModelVersionsRequest) throws InvalidRequestException, ResourceNotFoundException, ThrottlingException, InternalFailureException, ServiceUnavailableException, AwsServiceException, SdkClientException, IotEventsException Lists all the versions of an alarm model. The operation returns only the metadata associated with each alarm model version.
- Parameters:
listAlarmModelVersionsRequest-- Returns:
- Result of the ListAlarmModelVersions operation returned by the service.
- See Also:
-
listAlarmModelVersions
default ListAlarmModelVersionsResponse listAlarmModelVersions(Consumer<ListAlarmModelVersionsRequest.Builder> listAlarmModelVersionsRequest) throws InvalidRequestException, ResourceNotFoundException, ThrottlingException, InternalFailureException, ServiceUnavailableException, AwsServiceException, SdkClientException, IotEventsException Lists all the versions of an alarm model. The operation returns only the metadata associated with each alarm model version.
This is a convenience which creates an instance of the
ListAlarmModelVersionsRequest.Builderavoiding the need to create one manually viaListAlarmModelVersionsRequest.builder()- Parameters:
listAlarmModelVersionsRequest- AConsumerthat will call methods onListAlarmModelVersionsRequest.Builderto create a request.- Returns:
- Result of the ListAlarmModelVersions operation returned by the service.
- See Also:
-
listAlarmModels
default ListAlarmModelsResponse listAlarmModels(ListAlarmModelsRequest listAlarmModelsRequest) throws InvalidRequestException, ThrottlingException, InternalFailureException, ServiceUnavailableException, AwsServiceException, SdkClientException, IotEventsException Lists the alarm models that you created. The operation returns only the metadata associated with each alarm model.
- Parameters:
listAlarmModelsRequest-- Returns:
- Result of the ListAlarmModels operation returned by the service.
- See Also:
-
listAlarmModels
default ListAlarmModelsResponse listAlarmModels(Consumer<ListAlarmModelsRequest.Builder> listAlarmModelsRequest) throws InvalidRequestException, ThrottlingException, InternalFailureException, ServiceUnavailableException, AwsServiceException, SdkClientException, IotEventsException Lists the alarm models that you created. The operation returns only the metadata associated with each alarm model.
This is a convenience which creates an instance of the
ListAlarmModelsRequest.Builderavoiding the need to create one manually viaListAlarmModelsRequest.builder()- Parameters:
listAlarmModelsRequest- AConsumerthat will call methods onListAlarmModelsRequest.Builderto create a request.- Returns:
- Result of the ListAlarmModels operation returned by the service.
- See Also:
-
listDetectorModelVersions
default ListDetectorModelVersionsResponse listDetectorModelVersions(ListDetectorModelVersionsRequest listDetectorModelVersionsRequest) throws InvalidRequestException, ResourceNotFoundException, ThrottlingException, InternalFailureException, ServiceUnavailableException, AwsServiceException, SdkClientException, IotEventsException Lists all the versions of a detector model. Only the metadata associated with each detector model version is returned.
- Parameters:
listDetectorModelVersionsRequest-- Returns:
- Result of the ListDetectorModelVersions operation returned by the service.
- See Also:
-
listDetectorModelVersions
default ListDetectorModelVersionsResponse listDetectorModelVersions(Consumer<ListDetectorModelVersionsRequest.Builder> listDetectorModelVersionsRequest) throws InvalidRequestException, ResourceNotFoundException, ThrottlingException, InternalFailureException, ServiceUnavailableException, AwsServiceException, SdkClientException, IotEventsException Lists all the versions of a detector model. Only the metadata associated with each detector model version is returned.
This is a convenience which creates an instance of the
ListDetectorModelVersionsRequest.Builderavoiding the need to create one manually viaListDetectorModelVersionsRequest.builder()- Parameters:
listDetectorModelVersionsRequest- AConsumerthat will call methods onListDetectorModelVersionsRequest.Builderto create a request.- Returns:
- Result of the ListDetectorModelVersions operation returned by the service.
- See Also:
-
listDetectorModels
default ListDetectorModelsResponse listDetectorModels(ListDetectorModelsRequest listDetectorModelsRequest) throws InvalidRequestException, ThrottlingException, InternalFailureException, ServiceUnavailableException, AwsServiceException, SdkClientException, IotEventsException Lists the detector models you have created. Only the metadata associated with each detector model is returned.
- Parameters:
listDetectorModelsRequest-- Returns:
- Result of the ListDetectorModels operation returned by the service.
- See Also:
-
listDetectorModels
default ListDetectorModelsResponse listDetectorModels(Consumer<ListDetectorModelsRequest.Builder> listDetectorModelsRequest) throws InvalidRequestException, ThrottlingException, InternalFailureException, ServiceUnavailableException, AwsServiceException, SdkClientException, IotEventsException Lists the detector models you have created. Only the metadata associated with each detector model is returned.
This is a convenience which creates an instance of the
ListDetectorModelsRequest.Builderavoiding the need to create one manually viaListDetectorModelsRequest.builder()- Parameters:
listDetectorModelsRequest- AConsumerthat will call methods onListDetectorModelsRequest.Builderto create a request.- Returns:
- Result of the ListDetectorModels operation returned by the service.
- See Also:
-
listInputRoutings
default ListInputRoutingsResponse listInputRoutings(ListInputRoutingsRequest listInputRoutingsRequest) throws InvalidRequestException, ThrottlingException, InternalFailureException, ServiceUnavailableException, ResourceNotFoundException, AwsServiceException, SdkClientException, IotEventsException Lists one or more input routings.
- Parameters:
listInputRoutingsRequest-- Returns:
- Result of the ListInputRoutings operation returned by the service.
- See Also:
-
listInputRoutings
default ListInputRoutingsResponse listInputRoutings(Consumer<ListInputRoutingsRequest.Builder> listInputRoutingsRequest) throws InvalidRequestException, ThrottlingException, InternalFailureException, ServiceUnavailableException, ResourceNotFoundException, AwsServiceException, SdkClientException, IotEventsException Lists one or more input routings.
This is a convenience which creates an instance of the
ListInputRoutingsRequest.Builderavoiding the need to create one manually viaListInputRoutingsRequest.builder()- Parameters:
listInputRoutingsRequest- AConsumerthat will call methods onListInputRoutingsRequest.Builderto create a request.- Returns:
- Result of the ListInputRoutings operation returned by the service.
- See Also:
-
listInputs
default ListInputsResponse listInputs(ListInputsRequest listInputsRequest) throws InvalidRequestException, ThrottlingException, InternalFailureException, ServiceUnavailableException, AwsServiceException, SdkClientException, IotEventsException Lists the inputs you have created.
- Parameters:
listInputsRequest-- Returns:
- Result of the ListInputs operation returned by the service.
- See Also:
-
listInputs
default ListInputsResponse listInputs(Consumer<ListInputsRequest.Builder> listInputsRequest) throws InvalidRequestException, ThrottlingException, InternalFailureException, ServiceUnavailableException, AwsServiceException, SdkClientException, IotEventsException Lists the inputs you have created.
This is a convenience which creates an instance of the
ListInputsRequest.Builderavoiding the need to create one manually viaListInputsRequest.builder()- Parameters:
listInputsRequest- AConsumerthat will call methods onListInputsRequest.Builderto create a request.- Returns:
- Result of the ListInputs operation returned by the service.
- See Also:
-
listTagsForResource
default ListTagsForResourceResponse listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest) throws InvalidRequestException, ResourceNotFoundException, ResourceInUseException, ThrottlingException, InternalFailureException, AwsServiceException, SdkClientException, IotEventsException Lists the tags (metadata) you have assigned to the resource.
- Parameters:
listTagsForResourceRequest-- Returns:
- Result of the ListTagsForResource operation returned by the service.
- See Also:
-
listTagsForResource
default ListTagsForResourceResponse listTagsForResource(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest) throws InvalidRequestException, ResourceNotFoundException, ResourceInUseException, ThrottlingException, InternalFailureException, AwsServiceException, SdkClientException, IotEventsException Lists the tags (metadata) you have assigned to the resource.
This is a convenience which creates an instance of the
ListTagsForResourceRequest.Builderavoiding the need to create one manually viaListTagsForResourceRequest.builder()- Parameters:
listTagsForResourceRequest- AConsumerthat will call methods onListTagsForResourceRequest.Builderto create a request.- Returns:
- Result of the ListTagsForResource operation returned by the service.
- See Also:
-
putLoggingOptions
default PutLoggingOptionsResponse putLoggingOptions(PutLoggingOptionsRequest putLoggingOptionsRequest) throws InvalidRequestException, ThrottlingException, InternalFailureException, ServiceUnavailableException, UnsupportedOperationException, ResourceInUseException, AwsServiceException, SdkClientException, IotEventsException Sets or updates the AWS IoT Events logging options.
If you update the value of any
loggingOptionsfield, it takes up to one minute for the change to take effect. If you change the policy attached to the role you specified in theroleArnfield (for example, to correct an invalid policy), it takes up to five minutes for that change to take effect.- Parameters:
putLoggingOptionsRequest-- Returns:
- Result of the PutLoggingOptions operation returned by the service.
- See Also:
-
putLoggingOptions
default PutLoggingOptionsResponse putLoggingOptions(Consumer<PutLoggingOptionsRequest.Builder> putLoggingOptionsRequest) throws InvalidRequestException, ThrottlingException, InternalFailureException, ServiceUnavailableException, UnsupportedOperationException, ResourceInUseException, AwsServiceException, SdkClientException, IotEventsException Sets or updates the AWS IoT Events logging options.
If you update the value of any
loggingOptionsfield, it takes up to one minute for the change to take effect. If you change the policy attached to the role you specified in theroleArnfield (for example, to correct an invalid policy), it takes up to five minutes for that change to take effect.
This is a convenience which creates an instance of the
PutLoggingOptionsRequest.Builderavoiding the need to create one manually viaPutLoggingOptionsRequest.builder()- Parameters:
putLoggingOptionsRequest- AConsumerthat will call methods onPutLoggingOptionsRequest.Builderto create a request.- Returns:
- Result of the PutLoggingOptions operation returned by the service.
- See Also:
-
startDetectorModelAnalysis
default StartDetectorModelAnalysisResponse startDetectorModelAnalysis(StartDetectorModelAnalysisRequest startDetectorModelAnalysisRequest) throws InvalidRequestException, LimitExceededException, ThrottlingException, InternalFailureException, ServiceUnavailableException, AwsServiceException, SdkClientException, IotEventsException Performs an analysis of your detector model. For more information, see Troubleshooting a detector model in the AWS IoT Events Developer Guide.
- Parameters:
startDetectorModelAnalysisRequest-- Returns:
- Result of the StartDetectorModelAnalysis operation returned by the service.
- See Also:
-
startDetectorModelAnalysis
default StartDetectorModelAnalysisResponse startDetectorModelAnalysis(Consumer<StartDetectorModelAnalysisRequest.Builder> startDetectorModelAnalysisRequest) throws InvalidRequestException, LimitExceededException, ThrottlingException, InternalFailureException, ServiceUnavailableException, AwsServiceException, SdkClientException, IotEventsException Performs an analysis of your detector model. For more information, see Troubleshooting a detector model in the AWS IoT Events Developer Guide.
This is a convenience which creates an instance of the
StartDetectorModelAnalysisRequest.Builderavoiding the need to create one manually viaStartDetectorModelAnalysisRequest.builder()- Parameters:
startDetectorModelAnalysisRequest- AConsumerthat will call methods onStartDetectorModelAnalysisRequest.Builderto create a request.- Returns:
- Result of the StartDetectorModelAnalysis operation returned by the service.
- See Also:
-
tagResource
default TagResourceResponse tagResource(TagResourceRequest tagResourceRequest) throws InvalidRequestException, ResourceNotFoundException, ResourceInUseException, ThrottlingException, LimitExceededException, InternalFailureException, AwsServiceException, SdkClientException, IotEventsException Adds to or modifies the tags of the given resource. Tags are metadata that can be used to manage a resource.
- Parameters:
tagResourceRequest-- Returns:
- Result of the TagResource operation returned by the service.
- See Also:
-
tagResource
default TagResourceResponse tagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest) throws InvalidRequestException, ResourceNotFoundException, ResourceInUseException, ThrottlingException, LimitExceededException, InternalFailureException, AwsServiceException, SdkClientException, IotEventsException Adds to or modifies the tags of the given resource. Tags are metadata that can be used to manage a resource.
This is a convenience which creates an instance of the
TagResourceRequest.Builderavoiding the need to create one manually viaTagResourceRequest.builder()- Parameters:
tagResourceRequest- AConsumerthat will call methods onTagResourceRequest.Builderto create a request.- Returns:
- Result of the TagResource operation returned by the service.
- See Also:
-
untagResource
default UntagResourceResponse untagResource(UntagResourceRequest untagResourceRequest) throws InvalidRequestException, ResourceNotFoundException, ResourceInUseException, ThrottlingException, InternalFailureException, AwsServiceException, SdkClientException, IotEventsException Removes the given tags (metadata) from the resource.
- Parameters:
untagResourceRequest-- Returns:
- Result of the UntagResource operation returned by the service.
- See Also:
-
untagResource
default UntagResourceResponse untagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest) throws InvalidRequestException, ResourceNotFoundException, ResourceInUseException, ThrottlingException, InternalFailureException, AwsServiceException, SdkClientException, IotEventsException Removes the given tags (metadata) from the resource.
This is a convenience which creates an instance of the
UntagResourceRequest.Builderavoiding the need to create one manually viaUntagResourceRequest.builder()- Parameters:
untagResourceRequest- AConsumerthat will call methods onUntagResourceRequest.Builderto create a request.- Returns:
- Result of the UntagResource operation returned by the service.
- See Also:
-
updateAlarmModel
default UpdateAlarmModelResponse updateAlarmModel(UpdateAlarmModelRequest updateAlarmModelRequest) throws InvalidRequestException, ResourceInUseException, ResourceNotFoundException, ThrottlingException, InternalFailureException, ServiceUnavailableException, AwsServiceException, SdkClientException, IotEventsException Updates an alarm model. Any alarms that were created based on the previous version are deleted and then created again as new data arrives.
- Parameters:
updateAlarmModelRequest-- Returns:
- Result of the UpdateAlarmModel operation returned by the service.
- See Also:
-
updateAlarmModel
default UpdateAlarmModelResponse updateAlarmModel(Consumer<UpdateAlarmModelRequest.Builder> updateAlarmModelRequest) throws InvalidRequestException, ResourceInUseException, ResourceNotFoundException, ThrottlingException, InternalFailureException, ServiceUnavailableException, AwsServiceException, SdkClientException, IotEventsException Updates an alarm model. Any alarms that were created based on the previous version are deleted and then created again as new data arrives.
This is a convenience which creates an instance of the
UpdateAlarmModelRequest.Builderavoiding the need to create one manually viaUpdateAlarmModelRequest.builder()- Parameters:
updateAlarmModelRequest- AConsumerthat will call methods onUpdateAlarmModelRequest.Builderto create a request.- Returns:
- Result of the UpdateAlarmModel operation returned by the service.
- See Also:
-
updateDetectorModel
default UpdateDetectorModelResponse updateDetectorModel(UpdateDetectorModelRequest updateDetectorModelRequest) throws InvalidRequestException, ResourceInUseException, ResourceNotFoundException, ThrottlingException, InternalFailureException, ServiceUnavailableException, AwsServiceException, SdkClientException, IotEventsException Updates a detector model. Detectors (instances) spawned by the previous version are deleted and then re-created as new inputs arrive.
- Parameters:
updateDetectorModelRequest-- Returns:
- Result of the UpdateDetectorModel operation returned by the service.
- See Also:
-
updateDetectorModel
default UpdateDetectorModelResponse updateDetectorModel(Consumer<UpdateDetectorModelRequest.Builder> updateDetectorModelRequest) throws InvalidRequestException, ResourceInUseException, ResourceNotFoundException, ThrottlingException, InternalFailureException, ServiceUnavailableException, AwsServiceException, SdkClientException, IotEventsException Updates a detector model. Detectors (instances) spawned by the previous version are deleted and then re-created as new inputs arrive.
This is a convenience which creates an instance of the
UpdateDetectorModelRequest.Builderavoiding the need to create one manually viaUpdateDetectorModelRequest.builder()- Parameters:
updateDetectorModelRequest- AConsumerthat will call methods onUpdateDetectorModelRequest.Builderto create a request.- Returns:
- Result of the UpdateDetectorModel operation returned by the service.
- See Also:
-
updateInput
default UpdateInputResponse updateInput(UpdateInputRequest updateInputRequest) throws InvalidRequestException, ThrottlingException, ResourceNotFoundException, InternalFailureException, ServiceUnavailableException, ResourceInUseException, AwsServiceException, SdkClientException, IotEventsException Updates an input.
- Parameters:
updateInputRequest-- Returns:
- Result of the UpdateInput operation returned by the service.
- See Also:
-
updateInput
default UpdateInputResponse updateInput(Consumer<UpdateInputRequest.Builder> updateInputRequest) throws InvalidRequestException, ThrottlingException, ResourceNotFoundException, InternalFailureException, ServiceUnavailableException, ResourceInUseException, AwsServiceException, SdkClientException, IotEventsException Updates an input.
This is a convenience which creates an instance of the
UpdateInputRequest.Builderavoiding the need to create one manually viaUpdateInputRequest.builder()- Parameters:
updateInputRequest- AConsumerthat will call methods onUpdateInputRequest.Builderto create a request.- Returns:
- Result of the UpdateInput operation returned by the service.
- See Also:
-
create
Create aIotEventsClientwith the region loaded from theDefaultAwsRegionProviderChainand credentials loaded from theDefaultCredentialsProvider. -
builder
Create a builder that can be used to configure and create aIotEventsClient. -
serviceMetadata
-
serviceClientConfiguration
Description copied from interface:SdkClientThe SDK service client configuration exposes client settings to the user, e.g., ClientOverrideConfiguration- Specified by:
serviceClientConfigurationin interfaceAwsClient- Specified by:
serviceClientConfigurationin interfaceSdkClient- Returns:
- SdkServiceClientConfiguration
-