diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/main/java/com/azure/ai/metricsadvisor/MetricsAdvisorAsyncClient.java b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/main/java/com/azure/ai/metricsadvisor/MetricsAdvisorAsyncClient.java index 1c42b48738408..33947122ff387 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/main/java/com/azure/ai/metricsadvisor/MetricsAdvisorAsyncClient.java +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/main/java/com/azure/ai/metricsadvisor/MetricsAdvisorAsyncClient.java @@ -41,7 +41,7 @@ import com.azure.ai.metricsadvisor.models.DataPointAnomaly; import com.azure.ai.metricsadvisor.models.DimensionKey; import com.azure.ai.metricsadvisor.models.EnrichmentStatus; -import com.azure.ai.metricsadvisor.models.ErrorCodeException; +import com.azure.ai.metricsadvisor.models.MetricsAdvisorErrorCodeException; import com.azure.ai.metricsadvisor.models.IncidentRootCause; import com.azure.ai.metricsadvisor.models.ListAlertOptions; import com.azure.ai.metricsadvisor.models.ListAnomaliesAlertedOptions; @@ -129,7 +129,7 @@ public class MetricsAdvisorAsyncClient { * * @return A {@link PagedFlux} of the {@link MetricSeriesDefinition metric series definitions}. * @throws IllegalArgumentException thrown if {@code metricId} fail the UUID format validation. - * @throws ErrorCodeException thrown if the request is rejected by server. + * @throws MetricsAdvisorErrorCodeException thrown if the request is rejected by server. * @throws NullPointerException thrown if the {@code metricId} or {@code activeSince} * is null. */ @@ -219,7 +219,7 @@ private Mono> listMetricSeriesDefinitionNe * * @return A {@link PagedFlux} of the {@link MetricSeriesData metric series data points}. * @throws IllegalArgumentException thrown if {@code metricId} fail the UUID format validation. - * @throws ErrorCodeException thrown if the request is rejected by server. + * @throws MetricsAdvisorErrorCodeException thrown if the request is rejected by server. * @throws NullPointerException thrown if the {@code metricId}, {@code startTime} or {@code endTime} * is null. */ @@ -275,7 +275,7 @@ private Mono> listMetricSeriesDataInternal(Strin * * @return the {@link PagedFlux} of the dimension values for that metric. * @throws IllegalArgumentException thrown if {@code metricId} fail the UUID format validation. - * @throws ErrorCodeException thrown if the request is rejected by server. + * @throws MetricsAdvisorErrorCodeException thrown if the request is rejected by server. * @throws NullPointerException thrown if the {@code metricId} or {@code dimensionName} is null. */ @ServiceMethod(returns = ReturnType.COLLECTION) @@ -297,7 +297,7 @@ public PagedFlux listMetricDimensionValues( * * @return the {@link PagedFlux} of the dimension values for that metric. * @throws IllegalArgumentException thrown if {@code metricId} fail the UUID format validation. - * @throws ErrorCodeException thrown if the request is rejected by server. + * @throws MetricsAdvisorErrorCodeException thrown if the request is rejected by server. * @throws NullPointerException thrown if the {@code metricId} or {@code dimensionName} is null. */ @ServiceMethod(returns = ReturnType.COLLECTION) @@ -388,7 +388,7 @@ private Mono> listMetricDimensionValuesNextPageAsync(Strin * * @return the list of enrichment status's for the specified metric. * @throws IllegalArgumentException thrown if {@code metricId} fail the UUID format validation. - * @throws ErrorCodeException thrown if the request is rejected by server. + * @throws MetricsAdvisorErrorCodeException thrown if the request is rejected by server. * @throws NullPointerException thrown if {@code metricId}, {@code startTime} and {@code endTime} * is null. */ @@ -790,7 +790,7 @@ private Mono> listIncidentsForDetectionConfigNext * * @return the list of root causes for that incident. * @throws IllegalArgumentException thrown if {@code detectionConfigurationId} fail the UUID format validation. - * @throws ErrorCodeException thrown if the request is rejected by server. + * @throws MetricsAdvisorErrorCodeException thrown if the request is rejected by server. * @throws NullPointerException thrown if the {@code detectionConfigurationId} or {@code incidentId} is null. **/ @ServiceMethod(returns = ReturnType.COLLECTION) @@ -833,7 +833,7 @@ PagedFlux listIncidentRootCauses( * * @return the list of root causes for that anomalyIncident. * @throws IllegalArgumentException thrown if {@code detectionConfigurationId} fail the UUID format validation. - * @throws ErrorCodeException thrown if the request is rejected by server. + * @throws MetricsAdvisorErrorCodeException thrown if the request is rejected by server. * @throws NullPointerException thrown if the {@code detectionConfigurationId} or {@code incidentId} is null. **/ @ServiceMethod(returns = ReturnType.COLLECTION) @@ -1450,7 +1450,7 @@ Mono> getFeedbackWithResponse(String feedbackId, Contex * @return A {@link PagedFlux} containing information of all the {@link MetricFeedback metric feedbacks} * in the account. * @throws IllegalArgumentException thrown if {@code metricId} fail the UUID format validation. - * @throws ErrorCodeException thrown if the request is rejected by server. + * @throws MetricsAdvisorErrorCodeException thrown if the request is rejected by server. * @throws NullPointerException thrown if the {@code metricId} is null. */ @ServiceMethod(returns = ReturnType.COLLECTION) @@ -1471,7 +1471,7 @@ public PagedFlux listFeedback(String metricId) { * @return A {@link PagedFlux} containing information of all the {@link MetricFeedback metric feedbacks} in * the account. * @throws IllegalArgumentException thrown if {@code metricId} fail the UUID format validation. - * @throws ErrorCodeException thrown if the request is rejected by server. + * @throws MetricsAdvisorErrorCodeException thrown if the request is rejected by server. * @throws NullPointerException thrown if the {@code metricId} is null. */ @ServiceMethod(returns = ReturnType.COLLECTION) diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/main/java/com/azure/ai/metricsadvisor/MetricsAdvisorClient.java b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/main/java/com/azure/ai/metricsadvisor/MetricsAdvisorClient.java index 800cfcda322fd..0ddb23cfd475b 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/main/java/com/azure/ai/metricsadvisor/MetricsAdvisorClient.java +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/main/java/com/azure/ai/metricsadvisor/MetricsAdvisorClient.java @@ -9,7 +9,7 @@ import com.azure.ai.metricsadvisor.models.DataPointAnomaly; import com.azure.ai.metricsadvisor.models.DimensionKey; import com.azure.ai.metricsadvisor.models.EnrichmentStatus; -import com.azure.ai.metricsadvisor.models.ErrorCodeException; +import com.azure.ai.metricsadvisor.models.MetricsAdvisorErrorCodeException; import com.azure.ai.metricsadvisor.models.IncidentRootCause; import com.azure.ai.metricsadvisor.models.ListAlertOptions; import com.azure.ai.metricsadvisor.models.ListAnomaliesAlertedOptions; @@ -70,7 +70,7 @@ public class MetricsAdvisorClient { * @param activeSince the start time for querying series ingested after this time. * @return A {@link PagedIterable} of the {@link MetricSeriesDefinition metric series definitions}. * @throws IllegalArgumentException thrown if {@code metricId} fail the UUID format validation. - * @throws ErrorCodeException thrown if the request is rejected by server. + * @throws MetricsAdvisorErrorCodeException thrown if the request is rejected by server. * @throws NullPointerException thrown if the {@code metricId} or {@code activeSince} * is null. */ @@ -93,7 +93,7 @@ public PagedIterable listMetricSeriesDefinitions( * * @return A {@link PagedIterable} of the {@link MetricSeriesDefinition metric series definitions}. * @throws IllegalArgumentException thrown if {@code metricId} fail the UUID format validation. - * @throws ErrorCodeException thrown if the request is rejected by server. + * @throws MetricsAdvisorErrorCodeException thrown if the request is rejected by server. * @throws NullPointerException thrown if the {@code metricId} or {@code activeSince} * is null. */ @@ -169,7 +169,7 @@ public PagedIterable listMetricSeriesData(String metricId, Lis * @param endTime The end time for querying the time series data. * @return the list of enrichment status's for the specified metric. * @throws IllegalArgumentException thrown if {@code metricId} fail the UUID format validation. - * @throws ErrorCodeException thrown if the request is rejected by server. + * @throws MetricsAdvisorErrorCodeException thrown if the request is rejected by server. * @throws NullPointerException thrown if {@code metricId}, {@code startTime} and {@code endTime} * is null. */ @@ -193,7 +193,7 @@ public PagedIterable listMetricEnrichmentStatus( * * @return the list of enrichment status's for the specified metric. * @throws IllegalArgumentException thrown if {@code metricId} fail the UUID format validation. - * @throws ErrorCodeException thrown if the request is rejected by server. + * @throws MetricsAdvisorErrorCodeException thrown if the request is rejected by server. * @throws NullPointerException thrown if {@code metricId}, {@code startTime} and {@code endTime} * is null. */ @@ -377,7 +377,7 @@ public PagedIterable listIncidents( * * @return the list of root causes for that incident. * @throws IllegalArgumentException thrown if {@code detectionConfigurationId} fail the UUID format validation. - * @throws ErrorCodeException thrown if the request is rejected by server. + * @throws MetricsAdvisorErrorCodeException thrown if the request is rejected by server. * @throws NullPointerException thrown if the {@code detectionConfigurationId} or {@code incidentId} is null. **/ @ServiceMethod(returns = ReturnType.COLLECTION) @@ -399,7 +399,7 @@ public PagedIterable listIncidentRootCauses( * * @return the list of root causes for that incident. * @throws IllegalArgumentException thrown if {@code detectionConfigurationId} fail the UUID format validation. - * @throws ErrorCodeException thrown if the request is rejected by server. + * @throws MetricsAdvisorErrorCodeException thrown if the request is rejected by server. * @throws NullPointerException thrown if the {@code detectionConfigurationId} or {@code incidentId} is null. **/ @ServiceMethod(returns = ReturnType.COLLECTION) @@ -419,7 +419,7 @@ public PagedIterable listIncidentRootCauses( * * @return the list of root causes for that anomalyIncident. * @throws IllegalArgumentException thrown if {@code detectionConfigurationId} fail the UUID format validation. - * @throws ErrorCodeException thrown if the request is rejected by server. + * @throws MetricsAdvisorErrorCodeException thrown if the request is rejected by server. * @throws NullPointerException thrown if the {@code detectionConfigurationId} or {@code incidentId} is null. **/ @ServiceMethod(returns = ReturnType.COLLECTION) @@ -706,7 +706,7 @@ public Response getFeedbackWithResponse(String feedbackId, Conte * @return A {@link PagedIterable} containing information of all the {@link MetricFeedback metric feedbacks} * in the account. * @throws IllegalArgumentException thrown if {@code metricId} fail the UUID format validation. - * @throws ErrorCodeException thrown if the request is rejected by server. + * @throws MetricsAdvisorErrorCodeException thrown if the request is rejected by server. * @throws NullPointerException thrown if the {@code metricId} is null. */ @ServiceMethod(returns = ReturnType.COLLECTION) @@ -729,7 +729,7 @@ public PagedIterable listFeedback( * @return A {@link PagedIterable} containing information of all the {@link MetricFeedback metric feedbacks} * in the account. * @throws IllegalArgumentException thrown if {@code metricId} fail the UUID format validation. - * @throws ErrorCodeException thrown if the request is rejected by server. + * @throws MetricsAdvisorErrorCodeException thrown if the request is rejected by server. * @throws NullPointerException thrown if the {@code metricId} is null. */ @ServiceMethod(returns = ReturnType.COLLECTION) @@ -751,7 +751,7 @@ public PagedIterable listFeedback( * * @return the {@link PagedIterable} of the dimension values for that metric. * @throws IllegalArgumentException thrown if {@code metricId} fail the UUID format validation. - * @throws ErrorCodeException thrown if the request is rejected by server. + * @throws MetricsAdvisorErrorCodeException thrown if the request is rejected by server. * @throws NullPointerException thrown if the {@code metricId} or {@code dimensionName} is null. */ @ServiceMethod(returns = ReturnType.COLLECTION) @@ -774,7 +774,7 @@ public PagedIterable listMetricDimensionValues( * * @return the {@link PagedIterable} of the dimension values for that metric. * @throws IllegalArgumentException thrown if {@code metricId} fail the UUID format validation. - * @throws ErrorCodeException thrown if the request is rejected by server. + * @throws MetricsAdvisorErrorCodeException thrown if the request is rejected by server. * @throws NullPointerException thrown if the {@code metricId} or {@code dimensionName} is null. */ @ServiceMethod(returns = ReturnType.COLLECTION) diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/main/java/com/azure/ai/metricsadvisor/implementation/AzureCognitiveServiceMetricsAdvisorRestAPIOpenAPIV2Impl.java b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/main/java/com/azure/ai/metricsadvisor/implementation/AzureCognitiveServiceMetricsAdvisorRestAPIOpenAPIV2Impl.java index 36e12fc20dbaf..2d4193d64beaf 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/main/java/com/azure/ai/metricsadvisor/implementation/AzureCognitiveServiceMetricsAdvisorRestAPIOpenAPIV2Impl.java +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/main/java/com/azure/ai/metricsadvisor/implementation/AzureCognitiveServiceMetricsAdvisorRestAPIOpenAPIV2Impl.java @@ -61,7 +61,7 @@ import com.azure.ai.metricsadvisor.models.DataFeedIngestionProgress; import com.azure.ai.metricsadvisor.models.DataFeedIngestionStatus; import com.azure.ai.metricsadvisor.models.EnrichmentStatus; -import com.azure.ai.metricsadvisor.models.ErrorCodeException; +import com.azure.ai.metricsadvisor.models.MetricsAdvisorErrorCodeException; import com.azure.core.annotation.BodyParam; import com.azure.core.annotation.Delete; import com.azure.core.annotation.ExpectedResponses; @@ -195,13 +195,13 @@ public SerializerAdapter getSerializerAdapter() { private interface AzureCognitiveServiceMetricsAdvisorRestAPIOpenAPIV2Service { @Get("/stats/latest") @ExpectedResponses({200}) - @UnexpectedResponseExceptionType(ErrorCodeException.class) + @UnexpectedResponseExceptionType(MetricsAdvisorErrorCodeException.class) Mono> getActiveSeriesCount( @HostParam("endpoint") String endpoint, @HeaderParam("Accept") String accept, Context context); @Get("/alert/anomaly/configurations/{configurationId}") @ExpectedResponses({200}) - @UnexpectedResponseExceptionType(ErrorCodeException.class) + @UnexpectedResponseExceptionType(MetricsAdvisorErrorCodeException.class) Mono> getAnomalyAlertingConfiguration( @HostParam("endpoint") String endpoint, @PathParam("configurationId") UUID configurationId, @@ -210,7 +210,7 @@ Mono> getAnomalyAlertingConfiguration( @Patch("/alert/anomaly/configurations/{configurationId}") @ExpectedResponses({200}) - @UnexpectedResponseExceptionType(ErrorCodeException.class) + @UnexpectedResponseExceptionType(MetricsAdvisorErrorCodeException.class) Mono> updateAnomalyAlertingConfiguration( @HostParam("endpoint") String endpoint, @PathParam("configurationId") UUID configurationId, @@ -220,7 +220,7 @@ Mono> updateAnomalyAlertingConfiguration( @Delete("/alert/anomaly/configurations/{configurationId}") @ExpectedResponses({204}) - @UnexpectedResponseExceptionType(ErrorCodeException.class) + @UnexpectedResponseExceptionType(MetricsAdvisorErrorCodeException.class) Mono> deleteAnomalyAlertingConfiguration( @HostParam("endpoint") String endpoint, @PathParam("configurationId") UUID configurationId, @@ -229,7 +229,7 @@ Mono> deleteAnomalyAlertingConfiguration( @Post("/alert/anomaly/configurations") @ExpectedResponses({201}) - @UnexpectedResponseExceptionType(ErrorCodeException.class) + @UnexpectedResponseExceptionType(MetricsAdvisorErrorCodeException.class) Mono createAnomalyAlertingConfiguration( @HostParam("endpoint") String endpoint, @BodyParam("application/json") AnomalyAlertingConfiguration body, @@ -238,7 +238,7 @@ Mono createAnomalyAlertingConfigurat @Post("/alert/anomaly/configurations/{configurationId}/alerts/query") @ExpectedResponses({200}) - @UnexpectedResponseExceptionType(ErrorCodeException.class) + @UnexpectedResponseExceptionType(MetricsAdvisorErrorCodeException.class) Mono> getAlertsByAnomalyAlertingConfiguration( @HostParam("endpoint") String endpoint, @PathParam("configurationId") UUID configurationId, @@ -250,7 +250,7 @@ Mono> getAlertsByAnomalyAlertingConfiguration( @Get("/alert/anomaly/configurations/{configurationId}/alerts/{alertId}/anomalies") @ExpectedResponses({200}) - @UnexpectedResponseExceptionType(ErrorCodeException.class) + @UnexpectedResponseExceptionType(MetricsAdvisorErrorCodeException.class) Mono> getAnomaliesFromAlertByAnomalyAlertingConfiguration( @HostParam("endpoint") String endpoint, @PathParam("configurationId") UUID configurationId, @@ -262,7 +262,7 @@ Mono> getAnomaliesFromAlertByAnomalyAlertingConfigur @Get("/alert/anomaly/configurations/{configurationId}/alerts/{alertId}/incidents") @ExpectedResponses({200}) - @UnexpectedResponseExceptionType(ErrorCodeException.class) + @UnexpectedResponseExceptionType(MetricsAdvisorErrorCodeException.class) Mono> getIncidentsFromAlertByAnomalyAlertingConfiguration( @HostParam("endpoint") String endpoint, @PathParam("configurationId") UUID configurationId, @@ -274,7 +274,7 @@ Mono> getIncidentsFromAlertByAnomalyAlertingConfigu @Get("/enrichment/anomalyDetection/configurations/{configurationId}") @ExpectedResponses({200}) - @UnexpectedResponseExceptionType(ErrorCodeException.class) + @UnexpectedResponseExceptionType(MetricsAdvisorErrorCodeException.class) Mono> getAnomalyDetectionConfiguration( @HostParam("endpoint") String endpoint, @PathParam("configurationId") UUID configurationId, @@ -283,7 +283,7 @@ Mono> getAnomalyDetectionConfiguration( @Patch("/enrichment/anomalyDetection/configurations/{configurationId}") @ExpectedResponses({200}) - @UnexpectedResponseExceptionType(ErrorCodeException.class) + @UnexpectedResponseExceptionType(MetricsAdvisorErrorCodeException.class) Mono> updateAnomalyDetectionConfiguration( @HostParam("endpoint") String endpoint, @PathParam("configurationId") UUID configurationId, @@ -293,7 +293,7 @@ Mono> updateAnomalyDetectionConfiguratio @Delete("/enrichment/anomalyDetection/configurations/{configurationId}") @ExpectedResponses({204}) - @UnexpectedResponseExceptionType(ErrorCodeException.class) + @UnexpectedResponseExceptionType(MetricsAdvisorErrorCodeException.class) Mono> deleteAnomalyDetectionConfiguration( @HostParam("endpoint") String endpoint, @PathParam("configurationId") UUID configurationId, @@ -302,7 +302,7 @@ Mono> deleteAnomalyDetectionConfiguration( @Post("/enrichment/anomalyDetection/configurations") @ExpectedResponses({201}) - @UnexpectedResponseExceptionType(ErrorCodeException.class) + @UnexpectedResponseExceptionType(MetricsAdvisorErrorCodeException.class) Mono createAnomalyDetectionConfiguration( @HostParam("endpoint") String endpoint, @BodyParam("application/json") AnomalyDetectionConfiguration body, @@ -311,7 +311,7 @@ Mono createAnomalyDetectionConfigur @Get("/enrichment/anomalyDetection/configurations/{configurationId}/alert/anomaly/configurations") @ExpectedResponses({200}) - @UnexpectedResponseExceptionType(ErrorCodeException.class) + @UnexpectedResponseExceptionType(MetricsAdvisorErrorCodeException.class) Mono> getAnomalyAlertingConfigurationsByAnomalyDetectionConfiguration( @HostParam("endpoint") String endpoint, @@ -323,7 +323,7 @@ Mono createAnomalyDetectionConfigur @Post("/enrichment/anomalyDetection/configurations/{configurationId}/series/query") @ExpectedResponses({200}) - @UnexpectedResponseExceptionType(ErrorCodeException.class) + @UnexpectedResponseExceptionType(MetricsAdvisorErrorCodeException.class) Mono> getSeriesByAnomalyDetectionConfiguration( @HostParam("endpoint") String endpoint, @PathParam("configurationId") UUID configurationId, @@ -333,7 +333,7 @@ Mono> getSeriesByAnomalyDetectionConfiguration( @Post("/enrichment/anomalyDetection/configurations/{configurationId}/anomalies/query") @ExpectedResponses({200}) - @UnexpectedResponseExceptionType(ErrorCodeException.class) + @UnexpectedResponseExceptionType(MetricsAdvisorErrorCodeException.class) Mono> getAnomaliesByAnomalyDetectionConfiguration( @HostParam("endpoint") String endpoint, @PathParam("configurationId") UUID configurationId, @@ -345,7 +345,7 @@ Mono> getAnomaliesByAnomalyDetectionConfiguration( @Post("/enrichment/anomalyDetection/configurations/{configurationId}/anomalies/dimension/query") @ExpectedResponses({200}) - @UnexpectedResponseExceptionType(ErrorCodeException.class) + @UnexpectedResponseExceptionType(MetricsAdvisorErrorCodeException.class) Mono> getDimensionOfAnomaliesByAnomalyDetectionConfiguration( @HostParam("endpoint") String endpoint, @PathParam("configurationId") UUID configurationId, @@ -357,7 +357,7 @@ Mono> getDimensionOfAnomaliesByAnomalyDetectionCo @Post("/enrichment/anomalyDetection/configurations/{configurationId}/incidents/query") @ExpectedResponses({200}) - @UnexpectedResponseExceptionType(ErrorCodeException.class) + @UnexpectedResponseExceptionType(MetricsAdvisorErrorCodeException.class) Mono> getIncidentsByAnomalyDetectionConfiguration( @HostParam("endpoint") String endpoint, @PathParam("configurationId") UUID configurationId, @@ -368,7 +368,7 @@ Mono> getIncidentsByAnomalyDetectionConfiguration( @Get("/enrichment/anomalyDetection/configurations/{configurationId}/incidents/query") @ExpectedResponses({200}) - @UnexpectedResponseExceptionType(ErrorCodeException.class) + @UnexpectedResponseExceptionType(MetricsAdvisorErrorCodeException.class) Mono> getIncidentsByAnomalyDetectionConfigurationNextPages( @HostParam("endpoint") String endpoint, @PathParam("configurationId") UUID configurationId, @@ -379,7 +379,7 @@ Mono> getIncidentsByAnomalyDetectionConfigurationNe @Get("/enrichment/anomalyDetection/configurations/{configurationId}/incidents/{incidentId}/rootCause") @ExpectedResponses({200}) - @UnexpectedResponseExceptionType(ErrorCodeException.class) + @UnexpectedResponseExceptionType(MetricsAdvisorErrorCodeException.class) Mono> getRootCauseOfIncidentByAnomalyDetectionConfiguration( @HostParam("endpoint") String endpoint, @PathParam("configurationId") UUID configurationId, @@ -389,7 +389,7 @@ Mono> getRootCauseOfIncidentByAnomalyDetectionConfigurat @Post("/credentials") @ExpectedResponses({201}) - @UnexpectedResponseExceptionType(ErrorCodeException.class) + @UnexpectedResponseExceptionType(MetricsAdvisorErrorCodeException.class) Mono createCredential( @HostParam("endpoint") String endpoint, @BodyParam("application/json") DataSourceCredential body, @@ -398,7 +398,7 @@ Mono createCredential( @Get("/credentials") @ExpectedResponses({200}) - @UnexpectedResponseExceptionType(ErrorCodeException.class) + @UnexpectedResponseExceptionType(MetricsAdvisorErrorCodeException.class) Mono> listCredentials( @HostParam("endpoint") String endpoint, @QueryParam("$skip") Integer skip, @@ -408,7 +408,7 @@ Mono> listCredentials( @Patch("/credentials/{credentialId}") @ExpectedResponses({200}) - @UnexpectedResponseExceptionType(ErrorCodeException.class) + @UnexpectedResponseExceptionType(MetricsAdvisorErrorCodeException.class) Mono> updateCredential( @HostParam("endpoint") String endpoint, @PathParam("credentialId") UUID credentialId, @@ -418,7 +418,7 @@ Mono> updateCredential( @Delete("/credentials/{credentialId}") @ExpectedResponses({204}) - @UnexpectedResponseExceptionType(ErrorCodeException.class) + @UnexpectedResponseExceptionType(MetricsAdvisorErrorCodeException.class) Mono> deleteCredential( @HostParam("endpoint") String endpoint, @PathParam("credentialId") UUID credentialId, @@ -427,7 +427,7 @@ Mono> deleteCredential( @Get("/credentials/{credentialId}") @ExpectedResponses({200}) - @UnexpectedResponseExceptionType(ErrorCodeException.class) + @UnexpectedResponseExceptionType(MetricsAdvisorErrorCodeException.class) Mono> getCredential( @HostParam("endpoint") String endpoint, @PathParam("credentialId") UUID credentialId, @@ -436,7 +436,7 @@ Mono> getCredential( @Get("/dataFeeds") @ExpectedResponses({200}) - @UnexpectedResponseExceptionType(ErrorCodeException.class) + @UnexpectedResponseExceptionType(MetricsAdvisorErrorCodeException.class) Mono> listDataFeeds( @HostParam("endpoint") String endpoint, @QueryParam("dataFeedName") String dataFeedName, @@ -451,7 +451,7 @@ Mono> listDataFeeds( @Post("/dataFeeds") @ExpectedResponses({201}) - @UnexpectedResponseExceptionType(ErrorCodeException.class) + @UnexpectedResponseExceptionType(MetricsAdvisorErrorCodeException.class) Mono createDataFeed( @HostParam("endpoint") String endpoint, @BodyParam("application/json") DataFeedDetail body, @@ -460,7 +460,7 @@ Mono createDataFeed( @Get("/dataFeeds/{dataFeedId}") @ExpectedResponses({200}) - @UnexpectedResponseExceptionType(ErrorCodeException.class) + @UnexpectedResponseExceptionType(MetricsAdvisorErrorCodeException.class) Mono> getDataFeedById( @HostParam("endpoint") String endpoint, @PathParam("dataFeedId") UUID dataFeedId, @@ -469,7 +469,7 @@ Mono> getDataFeedById( @Patch("/dataFeeds/{dataFeedId}") @ExpectedResponses({200}) - @UnexpectedResponseExceptionType(ErrorCodeException.class) + @UnexpectedResponseExceptionType(MetricsAdvisorErrorCodeException.class) Mono> updateDataFeed( @HostParam("endpoint") String endpoint, @PathParam("dataFeedId") UUID dataFeedId, @@ -479,7 +479,7 @@ Mono> updateDataFeed( @Delete("/dataFeeds/{dataFeedId}") @ExpectedResponses({204}) - @UnexpectedResponseExceptionType(ErrorCodeException.class) + @UnexpectedResponseExceptionType(MetricsAdvisorErrorCodeException.class) Mono> deleteDataFeed( @HostParam("endpoint") String endpoint, @PathParam("dataFeedId") UUID dataFeedId, @@ -488,7 +488,7 @@ Mono> deleteDataFeed( @Get("/feedback/metric/{feedbackId}") @ExpectedResponses({200}) - @UnexpectedResponseExceptionType(ErrorCodeException.class) + @UnexpectedResponseExceptionType(MetricsAdvisorErrorCodeException.class) Mono> getMetricFeedback( @HostParam("endpoint") String endpoint, @PathParam("feedbackId") UUID feedbackId, @@ -497,7 +497,7 @@ Mono> getMetricFeedback( @Post("/feedback/metric/query") @ExpectedResponses({200}) - @UnexpectedResponseExceptionType(ErrorCodeException.class) + @UnexpectedResponseExceptionType(MetricsAdvisorErrorCodeException.class) Mono> listMetricFeedbacks( @HostParam("endpoint") String endpoint, @QueryParam("$skip") Integer skip, @@ -508,7 +508,7 @@ Mono> listMetricFeedbacks( @Post("/feedback/metric") @ExpectedResponses({201}) - @UnexpectedResponseExceptionType(ErrorCodeException.class) + @UnexpectedResponseExceptionType(MetricsAdvisorErrorCodeException.class) Mono createMetricFeedback( @HostParam("endpoint") String endpoint, @BodyParam("application/json") MetricFeedback body, @@ -517,7 +517,7 @@ Mono createMetricFeedback( @Get("/hooks") @ExpectedResponses({200}) - @UnexpectedResponseExceptionType(ErrorCodeException.class) + @UnexpectedResponseExceptionType(MetricsAdvisorErrorCodeException.class) Mono> listHooks( @HostParam("endpoint") String endpoint, @QueryParam("hookName") String hookName, @@ -528,7 +528,7 @@ Mono> listHooks( @Post("/hooks") @ExpectedResponses({201}) - @UnexpectedResponseExceptionType(ErrorCodeException.class) + @UnexpectedResponseExceptionType(MetricsAdvisorErrorCodeException.class) Mono createHook( @HostParam("endpoint") String endpoint, @BodyParam("application/json") HookInfo body, @@ -537,7 +537,7 @@ Mono createHook( @Get("/hooks/{hookId}") @ExpectedResponses({200}) - @UnexpectedResponseExceptionType(ErrorCodeException.class) + @UnexpectedResponseExceptionType(MetricsAdvisorErrorCodeException.class) Mono> getHook( @HostParam("endpoint") String endpoint, @PathParam("hookId") UUID hookId, @@ -546,7 +546,7 @@ Mono> getHook( @Patch("/hooks/{hookId}") @ExpectedResponses({200}) - @UnexpectedResponseExceptionType(ErrorCodeException.class) + @UnexpectedResponseExceptionType(MetricsAdvisorErrorCodeException.class) Mono> updateHook( @HostParam("endpoint") String endpoint, @PathParam("hookId") UUID hookId, @@ -556,7 +556,7 @@ Mono> updateHook( @Delete("/hooks/{hookId}") @ExpectedResponses({204}) - @UnexpectedResponseExceptionType(ErrorCodeException.class) + @UnexpectedResponseExceptionType(MetricsAdvisorErrorCodeException.class) Mono> deleteHook( @HostParam("endpoint") String endpoint, @PathParam("hookId") UUID hookId, @@ -565,7 +565,7 @@ Mono> deleteHook( @Post("/dataFeeds/{dataFeedId}/ingestionStatus/query") @ExpectedResponses({200}) - @UnexpectedResponseExceptionType(ErrorCodeException.class) + @UnexpectedResponseExceptionType(MetricsAdvisorErrorCodeException.class) Mono> getDataFeedIngestionStatus( @HostParam("endpoint") String endpoint, @PathParam("dataFeedId") UUID dataFeedId, @@ -577,7 +577,7 @@ Mono> getDataFeedIngestionStatus( @Post("/dataFeeds/{dataFeedId}/ingestionProgress/reset") @ExpectedResponses({204}) - @UnexpectedResponseExceptionType(ErrorCodeException.class) + @UnexpectedResponseExceptionType(MetricsAdvisorErrorCodeException.class) Mono> resetDataFeedIngestionStatus( @HostParam("endpoint") String endpoint, @PathParam("dataFeedId") UUID dataFeedId, @@ -587,7 +587,7 @@ Mono> resetDataFeedIngestionStatus( @Get("/dataFeeds/{dataFeedId}/ingestionProgress") @ExpectedResponses({200}) - @UnexpectedResponseExceptionType(ErrorCodeException.class) + @UnexpectedResponseExceptionType(MetricsAdvisorErrorCodeException.class) Mono> getIngestionProgress( @HostParam("endpoint") String endpoint, @PathParam("dataFeedId") UUID dataFeedId, @@ -596,7 +596,7 @@ Mono> getIngestionProgress( @Post("/metrics/{metricId}/data/query") @ExpectedResponses({200}) - @UnexpectedResponseExceptionType(ErrorCodeException.class) + @UnexpectedResponseExceptionType(MetricsAdvisorErrorCodeException.class) Mono> getMetricData( @HostParam("endpoint") String endpoint, @PathParam("metricId") UUID metricId, @@ -606,7 +606,7 @@ Mono> getMetricData( @Post("/metrics/{metricId}/series/query") @ExpectedResponses({200}) - @UnexpectedResponseExceptionType(ErrorCodeException.class) + @UnexpectedResponseExceptionType(MetricsAdvisorErrorCodeException.class) Mono> getMetricSeries( @HostParam("endpoint") String endpoint, @PathParam("metricId") UUID metricId, @@ -618,7 +618,7 @@ Mono> getMetricSeries( @Post("/metrics/{metricId}/dimension/query") @ExpectedResponses({200}) - @UnexpectedResponseExceptionType(ErrorCodeException.class) + @UnexpectedResponseExceptionType(MetricsAdvisorErrorCodeException.class) Mono> getMetricDimension( @HostParam("endpoint") String endpoint, @PathParam("metricId") UUID metricId, @@ -630,7 +630,7 @@ Mono> getMetricDimension( @Get("/metrics/{metricId}/enrichment/anomalyDetection/configurations") @ExpectedResponses({200}) - @UnexpectedResponseExceptionType(ErrorCodeException.class) + @UnexpectedResponseExceptionType(MetricsAdvisorErrorCodeException.class) Mono> getAnomalyDetectionConfigurationsByMetric( @HostParam("endpoint") String endpoint, @PathParam("metricId") UUID metricId, @@ -641,7 +641,7 @@ Mono> getAnomalyDetectionConfigurati @Post("/metrics/{metricId}/status/enrichment/anomalyDetection/query") @ExpectedResponses({200}) - @UnexpectedResponseExceptionType(ErrorCodeException.class) + @UnexpectedResponseExceptionType(MetricsAdvisorErrorCodeException.class) Mono> getEnrichmentStatusByMetric( @HostParam("endpoint") String endpoint, @PathParam("metricId") UUID metricId, @@ -653,7 +653,7 @@ Mono> getEnrichmentStatusByMetric( @Post("{nextLink}") @ExpectedResponses({200}) - @UnexpectedResponseExceptionType(ErrorCodeException.class) + @UnexpectedResponseExceptionType(MetricsAdvisorErrorCodeException.class) Mono> getAlertsByAnomalyAlertingConfigurationNext( @HostParam("endpoint") String endpoint, @PathParam(value = "nextLink", encoded = true) String nextLink, @@ -663,7 +663,7 @@ Mono> getAlertsByAnomalyAlertingConfigurationNext( @Post("{nextLink}") @ExpectedResponses({200}) - @UnexpectedResponseExceptionType(ErrorCodeException.class) + @UnexpectedResponseExceptionType(MetricsAdvisorErrorCodeException.class) Mono> getAnomaliesByAnomalyDetectionConfigurationNext( @HostParam("endpoint") String endpoint, @PathParam(value = "nextLink", encoded = true) String nextLink, @@ -673,7 +673,7 @@ Mono> getAnomaliesByAnomalyDetectionConfigurationNex @Post("{nextLink}") @ExpectedResponses({200}) - @UnexpectedResponseExceptionType(ErrorCodeException.class) + @UnexpectedResponseExceptionType(MetricsAdvisorErrorCodeException.class) Mono> getDimensionOfAnomaliesByAnomalyDetectionConfigurationNext( @HostParam("endpoint") String endpoint, @PathParam(value = "nextLink", encoded = true) String nextLink, @@ -683,7 +683,7 @@ Mono> getDimensionOfAnomaliesByAnomalyDetectionCo @Post("{nextLink}") @ExpectedResponses({200}) - @UnexpectedResponseExceptionType(ErrorCodeException.class) + @UnexpectedResponseExceptionType(MetricsAdvisorErrorCodeException.class) Mono> listMetricFeedbacksNext( @HostParam("endpoint") String endpoint, @PathParam(value = "nextLink", encoded = true) String nextLink, @@ -693,7 +693,7 @@ Mono> listMetricFeedbacksNext( @Post("{nextLink}") @ExpectedResponses({200}) - @UnexpectedResponseExceptionType(ErrorCodeException.class) + @UnexpectedResponseExceptionType(MetricsAdvisorErrorCodeException.class) Mono> getDataFeedIngestionStatusNext( @HostParam("endpoint") String endpoint, @PathParam(value = "nextLink", encoded = true) String nextLink, @@ -703,7 +703,7 @@ Mono> getDataFeedIngestionStatusNext( @Post("{nextLink}") @ExpectedResponses({200}) - @UnexpectedResponseExceptionType(ErrorCodeException.class) + @UnexpectedResponseExceptionType(MetricsAdvisorErrorCodeException.class) Mono> getMetricSeriesNext( @HostParam("endpoint") String endpoint, @PathParam(value = "nextLink", encoded = true) String nextLink, @@ -713,7 +713,7 @@ Mono> getMetricSeriesNext( @Post("{nextLink}") @ExpectedResponses({200}) - @UnexpectedResponseExceptionType(ErrorCodeException.class) + @UnexpectedResponseExceptionType(MetricsAdvisorErrorCodeException.class) Mono> getMetricDimensionNext( @HostParam("endpoint") String endpoint, @PathParam(value = "nextLink", encoded = true) String nextLink, @@ -723,7 +723,7 @@ Mono> getMetricDimensionNext( @Post("{nextLink}") @ExpectedResponses({200}) - @UnexpectedResponseExceptionType(ErrorCodeException.class) + @UnexpectedResponseExceptionType(MetricsAdvisorErrorCodeException.class) Mono> getEnrichmentStatusByMetricNext( @HostParam("endpoint") String endpoint, @PathParam(value = "nextLink", encoded = true) String nextLink, @@ -733,7 +733,7 @@ Mono> getEnrichmentStatusByMetricNext( @Get("{nextLink}") @ExpectedResponses({200}) - @UnexpectedResponseExceptionType(ErrorCodeException.class) + @UnexpectedResponseExceptionType(MetricsAdvisorErrorCodeException.class) Mono> getAnomaliesFromAlertByAnomalyAlertingConfigurationNext( @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("endpoint") String endpoint, @@ -742,7 +742,7 @@ Mono> getAnomaliesFromAlertByAnomalyAlertingConfigur @Get("{nextLink}") @ExpectedResponses({200}) - @UnexpectedResponseExceptionType(ErrorCodeException.class) + @UnexpectedResponseExceptionType(MetricsAdvisorErrorCodeException.class) Mono> getIncidentsFromAlertByAnomalyAlertingConfigurationNext( @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("endpoint") String endpoint, @@ -751,7 +751,7 @@ Mono> getIncidentsFromAlertByAnomalyAlertingConfigu @Get("{nextLink}") @ExpectedResponses({200}) - @UnexpectedResponseExceptionType(ErrorCodeException.class) + @UnexpectedResponseExceptionType(MetricsAdvisorErrorCodeException.class) Mono> getAnomalyAlertingConfigurationsByAnomalyDetectionConfigurationNext( @PathParam(value = "nextLink", encoded = true) String nextLink, @@ -761,7 +761,7 @@ Mono> getIncidentsFromAlertByAnomalyAlertingConfigu @Get("{nextLink}") @ExpectedResponses({200}) - @UnexpectedResponseExceptionType(ErrorCodeException.class) + @UnexpectedResponseExceptionType(MetricsAdvisorErrorCodeException.class) Mono> getIncidentsByAnomalyDetectionConfigurationNext( @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("endpoint") String endpoint, @@ -770,7 +770,7 @@ Mono> getIncidentsByAnomalyDetectionConfigurationNe @Get("{nextLink}") @ExpectedResponses({200}) - @UnexpectedResponseExceptionType(ErrorCodeException.class) + @UnexpectedResponseExceptionType(MetricsAdvisorErrorCodeException.class) Mono> getIncidentsByAnomalyDetectionConfigurationNextPagesNext( @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("endpoint") String endpoint, @@ -779,7 +779,7 @@ Mono> getIncidentsByAnomalyDetectionConfigurationNe @Get("{nextLink}") @ExpectedResponses({200}) - @UnexpectedResponseExceptionType(ErrorCodeException.class) + @UnexpectedResponseExceptionType(MetricsAdvisorErrorCodeException.class) Mono> listCredentialsNext( @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("endpoint") String endpoint, @@ -788,7 +788,7 @@ Mono> listCredentialsNext( @Get("{nextLink}") @ExpectedResponses({200}) - @UnexpectedResponseExceptionType(ErrorCodeException.class) + @UnexpectedResponseExceptionType(MetricsAdvisorErrorCodeException.class) Mono> listDataFeedsNext( @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("endpoint") String endpoint, @@ -797,7 +797,7 @@ Mono> listDataFeedsNext( @Get("{nextLink}") @ExpectedResponses({200}) - @UnexpectedResponseExceptionType(ErrorCodeException.class) + @UnexpectedResponseExceptionType(MetricsAdvisorErrorCodeException.class) Mono> listHooksNext( @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("endpoint") String endpoint, @@ -806,7 +806,7 @@ Mono> listHooksNext( @Get("{nextLink}") @ExpectedResponses({200}) - @UnexpectedResponseExceptionType(ErrorCodeException.class) + @UnexpectedResponseExceptionType(MetricsAdvisorErrorCodeException.class) Mono> getAnomalyDetectionConfigurationsByMetricNext( @PathParam(value = "nextLink", encoded = true) String nextLink, @HostParam("endpoint") String endpoint, @@ -817,7 +817,7 @@ Mono> getAnomalyDetectionConfigurati /** * Get latest usage stats. * - * @throws ErrorCodeException thrown if the request is rejected by server. + * @throws MetricsAdvisorErrorCodeException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return latest usage stats. */ @@ -832,7 +832,7 @@ public Mono> getActiveSeriesCountWithResponseAsync() { * * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws ErrorCodeException thrown if the request is rejected by server. + * @throws MetricsAdvisorErrorCodeException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return latest usage stats. */ @@ -845,7 +845,7 @@ public Mono> getActiveSeriesCountWithResponseAsync(Context /** * Get latest usage stats. * - * @throws ErrorCodeException thrown if the request is rejected by server. + * @throws MetricsAdvisorErrorCodeException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return latest usage stats. */ @@ -867,7 +867,7 @@ public Mono getActiveSeriesCountAsync() { * * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws ErrorCodeException thrown if the request is rejected by server. + * @throws MetricsAdvisorErrorCodeException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return latest usage stats. */ @@ -887,7 +887,7 @@ public Mono getActiveSeriesCountAsync(Context context) { /** * Get latest usage stats. * - * @throws ErrorCodeException thrown if the request is rejected by server. + * @throws MetricsAdvisorErrorCodeException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return latest usage stats. */ @@ -901,7 +901,7 @@ public UsageStats getActiveSeriesCount() { * * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws ErrorCodeException thrown if the request is rejected by server. + * @throws MetricsAdvisorErrorCodeException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return latest usage stats. */ @@ -915,7 +915,7 @@ public Response getActiveSeriesCountWithResponse(Context context) { * * @param configurationId anomaly alerting configuration unique id. * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws ErrorCodeException thrown if the request is rejected by server. + * @throws MetricsAdvisorErrorCodeException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the response. */ @@ -934,7 +934,7 @@ public Mono> getAnomalyAlertingConfigurat * @param configurationId anomaly alerting configuration unique id. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws ErrorCodeException thrown if the request is rejected by server. + * @throws MetricsAdvisorErrorCodeException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the response. */ @@ -950,7 +950,7 @@ public Mono> getAnomalyAlertingConfigurat * * @param configurationId anomaly alerting configuration unique id. * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws ErrorCodeException thrown if the request is rejected by server. + * @throws MetricsAdvisorErrorCodeException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the response. */ @@ -973,7 +973,7 @@ public Mono getAnomalyAlertingConfigurationAsync(U * @param configurationId anomaly alerting configuration unique id. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws ErrorCodeException thrown if the request is rejected by server. + * @throws MetricsAdvisorErrorCodeException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the response. */ @@ -996,7 +996,7 @@ public Mono getAnomalyAlertingConfigurationAsync( * * @param configurationId anomaly alerting configuration unique id. * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws ErrorCodeException thrown if the request is rejected by server. + * @throws MetricsAdvisorErrorCodeException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the response. */ @@ -1011,7 +1011,7 @@ public AnomalyAlertingConfiguration getAnomalyAlertingConfiguration(UUID configu * @param configurationId anomaly alerting configuration unique id. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws ErrorCodeException thrown if the request is rejected by server. + * @throws MetricsAdvisorErrorCodeException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the response. */ @@ -1027,7 +1027,7 @@ public Response getAnomalyAlertingConfigurationWit * @param configurationId anomaly alerting configuration unique id. * @param body anomaly alerting configuration. * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws ErrorCodeException thrown if the request is rejected by server. + * @throws MetricsAdvisorErrorCodeException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the response. */ @@ -1048,7 +1048,7 @@ public Mono> updateAnomalyAlertingConfigu * @param body anomaly alerting configuration. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws ErrorCodeException thrown if the request is rejected by server. + * @throws MetricsAdvisorErrorCodeException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the response. */ @@ -1065,7 +1065,7 @@ public Mono> updateAnomalyAlertingConfigu * @param configurationId anomaly alerting configuration unique id. * @param body anomaly alerting configuration. * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws ErrorCodeException thrown if the request is rejected by server. + * @throws MetricsAdvisorErrorCodeException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the response. */ @@ -1090,7 +1090,7 @@ public Mono updateAnomalyAlertingConfigurationAsyn * @param body anomaly alerting configuration. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws ErrorCodeException thrown if the request is rejected by server. + * @throws MetricsAdvisorErrorCodeException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the response. */ @@ -1114,7 +1114,7 @@ public Mono updateAnomalyAlertingConfigurationAsyn * @param configurationId anomaly alerting configuration unique id. * @param body anomaly alerting configuration. * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws ErrorCodeException thrown if the request is rejected by server. + * @throws MetricsAdvisorErrorCodeException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the response. */ @@ -1131,7 +1131,7 @@ public AnomalyAlertingConfiguration updateAnomalyAlertingConfiguration( * @param body anomaly alerting configuration. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws ErrorCodeException thrown if the request is rejected by server. + * @throws MetricsAdvisorErrorCodeException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the response. */ @@ -1146,7 +1146,7 @@ public Response updateAnomalyAlertingConfiguration * * @param configurationId anomaly alerting configuration unique id. * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws ErrorCodeException thrown if the request is rejected by server. + * @throws MetricsAdvisorErrorCodeException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the completion. */ @@ -1165,7 +1165,7 @@ public Mono> deleteAnomalyAlertingConfigurationWithResponseAsync( * @param configurationId anomaly alerting configuration unique id. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws ErrorCodeException thrown if the request is rejected by server. + * @throws MetricsAdvisorErrorCodeException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the completion. */ @@ -1181,7 +1181,7 @@ public Mono> deleteAnomalyAlertingConfigurationWithResponseAsync( * * @param configurationId anomaly alerting configuration unique id. * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws ErrorCodeException thrown if the request is rejected by server. + * @throws MetricsAdvisorErrorCodeException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the completion. */ @@ -1197,7 +1197,7 @@ public Mono deleteAnomalyAlertingConfigurationAsync(UUID configurationId) * @param configurationId anomaly alerting configuration unique id. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws ErrorCodeException thrown if the request is rejected by server. + * @throws MetricsAdvisorErrorCodeException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the completion. */ @@ -1212,7 +1212,7 @@ public Mono deleteAnomalyAlertingConfigurationAsync(UUID configurationId, * * @param configurationId anomaly alerting configuration unique id. * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws ErrorCodeException thrown if the request is rejected by server. + * @throws MetricsAdvisorErrorCodeException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. */ @ServiceMethod(returns = ReturnType.SINGLE) @@ -1226,7 +1226,7 @@ public void deleteAnomalyAlertingConfiguration(UUID configurationId) { * @param configurationId anomaly alerting configuration unique id. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws ErrorCodeException thrown if the request is rejected by server. + * @throws MetricsAdvisorErrorCodeException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the response. */ @@ -1240,7 +1240,7 @@ public Response deleteAnomalyAlertingConfigurationWithResponse(UUID config * * @param body anomaly alerting configuration. * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws ErrorCodeException thrown if the request is rejected by server. + * @throws MetricsAdvisorErrorCodeException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the completion. */ @@ -1258,7 +1258,7 @@ public Mono createAnomalyAlertingCon * @param body anomaly alerting configuration. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws ErrorCodeException thrown if the request is rejected by server. + * @throws MetricsAdvisorErrorCodeException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the completion. */ @@ -1274,7 +1274,7 @@ public Mono createAnomalyAlertingCon * * @param body anomaly alerting configuration. * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws ErrorCodeException thrown if the request is rejected by server. + * @throws MetricsAdvisorErrorCodeException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the completion. */ @@ -1290,7 +1290,7 @@ public Mono createAnomalyAlertingConfigurationAsync(AnomalyAlertingConfigu * @param body anomaly alerting configuration. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws ErrorCodeException thrown if the request is rejected by server. + * @throws MetricsAdvisorErrorCodeException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the completion. */ @@ -1305,7 +1305,7 @@ public Mono createAnomalyAlertingConfigurationAsync(AnomalyAlertingConfigu * * @param body anomaly alerting configuration. * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws ErrorCodeException thrown if the request is rejected by server. + * @throws MetricsAdvisorErrorCodeException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. */ @ServiceMethod(returns = ReturnType.SINGLE) @@ -1319,7 +1319,7 @@ public void createAnomalyAlertingConfiguration(AnomalyAlertingConfiguration body * @param body anomaly alerting configuration. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws ErrorCodeException thrown if the request is rejected by server. + * @throws MetricsAdvisorErrorCodeException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the response. */ @@ -1337,7 +1337,7 @@ public Response createAnomalyAlertingConfigurationWithResponse( * @param skip for paging, skipped number. * @param maxpagesize the maximum number of items in one page. * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws ErrorCodeException thrown if the request is rejected by server. + * @throws MetricsAdvisorErrorCodeException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the response. */ @@ -1369,7 +1369,7 @@ public Mono> getAlertsByAnomalyAlertingConfiguration * @param maxpagesize the maximum number of items in one page. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws ErrorCodeException thrown if the request is rejected by server. + * @throws MetricsAdvisorErrorCodeException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the response. */ @@ -1398,7 +1398,7 @@ public Mono> getAlertsByAnomalyAlertingConfiguration * @param skip for paging, skipped number. * @param maxpagesize the maximum number of items in one page. * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws ErrorCodeException thrown if the request is rejected by server. + * @throws MetricsAdvisorErrorCodeException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the response. */ @@ -1419,7 +1419,7 @@ public PagedFlux getAlertsByAnomalyAlertingConfigurationAsync( * @param maxpagesize the maximum number of items in one page. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws ErrorCodeException thrown if the request is rejected by server. + * @throws MetricsAdvisorErrorCodeException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the response. */ @@ -1441,7 +1441,7 @@ public PagedFlux getAlertsByAnomalyAlertingConfigurationAsync( * @param skip for paging, skipped number. * @param maxpagesize the maximum number of items in one page. * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws ErrorCodeException thrown if the request is rejected by server. + * @throws MetricsAdvisorErrorCodeException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the response. */ @@ -1461,7 +1461,7 @@ public PagedIterable getAlertsByAnomalyAlertingConfiguration( * @param maxpagesize the maximum number of items in one page. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws ErrorCodeException thrown if the request is rejected by server. + * @throws MetricsAdvisorErrorCodeException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the response. */ @@ -1480,7 +1480,7 @@ public PagedIterable getAlertsByAnomalyAlertingConfiguration( * @param skip for paging, skipped number. * @param maxpagesize the maximum number of items in one page. * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws ErrorCodeException thrown if the request is rejected by server. + * @throws MetricsAdvisorErrorCodeException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the response. */ @@ -1518,7 +1518,7 @@ public Mono> getAnomaliesFromAlertByAnomalyAlerting * @param maxpagesize the maximum number of items in one page. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws ErrorCodeException thrown if the request is rejected by server. + * @throws MetricsAdvisorErrorCodeException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the response. */ @@ -1547,7 +1547,7 @@ public Mono> getAnomaliesFromAlertByAnomalyAlerting * @param skip for paging, skipped number. * @param maxpagesize the maximum number of items in one page. * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws ErrorCodeException thrown if the request is rejected by server. + * @throws MetricsAdvisorErrorCodeException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the response. */ @@ -1570,7 +1570,7 @@ public PagedFlux getAnomaliesFromAlertByAnomalyAlertingConfigurat * @param maxpagesize the maximum number of items in one page. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws ErrorCodeException thrown if the request is rejected by server. + * @throws MetricsAdvisorErrorCodeException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the response. */ @@ -1592,7 +1592,7 @@ public PagedFlux getAnomaliesFromAlertByAnomalyAlertingConfigurat * @param skip for paging, skipped number. * @param maxpagesize the maximum number of items in one page. * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws ErrorCodeException thrown if the request is rejected by server. + * @throws MetricsAdvisorErrorCodeException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the response. */ @@ -1612,7 +1612,7 @@ public PagedIterable getAnomaliesFromAlertByAnomalyAlertingConfig * @param maxpagesize the maximum number of items in one page. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws ErrorCodeException thrown if the request is rejected by server. + * @throws MetricsAdvisorErrorCodeException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the response. */ @@ -1632,7 +1632,7 @@ public PagedIterable getAnomaliesFromAlertByAnomalyAlertingConfig * @param skip for paging, skipped number. * @param maxpagesize the maximum number of items in one page. * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws ErrorCodeException thrown if the request is rejected by server. + * @throws MetricsAdvisorErrorCodeException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the response. */ @@ -1670,7 +1670,7 @@ public Mono> getIncidentsFromAlertByAnomalyAlertin * @param maxpagesize the maximum number of items in one page. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws ErrorCodeException thrown if the request is rejected by server. + * @throws MetricsAdvisorErrorCodeException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the response. */ @@ -1699,7 +1699,7 @@ public Mono> getIncidentsFromAlertByAnomalyAlertin * @param skip for paging, skipped number. * @param maxpagesize the maximum number of items in one page. * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws ErrorCodeException thrown if the request is rejected by server. + * @throws MetricsAdvisorErrorCodeException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the response. */ @@ -1722,7 +1722,7 @@ public PagedFlux getIncidentsFromAlertByAnomalyAlertingConfigura * @param maxpagesize the maximum number of items in one page. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws ErrorCodeException thrown if the request is rejected by server. + * @throws MetricsAdvisorErrorCodeException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the response. */ @@ -1744,7 +1744,7 @@ public PagedFlux getIncidentsFromAlertByAnomalyAlertingConfigura * @param skip for paging, skipped number. * @param maxpagesize the maximum number of items in one page. * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws ErrorCodeException thrown if the request is rejected by server. + * @throws MetricsAdvisorErrorCodeException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the response. */ @@ -1764,7 +1764,7 @@ public PagedIterable getIncidentsFromAlertByAnomalyAlertingConfi * @param maxpagesize the maximum number of items in one page. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws ErrorCodeException thrown if the request is rejected by server. + * @throws MetricsAdvisorErrorCodeException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the response. */ @@ -1781,7 +1781,7 @@ public PagedIterable getIncidentsFromAlertByAnomalyAlertingConfi * * @param configurationId anomaly detection configuration unique id. * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws ErrorCodeException thrown if the request is rejected by server. + * @throws MetricsAdvisorErrorCodeException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the response. */ @@ -1800,7 +1800,7 @@ public Mono> getAnomalyDetectionConfigur * @param configurationId anomaly detection configuration unique id. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws ErrorCodeException thrown if the request is rejected by server. + * @throws MetricsAdvisorErrorCodeException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the response. */ @@ -1816,7 +1816,7 @@ public Mono> getAnomalyDetectionConfigur * * @param configurationId anomaly detection configuration unique id. * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws ErrorCodeException thrown if the request is rejected by server. + * @throws MetricsAdvisorErrorCodeException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the response. */ @@ -1839,7 +1839,7 @@ public Mono getAnomalyDetectionConfigurationAsync * @param configurationId anomaly detection configuration unique id. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws ErrorCodeException thrown if the request is rejected by server. + * @throws MetricsAdvisorErrorCodeException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the response. */ @@ -1862,7 +1862,7 @@ public Mono getAnomalyDetectionConfigurationAsync * * @param configurationId anomaly detection configuration unique id. * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws ErrorCodeException thrown if the request is rejected by server. + * @throws MetricsAdvisorErrorCodeException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the response. */ @@ -1877,7 +1877,7 @@ public AnomalyDetectionConfiguration getAnomalyDetectionConfiguration(UUID confi * @param configurationId anomaly detection configuration unique id. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws ErrorCodeException thrown if the request is rejected by server. + * @throws MetricsAdvisorErrorCodeException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the response. */ @@ -1893,7 +1893,7 @@ public Response getAnomalyDetectionConfigurationW * @param configurationId anomaly detection configuration unique id. * @param body anomaly detection configuration. * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws ErrorCodeException thrown if the request is rejected by server. + * @throws MetricsAdvisorErrorCodeException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the response. */ @@ -1914,7 +1914,7 @@ public Mono> updateAnomalyDetectionConfi * @param body anomaly detection configuration. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws ErrorCodeException thrown if the request is rejected by server. + * @throws MetricsAdvisorErrorCodeException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the response. */ @@ -1931,7 +1931,7 @@ public Mono> updateAnomalyDetectionConfi * @param configurationId anomaly detection configuration unique id. * @param body anomaly detection configuration. * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws ErrorCodeException thrown if the request is rejected by server. + * @throws MetricsAdvisorErrorCodeException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the response. */ @@ -1956,7 +1956,7 @@ public Mono updateAnomalyDetectionConfigurationAs * @param body anomaly detection configuration. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws ErrorCodeException thrown if the request is rejected by server. + * @throws MetricsAdvisorErrorCodeException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the response. */ @@ -1980,7 +1980,7 @@ public Mono updateAnomalyDetectionConfigurationAs * @param configurationId anomaly detection configuration unique id. * @param body anomaly detection configuration. * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws ErrorCodeException thrown if the request is rejected by server. + * @throws MetricsAdvisorErrorCodeException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the response. */ @@ -1997,7 +1997,7 @@ public AnomalyDetectionConfiguration updateAnomalyDetectionConfiguration( * @param body anomaly detection configuration. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws ErrorCodeException thrown if the request is rejected by server. + * @throws MetricsAdvisorErrorCodeException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the response. */ @@ -2012,7 +2012,7 @@ public Response updateAnomalyDetectionConfigurati * * @param configurationId anomaly detection configuration unique id. * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws ErrorCodeException thrown if the request is rejected by server. + * @throws MetricsAdvisorErrorCodeException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the completion. */ @@ -2031,7 +2031,7 @@ public Mono> deleteAnomalyDetectionConfigurationWithResponseAsync * @param configurationId anomaly detection configuration unique id. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws ErrorCodeException thrown if the request is rejected by server. + * @throws MetricsAdvisorErrorCodeException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the completion. */ @@ -2047,7 +2047,7 @@ public Mono> deleteAnomalyDetectionConfigurationWithResponseAsync * * @param configurationId anomaly detection configuration unique id. * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws ErrorCodeException thrown if the request is rejected by server. + * @throws MetricsAdvisorErrorCodeException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the completion. */ @@ -2063,7 +2063,7 @@ public Mono deleteAnomalyDetectionConfigurationAsync(UUID configurationId) * @param configurationId anomaly detection configuration unique id. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws ErrorCodeException thrown if the request is rejected by server. + * @throws MetricsAdvisorErrorCodeException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the completion. */ @@ -2078,7 +2078,7 @@ public Mono deleteAnomalyDetectionConfigurationAsync(UUID configurationId, * * @param configurationId anomaly detection configuration unique id. * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws ErrorCodeException thrown if the request is rejected by server. + * @throws MetricsAdvisorErrorCodeException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. */ @ServiceMethod(returns = ReturnType.SINGLE) @@ -2092,7 +2092,7 @@ public void deleteAnomalyDetectionConfiguration(UUID configurationId) { * @param configurationId anomaly detection configuration unique id. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws ErrorCodeException thrown if the request is rejected by server. + * @throws MetricsAdvisorErrorCodeException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the response. */ @@ -2106,7 +2106,7 @@ public Response deleteAnomalyDetectionConfigurationWithResponse(UUID confi * * @param body anomaly detection configuration. * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws ErrorCodeException thrown if the request is rejected by server. + * @throws MetricsAdvisorErrorCodeException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the completion. */ @@ -2124,7 +2124,7 @@ public Mono createAnomalyDetectionC * @param body anomaly detection configuration. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws ErrorCodeException thrown if the request is rejected by server. + * @throws MetricsAdvisorErrorCodeException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the completion. */ @@ -2140,7 +2140,7 @@ public Mono createAnomalyDetectionC * * @param body anomaly detection configuration. * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws ErrorCodeException thrown if the request is rejected by server. + * @throws MetricsAdvisorErrorCodeException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the completion. */ @@ -2156,7 +2156,7 @@ public Mono createAnomalyDetectionConfigurationAsync(AnomalyDetectionConfi * @param body anomaly detection configuration. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws ErrorCodeException thrown if the request is rejected by server. + * @throws MetricsAdvisorErrorCodeException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the completion. */ @@ -2171,7 +2171,7 @@ public Mono createAnomalyDetectionConfigurationAsync(AnomalyDetectionConfi * * @param body anomaly detection configuration. * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws ErrorCodeException thrown if the request is rejected by server. + * @throws MetricsAdvisorErrorCodeException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. */ @ServiceMethod(returns = ReturnType.SINGLE) @@ -2185,7 +2185,7 @@ public void createAnomalyDetectionConfiguration(AnomalyDetectionConfiguration bo * @param body anomaly detection configuration. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws ErrorCodeException thrown if the request is rejected by server. + * @throws MetricsAdvisorErrorCodeException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the response. */ @@ -2202,7 +2202,7 @@ public Response createAnomalyDetectionConfigurationWithResponse( * @param skip for paging, skipped number. * @param maxpagesize the maximum number of items in one page. * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws ErrorCodeException thrown if the request is rejected by server. + * @throws MetricsAdvisorErrorCodeException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the response. */ @@ -2234,7 +2234,7 @@ public Response createAnomalyDetectionConfigurationWithResponse( * @param maxpagesize the maximum number of items in one page. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws ErrorCodeException thrown if the request is rejected by server. + * @throws MetricsAdvisorErrorCodeException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the response. */ @@ -2263,7 +2263,7 @@ public Response createAnomalyDetectionConfigurationWithResponse( * @param skip for paging, skipped number. * @param maxpagesize the maximum number of items in one page. * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws ErrorCodeException thrown if the request is rejected by server. + * @throws MetricsAdvisorErrorCodeException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the response. */ @@ -2286,7 +2286,7 @@ public PagedFlux getAnomalyAlertingConfigurationsB * @param maxpagesize the maximum number of items in one page. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws ErrorCodeException thrown if the request is rejected by server. + * @throws MetricsAdvisorErrorCodeException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the response. */ @@ -2309,7 +2309,7 @@ public PagedFlux getAnomalyAlertingConfigurationsB * @param skip for paging, skipped number. * @param maxpagesize the maximum number of items in one page. * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws ErrorCodeException thrown if the request is rejected by server. + * @throws MetricsAdvisorErrorCodeException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the response. */ @@ -2329,7 +2329,7 @@ public PagedIterable getAnomalyAlertingConfigurati * @param maxpagesize the maximum number of items in one page. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws ErrorCodeException thrown if the request is rejected by server. + * @throws MetricsAdvisorErrorCodeException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the response. */ @@ -2347,7 +2347,7 @@ public PagedIterable getAnomalyAlertingConfigurati * @param configurationId anomaly detection configuration unique id. * @param body query series detection result request. * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws ErrorCodeException thrown if the request is rejected by server. + * @throws MetricsAdvisorErrorCodeException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the response. */ @@ -2368,7 +2368,7 @@ public Mono> getSeriesByAnomalyDetectionConfiguration * @param body query series detection result request. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws ErrorCodeException thrown if the request is rejected by server. + * @throws MetricsAdvisorErrorCodeException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the response. */ @@ -2386,7 +2386,7 @@ public Mono> getSeriesByAnomalyDetectionConfiguration * @param configurationId anomaly detection configuration unique id. * @param body query series detection result request. * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws ErrorCodeException thrown if the request is rejected by server. + * @throws MetricsAdvisorErrorCodeException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the response. */ @@ -2411,7 +2411,7 @@ public Mono getSeriesByAnomalyDetectionConfigurationAsync( * @param body query series detection result request. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws ErrorCodeException thrown if the request is rejected by server. + * @throws MetricsAdvisorErrorCodeException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the response. */ @@ -2435,7 +2435,7 @@ public Mono getSeriesByAnomalyDetectionConfigurationAsync( * @param configurationId anomaly detection configuration unique id. * @param body query series detection result request. * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws ErrorCodeException thrown if the request is rejected by server. + * @throws MetricsAdvisorErrorCodeException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the response. */ @@ -2451,7 +2451,7 @@ public SeriesResultList getSeriesByAnomalyDetectionConfiguration(UUID configurat * @param body query series detection result request. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws ErrorCodeException thrown if the request is rejected by server. + * @throws MetricsAdvisorErrorCodeException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the response. */ @@ -2469,7 +2469,7 @@ public Response getSeriesByAnomalyDetectionConfigurationWithRe * @param skip for paging, skipped number. * @param maxpagesize the maximum number of items in one page. * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws ErrorCodeException thrown if the request is rejected by server. + * @throws MetricsAdvisorErrorCodeException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the response. */ @@ -2501,7 +2501,7 @@ public Mono> getAnomaliesByAnomalyDetectionConfigur * @param maxpagesize the maximum number of items in one page. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws ErrorCodeException thrown if the request is rejected by server. + * @throws MetricsAdvisorErrorCodeException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the response. */ @@ -2534,7 +2534,7 @@ public Mono> getAnomaliesByAnomalyDetectionConfigur * @param skip for paging, skipped number. * @param maxpagesize the maximum number of items in one page. * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws ErrorCodeException thrown if the request is rejected by server. + * @throws MetricsAdvisorErrorCodeException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the response. */ @@ -2557,7 +2557,7 @@ public PagedFlux getAnomaliesByAnomalyDetectionConfigurationAsync * @param maxpagesize the maximum number of items in one page. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws ErrorCodeException thrown if the request is rejected by server. + * @throws MetricsAdvisorErrorCodeException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the response. */ @@ -2583,7 +2583,7 @@ public PagedFlux getAnomaliesByAnomalyDetectionConfigurationAsync * @param skip for paging, skipped number. * @param maxpagesize the maximum number of items in one page. * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws ErrorCodeException thrown if the request is rejected by server. + * @throws MetricsAdvisorErrorCodeException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the response. */ @@ -2603,7 +2603,7 @@ public PagedIterable getAnomaliesByAnomalyDetectionConfiguration( * @param maxpagesize the maximum number of items in one page. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws ErrorCodeException thrown if the request is rejected by server. + * @throws MetricsAdvisorErrorCodeException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the response. */ @@ -2626,7 +2626,7 @@ public PagedIterable getAnomaliesByAnomalyDetectionConfiguration( * @param skip for paging, skipped number. * @param maxpagesize the maximum number of items in one page. * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws ErrorCodeException thrown if the request is rejected by server. + * @throws MetricsAdvisorErrorCodeException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the response. */ @@ -2658,7 +2658,7 @@ public Mono> getDimensionOfAnomaliesByAnomalyDetectionConf * @param maxpagesize the maximum number of items in one page. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws ErrorCodeException thrown if the request is rejected by server. + * @throws MetricsAdvisorErrorCodeException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the response. */ @@ -2687,7 +2687,7 @@ public Mono> getDimensionOfAnomaliesByAnomalyDetectionConf * @param skip for paging, skipped number. * @param maxpagesize the maximum number of items in one page. * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws ErrorCodeException thrown if the request is rejected by server. + * @throws MetricsAdvisorErrorCodeException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the response. */ @@ -2710,7 +2710,7 @@ public PagedFlux getDimensionOfAnomaliesByAnomalyDetectionConfigurationA * @param maxpagesize the maximum number of items in one page. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws ErrorCodeException thrown if the request is rejected by server. + * @throws MetricsAdvisorErrorCodeException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the response. */ @@ -2734,7 +2734,7 @@ public PagedFlux getDimensionOfAnomaliesByAnomalyDetectionConfigurationA * @param skip for paging, skipped number. * @param maxpagesize the maximum number of items in one page. * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws ErrorCodeException thrown if the request is rejected by server. + * @throws MetricsAdvisorErrorCodeException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the response. */ @@ -2754,7 +2754,7 @@ public PagedIterable getDimensionOfAnomaliesByAnomalyDetectionConfigurat * @param maxpagesize the maximum number of items in one page. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws ErrorCodeException thrown if the request is rejected by server. + * @throws MetricsAdvisorErrorCodeException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the response. */ @@ -2773,7 +2773,7 @@ public PagedIterable getDimensionOfAnomaliesByAnomalyDetectionConfigurat * @param body query detection incident result request. * @param maxpagesize the maximum number of items in one page. * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws ErrorCodeException thrown if the request is rejected by server. + * @throws MetricsAdvisorErrorCodeException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the response. */ @@ -2804,7 +2804,7 @@ public Mono> getIncidentsByAnomalyDetectionConfigu * @param maxpagesize the maximum number of items in one page. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws ErrorCodeException thrown if the request is rejected by server. + * @throws MetricsAdvisorErrorCodeException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the response. */ @@ -2832,7 +2832,7 @@ public Mono> getIncidentsByAnomalyDetectionConfigu * @param body query detection incident result request. * @param maxpagesize the maximum number of items in one page. * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws ErrorCodeException thrown if the request is rejected by server. + * @throws MetricsAdvisorErrorCodeException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the response. */ @@ -2852,7 +2852,7 @@ public PagedFlux getIncidentsByAnomalyDetectionConfigurationAsyn * @param maxpagesize the maximum number of items in one page. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws ErrorCodeException thrown if the request is rejected by server. + * @throws MetricsAdvisorErrorCodeException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the response. */ @@ -2873,7 +2873,7 @@ public PagedFlux getIncidentsByAnomalyDetectionConfigurationAsyn * @param body query detection incident result request. * @param maxpagesize the maximum number of items in one page. * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws ErrorCodeException thrown if the request is rejected by server. + * @throws MetricsAdvisorErrorCodeException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the response. */ @@ -2892,7 +2892,7 @@ public PagedIterable getIncidentsByAnomalyDetectionConfiguration * @param maxpagesize the maximum number of items in one page. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws ErrorCodeException thrown if the request is rejected by server. + * @throws MetricsAdvisorErrorCodeException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the response. */ @@ -2910,7 +2910,7 @@ public PagedIterable getIncidentsByAnomalyDetectionConfiguration * @param maxpagesize the maximum number of items in one page. * @param token the token for getting the next page. * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws ErrorCodeException thrown if the request is rejected by server. + * @throws MetricsAdvisorErrorCodeException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the response. */ @@ -2941,7 +2941,7 @@ public Mono> getIncidentsByAnomalyDetectionConfigu * @param token the token for getting the next page. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws ErrorCodeException thrown if the request is rejected by server. + * @throws MetricsAdvisorErrorCodeException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the response. */ @@ -2969,7 +2969,7 @@ public Mono> getIncidentsByAnomalyDetectionConfigu * @param maxpagesize the maximum number of items in one page. * @param token the token for getting the next page. * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws ErrorCodeException thrown if the request is rejected by server. + * @throws MetricsAdvisorErrorCodeException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the response. */ @@ -2991,7 +2991,7 @@ public PagedFlux getIncidentsByAnomalyDetectionConfigurationNext * @param token the token for getting the next page. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws ErrorCodeException thrown if the request is rejected by server. + * @throws MetricsAdvisorErrorCodeException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the response. */ @@ -3012,7 +3012,7 @@ public PagedFlux getIncidentsByAnomalyDetectionConfigurationNext * @param maxpagesize the maximum number of items in one page. * @param token the token for getting the next page. * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws ErrorCodeException thrown if the request is rejected by server. + * @throws MetricsAdvisorErrorCodeException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the response. */ @@ -3031,7 +3031,7 @@ public PagedIterable getIncidentsByAnomalyDetectionConfiguration * @param token the token for getting the next page. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws ErrorCodeException thrown if the request is rejected by server. + * @throws MetricsAdvisorErrorCodeException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the response. */ @@ -3049,7 +3049,7 @@ public PagedIterable getIncidentsByAnomalyDetectionConfiguration * @param configurationId anomaly detection configuration unique id. * @param incidentId incident id. * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws ErrorCodeException thrown if the request is rejected by server. + * @throws MetricsAdvisorErrorCodeException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the response. */ @@ -3070,7 +3070,7 @@ public Mono> getRootCauseOfIncidentByAnomalyDetectionCon * @param incidentId incident id. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws ErrorCodeException thrown if the request is rejected by server. + * @throws MetricsAdvisorErrorCodeException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the response. */ @@ -3088,7 +3088,7 @@ public Mono> getRootCauseOfIncidentByAnomalyDetectionCon * @param configurationId anomaly detection configuration unique id. * @param incidentId incident id. * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws ErrorCodeException thrown if the request is rejected by server. + * @throws MetricsAdvisorErrorCodeException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the response. */ @@ -3113,7 +3113,7 @@ public Mono getRootCauseOfIncidentByAnomalyDetectionConfiguration * @param incidentId incident id. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws ErrorCodeException thrown if the request is rejected by server. + * @throws MetricsAdvisorErrorCodeException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the response. */ @@ -3138,7 +3138,7 @@ public Mono getRootCauseOfIncidentByAnomalyDetectionConfiguration * @param configurationId anomaly detection configuration unique id. * @param incidentId incident id. * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws ErrorCodeException thrown if the request is rejected by server. + * @throws MetricsAdvisorErrorCodeException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the response. */ @@ -3155,7 +3155,7 @@ public RootCauseList getRootCauseOfIncidentByAnomalyDetectionConfiguration( * @param incidentId incident id. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws ErrorCodeException thrown if the request is rejected by server. + * @throws MetricsAdvisorErrorCodeException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the response. */ @@ -3172,7 +3172,7 @@ public Response getRootCauseOfIncidentByAnomalyDetectionConfigura * * @param body Create data source credential request. * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws ErrorCodeException thrown if the request is rejected by server. + * @throws MetricsAdvisorErrorCodeException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the completion. */ @@ -3188,7 +3188,7 @@ public Mono createCredentialWithResponseAsync(DataSour * @param body Create data source credential request. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws ErrorCodeException thrown if the request is rejected by server. + * @throws MetricsAdvisorErrorCodeException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the completion. */ @@ -3204,7 +3204,7 @@ public Mono createCredentialWithResponseAsync( * * @param body Create data source credential request. * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws ErrorCodeException thrown if the request is rejected by server. + * @throws MetricsAdvisorErrorCodeException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the completion. */ @@ -3219,7 +3219,7 @@ public Mono createCredentialAsync(DataSourceCredential body) { * @param body Create data source credential request. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws ErrorCodeException thrown if the request is rejected by server. + * @throws MetricsAdvisorErrorCodeException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the completion. */ @@ -3233,7 +3233,7 @@ public Mono createCredentialAsync(DataSourceCredential body, Context conte * * @param body Create data source credential request. * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws ErrorCodeException thrown if the request is rejected by server. + * @throws MetricsAdvisorErrorCodeException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. */ @ServiceMethod(returns = ReturnType.SINGLE) @@ -3247,7 +3247,7 @@ public void createCredential(DataSourceCredential body) { * @param body Create data source credential request. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws ErrorCodeException thrown if the request is rejected by server. + * @throws MetricsAdvisorErrorCodeException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the response. */ @@ -3262,7 +3262,7 @@ public Response createCredentialWithResponse(DataSourceCredential body, Co * @param skip for paging, skipped number. * @param maxpagesize the maximum number of items in one page. * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws ErrorCodeException thrown if the request is rejected by server. + * @throws MetricsAdvisorErrorCodeException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the response. */ @@ -3289,7 +3289,7 @@ public Mono> listCredentialsSinglePageAsync( * @param maxpagesize the maximum number of items in one page. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws ErrorCodeException thrown if the request is rejected by server. + * @throws MetricsAdvisorErrorCodeException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the response. */ @@ -3315,7 +3315,7 @@ public Mono> listCredentialsSinglePageAsync( * @param skip for paging, skipped number. * @param maxpagesize the maximum number of items in one page. * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws ErrorCodeException thrown if the request is rejected by server. + * @throws MetricsAdvisorErrorCodeException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the response. */ @@ -3333,7 +3333,7 @@ public PagedFlux listCredentialsAsync(Integer skip, Intege * @param maxpagesize the maximum number of items in one page. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws ErrorCodeException thrown if the request is rejected by server. + * @throws MetricsAdvisorErrorCodeException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the response. */ @@ -3350,7 +3350,7 @@ public PagedFlux listCredentialsAsync(Integer skip, Intege * @param skip for paging, skipped number. * @param maxpagesize the maximum number of items in one page. * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws ErrorCodeException thrown if the request is rejected by server. + * @throws MetricsAdvisorErrorCodeException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the response. */ @@ -3366,7 +3366,7 @@ public PagedIterable listCredentials(Integer skip, Integer * @param maxpagesize the maximum number of items in one page. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws ErrorCodeException thrown if the request is rejected by server. + * @throws MetricsAdvisorErrorCodeException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the response. */ @@ -3381,7 +3381,7 @@ public PagedIterable listCredentials(Integer skip, Integer * @param credentialId Data source credential unique ID. * @param body Update data source credential request. * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws ErrorCodeException thrown if the request is rejected by server. + * @throws MetricsAdvisorErrorCodeException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the response. */ @@ -3400,7 +3400,7 @@ public Mono> updateCredentialWithResponseAsync( * @param body Update data source credential request. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws ErrorCodeException thrown if the request is rejected by server. + * @throws MetricsAdvisorErrorCodeException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the response. */ @@ -3417,7 +3417,7 @@ public Mono> updateCredentialWithResponseAsync( * @param credentialId Data source credential unique ID. * @param body Update data source credential request. * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws ErrorCodeException thrown if the request is rejected by server. + * @throws MetricsAdvisorErrorCodeException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the response. */ @@ -3441,7 +3441,7 @@ public Mono updateCredentialAsync(UUID credentialId, DataS * @param body Update data source credential request. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws ErrorCodeException thrown if the request is rejected by server. + * @throws MetricsAdvisorErrorCodeException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the response. */ @@ -3465,7 +3465,7 @@ public Mono updateCredentialAsync( * @param credentialId Data source credential unique ID. * @param body Update data source credential request. * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws ErrorCodeException thrown if the request is rejected by server. + * @throws MetricsAdvisorErrorCodeException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the response. */ @@ -3481,7 +3481,7 @@ public DataSourceCredential updateCredential(UUID credentialId, DataSourceCreden * @param body Update data source credential request. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws ErrorCodeException thrown if the request is rejected by server. + * @throws MetricsAdvisorErrorCodeException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the response. */ @@ -3496,7 +3496,7 @@ public Response updateCredentialWithResponse( * * @param credentialId Data source credential unique ID. * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws ErrorCodeException thrown if the request is rejected by server. + * @throws MetricsAdvisorErrorCodeException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the completion. */ @@ -3513,7 +3513,7 @@ public Mono> deleteCredentialWithResponseAsync(UUID credentialId) * @param credentialId Data source credential unique ID. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws ErrorCodeException thrown if the request is rejected by server. + * @throws MetricsAdvisorErrorCodeException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the completion. */ @@ -3528,7 +3528,7 @@ public Mono> deleteCredentialWithResponseAsync(UUID credentialId, * * @param credentialId Data source credential unique ID. * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws ErrorCodeException thrown if the request is rejected by server. + * @throws MetricsAdvisorErrorCodeException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the completion. */ @@ -3543,7 +3543,7 @@ public Mono deleteCredentialAsync(UUID credentialId) { * @param credentialId Data source credential unique ID. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws ErrorCodeException thrown if the request is rejected by server. + * @throws MetricsAdvisorErrorCodeException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the completion. */ @@ -3557,7 +3557,7 @@ public Mono deleteCredentialAsync(UUID credentialId, Context context) { * * @param credentialId Data source credential unique ID. * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws ErrorCodeException thrown if the request is rejected by server. + * @throws MetricsAdvisorErrorCodeException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. */ @ServiceMethod(returns = ReturnType.SINGLE) @@ -3571,7 +3571,7 @@ public void deleteCredential(UUID credentialId) { * @param credentialId Data source credential unique ID. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws ErrorCodeException thrown if the request is rejected by server. + * @throws MetricsAdvisorErrorCodeException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the response. */ @@ -3585,7 +3585,7 @@ public Response deleteCredentialWithResponse(UUID credentialId, Context co * * @param credentialId Data source credential unique ID. * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws ErrorCodeException thrown if the request is rejected by server. + * @throws MetricsAdvisorErrorCodeException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return a data source credential. */ @@ -3602,7 +3602,7 @@ public Mono> getCredentialWithResponseAsync(UUID * @param credentialId Data source credential unique ID. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws ErrorCodeException thrown if the request is rejected by server. + * @throws MetricsAdvisorErrorCodeException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return a data source credential. */ @@ -3617,7 +3617,7 @@ public Mono> getCredentialWithResponseAsync(UUID * * @param credentialId Data source credential unique ID. * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws ErrorCodeException thrown if the request is rejected by server. + * @throws MetricsAdvisorErrorCodeException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return a data source credential. */ @@ -3640,7 +3640,7 @@ public Mono getCredentialAsync(UUID credentialId) { * @param credentialId Data source credential unique ID. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws ErrorCodeException thrown if the request is rejected by server. + * @throws MetricsAdvisorErrorCodeException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return a data source credential. */ @@ -3662,7 +3662,7 @@ public Mono getCredentialAsync(UUID credentialId, Context * * @param credentialId Data source credential unique ID. * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws ErrorCodeException thrown if the request is rejected by server. + * @throws MetricsAdvisorErrorCodeException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return a data source credential. */ @@ -3677,7 +3677,7 @@ public DataSourceCredential getCredential(UUID credentialId) { * @param credentialId Data source credential unique ID. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws ErrorCodeException thrown if the request is rejected by server. + * @throws MetricsAdvisorErrorCodeException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return a data source credential. */ @@ -3697,7 +3697,7 @@ public Response getCredentialWithResponse(UUID credentialI * @param skip for paging, skipped number. * @param maxpagesize the maximum number of items in one page. * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws ErrorCodeException thrown if the request is rejected by server. + * @throws MetricsAdvisorErrorCodeException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the response. */ @@ -3747,7 +3747,7 @@ public Mono> listDataFeedsSinglePageAsync( * @param maxpagesize the maximum number of items in one page. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws ErrorCodeException thrown if the request is rejected by server. + * @throws MetricsAdvisorErrorCodeException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the response. */ @@ -3795,7 +3795,7 @@ public Mono> listDataFeedsSinglePageAsync( * @param skip for paging, skipped number. * @param maxpagesize the maximum number of items in one page. * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws ErrorCodeException thrown if the request is rejected by server. + * @throws MetricsAdvisorErrorCodeException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the response. */ @@ -3827,7 +3827,7 @@ public PagedFlux listDataFeedsAsync( * @param maxpagesize the maximum number of items in one page. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws ErrorCodeException thrown if the request is rejected by server. + * @throws MetricsAdvisorErrorCodeException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the response. */ @@ -3866,7 +3866,7 @@ public PagedFlux listDataFeedsAsync( * @param skip for paging, skipped number. * @param maxpagesize the maximum number of items in one page. * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws ErrorCodeException thrown if the request is rejected by server. + * @throws MetricsAdvisorErrorCodeException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the response. */ @@ -3895,7 +3895,7 @@ public PagedIterable listDataFeeds( * @param maxpagesize the maximum number of items in one page. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws ErrorCodeException thrown if the request is rejected by server. + * @throws MetricsAdvisorErrorCodeException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the response. */ @@ -3919,7 +3919,7 @@ public PagedIterable listDataFeeds( * * @param body parameters to create a data feed. * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws ErrorCodeException thrown if the request is rejected by server. + * @throws MetricsAdvisorErrorCodeException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the completion. */ @@ -3935,7 +3935,7 @@ public Mono createDataFeedWithResponseAsync(DataFeedDeta * @param body parameters to create a data feed. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws ErrorCodeException thrown if the request is rejected by server. + * @throws MetricsAdvisorErrorCodeException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the completion. */ @@ -3950,7 +3950,7 @@ public Mono createDataFeedWithResponseAsync(DataFeedDeta * * @param body parameters to create a data feed. * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws ErrorCodeException thrown if the request is rejected by server. + * @throws MetricsAdvisorErrorCodeException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the completion. */ @@ -3965,7 +3965,7 @@ public Mono createDataFeedAsync(DataFeedDetail body) { * @param body parameters to create a data feed. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws ErrorCodeException thrown if the request is rejected by server. + * @throws MetricsAdvisorErrorCodeException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the completion. */ @@ -3979,7 +3979,7 @@ public Mono createDataFeedAsync(DataFeedDetail body, Context context) { * * @param body parameters to create a data feed. * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws ErrorCodeException thrown if the request is rejected by server. + * @throws MetricsAdvisorErrorCodeException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. */ @ServiceMethod(returns = ReturnType.SINGLE) @@ -3993,7 +3993,7 @@ public void createDataFeed(DataFeedDetail body) { * @param body parameters to create a data feed. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws ErrorCodeException thrown if the request is rejected by server. + * @throws MetricsAdvisorErrorCodeException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the response. */ @@ -4007,7 +4007,7 @@ public Response createDataFeedWithResponse(DataFeedDetail body, Context co * * @param dataFeedId The data feed unique id. * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws ErrorCodeException thrown if the request is rejected by server. + * @throws MetricsAdvisorErrorCodeException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return a data feed by its id. */ @@ -4024,7 +4024,7 @@ public Mono> getDataFeedByIdWithResponseAsync(UUID data * @param dataFeedId The data feed unique id. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws ErrorCodeException thrown if the request is rejected by server. + * @throws MetricsAdvisorErrorCodeException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return a data feed by its id. */ @@ -4039,7 +4039,7 @@ public Mono> getDataFeedByIdWithResponseAsync(UUID data * * @param dataFeedId The data feed unique id. * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws ErrorCodeException thrown if the request is rejected by server. + * @throws MetricsAdvisorErrorCodeException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return a data feed by its id. */ @@ -4062,7 +4062,7 @@ public Mono getDataFeedByIdAsync(UUID dataFeedId) { * @param dataFeedId The data feed unique id. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws ErrorCodeException thrown if the request is rejected by server. + * @throws MetricsAdvisorErrorCodeException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return a data feed by its id. */ @@ -4084,7 +4084,7 @@ public Mono getDataFeedByIdAsync(UUID dataFeedId, Context contex * * @param dataFeedId The data feed unique id. * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws ErrorCodeException thrown if the request is rejected by server. + * @throws MetricsAdvisorErrorCodeException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return a data feed by its id. */ @@ -4099,7 +4099,7 @@ public DataFeedDetail getDataFeedById(UUID dataFeedId) { * @param dataFeedId The data feed unique id. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws ErrorCodeException thrown if the request is rejected by server. + * @throws MetricsAdvisorErrorCodeException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return a data feed by its id. */ @@ -4114,7 +4114,7 @@ public Response getDataFeedByIdWithResponse(UUID dataFeedId, Con * @param dataFeedId The data feed unique id. * @param body parameters to update a data feed. * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws ErrorCodeException thrown if the request is rejected by server. + * @throws MetricsAdvisorErrorCodeException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the response. */ @@ -4132,7 +4132,7 @@ public Mono> updateDataFeedWithResponseAsync(UUID dataF * @param body parameters to update a data feed. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws ErrorCodeException thrown if the request is rejected by server. + * @throws MetricsAdvisorErrorCodeException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the response. */ @@ -4149,7 +4149,7 @@ public Mono> updateDataFeedWithResponseAsync( * @param dataFeedId The data feed unique id. * @param body parameters to update a data feed. * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws ErrorCodeException thrown if the request is rejected by server. + * @throws MetricsAdvisorErrorCodeException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the response. */ @@ -4173,7 +4173,7 @@ public Mono updateDataFeedAsync(UUID dataFeedId, DataFeedDetailP * @param body parameters to update a data feed. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws ErrorCodeException thrown if the request is rejected by server. + * @throws MetricsAdvisorErrorCodeException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the response. */ @@ -4196,7 +4196,7 @@ public Mono updateDataFeedAsync(UUID dataFeedId, DataFeedDetailP * @param dataFeedId The data feed unique id. * @param body parameters to update a data feed. * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws ErrorCodeException thrown if the request is rejected by server. + * @throws MetricsAdvisorErrorCodeException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the response. */ @@ -4212,7 +4212,7 @@ public DataFeedDetail updateDataFeed(UUID dataFeedId, DataFeedDetailPatch body) * @param body parameters to update a data feed. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws ErrorCodeException thrown if the request is rejected by server. + * @throws MetricsAdvisorErrorCodeException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the response. */ @@ -4227,7 +4227,7 @@ public Response updateDataFeedWithResponse( * * @param dataFeedId The data feed unique id. * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws ErrorCodeException thrown if the request is rejected by server. + * @throws MetricsAdvisorErrorCodeException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the completion. */ @@ -4243,7 +4243,7 @@ public Mono> deleteDataFeedWithResponseAsync(UUID dataFeedId) { * @param dataFeedId The data feed unique id. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws ErrorCodeException thrown if the request is rejected by server. + * @throws MetricsAdvisorErrorCodeException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the completion. */ @@ -4258,7 +4258,7 @@ public Mono> deleteDataFeedWithResponseAsync(UUID dataFeedId, Con * * @param dataFeedId The data feed unique id. * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws ErrorCodeException thrown if the request is rejected by server. + * @throws MetricsAdvisorErrorCodeException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the completion. */ @@ -4273,7 +4273,7 @@ public Mono deleteDataFeedAsync(UUID dataFeedId) { * @param dataFeedId The data feed unique id. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws ErrorCodeException thrown if the request is rejected by server. + * @throws MetricsAdvisorErrorCodeException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the completion. */ @@ -4287,7 +4287,7 @@ public Mono deleteDataFeedAsync(UUID dataFeedId, Context context) { * * @param dataFeedId The data feed unique id. * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws ErrorCodeException thrown if the request is rejected by server. + * @throws MetricsAdvisorErrorCodeException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. */ @ServiceMethod(returns = ReturnType.SINGLE) @@ -4301,7 +4301,7 @@ public void deleteDataFeed(UUID dataFeedId) { * @param dataFeedId The data feed unique id. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws ErrorCodeException thrown if the request is rejected by server. + * @throws MetricsAdvisorErrorCodeException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the response. */ @@ -4315,7 +4315,7 @@ public Response deleteDataFeedWithResponse(UUID dataFeedId, Context contex * * @param feedbackId the unique feedback ID. * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws ErrorCodeException thrown if the request is rejected by server. + * @throws MetricsAdvisorErrorCodeException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return a metric feedback by its id. */ @@ -4332,7 +4332,7 @@ public Mono> getMetricFeedbackWithResponseAsync(UUID fe * @param feedbackId the unique feedback ID. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws ErrorCodeException thrown if the request is rejected by server. + * @throws MetricsAdvisorErrorCodeException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return a metric feedback by its id. */ @@ -4347,7 +4347,7 @@ public Mono> getMetricFeedbackWithResponseAsync(UUID fe * * @param feedbackId the unique feedback ID. * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws ErrorCodeException thrown if the request is rejected by server. + * @throws MetricsAdvisorErrorCodeException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return a metric feedback by its id. */ @@ -4370,7 +4370,7 @@ public Mono getMetricFeedbackAsync(UUID feedbackId) { * @param feedbackId the unique feedback ID. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws ErrorCodeException thrown if the request is rejected by server. + * @throws MetricsAdvisorErrorCodeException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return a metric feedback by its id. */ @@ -4392,7 +4392,7 @@ public Mono getMetricFeedbackAsync(UUID feedbackId, Context cont * * @param feedbackId the unique feedback ID. * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws ErrorCodeException thrown if the request is rejected by server. + * @throws MetricsAdvisorErrorCodeException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return a metric feedback by its id. */ @@ -4407,7 +4407,7 @@ public MetricFeedback getMetricFeedback(UUID feedbackId) { * @param feedbackId the unique feedback ID. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws ErrorCodeException thrown if the request is rejected by server. + * @throws MetricsAdvisorErrorCodeException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return a metric feedback by its id. */ @@ -4423,7 +4423,7 @@ public Response getMetricFeedbackWithResponse(UUID feedbackId, C * @param skip for paging, skipped number. * @param maxpagesize the maximum number of items in one page. * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws ErrorCodeException thrown if the request is rejected by server. + * @throws MetricsAdvisorErrorCodeException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the response. */ @@ -4454,7 +4454,7 @@ public Mono> listMetricFeedbacksSinglePageAsync( * @param maxpagesize the maximum number of items in one page. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws ErrorCodeException thrown if the request is rejected by server. + * @throws MetricsAdvisorErrorCodeException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the response. */ @@ -4481,7 +4481,7 @@ public Mono> listMetricFeedbacksSinglePageAsync( * @param skip for paging, skipped number. * @param maxpagesize the maximum number of items in one page. * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws ErrorCodeException thrown if the request is rejected by server. + * @throws MetricsAdvisorErrorCodeException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the response. */ @@ -4501,7 +4501,7 @@ public PagedFlux listMetricFeedbacksAsync( * @param maxpagesize the maximum number of items in one page. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws ErrorCodeException thrown if the request is rejected by server. + * @throws MetricsAdvisorErrorCodeException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the response. */ @@ -4520,7 +4520,7 @@ public PagedFlux listMetricFeedbacksAsync( * @param skip for paging, skipped number. * @param maxpagesize the maximum number of items in one page. * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws ErrorCodeException thrown if the request is rejected by server. + * @throws MetricsAdvisorErrorCodeException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the response. */ @@ -4538,7 +4538,7 @@ public PagedIterable listMetricFeedbacks( * @param maxpagesize the maximum number of items in one page. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws ErrorCodeException thrown if the request is rejected by server. + * @throws MetricsAdvisorErrorCodeException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the response. */ @@ -4553,7 +4553,7 @@ public PagedIterable listMetricFeedbacks( * * @param body metric feedback. * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws ErrorCodeException thrown if the request is rejected by server. + * @throws MetricsAdvisorErrorCodeException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the completion. */ @@ -4569,7 +4569,7 @@ public Mono createMetricFeedbackWithResponseAsync( * @param body metric feedback. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws ErrorCodeException thrown if the request is rejected by server. + * @throws MetricsAdvisorErrorCodeException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the completion. */ @@ -4585,7 +4585,7 @@ public Mono createMetricFeedbackWithResponseAsync( * * @param body metric feedback. * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws ErrorCodeException thrown if the request is rejected by server. + * @throws MetricsAdvisorErrorCodeException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the completion. */ @@ -4600,7 +4600,7 @@ public Mono createMetricFeedbackAsync(MetricFeedback body) { * @param body metric feedback. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws ErrorCodeException thrown if the request is rejected by server. + * @throws MetricsAdvisorErrorCodeException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the completion. */ @@ -4615,7 +4615,7 @@ public Mono createMetricFeedbackAsync(MetricFeedback body, Context context * * @param body metric feedback. * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws ErrorCodeException thrown if the request is rejected by server. + * @throws MetricsAdvisorErrorCodeException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. */ @ServiceMethod(returns = ReturnType.SINGLE) @@ -4629,7 +4629,7 @@ public void createMetricFeedback(MetricFeedback body) { * @param body metric feedback. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws ErrorCodeException thrown if the request is rejected by server. + * @throws MetricsAdvisorErrorCodeException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the response. */ @@ -4645,7 +4645,7 @@ public Response createMetricFeedbackWithResponse(MetricFeedback body, Cont * @param skip for paging, skipped number. * @param maxpagesize the maximum number of items in one page. * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws ErrorCodeException thrown if the request is rejected by server. + * @throws MetricsAdvisorErrorCodeException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the response. */ @@ -4673,7 +4673,7 @@ public Mono> listHooksSinglePageAsync(String hookName, I * @param maxpagesize the maximum number of items in one page. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws ErrorCodeException thrown if the request is rejected by server. + * @throws MetricsAdvisorErrorCodeException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the response. */ @@ -4700,7 +4700,7 @@ public Mono> listHooksSinglePageAsync( * @param skip for paging, skipped number. * @param maxpagesize the maximum number of items in one page. * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws ErrorCodeException thrown if the request is rejected by server. + * @throws MetricsAdvisorErrorCodeException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the response. */ @@ -4719,7 +4719,7 @@ public PagedFlux listHooksAsync(String hookName, Integer skip, Integer * @param maxpagesize the maximum number of items in one page. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws ErrorCodeException thrown if the request is rejected by server. + * @throws MetricsAdvisorErrorCodeException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the response. */ @@ -4737,7 +4737,7 @@ public PagedFlux listHooksAsync(String hookName, Integer skip, Integer * @param skip for paging, skipped number. * @param maxpagesize the maximum number of items in one page. * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws ErrorCodeException thrown if the request is rejected by server. + * @throws MetricsAdvisorErrorCodeException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the response. */ @@ -4754,7 +4754,7 @@ public PagedIterable listHooks(String hookName, Integer skip, Integer * @param maxpagesize the maximum number of items in one page. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws ErrorCodeException thrown if the request is rejected by server. + * @throws MetricsAdvisorErrorCodeException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the response. */ @@ -4768,7 +4768,7 @@ public PagedIterable listHooks(String hookName, Integer skip, Integer * * @param body Create hook request. * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws ErrorCodeException thrown if the request is rejected by server. + * @throws MetricsAdvisorErrorCodeException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the completion. */ @@ -4784,7 +4784,7 @@ public Mono createHookWithResponseAsync(HookInfo body) { * @param body Create hook request. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws ErrorCodeException thrown if the request is rejected by server. + * @throws MetricsAdvisorErrorCodeException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the completion. */ @@ -4799,7 +4799,7 @@ public Mono createHookWithResponseAsync(HookInfo body, Conte * * @param body Create hook request. * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws ErrorCodeException thrown if the request is rejected by server. + * @throws MetricsAdvisorErrorCodeException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the completion. */ @@ -4814,7 +4814,7 @@ public Mono createHookAsync(HookInfo body) { * @param body Create hook request. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws ErrorCodeException thrown if the request is rejected by server. + * @throws MetricsAdvisorErrorCodeException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the completion. */ @@ -4828,7 +4828,7 @@ public Mono createHookAsync(HookInfo body, Context context) { * * @param body Create hook request. * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws ErrorCodeException thrown if the request is rejected by server. + * @throws MetricsAdvisorErrorCodeException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. */ @ServiceMethod(returns = ReturnType.SINGLE) @@ -4842,7 +4842,7 @@ public void createHook(HookInfo body) { * @param body Create hook request. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws ErrorCodeException thrown if the request is rejected by server. + * @throws MetricsAdvisorErrorCodeException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the response. */ @@ -4856,7 +4856,7 @@ public Response createHookWithResponse(HookInfo body, Context context) { * * @param hookId Hook unique ID. * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws ErrorCodeException thrown if the request is rejected by server. + * @throws MetricsAdvisorErrorCodeException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return a hook by its id. */ @@ -4872,7 +4872,7 @@ public Mono> getHookWithResponseAsync(UUID hookId) { * @param hookId Hook unique ID. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws ErrorCodeException thrown if the request is rejected by server. + * @throws MetricsAdvisorErrorCodeException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return a hook by its id. */ @@ -4887,7 +4887,7 @@ public Mono> getHookWithResponseAsync(UUID hookId, Context co * * @param hookId Hook unique ID. * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws ErrorCodeException thrown if the request is rejected by server. + * @throws MetricsAdvisorErrorCodeException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return a hook by its id. */ @@ -4910,7 +4910,7 @@ public Mono getHookAsync(UUID hookId) { * @param hookId Hook unique ID. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws ErrorCodeException thrown if the request is rejected by server. + * @throws MetricsAdvisorErrorCodeException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return a hook by its id. */ @@ -4932,7 +4932,7 @@ public Mono getHookAsync(UUID hookId, Context context) { * * @param hookId Hook unique ID. * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws ErrorCodeException thrown if the request is rejected by server. + * @throws MetricsAdvisorErrorCodeException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return a hook by its id. */ @@ -4947,7 +4947,7 @@ public HookInfo getHook(UUID hookId) { * @param hookId Hook unique ID. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws ErrorCodeException thrown if the request is rejected by server. + * @throws MetricsAdvisorErrorCodeException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return a hook by its id. */ @@ -4962,7 +4962,7 @@ public Response getHookWithResponse(UUID hookId, Context context) { * @param hookId Hook unique ID. * @param body Update hook request. * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws ErrorCodeException thrown if the request is rejected by server. + * @throws MetricsAdvisorErrorCodeException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the response. */ @@ -4979,7 +4979,7 @@ public Mono> updateHookWithResponseAsync(UUID hookId, HookInf * @param body Update hook request. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws ErrorCodeException thrown if the request is rejected by server. + * @throws MetricsAdvisorErrorCodeException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the response. */ @@ -4995,7 +4995,7 @@ public Mono> updateHookWithResponseAsync(UUID hookId, HookInf * @param hookId Hook unique ID. * @param body Update hook request. * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws ErrorCodeException thrown if the request is rejected by server. + * @throws MetricsAdvisorErrorCodeException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the response. */ @@ -5019,7 +5019,7 @@ public Mono updateHookAsync(UUID hookId, HookInfoPatch body) { * @param body Update hook request. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws ErrorCodeException thrown if the request is rejected by server. + * @throws MetricsAdvisorErrorCodeException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the response. */ @@ -5042,7 +5042,7 @@ public Mono updateHookAsync(UUID hookId, HookInfoPatch body, Context c * @param hookId Hook unique ID. * @param body Update hook request. * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws ErrorCodeException thrown if the request is rejected by server. + * @throws MetricsAdvisorErrorCodeException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the response. */ @@ -5058,7 +5058,7 @@ public HookInfo updateHook(UUID hookId, HookInfoPatch body) { * @param body Update hook request. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws ErrorCodeException thrown if the request is rejected by server. + * @throws MetricsAdvisorErrorCodeException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the response. */ @@ -5072,7 +5072,7 @@ public Response updateHookWithResponse(UUID hookId, HookInfoPatch body * * @param hookId Hook unique ID. * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws ErrorCodeException thrown if the request is rejected by server. + * @throws MetricsAdvisorErrorCodeException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the completion. */ @@ -5088,7 +5088,7 @@ public Mono> deleteHookWithResponseAsync(UUID hookId) { * @param hookId Hook unique ID. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws ErrorCodeException thrown if the request is rejected by server. + * @throws MetricsAdvisorErrorCodeException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the completion. */ @@ -5103,7 +5103,7 @@ public Mono> deleteHookWithResponseAsync(UUID hookId, Context con * * @param hookId Hook unique ID. * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws ErrorCodeException thrown if the request is rejected by server. + * @throws MetricsAdvisorErrorCodeException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the completion. */ @@ -5118,7 +5118,7 @@ public Mono deleteHookAsync(UUID hookId) { * @param hookId Hook unique ID. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws ErrorCodeException thrown if the request is rejected by server. + * @throws MetricsAdvisorErrorCodeException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the completion. */ @@ -5132,7 +5132,7 @@ public Mono deleteHookAsync(UUID hookId, Context context) { * * @param hookId Hook unique ID. * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws ErrorCodeException thrown if the request is rejected by server. + * @throws MetricsAdvisorErrorCodeException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. */ @ServiceMethod(returns = ReturnType.SINGLE) @@ -5146,7 +5146,7 @@ public void deleteHook(UUID hookId) { * @param hookId Hook unique ID. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws ErrorCodeException thrown if the request is rejected by server. + * @throws MetricsAdvisorErrorCodeException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the response. */ @@ -5163,7 +5163,7 @@ public Response deleteHookWithResponse(UUID hookId, Context context) { * @param skip for paging, skipped number. * @param maxpagesize the maximum number of items in one page. * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws ErrorCodeException thrown if the request is rejected by server. + * @throws MetricsAdvisorErrorCodeException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return data ingestion status by data feed. */ @@ -5195,7 +5195,7 @@ public Mono> getDataFeedIngestionStatusSi * @param maxpagesize the maximum number of items in one page. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws ErrorCodeException thrown if the request is rejected by server. + * @throws MetricsAdvisorErrorCodeException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return data ingestion status by data feed. */ @@ -5224,7 +5224,7 @@ public Mono> getDataFeedIngestionStatusSi * @param skip for paging, skipped number. * @param maxpagesize the maximum number of items in one page. * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws ErrorCodeException thrown if the request is rejected by server. + * @throws MetricsAdvisorErrorCodeException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return data ingestion status by data feed. */ @@ -5245,7 +5245,7 @@ public PagedFlux getDataFeedIngestionStatusAsync( * @param maxpagesize the maximum number of items in one page. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws ErrorCodeException thrown if the request is rejected by server. + * @throws MetricsAdvisorErrorCodeException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return data ingestion status by data feed. */ @@ -5265,7 +5265,7 @@ public PagedFlux getDataFeedIngestionStatusAsync( * @param skip for paging, skipped number. * @param maxpagesize the maximum number of items in one page. * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws ErrorCodeException thrown if the request is rejected by server. + * @throws MetricsAdvisorErrorCodeException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return data ingestion status by data feed. */ @@ -5284,7 +5284,7 @@ public PagedIterable getDataFeedIngestionStatus( * @param maxpagesize the maximum number of items in one page. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws ErrorCodeException thrown if the request is rejected by server. + * @throws MetricsAdvisorErrorCodeException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return data ingestion status by data feed. */ @@ -5300,7 +5300,7 @@ public PagedIterable getDataFeedIngestionStatus( * @param dataFeedId The data feed unique id. * @param body The backfill time range. * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws ErrorCodeException thrown if the request is rejected by server. + * @throws MetricsAdvisorErrorCodeException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the completion. */ @@ -5319,7 +5319,7 @@ public Mono> resetDataFeedIngestionStatusWithResponseAsync( * @param body The backfill time range. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws ErrorCodeException thrown if the request is rejected by server. + * @throws MetricsAdvisorErrorCodeException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the completion. */ @@ -5336,7 +5336,7 @@ public Mono> resetDataFeedIngestionStatusWithResponseAsync( * @param dataFeedId The data feed unique id. * @param body The backfill time range. * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws ErrorCodeException thrown if the request is rejected by server. + * @throws MetricsAdvisorErrorCodeException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the completion. */ @@ -5353,7 +5353,7 @@ public Mono resetDataFeedIngestionStatusAsync(UUID dataFeedId, IngestionPr * @param body The backfill time range. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws ErrorCodeException thrown if the request is rejected by server. + * @throws MetricsAdvisorErrorCodeException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the completion. */ @@ -5370,7 +5370,7 @@ public Mono resetDataFeedIngestionStatusAsync( * @param dataFeedId The data feed unique id. * @param body The backfill time range. * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws ErrorCodeException thrown if the request is rejected by server. + * @throws MetricsAdvisorErrorCodeException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. */ @ServiceMethod(returns = ReturnType.SINGLE) @@ -5385,7 +5385,7 @@ public void resetDataFeedIngestionStatus(UUID dataFeedId, IngestionProgressReset * @param body The backfill time range. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws ErrorCodeException thrown if the request is rejected by server. + * @throws MetricsAdvisorErrorCodeException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the response. */ @@ -5400,7 +5400,7 @@ public Response resetDataFeedIngestionStatusWithResponse( * * @param dataFeedId The data feed unique id. * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws ErrorCodeException thrown if the request is rejected by server. + * @throws MetricsAdvisorErrorCodeException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return data last success ingestion job timestamp by data feed. */ @@ -5417,7 +5417,7 @@ public Mono> getIngestionProgressWithRespons * @param dataFeedId The data feed unique id. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws ErrorCodeException thrown if the request is rejected by server. + * @throws MetricsAdvisorErrorCodeException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return data last success ingestion job timestamp by data feed. */ @@ -5433,7 +5433,7 @@ public Mono> getIngestionProgressWithRespons * * @param dataFeedId The data feed unique id. * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws ErrorCodeException thrown if the request is rejected by server. + * @throws MetricsAdvisorErrorCodeException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return data last success ingestion job timestamp by data feed. */ @@ -5456,7 +5456,7 @@ public Mono getIngestionProgressAsync(UUID dataFeedId * @param dataFeedId The data feed unique id. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws ErrorCodeException thrown if the request is rejected by server. + * @throws MetricsAdvisorErrorCodeException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return data last success ingestion job timestamp by data feed. */ @@ -5478,7 +5478,7 @@ public Mono getIngestionProgressAsync(UUID dataFeedId * * @param dataFeedId The data feed unique id. * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws ErrorCodeException thrown if the request is rejected by server. + * @throws MetricsAdvisorErrorCodeException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return data last success ingestion job timestamp by data feed. */ @@ -5493,7 +5493,7 @@ public DataFeedIngestionProgress getIngestionProgress(UUID dataFeedId) { * @param dataFeedId The data feed unique id. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws ErrorCodeException thrown if the request is rejected by server. + * @throws MetricsAdvisorErrorCodeException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return data last success ingestion job timestamp by data feed. */ @@ -5508,7 +5508,7 @@ public Response getIngestionProgressWithResponse(UUID * @param metricId metric unique id. * @param body query time series data condition. * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws ErrorCodeException thrown if the request is rejected by server. + * @throws MetricsAdvisorErrorCodeException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return time series data from metric. */ @@ -5526,7 +5526,7 @@ public Mono> getMetricDataWithResponseAsync(UUID metric * @param body query time series data condition. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws ErrorCodeException thrown if the request is rejected by server. + * @throws MetricsAdvisorErrorCodeException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return time series data from metric. */ @@ -5543,7 +5543,7 @@ public Mono> getMetricDataWithResponseAsync( * @param metricId metric unique id. * @param body query time series data condition. * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws ErrorCodeException thrown if the request is rejected by server. + * @throws MetricsAdvisorErrorCodeException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return time series data from metric. */ @@ -5567,7 +5567,7 @@ public Mono getMetricDataAsync(UUID metricId, MetricDataQueryOpt * @param body query time series data condition. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws ErrorCodeException thrown if the request is rejected by server. + * @throws MetricsAdvisorErrorCodeException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return time series data from metric. */ @@ -5590,7 +5590,7 @@ public Mono getMetricDataAsync(UUID metricId, MetricDataQueryOpt * @param metricId metric unique id. * @param body query time series data condition. * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws ErrorCodeException thrown if the request is rejected by server. + * @throws MetricsAdvisorErrorCodeException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return time series data from metric. */ @@ -5606,7 +5606,7 @@ public MetricDataList getMetricData(UUID metricId, MetricDataQueryOptions body) * @param body query time series data condition. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws ErrorCodeException thrown if the request is rejected by server. + * @throws MetricsAdvisorErrorCodeException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return time series data from metric. */ @@ -5624,7 +5624,7 @@ public Response getMetricDataWithResponse( * @param skip for paging, skipped number. * @param maxpagesize the maximum number of items in one page. * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws ErrorCodeException thrown if the request is rejected by server. + * @throws MetricsAdvisorErrorCodeException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the response. */ @@ -5656,7 +5656,7 @@ public Mono> getMetricSeriesSinglePageAsync( * @param maxpagesize the maximum number of items in one page. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws ErrorCodeException thrown if the request is rejected by server. + * @throws MetricsAdvisorErrorCodeException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the response. */ @@ -5684,7 +5684,7 @@ public Mono> getMetricSeriesSinglePageAsync( * @param skip for paging, skipped number. * @param maxpagesize the maximum number of items in one page. * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws ErrorCodeException thrown if the request is rejected by server. + * @throws MetricsAdvisorErrorCodeException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the response. */ @@ -5705,7 +5705,7 @@ public PagedFlux getMetricSeriesAsync( * @param maxpagesize the maximum number of items in one page. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws ErrorCodeException thrown if the request is rejected by server. + * @throws MetricsAdvisorErrorCodeException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the response. */ @@ -5725,7 +5725,7 @@ public PagedFlux getMetricSeriesAsync( * @param skip for paging, skipped number. * @param maxpagesize the maximum number of items in one page. * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws ErrorCodeException thrown if the request is rejected by server. + * @throws MetricsAdvisorErrorCodeException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the response. */ @@ -5744,7 +5744,7 @@ public PagedIterable getMetricSeries( * @param maxpagesize the maximum number of items in one page. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws ErrorCodeException thrown if the request is rejected by server. + * @throws MetricsAdvisorErrorCodeException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the response. */ @@ -5762,7 +5762,7 @@ public PagedIterable getMetricSeries( * @param skip for paging, skipped number. * @param maxpagesize the maximum number of items in one page. * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws ErrorCodeException thrown if the request is rejected by server. + * @throws MetricsAdvisorErrorCodeException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the response. */ @@ -5794,7 +5794,7 @@ public Mono> getMetricDimensionSinglePageAsync( * @param maxpagesize the maximum number of items in one page. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws ErrorCodeException thrown if the request is rejected by server. + * @throws MetricsAdvisorErrorCodeException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the response. */ @@ -5822,7 +5822,7 @@ public Mono> getMetricDimensionSinglePageAsync( * @param skip for paging, skipped number. * @param maxpagesize the maximum number of items in one page. * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws ErrorCodeException thrown if the request is rejected by server. + * @throws MetricsAdvisorErrorCodeException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the response. */ @@ -5843,7 +5843,7 @@ public PagedFlux getMetricDimensionAsync( * @param maxpagesize the maximum number of items in one page. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws ErrorCodeException thrown if the request is rejected by server. + * @throws MetricsAdvisorErrorCodeException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the response. */ @@ -5863,7 +5863,7 @@ public PagedFlux getMetricDimensionAsync( * @param skip for paging, skipped number. * @param maxpagesize the maximum number of items in one page. * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws ErrorCodeException thrown if the request is rejected by server. + * @throws MetricsAdvisorErrorCodeException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the response. */ @@ -5882,7 +5882,7 @@ public PagedIterable getMetricDimension( * @param maxpagesize the maximum number of items in one page. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws ErrorCodeException thrown if the request is rejected by server. + * @throws MetricsAdvisorErrorCodeException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the response. */ @@ -5899,7 +5899,7 @@ public PagedIterable getMetricDimension( * @param skip for paging, skipped number. * @param maxpagesize the maximum number of items in one page. * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws ErrorCodeException thrown if the request is rejected by server. + * @throws MetricsAdvisorErrorCodeException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the response. */ @@ -5930,7 +5930,7 @@ public Mono> getAnomalyDetectionCon * @param maxpagesize the maximum number of items in one page. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws ErrorCodeException thrown if the request is rejected by server. + * @throws MetricsAdvisorErrorCodeException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the response. */ @@ -5958,7 +5958,7 @@ public Mono> getAnomalyDetectionCon * @param skip for paging, skipped number. * @param maxpagesize the maximum number of items in one page. * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws ErrorCodeException thrown if the request is rejected by server. + * @throws MetricsAdvisorErrorCodeException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the response. */ @@ -5978,7 +5978,7 @@ public PagedFlux getAnomalyDetectionConfiguration * @param maxpagesize the maximum number of items in one page. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws ErrorCodeException thrown if the request is rejected by server. + * @throws MetricsAdvisorErrorCodeException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the response. */ @@ -5997,7 +5997,7 @@ public PagedFlux getAnomalyDetectionConfiguration * @param skip for paging, skipped number. * @param maxpagesize the maximum number of items in one page. * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws ErrorCodeException thrown if the request is rejected by server. + * @throws MetricsAdvisorErrorCodeException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the response. */ @@ -6015,7 +6015,7 @@ public PagedIterable getAnomalyDetectionConfigura * @param maxpagesize the maximum number of items in one page. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws ErrorCodeException thrown if the request is rejected by server. + * @throws MetricsAdvisorErrorCodeException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the response. */ @@ -6034,7 +6034,7 @@ public PagedIterable getAnomalyDetectionConfigura * @param skip for paging, skipped number. * @param maxpagesize the maximum number of items in one page. * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws ErrorCodeException thrown if the request is rejected by server. + * @throws MetricsAdvisorErrorCodeException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the response. */ @@ -6066,7 +6066,7 @@ public Mono> getEnrichmentStatusByMetricSinglePa * @param maxpagesize the maximum number of items in one page. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws ErrorCodeException thrown if the request is rejected by server. + * @throws MetricsAdvisorErrorCodeException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the response. */ @@ -6095,7 +6095,7 @@ public Mono> getEnrichmentStatusByMetricSinglePa * @param skip for paging, skipped number. * @param maxpagesize the maximum number of items in one page. * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws ErrorCodeException thrown if the request is rejected by server. + * @throws MetricsAdvisorErrorCodeException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the response. */ @@ -6116,7 +6116,7 @@ public PagedFlux getEnrichmentStatusByMetricAsync( * @param maxpagesize the maximum number of items in one page. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws ErrorCodeException thrown if the request is rejected by server. + * @throws MetricsAdvisorErrorCodeException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the response. */ @@ -6136,7 +6136,7 @@ public PagedFlux getEnrichmentStatusByMetricAsync( * @param skip for paging, skipped number. * @param maxpagesize the maximum number of items in one page. * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws ErrorCodeException thrown if the request is rejected by server. + * @throws MetricsAdvisorErrorCodeException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the response. */ @@ -6155,7 +6155,7 @@ public PagedIterable getEnrichmentStatusByMetric( * @param maxpagesize the maximum number of items in one page. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws ErrorCodeException thrown if the request is rejected by server. + * @throws MetricsAdvisorErrorCodeException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the response. */ @@ -6171,7 +6171,7 @@ public PagedIterable getEnrichmentStatusByMetric( * @param nextLink the next link. * @param body query alerting result request. * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws ErrorCodeException thrown if the request is rejected by server. + * @throws MetricsAdvisorErrorCodeException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the response. */ @@ -6201,7 +6201,7 @@ public Mono> getAlertsByAnomalyAlertingConfiguration * @param body query alerting result request. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws ErrorCodeException thrown if the request is rejected by server. + * @throws MetricsAdvisorErrorCodeException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the response. */ @@ -6227,7 +6227,7 @@ public Mono> getAlertsByAnomalyAlertingConfiguration * @param nextLink the next link. * @param body query detection anomaly result request. * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws ErrorCodeException thrown if the request is rejected by server. + * @throws MetricsAdvisorErrorCodeException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the response. */ @@ -6257,7 +6257,7 @@ public Mono> getAnomaliesByAnomalyDetectionConfigur * @param body query detection anomaly result request. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws ErrorCodeException thrown if the request is rejected by server. + * @throws MetricsAdvisorErrorCodeException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the response. */ @@ -6284,7 +6284,7 @@ public Mono> getAnomaliesByAnomalyDetectionConfigur * @param nextLink the next link. * @param body query dimension values request. * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws ErrorCodeException thrown if the request is rejected by server. + * @throws MetricsAdvisorErrorCodeException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the response. */ @@ -6314,7 +6314,7 @@ public Mono> getDimensionOfAnomaliesByAnomalyDetectionConf * @param body query dimension values request. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws ErrorCodeException thrown if the request is rejected by server. + * @throws MetricsAdvisorErrorCodeException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the response. */ @@ -6341,7 +6341,7 @@ public Mono> getDimensionOfAnomaliesByAnomalyDetectionConf * @param nextLink the next link. * @param body metric feedback filter. * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws ErrorCodeException thrown if the request is rejected by server. + * @throws MetricsAdvisorErrorCodeException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the response. */ @@ -6369,7 +6369,7 @@ public Mono> listMetricFeedbacksNextSinglePageAsyn * @param body metric feedback filter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws ErrorCodeException thrown if the request is rejected by server. + * @throws MetricsAdvisorErrorCodeException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the response. */ @@ -6395,7 +6395,7 @@ public Mono> listMetricFeedbacksNextSinglePageAsyn * @param nextLink the next link. * @param body The query time range. * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws ErrorCodeException thrown if the request is rejected by server. + * @throws MetricsAdvisorErrorCodeException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return data ingestion status by data feed. */ @@ -6425,7 +6425,7 @@ public Mono> getDataFeedIngestionStatusNe * @param body The query time range. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws ErrorCodeException thrown if the request is rejected by server. + * @throws MetricsAdvisorErrorCodeException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return data ingestion status by data feed. */ @@ -6451,7 +6451,7 @@ public Mono> getDataFeedIngestionStatusNe * @param nextLink the next link. * @param body filter to query series. * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws ErrorCodeException thrown if the request is rejected by server. + * @throws MetricsAdvisorErrorCodeException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the response. */ @@ -6479,7 +6479,7 @@ public Mono> getMetricSeriesNextSinglePageAsync( * @param body filter to query series. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws ErrorCodeException thrown if the request is rejected by server. + * @throws MetricsAdvisorErrorCodeException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the response. */ @@ -6505,7 +6505,7 @@ public Mono> getMetricSeriesNextSinglePageAsync( * @param nextLink the next link. * @param body query dimension option. * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws ErrorCodeException thrown if the request is rejected by server. + * @throws MetricsAdvisorErrorCodeException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the response. */ @@ -6533,7 +6533,7 @@ public Mono> getMetricDimensionNextSinglePageAsync( * @param body query dimension option. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws ErrorCodeException thrown if the request is rejected by server. + * @throws MetricsAdvisorErrorCodeException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the response. */ @@ -6559,7 +6559,7 @@ public Mono> getMetricDimensionNextSinglePageAsync( * @param nextLink the next link. * @param body query options. * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws ErrorCodeException thrown if the request is rejected by server. + * @throws MetricsAdvisorErrorCodeException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the response. */ @@ -6589,7 +6589,7 @@ public Mono> getEnrichmentStatusByMetricNextSing * @param body query options. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws ErrorCodeException thrown if the request is rejected by server. + * @throws MetricsAdvisorErrorCodeException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the response. */ @@ -6614,7 +6614,7 @@ public Mono> getEnrichmentStatusByMetricNextSing * * @param nextLink The nextLink parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws ErrorCodeException thrown if the request is rejected by server. + * @throws MetricsAdvisorErrorCodeException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the response. */ @@ -6643,7 +6643,7 @@ public Mono> getAnomaliesFromAlertByAnomalyAlerting * @param nextLink The nextLink parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws ErrorCodeException thrown if the request is rejected by server. + * @throws MetricsAdvisorErrorCodeException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the response. */ @@ -6669,7 +6669,7 @@ public Mono> getAnomaliesFromAlertByAnomalyAlerting * * @param nextLink The nextLink parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws ErrorCodeException thrown if the request is rejected by server. + * @throws MetricsAdvisorErrorCodeException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the response. */ @@ -6698,7 +6698,7 @@ public Mono> getIncidentsFromAlertByAnomalyAlertin * @param nextLink The nextLink parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws ErrorCodeException thrown if the request is rejected by server. + * @throws MetricsAdvisorErrorCodeException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the response. */ @@ -6724,7 +6724,7 @@ public Mono> getIncidentsFromAlertByAnomalyAlertin * * @param nextLink The nextLink parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws ErrorCodeException thrown if the request is rejected by server. + * @throws MetricsAdvisorErrorCodeException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the response. */ @@ -6753,7 +6753,7 @@ public Mono> getIncidentsFromAlertByAnomalyAlertin * @param nextLink The nextLink parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws ErrorCodeException thrown if the request is rejected by server. + * @throws MetricsAdvisorErrorCodeException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the response. */ @@ -6780,7 +6780,7 @@ public Mono> getIncidentsFromAlertByAnomalyAlertin * * @param nextLink The nextLink parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws ErrorCodeException thrown if the request is rejected by server. + * @throws MetricsAdvisorErrorCodeException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the response. */ @@ -6809,7 +6809,7 @@ public Mono> getIncidentsByAnomalyDetectionConfigu * @param nextLink The nextLink parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws ErrorCodeException thrown if the request is rejected by server. + * @throws MetricsAdvisorErrorCodeException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the response. */ @@ -6834,7 +6834,7 @@ public Mono> getIncidentsByAnomalyDetectionConfigu * * @param nextLink The nextLink parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws ErrorCodeException thrown if the request is rejected by server. + * @throws MetricsAdvisorErrorCodeException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the response. */ @@ -6863,7 +6863,7 @@ public Mono> getIncidentsByAnomalyDetectionConfigu * @param nextLink The nextLink parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws ErrorCodeException thrown if the request is rejected by server. + * @throws MetricsAdvisorErrorCodeException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the response. */ @@ -6889,7 +6889,7 @@ public Mono> getIncidentsByAnomalyDetectionConfigu * * @param nextLink The nextLink parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws ErrorCodeException thrown if the request is rejected by server. + * @throws MetricsAdvisorErrorCodeException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the response. */ @@ -6915,7 +6915,7 @@ public Mono> listCredentialsNextSinglePageAs * @param nextLink The nextLink parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws ErrorCodeException thrown if the request is rejected by server. + * @throws MetricsAdvisorErrorCodeException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the response. */ @@ -6940,7 +6940,7 @@ public Mono> listCredentialsNextSinglePageAs * * @param nextLink The nextLink parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws ErrorCodeException thrown if the request is rejected by server. + * @throws MetricsAdvisorErrorCodeException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the response. */ @@ -6965,7 +6965,7 @@ public Mono> listDataFeedsNextSinglePageAsync(Stri * @param nextLink The nextLink parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws ErrorCodeException thrown if the request is rejected by server. + * @throws MetricsAdvisorErrorCodeException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the response. */ @@ -6989,7 +6989,7 @@ public Mono> listDataFeedsNextSinglePageAsync(Stri * * @param nextLink The nextLink parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws ErrorCodeException thrown if the request is rejected by server. + * @throws MetricsAdvisorErrorCodeException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the response. */ @@ -7014,7 +7014,7 @@ public Mono> listHooksNextSinglePageAsync(String nextLin * @param nextLink The nextLink parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws ErrorCodeException thrown if the request is rejected by server. + * @throws MetricsAdvisorErrorCodeException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the response. */ @@ -7038,7 +7038,7 @@ public Mono> listHooksNextSinglePageAsync(String nextLin * * @param nextLink The nextLink parameter. * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws ErrorCodeException thrown if the request is rejected by server. + * @throws MetricsAdvisorErrorCodeException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the response. */ @@ -7067,7 +7067,7 @@ public Mono> listHooksNextSinglePageAsync(String nextLin * @param nextLink The nextLink parameter. * @param context The context to associate with this operation. * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws ErrorCodeException thrown if the request is rejected by server. + * @throws MetricsAdvisorErrorCodeException thrown if the request is rejected by server. * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. * @return the response. */ diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/main/java/com/azure/ai/metricsadvisor/models/ErrorCode.java b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/main/java/com/azure/ai/metricsadvisor/models/MetricsAdvisorErrorCode.java similarity index 78% rename from sdk/metricsadvisor/azure-ai-metricsadvisor/src/main/java/com/azure/ai/metricsadvisor/models/ErrorCode.java rename to sdk/metricsadvisor/azure-ai-metricsadvisor/src/main/java/com/azure/ai/metricsadvisor/models/MetricsAdvisorErrorCode.java index e91792d487e58..dfaaad6cb1747 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/main/java/com/azure/ai/metricsadvisor/models/ErrorCode.java +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/main/java/com/azure/ai/metricsadvisor/models/MetricsAdvisorErrorCode.java @@ -7,9 +7,9 @@ import com.azure.core.annotation.Fluent; import com.fasterxml.jackson.annotation.JsonProperty; -/** The ErrorCode model. */ +/** The MetricsAdvisorErrorCode model. */ @Fluent -public final class ErrorCode { +public final class MetricsAdvisorErrorCode { /* * The message property. */ @@ -35,9 +35,9 @@ public String getMessage() { * Set the message property: The message property. * * @param message the message value to set. - * @return the ErrorCode object itself. + * @return the MetricsAdvisorErrorCode object itself. */ - public ErrorCode setMessage(String message) { + public MetricsAdvisorErrorCode setMessage(String message) { this.message = message; return this; } @@ -55,9 +55,9 @@ public String getCode() { * Set the code property: The code property. * * @param code the code value to set. - * @return the ErrorCode object itself. + * @return the MetricsAdvisorErrorCode object itself. */ - public ErrorCode setCode(String code) { + public MetricsAdvisorErrorCode setCode(String code) { this.code = code; return this; } diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/main/java/com/azure/ai/metricsadvisor/models/ErrorCodeException.java b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/main/java/com/azure/ai/metricsadvisor/models/MetricsAdvisorErrorCodeException.java similarity index 71% rename from sdk/metricsadvisor/azure-ai-metricsadvisor/src/main/java/com/azure/ai/metricsadvisor/models/ErrorCodeException.java rename to sdk/metricsadvisor/azure-ai-metricsadvisor/src/main/java/com/azure/ai/metricsadvisor/models/MetricsAdvisorErrorCodeException.java index e8aed79f5cc81..71ca9c2856c79 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/main/java/com/azure/ai/metricsadvisor/models/ErrorCodeException.java +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/main/java/com/azure/ai/metricsadvisor/models/MetricsAdvisorErrorCodeException.java @@ -8,14 +8,14 @@ import com.azure.core.http.HttpResponse; /** Exception thrown for an invalid response with ErrorCode information. */ -public final class ErrorCodeException extends HttpResponseException { +public final class MetricsAdvisorErrorCodeException extends HttpResponseException { /** * Initializes a new instance of the ErrorCodeException class. * * @param message the exception message or the response content if a message is not available. * @param response the HTTP response. */ - public ErrorCodeException(String message, HttpResponse response) { + public MetricsAdvisorErrorCodeException(String message, HttpResponse response) { super(message, response); } @@ -26,12 +26,12 @@ public ErrorCodeException(String message, HttpResponse response) { * @param response the HTTP response. * @param value the deserialized response value. */ - public ErrorCodeException(String message, HttpResponse response, ErrorCode value) { + public MetricsAdvisorErrorCodeException(String message, HttpResponse response, MetricsAdvisorErrorCode value) { super(message, response, value); } @Override - public ErrorCode getValue() { - return (ErrorCode) super.getValue(); + public MetricsAdvisorErrorCode getValue() { + return (MetricsAdvisorErrorCode) super.getValue(); } } diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/java/com/azure/ai/metricsadvisor/AnomalyAlertAsyncTest.java b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/java/com/azure/ai/metricsadvisor/AnomalyAlertAsyncTest.java index 933c2455e4287..74edba68d6c35 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/java/com/azure/ai/metricsadvisor/AnomalyAlertAsyncTest.java +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/java/com/azure/ai/metricsadvisor/AnomalyAlertAsyncTest.java @@ -5,7 +5,7 @@ import com.azure.ai.metricsadvisor.administration.MetricsAdvisorAdministrationAsyncClient; import com.azure.ai.metricsadvisor.models.AnomalyAlertConfiguration; -import com.azure.ai.metricsadvisor.models.ErrorCodeException; +import com.azure.ai.metricsadvisor.models.MetricsAdvisorErrorCodeException; import com.azure.ai.metricsadvisor.models.ListAnomalyAlertConfigsOptions; import com.azure.ai.metricsadvisor.models.MetricAnomalyAlertConfiguration; import com.azure.ai.metricsadvisor.models.MetricAnomalyAlertConfigurationsOperator; @@ -221,8 +221,8 @@ public void deleteAnomalyAlertWithResponse(HttpClient httpClient, MetricsAdvisor // Act & Assert StepVerifier.create(client.getAnomalyAlertConfigWithResponse(createdAnomalyAlert.getId())) .verifyErrorSatisfies(throwable -> { - assertEquals(ErrorCodeException.class, throwable.getClass()); - final ErrorCodeException errorCodeException = (ErrorCodeException) throwable; + assertEquals(MetricsAdvisorErrorCodeException.class, throwable.getClass()); + final MetricsAdvisorErrorCodeException errorCodeException = (MetricsAdvisorErrorCodeException) throwable; assertEquals(HttpResponseStatus.NOT_FOUND.code(), errorCodeException.getResponse().getStatusCode()); }); }); diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/java/com/azure/ai/metricsadvisor/AnomalyAlertTest.java b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/java/com/azure/ai/metricsadvisor/AnomalyAlertTest.java index 4a6b98a5d3ad4..8609c33705e12 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/java/com/azure/ai/metricsadvisor/AnomalyAlertTest.java +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/java/com/azure/ai/metricsadvisor/AnomalyAlertTest.java @@ -5,7 +5,7 @@ import com.azure.ai.metricsadvisor.administration.MetricsAdvisorAdministrationClient; import com.azure.ai.metricsadvisor.models.AnomalyAlertConfiguration; -import com.azure.ai.metricsadvisor.models.ErrorCodeException; +import com.azure.ai.metricsadvisor.models.MetricsAdvisorErrorCodeException; import com.azure.ai.metricsadvisor.models.ListAnomalyAlertConfigsOptions; import com.azure.ai.metricsadvisor.models.MetricAnomalyAlertConfiguration; import com.azure.ai.metricsadvisor.models.MetricAnomalyAlertConfigurationsOperator; @@ -209,10 +209,10 @@ public void deleteAnomalyAlertWithResponse(HttpClient httpClient, MetricsAdvisor assertEquals(response.getStatusCode(), HttpResponseStatus.NO_CONTENT.code()); // Act & Assert - Exception exception = assertThrows(ErrorCodeException.class, () -> + Exception exception = assertThrows(MetricsAdvisorErrorCodeException.class, () -> client.getAnomalyAlertConfig(createdAnomalyAlert.getId())); - assertEquals(ErrorCodeException.class, exception.getClass()); - final ErrorCodeException errorCodeException = ((ErrorCodeException) exception); + assertEquals(MetricsAdvisorErrorCodeException.class, exception.getClass()); + final MetricsAdvisorErrorCodeException errorCodeException = ((MetricsAdvisorErrorCodeException) exception); assertEquals(HttpResponseStatus.NOT_FOUND.code(), errorCodeException.getResponse().getStatusCode()); }); } diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/java/com/azure/ai/metricsadvisor/DataFeedAsyncClientTest.java b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/java/com/azure/ai/metricsadvisor/DataFeedAsyncClientTest.java index 243eaff3f404e..b4ad65d391104 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/java/com/azure/ai/metricsadvisor/DataFeedAsyncClientTest.java +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/java/com/azure/ai/metricsadvisor/DataFeedAsyncClientTest.java @@ -8,8 +8,8 @@ import com.azure.ai.metricsadvisor.models.DataFeedGranularityType; import com.azure.ai.metricsadvisor.models.DataFeedSourceType; import com.azure.ai.metricsadvisor.models.DataFeedStatus; -import com.azure.ai.metricsadvisor.models.ErrorCode; -import com.azure.ai.metricsadvisor.models.ErrorCodeException; +import com.azure.ai.metricsadvisor.models.MetricsAdvisorErrorCode; +import com.azure.ai.metricsadvisor.models.MetricsAdvisorErrorCodeException; import com.azure.ai.metricsadvisor.models.ListDataFeedFilter; import com.azure.ai.metricsadvisor.models.ListDataFeedOptions; import com.azure.ai.metricsadvisor.models.MetricsAdvisorServiceVersion; @@ -735,8 +735,8 @@ public void deleteDataFeedIdWithResponse(HttpClient httpClient, MetricsAdvisorSe // Act & Assert StepVerifier.create(client.getDataFeedWithResponse(createdDataFeed.getId())) .verifyErrorSatisfies(throwable -> { - assertEquals(ErrorCodeException.class, throwable.getClass()); - final ErrorCode errorCode = ((ErrorCodeException) throwable).getValue(); + assertEquals(MetricsAdvisorErrorCodeException.class, throwable.getClass()); + final MetricsAdvisorErrorCode errorCode = ((MetricsAdvisorErrorCodeException) throwable).getValue(); assertEquals(errorCode.getCode(), "ERROR_INVALID_PARAMETER"); assertEquals(errorCode.getMessage(), "datafeedId is invalid."); }); diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/java/com/azure/ai/metricsadvisor/DataFeedClientTest.java b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/java/com/azure/ai/metricsadvisor/DataFeedClientTest.java index cec91e611d072..5b2d8a788b34b 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/java/com/azure/ai/metricsadvisor/DataFeedClientTest.java +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/src/test/java/com/azure/ai/metricsadvisor/DataFeedClientTest.java @@ -11,8 +11,8 @@ import com.azure.ai.metricsadvisor.models.DataFeedSchema; import com.azure.ai.metricsadvisor.models.DataFeedSourceType; import com.azure.ai.metricsadvisor.models.DataFeedStatus; -import com.azure.ai.metricsadvisor.models.ErrorCode; -import com.azure.ai.metricsadvisor.models.ErrorCodeException; +import com.azure.ai.metricsadvisor.models.MetricsAdvisorErrorCode; +import com.azure.ai.metricsadvisor.models.MetricsAdvisorErrorCodeException; import com.azure.ai.metricsadvisor.models.ListDataFeedFilter; import com.azure.ai.metricsadvisor.models.ListDataFeedOptions; import com.azure.ai.metricsadvisor.models.MetricsAdvisorServiceVersion; @@ -726,9 +726,9 @@ public void deleteDataFeedIdWithResponse(HttpClient httpClient, MetricsAdvisorSe client.deleteDataFeedWithResponse(createdDataFeed.getId(), Context.NONE).getStatusCode()); // Act & Assert - ErrorCodeException exception = assertThrows(ErrorCodeException.class, () -> + MetricsAdvisorErrorCodeException exception = assertThrows(MetricsAdvisorErrorCodeException.class, () -> client.getDataFeedWithResponse(createdDataFeed.getId(), Context.NONE)); - final ErrorCode errorCode = exception.getValue(); + final MetricsAdvisorErrorCode errorCode = exception.getValue(); assertEquals(errorCode.getCode(), "ERROR_INVALID_PARAMETER"); assertEquals(errorCode.getMessage(), "datafeedId is invalid."); }, SQL_SERVER_DB); @@ -781,8 +781,8 @@ public void createDataFeedDuplicateMetricName(HttpClient httpClient, MetricsAdvi creatDataFeedRunner(expectedDataFeed -> { expectedDataFeed.setSchema(new DataFeedSchema(Arrays.asList(dataFeedMetric, dataFeedMetric2))); // Act & Assert - final ErrorCodeException errorCodeException - = assertThrows(ErrorCodeException.class, () -> client.createDataFeed(expectedDataFeed)); + final MetricsAdvisorErrorCodeException errorCodeException + = assertThrows(MetricsAdvisorErrorCodeException.class, () -> client.createDataFeed(expectedDataFeed)); assertEquals("The metric name 'cost' is duplicate,please remove one.", errorCodeException.getValue().getMessage()); diff --git a/sdk/metricsadvisor/azure-ai-metricsadvisor/swagger/README.md b/sdk/metricsadvisor/azure-ai-metricsadvisor/swagger/README.md index f59e1ae939050..a8129c354408e 100644 --- a/sdk/metricsadvisor/azure-ai-metricsadvisor/swagger/README.md +++ b/sdk/metricsadvisor/azure-ai-metricsadvisor/swagger/README.md @@ -32,11 +32,19 @@ add-context-parameter: true models-subpackage: implementation.models context-client-method-parameter: true custom-types-subpackage: models -custom-types: AnomalyDetectorDirection,AnomalyStatus,AnomalyValue,ChangePointValue,ChangeThresholdCondition,DataFeedIngestionProgress,DataFeedDimension,EnrichmentStatus,FeedbackType,HardThresholdCondition,AnomalyIncidentStatus,IngestionStatusType,DataFeedMetric,PeriodType,AnomalySeverity,SeverityCondition,SmartDetectionCondition,SnoozeScope,SuppressCondition,AlertQueryTimeMode,TopNGroupScope,DataFeedIngestionStatus,MetricAnomalyAlertSnoozeCondition,MetricSeriesDefinition,FeedbackQueryTimeMode,AnomalyAlert,DataFeedGranularityType,DataFeedRollupType,DataFeedAutoRollUpMethod,DataFeedStatus,ErrorCodeException,ErrorCode +custom-types: AnomalyDetectorDirection,AnomalyStatus,AnomalyValue,ChangePointValue,ChangeThresholdCondition,DataFeedIngestionProgress,DataFeedDimension,EnrichmentStatus,FeedbackType,HardThresholdCondition,AnomalyIncidentStatus,IngestionStatusType,DataFeedMetric,PeriodType,AnomalySeverity,SeverityCondition,SmartDetectionCondition,SnoozeScope,SuppressCondition,AlertQueryTimeMode,TopNGroupScope,DataFeedIngestionStatus,MetricAnomalyAlertSnoozeCondition,MetricSeriesDefinition,FeedbackQueryTimeMode,AnomalyAlert,DataFeedGranularityType,DataFeedRollupType,DataFeedAutoRollUpMethod,DataFeedStatus,MetricsAdvisorErrorCodeException,MetricsAdvisorErrorCode ``` ### Generated types renamed and moved to model +#### ErrorCode -> MetricsAdvisorErrorCode +```yaml +directive: + - rename-model: + from: ErrorCode + to: MetricsAdvisorErrorCode +``` + #### TimeMode -> AlertQueryTimeMode ```yaml directive: @@ -291,7 +299,7 @@ directive: "default": { "description": "Client error or server error (4xx or 5xx)", "schema": { - "$ref": "#/definitions/ErrorCode" + "$ref": "#/definitions/MetricsAdvisorErrorCode" } } }, @@ -363,7 +371,7 @@ directive: "default": { "description": "Client error or server error (4xx or 5xx)", "schema": { - "$ref": "#/definitions/ErrorCode" + "$ref": "#/definitions/MetricsAdvisorErrorCode" } } }, @@ -435,7 +443,7 @@ directive: "default": { "description": "Client error or server error (4xx or 5xx)", "schema": { - "$ref": "#/definitions/ErrorCode" + "$ref": "#/definitions/MetricsAdvisorErrorCode" } } }, @@ -507,7 +515,7 @@ directive: "default": { "description": "Client error or server error (4xx or 5xx)", "schema": { - "$ref": "#/definitions/ErrorCode" + "$ref": "#/definitions/MetricsAdvisorErrorCode" } } }, @@ -579,7 +587,7 @@ directive: "default": { "description": "Client error or server error (4xx or 5xx)", "schema": { - "$ref": "#/definitions/ErrorCode" + "$ref": "#/definitions/MetricsAdvisorErrorCode" } } }, @@ -651,7 +659,7 @@ directive: "default": { "description": "Client error or server error (4xx or 5xx)", "schema": { - "$ref": "#/definitions/ErrorCode" + "$ref": "#/definitions/MetricsAdvisorErrorCode" } } }, @@ -723,7 +731,7 @@ directive: "default": { "description": "Client error or server error (4xx or 5xx)", "schema": { - "$ref": "#/definitions/ErrorCode" + "$ref": "#/definitions/MetricsAdvisorErrorCode" } } }, @@ -795,7 +803,7 @@ directive: "default": { "description": "Client error or server error (4xx or 5xx)", "schema": { - "$ref": "#/definitions/ErrorCode" + "$ref": "#/definitions/MetricsAdvisorErrorCode" } } },