Interface EvidentlyClient
- All Superinterfaces:
AutoCloseable,AwsClient,SdkAutoCloseable,SdkClient
builder()
method.
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 TypeMethodDescriptiondefault BatchEvaluateFeatureResponsebatchEvaluateFeature(Consumer<BatchEvaluateFeatureRequest.Builder> batchEvaluateFeatureRequest) This operation assigns feature variation to user sessions.default BatchEvaluateFeatureResponsebatchEvaluateFeature(BatchEvaluateFeatureRequest batchEvaluateFeatureRequest) This operation assigns feature variation to user sessions.static EvidentlyClientBuilderbuilder()Create a builder that can be used to configure and create aEvidentlyClient.static EvidentlyClientcreate()Create aEvidentlyClientwith the region loaded from theDefaultAwsRegionProviderChainand credentials loaded from theDefaultCredentialsProvider.default CreateExperimentResponsecreateExperiment(Consumer<CreateExperimentRequest.Builder> createExperimentRequest) Creates an Evidently experiment.default CreateExperimentResponsecreateExperiment(CreateExperimentRequest createExperimentRequest) Creates an Evidently experiment.default CreateFeatureResponsecreateFeature(Consumer<CreateFeatureRequest.Builder> createFeatureRequest) Creates an Evidently feature that you want to launch or test.default CreateFeatureResponsecreateFeature(CreateFeatureRequest createFeatureRequest) Creates an Evidently feature that you want to launch or test.default CreateLaunchResponsecreateLaunch(Consumer<CreateLaunchRequest.Builder> createLaunchRequest) Creates a launch of a given feature.default CreateLaunchResponsecreateLaunch(CreateLaunchRequest createLaunchRequest) Creates a launch of a given feature.default CreateProjectResponsecreateProject(Consumer<CreateProjectRequest.Builder> createProjectRequest) Creates a project, which is the logical object in Evidently that can contain features, launches, and experiments.default CreateProjectResponsecreateProject(CreateProjectRequest createProjectRequest) Creates a project, which is the logical object in Evidently that can contain features, launches, and experiments.default CreateSegmentResponsecreateSegment(Consumer<CreateSegmentRequest.Builder> createSegmentRequest) Use this operation to define a segment of your audience.default CreateSegmentResponsecreateSegment(CreateSegmentRequest createSegmentRequest) Use this operation to define a segment of your audience.default DeleteExperimentResponsedeleteExperiment(Consumer<DeleteExperimentRequest.Builder> deleteExperimentRequest) Deletes an Evidently experiment.default DeleteExperimentResponsedeleteExperiment(DeleteExperimentRequest deleteExperimentRequest) Deletes an Evidently experiment.default DeleteFeatureResponsedeleteFeature(Consumer<DeleteFeatureRequest.Builder> deleteFeatureRequest) Deletes an Evidently feature.default DeleteFeatureResponsedeleteFeature(DeleteFeatureRequest deleteFeatureRequest) Deletes an Evidently feature.default DeleteLaunchResponsedeleteLaunch(Consumer<DeleteLaunchRequest.Builder> deleteLaunchRequest) Deletes an Evidently launch.default DeleteLaunchResponsedeleteLaunch(DeleteLaunchRequest deleteLaunchRequest) Deletes an Evidently launch.default DeleteProjectResponsedeleteProject(Consumer<DeleteProjectRequest.Builder> deleteProjectRequest) Deletes an Evidently project.default DeleteProjectResponsedeleteProject(DeleteProjectRequest deleteProjectRequest) Deletes an Evidently project.default DeleteSegmentResponsedeleteSegment(Consumer<DeleteSegmentRequest.Builder> deleteSegmentRequest) Deletes a segment.default DeleteSegmentResponsedeleteSegment(DeleteSegmentRequest deleteSegmentRequest) Deletes a segment.default EvaluateFeatureResponseevaluateFeature(Consumer<EvaluateFeatureRequest.Builder> evaluateFeatureRequest) This operation assigns a feature variation to one given user session.default EvaluateFeatureResponseevaluateFeature(EvaluateFeatureRequest evaluateFeatureRequest) This operation assigns a feature variation to one given user session.default GetExperimentResponsegetExperiment(Consumer<GetExperimentRequest.Builder> getExperimentRequest) Returns the details about one experiment.default GetExperimentResponsegetExperiment(GetExperimentRequest getExperimentRequest) Returns the details about one experiment.default GetExperimentResultsResponsegetExperimentResults(Consumer<GetExperimentResultsRequest.Builder> getExperimentResultsRequest) Retrieves the results of a running or completed experiment.default GetExperimentResultsResponsegetExperimentResults(GetExperimentResultsRequest getExperimentResultsRequest) Retrieves the results of a running or completed experiment.default GetFeatureResponsegetFeature(Consumer<GetFeatureRequest.Builder> getFeatureRequest) Returns the details about one feature.default GetFeatureResponsegetFeature(GetFeatureRequest getFeatureRequest) Returns the details about one feature.default GetLaunchResponsegetLaunch(Consumer<GetLaunchRequest.Builder> getLaunchRequest) Returns the details about one launch.default GetLaunchResponsegetLaunch(GetLaunchRequest getLaunchRequest) Returns the details about one launch.default GetProjectResponsegetProject(Consumer<GetProjectRequest.Builder> getProjectRequest) Returns the details about one launch.default GetProjectResponsegetProject(GetProjectRequest getProjectRequest) Returns the details about one launch.default GetSegmentResponsegetSegment(Consumer<GetSegmentRequest.Builder> getSegmentRequest) Returns information about the specified segment.default GetSegmentResponsegetSegment(GetSegmentRequest getSegmentRequest) Returns information about the specified segment.default ListExperimentsResponselistExperiments(Consumer<ListExperimentsRequest.Builder> listExperimentsRequest) Returns configuration details about all the experiments in the specified project.default ListExperimentsResponselistExperiments(ListExperimentsRequest listExperimentsRequest) Returns configuration details about all the experiments in the specified project.default ListExperimentsIterablelistExperimentsPaginator(Consumer<ListExperimentsRequest.Builder> listExperimentsRequest) This is a variant oflistExperiments(software.amazon.awssdk.services.evidently.model.ListExperimentsRequest)operation.default ListExperimentsIterablelistExperimentsPaginator(ListExperimentsRequest listExperimentsRequest) This is a variant oflistExperiments(software.amazon.awssdk.services.evidently.model.ListExperimentsRequest)operation.default ListFeaturesResponselistFeatures(Consumer<ListFeaturesRequest.Builder> listFeaturesRequest) Returns configuration details about all the features in the specified project.default ListFeaturesResponselistFeatures(ListFeaturesRequest listFeaturesRequest) Returns configuration details about all the features in the specified project.default ListFeaturesIterablelistFeaturesPaginator(Consumer<ListFeaturesRequest.Builder> listFeaturesRequest) This is a variant oflistFeatures(software.amazon.awssdk.services.evidently.model.ListFeaturesRequest)operation.default ListFeaturesIterablelistFeaturesPaginator(ListFeaturesRequest listFeaturesRequest) This is a variant oflistFeatures(software.amazon.awssdk.services.evidently.model.ListFeaturesRequest)operation.default ListLaunchesResponselistLaunches(Consumer<ListLaunchesRequest.Builder> listLaunchesRequest) Returns configuration details about all the launches in the specified project.default ListLaunchesResponselistLaunches(ListLaunchesRequest listLaunchesRequest) Returns configuration details about all the launches in the specified project.default ListLaunchesIterablelistLaunchesPaginator(Consumer<ListLaunchesRequest.Builder> listLaunchesRequest) This is a variant oflistLaunches(software.amazon.awssdk.services.evidently.model.ListLaunchesRequest)operation.default ListLaunchesIterablelistLaunchesPaginator(ListLaunchesRequest listLaunchesRequest) This is a variant oflistLaunches(software.amazon.awssdk.services.evidently.model.ListLaunchesRequest)operation.default ListProjectsResponselistProjects(Consumer<ListProjectsRequest.Builder> listProjectsRequest) Returns configuration details about all the projects in the current Region in your account.default ListProjectsResponselistProjects(ListProjectsRequest listProjectsRequest) Returns configuration details about all the projects in the current Region in your account.default ListProjectsIterablelistProjectsPaginator(Consumer<ListProjectsRequest.Builder> listProjectsRequest) This is a variant oflistProjects(software.amazon.awssdk.services.evidently.model.ListProjectsRequest)operation.default ListProjectsIterablelistProjectsPaginator(ListProjectsRequest listProjectsRequest) This is a variant oflistProjects(software.amazon.awssdk.services.evidently.model.ListProjectsRequest)operation.default ListSegmentReferencesResponselistSegmentReferences(Consumer<ListSegmentReferencesRequest.Builder> listSegmentReferencesRequest) Use this operation to find which experiments or launches are using a specified segment.default ListSegmentReferencesResponselistSegmentReferences(ListSegmentReferencesRequest listSegmentReferencesRequest) Use this operation to find which experiments or launches are using a specified segment.default ListSegmentReferencesIterablelistSegmentReferencesPaginator(Consumer<ListSegmentReferencesRequest.Builder> listSegmentReferencesRequest) This is a variant oflistSegmentReferences(software.amazon.awssdk.services.evidently.model.ListSegmentReferencesRequest)operation.default ListSegmentReferencesIterablelistSegmentReferencesPaginator(ListSegmentReferencesRequest listSegmentReferencesRequest) This is a variant oflistSegmentReferences(software.amazon.awssdk.services.evidently.model.ListSegmentReferencesRequest)operation.default ListSegmentsResponselistSegments(Consumer<ListSegmentsRequest.Builder> listSegmentsRequest) Returns a list of audience segments that you have created in your account in this Region.default ListSegmentsResponselistSegments(ListSegmentsRequest listSegmentsRequest) Returns a list of audience segments that you have created in your account in this Region.default ListSegmentsIterablelistSegmentsPaginator(Consumer<ListSegmentsRequest.Builder> listSegmentsRequest) This is a variant oflistSegments(software.amazon.awssdk.services.evidently.model.ListSegmentsRequest)operation.default ListSegmentsIterablelistSegmentsPaginator(ListSegmentsRequest listSegmentsRequest) This is a variant oflistSegments(software.amazon.awssdk.services.evidently.model.ListSegmentsRequest)operation.default ListTagsForResourceResponselistTagsForResource(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest) Displays the tags associated with an Evidently resource.default ListTagsForResourceResponselistTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest) Displays the tags associated with an Evidently resource.default PutProjectEventsResponseputProjectEvents(Consumer<PutProjectEventsRequest.Builder> putProjectEventsRequest) Sends performance events to Evidently.default PutProjectEventsResponseputProjectEvents(PutProjectEventsRequest putProjectEventsRequest) Sends performance events to Evidently.The SDK service client configuration exposes client settings to the user, e.g., ClientOverrideConfigurationstatic ServiceMetadatadefault StartExperimentResponsestartExperiment(Consumer<StartExperimentRequest.Builder> startExperimentRequest) Starts an existing experiment.default StartExperimentResponsestartExperiment(StartExperimentRequest startExperimentRequest) Starts an existing experiment.default StartLaunchResponsestartLaunch(Consumer<StartLaunchRequest.Builder> startLaunchRequest) Starts an existing launch.default StartLaunchResponsestartLaunch(StartLaunchRequest startLaunchRequest) Starts an existing launch.default StopExperimentResponsestopExperiment(Consumer<StopExperimentRequest.Builder> stopExperimentRequest) Stops an experiment that is currently running.default StopExperimentResponsestopExperiment(StopExperimentRequest stopExperimentRequest) Stops an experiment that is currently running.default StopLaunchResponsestopLaunch(Consumer<StopLaunchRequest.Builder> stopLaunchRequest) Stops a launch that is currently running.default StopLaunchResponsestopLaunch(StopLaunchRequest stopLaunchRequest) Stops a launch that is currently running.default TagResourceResponsetagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest) Assigns one or more tags (key-value pairs) to the specified CloudWatch Evidently resource.default TagResourceResponsetagResource(TagResourceRequest tagResourceRequest) Assigns one or more tags (key-value pairs) to the specified CloudWatch Evidently resource.default TestSegmentPatternResponsetestSegmentPattern(Consumer<TestSegmentPatternRequest.Builder> testSegmentPatternRequest) Use this operation to test a rules pattern that you plan to use to create an audience segment.default TestSegmentPatternResponsetestSegmentPattern(TestSegmentPatternRequest testSegmentPatternRequest) Use this operation to test a rules pattern that you plan to use to create an audience segment.default UntagResourceResponseuntagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest) Removes one or more tags from the specified resource.default UntagResourceResponseuntagResource(UntagResourceRequest untagResourceRequest) Removes one or more tags from the specified resource.default UpdateExperimentResponseupdateExperiment(Consumer<UpdateExperimentRequest.Builder> updateExperimentRequest) Updates an Evidently experiment.default UpdateExperimentResponseupdateExperiment(UpdateExperimentRequest updateExperimentRequest) Updates an Evidently experiment.default UpdateFeatureResponseupdateFeature(Consumer<UpdateFeatureRequest.Builder> updateFeatureRequest) Updates an existing feature.default UpdateFeatureResponseupdateFeature(UpdateFeatureRequest updateFeatureRequest) Updates an existing feature.default UpdateLaunchResponseupdateLaunch(Consumer<UpdateLaunchRequest.Builder> updateLaunchRequest) Updates a launch of a given feature.default UpdateLaunchResponseupdateLaunch(UpdateLaunchRequest updateLaunchRequest) Updates a launch of a given feature.default UpdateProjectResponseupdateProject(Consumer<UpdateProjectRequest.Builder> updateProjectRequest) Updates the description of an existing project.default UpdateProjectResponseupdateProject(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 BatchEvaluateFeatureResponse batchEvaluateFeature(BatchEvaluateFeatureRequest batchEvaluateFeatureRequest) throws ThrottlingException, ValidationException, ResourceNotFoundException, AccessDeniedException, AwsServiceException, SdkClientException, EvidentlyException 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:
- Result of the BatchEvaluateFeature operation returned by the service.
- See Also:
-
batchEvaluateFeature
default BatchEvaluateFeatureResponse batchEvaluateFeature(Consumer<BatchEvaluateFeatureRequest.Builder> batchEvaluateFeatureRequest) throws ThrottlingException, ValidationException, ResourceNotFoundException, AccessDeniedException, AwsServiceException, SdkClientException, EvidentlyException 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:
- Result of the BatchEvaluateFeature operation returned by the service.
- See Also:
-
createExperiment
default CreateExperimentResponse createExperiment(CreateExperimentRequest createExperimentRequest) throws ValidationException, ConflictException, ServiceQuotaExceededException, ResourceNotFoundException, AccessDeniedException, AwsServiceException, SdkClientException, EvidentlyException 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:
- Result of the CreateExperiment operation returned by the service.
- See Also:
-
createExperiment
default CreateExperimentResponse createExperiment(Consumer<CreateExperimentRequest.Builder> createExperimentRequest) throws ValidationException, ConflictException, ServiceQuotaExceededException, ResourceNotFoundException, AccessDeniedException, AwsServiceException, SdkClientException, EvidentlyException 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:
- Result of the CreateExperiment operation returned by the service.
- See Also:
-
createFeature
default CreateFeatureResponse createFeature(CreateFeatureRequest createFeatureRequest) throws ValidationException, ConflictException, ServiceQuotaExceededException, ResourceNotFoundException, AccessDeniedException, AwsServiceException, SdkClientException, EvidentlyException 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:
- Result of the CreateFeature operation returned by the service.
- See Also:
-
createFeature
default CreateFeatureResponse createFeature(Consumer<CreateFeatureRequest.Builder> createFeatureRequest) throws ValidationException, ConflictException, ServiceQuotaExceededException, ResourceNotFoundException, AccessDeniedException, AwsServiceException, SdkClientException, EvidentlyException 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:
- Result of the CreateFeature operation returned by the service.
- See Also:
-
createLaunch
default CreateLaunchResponse createLaunch(CreateLaunchRequest createLaunchRequest) throws ValidationException, ConflictException, ServiceQuotaExceededException, ResourceNotFoundException, AccessDeniedException, AwsServiceException, SdkClientException, EvidentlyException 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:
- Result of the CreateLaunch operation returned by the service.
- See Also:
-
createLaunch
default CreateLaunchResponse createLaunch(Consumer<CreateLaunchRequest.Builder> createLaunchRequest) throws ValidationException, ConflictException, ServiceQuotaExceededException, ResourceNotFoundException, AccessDeniedException, AwsServiceException, SdkClientException, EvidentlyException 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:
- Result of the CreateLaunch operation returned by the service.
- See Also:
-
createProject
default CreateProjectResponse createProject(CreateProjectRequest createProjectRequest) throws ValidationException, ConflictException, ServiceQuotaExceededException, AccessDeniedException, AwsServiceException, SdkClientException, EvidentlyException 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:
- Result of the CreateProject operation returned by the service.
- See Also:
-
createProject
default CreateProjectResponse createProject(Consumer<CreateProjectRequest.Builder> createProjectRequest) throws ValidationException, ConflictException, ServiceQuotaExceededException, AccessDeniedException, AwsServiceException, SdkClientException, EvidentlyException 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:
- Result of the CreateProject operation returned by the service.
- See Also:
-
createSegment
default CreateSegmentResponse createSegment(CreateSegmentRequest createSegmentRequest) throws ValidationException, ConflictException, ServiceQuotaExceededException, AccessDeniedException, AwsServiceException, SdkClientException, EvidentlyException 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:
- Result of the CreateSegment operation returned by the service.
- See Also:
-
createSegment
default CreateSegmentResponse createSegment(Consumer<CreateSegmentRequest.Builder> createSegmentRequest) throws ValidationException, ConflictException, ServiceQuotaExceededException, AccessDeniedException, AwsServiceException, SdkClientException, EvidentlyException 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:
- Result of the CreateSegment operation returned by the service.
- See Also:
-
deleteExperiment
default DeleteExperimentResponse deleteExperiment(DeleteExperimentRequest deleteExperimentRequest) throws ValidationException, InternalServerException, ConflictException, ServiceUnavailableException, ResourceNotFoundException, AccessDeniedException, AwsServiceException, SdkClientException, EvidentlyException 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:
- Result of the DeleteExperiment operation returned by the service.
- See Also:
-
deleteExperiment
default DeleteExperimentResponse deleteExperiment(Consumer<DeleteExperimentRequest.Builder> deleteExperimentRequest) throws ValidationException, InternalServerException, ConflictException, ServiceUnavailableException, ResourceNotFoundException, AccessDeniedException, AwsServiceException, SdkClientException, EvidentlyException 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:
- Result of the DeleteExperiment operation returned by the service.
- See Also:
-
deleteFeature
default DeleteFeatureResponse deleteFeature(DeleteFeatureRequest deleteFeatureRequest) throws ThrottlingException, ValidationException, ConflictException, ResourceNotFoundException, AccessDeniedException, AwsServiceException, SdkClientException, EvidentlyException Deletes an Evidently feature.
- Parameters:
deleteFeatureRequest-- Returns:
- Result of the DeleteFeature operation returned by the service.
- See Also:
-
deleteFeature
default DeleteFeatureResponse deleteFeature(Consumer<DeleteFeatureRequest.Builder> deleteFeatureRequest) throws ThrottlingException, ValidationException, ConflictException, ResourceNotFoundException, AccessDeniedException, AwsServiceException, SdkClientException, EvidentlyException 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:
- Result of the DeleteFeature operation returned by the service.
- See Also:
-
deleteLaunch
default DeleteLaunchResponse deleteLaunch(DeleteLaunchRequest deleteLaunchRequest) throws ThrottlingException, ValidationException, ConflictException, ResourceNotFoundException, AccessDeniedException, AwsServiceException, SdkClientException, EvidentlyException 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:
- Result of the DeleteLaunch operation returned by the service.
- See Also:
-
deleteLaunch
default DeleteLaunchResponse deleteLaunch(Consumer<DeleteLaunchRequest.Builder> deleteLaunchRequest) throws ThrottlingException, ValidationException, ConflictException, ResourceNotFoundException, AccessDeniedException, AwsServiceException, SdkClientException, EvidentlyException 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:
- Result of the DeleteLaunch operation returned by the service.
- See Also:
-
deleteProject
default DeleteProjectResponse deleteProject(DeleteProjectRequest deleteProjectRequest) throws ThrottlingException, ValidationException, ConflictException, ResourceNotFoundException, AccessDeniedException, AwsServiceException, SdkClientException, EvidentlyException 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:
- Result of the DeleteProject operation returned by the service.
- See Also:
-
deleteProject
default DeleteProjectResponse deleteProject(Consumer<DeleteProjectRequest.Builder> deleteProjectRequest) throws ThrottlingException, ValidationException, ConflictException, ResourceNotFoundException, AccessDeniedException, AwsServiceException, SdkClientException, EvidentlyException 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:
- Result of the DeleteProject operation returned by the service.
- See Also:
-
deleteSegment
default DeleteSegmentResponse deleteSegment(DeleteSegmentRequest deleteSegmentRequest) throws ThrottlingException, ValidationException, ConflictException, ResourceNotFoundException, AccessDeniedException, AwsServiceException, SdkClientException, EvidentlyException 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:
- Result of the DeleteSegment operation returned by the service.
- See Also:
-
deleteSegment
default DeleteSegmentResponse deleteSegment(Consumer<DeleteSegmentRequest.Builder> deleteSegmentRequest) throws ThrottlingException, ValidationException, ConflictException, ResourceNotFoundException, AccessDeniedException, AwsServiceException, SdkClientException, EvidentlyException 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:
- Result of the DeleteSegment operation returned by the service.
- See Also:
-
evaluateFeature
default EvaluateFeatureResponse evaluateFeature(EvaluateFeatureRequest evaluateFeatureRequest) throws ThrottlingException, ValidationException, ResourceNotFoundException, AccessDeniedException, AwsServiceException, SdkClientException, EvidentlyException 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:
- Result of the EvaluateFeature operation returned by the service.
- See Also:
-
evaluateFeature
default EvaluateFeatureResponse evaluateFeature(Consumer<EvaluateFeatureRequest.Builder> evaluateFeatureRequest) throws ThrottlingException, ValidationException, ResourceNotFoundException, AccessDeniedException, AwsServiceException, SdkClientException, EvidentlyException 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:
- Result of the EvaluateFeature operation returned by the service.
- See Also:
-
getExperiment
default GetExperimentResponse getExperiment(GetExperimentRequest getExperimentRequest) throws ThrottlingException, ValidationException, ResourceNotFoundException, AccessDeniedException, AwsServiceException, SdkClientException, EvidentlyException 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:
- Result of the GetExperiment operation returned by the service.
- See Also:
-
getExperiment
default GetExperimentResponse getExperiment(Consumer<GetExperimentRequest.Builder> getExperimentRequest) throws ThrottlingException, ValidationException, ResourceNotFoundException, AccessDeniedException, AwsServiceException, SdkClientException, EvidentlyException 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:
- Result of the GetExperiment operation returned by the service.
- See Also:
-
getExperimentResults
default GetExperimentResultsResponse getExperimentResults(GetExperimentResultsRequest getExperimentResultsRequest) throws ThrottlingException, ValidationException, ConflictException, ResourceNotFoundException, AccessDeniedException, AwsServiceException, SdkClientException, EvidentlyException 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:
- Result of the GetExperimentResults operation returned by the service.
- See Also:
-
getExperimentResults
default GetExperimentResultsResponse getExperimentResults(Consumer<GetExperimentResultsRequest.Builder> getExperimentResultsRequest) throws ThrottlingException, ValidationException, ConflictException, ResourceNotFoundException, AccessDeniedException, AwsServiceException, SdkClientException, EvidentlyException 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:
- Result of the GetExperimentResults operation returned by the service.
- See Also:
-
getFeature
default GetFeatureResponse getFeature(GetFeatureRequest getFeatureRequest) throws ThrottlingException, ValidationException, ResourceNotFoundException, AccessDeniedException, AwsServiceException, SdkClientException, EvidentlyException 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:
- Result of the GetFeature operation returned by the service.
- See Also:
-
getFeature
default GetFeatureResponse getFeature(Consumer<GetFeatureRequest.Builder> getFeatureRequest) throws ThrottlingException, ValidationException, ResourceNotFoundException, AccessDeniedException, AwsServiceException, SdkClientException, EvidentlyException 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:
- Result of the GetFeature operation returned by the service.
- See Also:
-
getLaunch
default GetLaunchResponse getLaunch(GetLaunchRequest getLaunchRequest) throws ThrottlingException, ValidationException, ResourceNotFoundException, AccessDeniedException, AwsServiceException, SdkClientException, EvidentlyException 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:
- Result of the GetLaunch operation returned by the service.
- See Also:
-
getLaunch
default GetLaunchResponse getLaunch(Consumer<GetLaunchRequest.Builder> getLaunchRequest) throws ThrottlingException, ValidationException, ResourceNotFoundException, AccessDeniedException, AwsServiceException, SdkClientException, EvidentlyException 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:
- Result of the GetLaunch operation returned by the service.
- See Also:
-
getProject
default GetProjectResponse getProject(GetProjectRequest getProjectRequest) throws ThrottlingException, ValidationException, ResourceNotFoundException, AccessDeniedException, AwsServiceException, SdkClientException, EvidentlyException 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:
- Result of the GetProject operation returned by the service.
- See Also:
-
getProject
default GetProjectResponse getProject(Consumer<GetProjectRequest.Builder> getProjectRequest) throws ThrottlingException, ValidationException, ResourceNotFoundException, AccessDeniedException, AwsServiceException, SdkClientException, EvidentlyException 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:
- Result of the GetProject operation returned by the service.
- See Also:
-
getSegment
default GetSegmentResponse getSegment(GetSegmentRequest getSegmentRequest) throws ThrottlingException, ValidationException, ResourceNotFoundException, AccessDeniedException, AwsServiceException, SdkClientException, EvidentlyException Returns information about the specified segment. Specify the segment you want to view by specifying its ARN.
- Parameters:
getSegmentRequest-- Returns:
- Result of the GetSegment operation returned by the service.
- See Also:
-
getSegment
default GetSegmentResponse getSegment(Consumer<GetSegmentRequest.Builder> getSegmentRequest) throws ThrottlingException, ValidationException, ResourceNotFoundException, AccessDeniedException, AwsServiceException, SdkClientException, EvidentlyException 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:
- Result of the GetSegment operation returned by the service.
- See Also:
-
listExperiments
default ListExperimentsResponse listExperiments(ListExperimentsRequest listExperimentsRequest) throws ValidationException, ResourceNotFoundException, AccessDeniedException, AwsServiceException, SdkClientException, EvidentlyException Returns configuration details about all the experiments in the specified project.
- Parameters:
listExperimentsRequest-- Returns:
- Result of the ListExperiments operation returned by the service.
- See Also:
-
listExperiments
default ListExperimentsResponse listExperiments(Consumer<ListExperimentsRequest.Builder> listExperimentsRequest) throws ValidationException, ResourceNotFoundException, AccessDeniedException, AwsServiceException, SdkClientException, EvidentlyException 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:
- Result of the ListExperiments operation returned by the service.
- See Also:
-
listExperimentsPaginator
default ListExperimentsIterable listExperimentsPaginator(ListExperimentsRequest listExperimentsRequest) throws ValidationException, ResourceNotFoundException, AccessDeniedException, AwsServiceException, SdkClientException, EvidentlyException This is a variant of
listExperiments(software.amazon.awssdk.services.evidently.model.ListExperimentsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.evidently.paginators.ListExperimentsIterable responses = client.listExperimentsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.evidently.paginators.ListExperimentsIterable responses = client .listExperimentsPaginator(request); for (software.amazon.awssdk.services.evidently.model.ListExperimentsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.evidently.paginators.ListExperimentsIterable responses = client.listExperimentsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listExperiments(software.amazon.awssdk.services.evidently.model.ListExperimentsRequest)operation.- Parameters:
listExperimentsRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listExperimentsPaginator
default ListExperimentsIterable listExperimentsPaginator(Consumer<ListExperimentsRequest.Builder> listExperimentsRequest) throws ValidationException, ResourceNotFoundException, AccessDeniedException, AwsServiceException, SdkClientException, EvidentlyException This is a variant of
listExperiments(software.amazon.awssdk.services.evidently.model.ListExperimentsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.evidently.paginators.ListExperimentsIterable responses = client.listExperimentsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.evidently.paginators.ListExperimentsIterable responses = client .listExperimentsPaginator(request); for (software.amazon.awssdk.services.evidently.model.ListExperimentsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.evidently.paginators.ListExperimentsIterable responses = client.listExperimentsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
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 iterable that can be used to iterate through all the response pages.
- See Also:
-
listFeatures
default ListFeaturesResponse listFeatures(ListFeaturesRequest listFeaturesRequest) throws ThrottlingException, ValidationException, ResourceNotFoundException, AccessDeniedException, AwsServiceException, SdkClientException, EvidentlyException Returns configuration details about all the features in the specified project.
- Parameters:
listFeaturesRequest-- Returns:
- Result of the ListFeatures operation returned by the service.
- See Also:
-
listFeatures
default ListFeaturesResponse listFeatures(Consumer<ListFeaturesRequest.Builder> listFeaturesRequest) throws ThrottlingException, ValidationException, ResourceNotFoundException, AccessDeniedException, AwsServiceException, SdkClientException, EvidentlyException 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:
- Result of the ListFeatures operation returned by the service.
- See Also:
-
listFeaturesPaginator
default ListFeaturesIterable listFeaturesPaginator(ListFeaturesRequest listFeaturesRequest) throws ThrottlingException, ValidationException, ResourceNotFoundException, AccessDeniedException, AwsServiceException, SdkClientException, EvidentlyException This is a variant of
listFeatures(software.amazon.awssdk.services.evidently.model.ListFeaturesRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.evidently.paginators.ListFeaturesIterable responses = client.listFeaturesPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.evidently.paginators.ListFeaturesIterable responses = client.listFeaturesPaginator(request); for (software.amazon.awssdk.services.evidently.model.ListFeaturesResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.evidently.paginators.ListFeaturesIterable responses = client.listFeaturesPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listFeatures(software.amazon.awssdk.services.evidently.model.ListFeaturesRequest)operation.- Parameters:
listFeaturesRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listFeaturesPaginator
default ListFeaturesIterable listFeaturesPaginator(Consumer<ListFeaturesRequest.Builder> listFeaturesRequest) throws ThrottlingException, ValidationException, ResourceNotFoundException, AccessDeniedException, AwsServiceException, SdkClientException, EvidentlyException This is a variant of
listFeatures(software.amazon.awssdk.services.evidently.model.ListFeaturesRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.evidently.paginators.ListFeaturesIterable responses = client.listFeaturesPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.evidently.paginators.ListFeaturesIterable responses = client.listFeaturesPaginator(request); for (software.amazon.awssdk.services.evidently.model.ListFeaturesResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.evidently.paginators.ListFeaturesIterable responses = client.listFeaturesPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
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 iterable that can be used to iterate through all the response pages.
- See Also:
-
listLaunches
default ListLaunchesResponse listLaunches(ListLaunchesRequest listLaunchesRequest) throws ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, EvidentlyException Returns configuration details about all the launches in the specified project.
- Parameters:
listLaunchesRequest-- Returns:
- Result of the ListLaunches operation returned by the service.
- See Also:
-
listLaunches
default ListLaunchesResponse listLaunches(Consumer<ListLaunchesRequest.Builder> listLaunchesRequest) throws ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, EvidentlyException 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:
- Result of the ListLaunches operation returned by the service.
- See Also:
-
listLaunchesPaginator
default ListLaunchesIterable listLaunchesPaginator(ListLaunchesRequest listLaunchesRequest) throws ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, EvidentlyException This is a variant of
listLaunches(software.amazon.awssdk.services.evidently.model.ListLaunchesRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.evidently.paginators.ListLaunchesIterable responses = client.listLaunchesPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.evidently.paginators.ListLaunchesIterable responses = client.listLaunchesPaginator(request); for (software.amazon.awssdk.services.evidently.model.ListLaunchesResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.evidently.paginators.ListLaunchesIterable responses = client.listLaunchesPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listLaunches(software.amazon.awssdk.services.evidently.model.ListLaunchesRequest)operation.- Parameters:
listLaunchesRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listLaunchesPaginator
default ListLaunchesIterable listLaunchesPaginator(Consumer<ListLaunchesRequest.Builder> listLaunchesRequest) throws ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, EvidentlyException This is a variant of
listLaunches(software.amazon.awssdk.services.evidently.model.ListLaunchesRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.evidently.paginators.ListLaunchesIterable responses = client.listLaunchesPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.evidently.paginators.ListLaunchesIterable responses = client.listLaunchesPaginator(request); for (software.amazon.awssdk.services.evidently.model.ListLaunchesResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.evidently.paginators.ListLaunchesIterable responses = client.listLaunchesPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
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 iterable that can be used to iterate through all the response pages.
- See Also:
-
listProjects
default ListProjectsResponse listProjects(ListProjectsRequest listProjectsRequest) throws ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, EvidentlyException Returns configuration details about all the projects in the current Region in your account.
- Parameters:
listProjectsRequest-- Returns:
- Result of the ListProjects operation returned by the service.
- See Also:
-
listProjects
default ListProjectsResponse listProjects(Consumer<ListProjectsRequest.Builder> listProjectsRequest) throws ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, EvidentlyException 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:
- Result of the ListProjects operation returned by the service.
- See Also:
-
listProjectsPaginator
default ListProjectsIterable listProjectsPaginator(ListProjectsRequest listProjectsRequest) throws ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, EvidentlyException This is a variant of
listProjects(software.amazon.awssdk.services.evidently.model.ListProjectsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.evidently.paginators.ListProjectsIterable responses = client.listProjectsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.evidently.paginators.ListProjectsIterable responses = client.listProjectsPaginator(request); for (software.amazon.awssdk.services.evidently.model.ListProjectsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.evidently.paginators.ListProjectsIterable responses = client.listProjectsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listProjects(software.amazon.awssdk.services.evidently.model.ListProjectsRequest)operation.- Parameters:
listProjectsRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listProjectsPaginator
default ListProjectsIterable listProjectsPaginator(Consumer<ListProjectsRequest.Builder> listProjectsRequest) throws ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, EvidentlyException This is a variant of
listProjects(software.amazon.awssdk.services.evidently.model.ListProjectsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.evidently.paginators.ListProjectsIterable responses = client.listProjectsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.evidently.paginators.ListProjectsIterable responses = client.listProjectsPaginator(request); for (software.amazon.awssdk.services.evidently.model.ListProjectsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.evidently.paginators.ListProjectsIterable responses = client.listProjectsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
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 iterable that can be used to iterate through all the response pages.
- See Also:
-
listSegmentReferences
default ListSegmentReferencesResponse listSegmentReferences(ListSegmentReferencesRequest listSegmentReferencesRequest) throws ThrottlingException, ValidationException, ResourceNotFoundException, AccessDeniedException, AwsServiceException, SdkClientException, EvidentlyException Use this operation to find which experiments or launches are using a specified segment.
- Parameters:
listSegmentReferencesRequest-- Returns:
- Result of the ListSegmentReferences operation returned by the service.
- See Also:
-
listSegmentReferences
default ListSegmentReferencesResponse listSegmentReferences(Consumer<ListSegmentReferencesRequest.Builder> listSegmentReferencesRequest) throws ThrottlingException, ValidationException, ResourceNotFoundException, AccessDeniedException, AwsServiceException, SdkClientException, EvidentlyException 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:
- Result of the ListSegmentReferences operation returned by the service.
- See Also:
-
listSegmentReferencesPaginator
default ListSegmentReferencesIterable listSegmentReferencesPaginator(ListSegmentReferencesRequest listSegmentReferencesRequest) throws ThrottlingException, ValidationException, ResourceNotFoundException, AccessDeniedException, AwsServiceException, SdkClientException, EvidentlyException This is a variant of
listSegmentReferences(software.amazon.awssdk.services.evidently.model.ListSegmentReferencesRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.evidently.paginators.ListSegmentReferencesIterable responses = client.listSegmentReferencesPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.evidently.paginators.ListSegmentReferencesIterable responses = client .listSegmentReferencesPaginator(request); for (software.amazon.awssdk.services.evidently.model.ListSegmentReferencesResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.evidently.paginators.ListSegmentReferencesIterable responses = client.listSegmentReferencesPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listSegmentReferences(software.amazon.awssdk.services.evidently.model.ListSegmentReferencesRequest)operation.- Parameters:
listSegmentReferencesRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listSegmentReferencesPaginator
default ListSegmentReferencesIterable listSegmentReferencesPaginator(Consumer<ListSegmentReferencesRequest.Builder> listSegmentReferencesRequest) throws ThrottlingException, ValidationException, ResourceNotFoundException, AccessDeniedException, AwsServiceException, SdkClientException, EvidentlyException This is a variant of
listSegmentReferences(software.amazon.awssdk.services.evidently.model.ListSegmentReferencesRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.evidently.paginators.ListSegmentReferencesIterable responses = client.listSegmentReferencesPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.evidently.paginators.ListSegmentReferencesIterable responses = client .listSegmentReferencesPaginator(request); for (software.amazon.awssdk.services.evidently.model.ListSegmentReferencesResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.evidently.paginators.ListSegmentReferencesIterable responses = client.listSegmentReferencesPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
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 iterable that can be used to iterate through all the response pages.
- See Also:
-
listSegments
default ListSegmentsResponse listSegments(ListSegmentsRequest listSegmentsRequest) throws ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, EvidentlyException Returns a list of audience segments that you have created in your account in this Region.
- Parameters:
listSegmentsRequest-- Returns:
- Result of the ListSegments operation returned by the service.
- See Also:
-
listSegments
default ListSegmentsResponse listSegments(Consumer<ListSegmentsRequest.Builder> listSegmentsRequest) throws ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, EvidentlyException 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:
- Result of the ListSegments operation returned by the service.
- See Also:
-
listSegmentsPaginator
default ListSegmentsIterable listSegmentsPaginator(ListSegmentsRequest listSegmentsRequest) throws ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, EvidentlyException This is a variant of
listSegments(software.amazon.awssdk.services.evidently.model.ListSegmentsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.evidently.paginators.ListSegmentsIterable responses = client.listSegmentsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.evidently.paginators.ListSegmentsIterable responses = client.listSegmentsPaginator(request); for (software.amazon.awssdk.services.evidently.model.ListSegmentsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.evidently.paginators.ListSegmentsIterable responses = client.listSegmentsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listSegments(software.amazon.awssdk.services.evidently.model.ListSegmentsRequest)operation.- Parameters:
listSegmentsRequest-- Returns:
- A custom iterable that can be used to iterate through all the response pages.
- See Also:
-
listSegmentsPaginator
default ListSegmentsIterable listSegmentsPaginator(Consumer<ListSegmentsRequest.Builder> listSegmentsRequest) throws ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, EvidentlyException This is a variant of
listSegments(software.amazon.awssdk.services.evidently.model.ListSegmentsRequest)operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will internally handle making service calls for you.When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
2) Using For loopsoftware.amazon.awssdk.services.evidently.paginators.ListSegmentsIterable responses = client.listSegmentsPaginator(request); responses.stream().forEach(....);{ @code software.amazon.awssdk.services.evidently.paginators.ListSegmentsIterable responses = client.listSegmentsPaginator(request); for (software.amazon.awssdk.services.evidently.model.ListSegmentsResponse response : responses) { // do something; } }3) Use iterator directlysoftware.amazon.awssdk.services.evidently.paginators.ListSegmentsIterable responses = client.listSegmentsPaginator(request); responses.iterator().forEachRemaining(....);Please notice that the configuration of maxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
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 iterable that can be used to iterate through all the response pages.
- See Also:
-
listTagsForResource
default ListTagsForResourceResponse listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest) throws ValidationException, ConflictException, ResourceNotFoundException, AwsServiceException, SdkClientException, EvidentlyException Displays the tags associated with an Evidently resource.
- Parameters:
listTagsForResourceRequest-- Returns:
- Result of the ListTagsForResource operation returned by the service.
- See Also:
-
listTagsForResource
default ListTagsForResourceResponse listTagsForResource(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest) throws ValidationException, ConflictException, ResourceNotFoundException, AwsServiceException, SdkClientException, EvidentlyException 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:
- Result of the ListTagsForResource operation returned by the service.
- See Also:
-
putProjectEvents
default PutProjectEventsResponse putProjectEvents(PutProjectEventsRequest putProjectEventsRequest) throws ThrottlingException, ValidationException, ResourceNotFoundException, AccessDeniedException, AwsServiceException, SdkClientException, EvidentlyException Sends performance events to Evidently. These events can be used to evaluate a launch or an experiment.
- Parameters:
putProjectEventsRequest-- Returns:
- Result of the PutProjectEvents operation returned by the service.
- See Also:
-
putProjectEvents
default PutProjectEventsResponse putProjectEvents(Consumer<PutProjectEventsRequest.Builder> putProjectEventsRequest) throws ThrottlingException, ValidationException, ResourceNotFoundException, AccessDeniedException, AwsServiceException, SdkClientException, EvidentlyException 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:
- Result of the PutProjectEvents operation returned by the service.
- See Also:
-
startExperiment
default StartExperimentResponse startExperiment(StartExperimentRequest startExperimentRequest) throws ThrottlingException, ValidationException, ConflictException, ServiceQuotaExceededException, ResourceNotFoundException, AccessDeniedException, AwsServiceException, SdkClientException, EvidentlyException Starts an existing experiment. To create an experiment, use CreateExperiment.
- Parameters:
startExperimentRequest-- Returns:
- Result of the StartExperiment operation returned by the service.
- See Also:
-
startExperiment
default StartExperimentResponse startExperiment(Consumer<StartExperimentRequest.Builder> startExperimentRequest) throws ThrottlingException, ValidationException, ConflictException, ServiceQuotaExceededException, ResourceNotFoundException, AccessDeniedException, AwsServiceException, SdkClientException, EvidentlyException 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:
- Result of the StartExperiment operation returned by the service.
- See Also:
-
startLaunch
default StartLaunchResponse startLaunch(StartLaunchRequest startLaunchRequest) throws ThrottlingException, ValidationException, ConflictException, ServiceQuotaExceededException, ResourceNotFoundException, AccessDeniedException, AwsServiceException, SdkClientException, EvidentlyException Starts an existing launch. To create a launch, use CreateLaunch.
- Parameters:
startLaunchRequest-- Returns:
- Result of the StartLaunch operation returned by the service.
- See Also:
-
startLaunch
default StartLaunchResponse startLaunch(Consumer<StartLaunchRequest.Builder> startLaunchRequest) throws ThrottlingException, ValidationException, ConflictException, ServiceQuotaExceededException, ResourceNotFoundException, AccessDeniedException, AwsServiceException, SdkClientException, EvidentlyException 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:
- Result of the StartLaunch operation returned by the service.
- See Also:
-
stopExperiment
default StopExperimentResponse stopExperiment(StopExperimentRequest stopExperimentRequest) throws ThrottlingException, ValidationException, ConflictException, ServiceQuotaExceededException, ResourceNotFoundException, AccessDeniedException, AwsServiceException, SdkClientException, EvidentlyException Stops an experiment that is currently running. If you stop an experiment, you can't resume it or restart it.
- Parameters:
stopExperimentRequest-- Returns:
- Result of the StopExperiment operation returned by the service.
- See Also:
-
stopExperiment
default StopExperimentResponse stopExperiment(Consumer<StopExperimentRequest.Builder> stopExperimentRequest) throws ThrottlingException, ValidationException, ConflictException, ServiceQuotaExceededException, ResourceNotFoundException, AccessDeniedException, AwsServiceException, SdkClientException, EvidentlyException 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:
- Result of the StopExperiment operation returned by the service.
- See Also:
-
stopLaunch
default StopLaunchResponse stopLaunch(StopLaunchRequest stopLaunchRequest) throws ThrottlingException, ValidationException, ResourceNotFoundException, AccessDeniedException, AwsServiceException, SdkClientException, EvidentlyException 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:
- Result of the StopLaunch operation returned by the service.
- See Also:
-
stopLaunch
default StopLaunchResponse stopLaunch(Consumer<StopLaunchRequest.Builder> stopLaunchRequest) throws ThrottlingException, ValidationException, ResourceNotFoundException, AccessDeniedException, AwsServiceException, SdkClientException, EvidentlyException 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:
- Result of the StopLaunch operation returned by the service.
- See Also:
-
tagResource
default TagResourceResponse tagResource(TagResourceRequest tagResourceRequest) throws ValidationException, ConflictException, ResourceNotFoundException, AwsServiceException, SdkClientException, EvidentlyException 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:
- Result of the TagResource operation returned by the service.
- See Also:
-
tagResource
default TagResourceResponse tagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest) throws ValidationException, ConflictException, ResourceNotFoundException, AwsServiceException, SdkClientException, EvidentlyException 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:
- Result of the TagResource operation returned by the service.
- See Also:
-
testSegmentPattern
default TestSegmentPatternResponse testSegmentPattern(TestSegmentPatternRequest testSegmentPatternRequest) throws ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, EvidentlyException 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:
- Result of the TestSegmentPattern operation returned by the service.
- See Also:
-
testSegmentPattern
default TestSegmentPatternResponse testSegmentPattern(Consumer<TestSegmentPatternRequest.Builder> testSegmentPatternRequest) throws ThrottlingException, ValidationException, AccessDeniedException, AwsServiceException, SdkClientException, EvidentlyException 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:
- Result of the TestSegmentPattern operation returned by the service.
- See Also:
-
untagResource
default UntagResourceResponse untagResource(UntagResourceRequest untagResourceRequest) throws ValidationException, ConflictException, ResourceNotFoundException, AwsServiceException, SdkClientException, EvidentlyException Removes one or more tags from the specified resource.
- Parameters:
untagResourceRequest-- Returns:
- Result of the UntagResource operation returned by the service.
- See Also:
-
untagResource
default UntagResourceResponse untagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest) throws ValidationException, ConflictException, ResourceNotFoundException, AwsServiceException, SdkClientException, EvidentlyException 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:
- Result of the UntagResource operation returned by the service.
- See Also:
-
updateExperiment
default UpdateExperimentResponse updateExperiment(UpdateExperimentRequest updateExperimentRequest) throws ValidationException, ConflictException, ResourceNotFoundException, AccessDeniedException, AwsServiceException, SdkClientException, EvidentlyException Updates an Evidently experiment.
Don't use this operation to update an experiment's tag. Instead, use TagResource.
- Parameters:
updateExperimentRequest-- Returns:
- Result of the UpdateExperiment operation returned by the service.
- See Also:
-
updateExperiment
default UpdateExperimentResponse updateExperiment(Consumer<UpdateExperimentRequest.Builder> updateExperimentRequest) throws ValidationException, ConflictException, ResourceNotFoundException, AccessDeniedException, AwsServiceException, SdkClientException, EvidentlyException 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:
- Result of the UpdateExperiment operation returned by the service.
- See Also:
-
updateFeature
default UpdateFeatureResponse updateFeature(UpdateFeatureRequest updateFeatureRequest) throws ValidationException, ConflictException, ServiceQuotaExceededException, ResourceNotFoundException, AccessDeniedException, AwsServiceException, SdkClientException, EvidentlyException Updates an existing feature.
You can't use this operation to update the tags of an existing feature. Instead, use TagResource.
- Parameters:
updateFeatureRequest-- Returns:
- Result of the UpdateFeature operation returned by the service.
- See Also:
-
updateFeature
default UpdateFeatureResponse updateFeature(Consumer<UpdateFeatureRequest.Builder> updateFeatureRequest) throws ValidationException, ConflictException, ServiceQuotaExceededException, ResourceNotFoundException, AccessDeniedException, AwsServiceException, SdkClientException, EvidentlyException 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:
- Result of the UpdateFeature operation returned by the service.
- See Also:
-
updateLaunch
default UpdateLaunchResponse updateLaunch(UpdateLaunchRequest updateLaunchRequest) throws ValidationException, ConflictException, ResourceNotFoundException, AccessDeniedException, AwsServiceException, SdkClientException, EvidentlyException 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:
- Result of the UpdateLaunch operation returned by the service.
- See Also:
-
updateLaunch
default UpdateLaunchResponse updateLaunch(Consumer<UpdateLaunchRequest.Builder> updateLaunchRequest) throws ValidationException, ConflictException, ResourceNotFoundException, AccessDeniedException, AwsServiceException, SdkClientException, EvidentlyException 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:
- Result of the UpdateLaunch operation returned by the service.
- See Also:
-
updateProject
default UpdateProjectResponse updateProject(UpdateProjectRequest updateProjectRequest) throws ValidationException, ConflictException, ServiceQuotaExceededException, ResourceNotFoundException, AccessDeniedException, AwsServiceException, SdkClientException, EvidentlyException 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:
- Result of the UpdateProject operation returned by the service.
- See Also:
-
updateProject
default UpdateProjectResponse updateProject(Consumer<UpdateProjectRequest.Builder> updateProjectRequest) throws ValidationException, ConflictException, ServiceQuotaExceededException, ResourceNotFoundException, AccessDeniedException, AwsServiceException, SdkClientException, EvidentlyException 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:
- Result of the UpdateProject operation returned by the service.
- See Also:
-
updateProjectDataDelivery
default UpdateProjectDataDeliveryResponse updateProjectDataDelivery(UpdateProjectDataDeliveryRequest updateProjectDataDeliveryRequest) throws ValidationException, ConflictException, ServiceQuotaExceededException, ResourceNotFoundException, AccessDeniedException, AwsServiceException, SdkClientException, EvidentlyException 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:
- Result of the UpdateProjectDataDelivery operation returned by the service.
- See Also:
-
updateProjectDataDelivery
default UpdateProjectDataDeliveryResponse updateProjectDataDelivery(Consumer<UpdateProjectDataDeliveryRequest.Builder> updateProjectDataDeliveryRequest) throws ValidationException, ConflictException, ServiceQuotaExceededException, ResourceNotFoundException, AccessDeniedException, AwsServiceException, SdkClientException, EvidentlyException 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:
- Result of the UpdateProjectDataDelivery operation returned by the service.
- See Also:
-
create
Create aEvidentlyClientwith the region loaded from theDefaultAwsRegionProviderChainand credentials loaded from theDefaultCredentialsProvider. -
builder
Create a builder that can be used to configure and create aEvidentlyClient. -
serviceMetadata
-
serviceClientConfiguration
Description copied from interface:SdkClientThe SDK service client configuration exposes client settings to the user, e.g., ClientOverrideConfiguration- Specified by:
serviceClientConfigurationin interfaceAwsClient- Specified by:
serviceClientConfigurationin interfaceSdkClient- Returns:
- SdkServiceClientConfiguration
-