Interface EvidentlyAsyncClient
- All Superinterfaces:
AutoCloseable,AwsClient,SdkAutoCloseable,SdkClient
builder() method.The asynchronous client performs non-blocking I/O when configured with any
SdkAsyncHttpClient supported in the SDK. However, full non-blocking is not guaranteed as the async client may
perform blocking calls in some cases such as credentials retrieval and endpoint discovery as part of the async API
call.
You can use Amazon CloudWatch Evidently to safely validate new features by serving them to a specified percentage of your users while you roll out the feature. You can monitor the performance of the new feature to help you decide when to ramp up traffic to your users. This helps you reduce risk and identify unintended consequences before you fully launch the feature.
You can also conduct A/B experiments to make feature design decisions based on evidence and data. An experiment can test as many as five variations at once. Evidently collects experiment data and analyzes it using statistical methods. It also provides clear recommendations about which variations perform better. You can test both user-facing features and backend features.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringValue for looking up the service's metadata from theServiceMetadataProvider.static final String -
Method Summary
Modifier and TypeMethodDescriptionbatchEvaluateFeature(Consumer<BatchEvaluateFeatureRequest.Builder> batchEvaluateFeatureRequest) This operation assigns feature variation to user sessions.batchEvaluateFeature(BatchEvaluateFeatureRequest batchEvaluateFeatureRequest) This operation assigns feature variation to user sessions.static EvidentlyAsyncClientBuilderbuilder()Create a builder that can be used to configure and create aEvidentlyAsyncClient.static EvidentlyAsyncClientcreate()Create aEvidentlyAsyncClientwith the region loaded from theDefaultAwsRegionProviderChainand credentials loaded from theDefaultCredentialsProvider.createExperiment(Consumer<CreateExperimentRequest.Builder> createExperimentRequest) Creates an Evidently experiment.createExperiment(CreateExperimentRequest createExperimentRequest) Creates an Evidently experiment.default CompletableFuture<CreateFeatureResponse> createFeature(Consumer<CreateFeatureRequest.Builder> createFeatureRequest) Creates an Evidently feature that you want to launch or test.default CompletableFuture<CreateFeatureResponse> createFeature(CreateFeatureRequest createFeatureRequest) Creates an Evidently feature that you want to launch or test.default CompletableFuture<CreateLaunchResponse> createLaunch(Consumer<CreateLaunchRequest.Builder> createLaunchRequest) Creates a launch of a given feature.default CompletableFuture<CreateLaunchResponse> createLaunch(CreateLaunchRequest createLaunchRequest) Creates a launch of a given feature.default CompletableFuture<CreateProjectResponse> createProject(Consumer<CreateProjectRequest.Builder> createProjectRequest) Creates a project, which is the logical object in Evidently that can contain features, launches, and experiments.default CompletableFuture<CreateProjectResponse> createProject(CreateProjectRequest createProjectRequest) Creates a project, which is the logical object in Evidently that can contain features, launches, and experiments.default CompletableFuture<CreateSegmentResponse> createSegment(Consumer<CreateSegmentRequest.Builder> createSegmentRequest) Use this operation to define a segment of your audience.default CompletableFuture<CreateSegmentResponse> createSegment(CreateSegmentRequest createSegmentRequest) Use this operation to define a segment of your audience.deleteExperiment(Consumer<DeleteExperimentRequest.Builder> deleteExperimentRequest) Deletes an Evidently experiment.deleteExperiment(DeleteExperimentRequest deleteExperimentRequest) Deletes an Evidently experiment.default CompletableFuture<DeleteFeatureResponse> deleteFeature(Consumer<DeleteFeatureRequest.Builder> deleteFeatureRequest) Deletes an Evidently feature.default CompletableFuture<DeleteFeatureResponse> deleteFeature(DeleteFeatureRequest deleteFeatureRequest) Deletes an Evidently feature.default CompletableFuture<DeleteLaunchResponse> deleteLaunch(Consumer<DeleteLaunchRequest.Builder> deleteLaunchRequest) Deletes an Evidently launch.default CompletableFuture<DeleteLaunchResponse> deleteLaunch(DeleteLaunchRequest deleteLaunchRequest) Deletes an Evidently launch.default CompletableFuture<DeleteProjectResponse> deleteProject(Consumer<DeleteProjectRequest.Builder> deleteProjectRequest) Deletes an Evidently project.default CompletableFuture<DeleteProjectResponse> deleteProject(DeleteProjectRequest deleteProjectRequest) Deletes an Evidently project.default CompletableFuture<DeleteSegmentResponse> deleteSegment(Consumer<DeleteSegmentRequest.Builder> deleteSegmentRequest) Deletes a segment.default CompletableFuture<DeleteSegmentResponse> deleteSegment(DeleteSegmentRequest deleteSegmentRequest) Deletes a segment.default CompletableFuture<EvaluateFeatureResponse> evaluateFeature(Consumer<EvaluateFeatureRequest.Builder> evaluateFeatureRequest) This operation assigns a feature variation to one given user session.default CompletableFuture<EvaluateFeatureResponse> evaluateFeature(EvaluateFeatureRequest evaluateFeatureRequest) This operation assigns a feature variation to one given user session.default CompletableFuture<GetExperimentResponse> getExperiment(Consumer<GetExperimentRequest.Builder> getExperimentRequest) Returns the details about one experiment.default CompletableFuture<GetExperimentResponse> getExperiment(GetExperimentRequest getExperimentRequest) Returns the details about one experiment.getExperimentResults(Consumer<GetExperimentResultsRequest.Builder> getExperimentResultsRequest) Retrieves the results of a running or completed experiment.getExperimentResults(GetExperimentResultsRequest getExperimentResultsRequest) Retrieves the results of a running or completed experiment.default CompletableFuture<GetFeatureResponse> getFeature(Consumer<GetFeatureRequest.Builder> getFeatureRequest) Returns the details about one feature.default CompletableFuture<GetFeatureResponse> getFeature(GetFeatureRequest getFeatureRequest) Returns the details about one feature.default CompletableFuture<GetLaunchResponse> getLaunch(Consumer<GetLaunchRequest.Builder> getLaunchRequest) Returns the details about one launch.default CompletableFuture<GetLaunchResponse> getLaunch(GetLaunchRequest getLaunchRequest) Returns the details about one launch.default CompletableFuture<GetProjectResponse> getProject(Consumer<GetProjectRequest.Builder> getProjectRequest) Returns the details about one launch.default CompletableFuture<GetProjectResponse> getProject(GetProjectRequest getProjectRequest) Returns the details about one launch.default CompletableFuture<GetSegmentResponse> getSegment(Consumer<GetSegmentRequest.Builder> getSegmentRequest) Returns information about the specified segment.default CompletableFuture<GetSegmentResponse> getSegment(GetSegmentRequest getSegmentRequest) Returns information about the specified segment.default CompletableFuture<ListExperimentsResponse> listExperiments(Consumer<ListExperimentsRequest.Builder> listExperimentsRequest) Returns configuration details about all the experiments in the specified project.default CompletableFuture<ListExperimentsResponse> listExperiments(ListExperimentsRequest listExperimentsRequest) Returns configuration details about all the experiments in the specified project.default ListExperimentsPublisherlistExperimentsPaginator(Consumer<ListExperimentsRequest.Builder> listExperimentsRequest) This is a variant oflistExperiments(software.amazon.awssdk.services.evidently.model.ListExperimentsRequest)operation.default ListExperimentsPublisherlistExperimentsPaginator(ListExperimentsRequest listExperimentsRequest) This is a variant oflistExperiments(software.amazon.awssdk.services.evidently.model.ListExperimentsRequest)operation.default CompletableFuture<ListFeaturesResponse> listFeatures(Consumer<ListFeaturesRequest.Builder> listFeaturesRequest) Returns configuration details about all the features in the specified project.default CompletableFuture<ListFeaturesResponse> listFeatures(ListFeaturesRequest listFeaturesRequest) Returns configuration details about all the features in the specified project.default ListFeaturesPublisherlistFeaturesPaginator(Consumer<ListFeaturesRequest.Builder> listFeaturesRequest) This is a variant oflistFeatures(software.amazon.awssdk.services.evidently.model.ListFeaturesRequest)operation.default ListFeaturesPublisherlistFeaturesPaginator(ListFeaturesRequest listFeaturesRequest) This is a variant oflistFeatures(software.amazon.awssdk.services.evidently.model.ListFeaturesRequest)operation.default CompletableFuture<ListLaunchesResponse> listLaunches(Consumer<ListLaunchesRequest.Builder> listLaunchesRequest) Returns configuration details about all the launches in the specified project.default CompletableFuture<ListLaunchesResponse> listLaunches(ListLaunchesRequest listLaunchesRequest) Returns configuration details about all the launches in the specified project.default ListLaunchesPublisherlistLaunchesPaginator(Consumer<ListLaunchesRequest.Builder> listLaunchesRequest) This is a variant oflistLaunches(software.amazon.awssdk.services.evidently.model.ListLaunchesRequest)operation.default ListLaunchesPublisherlistLaunchesPaginator(ListLaunchesRequest listLaunchesRequest) This is a variant oflistLaunches(software.amazon.awssdk.services.evidently.model.ListLaunchesRequest)operation.default CompletableFuture<ListProjectsResponse> listProjects(Consumer<ListProjectsRequest.Builder> listProjectsRequest) Returns configuration details about all the projects in the current Region in your account.default CompletableFuture<ListProjectsResponse> listProjects(ListProjectsRequest listProjectsRequest) Returns configuration details about all the projects in the current Region in your account.default ListProjectsPublisherlistProjectsPaginator(Consumer<ListProjectsRequest.Builder> listProjectsRequest) This is a variant oflistProjects(software.amazon.awssdk.services.evidently.model.ListProjectsRequest)operation.default ListProjectsPublisherlistProjectsPaginator(ListProjectsRequest listProjectsRequest) This is a variant oflistProjects(software.amazon.awssdk.services.evidently.model.ListProjectsRequest)operation.listSegmentReferences(Consumer<ListSegmentReferencesRequest.Builder> listSegmentReferencesRequest) Use this operation to find which experiments or launches are using a specified segment.listSegmentReferences(ListSegmentReferencesRequest listSegmentReferencesRequest) Use this operation to find which experiments or launches are using a specified segment.default ListSegmentReferencesPublisherlistSegmentReferencesPaginator(Consumer<ListSegmentReferencesRequest.Builder> listSegmentReferencesRequest) This is a variant oflistSegmentReferences(software.amazon.awssdk.services.evidently.model.ListSegmentReferencesRequest)operation.default ListSegmentReferencesPublisherlistSegmentReferencesPaginator(ListSegmentReferencesRequest listSegmentReferencesRequest) This is a variant oflistSegmentReferences(software.amazon.awssdk.services.evidently.model.ListSegmentReferencesRequest)operation.default CompletableFuture<ListSegmentsResponse> listSegments(Consumer<ListSegmentsRequest.Builder> listSegmentsRequest) Returns a list of audience segments that you have created in your account in this Region.default CompletableFuture<ListSegmentsResponse> listSegments(ListSegmentsRequest listSegmentsRequest) Returns a list of audience segments that you have created in your account in this Region.default ListSegmentsPublisherlistSegmentsPaginator(Consumer<ListSegmentsRequest.Builder> listSegmentsRequest) This is a variant oflistSegments(software.amazon.awssdk.services.evidently.model.ListSegmentsRequest)operation.default ListSegmentsPublisherlistSegmentsPaginator(ListSegmentsRequest listSegmentsRequest) This is a variant oflistSegments(software.amazon.awssdk.services.evidently.model.ListSegmentsRequest)operation.listTagsForResource(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest) Displays the tags associated with an Evidently resource.listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest) Displays the tags associated with an Evidently resource.putProjectEvents(Consumer<PutProjectEventsRequest.Builder> putProjectEventsRequest) Sends performance events to Evidently.putProjectEvents(PutProjectEventsRequest putProjectEventsRequest) Sends performance events to Evidently.The SDK service client configuration exposes client settings to the user, e.g., ClientOverrideConfigurationdefault CompletableFuture<StartExperimentResponse> startExperiment(Consumer<StartExperimentRequest.Builder> startExperimentRequest) Starts an existing experiment.default CompletableFuture<StartExperimentResponse> startExperiment(StartExperimentRequest startExperimentRequest) Starts an existing experiment.default CompletableFuture<StartLaunchResponse> startLaunch(Consumer<StartLaunchRequest.Builder> startLaunchRequest) Starts an existing launch.default CompletableFuture<StartLaunchResponse> startLaunch(StartLaunchRequest startLaunchRequest) Starts an existing launch.default CompletableFuture<StopExperimentResponse> stopExperiment(Consumer<StopExperimentRequest.Builder> stopExperimentRequest) Stops an experiment that is currently running.default CompletableFuture<StopExperimentResponse> stopExperiment(StopExperimentRequest stopExperimentRequest) Stops an experiment that is currently running.default CompletableFuture<StopLaunchResponse> stopLaunch(Consumer<StopLaunchRequest.Builder> stopLaunchRequest) Stops a launch that is currently running.default CompletableFuture<StopLaunchResponse> stopLaunch(StopLaunchRequest stopLaunchRequest) Stops a launch that is currently running.default CompletableFuture<TagResourceResponse> tagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest) Assigns one or more tags (key-value pairs) to the specified CloudWatch Evidently resource.default CompletableFuture<TagResourceResponse> tagResource(TagResourceRequest tagResourceRequest) Assigns one or more tags (key-value pairs) to the specified CloudWatch Evidently resource.testSegmentPattern(Consumer<TestSegmentPatternRequest.Builder> testSegmentPatternRequest) Use this operation to test a rules pattern that you plan to use to create an audience segment.testSegmentPattern(TestSegmentPatternRequest testSegmentPatternRequest) Use this operation to test a rules pattern that you plan to use to create an audience segment.default CompletableFuture<UntagResourceResponse> untagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest) Removes one or more tags from the specified resource.default CompletableFuture<UntagResourceResponse> untagResource(UntagResourceRequest untagResourceRequest) Removes one or more tags from the specified resource.updateExperiment(Consumer<UpdateExperimentRequest.Builder> updateExperimentRequest) Updates an Evidently experiment.updateExperiment(UpdateExperimentRequest updateExperimentRequest) Updates an Evidently experiment.default CompletableFuture<UpdateFeatureResponse> updateFeature(Consumer<UpdateFeatureRequest.Builder> updateFeatureRequest) Updates an existing feature.default CompletableFuture<UpdateFeatureResponse> updateFeature(UpdateFeatureRequest updateFeatureRequest) Updates an existing feature.default CompletableFuture<UpdateLaunchResponse> updateLaunch(Consumer<UpdateLaunchRequest.Builder> updateLaunchRequest) Updates a launch of a given feature.default CompletableFuture<UpdateLaunchResponse> updateLaunch(UpdateLaunchRequest updateLaunchRequest) Updates a launch of a given feature.default CompletableFuture<UpdateProjectResponse> updateProject(Consumer<UpdateProjectRequest.Builder> updateProjectRequest) Updates the description of an existing project.default CompletableFuture<UpdateProjectResponse> updateProject(UpdateProjectRequest updateProjectRequest) Updates the description of an existing project.updateProjectDataDelivery(Consumer<UpdateProjectDataDeliveryRequest.Builder> updateProjectDataDeliveryRequest) Updates the data storage options for this project.updateProjectDataDelivery(UpdateProjectDataDeliveryRequest updateProjectDataDeliveryRequest) Updates the data storage options for this project.Methods inherited from interface software.amazon.awssdk.utils.SdkAutoCloseable
closeMethods inherited from interface software.amazon.awssdk.core.SdkClient
serviceName
-
Field Details
-
SERVICE_NAME
- See Also:
-
SERVICE_METADATA_ID
Value for looking up the service's metadata from theServiceMetadataProvider.- See Also:
-
-
Method Details
-
batchEvaluateFeature
default CompletableFuture<BatchEvaluateFeatureResponse> batchEvaluateFeature(BatchEvaluateFeatureRequest batchEvaluateFeatureRequest) This operation assigns feature variation to user sessions. For each user session, you pass in an
entityIDthat represents the user. Evidently then checks the evaluation rules and assigns the variation.The first rules that are evaluated are the override rules. If the user's
entityIDmatches an override rule, the user is served the variation specified by that rule.Next, if there is a launch of the feature, the user might be assigned to a variation in the launch. The chance of this depends on the percentage of users that are allocated to that launch. If the user is enrolled in the launch, the variation they are served depends on the allocation of the various feature variations used for the launch.
If the user is not assigned to a launch, and there is an ongoing experiment for this feature, the user might be assigned to a variation in the experiment. The chance of this depends on the percentage of users that are allocated to that experiment. If the user is enrolled in the experiment, the variation they are served depends on the allocation of the various feature variations used for the experiment.
If the user is not assigned to a launch or experiment, they are served the default variation.
- Parameters:
batchEvaluateFeatureRequest-- Returns:
- A Java Future containing the result of the BatchEvaluateFeature operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException The request was denied because of request throttling. Retry the request.
- ValidationException The value of a parameter in the request caused an error.
- ResourceNotFoundException The request references a resource that does not exist.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- EvidentlyException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
batchEvaluateFeature
default CompletableFuture<BatchEvaluateFeatureResponse> batchEvaluateFeature(Consumer<BatchEvaluateFeatureRequest.Builder> batchEvaluateFeatureRequest) This operation assigns feature variation to user sessions. For each user session, you pass in an
entityIDthat represents the user. Evidently then checks the evaluation rules and assigns the variation.The first rules that are evaluated are the override rules. If the user's
entityIDmatches an override rule, the user is served the variation specified by that rule.Next, if there is a launch of the feature, the user might be assigned to a variation in the launch. The chance of this depends on the percentage of users that are allocated to that launch. If the user is enrolled in the launch, the variation they are served depends on the allocation of the various feature variations used for the launch.
If the user is not assigned to a launch, and there is an ongoing experiment for this feature, the user might be assigned to a variation in the experiment. The chance of this depends on the percentage of users that are allocated to that experiment. If the user is enrolled in the experiment, the variation they are served depends on the allocation of the various feature variations used for the experiment.
If the user is not assigned to a launch or experiment, they are served the default variation.
This is a convenience which creates an instance of the
BatchEvaluateFeatureRequest.Builderavoiding the need to create one manually viaBatchEvaluateFeatureRequest.builder()- Parameters:
batchEvaluateFeatureRequest- AConsumerthat will call methods onBatchEvaluateFeatureRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the BatchEvaluateFeature operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException The request was denied because of request throttling. Retry the request.
- ValidationException The value of a parameter in the request caused an error.
- ResourceNotFoundException The request references a resource that does not exist.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- EvidentlyException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createExperiment
default CompletableFuture<CreateExperimentResponse> createExperiment(CreateExperimentRequest createExperimentRequest) Creates an Evidently experiment. Before you create an experiment, you must create the feature to use for the experiment.
An experiment helps you make feature design decisions based on evidence and data. An experiment can test as many as five variations at once. Evidently collects experiment data and analyzes it by statistical methods, and provides clear recommendations about which variations perform better.
You can optionally specify a
segmentto have the experiment consider only certain audience types in the experiment, such as using only user sessions from a certain location or who use a certain internet browser.Don't use this operation to update an existing experiment. Instead, use UpdateExperiment.
- Parameters:
createExperimentRequest-- Returns:
- A Java Future containing the result of the CreateExperiment operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The value of a parameter in the request caused an error.
- ConflictException A resource was in an inconsistent state during an update or a deletion.
- ServiceQuotaExceededException The request would cause a service quota to be exceeded.
- ResourceNotFoundException The request references a resource that does not exist.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- EvidentlyException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createExperiment
default CompletableFuture<CreateExperimentResponse> createExperiment(Consumer<CreateExperimentRequest.Builder> createExperimentRequest) Creates an Evidently experiment. Before you create an experiment, you must create the feature to use for the experiment.
An experiment helps you make feature design decisions based on evidence and data. An experiment can test as many as five variations at once. Evidently collects experiment data and analyzes it by statistical methods, and provides clear recommendations about which variations perform better.
You can optionally specify a
segmentto have the experiment consider only certain audience types in the experiment, such as using only user sessions from a certain location or who use a certain internet browser.Don't use this operation to update an existing experiment. Instead, use UpdateExperiment.
This is a convenience which creates an instance of the
CreateExperimentRequest.Builderavoiding the need to create one manually viaCreateExperimentRequest.builder()- Parameters:
createExperimentRequest- AConsumerthat will call methods onCreateExperimentRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the CreateExperiment operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The value of a parameter in the request caused an error.
- ConflictException A resource was in an inconsistent state during an update or a deletion.
- ServiceQuotaExceededException The request would cause a service quota to be exceeded.
- ResourceNotFoundException The request references a resource that does not exist.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- EvidentlyException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createFeature
default CompletableFuture<CreateFeatureResponse> createFeature(CreateFeatureRequest createFeatureRequest) Creates an Evidently feature that you want to launch or test. You can define up to five variations of a feature, and use these variations in your launches and experiments. A feature must be created in a project. For information about creating a project, see CreateProject.
Don't use this operation to update an existing feature. Instead, use UpdateFeature.
- Parameters:
createFeatureRequest-- Returns:
- A Java Future containing the result of the CreateFeature operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The value of a parameter in the request caused an error.
- ConflictException A resource was in an inconsistent state during an update or a deletion.
- ServiceQuotaExceededException The request would cause a service quota to be exceeded.
- ResourceNotFoundException The request references a resource that does not exist.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- EvidentlyException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createFeature
default CompletableFuture<CreateFeatureResponse> createFeature(Consumer<CreateFeatureRequest.Builder> createFeatureRequest) Creates an Evidently feature that you want to launch or test. You can define up to five variations of a feature, and use these variations in your launches and experiments. A feature must be created in a project. For information about creating a project, see CreateProject.
Don't use this operation to update an existing feature. Instead, use UpdateFeature.
This is a convenience which creates an instance of the
CreateFeatureRequest.Builderavoiding the need to create one manually viaCreateFeatureRequest.builder()- Parameters:
createFeatureRequest- AConsumerthat will call methods onCreateFeatureRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the CreateFeature operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The value of a parameter in the request caused an error.
- ConflictException A resource was in an inconsistent state during an update or a deletion.
- ServiceQuotaExceededException The request would cause a service quota to be exceeded.
- ResourceNotFoundException The request references a resource that does not exist.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- EvidentlyException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createLaunch
default CompletableFuture<CreateLaunchResponse> createLaunch(CreateLaunchRequest createLaunchRequest) Creates a launch of a given feature. Before you create a launch, you must create the feature to use for the launch.
You can use a launch to safely validate new features by serving them to a specified percentage of your users while you roll out the feature. You can monitor the performance of the new feature to help you decide when to ramp up traffic to more users. This helps you reduce risk and identify unintended consequences before you fully launch the feature.
Don't use this operation to update an existing launch. Instead, use UpdateLaunch.
- Parameters:
createLaunchRequest-- Returns:
- A Java Future containing the result of the CreateLaunch operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The value of a parameter in the request caused an error.
- ConflictException A resource was in an inconsistent state during an update or a deletion.
- ServiceQuotaExceededException The request would cause a service quota to be exceeded.
- ResourceNotFoundException The request references a resource that does not exist.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- EvidentlyException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createLaunch
default CompletableFuture<CreateLaunchResponse> createLaunch(Consumer<CreateLaunchRequest.Builder> createLaunchRequest) Creates a launch of a given feature. Before you create a launch, you must create the feature to use for the launch.
You can use a launch to safely validate new features by serving them to a specified percentage of your users while you roll out the feature. You can monitor the performance of the new feature to help you decide when to ramp up traffic to more users. This helps you reduce risk and identify unintended consequences before you fully launch the feature.
Don't use this operation to update an existing launch. Instead, use UpdateLaunch.
This is a convenience which creates an instance of the
CreateLaunchRequest.Builderavoiding the need to create one manually viaCreateLaunchRequest.builder()- Parameters:
createLaunchRequest- AConsumerthat will call methods onCreateLaunchRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the CreateLaunch operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The value of a parameter in the request caused an error.
- ConflictException A resource was in an inconsistent state during an update or a deletion.
- ServiceQuotaExceededException The request would cause a service quota to be exceeded.
- ResourceNotFoundException The request references a resource that does not exist.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- EvidentlyException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createProject
default CompletableFuture<CreateProjectResponse> createProject(CreateProjectRequest createProjectRequest) Creates a project, which is the logical object in Evidently that can contain features, launches, and experiments. Use projects to group similar features together.
To update an existing project, use UpdateProject.
- Parameters:
createProjectRequest-- Returns:
- A Java Future containing the result of the CreateProject operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The value of a parameter in the request caused an error.
- ConflictException A resource was in an inconsistent state during an update or a deletion.
- ServiceQuotaExceededException The request would cause a service quota to be exceeded.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- EvidentlyException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createProject
default CompletableFuture<CreateProjectResponse> createProject(Consumer<CreateProjectRequest.Builder> createProjectRequest) Creates a project, which is the logical object in Evidently that can contain features, launches, and experiments. Use projects to group similar features together.
To update an existing project, use UpdateProject.
This is a convenience which creates an instance of the
CreateProjectRequest.Builderavoiding the need to create one manually viaCreateProjectRequest.builder()- Parameters:
createProjectRequest- AConsumerthat will call methods onCreateProjectRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the CreateProject operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The value of a parameter in the request caused an error.
- ConflictException A resource was in an inconsistent state during an update or a deletion.
- ServiceQuotaExceededException The request would cause a service quota to be exceeded.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- EvidentlyException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createSegment
default CompletableFuture<CreateSegmentResponse> createSegment(CreateSegmentRequest createSegmentRequest) Use this operation to define a segment of your audience. A segment is a portion of your audience that share one or more characteristics. Examples could be Chrome browser users, users in Europe, or Firefox browser users in Europe who also fit other criteria that your application collects, such as age.
Using a segment in an experiment limits that experiment to evaluate only the users who match the segment criteria. Using one or more segments in a launch allows you to define different traffic splits for the different audience segments.
For more information about segment pattern syntax, see Segment rule pattern syntax.
The pattern that you define for a segment is matched against the value of
evaluationContext, which is passed into Evidently in the EvaluateFeature operation, when Evidently assigns a feature variation to a user.- Parameters:
createSegmentRequest-- Returns:
- A Java Future containing the result of the CreateSegment operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The value of a parameter in the request caused an error.
- ConflictException A resource was in an inconsistent state during an update or a deletion.
- ServiceQuotaExceededException The request would cause a service quota to be exceeded.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- EvidentlyException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createSegment
default CompletableFuture<CreateSegmentResponse> createSegment(Consumer<CreateSegmentRequest.Builder> createSegmentRequest) Use this operation to define a segment of your audience. A segment is a portion of your audience that share one or more characteristics. Examples could be Chrome browser users, users in Europe, or Firefox browser users in Europe who also fit other criteria that your application collects, such as age.
Using a segment in an experiment limits that experiment to evaluate only the users who match the segment criteria. Using one or more segments in a launch allows you to define different traffic splits for the different audience segments.
For more information about segment pattern syntax, see Segment rule pattern syntax.
The pattern that you define for a segment is matched against the value of
evaluationContext, which is passed into Evidently in the EvaluateFeature operation, when Evidently assigns a feature variation to a user.
This is a convenience which creates an instance of the
CreateSegmentRequest.Builderavoiding the need to create one manually viaCreateSegmentRequest.builder()- Parameters:
createSegmentRequest- AConsumerthat will call methods onCreateSegmentRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the CreateSegment operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The value of a parameter in the request caused an error.
- ConflictException A resource was in an inconsistent state during an update or a deletion.
- ServiceQuotaExceededException The request would cause a service quota to be exceeded.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- EvidentlyException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteExperiment
default CompletableFuture<DeleteExperimentResponse> deleteExperiment(DeleteExperimentRequest deleteExperimentRequest) Deletes an Evidently experiment. The feature used for the experiment is not deleted.
To stop an experiment without deleting it, use StopExperiment.
- Parameters:
deleteExperimentRequest-- Returns:
- A Java Future containing the result of the DeleteExperiment operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The value of a parameter in the request caused an error.
- InternalServerException Unexpected error while processing the request. Retry the request.
- ConflictException A resource was in an inconsistent state during an update or a deletion.
- ServiceUnavailableException The service was unavailable. Retry the request.
- ResourceNotFoundException The request references a resource that does not exist.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- EvidentlyException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteExperiment
default CompletableFuture<DeleteExperimentResponse> deleteExperiment(Consumer<DeleteExperimentRequest.Builder> deleteExperimentRequest) Deletes an Evidently experiment. The feature used for the experiment is not deleted.
To stop an experiment without deleting it, use StopExperiment.
This is a convenience which creates an instance of the
DeleteExperimentRequest.Builderavoiding the need to create one manually viaDeleteExperimentRequest.builder()- Parameters:
deleteExperimentRequest- AConsumerthat will call methods onDeleteExperimentRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DeleteExperiment operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The value of a parameter in the request caused an error.
- InternalServerException Unexpected error while processing the request. Retry the request.
- ConflictException A resource was in an inconsistent state during an update or a deletion.
- ServiceUnavailableException The service was unavailable. Retry the request.
- ResourceNotFoundException The request references a resource that does not exist.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- EvidentlyException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteFeature
default CompletableFuture<DeleteFeatureResponse> deleteFeature(DeleteFeatureRequest deleteFeatureRequest) Deletes an Evidently feature.
- Parameters:
deleteFeatureRequest-- Returns:
- A Java Future containing the result of the DeleteFeature operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException The request was denied because of request throttling. Retry the request.
- ValidationException The value of a parameter in the request caused an error.
- ConflictException A resource was in an inconsistent state during an update or a deletion.
- ResourceNotFoundException The request references a resource that does not exist.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- EvidentlyException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteFeature
default CompletableFuture<DeleteFeatureResponse> deleteFeature(Consumer<DeleteFeatureRequest.Builder> deleteFeatureRequest) Deletes an Evidently feature.
This is a convenience which creates an instance of the
DeleteFeatureRequest.Builderavoiding the need to create one manually viaDeleteFeatureRequest.builder()- Parameters:
deleteFeatureRequest- AConsumerthat will call methods onDeleteFeatureRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DeleteFeature operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException The request was denied because of request throttling. Retry the request.
- ValidationException The value of a parameter in the request caused an error.
- ConflictException A resource was in an inconsistent state during an update or a deletion.
- ResourceNotFoundException The request references a resource that does not exist.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- EvidentlyException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteLaunch
default CompletableFuture<DeleteLaunchResponse> deleteLaunch(DeleteLaunchRequest deleteLaunchRequest) Deletes an Evidently launch. The feature used for the launch is not deleted.
To stop a launch without deleting it, use StopLaunch.
- Parameters:
deleteLaunchRequest-- Returns:
- A Java Future containing the result of the DeleteLaunch operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException The request was denied because of request throttling. Retry the request.
- ValidationException The value of a parameter in the request caused an error.
- ConflictException A resource was in an inconsistent state during an update or a deletion.
- ResourceNotFoundException The request references a resource that does not exist.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- EvidentlyException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteLaunch
default CompletableFuture<DeleteLaunchResponse> deleteLaunch(Consumer<DeleteLaunchRequest.Builder> deleteLaunchRequest) Deletes an Evidently launch. The feature used for the launch is not deleted.
To stop a launch without deleting it, use StopLaunch.
This is a convenience which creates an instance of the
DeleteLaunchRequest.Builderavoiding the need to create one manually viaDeleteLaunchRequest.builder()- Parameters:
deleteLaunchRequest- AConsumerthat will call methods onDeleteLaunchRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DeleteLaunch operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException The request was denied because of request throttling. Retry the request.
- ValidationException The value of a parameter in the request caused an error.
- ConflictException A resource was in an inconsistent state during an update or a deletion.
- ResourceNotFoundException The request references a resource that does not exist.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- EvidentlyException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteProject
default CompletableFuture<DeleteProjectResponse> deleteProject(DeleteProjectRequest deleteProjectRequest) Deletes an Evidently project. Before you can delete a project, you must delete all the features that the project contains. To delete a feature, use DeleteFeature.
- Parameters:
deleteProjectRequest-- Returns:
- A Java Future containing the result of the DeleteProject operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException The request was denied because of request throttling. Retry the request.
- ValidationException The value of a parameter in the request caused an error.
- ConflictException A resource was in an inconsistent state during an update or a deletion.
- ResourceNotFoundException The request references a resource that does not exist.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- EvidentlyException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteProject
default CompletableFuture<DeleteProjectResponse> deleteProject(Consumer<DeleteProjectRequest.Builder> deleteProjectRequest) Deletes an Evidently project. Before you can delete a project, you must delete all the features that the project contains. To delete a feature, use DeleteFeature.
This is a convenience which creates an instance of the
DeleteProjectRequest.Builderavoiding the need to create one manually viaDeleteProjectRequest.builder()- Parameters:
deleteProjectRequest- AConsumerthat will call methods onDeleteProjectRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DeleteProject operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException The request was denied because of request throttling. Retry the request.
- ValidationException The value of a parameter in the request caused an error.
- ConflictException A resource was in an inconsistent state during an update or a deletion.
- ResourceNotFoundException The request references a resource that does not exist.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- EvidentlyException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteSegment
default CompletableFuture<DeleteSegmentResponse> deleteSegment(DeleteSegmentRequest deleteSegmentRequest) Deletes a segment. You can't delete a segment that is being used in a launch or experiment, even if that launch or experiment is not currently running.
- Parameters:
deleteSegmentRequest-- Returns:
- A Java Future containing the result of the DeleteSegment operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException The request was denied because of request throttling. Retry the request.
- ValidationException The value of a parameter in the request caused an error.
- ConflictException A resource was in an inconsistent state during an update or a deletion.
- ResourceNotFoundException The request references a resource that does not exist.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- EvidentlyException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteSegment
default CompletableFuture<DeleteSegmentResponse> deleteSegment(Consumer<DeleteSegmentRequest.Builder> deleteSegmentRequest) Deletes a segment. You can't delete a segment that is being used in a launch or experiment, even if that launch or experiment is not currently running.
This is a convenience which creates an instance of the
DeleteSegmentRequest.Builderavoiding the need to create one manually viaDeleteSegmentRequest.builder()- Parameters:
deleteSegmentRequest- AConsumerthat will call methods onDeleteSegmentRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DeleteSegment operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException The request was denied because of request throttling. Retry the request.
- ValidationException The value of a parameter in the request caused an error.
- ConflictException A resource was in an inconsistent state during an update or a deletion.
- ResourceNotFoundException The request references a resource that does not exist.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- EvidentlyException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
evaluateFeature
default CompletableFuture<EvaluateFeatureResponse> evaluateFeature(EvaluateFeatureRequest evaluateFeatureRequest) This operation assigns a feature variation to one given user session. You pass in an
entityIDthat represents the user. Evidently then checks the evaluation rules and assigns the variation.The first rules that are evaluated are the override rules. If the user's
entityIDmatches an override rule, the user is served the variation specified by that rule.If there is a current launch with this feature that uses segment overrides, and if the user session's
evaluationContextmatches a segment rule defined in a segment override, the configuration in the segment overrides is used. For more information about segments, see CreateSegment and Use segments to focus your audience.If there is a launch with no segment overrides, the user might be assigned to a variation in the launch. The chance of this depends on the percentage of users that are allocated to that launch. If the user is enrolled in the launch, the variation they are served depends on the allocation of the various feature variations used for the launch.
If the user is not assigned to a launch, and there is an ongoing experiment for this feature, the user might be assigned to a variation in the experiment. The chance of this depends on the percentage of users that are allocated to that experiment.
If the experiment uses a segment, then only user sessions with
evaluationContextvalues that match the segment rule are used in the experiment.If the user is enrolled in the experiment, the variation they are served depends on the allocation of the various feature variations used for the experiment.
If the user is not assigned to a launch or experiment, they are served the default variation.
- Parameters:
evaluateFeatureRequest-- Returns:
- A Java Future containing the result of the EvaluateFeature operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException The request was denied because of request throttling. Retry the request.
- ValidationException The value of a parameter in the request caused an error.
- ResourceNotFoundException The request references a resource that does not exist.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- EvidentlyException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
evaluateFeature
default CompletableFuture<EvaluateFeatureResponse> evaluateFeature(Consumer<EvaluateFeatureRequest.Builder> evaluateFeatureRequest) This operation assigns a feature variation to one given user session. You pass in an
entityIDthat represents the user. Evidently then checks the evaluation rules and assigns the variation.The first rules that are evaluated are the override rules. If the user's
entityIDmatches an override rule, the user is served the variation specified by that rule.If there is a current launch with this feature that uses segment overrides, and if the user session's
evaluationContextmatches a segment rule defined in a segment override, the configuration in the segment overrides is used. For more information about segments, see CreateSegment and Use segments to focus your audience.If there is a launch with no segment overrides, the user might be assigned to a variation in the launch. The chance of this depends on the percentage of users that are allocated to that launch. If the user is enrolled in the launch, the variation they are served depends on the allocation of the various feature variations used for the launch.
If the user is not assigned to a launch, and there is an ongoing experiment for this feature, the user might be assigned to a variation in the experiment. The chance of this depends on the percentage of users that are allocated to that experiment.
If the experiment uses a segment, then only user sessions with
evaluationContextvalues that match the segment rule are used in the experiment.If the user is enrolled in the experiment, the variation they are served depends on the allocation of the various feature variations used for the experiment.
If the user is not assigned to a launch or experiment, they are served the default variation.
This is a convenience which creates an instance of the
EvaluateFeatureRequest.Builderavoiding the need to create one manually viaEvaluateFeatureRequest.builder()- Parameters:
evaluateFeatureRequest- AConsumerthat will call methods onEvaluateFeatureRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the EvaluateFeature operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException The request was denied because of request throttling. Retry the request.
- ValidationException The value of a parameter in the request caused an error.
- ResourceNotFoundException The request references a resource that does not exist.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- EvidentlyException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getExperiment
default CompletableFuture<GetExperimentResponse> getExperiment(GetExperimentRequest getExperimentRequest) Returns the details about one experiment. You must already know the experiment name. To retrieve a list of experiments in your account, use ListExperiments.
- Parameters:
getExperimentRequest-- Returns:
- A Java Future containing the result of the GetExperiment operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException The request was denied because of request throttling. Retry the request.
- ValidationException The value of a parameter in the request caused an error.
- ResourceNotFoundException The request references a resource that does not exist.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- EvidentlyException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getExperiment
default CompletableFuture<GetExperimentResponse> getExperiment(Consumer<GetExperimentRequest.Builder> getExperimentRequest) Returns the details about one experiment. You must already know the experiment name. To retrieve a list of experiments in your account, use ListExperiments.
This is a convenience which creates an instance of the
GetExperimentRequest.Builderavoiding the need to create one manually viaGetExperimentRequest.builder()- Parameters:
getExperimentRequest- AConsumerthat will call methods onGetExperimentRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the GetExperiment operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException The request was denied because of request throttling. Retry the request.
- ValidationException The value of a parameter in the request caused an error.
- ResourceNotFoundException The request references a resource that does not exist.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- EvidentlyException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getExperimentResults
default CompletableFuture<GetExperimentResultsResponse> getExperimentResults(GetExperimentResultsRequest getExperimentResultsRequest) Retrieves the results of a running or completed experiment. No results are available until there have been 100 events for each variation and at least 10 minutes have passed since the start of the experiment. To increase the statistical power, Evidently performs an additional offline p-value analysis at the end of the experiment. Offline p-value analysis can detect statistical significance in some cases where the anytime p-values used during the experiment do not find statistical significance.
Experiment results are available up to 63 days after the start of the experiment. They are not available after that because of CloudWatch data retention policies.
- Parameters:
getExperimentResultsRequest-- Returns:
- A Java Future containing the result of the GetExperimentResults operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException The request was denied because of request throttling. Retry the request.
- ValidationException The value of a parameter in the request caused an error.
- ConflictException A resource was in an inconsistent state during an update or a deletion.
- ResourceNotFoundException The request references a resource that does not exist.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- EvidentlyException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getExperimentResults
default CompletableFuture<GetExperimentResultsResponse> getExperimentResults(Consumer<GetExperimentResultsRequest.Builder> getExperimentResultsRequest) Retrieves the results of a running or completed experiment. No results are available until there have been 100 events for each variation and at least 10 minutes have passed since the start of the experiment. To increase the statistical power, Evidently performs an additional offline p-value analysis at the end of the experiment. Offline p-value analysis can detect statistical significance in some cases where the anytime p-values used during the experiment do not find statistical significance.
Experiment results are available up to 63 days after the start of the experiment. They are not available after that because of CloudWatch data retention policies.
This is a convenience which creates an instance of the
GetExperimentResultsRequest.Builderavoiding the need to create one manually viaGetExperimentResultsRequest.builder()- Parameters:
getExperimentResultsRequest- AConsumerthat will call methods onGetExperimentResultsRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the GetExperimentResults operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException The request was denied because of request throttling. Retry the request.
- ValidationException The value of a parameter in the request caused an error.
- ConflictException A resource was in an inconsistent state during an update or a deletion.
- ResourceNotFoundException The request references a resource that does not exist.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- EvidentlyException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getFeature
Returns the details about one feature. You must already know the feature name. To retrieve a list of features in your account, use ListFeatures.
- Parameters:
getFeatureRequest-- Returns:
- A Java Future containing the result of the GetFeature operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException The request was denied because of request throttling. Retry the request.
- ValidationException The value of a parameter in the request caused an error.
- ResourceNotFoundException The request references a resource that does not exist.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- EvidentlyException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getFeature
default CompletableFuture<GetFeatureResponse> getFeature(Consumer<GetFeatureRequest.Builder> getFeatureRequest) Returns the details about one feature. You must already know the feature name. To retrieve a list of features in your account, use ListFeatures.
This is a convenience which creates an instance of the
GetFeatureRequest.Builderavoiding the need to create one manually viaGetFeatureRequest.builder()- Parameters:
getFeatureRequest- AConsumerthat will call methods onGetFeatureRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the GetFeature operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException The request was denied because of request throttling. Retry the request.
- ValidationException The value of a parameter in the request caused an error.
- ResourceNotFoundException The request references a resource that does not exist.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- EvidentlyException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getLaunch
Returns the details about one launch. You must already know the launch name. To retrieve a list of launches in your account, use ListLaunches.
- Parameters:
getLaunchRequest-- Returns:
- A Java Future containing the result of the GetLaunch operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException The request was denied because of request throttling. Retry the request.
- ValidationException The value of a parameter in the request caused an error.
- ResourceNotFoundException The request references a resource that does not exist.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- EvidentlyException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getLaunch
default CompletableFuture<GetLaunchResponse> getLaunch(Consumer<GetLaunchRequest.Builder> getLaunchRequest) Returns the details about one launch. You must already know the launch name. To retrieve a list of launches in your account, use ListLaunches.
This is a convenience which creates an instance of the
GetLaunchRequest.Builderavoiding the need to create one manually viaGetLaunchRequest.builder()- Parameters:
getLaunchRequest- AConsumerthat will call methods onGetLaunchRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the GetLaunch operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException The request was denied because of request throttling. Retry the request.
- ValidationException The value of a parameter in the request caused an error.
- ResourceNotFoundException The request references a resource that does not exist.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- EvidentlyException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getProject
Returns the details about one launch. You must already know the project name. To retrieve a list of projects in your account, use ListProjects.
- Parameters:
getProjectRequest-- Returns:
- A Java Future containing the result of the GetProject operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException The request was denied because of request throttling. Retry the request.
- ValidationException The value of a parameter in the request caused an error.
- ResourceNotFoundException The request references a resource that does not exist.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- EvidentlyException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getProject
default CompletableFuture<GetProjectResponse> getProject(Consumer<GetProjectRequest.Builder> getProjectRequest) Returns the details about one launch. You must already know the project name. To retrieve a list of projects in your account, use ListProjects.
This is a convenience which creates an instance of the
GetProjectRequest.Builderavoiding the need to create one manually viaGetProjectRequest.builder()- Parameters:
getProjectRequest- AConsumerthat will call methods onGetProjectRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the GetProject operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException The request was denied because of request throttling. Retry the request.
- ValidationException The value of a parameter in the request caused an error.
- ResourceNotFoundException The request references a resource that does not exist.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- EvidentlyException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getSegment
Returns information about the specified segment. Specify the segment you want to view by specifying its ARN.
- Parameters:
getSegmentRequest-- Returns:
- A Java Future containing the result of the GetSegment operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException The request was denied because of request throttling. Retry the request.
- ValidationException The value of a parameter in the request caused an error.
- ResourceNotFoundException The request references a resource that does not exist.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- EvidentlyException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getSegment
default CompletableFuture<GetSegmentResponse> getSegment(Consumer<GetSegmentRequest.Builder> getSegmentRequest) Returns information about the specified segment. Specify the segment you want to view by specifying its ARN.
This is a convenience which creates an instance of the
GetSegmentRequest.Builderavoiding the need to create one manually viaGetSegmentRequest.builder()- Parameters:
getSegmentRequest- AConsumerthat will call methods onGetSegmentRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the GetSegment operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException The request was denied because of request throttling. Retry the request.
- ValidationException The value of a parameter in the request caused an error.
- ResourceNotFoundException The request references a resource that does not exist.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- EvidentlyException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listExperiments
default CompletableFuture<ListExperimentsResponse> listExperiments(ListExperimentsRequest listExperimentsRequest) Returns configuration details about all the experiments in the specified project.
- Parameters:
listExperimentsRequest-- Returns:
- A Java Future containing the result of the ListExperiments operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The value of a parameter in the request caused an error.
- ResourceNotFoundException The request references a resource that does not exist.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- EvidentlyException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listExperiments
default CompletableFuture<ListExperimentsResponse> listExperiments(Consumer<ListExperimentsRequest.Builder> listExperimentsRequest) Returns configuration details about all the experiments in the specified project.
This is a convenience which creates an instance of the
ListExperimentsRequest.Builderavoiding the need to create one manually viaListExperimentsRequest.builder()- Parameters:
listExperimentsRequest- AConsumerthat will call methods onListExperimentsRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListExperiments operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The value of a parameter in the request caused an error.
- ResourceNotFoundException The request references a resource that does not exist.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- EvidentlyException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listExperimentsPaginator
default ListExperimentsPublisher listExperimentsPaginator(ListExperimentsRequest listExperimentsRequest) This is a variant of
listExperiments(software.amazon.awssdk.services.evidently.model.ListExperimentsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.evidently.paginators.ListExperimentsPublisher publisher = client.listExperimentsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.evidently.paginators.ListExperimentsPublisher publisher = client.listExperimentsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.evidently.model.ListExperimentsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.evidently.model.ListExperimentsResponse response) { //... }; });Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listExperiments(software.amazon.awssdk.services.evidently.model.ListExperimentsRequest)operation.- Parameters:
listExperimentsRequest-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The value of a parameter in the request caused an error.
- ResourceNotFoundException The request references a resource that does not exist.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- EvidentlyException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listExperimentsPaginator
default ListExperimentsPublisher listExperimentsPaginator(Consumer<ListExperimentsRequest.Builder> listExperimentsRequest) This is a variant of
listExperiments(software.amazon.awssdk.services.evidently.model.ListExperimentsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.evidently.paginators.ListExperimentsPublisher publisher = client.listExperimentsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.evidently.paginators.ListExperimentsPublisher publisher = client.listExperimentsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.evidently.model.ListExperimentsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.evidently.model.ListExperimentsResponse response) { //... }; });Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listExperiments(software.amazon.awssdk.services.evidently.model.ListExperimentsRequest)operation.
This is a convenience which creates an instance of the
ListExperimentsRequest.Builderavoiding the need to create one manually viaListExperimentsRequest.builder()- Parameters:
listExperimentsRequest- AConsumerthat will call methods onListExperimentsRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The value of a parameter in the request caused an error.
- ResourceNotFoundException The request references a resource that does not exist.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- EvidentlyException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listFeatures
default CompletableFuture<ListFeaturesResponse> listFeatures(ListFeaturesRequest listFeaturesRequest) Returns configuration details about all the features in the specified project.
- Parameters:
listFeaturesRequest-- Returns:
- A Java Future containing the result of the ListFeatures operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException The request was denied because of request throttling. Retry the request.
- ValidationException The value of a parameter in the request caused an error.
- ResourceNotFoundException The request references a resource that does not exist.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- EvidentlyException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listFeatures
default CompletableFuture<ListFeaturesResponse> listFeatures(Consumer<ListFeaturesRequest.Builder> listFeaturesRequest) Returns configuration details about all the features in the specified project.
This is a convenience which creates an instance of the
ListFeaturesRequest.Builderavoiding the need to create one manually viaListFeaturesRequest.builder()- Parameters:
listFeaturesRequest- AConsumerthat will call methods onListFeaturesRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListFeatures operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException The request was denied because of request throttling. Retry the request.
- ValidationException The value of a parameter in the request caused an error.
- ResourceNotFoundException The request references a resource that does not exist.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- EvidentlyException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listFeaturesPaginator
This is a variant of
listFeatures(software.amazon.awssdk.services.evidently.model.ListFeaturesRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.evidently.paginators.ListFeaturesPublisher publisher = client.listFeaturesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.evidently.paginators.ListFeaturesPublisher publisher = client.listFeaturesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.evidently.model.ListFeaturesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.evidently.model.ListFeaturesResponse response) { //... }; });Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listFeatures(software.amazon.awssdk.services.evidently.model.ListFeaturesRequest)operation.- Parameters:
listFeaturesRequest-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException The request was denied because of request throttling. Retry the request.
- ValidationException The value of a parameter in the request caused an error.
- ResourceNotFoundException The request references a resource that does not exist.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- EvidentlyException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listFeaturesPaginator
default ListFeaturesPublisher listFeaturesPaginator(Consumer<ListFeaturesRequest.Builder> listFeaturesRequest) This is a variant of
listFeatures(software.amazon.awssdk.services.evidently.model.ListFeaturesRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.evidently.paginators.ListFeaturesPublisher publisher = client.listFeaturesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.evidently.paginators.ListFeaturesPublisher publisher = client.listFeaturesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.evidently.model.ListFeaturesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.evidently.model.ListFeaturesResponse response) { //... }; });Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listFeatures(software.amazon.awssdk.services.evidently.model.ListFeaturesRequest)operation.
This is a convenience which creates an instance of the
ListFeaturesRequest.Builderavoiding the need to create one manually viaListFeaturesRequest.builder()- Parameters:
listFeaturesRequest- AConsumerthat will call methods onListFeaturesRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException The request was denied because of request throttling. Retry the request.
- ValidationException The value of a parameter in the request caused an error.
- ResourceNotFoundException The request references a resource that does not exist.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- EvidentlyException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listLaunches
default CompletableFuture<ListLaunchesResponse> listLaunches(ListLaunchesRequest listLaunchesRequest) Returns configuration details about all the launches in the specified project.
- Parameters:
listLaunchesRequest-- Returns:
- A Java Future containing the result of the ListLaunches operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException The request was denied because of request throttling. Retry the request.
- ValidationException The value of a parameter in the request caused an error.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- EvidentlyException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listLaunches
default CompletableFuture<ListLaunchesResponse> listLaunches(Consumer<ListLaunchesRequest.Builder> listLaunchesRequest) Returns configuration details about all the launches in the specified project.
This is a convenience which creates an instance of the
ListLaunchesRequest.Builderavoiding the need to create one manually viaListLaunchesRequest.builder()- Parameters:
listLaunchesRequest- AConsumerthat will call methods onListLaunchesRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListLaunches operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException The request was denied because of request throttling. Retry the request.
- ValidationException The value of a parameter in the request caused an error.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- EvidentlyException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listLaunchesPaginator
This is a variant of
listLaunches(software.amazon.awssdk.services.evidently.model.ListLaunchesRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.evidently.paginators.ListLaunchesPublisher publisher = client.listLaunchesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.evidently.paginators.ListLaunchesPublisher publisher = client.listLaunchesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.evidently.model.ListLaunchesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.evidently.model.ListLaunchesResponse response) { //... }; });Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listLaunches(software.amazon.awssdk.services.evidently.model.ListLaunchesRequest)operation.- Parameters:
listLaunchesRequest-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException The request was denied because of request throttling. Retry the request.
- ValidationException The value of a parameter in the request caused an error.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- EvidentlyException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listLaunchesPaginator
default ListLaunchesPublisher listLaunchesPaginator(Consumer<ListLaunchesRequest.Builder> listLaunchesRequest) This is a variant of
listLaunches(software.amazon.awssdk.services.evidently.model.ListLaunchesRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.evidently.paginators.ListLaunchesPublisher publisher = client.listLaunchesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.evidently.paginators.ListLaunchesPublisher publisher = client.listLaunchesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.evidently.model.ListLaunchesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.evidently.model.ListLaunchesResponse response) { //... }; });Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listLaunches(software.amazon.awssdk.services.evidently.model.ListLaunchesRequest)operation.
This is a convenience which creates an instance of the
ListLaunchesRequest.Builderavoiding the need to create one manually viaListLaunchesRequest.builder()- Parameters:
listLaunchesRequest- AConsumerthat will call methods onListLaunchesRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException The request was denied because of request throttling. Retry the request.
- ValidationException The value of a parameter in the request caused an error.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- EvidentlyException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listProjects
default CompletableFuture<ListProjectsResponse> listProjects(ListProjectsRequest listProjectsRequest) Returns configuration details about all the projects in the current Region in your account.
- Parameters:
listProjectsRequest-- Returns:
- A Java Future containing the result of the ListProjects operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException The request was denied because of request throttling. Retry the request.
- ValidationException The value of a parameter in the request caused an error.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- EvidentlyException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listProjects
default CompletableFuture<ListProjectsResponse> listProjects(Consumer<ListProjectsRequest.Builder> listProjectsRequest) Returns configuration details about all the projects in the current Region in your account.
This is a convenience which creates an instance of the
ListProjectsRequest.Builderavoiding the need to create one manually viaListProjectsRequest.builder()- Parameters:
listProjectsRequest- AConsumerthat will call methods onListProjectsRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListProjects operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException The request was denied because of request throttling. Retry the request.
- ValidationException The value of a parameter in the request caused an error.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- EvidentlyException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listProjectsPaginator
This is a variant of
listProjects(software.amazon.awssdk.services.evidently.model.ListProjectsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.evidently.paginators.ListProjectsPublisher publisher = client.listProjectsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.evidently.paginators.ListProjectsPublisher publisher = client.listProjectsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.evidently.model.ListProjectsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.evidently.model.ListProjectsResponse response) { //... }; });Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listProjects(software.amazon.awssdk.services.evidently.model.ListProjectsRequest)operation.- Parameters:
listProjectsRequest-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException The request was denied because of request throttling. Retry the request.
- ValidationException The value of a parameter in the request caused an error.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- EvidentlyException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listProjectsPaginator
default ListProjectsPublisher listProjectsPaginator(Consumer<ListProjectsRequest.Builder> listProjectsRequest) This is a variant of
listProjects(software.amazon.awssdk.services.evidently.model.ListProjectsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.evidently.paginators.ListProjectsPublisher publisher = client.listProjectsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.evidently.paginators.ListProjectsPublisher publisher = client.listProjectsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.evidently.model.ListProjectsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.evidently.model.ListProjectsResponse response) { //... }; });Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listProjects(software.amazon.awssdk.services.evidently.model.ListProjectsRequest)operation.
This is a convenience which creates an instance of the
ListProjectsRequest.Builderavoiding the need to create one manually viaListProjectsRequest.builder()- Parameters:
listProjectsRequest- AConsumerthat will call methods onListProjectsRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException The request was denied because of request throttling. Retry the request.
- ValidationException The value of a parameter in the request caused an error.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- EvidentlyException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listSegmentReferences
default CompletableFuture<ListSegmentReferencesResponse> listSegmentReferences(ListSegmentReferencesRequest listSegmentReferencesRequest) Use this operation to find which experiments or launches are using a specified segment.
- Parameters:
listSegmentReferencesRequest-- Returns:
- A Java Future containing the result of the ListSegmentReferences operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException The request was denied because of request throttling. Retry the request.
- ValidationException The value of a parameter in the request caused an error.
- ResourceNotFoundException The request references a resource that does not exist.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- EvidentlyException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listSegmentReferences
default CompletableFuture<ListSegmentReferencesResponse> listSegmentReferences(Consumer<ListSegmentReferencesRequest.Builder> listSegmentReferencesRequest) Use this operation to find which experiments or launches are using a specified segment.
This is a convenience which creates an instance of the
ListSegmentReferencesRequest.Builderavoiding the need to create one manually viaListSegmentReferencesRequest.builder()- Parameters:
listSegmentReferencesRequest- AConsumerthat will call methods onListSegmentReferencesRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListSegmentReferences operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException The request was denied because of request throttling. Retry the request.
- ValidationException The value of a parameter in the request caused an error.
- ResourceNotFoundException The request references a resource that does not exist.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- EvidentlyException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listSegmentReferencesPaginator
default ListSegmentReferencesPublisher listSegmentReferencesPaginator(ListSegmentReferencesRequest listSegmentReferencesRequest) This is a variant of
listSegmentReferences(software.amazon.awssdk.services.evidently.model.ListSegmentReferencesRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.evidently.paginators.ListSegmentReferencesPublisher publisher = client.listSegmentReferencesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.evidently.paginators.ListSegmentReferencesPublisher publisher = client.listSegmentReferencesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.evidently.model.ListSegmentReferencesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.evidently.model.ListSegmentReferencesResponse response) { //... }; });Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listSegmentReferences(software.amazon.awssdk.services.evidently.model.ListSegmentReferencesRequest)operation.- Parameters:
listSegmentReferencesRequest-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException The request was denied because of request throttling. Retry the request.
- ValidationException The value of a parameter in the request caused an error.
- ResourceNotFoundException The request references a resource that does not exist.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- EvidentlyException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listSegmentReferencesPaginator
default ListSegmentReferencesPublisher listSegmentReferencesPaginator(Consumer<ListSegmentReferencesRequest.Builder> listSegmentReferencesRequest) This is a variant of
listSegmentReferences(software.amazon.awssdk.services.evidently.model.ListSegmentReferencesRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.evidently.paginators.ListSegmentReferencesPublisher publisher = client.listSegmentReferencesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.evidently.paginators.ListSegmentReferencesPublisher publisher = client.listSegmentReferencesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.evidently.model.ListSegmentReferencesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.evidently.model.ListSegmentReferencesResponse response) { //... }; });Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listSegmentReferences(software.amazon.awssdk.services.evidently.model.ListSegmentReferencesRequest)operation.
This is a convenience which creates an instance of the
ListSegmentReferencesRequest.Builderavoiding the need to create one manually viaListSegmentReferencesRequest.builder()- Parameters:
listSegmentReferencesRequest- AConsumerthat will call methods onListSegmentReferencesRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException The request was denied because of request throttling. Retry the request.
- ValidationException The value of a parameter in the request caused an error.
- ResourceNotFoundException The request references a resource that does not exist.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- EvidentlyException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listSegments
default CompletableFuture<ListSegmentsResponse> listSegments(ListSegmentsRequest listSegmentsRequest) Returns a list of audience segments that you have created in your account in this Region.
- Parameters:
listSegmentsRequest-- Returns:
- A Java Future containing the result of the ListSegments operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException The request was denied because of request throttling. Retry the request.
- ValidationException The value of a parameter in the request caused an error.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- EvidentlyException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listSegments
default CompletableFuture<ListSegmentsResponse> listSegments(Consumer<ListSegmentsRequest.Builder> listSegmentsRequest) Returns a list of audience segments that you have created in your account in this Region.
This is a convenience which creates an instance of the
ListSegmentsRequest.Builderavoiding the need to create one manually viaListSegmentsRequest.builder()- Parameters:
listSegmentsRequest- AConsumerthat will call methods onListSegmentsRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListSegments operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException The request was denied because of request throttling. Retry the request.
- ValidationException The value of a parameter in the request caused an error.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- EvidentlyException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listSegmentsPaginator
This is a variant of
listSegments(software.amazon.awssdk.services.evidently.model.ListSegmentsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.evidently.paginators.ListSegmentsPublisher publisher = client.listSegmentsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.evidently.paginators.ListSegmentsPublisher publisher = client.listSegmentsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.evidently.model.ListSegmentsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.evidently.model.ListSegmentsResponse response) { //... }; });Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listSegments(software.amazon.awssdk.services.evidently.model.ListSegmentsRequest)operation.- Parameters:
listSegmentsRequest-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException The request was denied because of request throttling. Retry the request.
- ValidationException The value of a parameter in the request caused an error.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- EvidentlyException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listSegmentsPaginator
default ListSegmentsPublisher listSegmentsPaginator(Consumer<ListSegmentsRequest.Builder> listSegmentsRequest) This is a variant of
listSegments(software.amazon.awssdk.services.evidently.model.ListSegmentsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.evidently.paginators.ListSegmentsPublisher publisher = client.listSegmentsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.evidently.paginators.ListSegmentsPublisher publisher = client.listSegmentsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.evidently.model.ListSegmentsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.evidently.model.ListSegmentsResponse response) { //... }; });Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listSegments(software.amazon.awssdk.services.evidently.model.ListSegmentsRequest)operation.
This is a convenience which creates an instance of the
ListSegmentsRequest.Builderavoiding the need to create one manually viaListSegmentsRequest.builder()- Parameters:
listSegmentsRequest- AConsumerthat will call methods onListSegmentsRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException The request was denied because of request throttling. Retry the request.
- ValidationException The value of a parameter in the request caused an error.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- EvidentlyException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listTagsForResource
default CompletableFuture<ListTagsForResourceResponse> listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest) Displays the tags associated with an Evidently resource.
- Parameters:
listTagsForResourceRequest-- Returns:
- A Java Future containing the result of the ListTagsForResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The value of a parameter in the request caused an error.
- ConflictException A resource was in an inconsistent state during an update or a deletion.
- ResourceNotFoundException The request references a resource that does not exist.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- EvidentlyException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listTagsForResource
default CompletableFuture<ListTagsForResourceResponse> listTagsForResource(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest) Displays the tags associated with an Evidently resource.
This is a convenience which creates an instance of the
ListTagsForResourceRequest.Builderavoiding the need to create one manually viaListTagsForResourceRequest.builder()- Parameters:
listTagsForResourceRequest- AConsumerthat will call methods onListTagsForResourceRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListTagsForResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The value of a parameter in the request caused an error.
- ConflictException A resource was in an inconsistent state during an update or a deletion.
- ResourceNotFoundException The request references a resource that does not exist.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- EvidentlyException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
putProjectEvents
default CompletableFuture<PutProjectEventsResponse> putProjectEvents(PutProjectEventsRequest putProjectEventsRequest) Sends performance events to Evidently. These events can be used to evaluate a launch or an experiment.
- Parameters:
putProjectEventsRequest-- Returns:
- A Java Future containing the result of the PutProjectEvents operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException The request was denied because of request throttling. Retry the request.
- ValidationException The value of a parameter in the request caused an error.
- ResourceNotFoundException The request references a resource that does not exist.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- EvidentlyException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
putProjectEvents
default CompletableFuture<PutProjectEventsResponse> putProjectEvents(Consumer<PutProjectEventsRequest.Builder> putProjectEventsRequest) Sends performance events to Evidently. These events can be used to evaluate a launch or an experiment.
This is a convenience which creates an instance of the
PutProjectEventsRequest.Builderavoiding the need to create one manually viaPutProjectEventsRequest.builder()- Parameters:
putProjectEventsRequest- AConsumerthat will call methods onPutProjectEventsRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the PutProjectEvents operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException The request was denied because of request throttling. Retry the request.
- ValidationException The value of a parameter in the request caused an error.
- ResourceNotFoundException The request references a resource that does not exist.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- EvidentlyException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
startExperiment
default CompletableFuture<StartExperimentResponse> startExperiment(StartExperimentRequest startExperimentRequest) Starts an existing experiment. To create an experiment, use CreateExperiment.
- Parameters:
startExperimentRequest-- Returns:
- A Java Future containing the result of the StartExperiment operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException The request was denied because of request throttling. Retry the request.
- ValidationException The value of a parameter in the request caused an error.
- ConflictException A resource was in an inconsistent state during an update or a deletion.
- ServiceQuotaExceededException The request would cause a service quota to be exceeded.
- ResourceNotFoundException The request references a resource that does not exist.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- EvidentlyException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
startExperiment
default CompletableFuture<StartExperimentResponse> startExperiment(Consumer<StartExperimentRequest.Builder> startExperimentRequest) Starts an existing experiment. To create an experiment, use CreateExperiment.
This is a convenience which creates an instance of the
StartExperimentRequest.Builderavoiding the need to create one manually viaStartExperimentRequest.builder()- Parameters:
startExperimentRequest- AConsumerthat will call methods onStartExperimentRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the StartExperiment operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException The request was denied because of request throttling. Retry the request.
- ValidationException The value of a parameter in the request caused an error.
- ConflictException A resource was in an inconsistent state during an update or a deletion.
- ServiceQuotaExceededException The request would cause a service quota to be exceeded.
- ResourceNotFoundException The request references a resource that does not exist.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- EvidentlyException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
startLaunch
Starts an existing launch. To create a launch, use CreateLaunch.
- Parameters:
startLaunchRequest-- Returns:
- A Java Future containing the result of the StartLaunch operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException The request was denied because of request throttling. Retry the request.
- ValidationException The value of a parameter in the request caused an error.
- ConflictException A resource was in an inconsistent state during an update or a deletion.
- ServiceQuotaExceededException The request would cause a service quota to be exceeded.
- ResourceNotFoundException The request references a resource that does not exist.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- EvidentlyException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
startLaunch
default CompletableFuture<StartLaunchResponse> startLaunch(Consumer<StartLaunchRequest.Builder> startLaunchRequest) Starts an existing launch. To create a launch, use CreateLaunch.
This is a convenience which creates an instance of the
StartLaunchRequest.Builderavoiding the need to create one manually viaStartLaunchRequest.builder()- Parameters:
startLaunchRequest- AConsumerthat will call methods onStartLaunchRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the StartLaunch operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException The request was denied because of request throttling. Retry the request.
- ValidationException The value of a parameter in the request caused an error.
- ConflictException A resource was in an inconsistent state during an update or a deletion.
- ServiceQuotaExceededException The request would cause a service quota to be exceeded.
- ResourceNotFoundException The request references a resource that does not exist.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- EvidentlyException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
stopExperiment
default CompletableFuture<StopExperimentResponse> stopExperiment(StopExperimentRequest stopExperimentRequest) Stops an experiment that is currently running. If you stop an experiment, you can't resume it or restart it.
- Parameters:
stopExperimentRequest-- Returns:
- A Java Future containing the result of the StopExperiment operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException The request was denied because of request throttling. Retry the request.
- ValidationException The value of a parameter in the request caused an error.
- ConflictException A resource was in an inconsistent state during an update or a deletion.
- ServiceQuotaExceededException The request would cause a service quota to be exceeded.
- ResourceNotFoundException The request references a resource that does not exist.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- EvidentlyException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
stopExperiment
default CompletableFuture<StopExperimentResponse> stopExperiment(Consumer<StopExperimentRequest.Builder> stopExperimentRequest) Stops an experiment that is currently running. If you stop an experiment, you can't resume it or restart it.
This is a convenience which creates an instance of the
StopExperimentRequest.Builderavoiding the need to create one manually viaStopExperimentRequest.builder()- Parameters:
stopExperimentRequest- AConsumerthat will call methods onStopExperimentRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the StopExperiment operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException The request was denied because of request throttling. Retry the request.
- ValidationException The value of a parameter in the request caused an error.
- ConflictException A resource was in an inconsistent state during an update or a deletion.
- ServiceQuotaExceededException The request would cause a service quota to be exceeded.
- ResourceNotFoundException The request references a resource that does not exist.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- EvidentlyException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
stopLaunch
Stops a launch that is currently running. After you stop a launch, you will not be able to resume it or restart it. Also, it will not be evaluated as a rule for traffic allocation, and the traffic that was allocated to the launch will instead be available to the feature's experiment, if there is one. Otherwise, all traffic will be served the default variation after the launch is stopped.
- Parameters:
stopLaunchRequest-- Returns:
- A Java Future containing the result of the StopLaunch operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException The request was denied because of request throttling. Retry the request.
- ValidationException The value of a parameter in the request caused an error.
- ResourceNotFoundException The request references a resource that does not exist.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- EvidentlyException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
stopLaunch
default CompletableFuture<StopLaunchResponse> stopLaunch(Consumer<StopLaunchRequest.Builder> stopLaunchRequest) Stops a launch that is currently running. After you stop a launch, you will not be able to resume it or restart it. Also, it will not be evaluated as a rule for traffic allocation, and the traffic that was allocated to the launch will instead be available to the feature's experiment, if there is one. Otherwise, all traffic will be served the default variation after the launch is stopped.
This is a convenience which creates an instance of the
StopLaunchRequest.Builderavoiding the need to create one manually viaStopLaunchRequest.builder()- Parameters:
stopLaunchRequest- AConsumerthat will call methods onStopLaunchRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the StopLaunch operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException The request was denied because of request throttling. Retry the request.
- ValidationException The value of a parameter in the request caused an error.
- ResourceNotFoundException The request references a resource that does not exist.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- EvidentlyException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
tagResource
Assigns one or more tags (key-value pairs) to the specified CloudWatch Evidently resource. Projects, features, launches, and experiments can be tagged.
Tags can help you organize and categorize your resources. You can also use them to scope user permissions by granting a user permission to access or change only resources with certain tag values.
Tags don't have any semantic meaning to Amazon Web Services and are interpreted strictly as strings of characters.
You can use the
TagResourceaction with a resource that already has tags. If you specify a new tag key for the resource, this tag is appended to the list of tags associated with the alarm. If you specify a tag key that is already associated with the resource, the new tag value that you specify replaces the previous value for that tag.You can associate as many as 50 tags with a resource.
For more information, see Tagging Amazon Web Services resources.
- Parameters:
tagResourceRequest-- Returns:
- A Java Future containing the result of the TagResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The value of a parameter in the request caused an error.
- ConflictException A resource was in an inconsistent state during an update or a deletion.
- ResourceNotFoundException The request references a resource that does not exist.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- EvidentlyException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
tagResource
default CompletableFuture<TagResourceResponse> tagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest) Assigns one or more tags (key-value pairs) to the specified CloudWatch Evidently resource. Projects, features, launches, and experiments can be tagged.
Tags can help you organize and categorize your resources. You can also use them to scope user permissions by granting a user permission to access or change only resources with certain tag values.
Tags don't have any semantic meaning to Amazon Web Services and are interpreted strictly as strings of characters.
You can use the
TagResourceaction with a resource that already has tags. If you specify a new tag key for the resource, this tag is appended to the list of tags associated with the alarm. If you specify a tag key that is already associated with the resource, the new tag value that you specify replaces the previous value for that tag.You can associate as many as 50 tags with a resource.
For more information, see Tagging Amazon Web Services resources.
This is a convenience which creates an instance of the
TagResourceRequest.Builderavoiding the need to create one manually viaTagResourceRequest.builder()- Parameters:
tagResourceRequest- AConsumerthat will call methods onTagResourceRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the TagResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The value of a parameter in the request caused an error.
- ConflictException A resource was in an inconsistent state during an update or a deletion.
- ResourceNotFoundException The request references a resource that does not exist.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- EvidentlyException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
testSegmentPattern
default CompletableFuture<TestSegmentPatternResponse> testSegmentPattern(TestSegmentPatternRequest testSegmentPatternRequest) Use this operation to test a rules pattern that you plan to use to create an audience segment. For more information about segments, see CreateSegment.
- Parameters:
testSegmentPatternRequest-- Returns:
- A Java Future containing the result of the TestSegmentPattern operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException The request was denied because of request throttling. Retry the request.
- ValidationException The value of a parameter in the request caused an error.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- EvidentlyException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
testSegmentPattern
default CompletableFuture<TestSegmentPatternResponse> testSegmentPattern(Consumer<TestSegmentPatternRequest.Builder> testSegmentPatternRequest) Use this operation to test a rules pattern that you plan to use to create an audience segment. For more information about segments, see CreateSegment.
This is a convenience which creates an instance of the
TestSegmentPatternRequest.Builderavoiding the need to create one manually viaTestSegmentPatternRequest.builder()- Parameters:
testSegmentPatternRequest- AConsumerthat will call methods onTestSegmentPatternRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the TestSegmentPattern operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ThrottlingException The request was denied because of request throttling. Retry the request.
- ValidationException The value of a parameter in the request caused an error.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- EvidentlyException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
untagResource
default CompletableFuture<UntagResourceResponse> untagResource(UntagResourceRequest untagResourceRequest) Removes one or more tags from the specified resource.
- Parameters:
untagResourceRequest-- Returns:
- A Java Future containing the result of the UntagResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The value of a parameter in the request caused an error.
- ConflictException A resource was in an inconsistent state during an update or a deletion.
- ResourceNotFoundException The request references a resource that does not exist.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- EvidentlyException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
untagResource
default CompletableFuture<UntagResourceResponse> untagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest) Removes one or more tags from the specified resource.
This is a convenience which creates an instance of the
UntagResourceRequest.Builderavoiding the need to create one manually viaUntagResourceRequest.builder()- Parameters:
untagResourceRequest- AConsumerthat will call methods onUntagResourceRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the UntagResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The value of a parameter in the request caused an error.
- ConflictException A resource was in an inconsistent state during an update or a deletion.
- ResourceNotFoundException The request references a resource that does not exist.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- EvidentlyException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateExperiment
default CompletableFuture<UpdateExperimentResponse> updateExperiment(UpdateExperimentRequest updateExperimentRequest) Updates an Evidently experiment.
Don't use this operation to update an experiment's tag. Instead, use TagResource.
- Parameters:
updateExperimentRequest-- Returns:
- A Java Future containing the result of the UpdateExperiment operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The value of a parameter in the request caused an error.
- ConflictException A resource was in an inconsistent state during an update or a deletion.
- ResourceNotFoundException The request references a resource that does not exist.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- EvidentlyException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateExperiment
default CompletableFuture<UpdateExperimentResponse> updateExperiment(Consumer<UpdateExperimentRequest.Builder> updateExperimentRequest) Updates an Evidently experiment.
Don't use this operation to update an experiment's tag. Instead, use TagResource.
This is a convenience which creates an instance of the
UpdateExperimentRequest.Builderavoiding the need to create one manually viaUpdateExperimentRequest.builder()- Parameters:
updateExperimentRequest- AConsumerthat will call methods onUpdateExperimentRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the UpdateExperiment operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The value of a parameter in the request caused an error.
- ConflictException A resource was in an inconsistent state during an update or a deletion.
- ResourceNotFoundException The request references a resource that does not exist.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- EvidentlyException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateFeature
default CompletableFuture<UpdateFeatureResponse> updateFeature(UpdateFeatureRequest updateFeatureRequest) Updates an existing feature.
You can't use this operation to update the tags of an existing feature. Instead, use TagResource.
- Parameters:
updateFeatureRequest-- Returns:
- A Java Future containing the result of the UpdateFeature operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The value of a parameter in the request caused an error.
- ConflictException A resource was in an inconsistent state during an update or a deletion.
- ServiceQuotaExceededException The request would cause a service quota to be exceeded.
- ResourceNotFoundException The request references a resource that does not exist.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- EvidentlyException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateFeature
default CompletableFuture<UpdateFeatureResponse> updateFeature(Consumer<UpdateFeatureRequest.Builder> updateFeatureRequest) Updates an existing feature.
You can't use this operation to update the tags of an existing feature. Instead, use TagResource.
This is a convenience which creates an instance of the
UpdateFeatureRequest.Builderavoiding the need to create one manually viaUpdateFeatureRequest.builder()- Parameters:
updateFeatureRequest- AConsumerthat will call methods onUpdateFeatureRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the UpdateFeature operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The value of a parameter in the request caused an error.
- ConflictException A resource was in an inconsistent state during an update or a deletion.
- ServiceQuotaExceededException The request would cause a service quota to be exceeded.
- ResourceNotFoundException The request references a resource that does not exist.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- EvidentlyException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateLaunch
default CompletableFuture<UpdateLaunchResponse> updateLaunch(UpdateLaunchRequest updateLaunchRequest) Updates a launch of a given feature.
Don't use this operation to update the tags of an existing launch. Instead, use TagResource.
- Parameters:
updateLaunchRequest-- Returns:
- A Java Future containing the result of the UpdateLaunch operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The value of a parameter in the request caused an error.
- ConflictException A resource was in an inconsistent state during an update or a deletion.
- ResourceNotFoundException The request references a resource that does not exist.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- EvidentlyException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateLaunch
default CompletableFuture<UpdateLaunchResponse> updateLaunch(Consumer<UpdateLaunchRequest.Builder> updateLaunchRequest) Updates a launch of a given feature.
Don't use this operation to update the tags of an existing launch. Instead, use TagResource.
This is a convenience which creates an instance of the
UpdateLaunchRequest.Builderavoiding the need to create one manually viaUpdateLaunchRequest.builder()- Parameters:
updateLaunchRequest- AConsumerthat will call methods onUpdateLaunchRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the UpdateLaunch operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The value of a parameter in the request caused an error.
- ConflictException A resource was in an inconsistent state during an update or a deletion.
- ResourceNotFoundException The request references a resource that does not exist.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- EvidentlyException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateProject
default CompletableFuture<UpdateProjectResponse> updateProject(UpdateProjectRequest updateProjectRequest) Updates the description of an existing project.
To create a new project, use CreateProject.
Don't use this operation to update the data storage options of a project. Instead, use UpdateProjectDataDelivery.
Don't use this operation to update the tags of a project. Instead, use TagResource.
- Parameters:
updateProjectRequest-- Returns:
- A Java Future containing the result of the UpdateProject operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The value of a parameter in the request caused an error.
- ConflictException A resource was in an inconsistent state during an update or a deletion.
- ServiceQuotaExceededException The request would cause a service quota to be exceeded.
- ResourceNotFoundException The request references a resource that does not exist.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- EvidentlyException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateProject
default CompletableFuture<UpdateProjectResponse> updateProject(Consumer<UpdateProjectRequest.Builder> updateProjectRequest) Updates the description of an existing project.
To create a new project, use CreateProject.
Don't use this operation to update the data storage options of a project. Instead, use UpdateProjectDataDelivery.
Don't use this operation to update the tags of a project. Instead, use TagResource.
This is a convenience which creates an instance of the
UpdateProjectRequest.Builderavoiding the need to create one manually viaUpdateProjectRequest.builder()- Parameters:
updateProjectRequest- AConsumerthat will call methods onUpdateProjectRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the UpdateProject operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The value of a parameter in the request caused an error.
- ConflictException A resource was in an inconsistent state during an update or a deletion.
- ServiceQuotaExceededException The request would cause a service quota to be exceeded.
- ResourceNotFoundException The request references a resource that does not exist.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- EvidentlyException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateProjectDataDelivery
default CompletableFuture<UpdateProjectDataDeliveryResponse> updateProjectDataDelivery(UpdateProjectDataDeliveryRequest updateProjectDataDeliveryRequest) Updates the data storage options for this project. If you store evaluation events, you an keep them and analyze them on your own. If you choose not to store evaluation events, Evidently deletes them after using them to produce metrics and other experiment results that you can view.
You can't specify both
cloudWatchLogsands3Destinationin the same operation.- Parameters:
updateProjectDataDeliveryRequest-- Returns:
- A Java Future containing the result of the UpdateProjectDataDelivery operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The value of a parameter in the request caused an error.
- ConflictException A resource was in an inconsistent state during an update or a deletion.
- ServiceQuotaExceededException The request would cause a service quota to be exceeded.
- ResourceNotFoundException The request references a resource that does not exist.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- EvidentlyException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateProjectDataDelivery
default CompletableFuture<UpdateProjectDataDeliveryResponse> updateProjectDataDelivery(Consumer<UpdateProjectDataDeliveryRequest.Builder> updateProjectDataDeliveryRequest) Updates the data storage options for this project. If you store evaluation events, you an keep them and analyze them on your own. If you choose not to store evaluation events, Evidently deletes them after using them to produce metrics and other experiment results that you can view.
You can't specify both
cloudWatchLogsands3Destinationin the same operation.
This is a convenience which creates an instance of the
UpdateProjectDataDeliveryRequest.Builderavoiding the need to create one manually viaUpdateProjectDataDeliveryRequest.builder()- Parameters:
updateProjectDataDeliveryRequest- AConsumerthat will call methods onUpdateProjectDataDeliveryRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the UpdateProjectDataDelivery operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException The value of a parameter in the request caused an error.
- ConflictException A resource was in an inconsistent state during an update or a deletion.
- ServiceQuotaExceededException The request would cause a service quota to be exceeded.
- ResourceNotFoundException The request references a resource that does not exist.
- AccessDeniedException You do not have sufficient permissions to perform this action.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- EvidentlyException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
serviceClientConfiguration
Description copied from interface:SdkClientThe SDK service client configuration exposes client settings to the user, e.g., ClientOverrideConfiguration- Specified by:
serviceClientConfigurationin interfaceAwsClient- Specified by:
serviceClientConfigurationin interfaceSdkClient- Returns:
- SdkServiceClientConfiguration
-
create
Create aEvidentlyAsyncClientwith the region loaded from theDefaultAwsRegionProviderChainand credentials loaded from theDefaultCredentialsProvider. -
builder
Create a builder that can be used to configure and create aEvidentlyAsyncClient.
-