@Generated(value="software.amazon.awssdk:codegen") @ThreadSafe public interface LookoutMetricsClient extends AwsClient
builder() method.
This is the Amazon Lookout for Metrics API Reference. For an introduction to the service with tutorials for getting started, visit Amazon Lookout for Metrics Developer Guide.
| Modifier and Type | Field and Description |
|---|---|
static String |
SERVICE_METADATA_ID
Value for looking up the service's metadata from the
ServiceMetadataProvider. |
static String |
SERVICE_NAME |
| Modifier and Type | Method and Description |
|---|---|
default ActivateAnomalyDetectorResponse |
activateAnomalyDetector(ActivateAnomalyDetectorRequest activateAnomalyDetectorRequest)
Activates an anomaly detector.
|
default ActivateAnomalyDetectorResponse |
activateAnomalyDetector(Consumer<ActivateAnomalyDetectorRequest.Builder> activateAnomalyDetectorRequest)
Activates an anomaly detector.
|
default BackTestAnomalyDetectorResponse |
backTestAnomalyDetector(BackTestAnomalyDetectorRequest backTestAnomalyDetectorRequest)
Runs a backtest for anomaly detection for the specified resource.
|
default BackTestAnomalyDetectorResponse |
backTestAnomalyDetector(Consumer<BackTestAnomalyDetectorRequest.Builder> backTestAnomalyDetectorRequest)
Runs a backtest for anomaly detection for the specified resource.
|
static LookoutMetricsClientBuilder |
builder()
Create a builder that can be used to configure and create a
LookoutMetricsClient. |
static LookoutMetricsClient |
create()
Create a
LookoutMetricsClient with the region loaded from the
DefaultAwsRegionProviderChain and credentials loaded from the
DefaultCredentialsProvider. |
default CreateAlertResponse |
createAlert(Consumer<CreateAlertRequest.Builder> createAlertRequest)
Creates an alert for an anomaly detector.
|
default CreateAlertResponse |
createAlert(CreateAlertRequest createAlertRequest)
Creates an alert for an anomaly detector.
|
default CreateAnomalyDetectorResponse |
createAnomalyDetector(Consumer<CreateAnomalyDetectorRequest.Builder> createAnomalyDetectorRequest)
Creates an anomaly detector.
|
default CreateAnomalyDetectorResponse |
createAnomalyDetector(CreateAnomalyDetectorRequest createAnomalyDetectorRequest)
Creates an anomaly detector.
|
default CreateMetricSetResponse |
createMetricSet(Consumer<CreateMetricSetRequest.Builder> createMetricSetRequest)
Creates a dataset.
|
default CreateMetricSetResponse |
createMetricSet(CreateMetricSetRequest createMetricSetRequest)
Creates a dataset.
|
default DeactivateAnomalyDetectorResponse |
deactivateAnomalyDetector(Consumer<DeactivateAnomalyDetectorRequest.Builder> deactivateAnomalyDetectorRequest)
Deactivates an anomaly detector.
|
default DeactivateAnomalyDetectorResponse |
deactivateAnomalyDetector(DeactivateAnomalyDetectorRequest deactivateAnomalyDetectorRequest)
Deactivates an anomaly detector.
|
default DeleteAlertResponse |
deleteAlert(Consumer<DeleteAlertRequest.Builder> deleteAlertRequest)
Deletes an alert.
|
default DeleteAlertResponse |
deleteAlert(DeleteAlertRequest deleteAlertRequest)
Deletes an alert.
|
default DeleteAnomalyDetectorResponse |
deleteAnomalyDetector(Consumer<DeleteAnomalyDetectorRequest.Builder> deleteAnomalyDetectorRequest)
Deletes a detector.
|
default DeleteAnomalyDetectorResponse |
deleteAnomalyDetector(DeleteAnomalyDetectorRequest deleteAnomalyDetectorRequest)
Deletes a detector.
|
default DescribeAlertResponse |
describeAlert(Consumer<DescribeAlertRequest.Builder> describeAlertRequest)
Describes an alert.
|
default DescribeAlertResponse |
describeAlert(DescribeAlertRequest describeAlertRequest)
Describes an alert.
|
default DescribeAnomalyDetectionExecutionsResponse |
describeAnomalyDetectionExecutions(Consumer<DescribeAnomalyDetectionExecutionsRequest.Builder> describeAnomalyDetectionExecutionsRequest)
Returns information about the status of the specified anomaly detection jobs.
|
default DescribeAnomalyDetectionExecutionsResponse |
describeAnomalyDetectionExecutions(DescribeAnomalyDetectionExecutionsRequest describeAnomalyDetectionExecutionsRequest)
Returns information about the status of the specified anomaly detection jobs.
|
default DescribeAnomalyDetectionExecutionsIterable |
describeAnomalyDetectionExecutionsPaginator(Consumer<DescribeAnomalyDetectionExecutionsRequest.Builder> describeAnomalyDetectionExecutionsRequest)
Returns information about the status of the specified anomaly detection jobs.
|
default DescribeAnomalyDetectionExecutionsIterable |
describeAnomalyDetectionExecutionsPaginator(DescribeAnomalyDetectionExecutionsRequest describeAnomalyDetectionExecutionsRequest)
Returns information about the status of the specified anomaly detection jobs.
|
default DescribeAnomalyDetectorResponse |
describeAnomalyDetector(Consumer<DescribeAnomalyDetectorRequest.Builder> describeAnomalyDetectorRequest)
Describes a detector.
|
default DescribeAnomalyDetectorResponse |
describeAnomalyDetector(DescribeAnomalyDetectorRequest describeAnomalyDetectorRequest)
Describes a detector.
|
default DescribeMetricSetResponse |
describeMetricSet(Consumer<DescribeMetricSetRequest.Builder> describeMetricSetRequest)
Describes a dataset.
|
default DescribeMetricSetResponse |
describeMetricSet(DescribeMetricSetRequest describeMetricSetRequest)
Describes a dataset.
|
default DetectMetricSetConfigResponse |
detectMetricSetConfig(Consumer<DetectMetricSetConfigRequest.Builder> detectMetricSetConfigRequest)
Detects an Amazon S3 dataset's file format, interval, and offset.
|
default DetectMetricSetConfigResponse |
detectMetricSetConfig(DetectMetricSetConfigRequest detectMetricSetConfigRequest)
Detects an Amazon S3 dataset's file format, interval, and offset.
|
default GetAnomalyGroupResponse |
getAnomalyGroup(Consumer<GetAnomalyGroupRequest.Builder> getAnomalyGroupRequest)
Returns details about a group of anomalous metrics.
|
default GetAnomalyGroupResponse |
getAnomalyGroup(GetAnomalyGroupRequest getAnomalyGroupRequest)
Returns details about a group of anomalous metrics.
|
default GetDataQualityMetricsResponse |
getDataQualityMetrics(Consumer<GetDataQualityMetricsRequest.Builder> getDataQualityMetricsRequest)
Returns details about the requested data quality metrics.
|
default GetDataQualityMetricsResponse |
getDataQualityMetrics(GetDataQualityMetricsRequest getDataQualityMetricsRequest)
Returns details about the requested data quality metrics.
|
default GetFeedbackResponse |
getFeedback(Consumer<GetFeedbackRequest.Builder> getFeedbackRequest)
Get feedback for an anomaly group.
|
default GetFeedbackResponse |
getFeedback(GetFeedbackRequest getFeedbackRequest)
Get feedback for an anomaly group.
|
default GetFeedbackIterable |
getFeedbackPaginator(Consumer<GetFeedbackRequest.Builder> getFeedbackRequest)
Get feedback for an anomaly group.
|
default GetFeedbackIterable |
getFeedbackPaginator(GetFeedbackRequest getFeedbackRequest)
Get feedback for an anomaly group.
|
default GetSampleDataResponse |
getSampleData(Consumer<GetSampleDataRequest.Builder> getSampleDataRequest)
Returns a selection of sample records from an Amazon S3 datasource.
|
default GetSampleDataResponse |
getSampleData(GetSampleDataRequest getSampleDataRequest)
Returns a selection of sample records from an Amazon S3 datasource.
|
default ListAlertsResponse |
listAlerts(Consumer<ListAlertsRequest.Builder> listAlertsRequest)
Lists the alerts attached to a detector.
|
default ListAlertsResponse |
listAlerts(ListAlertsRequest listAlertsRequest)
Lists the alerts attached to a detector.
|
default ListAlertsIterable |
listAlertsPaginator(Consumer<ListAlertsRequest.Builder> listAlertsRequest)
Lists the alerts attached to a detector.
|
default ListAlertsIterable |
listAlertsPaginator(ListAlertsRequest listAlertsRequest)
Lists the alerts attached to a detector.
|
default ListAnomalyDetectorsResponse |
listAnomalyDetectors(Consumer<ListAnomalyDetectorsRequest.Builder> listAnomalyDetectorsRequest)
Lists the detectors in the current AWS Region.
|
default ListAnomalyDetectorsResponse |
listAnomalyDetectors(ListAnomalyDetectorsRequest listAnomalyDetectorsRequest)
Lists the detectors in the current AWS Region.
|
default ListAnomalyDetectorsIterable |
listAnomalyDetectorsPaginator(Consumer<ListAnomalyDetectorsRequest.Builder> listAnomalyDetectorsRequest)
Lists the detectors in the current AWS Region.
|
default ListAnomalyDetectorsIterable |
listAnomalyDetectorsPaginator(ListAnomalyDetectorsRequest listAnomalyDetectorsRequest)
Lists the detectors in the current AWS Region.
|
default ListAnomalyGroupRelatedMetricsResponse |
listAnomalyGroupRelatedMetrics(Consumer<ListAnomalyGroupRelatedMetricsRequest.Builder> listAnomalyGroupRelatedMetricsRequest)
Returns a list of measures that are potential causes or effects of an anomaly group.
|
default ListAnomalyGroupRelatedMetricsResponse |
listAnomalyGroupRelatedMetrics(ListAnomalyGroupRelatedMetricsRequest listAnomalyGroupRelatedMetricsRequest)
Returns a list of measures that are potential causes or effects of an anomaly group.
|
default ListAnomalyGroupRelatedMetricsIterable |
listAnomalyGroupRelatedMetricsPaginator(Consumer<ListAnomalyGroupRelatedMetricsRequest.Builder> listAnomalyGroupRelatedMetricsRequest)
Returns a list of measures that are potential causes or effects of an anomaly group.
|
default ListAnomalyGroupRelatedMetricsIterable |
listAnomalyGroupRelatedMetricsPaginator(ListAnomalyGroupRelatedMetricsRequest listAnomalyGroupRelatedMetricsRequest)
Returns a list of measures that are potential causes or effects of an anomaly group.
|
default ListAnomalyGroupSummariesResponse |
listAnomalyGroupSummaries(Consumer<ListAnomalyGroupSummariesRequest.Builder> listAnomalyGroupSummariesRequest)
Returns a list of anomaly groups.
|
default ListAnomalyGroupSummariesResponse |
listAnomalyGroupSummaries(ListAnomalyGroupSummariesRequest listAnomalyGroupSummariesRequest)
Returns a list of anomaly groups.
|
default ListAnomalyGroupSummariesIterable |
listAnomalyGroupSummariesPaginator(Consumer<ListAnomalyGroupSummariesRequest.Builder> listAnomalyGroupSummariesRequest)
Returns a list of anomaly groups.
|
default ListAnomalyGroupSummariesIterable |
listAnomalyGroupSummariesPaginator(ListAnomalyGroupSummariesRequest listAnomalyGroupSummariesRequest)
Returns a list of anomaly groups.
|
default ListAnomalyGroupTimeSeriesResponse |
listAnomalyGroupTimeSeries(Consumer<ListAnomalyGroupTimeSeriesRequest.Builder> listAnomalyGroupTimeSeriesRequest)
Gets a list of anomalous metrics for a measure in an anomaly group.
|
default ListAnomalyGroupTimeSeriesResponse |
listAnomalyGroupTimeSeries(ListAnomalyGroupTimeSeriesRequest listAnomalyGroupTimeSeriesRequest)
Gets a list of anomalous metrics for a measure in an anomaly group.
|
default ListAnomalyGroupTimeSeriesIterable |
listAnomalyGroupTimeSeriesPaginator(Consumer<ListAnomalyGroupTimeSeriesRequest.Builder> listAnomalyGroupTimeSeriesRequest)
Gets a list of anomalous metrics for a measure in an anomaly group.
|
default ListAnomalyGroupTimeSeriesIterable |
listAnomalyGroupTimeSeriesPaginator(ListAnomalyGroupTimeSeriesRequest listAnomalyGroupTimeSeriesRequest)
Gets a list of anomalous metrics for a measure in an anomaly group.
|
default ListMetricSetsResponse |
listMetricSets(Consumer<ListMetricSetsRequest.Builder> listMetricSetsRequest)
Lists the datasets in the current AWS Region.
|
default ListMetricSetsResponse |
listMetricSets(ListMetricSetsRequest listMetricSetsRequest)
Lists the datasets in the current AWS Region.
|
default ListMetricSetsIterable |
listMetricSetsPaginator(Consumer<ListMetricSetsRequest.Builder> listMetricSetsRequest)
Lists the datasets in the current AWS Region.
|
default ListMetricSetsIterable |
listMetricSetsPaginator(ListMetricSetsRequest listMetricSetsRequest)
Lists the datasets in the current AWS Region.
|
default ListTagsForResourceResponse |
listTagsForResource(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest)
Gets a list of tags for a
detector, dataset, or alert.
|
default ListTagsForResourceResponse |
listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest)
Gets a list of tags for a
detector, dataset, or alert.
|
default PutFeedbackResponse |
putFeedback(Consumer<PutFeedbackRequest.Builder> putFeedbackRequest)
Add feedback for an anomalous metric.
|
default PutFeedbackResponse |
putFeedback(PutFeedbackRequest putFeedbackRequest)
Add feedback for an anomalous metric.
|
default LookoutMetricsServiceClientConfiguration |
serviceClientConfiguration() |
static ServiceMetadata |
serviceMetadata() |
default TagResourceResponse |
tagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest)
Adds tags to a detector,
dataset, or alert.
|
default TagResourceResponse |
tagResource(TagResourceRequest tagResourceRequest)
Adds tags to a detector,
dataset, or alert.
|
default UntagResourceResponse |
untagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest)
Removes tags from a
detector, dataset, or alert.
|
default UntagResourceResponse |
untagResource(UntagResourceRequest untagResourceRequest)
Removes tags from a
detector, dataset, or alert.
|
default UpdateAlertResponse |
updateAlert(Consumer<UpdateAlertRequest.Builder> updateAlertRequest)
Make changes to an existing alert.
|
default UpdateAlertResponse |
updateAlert(UpdateAlertRequest updateAlertRequest)
Make changes to an existing alert.
|
default UpdateAnomalyDetectorResponse |
updateAnomalyDetector(Consumer<UpdateAnomalyDetectorRequest.Builder> updateAnomalyDetectorRequest)
Updates a detector.
|
default UpdateAnomalyDetectorResponse |
updateAnomalyDetector(UpdateAnomalyDetectorRequest updateAnomalyDetectorRequest)
Updates a detector.
|
default UpdateMetricSetResponse |
updateMetricSet(Consumer<UpdateMetricSetRequest.Builder> updateMetricSetRequest)
Updates a dataset.
|
default UpdateMetricSetResponse |
updateMetricSet(UpdateMetricSetRequest updateMetricSetRequest)
Updates a dataset.
|
serviceNameclosestatic final String SERVICE_NAME
static final String SERVICE_METADATA_ID
ServiceMetadataProvider.default ActivateAnomalyDetectorResponse activateAnomalyDetector(ActivateAnomalyDetectorRequest activateAnomalyDetectorRequest) throws ValidationException, ResourceNotFoundException, AccessDeniedException, TooManyRequestsException, InternalServerException, ConflictException, AwsServiceException, SdkClientException, LookoutMetricsException
Activates an anomaly detector.
activateAnomalyDetectorRequest - ValidationException - The input fails to satisfy the constraints specified by the AWS service. Check your input values and try
again.ResourceNotFoundException - The specified resource cannot be found. Check the ARN of the resource and try again.AccessDeniedException - You do not have sufficient permissions to perform this action.TooManyRequestsException - The request was denied due to too many requests being submitted at the same time.InternalServerException - The request processing has failed because of an unknown error, exception, or failure.ConflictException - There was a conflict processing the request. Try your request again.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LookoutMetricsException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ActivateAnomalyDetectorResponse activateAnomalyDetector(Consumer<ActivateAnomalyDetectorRequest.Builder> activateAnomalyDetectorRequest) throws ValidationException, ResourceNotFoundException, AccessDeniedException, TooManyRequestsException, InternalServerException, ConflictException, AwsServiceException, SdkClientException, LookoutMetricsException
Activates an anomaly detector.
This is a convenience which creates an instance of the ActivateAnomalyDetectorRequest.Builder avoiding
the need to create one manually via ActivateAnomalyDetectorRequest.builder()
activateAnomalyDetectorRequest - A Consumer that will call methods on ActivateAnomalyDetectorRequest.Builder to create a
request.ValidationException - The input fails to satisfy the constraints specified by the AWS service. Check your input values and try
again.ResourceNotFoundException - The specified resource cannot be found. Check the ARN of the resource and try again.AccessDeniedException - You do not have sufficient permissions to perform this action.TooManyRequestsException - The request was denied due to too many requests being submitted at the same time.InternalServerException - The request processing has failed because of an unknown error, exception, or failure.ConflictException - There was a conflict processing the request. Try your request again.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LookoutMetricsException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault BackTestAnomalyDetectorResponse backTestAnomalyDetector(BackTestAnomalyDetectorRequest backTestAnomalyDetectorRequest) throws ValidationException, ResourceNotFoundException, AccessDeniedException, TooManyRequestsException, InternalServerException, AwsServiceException, SdkClientException, LookoutMetricsException
Runs a backtest for anomaly detection for the specified resource.
backTestAnomalyDetectorRequest - ValidationException - The input fails to satisfy the constraints specified by the AWS service. Check your input values and try
again.ResourceNotFoundException - The specified resource cannot be found. Check the ARN of the resource and try again.AccessDeniedException - You do not have sufficient permissions to perform this action.TooManyRequestsException - The request was denied due to too many requests being submitted at the same time.InternalServerException - The request processing has failed because of an unknown error, exception, or failure.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LookoutMetricsException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault BackTestAnomalyDetectorResponse backTestAnomalyDetector(Consumer<BackTestAnomalyDetectorRequest.Builder> backTestAnomalyDetectorRequest) throws ValidationException, ResourceNotFoundException, AccessDeniedException, TooManyRequestsException, InternalServerException, AwsServiceException, SdkClientException, LookoutMetricsException
Runs a backtest for anomaly detection for the specified resource.
This is a convenience which creates an instance of the BackTestAnomalyDetectorRequest.Builder avoiding
the need to create one manually via BackTestAnomalyDetectorRequest.builder()
backTestAnomalyDetectorRequest - A Consumer that will call methods on BackTestAnomalyDetectorRequest.Builder to create a
request.ValidationException - The input fails to satisfy the constraints specified by the AWS service. Check your input values and try
again.ResourceNotFoundException - The specified resource cannot be found. Check the ARN of the resource and try again.AccessDeniedException - You do not have sufficient permissions to perform this action.TooManyRequestsException - The request was denied due to too many requests being submitted at the same time.InternalServerException - The request processing has failed because of an unknown error, exception, or failure.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LookoutMetricsException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault CreateAlertResponse createAlert(CreateAlertRequest createAlertRequest) throws ConflictException, ValidationException, ServiceQuotaExceededException, AccessDeniedException, TooManyRequestsException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, LookoutMetricsException
Creates an alert for an anomaly detector.
createAlertRequest - ConflictException - There was a conflict processing the request. Try your request again.ValidationException - The input fails to satisfy the constraints specified by the AWS service. Check your input values and try
again.ServiceQuotaExceededException - The request exceeded the service's quotas. Check the service quotas and try again.AccessDeniedException - You do not have sufficient permissions to perform this action.TooManyRequestsException - The request was denied due to too many requests being submitted at the same time.ResourceNotFoundException - The specified resource cannot be found. Check the ARN of the resource and try again.InternalServerException - The request processing has failed because of an unknown error, exception, or failure.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LookoutMetricsException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault CreateAlertResponse createAlert(Consumer<CreateAlertRequest.Builder> createAlertRequest) throws ConflictException, ValidationException, ServiceQuotaExceededException, AccessDeniedException, TooManyRequestsException, ResourceNotFoundException, InternalServerException, AwsServiceException, SdkClientException, LookoutMetricsException
Creates an alert for an anomaly detector.
This is a convenience which creates an instance of the CreateAlertRequest.Builder avoiding the need to
create one manually via CreateAlertRequest.builder()
createAlertRequest - A Consumer that will call methods on CreateAlertRequest.Builder to create a request.ConflictException - There was a conflict processing the request. Try your request again.ValidationException - The input fails to satisfy the constraints specified by the AWS service. Check your input values and try
again.ServiceQuotaExceededException - The request exceeded the service's quotas. Check the service quotas and try again.AccessDeniedException - You do not have sufficient permissions to perform this action.TooManyRequestsException - The request was denied due to too many requests being submitted at the same time.ResourceNotFoundException - The specified resource cannot be found. Check the ARN of the resource and try again.InternalServerException - The request processing has failed because of an unknown error, exception, or failure.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LookoutMetricsException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault CreateAnomalyDetectorResponse createAnomalyDetector(CreateAnomalyDetectorRequest createAnomalyDetectorRequest) throws ConflictException, ValidationException, ServiceQuotaExceededException, AccessDeniedException, TooManyRequestsException, InternalServerException, AwsServiceException, SdkClientException, LookoutMetricsException
Creates an anomaly detector.
createAnomalyDetectorRequest - ConflictException - There was a conflict processing the request. Try your request again.ValidationException - The input fails to satisfy the constraints specified by the AWS service. Check your input values and try
again.ServiceQuotaExceededException - The request exceeded the service's quotas. Check the service quotas and try again.ConflictException - There was a conflict processing the request. Try your request again.AccessDeniedException - You do not have sufficient permissions to perform this action.TooManyRequestsException - The request was denied due to too many requests being submitted at the same time.InternalServerException - The request processing has failed because of an unknown error, exception, or failure.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LookoutMetricsException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault CreateAnomalyDetectorResponse createAnomalyDetector(Consumer<CreateAnomalyDetectorRequest.Builder> createAnomalyDetectorRequest) throws ConflictException, ValidationException, ServiceQuotaExceededException, AccessDeniedException, TooManyRequestsException, InternalServerException, AwsServiceException, SdkClientException, LookoutMetricsException
Creates an anomaly detector.
This is a convenience which creates an instance of the CreateAnomalyDetectorRequest.Builder avoiding the
need to create one manually via CreateAnomalyDetectorRequest.builder()
createAnomalyDetectorRequest - A Consumer that will call methods on CreateAnomalyDetectorRequest.Builder to create a
request.ConflictException - There was a conflict processing the request. Try your request again.ValidationException - The input fails to satisfy the constraints specified by the AWS service. Check your input values and try
again.ServiceQuotaExceededException - The request exceeded the service's quotas. Check the service quotas and try again.ConflictException - There was a conflict processing the request. Try your request again.AccessDeniedException - You do not have sufficient permissions to perform this action.TooManyRequestsException - The request was denied due to too many requests being submitted at the same time.InternalServerException - The request processing has failed because of an unknown error, exception, or failure.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LookoutMetricsException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault CreateMetricSetResponse createMetricSet(CreateMetricSetRequest createMetricSetRequest) throws ConflictException, ValidationException, ResourceNotFoundException, ServiceQuotaExceededException, AccessDeniedException, TooManyRequestsException, InternalServerException, AwsServiceException, SdkClientException, LookoutMetricsException
Creates a dataset.
createMetricSetRequest - ConflictException - There was a conflict processing the request. Try your request again.ValidationException - The input fails to satisfy the constraints specified by the AWS service. Check your input values and try
again.ResourceNotFoundException - The specified resource cannot be found. Check the ARN of the resource and try again.ServiceQuotaExceededException - The request exceeded the service's quotas. Check the service quotas and try again.AccessDeniedException - You do not have sufficient permissions to perform this action.TooManyRequestsException - The request was denied due to too many requests being submitted at the same time.InternalServerException - The request processing has failed because of an unknown error, exception, or failure.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LookoutMetricsException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault CreateMetricSetResponse createMetricSet(Consumer<CreateMetricSetRequest.Builder> createMetricSetRequest) throws ConflictException, ValidationException, ResourceNotFoundException, ServiceQuotaExceededException, AccessDeniedException, TooManyRequestsException, InternalServerException, AwsServiceException, SdkClientException, LookoutMetricsException
Creates a dataset.
This is a convenience which creates an instance of the CreateMetricSetRequest.Builder avoiding the need
to create one manually via CreateMetricSetRequest.builder()
createMetricSetRequest - A Consumer that will call methods on CreateMetricSetRequest.Builder to create a request.ConflictException - There was a conflict processing the request. Try your request again.ValidationException - The input fails to satisfy the constraints specified by the AWS service. Check your input values and try
again.ResourceNotFoundException - The specified resource cannot be found. Check the ARN of the resource and try again.ServiceQuotaExceededException - The request exceeded the service's quotas. Check the service quotas and try again.AccessDeniedException - You do not have sufficient permissions to perform this action.TooManyRequestsException - The request was denied due to too many requests being submitted at the same time.InternalServerException - The request processing has failed because of an unknown error, exception, or failure.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LookoutMetricsException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DeactivateAnomalyDetectorResponse deactivateAnomalyDetector(DeactivateAnomalyDetectorRequest deactivateAnomalyDetectorRequest) throws ValidationException, ConflictException, ResourceNotFoundException, AccessDeniedException, TooManyRequestsException, InternalServerException, AwsServiceException, SdkClientException, LookoutMetricsException
Deactivates an anomaly detector.
deactivateAnomalyDetectorRequest - ValidationException - The input fails to satisfy the constraints specified by the AWS service. Check your input values and try
again.ConflictException - There was a conflict processing the request. Try your request again.ResourceNotFoundException - The specified resource cannot be found. Check the ARN of the resource and try again.AccessDeniedException - You do not have sufficient permissions to perform this action.TooManyRequestsException - The request was denied due to too many requests being submitted at the same time.InternalServerException - The request processing has failed because of an unknown error, exception, or failure.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LookoutMetricsException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DeactivateAnomalyDetectorResponse deactivateAnomalyDetector(Consumer<DeactivateAnomalyDetectorRequest.Builder> deactivateAnomalyDetectorRequest) throws ValidationException, ConflictException, ResourceNotFoundException, AccessDeniedException, TooManyRequestsException, InternalServerException, AwsServiceException, SdkClientException, LookoutMetricsException
Deactivates an anomaly detector.
This is a convenience which creates an instance of the DeactivateAnomalyDetectorRequest.Builder avoiding
the need to create one manually via DeactivateAnomalyDetectorRequest.builder()
deactivateAnomalyDetectorRequest - A Consumer that will call methods on DeactivateAnomalyDetectorRequest.Builder to create a
request.ValidationException - The input fails to satisfy the constraints specified by the AWS service. Check your input values and try
again.ConflictException - There was a conflict processing the request. Try your request again.ResourceNotFoundException - The specified resource cannot be found. Check the ARN of the resource and try again.AccessDeniedException - You do not have sufficient permissions to perform this action.TooManyRequestsException - The request was denied due to too many requests being submitted at the same time.InternalServerException - The request processing has failed because of an unknown error, exception, or failure.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LookoutMetricsException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DeleteAlertResponse deleteAlert(DeleteAlertRequest deleteAlertRequest) throws ResourceNotFoundException, ValidationException, TooManyRequestsException, AccessDeniedException, InternalServerException, AwsServiceException, SdkClientException, LookoutMetricsException
Deletes an alert.
deleteAlertRequest - ResourceNotFoundException - The specified resource cannot be found. Check the ARN of the resource and try again.ValidationException - The input fails to satisfy the constraints specified by the AWS service. Check your input values and try
again.TooManyRequestsException - The request was denied due to too many requests being submitted at the same time.AccessDeniedException - You do not have sufficient permissions to perform this action.InternalServerException - The request processing has failed because of an unknown error, exception, or failure.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LookoutMetricsException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DeleteAlertResponse deleteAlert(Consumer<DeleteAlertRequest.Builder> deleteAlertRequest) throws ResourceNotFoundException, ValidationException, TooManyRequestsException, AccessDeniedException, InternalServerException, AwsServiceException, SdkClientException, LookoutMetricsException
Deletes an alert.
This is a convenience which creates an instance of the DeleteAlertRequest.Builder avoiding the need to
create one manually via DeleteAlertRequest.builder()
deleteAlertRequest - A Consumer that will call methods on DeleteAlertRequest.Builder to create a request.ResourceNotFoundException - The specified resource cannot be found. Check the ARN of the resource and try again.ValidationException - The input fails to satisfy the constraints specified by the AWS service. Check your input values and try
again.TooManyRequestsException - The request was denied due to too many requests being submitted at the same time.AccessDeniedException - You do not have sufficient permissions to perform this action.InternalServerException - The request processing has failed because of an unknown error, exception, or failure.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LookoutMetricsException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DeleteAnomalyDetectorResponse deleteAnomalyDetector(DeleteAnomalyDetectorRequest deleteAnomalyDetectorRequest) throws ResourceNotFoundException, ValidationException, ConflictException, TooManyRequestsException, AccessDeniedException, InternalServerException, AwsServiceException, SdkClientException, LookoutMetricsException
Deletes a detector. Deleting an anomaly detector will delete all of its corresponding resources including any configured datasets and alerts.
deleteAnomalyDetectorRequest - ResourceNotFoundException - The specified resource cannot be found. Check the ARN of the resource and try again.ValidationException - The input fails to satisfy the constraints specified by the AWS service. Check your input values and try
again.ConflictException - There was a conflict processing the request. Try your request again.TooManyRequestsException - The request was denied due to too many requests being submitted at the same time.AccessDeniedException - You do not have sufficient permissions to perform this action.InternalServerException - The request processing has failed because of an unknown error, exception, or failure.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LookoutMetricsException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DeleteAnomalyDetectorResponse deleteAnomalyDetector(Consumer<DeleteAnomalyDetectorRequest.Builder> deleteAnomalyDetectorRequest) throws ResourceNotFoundException, ValidationException, ConflictException, TooManyRequestsException, AccessDeniedException, InternalServerException, AwsServiceException, SdkClientException, LookoutMetricsException
Deletes a detector. Deleting an anomaly detector will delete all of its corresponding resources including any configured datasets and alerts.
This is a convenience which creates an instance of the DeleteAnomalyDetectorRequest.Builder avoiding the
need to create one manually via DeleteAnomalyDetectorRequest.builder()
deleteAnomalyDetectorRequest - A Consumer that will call methods on DeleteAnomalyDetectorRequest.Builder to create a
request.ResourceNotFoundException - The specified resource cannot be found. Check the ARN of the resource and try again.ValidationException - The input fails to satisfy the constraints specified by the AWS service. Check your input values and try
again.ConflictException - There was a conflict processing the request. Try your request again.TooManyRequestsException - The request was denied due to too many requests being submitted at the same time.AccessDeniedException - You do not have sufficient permissions to perform this action.InternalServerException - The request processing has failed because of an unknown error, exception, or failure.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LookoutMetricsException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DescribeAlertResponse describeAlert(DescribeAlertRequest describeAlertRequest) throws ResourceNotFoundException, ValidationException, AccessDeniedException, InternalServerException, TooManyRequestsException, AwsServiceException, SdkClientException, LookoutMetricsException
Describes an alert.
Amazon Lookout for Metrics API actions are eventually consistent. If you do a read operation on a resource immediately after creating or modifying it, use retries to allow time for the write operation to complete.
describeAlertRequest - ResourceNotFoundException - The specified resource cannot be found. Check the ARN of the resource and try again.ValidationException - The input fails to satisfy the constraints specified by the AWS service. Check your input values and try
again.AccessDeniedException - You do not have sufficient permissions to perform this action.InternalServerException - The request processing has failed because of an unknown error, exception, or failure.TooManyRequestsException - The request was denied due to too many requests being submitted at the same time.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LookoutMetricsException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DescribeAlertResponse describeAlert(Consumer<DescribeAlertRequest.Builder> describeAlertRequest) throws ResourceNotFoundException, ValidationException, AccessDeniedException, InternalServerException, TooManyRequestsException, AwsServiceException, SdkClientException, LookoutMetricsException
Describes an alert.
Amazon Lookout for Metrics API actions are eventually consistent. If you do a read operation on a resource immediately after creating or modifying it, use retries to allow time for the write operation to complete.
This is a convenience which creates an instance of the DescribeAlertRequest.Builder avoiding the need to
create one manually via DescribeAlertRequest.builder()
describeAlertRequest - A Consumer that will call methods on DescribeAlertRequest.Builder to create a request.ResourceNotFoundException - The specified resource cannot be found. Check the ARN of the resource and try again.ValidationException - The input fails to satisfy the constraints specified by the AWS service. Check your input values and try
again.AccessDeniedException - You do not have sufficient permissions to perform this action.InternalServerException - The request processing has failed because of an unknown error, exception, or failure.TooManyRequestsException - The request was denied due to too many requests being submitted at the same time.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LookoutMetricsException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DescribeAnomalyDetectionExecutionsResponse describeAnomalyDetectionExecutions(DescribeAnomalyDetectionExecutionsRequest describeAnomalyDetectionExecutionsRequest) throws ResourceNotFoundException, ValidationException, AccessDeniedException, TooManyRequestsException, InternalServerException, AwsServiceException, SdkClientException, LookoutMetricsException
Returns information about the status of the specified anomaly detection jobs.
describeAnomalyDetectionExecutionsRequest - ResourceNotFoundException - The specified resource cannot be found. Check the ARN of the resource and try again.ValidationException - The input fails to satisfy the constraints specified by the AWS service. Check your input values and try
again.AccessDeniedException - You do not have sufficient permissions to perform this action.TooManyRequestsException - The request was denied due to too many requests being submitted at the same time.InternalServerException - The request processing has failed because of an unknown error, exception, or failure.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LookoutMetricsException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DescribeAnomalyDetectionExecutionsResponse describeAnomalyDetectionExecutions(Consumer<DescribeAnomalyDetectionExecutionsRequest.Builder> describeAnomalyDetectionExecutionsRequest) throws ResourceNotFoundException, ValidationException, AccessDeniedException, TooManyRequestsException, InternalServerException, AwsServiceException, SdkClientException, LookoutMetricsException
Returns information about the status of the specified anomaly detection jobs.
This is a convenience which creates an instance of the DescribeAnomalyDetectionExecutionsRequest.Builder
avoiding the need to create one manually via DescribeAnomalyDetectionExecutionsRequest.builder()
describeAnomalyDetectionExecutionsRequest - A Consumer that will call methods on DescribeAnomalyDetectionExecutionsRequest.Builder to
create a request.ResourceNotFoundException - The specified resource cannot be found. Check the ARN of the resource and try again.ValidationException - The input fails to satisfy the constraints specified by the AWS service. Check your input values and try
again.AccessDeniedException - You do not have sufficient permissions to perform this action.TooManyRequestsException - The request was denied due to too many requests being submitted at the same time.InternalServerException - The request processing has failed because of an unknown error, exception, or failure.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LookoutMetricsException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DescribeAnomalyDetectionExecutionsIterable describeAnomalyDetectionExecutionsPaginator(DescribeAnomalyDetectionExecutionsRequest describeAnomalyDetectionExecutionsRequest) throws ResourceNotFoundException, ValidationException, AccessDeniedException, TooManyRequestsException, InternalServerException, AwsServiceException, SdkClientException, LookoutMetricsException
Returns information about the status of the specified anomaly detection jobs.
This is a variant of
describeAnomalyDetectionExecutions(software.amazon.awssdk.services.lookoutmetrics.model.DescribeAnomalyDetectionExecutionsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.lookoutmetrics.paginators.DescribeAnomalyDetectionExecutionsIterable responses = client.describeAnomalyDetectionExecutionsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.lookoutmetrics.paginators.DescribeAnomalyDetectionExecutionsIterable responses = client
.describeAnomalyDetectionExecutionsPaginator(request);
for (software.amazon.awssdk.services.lookoutmetrics.model.DescribeAnomalyDetectionExecutionsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.lookoutmetrics.paginators.DescribeAnomalyDetectionExecutionsIterable responses = client.describeAnomalyDetectionExecutionsPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
describeAnomalyDetectionExecutions(software.amazon.awssdk.services.lookoutmetrics.model.DescribeAnomalyDetectionExecutionsRequest)
operation.
describeAnomalyDetectionExecutionsRequest - ResourceNotFoundException - The specified resource cannot be found. Check the ARN of the resource and try again.ValidationException - The input fails to satisfy the constraints specified by the AWS service. Check your input values and try
again.AccessDeniedException - You do not have sufficient permissions to perform this action.TooManyRequestsException - The request was denied due to too many requests being submitted at the same time.InternalServerException - The request processing has failed because of an unknown error, exception, or failure.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LookoutMetricsException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DescribeAnomalyDetectionExecutionsIterable describeAnomalyDetectionExecutionsPaginator(Consumer<DescribeAnomalyDetectionExecutionsRequest.Builder> describeAnomalyDetectionExecutionsRequest) throws ResourceNotFoundException, ValidationException, AccessDeniedException, TooManyRequestsException, InternalServerException, AwsServiceException, SdkClientException, LookoutMetricsException
Returns information about the status of the specified anomaly detection jobs.
This is a variant of
describeAnomalyDetectionExecutions(software.amazon.awssdk.services.lookoutmetrics.model.DescribeAnomalyDetectionExecutionsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.lookoutmetrics.paginators.DescribeAnomalyDetectionExecutionsIterable responses = client.describeAnomalyDetectionExecutionsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.lookoutmetrics.paginators.DescribeAnomalyDetectionExecutionsIterable responses = client
.describeAnomalyDetectionExecutionsPaginator(request);
for (software.amazon.awssdk.services.lookoutmetrics.model.DescribeAnomalyDetectionExecutionsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.lookoutmetrics.paginators.DescribeAnomalyDetectionExecutionsIterable responses = client.describeAnomalyDetectionExecutionsPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
describeAnomalyDetectionExecutions(software.amazon.awssdk.services.lookoutmetrics.model.DescribeAnomalyDetectionExecutionsRequest)
operation.
This is a convenience which creates an instance of the DescribeAnomalyDetectionExecutionsRequest.Builder
avoiding the need to create one manually via DescribeAnomalyDetectionExecutionsRequest.builder()
describeAnomalyDetectionExecutionsRequest - A Consumer that will call methods on DescribeAnomalyDetectionExecutionsRequest.Builder to
create a request.ResourceNotFoundException - The specified resource cannot be found. Check the ARN of the resource and try again.ValidationException - The input fails to satisfy the constraints specified by the AWS service. Check your input values and try
again.AccessDeniedException - You do not have sufficient permissions to perform this action.TooManyRequestsException - The request was denied due to too many requests being submitted at the same time.InternalServerException - The request processing has failed because of an unknown error, exception, or failure.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LookoutMetricsException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DescribeAnomalyDetectorResponse describeAnomalyDetector(DescribeAnomalyDetectorRequest describeAnomalyDetectorRequest) throws ResourceNotFoundException, ValidationException, AccessDeniedException, InternalServerException, TooManyRequestsException, AwsServiceException, SdkClientException, LookoutMetricsException
Describes a detector.
Amazon Lookout for Metrics API actions are eventually consistent. If you do a read operation on a resource immediately after creating or modifying it, use retries to allow time for the write operation to complete.
describeAnomalyDetectorRequest - ResourceNotFoundException - The specified resource cannot be found. Check the ARN of the resource and try again.ValidationException - The input fails to satisfy the constraints specified by the AWS service. Check your input values and try
again.AccessDeniedException - You do not have sufficient permissions to perform this action.InternalServerException - The request processing has failed because of an unknown error, exception, or failure.TooManyRequestsException - The request was denied due to too many requests being submitted at the same time.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LookoutMetricsException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DescribeAnomalyDetectorResponse describeAnomalyDetector(Consumer<DescribeAnomalyDetectorRequest.Builder> describeAnomalyDetectorRequest) throws ResourceNotFoundException, ValidationException, AccessDeniedException, InternalServerException, TooManyRequestsException, AwsServiceException, SdkClientException, LookoutMetricsException
Describes a detector.
Amazon Lookout for Metrics API actions are eventually consistent. If you do a read operation on a resource immediately after creating or modifying it, use retries to allow time for the write operation to complete.
This is a convenience which creates an instance of the DescribeAnomalyDetectorRequest.Builder avoiding
the need to create one manually via DescribeAnomalyDetectorRequest.builder()
describeAnomalyDetectorRequest - A Consumer that will call methods on DescribeAnomalyDetectorRequest.Builder to create a
request.ResourceNotFoundException - The specified resource cannot be found. Check the ARN of the resource and try again.ValidationException - The input fails to satisfy the constraints specified by the AWS service. Check your input values and try
again.AccessDeniedException - You do not have sufficient permissions to perform this action.InternalServerException - The request processing has failed because of an unknown error, exception, or failure.TooManyRequestsException - The request was denied due to too many requests being submitted at the same time.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LookoutMetricsException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DescribeMetricSetResponse describeMetricSet(DescribeMetricSetRequest describeMetricSetRequest) throws ResourceNotFoundException, ValidationException, AccessDeniedException, TooManyRequestsException, InternalServerException, AwsServiceException, SdkClientException, LookoutMetricsException
Describes a dataset.
Amazon Lookout for Metrics API actions are eventually consistent. If you do a read operation on a resource immediately after creating or modifying it, use retries to allow time for the write operation to complete.
describeMetricSetRequest - ResourceNotFoundException - The specified resource cannot be found. Check the ARN of the resource and try again.ValidationException - The input fails to satisfy the constraints specified by the AWS service. Check your input values and try
again.AccessDeniedException - You do not have sufficient permissions to perform this action.TooManyRequestsException - The request was denied due to too many requests being submitted at the same time.InternalServerException - The request processing has failed because of an unknown error, exception, or failure.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LookoutMetricsException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DescribeMetricSetResponse describeMetricSet(Consumer<DescribeMetricSetRequest.Builder> describeMetricSetRequest) throws ResourceNotFoundException, ValidationException, AccessDeniedException, TooManyRequestsException, InternalServerException, AwsServiceException, SdkClientException, LookoutMetricsException
Describes a dataset.
Amazon Lookout for Metrics API actions are eventually consistent. If you do a read operation on a resource immediately after creating or modifying it, use retries to allow time for the write operation to complete.
This is a convenience which creates an instance of the DescribeMetricSetRequest.Builder avoiding the need
to create one manually via DescribeMetricSetRequest.builder()
describeMetricSetRequest - A Consumer that will call methods on DescribeMetricSetRequest.Builder to create a request.ResourceNotFoundException - The specified resource cannot be found. Check the ARN of the resource and try again.ValidationException - The input fails to satisfy the constraints specified by the AWS service. Check your input values and try
again.AccessDeniedException - You do not have sufficient permissions to perform this action.TooManyRequestsException - The request was denied due to too many requests being submitted at the same time.InternalServerException - The request processing has failed because of an unknown error, exception, or failure.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LookoutMetricsException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DetectMetricSetConfigResponse detectMetricSetConfig(DetectMetricSetConfigRequest detectMetricSetConfigRequest) throws ResourceNotFoundException, ValidationException, InternalServerException, AccessDeniedException, TooManyRequestsException, AwsServiceException, SdkClientException, LookoutMetricsException
Detects an Amazon S3 dataset's file format, interval, and offset.
detectMetricSetConfigRequest - ResourceNotFoundException - The specified resource cannot be found. Check the ARN of the resource and try again.ValidationException - The input fails to satisfy the constraints specified by the AWS service. Check your input values and try
again.InternalServerException - The request processing has failed because of an unknown error, exception, or failure.AccessDeniedException - You do not have sufficient permissions to perform this action.TooManyRequestsException - The request was denied due to too many requests being submitted at the same time.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LookoutMetricsException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DetectMetricSetConfigResponse detectMetricSetConfig(Consumer<DetectMetricSetConfigRequest.Builder> detectMetricSetConfigRequest) throws ResourceNotFoundException, ValidationException, InternalServerException, AccessDeniedException, TooManyRequestsException, AwsServiceException, SdkClientException, LookoutMetricsException
Detects an Amazon S3 dataset's file format, interval, and offset.
This is a convenience which creates an instance of the DetectMetricSetConfigRequest.Builder avoiding the
need to create one manually via DetectMetricSetConfigRequest.builder()
detectMetricSetConfigRequest - A Consumer that will call methods on DetectMetricSetConfigRequest.Builder to create a
request.ResourceNotFoundException - The specified resource cannot be found. Check the ARN of the resource and try again.ValidationException - The input fails to satisfy the constraints specified by the AWS service. Check your input values and try
again.InternalServerException - The request processing has failed because of an unknown error, exception, or failure.AccessDeniedException - You do not have sufficient permissions to perform this action.TooManyRequestsException - The request was denied due to too many requests being submitted at the same time.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LookoutMetricsException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetAnomalyGroupResponse getAnomalyGroup(GetAnomalyGroupRequest getAnomalyGroupRequest) throws ResourceNotFoundException, ValidationException, InternalServerException, AccessDeniedException, TooManyRequestsException, AwsServiceException, SdkClientException, LookoutMetricsException
Returns details about a group of anomalous metrics.
getAnomalyGroupRequest - ResourceNotFoundException - The specified resource cannot be found. Check the ARN of the resource and try again.ValidationException - The input fails to satisfy the constraints specified by the AWS service. Check your input values and try
again.InternalServerException - The request processing has failed because of an unknown error, exception, or failure.AccessDeniedException - You do not have sufficient permissions to perform this action.TooManyRequestsException - The request was denied due to too many requests being submitted at the same time.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LookoutMetricsException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetAnomalyGroupResponse getAnomalyGroup(Consumer<GetAnomalyGroupRequest.Builder> getAnomalyGroupRequest) throws ResourceNotFoundException, ValidationException, InternalServerException, AccessDeniedException, TooManyRequestsException, AwsServiceException, SdkClientException, LookoutMetricsException
Returns details about a group of anomalous metrics.
This is a convenience which creates an instance of the GetAnomalyGroupRequest.Builder avoiding the need
to create one manually via GetAnomalyGroupRequest.builder()
getAnomalyGroupRequest - A Consumer that will call methods on GetAnomalyGroupRequest.Builder to create a request.ResourceNotFoundException - The specified resource cannot be found. Check the ARN of the resource and try again.ValidationException - The input fails to satisfy the constraints specified by the AWS service. Check your input values and try
again.InternalServerException - The request processing has failed because of an unknown error, exception, or failure.AccessDeniedException - You do not have sufficient permissions to perform this action.TooManyRequestsException - The request was denied due to too many requests being submitted at the same time.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LookoutMetricsException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetDataQualityMetricsResponse getDataQualityMetrics(GetDataQualityMetricsRequest getDataQualityMetricsRequest) throws ResourceNotFoundException, ValidationException, AccessDeniedException, TooManyRequestsException, InternalServerException, AwsServiceException, SdkClientException, LookoutMetricsException
Returns details about the requested data quality metrics.
getDataQualityMetricsRequest - ResourceNotFoundException - The specified resource cannot be found. Check the ARN of the resource and try again.ValidationException - The input fails to satisfy the constraints specified by the AWS service. Check your input values and try
again.AccessDeniedException - You do not have sufficient permissions to perform this action.TooManyRequestsException - The request was denied due to too many requests being submitted at the same time.InternalServerException - The request processing has failed because of an unknown error, exception, or failure.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LookoutMetricsException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetDataQualityMetricsResponse getDataQualityMetrics(Consumer<GetDataQualityMetricsRequest.Builder> getDataQualityMetricsRequest) throws ResourceNotFoundException, ValidationException, AccessDeniedException, TooManyRequestsException, InternalServerException, AwsServiceException, SdkClientException, LookoutMetricsException
Returns details about the requested data quality metrics.
This is a convenience which creates an instance of the GetDataQualityMetricsRequest.Builder avoiding the
need to create one manually via GetDataQualityMetricsRequest.builder()
getDataQualityMetricsRequest - A Consumer that will call methods on GetDataQualityMetricsRequest.Builder to create a
request.ResourceNotFoundException - The specified resource cannot be found. Check the ARN of the resource and try again.ValidationException - The input fails to satisfy the constraints specified by the AWS service. Check your input values and try
again.AccessDeniedException - You do not have sufficient permissions to perform this action.TooManyRequestsException - The request was denied due to too many requests being submitted at the same time.InternalServerException - The request processing has failed because of an unknown error, exception, or failure.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LookoutMetricsException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetFeedbackResponse getFeedback(GetFeedbackRequest getFeedbackRequest) throws ResourceNotFoundException, ValidationException, AccessDeniedException, InternalServerException, TooManyRequestsException, AwsServiceException, SdkClientException, LookoutMetricsException
Get feedback for an anomaly group.
getFeedbackRequest - ResourceNotFoundException - The specified resource cannot be found. Check the ARN of the resource and try again.ValidationException - The input fails to satisfy the constraints specified by the AWS service. Check your input values and try
again.AccessDeniedException - You do not have sufficient permissions to perform this action.InternalServerException - The request processing has failed because of an unknown error, exception, or failure.TooManyRequestsException - The request was denied due to too many requests being submitted at the same time.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LookoutMetricsException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetFeedbackResponse getFeedback(Consumer<GetFeedbackRequest.Builder> getFeedbackRequest) throws ResourceNotFoundException, ValidationException, AccessDeniedException, InternalServerException, TooManyRequestsException, AwsServiceException, SdkClientException, LookoutMetricsException
Get feedback for an anomaly group.
This is a convenience which creates an instance of the GetFeedbackRequest.Builder avoiding the need to
create one manually via GetFeedbackRequest.builder()
getFeedbackRequest - A Consumer that will call methods on GetFeedbackRequest.Builder to create a request.ResourceNotFoundException - The specified resource cannot be found. Check the ARN of the resource and try again.ValidationException - The input fails to satisfy the constraints specified by the AWS service. Check your input values and try
again.AccessDeniedException - You do not have sufficient permissions to perform this action.InternalServerException - The request processing has failed because of an unknown error, exception, or failure.TooManyRequestsException - The request was denied due to too many requests being submitted at the same time.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LookoutMetricsException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetFeedbackIterable getFeedbackPaginator(GetFeedbackRequest getFeedbackRequest) throws ResourceNotFoundException, ValidationException, AccessDeniedException, InternalServerException, TooManyRequestsException, AwsServiceException, SdkClientException, LookoutMetricsException
Get feedback for an anomaly group.
This is a variant of
getFeedback(software.amazon.awssdk.services.lookoutmetrics.model.GetFeedbackRequest) operation. The
return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle
making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.lookoutmetrics.paginators.GetFeedbackIterable responses = client.getFeedbackPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.lookoutmetrics.paginators.GetFeedbackIterable responses = client
.getFeedbackPaginator(request);
for (software.amazon.awssdk.services.lookoutmetrics.model.GetFeedbackResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.lookoutmetrics.paginators.GetFeedbackIterable responses = client.getFeedbackPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
getFeedback(software.amazon.awssdk.services.lookoutmetrics.model.GetFeedbackRequest) operation.
getFeedbackRequest - ResourceNotFoundException - The specified resource cannot be found. Check the ARN of the resource and try again.ValidationException - The input fails to satisfy the constraints specified by the AWS service. Check your input values and try
again.AccessDeniedException - You do not have sufficient permissions to perform this action.InternalServerException - The request processing has failed because of an unknown error, exception, or failure.TooManyRequestsException - The request was denied due to too many requests being submitted at the same time.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LookoutMetricsException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetFeedbackIterable getFeedbackPaginator(Consumer<GetFeedbackRequest.Builder> getFeedbackRequest) throws ResourceNotFoundException, ValidationException, AccessDeniedException, InternalServerException, TooManyRequestsException, AwsServiceException, SdkClientException, LookoutMetricsException
Get feedback for an anomaly group.
This is a variant of
getFeedback(software.amazon.awssdk.services.lookoutmetrics.model.GetFeedbackRequest) operation. The
return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle
making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.lookoutmetrics.paginators.GetFeedbackIterable responses = client.getFeedbackPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.lookoutmetrics.paginators.GetFeedbackIterable responses = client
.getFeedbackPaginator(request);
for (software.amazon.awssdk.services.lookoutmetrics.model.GetFeedbackResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.lookoutmetrics.paginators.GetFeedbackIterable responses = client.getFeedbackPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
getFeedback(software.amazon.awssdk.services.lookoutmetrics.model.GetFeedbackRequest) operation.
This is a convenience which creates an instance of the GetFeedbackRequest.Builder avoiding the need to
create one manually via GetFeedbackRequest.builder()
getFeedbackRequest - A Consumer that will call methods on GetFeedbackRequest.Builder to create a request.ResourceNotFoundException - The specified resource cannot be found. Check the ARN of the resource and try again.ValidationException - The input fails to satisfy the constraints specified by the AWS service. Check your input values and try
again.AccessDeniedException - You do not have sufficient permissions to perform this action.InternalServerException - The request processing has failed because of an unknown error, exception, or failure.TooManyRequestsException - The request was denied due to too many requests being submitted at the same time.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LookoutMetricsException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetSampleDataResponse getSampleData(GetSampleDataRequest getSampleDataRequest) throws ValidationException, ResourceNotFoundException, AccessDeniedException, TooManyRequestsException, InternalServerException, AwsServiceException, SdkClientException, LookoutMetricsException
Returns a selection of sample records from an Amazon S3 datasource.
getSampleDataRequest - ValidationException - The input fails to satisfy the constraints specified by the AWS service. Check your input values and try
again.ResourceNotFoundException - The specified resource cannot be found. Check the ARN of the resource and try again.AccessDeniedException - You do not have sufficient permissions to perform this action.TooManyRequestsException - The request was denied due to too many requests being submitted at the same time.InternalServerException - The request processing has failed because of an unknown error, exception, or failure.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LookoutMetricsException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault GetSampleDataResponse getSampleData(Consumer<GetSampleDataRequest.Builder> getSampleDataRequest) throws ValidationException, ResourceNotFoundException, AccessDeniedException, TooManyRequestsException, InternalServerException, AwsServiceException, SdkClientException, LookoutMetricsException
Returns a selection of sample records from an Amazon S3 datasource.
This is a convenience which creates an instance of the GetSampleDataRequest.Builder avoiding the need to
create one manually via GetSampleDataRequest.builder()
getSampleDataRequest - A Consumer that will call methods on GetSampleDataRequest.Builder to create a request.ValidationException - The input fails to satisfy the constraints specified by the AWS service. Check your input values and try
again.ResourceNotFoundException - The specified resource cannot be found. Check the ARN of the resource and try again.AccessDeniedException - You do not have sufficient permissions to perform this action.TooManyRequestsException - The request was denied due to too many requests being submitted at the same time.InternalServerException - The request processing has failed because of an unknown error, exception, or failure.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LookoutMetricsException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListAlertsResponse listAlerts(ListAlertsRequest listAlertsRequest) throws ResourceNotFoundException, AccessDeniedException, InternalServerException, TooManyRequestsException, ValidationException, AwsServiceException, SdkClientException, LookoutMetricsException
Lists the alerts attached to a detector.
Amazon Lookout for Metrics API actions are eventually consistent. If you do a read operation on a resource immediately after creating or modifying it, use retries to allow time for the write operation to complete.
listAlertsRequest - ResourceNotFoundException - The specified resource cannot be found. Check the ARN of the resource and try again.AccessDeniedException - You do not have sufficient permissions to perform this action.InternalServerException - The request processing has failed because of an unknown error, exception, or failure.TooManyRequestsException - The request was denied due to too many requests being submitted at the same time.ValidationException - The input fails to satisfy the constraints specified by the AWS service. Check your input values and try
again.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LookoutMetricsException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListAlertsResponse listAlerts(Consumer<ListAlertsRequest.Builder> listAlertsRequest) throws ResourceNotFoundException, AccessDeniedException, InternalServerException, TooManyRequestsException, ValidationException, AwsServiceException, SdkClientException, LookoutMetricsException
Lists the alerts attached to a detector.
Amazon Lookout for Metrics API actions are eventually consistent. If you do a read operation on a resource immediately after creating or modifying it, use retries to allow time for the write operation to complete.
This is a convenience which creates an instance of the ListAlertsRequest.Builder avoiding the need to
create one manually via ListAlertsRequest.builder()
listAlertsRequest - A Consumer that will call methods on ListAlertsRequest.Builder to create a request.ResourceNotFoundException - The specified resource cannot be found. Check the ARN of the resource and try again.AccessDeniedException - You do not have sufficient permissions to perform this action.InternalServerException - The request processing has failed because of an unknown error, exception, or failure.TooManyRequestsException - The request was denied due to too many requests being submitted at the same time.ValidationException - The input fails to satisfy the constraints specified by the AWS service. Check your input values and try
again.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LookoutMetricsException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListAlertsIterable listAlertsPaginator(ListAlertsRequest listAlertsRequest) throws ResourceNotFoundException, AccessDeniedException, InternalServerException, TooManyRequestsException, ValidationException, AwsServiceException, SdkClientException, LookoutMetricsException
Lists the alerts attached to a detector.
Amazon Lookout for Metrics API actions are eventually consistent. If you do a read operation on a resource immediately after creating or modifying it, use retries to allow time for the write operation to complete.
This is a variant of listAlerts(software.amazon.awssdk.services.lookoutmetrics.model.ListAlertsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.lookoutmetrics.paginators.ListAlertsIterable responses = client.listAlertsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.lookoutmetrics.paginators.ListAlertsIterable responses = client.listAlertsPaginator(request);
for (software.amazon.awssdk.services.lookoutmetrics.model.ListAlertsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.lookoutmetrics.paginators.ListAlertsIterable responses = client.listAlertsPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listAlerts(software.amazon.awssdk.services.lookoutmetrics.model.ListAlertsRequest) operation.
listAlertsRequest - ResourceNotFoundException - The specified resource cannot be found. Check the ARN of the resource and try again.AccessDeniedException - You do not have sufficient permissions to perform this action.InternalServerException - The request processing has failed because of an unknown error, exception, or failure.TooManyRequestsException - The request was denied due to too many requests being submitted at the same time.ValidationException - The input fails to satisfy the constraints specified by the AWS service. Check your input values and try
again.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LookoutMetricsException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListAlertsIterable listAlertsPaginator(Consumer<ListAlertsRequest.Builder> listAlertsRequest) throws ResourceNotFoundException, AccessDeniedException, InternalServerException, TooManyRequestsException, ValidationException, AwsServiceException, SdkClientException, LookoutMetricsException
Lists the alerts attached to a detector.
Amazon Lookout for Metrics API actions are eventually consistent. If you do a read operation on a resource immediately after creating or modifying it, use retries to allow time for the write operation to complete.
This is a variant of listAlerts(software.amazon.awssdk.services.lookoutmetrics.model.ListAlertsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.lookoutmetrics.paginators.ListAlertsIterable responses = client.listAlertsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.lookoutmetrics.paginators.ListAlertsIterable responses = client.listAlertsPaginator(request);
for (software.amazon.awssdk.services.lookoutmetrics.model.ListAlertsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.lookoutmetrics.paginators.ListAlertsIterable responses = client.listAlertsPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listAlerts(software.amazon.awssdk.services.lookoutmetrics.model.ListAlertsRequest) operation.
This is a convenience which creates an instance of the ListAlertsRequest.Builder avoiding the need to
create one manually via ListAlertsRequest.builder()
listAlertsRequest - A Consumer that will call methods on ListAlertsRequest.Builder to create a request.ResourceNotFoundException - The specified resource cannot be found. Check the ARN of the resource and try again.AccessDeniedException - You do not have sufficient permissions to perform this action.InternalServerException - The request processing has failed because of an unknown error, exception, or failure.TooManyRequestsException - The request was denied due to too many requests being submitted at the same time.ValidationException - The input fails to satisfy the constraints specified by the AWS service. Check your input values and try
again.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LookoutMetricsException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListAnomalyDetectorsResponse listAnomalyDetectors(ListAnomalyDetectorsRequest listAnomalyDetectorsRequest) throws ResourceNotFoundException, ValidationException, AccessDeniedException, TooManyRequestsException, InternalServerException, AwsServiceException, SdkClientException, LookoutMetricsException
Lists the detectors in the current AWS Region.
Amazon Lookout for Metrics API actions are eventually consistent. If you do a read operation on a resource immediately after creating or modifying it, use retries to allow time for the write operation to complete.
listAnomalyDetectorsRequest - ResourceNotFoundException - The specified resource cannot be found. Check the ARN of the resource and try again.ValidationException - The input fails to satisfy the constraints specified by the AWS service. Check your input values and try
again.AccessDeniedException - You do not have sufficient permissions to perform this action.TooManyRequestsException - The request was denied due to too many requests being submitted at the same time.InternalServerException - The request processing has failed because of an unknown error, exception, or failure.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LookoutMetricsException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListAnomalyDetectorsResponse listAnomalyDetectors(Consumer<ListAnomalyDetectorsRequest.Builder> listAnomalyDetectorsRequest) throws ResourceNotFoundException, ValidationException, AccessDeniedException, TooManyRequestsException, InternalServerException, AwsServiceException, SdkClientException, LookoutMetricsException
Lists the detectors in the current AWS Region.
Amazon Lookout for Metrics API actions are eventually consistent. If you do a read operation on a resource immediately after creating or modifying it, use retries to allow time for the write operation to complete.
This is a convenience which creates an instance of the ListAnomalyDetectorsRequest.Builder avoiding the
need to create one manually via ListAnomalyDetectorsRequest.builder()
listAnomalyDetectorsRequest - A Consumer that will call methods on ListAnomalyDetectorsRequest.Builder to create a
request.ResourceNotFoundException - The specified resource cannot be found. Check the ARN of the resource and try again.ValidationException - The input fails to satisfy the constraints specified by the AWS service. Check your input values and try
again.AccessDeniedException - You do not have sufficient permissions to perform this action.TooManyRequestsException - The request was denied due to too many requests being submitted at the same time.InternalServerException - The request processing has failed because of an unknown error, exception, or failure.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LookoutMetricsException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListAnomalyDetectorsIterable listAnomalyDetectorsPaginator(ListAnomalyDetectorsRequest listAnomalyDetectorsRequest) throws ResourceNotFoundException, ValidationException, AccessDeniedException, TooManyRequestsException, InternalServerException, AwsServiceException, SdkClientException, LookoutMetricsException
Lists the detectors in the current AWS Region.
Amazon Lookout for Metrics API actions are eventually consistent. If you do a read operation on a resource immediately after creating or modifying it, use retries to allow time for the write operation to complete.
This is a variant of
listAnomalyDetectors(software.amazon.awssdk.services.lookoutmetrics.model.ListAnomalyDetectorsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.lookoutmetrics.paginators.ListAnomalyDetectorsIterable responses = client.listAnomalyDetectorsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.lookoutmetrics.paginators.ListAnomalyDetectorsIterable responses = client
.listAnomalyDetectorsPaginator(request);
for (software.amazon.awssdk.services.lookoutmetrics.model.ListAnomalyDetectorsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.lookoutmetrics.paginators.ListAnomalyDetectorsIterable responses = client.listAnomalyDetectorsPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listAnomalyDetectors(software.amazon.awssdk.services.lookoutmetrics.model.ListAnomalyDetectorsRequest)
operation.
listAnomalyDetectorsRequest - ResourceNotFoundException - The specified resource cannot be found. Check the ARN of the resource and try again.ValidationException - The input fails to satisfy the constraints specified by the AWS service. Check your input values and try
again.AccessDeniedException - You do not have sufficient permissions to perform this action.TooManyRequestsException - The request was denied due to too many requests being submitted at the same time.InternalServerException - The request processing has failed because of an unknown error, exception, or failure.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LookoutMetricsException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListAnomalyDetectorsIterable listAnomalyDetectorsPaginator(Consumer<ListAnomalyDetectorsRequest.Builder> listAnomalyDetectorsRequest) throws ResourceNotFoundException, ValidationException, AccessDeniedException, TooManyRequestsException, InternalServerException, AwsServiceException, SdkClientException, LookoutMetricsException
Lists the detectors in the current AWS Region.
Amazon Lookout for Metrics API actions are eventually consistent. If you do a read operation on a resource immediately after creating or modifying it, use retries to allow time for the write operation to complete.
This is a variant of
listAnomalyDetectors(software.amazon.awssdk.services.lookoutmetrics.model.ListAnomalyDetectorsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.lookoutmetrics.paginators.ListAnomalyDetectorsIterable responses = client.listAnomalyDetectorsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.lookoutmetrics.paginators.ListAnomalyDetectorsIterable responses = client
.listAnomalyDetectorsPaginator(request);
for (software.amazon.awssdk.services.lookoutmetrics.model.ListAnomalyDetectorsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.lookoutmetrics.paginators.ListAnomalyDetectorsIterable responses = client.listAnomalyDetectorsPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listAnomalyDetectors(software.amazon.awssdk.services.lookoutmetrics.model.ListAnomalyDetectorsRequest)
operation.
This is a convenience which creates an instance of the ListAnomalyDetectorsRequest.Builder avoiding the
need to create one manually via ListAnomalyDetectorsRequest.builder()
listAnomalyDetectorsRequest - A Consumer that will call methods on ListAnomalyDetectorsRequest.Builder to create a
request.ResourceNotFoundException - The specified resource cannot be found. Check the ARN of the resource and try again.ValidationException - The input fails to satisfy the constraints specified by the AWS service. Check your input values and try
again.AccessDeniedException - You do not have sufficient permissions to perform this action.TooManyRequestsException - The request was denied due to too many requests being submitted at the same time.InternalServerException - The request processing has failed because of an unknown error, exception, or failure.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LookoutMetricsException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListAnomalyGroupRelatedMetricsResponse listAnomalyGroupRelatedMetrics(ListAnomalyGroupRelatedMetricsRequest listAnomalyGroupRelatedMetricsRequest) throws ResourceNotFoundException, ValidationException, InternalServerException, AccessDeniedException, TooManyRequestsException, AwsServiceException, SdkClientException, LookoutMetricsException
Returns a list of measures that are potential causes or effects of an anomaly group.
listAnomalyGroupRelatedMetricsRequest - ResourceNotFoundException - The specified resource cannot be found. Check the ARN of the resource and try again.ValidationException - The input fails to satisfy the constraints specified by the AWS service. Check your input values and try
again.InternalServerException - The request processing has failed because of an unknown error, exception, or failure.AccessDeniedException - You do not have sufficient permissions to perform this action.TooManyRequestsException - The request was denied due to too many requests being submitted at the same time.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LookoutMetricsException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListAnomalyGroupRelatedMetricsResponse listAnomalyGroupRelatedMetrics(Consumer<ListAnomalyGroupRelatedMetricsRequest.Builder> listAnomalyGroupRelatedMetricsRequest) throws ResourceNotFoundException, ValidationException, InternalServerException, AccessDeniedException, TooManyRequestsException, AwsServiceException, SdkClientException, LookoutMetricsException
Returns a list of measures that are potential causes or effects of an anomaly group.
This is a convenience which creates an instance of the ListAnomalyGroupRelatedMetricsRequest.Builder
avoiding the need to create one manually via ListAnomalyGroupRelatedMetricsRequest.builder()
listAnomalyGroupRelatedMetricsRequest - A Consumer that will call methods on ListAnomalyGroupRelatedMetricsRequest.Builder to
create a request.ResourceNotFoundException - The specified resource cannot be found. Check the ARN of the resource and try again.ValidationException - The input fails to satisfy the constraints specified by the AWS service. Check your input values and try
again.InternalServerException - The request processing has failed because of an unknown error, exception, or failure.AccessDeniedException - You do not have sufficient permissions to perform this action.TooManyRequestsException - The request was denied due to too many requests being submitted at the same time.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LookoutMetricsException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListAnomalyGroupRelatedMetricsIterable listAnomalyGroupRelatedMetricsPaginator(ListAnomalyGroupRelatedMetricsRequest listAnomalyGroupRelatedMetricsRequest) throws ResourceNotFoundException, ValidationException, InternalServerException, AccessDeniedException, TooManyRequestsException, AwsServiceException, SdkClientException, LookoutMetricsException
Returns a list of measures that are potential causes or effects of an anomaly group.
This is a variant of
listAnomalyGroupRelatedMetrics(software.amazon.awssdk.services.lookoutmetrics.model.ListAnomalyGroupRelatedMetricsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.lookoutmetrics.paginators.ListAnomalyGroupRelatedMetricsIterable responses = client.listAnomalyGroupRelatedMetricsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.lookoutmetrics.paginators.ListAnomalyGroupRelatedMetricsIterable responses = client
.listAnomalyGroupRelatedMetricsPaginator(request);
for (software.amazon.awssdk.services.lookoutmetrics.model.ListAnomalyGroupRelatedMetricsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.lookoutmetrics.paginators.ListAnomalyGroupRelatedMetricsIterable responses = client.listAnomalyGroupRelatedMetricsPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listAnomalyGroupRelatedMetrics(software.amazon.awssdk.services.lookoutmetrics.model.ListAnomalyGroupRelatedMetricsRequest)
operation.
listAnomalyGroupRelatedMetricsRequest - ResourceNotFoundException - The specified resource cannot be found. Check the ARN of the resource and try again.ValidationException - The input fails to satisfy the constraints specified by the AWS service. Check your input values and try
again.InternalServerException - The request processing has failed because of an unknown error, exception, or failure.AccessDeniedException - You do not have sufficient permissions to perform this action.TooManyRequestsException - The request was denied due to too many requests being submitted at the same time.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LookoutMetricsException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListAnomalyGroupRelatedMetricsIterable listAnomalyGroupRelatedMetricsPaginator(Consumer<ListAnomalyGroupRelatedMetricsRequest.Builder> listAnomalyGroupRelatedMetricsRequest) throws ResourceNotFoundException, ValidationException, InternalServerException, AccessDeniedException, TooManyRequestsException, AwsServiceException, SdkClientException, LookoutMetricsException
Returns a list of measures that are potential causes or effects of an anomaly group.
This is a variant of
listAnomalyGroupRelatedMetrics(software.amazon.awssdk.services.lookoutmetrics.model.ListAnomalyGroupRelatedMetricsRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.lookoutmetrics.paginators.ListAnomalyGroupRelatedMetricsIterable responses = client.listAnomalyGroupRelatedMetricsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.lookoutmetrics.paginators.ListAnomalyGroupRelatedMetricsIterable responses = client
.listAnomalyGroupRelatedMetricsPaginator(request);
for (software.amazon.awssdk.services.lookoutmetrics.model.ListAnomalyGroupRelatedMetricsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.lookoutmetrics.paginators.ListAnomalyGroupRelatedMetricsIterable responses = client.listAnomalyGroupRelatedMetricsPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listAnomalyGroupRelatedMetrics(software.amazon.awssdk.services.lookoutmetrics.model.ListAnomalyGroupRelatedMetricsRequest)
operation.
This is a convenience which creates an instance of the ListAnomalyGroupRelatedMetricsRequest.Builder
avoiding the need to create one manually via ListAnomalyGroupRelatedMetricsRequest.builder()
listAnomalyGroupRelatedMetricsRequest - A Consumer that will call methods on ListAnomalyGroupRelatedMetricsRequest.Builder to
create a request.ResourceNotFoundException - The specified resource cannot be found. Check the ARN of the resource and try again.ValidationException - The input fails to satisfy the constraints specified by the AWS service. Check your input values and try
again.InternalServerException - The request processing has failed because of an unknown error, exception, or failure.AccessDeniedException - You do not have sufficient permissions to perform this action.TooManyRequestsException - The request was denied due to too many requests being submitted at the same time.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LookoutMetricsException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListAnomalyGroupSummariesResponse listAnomalyGroupSummaries(ListAnomalyGroupSummariesRequest listAnomalyGroupSummariesRequest) throws ResourceNotFoundException, ValidationException, InternalServerException, AccessDeniedException, TooManyRequestsException, AwsServiceException, SdkClientException, LookoutMetricsException
Returns a list of anomaly groups.
listAnomalyGroupSummariesRequest - ResourceNotFoundException - The specified resource cannot be found. Check the ARN of the resource and try again.ValidationException - The input fails to satisfy the constraints specified by the AWS service. Check your input values and try
again.InternalServerException - The request processing has failed because of an unknown error, exception, or failure.AccessDeniedException - You do not have sufficient permissions to perform this action.TooManyRequestsException - The request was denied due to too many requests being submitted at the same time.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LookoutMetricsException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListAnomalyGroupSummariesResponse listAnomalyGroupSummaries(Consumer<ListAnomalyGroupSummariesRequest.Builder> listAnomalyGroupSummariesRequest) throws ResourceNotFoundException, ValidationException, InternalServerException, AccessDeniedException, TooManyRequestsException, AwsServiceException, SdkClientException, LookoutMetricsException
Returns a list of anomaly groups.
This is a convenience which creates an instance of the ListAnomalyGroupSummariesRequest.Builder avoiding
the need to create one manually via ListAnomalyGroupSummariesRequest.builder()
listAnomalyGroupSummariesRequest - A Consumer that will call methods on ListAnomalyGroupSummariesRequest.Builder to create a
request.ResourceNotFoundException - The specified resource cannot be found. Check the ARN of the resource and try again.ValidationException - The input fails to satisfy the constraints specified by the AWS service. Check your input values and try
again.InternalServerException - The request processing has failed because of an unknown error, exception, or failure.AccessDeniedException - You do not have sufficient permissions to perform this action.TooManyRequestsException - The request was denied due to too many requests being submitted at the same time.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LookoutMetricsException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListAnomalyGroupSummariesIterable listAnomalyGroupSummariesPaginator(ListAnomalyGroupSummariesRequest listAnomalyGroupSummariesRequest) throws ResourceNotFoundException, ValidationException, InternalServerException, AccessDeniedException, TooManyRequestsException, AwsServiceException, SdkClientException, LookoutMetricsException
Returns a list of anomaly groups.
This is a variant of
listAnomalyGroupSummaries(software.amazon.awssdk.services.lookoutmetrics.model.ListAnomalyGroupSummariesRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.lookoutmetrics.paginators.ListAnomalyGroupSummariesIterable responses = client.listAnomalyGroupSummariesPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.lookoutmetrics.paginators.ListAnomalyGroupSummariesIterable responses = client
.listAnomalyGroupSummariesPaginator(request);
for (software.amazon.awssdk.services.lookoutmetrics.model.ListAnomalyGroupSummariesResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.lookoutmetrics.paginators.ListAnomalyGroupSummariesIterable responses = client.listAnomalyGroupSummariesPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listAnomalyGroupSummaries(software.amazon.awssdk.services.lookoutmetrics.model.ListAnomalyGroupSummariesRequest)
operation.
listAnomalyGroupSummariesRequest - ResourceNotFoundException - The specified resource cannot be found. Check the ARN of the resource and try again.ValidationException - The input fails to satisfy the constraints specified by the AWS service. Check your input values and try
again.InternalServerException - The request processing has failed because of an unknown error, exception, or failure.AccessDeniedException - You do not have sufficient permissions to perform this action.TooManyRequestsException - The request was denied due to too many requests being submitted at the same time.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LookoutMetricsException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListAnomalyGroupSummariesIterable listAnomalyGroupSummariesPaginator(Consumer<ListAnomalyGroupSummariesRequest.Builder> listAnomalyGroupSummariesRequest) throws ResourceNotFoundException, ValidationException, InternalServerException, AccessDeniedException, TooManyRequestsException, AwsServiceException, SdkClientException, LookoutMetricsException
Returns a list of anomaly groups.
This is a variant of
listAnomalyGroupSummaries(software.amazon.awssdk.services.lookoutmetrics.model.ListAnomalyGroupSummariesRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.lookoutmetrics.paginators.ListAnomalyGroupSummariesIterable responses = client.listAnomalyGroupSummariesPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.lookoutmetrics.paginators.ListAnomalyGroupSummariesIterable responses = client
.listAnomalyGroupSummariesPaginator(request);
for (software.amazon.awssdk.services.lookoutmetrics.model.ListAnomalyGroupSummariesResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.lookoutmetrics.paginators.ListAnomalyGroupSummariesIterable responses = client.listAnomalyGroupSummariesPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listAnomalyGroupSummaries(software.amazon.awssdk.services.lookoutmetrics.model.ListAnomalyGroupSummariesRequest)
operation.
This is a convenience which creates an instance of the ListAnomalyGroupSummariesRequest.Builder avoiding
the need to create one manually via ListAnomalyGroupSummariesRequest.builder()
listAnomalyGroupSummariesRequest - A Consumer that will call methods on ListAnomalyGroupSummariesRequest.Builder to create a
request.ResourceNotFoundException - The specified resource cannot be found. Check the ARN of the resource and try again.ValidationException - The input fails to satisfy the constraints specified by the AWS service. Check your input values and try
again.InternalServerException - The request processing has failed because of an unknown error, exception, or failure.AccessDeniedException - You do not have sufficient permissions to perform this action.TooManyRequestsException - The request was denied due to too many requests being submitted at the same time.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LookoutMetricsException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListAnomalyGroupTimeSeriesResponse listAnomalyGroupTimeSeries(ListAnomalyGroupTimeSeriesRequest listAnomalyGroupTimeSeriesRequest) throws InternalServerException, AccessDeniedException, ValidationException, ResourceNotFoundException, TooManyRequestsException, AwsServiceException, SdkClientException, LookoutMetricsException
Gets a list of anomalous metrics for a measure in an anomaly group.
listAnomalyGroupTimeSeriesRequest - InternalServerException - The request processing has failed because of an unknown error, exception, or failure.AccessDeniedException - You do not have sufficient permissions to perform this action.ValidationException - The input fails to satisfy the constraints specified by the AWS service. Check your input values and try
again.ResourceNotFoundException - The specified resource cannot be found. Check the ARN of the resource and try again.TooManyRequestsException - The request was denied due to too many requests being submitted at the same time.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LookoutMetricsException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListAnomalyGroupTimeSeriesResponse listAnomalyGroupTimeSeries(Consumer<ListAnomalyGroupTimeSeriesRequest.Builder> listAnomalyGroupTimeSeriesRequest) throws InternalServerException, AccessDeniedException, ValidationException, ResourceNotFoundException, TooManyRequestsException, AwsServiceException, SdkClientException, LookoutMetricsException
Gets a list of anomalous metrics for a measure in an anomaly group.
This is a convenience which creates an instance of the ListAnomalyGroupTimeSeriesRequest.Builder avoiding
the need to create one manually via ListAnomalyGroupTimeSeriesRequest.builder()
listAnomalyGroupTimeSeriesRequest - A Consumer that will call methods on ListAnomalyGroupTimeSeriesRequest.Builder to create a
request.InternalServerException - The request processing has failed because of an unknown error, exception, or failure.AccessDeniedException - You do not have sufficient permissions to perform this action.ValidationException - The input fails to satisfy the constraints specified by the AWS service. Check your input values and try
again.ResourceNotFoundException - The specified resource cannot be found. Check the ARN of the resource and try again.TooManyRequestsException - The request was denied due to too many requests being submitted at the same time.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LookoutMetricsException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListAnomalyGroupTimeSeriesIterable listAnomalyGroupTimeSeriesPaginator(ListAnomalyGroupTimeSeriesRequest listAnomalyGroupTimeSeriesRequest) throws InternalServerException, AccessDeniedException, ValidationException, ResourceNotFoundException, TooManyRequestsException, AwsServiceException, SdkClientException, LookoutMetricsException
Gets a list of anomalous metrics for a measure in an anomaly group.
This is a variant of
listAnomalyGroupTimeSeries(software.amazon.awssdk.services.lookoutmetrics.model.ListAnomalyGroupTimeSeriesRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.lookoutmetrics.paginators.ListAnomalyGroupTimeSeriesIterable responses = client.listAnomalyGroupTimeSeriesPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.lookoutmetrics.paginators.ListAnomalyGroupTimeSeriesIterable responses = client
.listAnomalyGroupTimeSeriesPaginator(request);
for (software.amazon.awssdk.services.lookoutmetrics.model.ListAnomalyGroupTimeSeriesResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.lookoutmetrics.paginators.ListAnomalyGroupTimeSeriesIterable responses = client.listAnomalyGroupTimeSeriesPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listAnomalyGroupTimeSeries(software.amazon.awssdk.services.lookoutmetrics.model.ListAnomalyGroupTimeSeriesRequest)
operation.
listAnomalyGroupTimeSeriesRequest - InternalServerException - The request processing has failed because of an unknown error, exception, or failure.AccessDeniedException - You do not have sufficient permissions to perform this action.ValidationException - The input fails to satisfy the constraints specified by the AWS service. Check your input values and try
again.ResourceNotFoundException - The specified resource cannot be found. Check the ARN of the resource and try again.TooManyRequestsException - The request was denied due to too many requests being submitted at the same time.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LookoutMetricsException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListAnomalyGroupTimeSeriesIterable listAnomalyGroupTimeSeriesPaginator(Consumer<ListAnomalyGroupTimeSeriesRequest.Builder> listAnomalyGroupTimeSeriesRequest) throws InternalServerException, AccessDeniedException, ValidationException, ResourceNotFoundException, TooManyRequestsException, AwsServiceException, SdkClientException, LookoutMetricsException
Gets a list of anomalous metrics for a measure in an anomaly group.
This is a variant of
listAnomalyGroupTimeSeries(software.amazon.awssdk.services.lookoutmetrics.model.ListAnomalyGroupTimeSeriesRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.lookoutmetrics.paginators.ListAnomalyGroupTimeSeriesIterable responses = client.listAnomalyGroupTimeSeriesPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.lookoutmetrics.paginators.ListAnomalyGroupTimeSeriesIterable responses = client
.listAnomalyGroupTimeSeriesPaginator(request);
for (software.amazon.awssdk.services.lookoutmetrics.model.ListAnomalyGroupTimeSeriesResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.lookoutmetrics.paginators.ListAnomalyGroupTimeSeriesIterable responses = client.listAnomalyGroupTimeSeriesPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listAnomalyGroupTimeSeries(software.amazon.awssdk.services.lookoutmetrics.model.ListAnomalyGroupTimeSeriesRequest)
operation.
This is a convenience which creates an instance of the ListAnomalyGroupTimeSeriesRequest.Builder avoiding
the need to create one manually via ListAnomalyGroupTimeSeriesRequest.builder()
listAnomalyGroupTimeSeriesRequest - A Consumer that will call methods on ListAnomalyGroupTimeSeriesRequest.Builder to create a
request.InternalServerException - The request processing has failed because of an unknown error, exception, or failure.AccessDeniedException - You do not have sufficient permissions to perform this action.ValidationException - The input fails to satisfy the constraints specified by the AWS service. Check your input values and try
again.ResourceNotFoundException - The specified resource cannot be found. Check the ARN of the resource and try again.TooManyRequestsException - The request was denied due to too many requests being submitted at the same time.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LookoutMetricsException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListMetricSetsResponse listMetricSets(ListMetricSetsRequest listMetricSetsRequest) throws ResourceNotFoundException, ValidationException, AccessDeniedException, TooManyRequestsException, InternalServerException, AwsServiceException, SdkClientException, LookoutMetricsException
Lists the datasets in the current AWS Region.
Amazon Lookout for Metrics API actions are eventually consistent. If you do a read operation on a resource immediately after creating or modifying it, use retries to allow time for the write operation to complete.
listMetricSetsRequest - ResourceNotFoundException - The specified resource cannot be found. Check the ARN of the resource and try again.ValidationException - The input fails to satisfy the constraints specified by the AWS service. Check your input values and try
again.AccessDeniedException - You do not have sufficient permissions to perform this action.TooManyRequestsException - The request was denied due to too many requests being submitted at the same time.InternalServerException - The request processing has failed because of an unknown error, exception, or failure.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LookoutMetricsException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListMetricSetsResponse listMetricSets(Consumer<ListMetricSetsRequest.Builder> listMetricSetsRequest) throws ResourceNotFoundException, ValidationException, AccessDeniedException, TooManyRequestsException, InternalServerException, AwsServiceException, SdkClientException, LookoutMetricsException
Lists the datasets in the current AWS Region.
Amazon Lookout for Metrics API actions are eventually consistent. If you do a read operation on a resource immediately after creating or modifying it, use retries to allow time for the write operation to complete.
This is a convenience which creates an instance of the ListMetricSetsRequest.Builder avoiding the need to
create one manually via ListMetricSetsRequest.builder()
listMetricSetsRequest - A Consumer that will call methods on ListMetricSetsRequest.Builder to create a request.ResourceNotFoundException - The specified resource cannot be found. Check the ARN of the resource and try again.ValidationException - The input fails to satisfy the constraints specified by the AWS service. Check your input values and try
again.AccessDeniedException - You do not have sufficient permissions to perform this action.TooManyRequestsException - The request was denied due to too many requests being submitted at the same time.InternalServerException - The request processing has failed because of an unknown error, exception, or failure.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LookoutMetricsException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListMetricSetsIterable listMetricSetsPaginator(ListMetricSetsRequest listMetricSetsRequest) throws ResourceNotFoundException, ValidationException, AccessDeniedException, TooManyRequestsException, InternalServerException, AwsServiceException, SdkClientException, LookoutMetricsException
Lists the datasets in the current AWS Region.
Amazon Lookout for Metrics API actions are eventually consistent. If you do a read operation on a resource immediately after creating or modifying it, use retries to allow time for the write operation to complete.
This is a variant of
listMetricSets(software.amazon.awssdk.services.lookoutmetrics.model.ListMetricSetsRequest) operation.
The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally
handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.lookoutmetrics.paginators.ListMetricSetsIterable responses = client.listMetricSetsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.lookoutmetrics.paginators.ListMetricSetsIterable responses = client
.listMetricSetsPaginator(request);
for (software.amazon.awssdk.services.lookoutmetrics.model.ListMetricSetsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.lookoutmetrics.paginators.ListMetricSetsIterable responses = client.listMetricSetsPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listMetricSets(software.amazon.awssdk.services.lookoutmetrics.model.ListMetricSetsRequest)
operation.
listMetricSetsRequest - ResourceNotFoundException - The specified resource cannot be found. Check the ARN of the resource and try again.ValidationException - The input fails to satisfy the constraints specified by the AWS service. Check your input values and try
again.AccessDeniedException - You do not have sufficient permissions to perform this action.TooManyRequestsException - The request was denied due to too many requests being submitted at the same time.InternalServerException - The request processing has failed because of an unknown error, exception, or failure.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LookoutMetricsException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListMetricSetsIterable listMetricSetsPaginator(Consumer<ListMetricSetsRequest.Builder> listMetricSetsRequest) throws ResourceNotFoundException, ValidationException, AccessDeniedException, TooManyRequestsException, InternalServerException, AwsServiceException, SdkClientException, LookoutMetricsException
Lists the datasets in the current AWS Region.
Amazon Lookout for Metrics API actions are eventually consistent. If you do a read operation on a resource immediately after creating or modifying it, use retries to allow time for the write operation to complete.
This is a variant of
listMetricSets(software.amazon.awssdk.services.lookoutmetrics.model.ListMetricSetsRequest) operation.
The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally
handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.lookoutmetrics.paginators.ListMetricSetsIterable responses = client.listMetricSetsPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.lookoutmetrics.paginators.ListMetricSetsIterable responses = client
.listMetricSetsPaginator(request);
for (software.amazon.awssdk.services.lookoutmetrics.model.ListMetricSetsResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.lookoutmetrics.paginators.ListMetricSetsIterable responses = client.listMetricSetsPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listMetricSets(software.amazon.awssdk.services.lookoutmetrics.model.ListMetricSetsRequest)
operation.
This is a convenience which creates an instance of the ListMetricSetsRequest.Builder avoiding the need to
create one manually via ListMetricSetsRequest.builder()
listMetricSetsRequest - A Consumer that will call methods on ListMetricSetsRequest.Builder to create a request.ResourceNotFoundException - The specified resource cannot be found. Check the ARN of the resource and try again.ValidationException - The input fails to satisfy the constraints specified by the AWS service. Check your input values and try
again.AccessDeniedException - You do not have sufficient permissions to perform this action.TooManyRequestsException - The request was denied due to too many requests being submitted at the same time.InternalServerException - The request processing has failed because of an unknown error, exception, or failure.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LookoutMetricsException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListTagsForResourceResponse listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest) throws InternalServerException, ValidationException, ResourceNotFoundException, AwsServiceException, SdkClientException, LookoutMetricsException
Gets a list of tags for a detector, dataset, or alert.
listTagsForResourceRequest - InternalServerException - The request processing has failed because of an unknown error, exception, or failure.ValidationException - The input fails to satisfy the constraints specified by the AWS service. Check your input values and try
again.ResourceNotFoundException - The specified resource cannot be found. Check the ARN of the resource and try again.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LookoutMetricsException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListTagsForResourceResponse listTagsForResource(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest) throws InternalServerException, ValidationException, ResourceNotFoundException, AwsServiceException, SdkClientException, LookoutMetricsException
Gets a list of tags for a detector, dataset, or alert.
This is a convenience which creates an instance of the ListTagsForResourceRequest.Builder avoiding the
need to create one manually via ListTagsForResourceRequest.builder()
listTagsForResourceRequest - A Consumer that will call methods on ListTagsForResourceRequest.Builder to create a
request.InternalServerException - The request processing has failed because of an unknown error, exception, or failure.ValidationException - The input fails to satisfy the constraints specified by the AWS service. Check your input values and try
again.ResourceNotFoundException - The specified resource cannot be found. Check the ARN of the resource and try again.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LookoutMetricsException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault PutFeedbackResponse putFeedback(PutFeedbackRequest putFeedbackRequest) throws ResourceNotFoundException, ValidationException, AccessDeniedException, InternalServerException, TooManyRequestsException, AwsServiceException, SdkClientException, LookoutMetricsException
Add feedback for an anomalous metric.
putFeedbackRequest - ResourceNotFoundException - The specified resource cannot be found. Check the ARN of the resource and try again.ValidationException - The input fails to satisfy the constraints specified by the AWS service. Check your input values and try
again.AccessDeniedException - You do not have sufficient permissions to perform this action.InternalServerException - The request processing has failed because of an unknown error, exception, or failure.TooManyRequestsException - The request was denied due to too many requests being submitted at the same time.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LookoutMetricsException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault PutFeedbackResponse putFeedback(Consumer<PutFeedbackRequest.Builder> putFeedbackRequest) throws ResourceNotFoundException, ValidationException, AccessDeniedException, InternalServerException, TooManyRequestsException, AwsServiceException, SdkClientException, LookoutMetricsException
Add feedback for an anomalous metric.
This is a convenience which creates an instance of the PutFeedbackRequest.Builder avoiding the need to
create one manually via PutFeedbackRequest.builder()
putFeedbackRequest - A Consumer that will call methods on PutFeedbackRequest.Builder to create a request.ResourceNotFoundException - The specified resource cannot be found. Check the ARN of the resource and try again.ValidationException - The input fails to satisfy the constraints specified by the AWS service. Check your input values and try
again.AccessDeniedException - You do not have sufficient permissions to perform this action.InternalServerException - The request processing has failed because of an unknown error, exception, or failure.TooManyRequestsException - The request was denied due to too many requests being submitted at the same time.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LookoutMetricsException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault TagResourceResponse tagResource(TagResourceRequest tagResourceRequest) throws InternalServerException, ValidationException, ResourceNotFoundException, AwsServiceException, SdkClientException, LookoutMetricsException
Adds tags to a detector, dataset, or alert.
tagResourceRequest - InternalServerException - The request processing has failed because of an unknown error, exception, or failure.ValidationException - The input fails to satisfy the constraints specified by the AWS service. Check your input values and try
again.ResourceNotFoundException - The specified resource cannot be found. Check the ARN of the resource and try again.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LookoutMetricsException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault TagResourceResponse tagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest) throws InternalServerException, ValidationException, ResourceNotFoundException, AwsServiceException, SdkClientException, LookoutMetricsException
Adds tags to a detector, dataset, or alert.
This is a convenience which creates an instance of the TagResourceRequest.Builder avoiding the need to
create one manually via TagResourceRequest.builder()
tagResourceRequest - A Consumer that will call methods on TagResourceRequest.Builder to create a request.InternalServerException - The request processing has failed because of an unknown error, exception, or failure.ValidationException - The input fails to satisfy the constraints specified by the AWS service. Check your input values and try
again.ResourceNotFoundException - The specified resource cannot be found. Check the ARN of the resource and try again.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LookoutMetricsException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault UntagResourceResponse untagResource(UntagResourceRequest untagResourceRequest) throws InternalServerException, ValidationException, ResourceNotFoundException, AwsServiceException, SdkClientException, LookoutMetricsException
Removes tags from a detector, dataset, or alert.
untagResourceRequest - InternalServerException - The request processing has failed because of an unknown error, exception, or failure.ValidationException - The input fails to satisfy the constraints specified by the AWS service. Check your input values and try
again.ResourceNotFoundException - The specified resource cannot be found. Check the ARN of the resource and try again.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LookoutMetricsException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault UntagResourceResponse untagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest) throws InternalServerException, ValidationException, ResourceNotFoundException, AwsServiceException, SdkClientException, LookoutMetricsException
Removes tags from a detector, dataset, or alert.
This is a convenience which creates an instance of the UntagResourceRequest.Builder avoiding the need to
create one manually via UntagResourceRequest.builder()
untagResourceRequest - A Consumer that will call methods on UntagResourceRequest.Builder to create a request.InternalServerException - The request processing has failed because of an unknown error, exception, or failure.ValidationException - The input fails to satisfy the constraints specified by the AWS service. Check your input values and try
again.ResourceNotFoundException - The specified resource cannot be found. Check the ARN of the resource and try again.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LookoutMetricsException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault UpdateAlertResponse updateAlert(UpdateAlertRequest updateAlertRequest) throws ValidationException, ResourceNotFoundException, InternalServerException, AccessDeniedException, TooManyRequestsException, AwsServiceException, SdkClientException, LookoutMetricsException
Make changes to an existing alert.
updateAlertRequest - ValidationException - The input fails to satisfy the constraints specified by the AWS service. Check your input values and try
again.ResourceNotFoundException - The specified resource cannot be found. Check the ARN of the resource and try again.InternalServerException - The request processing has failed because of an unknown error, exception, or failure.AccessDeniedException - You do not have sufficient permissions to perform this action.TooManyRequestsException - The request was denied due to too many requests being submitted at the same time.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LookoutMetricsException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault UpdateAlertResponse updateAlert(Consumer<UpdateAlertRequest.Builder> updateAlertRequest) throws ValidationException, ResourceNotFoundException, InternalServerException, AccessDeniedException, TooManyRequestsException, AwsServiceException, SdkClientException, LookoutMetricsException
Make changes to an existing alert.
This is a convenience which creates an instance of the UpdateAlertRequest.Builder avoiding the need to
create one manually via UpdateAlertRequest.builder()
updateAlertRequest - A Consumer that will call methods on UpdateAlertRequest.Builder to create a request.ValidationException - The input fails to satisfy the constraints specified by the AWS service. Check your input values and try
again.ResourceNotFoundException - The specified resource cannot be found. Check the ARN of the resource and try again.InternalServerException - The request processing has failed because of an unknown error, exception, or failure.AccessDeniedException - You do not have sufficient permissions to perform this action.TooManyRequestsException - The request was denied due to too many requests being submitted at the same time.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LookoutMetricsException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault UpdateAnomalyDetectorResponse updateAnomalyDetector(UpdateAnomalyDetectorRequest updateAnomalyDetectorRequest) throws ResourceNotFoundException, ValidationException, InternalServerException, AccessDeniedException, TooManyRequestsException, AwsServiceException, SdkClientException, LookoutMetricsException
Updates a detector. After activation, you can only change a detector's ingestion delay and description.
updateAnomalyDetectorRequest - ResourceNotFoundException - The specified resource cannot be found. Check the ARN of the resource and try again.ValidationException - The input fails to satisfy the constraints specified by the AWS service. Check your input values and try
again.InternalServerException - The request processing has failed because of an unknown error, exception, or failure.AccessDeniedException - You do not have sufficient permissions to perform this action.TooManyRequestsException - The request was denied due to too many requests being submitted at the same time.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LookoutMetricsException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault UpdateAnomalyDetectorResponse updateAnomalyDetector(Consumer<UpdateAnomalyDetectorRequest.Builder> updateAnomalyDetectorRequest) throws ResourceNotFoundException, ValidationException, InternalServerException, AccessDeniedException, TooManyRequestsException, AwsServiceException, SdkClientException, LookoutMetricsException
Updates a detector. After activation, you can only change a detector's ingestion delay and description.
This is a convenience which creates an instance of the UpdateAnomalyDetectorRequest.Builder avoiding the
need to create one manually via UpdateAnomalyDetectorRequest.builder()
updateAnomalyDetectorRequest - A Consumer that will call methods on UpdateAnomalyDetectorRequest.Builder to create a
request.ResourceNotFoundException - The specified resource cannot be found. Check the ARN of the resource and try again.ValidationException - The input fails to satisfy the constraints specified by the AWS service. Check your input values and try
again.InternalServerException - The request processing has failed because of an unknown error, exception, or failure.AccessDeniedException - You do not have sufficient permissions to perform this action.TooManyRequestsException - The request was denied due to too many requests being submitted at the same time.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LookoutMetricsException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault UpdateMetricSetResponse updateMetricSet(UpdateMetricSetRequest updateMetricSetRequest) throws ResourceNotFoundException, ValidationException, InternalServerException, AccessDeniedException, TooManyRequestsException, ServiceQuotaExceededException, AwsServiceException, SdkClientException, LookoutMetricsException
Updates a dataset.
updateMetricSetRequest - ResourceNotFoundException - The specified resource cannot be found. Check the ARN of the resource and try again.ValidationException - The input fails to satisfy the constraints specified by the AWS service. Check your input values and try
again.InternalServerException - The request processing has failed because of an unknown error, exception, or failure.AccessDeniedException - You do not have sufficient permissions to perform this action.TooManyRequestsException - The request was denied due to too many requests being submitted at the same time.ServiceQuotaExceededException - The request exceeded the service's quotas. Check the service quotas and try again.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LookoutMetricsException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault UpdateMetricSetResponse updateMetricSet(Consumer<UpdateMetricSetRequest.Builder> updateMetricSetRequest) throws ResourceNotFoundException, ValidationException, InternalServerException, AccessDeniedException, TooManyRequestsException, ServiceQuotaExceededException, AwsServiceException, SdkClientException, LookoutMetricsException
Updates a dataset.
This is a convenience which creates an instance of the UpdateMetricSetRequest.Builder avoiding the need
to create one manually via UpdateMetricSetRequest.builder()
updateMetricSetRequest - A Consumer that will call methods on UpdateMetricSetRequest.Builder to create a request.ResourceNotFoundException - The specified resource cannot be found. Check the ARN of the resource and try again.ValidationException - The input fails to satisfy the constraints specified by the AWS service. Check your input values and try
again.InternalServerException - The request processing has failed because of an unknown error, exception, or failure.AccessDeniedException - You do not have sufficient permissions to perform this action.TooManyRequestsException - The request was denied due to too many requests being submitted at the same time.ServiceQuotaExceededException - The request exceeded the service's quotas. Check the service quotas and try again.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.LookoutMetricsException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptionstatic LookoutMetricsClient create()
LookoutMetricsClient with the region loaded from the
DefaultAwsRegionProviderChain and credentials loaded from the
DefaultCredentialsProvider.static LookoutMetricsClientBuilder builder()
LookoutMetricsClient.static ServiceMetadata serviceMetadata()
default LookoutMetricsServiceClientConfiguration serviceClientConfiguration()
serviceClientConfiguration in interface AwsClientserviceClientConfiguration in interface SdkClientCopyright © 2023. All rights reserved.