aws-sdk-cloudwatchevidently 1.7.0 → 1.8.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-cloudwatchevidently/client.rb +64 -5
- data/lib/aws-sdk-cloudwatchevidently/client_api.rb +15 -0
- data/lib/aws-sdk-cloudwatchevidently/types.rb +132 -1
- data/lib/aws-sdk-cloudwatchevidently.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a927d27d74e4ef2dec2702802a6aaac9222d1ebd4a1f051f9371a54e70a800cc
|
4
|
+
data.tar.gz: 416bd29192f06e164380c18f7d970aeeff4a1c2092e73cf4766f03f05ac32175
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 56292a346bd7fd9439bdf7dbf25948fdcc9ca17f60f40f852175b35c2584f5a415ea2764c63bb4b1e94ba81e09c57f69b877257407958ec80370ca2dc5a3082b
|
7
|
+
data.tar.gz: 69e20e60f22670fdd1ae249364e637bab3a30187055db96f5dfa9334a3451ed1c7f12f0b14cf71a20281d459cead7f97c6240e14ae552c4bd825320506a738b4
|
data/CHANGELOG.md
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.8.0
|
@@ -884,6 +884,26 @@ module Aws::CloudWatchEvidently
|
|
884
884
|
#
|
885
885
|
# [1]: https://docs.aws.amazon.com/cloudwatchevidently/latest/APIReference/API_UpdateProject.html
|
886
886
|
#
|
887
|
+
# @option params [Types::ProjectAppConfigResourceConfig] :app_config_resource
|
888
|
+
# Use this parameter if the project will use *client-side evaluation
|
889
|
+
# powered by AppConfig*. Client-side evaluation allows your application
|
890
|
+
# to assign variations to user sessions locally instead of by calling
|
891
|
+
# the [EvaluateFeature][1] operation. This mitigates the latency and
|
892
|
+
# availability risks that come with an API call. For more information,
|
893
|
+
# see [ Client-side evaluation - powered by AppConfig.][2]
|
894
|
+
#
|
895
|
+
# This parameter is a structure that contains information about the
|
896
|
+
# AppConfig application and environment that will be used as for
|
897
|
+
# client-side evaluation.
|
898
|
+
#
|
899
|
+
# To create a project that uses client-side evaluation, you must have
|
900
|
+
# the `evidently:ExportProjectAsConfiguration` permission.
|
901
|
+
#
|
902
|
+
#
|
903
|
+
#
|
904
|
+
# [1]: https://docs.aws.amazon.com/cloudwatchevidently/latest/APIReference/API_EvaluateFeature.html
|
905
|
+
# [2]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-Evidently-client-side-evaluation.html
|
906
|
+
#
|
887
907
|
# @option params [Types::ProjectDataDeliveryConfig] :data_delivery
|
888
908
|
# A structure that contains information about where Evidently is to
|
889
909
|
# store evaluation events for longer term storage, if you choose to do
|
@@ -916,6 +936,10 @@ module Aws::CloudWatchEvidently
|
|
916
936
|
# @example Request syntax with placeholder values
|
917
937
|
#
|
918
938
|
# resp = client.create_project({
|
939
|
+
# app_config_resource: {
|
940
|
+
# application_id: "AppConfigResourceId",
|
941
|
+
# environment_id: "AppConfigResourceId",
|
942
|
+
# },
|
919
943
|
# data_delivery: {
|
920
944
|
# cloud_watch_logs: {
|
921
945
|
# log_group: "CwLogGroupSafeName",
|
@@ -936,6 +960,9 @@ module Aws::CloudWatchEvidently
|
|
936
960
|
#
|
937
961
|
# resp.project.active_experiment_count #=> Integer
|
938
962
|
# resp.project.active_launch_count #=> Integer
|
963
|
+
# resp.project.app_config_resource.application_id #=> String
|
964
|
+
# resp.project.app_config_resource.configuration_profile_id #=> String
|
965
|
+
# resp.project.app_config_resource.environment_id #=> String
|
939
966
|
# resp.project.arn #=> String
|
940
967
|
# resp.project.created_time #=> Time
|
941
968
|
# resp.project.data_delivery.cloud_watch_logs.log_group #=> String
|
@@ -968,10 +995,10 @@ module Aws::CloudWatchEvidently
|
|
968
995
|
#
|
969
996
|
# Using a segment in an experiment limits that experiment to evaluate
|
970
997
|
# only the users who match the segment criteria. Using one or more
|
971
|
-
# segments in a launch
|
998
|
+
# segments in a launch allows you to define different traffic splits for
|
972
999
|
# the different audience segments.
|
973
1000
|
#
|
974
|
-
# <p>For more information about segment pattern syntax, see <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-Evidently-segments-syntax.html"> Segment rule pattern syntax</a>.</p> <p>The pattern that you define for a segment is matched against the value of <code>evaluationContext</code>, which is passed into Evidently in the <a href="https://docs.aws.amazon.com/cloudwatchevidently/latest/APIReference/API_EvaluateFeature.html">EvaluateFeature</a> operation, when Evidently assigns a feature variation to a user.</p>
|
1001
|
+
# <p>For more information about segment pattern syntax, see <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-Evidently-segments.html#CloudWatch-Evidently-segments-syntax.html"> Segment rule pattern syntax</a>.</p> <p>The pattern that you define for a segment is matched against the value of <code>evaluationContext</code>, which is passed into Evidently in the <a href="https://docs.aws.amazon.com/cloudwatchevidently/latest/APIReference/API_EvaluateFeature.html">EvaluateFeature</a> operation, when Evidently assigns a feature variation to a user.</p>
|
975
1002
|
#
|
976
1003
|
# @option params [String] :description
|
977
1004
|
# An optional description for this segment.
|
@@ -989,7 +1016,7 @@ module Aws::CloudWatchEvidently
|
|
989
1016
|
#
|
990
1017
|
#
|
991
1018
|
#
|
992
|
-
# [1]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-Evidently-segments-syntax.html
|
1019
|
+
# [1]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-Evidently-segments.html#CloudWatch-Evidently-segments-syntax.html
|
993
1020
|
#
|
994
1021
|
# @option params [Hash<String,String>] :tags
|
995
1022
|
# Assigns one or more tags (key-value pairs) to the segment.
|
@@ -1328,7 +1355,12 @@ module Aws::CloudWatchEvidently
|
|
1328
1355
|
|
1329
1356
|
# Retrieves the results of a running or completed experiment. No results
|
1330
1357
|
# are available until there have been 100 events for each variation and
|
1331
|
-
# at least 10 minutes have passed since the start of the experiment.
|
1358
|
+
# at least 10 minutes have passed since the start of the experiment. To
|
1359
|
+
# increase the statistical power, Evidently performs an additional
|
1360
|
+
# offline p-value analysis at the end of the experiment. Offline p-value
|
1361
|
+
# analysis can detect statistical significance in some cases where the
|
1362
|
+
# anytime p-values used during the experiment do not find statistical
|
1363
|
+
# significance.
|
1332
1364
|
#
|
1333
1365
|
# Experiment results are available up to 63 days after the start of the
|
1334
1366
|
# experiment. They are not available after that because of CloudWatch
|
@@ -1596,6 +1628,9 @@ module Aws::CloudWatchEvidently
|
|
1596
1628
|
#
|
1597
1629
|
# resp.project.active_experiment_count #=> Integer
|
1598
1630
|
# resp.project.active_launch_count #=> Integer
|
1631
|
+
# resp.project.app_config_resource.application_id #=> String
|
1632
|
+
# resp.project.app_config_resource.configuration_profile_id #=> String
|
1633
|
+
# resp.project.app_config_resource.environment_id #=> String
|
1599
1634
|
# resp.project.arn #=> String
|
1600
1635
|
# resp.project.created_time #=> Time
|
1601
1636
|
# resp.project.data_delivery.cloud_watch_logs.log_group #=> String
|
@@ -2840,6 +2875,20 @@ module Aws::CloudWatchEvidently
|
|
2840
2875
|
# [2]: https://docs.aws.amazon.com/cloudwatchevidently/latest/APIReference/API_UpdateProjectDataDelivery.html
|
2841
2876
|
# [3]: https://docs.aws.amazon.com/cloudwatchevidently/latest/APIReference/API_TagResource.html
|
2842
2877
|
#
|
2878
|
+
# @option params [Types::ProjectAppConfigResourceConfig] :app_config_resource
|
2879
|
+
# Use this parameter if the project will use client-side evaluation
|
2880
|
+
# powered by AppConfig. Client-side evaluation allows your application
|
2881
|
+
# to assign variations to user sessions locally instead of by calling
|
2882
|
+
# the [EvaluateFeature][1] operation. This mitigates the latency and
|
2883
|
+
# availability risks that come with an API call. allows you to
|
2884
|
+
#
|
2885
|
+
# This parameter is a structure that contains information about the
|
2886
|
+
# AppConfig application that will be used for client-side evaluation.
|
2887
|
+
#
|
2888
|
+
#
|
2889
|
+
#
|
2890
|
+
# [1]: https://docs.aws.amazon.com/cloudwatchevidently/latest/APIReference/API_EvaluateFeature.html
|
2891
|
+
#
|
2843
2892
|
# @option params [String] :description
|
2844
2893
|
# An optional description of the project.
|
2845
2894
|
#
|
@@ -2853,6 +2902,10 @@ module Aws::CloudWatchEvidently
|
|
2853
2902
|
# @example Request syntax with placeholder values
|
2854
2903
|
#
|
2855
2904
|
# resp = client.update_project({
|
2905
|
+
# app_config_resource: {
|
2906
|
+
# application_id: "AppConfigResourceId",
|
2907
|
+
# environment_id: "AppConfigResourceId",
|
2908
|
+
# },
|
2856
2909
|
# description: "Description",
|
2857
2910
|
# project: "ProjectRef", # required
|
2858
2911
|
# })
|
@@ -2861,6 +2914,9 @@ module Aws::CloudWatchEvidently
|
|
2861
2914
|
#
|
2862
2915
|
# resp.project.active_experiment_count #=> Integer
|
2863
2916
|
# resp.project.active_launch_count #=> Integer
|
2917
|
+
# resp.project.app_config_resource.application_id #=> String
|
2918
|
+
# resp.project.app_config_resource.configuration_profile_id #=> String
|
2919
|
+
# resp.project.app_config_resource.environment_id #=> String
|
2864
2920
|
# resp.project.arn #=> String
|
2865
2921
|
# resp.project.created_time #=> Time
|
2866
2922
|
# resp.project.data_delivery.cloud_watch_logs.log_group #=> String
|
@@ -2927,6 +2983,9 @@ module Aws::CloudWatchEvidently
|
|
2927
2983
|
#
|
2928
2984
|
# resp.project.active_experiment_count #=> Integer
|
2929
2985
|
# resp.project.active_launch_count #=> Integer
|
2986
|
+
# resp.project.app_config_resource.application_id #=> String
|
2987
|
+
# resp.project.app_config_resource.configuration_profile_id #=> String
|
2988
|
+
# resp.project.app_config_resource.environment_id #=> String
|
2930
2989
|
# resp.project.arn #=> String
|
2931
2990
|
# resp.project.created_time #=> Time
|
2932
2991
|
# resp.project.data_delivery.cloud_watch_logs.log_group #=> String
|
@@ -2964,7 +3023,7 @@ module Aws::CloudWatchEvidently
|
|
2964
3023
|
params: params,
|
2965
3024
|
config: config)
|
2966
3025
|
context[:gem_name] = 'aws-sdk-cloudwatchevidently'
|
2967
|
-
context[:gem_version] = '1.
|
3026
|
+
context[:gem_version] = '1.8.0'
|
2968
3027
|
Seahorse::Client::Request.new(handlers, context)
|
2969
3028
|
end
|
2970
3029
|
|
@@ -14,6 +14,7 @@ module Aws::CloudWatchEvidently
|
|
14
14
|
include Seahorse::Model
|
15
15
|
|
16
16
|
AccessDeniedException = Shapes::StructureShape.new(name: 'AccessDeniedException')
|
17
|
+
AppConfigResourceId = Shapes::StringShape.new(name: 'AppConfigResourceId')
|
17
18
|
Arn = Shapes::StringShape.new(name: 'Arn')
|
18
19
|
BatchEvaluateFeatureRequest = Shapes::StructureShape.new(name: 'BatchEvaluateFeatureRequest')
|
19
20
|
BatchEvaluateFeatureResponse = Shapes::StructureShape.new(name: 'BatchEvaluateFeatureResponse')
|
@@ -158,6 +159,8 @@ module Aws::CloudWatchEvidently
|
|
158
159
|
OnlineAbDefinition = Shapes::StructureShape.new(name: 'OnlineAbDefinition')
|
159
160
|
PrimitiveBoolean = Shapes::BooleanShape.new(name: 'PrimitiveBoolean')
|
160
161
|
Project = Shapes::StructureShape.new(name: 'Project')
|
162
|
+
ProjectAppConfigResource = Shapes::StructureShape.new(name: 'ProjectAppConfigResource')
|
163
|
+
ProjectAppConfigResourceConfig = Shapes::StructureShape.new(name: 'ProjectAppConfigResourceConfig')
|
161
164
|
ProjectArn = Shapes::StringShape.new(name: 'ProjectArn')
|
162
165
|
ProjectDataDelivery = Shapes::StructureShape.new(name: 'ProjectDataDelivery')
|
163
166
|
ProjectDataDeliveryConfig = Shapes::StructureShape.new(name: 'ProjectDataDeliveryConfig')
|
@@ -316,6 +319,7 @@ module Aws::CloudWatchEvidently
|
|
316
319
|
CreateLaunchResponse.add_member(:launch, Shapes::ShapeRef.new(shape: Launch, required: true, location_name: "launch"))
|
317
320
|
CreateLaunchResponse.struct_class = Types::CreateLaunchResponse
|
318
321
|
|
322
|
+
CreateProjectRequest.add_member(:app_config_resource, Shapes::ShapeRef.new(shape: ProjectAppConfigResourceConfig, location_name: "appConfigResource"))
|
319
323
|
CreateProjectRequest.add_member(:data_delivery, Shapes::ShapeRef.new(shape: ProjectDataDeliveryConfig, location_name: "dataDelivery"))
|
320
324
|
CreateProjectRequest.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "description"))
|
321
325
|
CreateProjectRequest.add_member(:name, Shapes::ShapeRef.new(shape: ProjectName, required: true, location_name: "name"))
|
@@ -696,6 +700,7 @@ module Aws::CloudWatchEvidently
|
|
696
700
|
|
697
701
|
Project.add_member(:active_experiment_count, Shapes::ShapeRef.new(shape: Long, location_name: "activeExperimentCount"))
|
698
702
|
Project.add_member(:active_launch_count, Shapes::ShapeRef.new(shape: Long, location_name: "activeLaunchCount"))
|
703
|
+
Project.add_member(:app_config_resource, Shapes::ShapeRef.new(shape: ProjectAppConfigResource, location_name: "appConfigResource"))
|
699
704
|
Project.add_member(:arn, Shapes::ShapeRef.new(shape: ProjectArn, required: true, location_name: "arn"))
|
700
705
|
Project.add_member(:created_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "createdTime"))
|
701
706
|
Project.add_member(:data_delivery, Shapes::ShapeRef.new(shape: ProjectDataDelivery, location_name: "dataDelivery"))
|
@@ -709,6 +714,15 @@ module Aws::CloudWatchEvidently
|
|
709
714
|
Project.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
|
710
715
|
Project.struct_class = Types::Project
|
711
716
|
|
717
|
+
ProjectAppConfigResource.add_member(:application_id, Shapes::ShapeRef.new(shape: AppConfigResourceId, required: true, location_name: "applicationId"))
|
718
|
+
ProjectAppConfigResource.add_member(:configuration_profile_id, Shapes::ShapeRef.new(shape: AppConfigResourceId, required: true, location_name: "configurationProfileId"))
|
719
|
+
ProjectAppConfigResource.add_member(:environment_id, Shapes::ShapeRef.new(shape: AppConfigResourceId, required: true, location_name: "environmentId"))
|
720
|
+
ProjectAppConfigResource.struct_class = Types::ProjectAppConfigResource
|
721
|
+
|
722
|
+
ProjectAppConfigResourceConfig.add_member(:application_id, Shapes::ShapeRef.new(shape: AppConfigResourceId, location_name: "applicationId"))
|
723
|
+
ProjectAppConfigResourceConfig.add_member(:environment_id, Shapes::ShapeRef.new(shape: AppConfigResourceId, location_name: "environmentId"))
|
724
|
+
ProjectAppConfigResourceConfig.struct_class = Types::ProjectAppConfigResourceConfig
|
725
|
+
|
712
726
|
ProjectDataDelivery.add_member(:cloud_watch_logs, Shapes::ShapeRef.new(shape: CloudWatchLogsDestination, location_name: "cloudWatchLogs"))
|
713
727
|
ProjectDataDelivery.add_member(:s3_destination, Shapes::ShapeRef.new(shape: S3Destination, location_name: "s3Destination"))
|
714
728
|
ProjectDataDelivery.struct_class = Types::ProjectDataDelivery
|
@@ -954,6 +968,7 @@ module Aws::CloudWatchEvidently
|
|
954
968
|
UpdateProjectDataDeliveryResponse.add_member(:project, Shapes::ShapeRef.new(shape: Project, required: true, location_name: "project"))
|
955
969
|
UpdateProjectDataDeliveryResponse.struct_class = Types::UpdateProjectDataDeliveryResponse
|
956
970
|
|
971
|
+
UpdateProjectRequest.add_member(:app_config_resource, Shapes::ShapeRef.new(shape: ProjectAppConfigResourceConfig, location_name: "appConfigResource"))
|
957
972
|
UpdateProjectRequest.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "description"))
|
958
973
|
UpdateProjectRequest.add_member(:project, Shapes::ShapeRef.new(shape: ProjectRef, required: true, location: "uri", location_name: "project"))
|
959
974
|
UpdateProjectRequest.struct_class = Types::UpdateProjectRequest
|
@@ -517,6 +517,10 @@ module Aws::CloudWatchEvidently
|
|
517
517
|
# data as a hash:
|
518
518
|
#
|
519
519
|
# {
|
520
|
+
# app_config_resource: {
|
521
|
+
# application_id: "AppConfigResourceId",
|
522
|
+
# environment_id: "AppConfigResourceId",
|
523
|
+
# },
|
520
524
|
# data_delivery: {
|
521
525
|
# cloud_watch_logs: {
|
522
526
|
# log_group: "CwLogGroupSafeName",
|
@@ -533,6 +537,28 @@ module Aws::CloudWatchEvidently
|
|
533
537
|
# },
|
534
538
|
# }
|
535
539
|
#
|
540
|
+
# @!attribute [rw] app_config_resource
|
541
|
+
# Use this parameter if the project will use *client-side evaluation
|
542
|
+
# powered by AppConfig*. Client-side evaluation allows your
|
543
|
+
# application to assign variations to user sessions locally instead of
|
544
|
+
# by calling the [EvaluateFeature][1] operation. This mitigates the
|
545
|
+
# latency and availability risks that come with an API call. For more
|
546
|
+
# information, see [ Client-side evaluation - powered by
|
547
|
+
# AppConfig.][2]
|
548
|
+
#
|
549
|
+
# This parameter is a structure that contains information about the
|
550
|
+
# AppConfig application and environment that will be used as for
|
551
|
+
# client-side evaluation.
|
552
|
+
#
|
553
|
+
# To create a project that uses client-side evaluation, you must have
|
554
|
+
# the `evidently:ExportProjectAsConfiguration` permission.
|
555
|
+
#
|
556
|
+
#
|
557
|
+
#
|
558
|
+
# [1]: https://docs.aws.amazon.com/cloudwatchevidently/latest/APIReference/API_EvaluateFeature.html
|
559
|
+
# [2]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-Evidently-client-side-evaluation.html
|
560
|
+
# @return [Types::ProjectAppConfigResourceConfig]
|
561
|
+
#
|
536
562
|
# @!attribute [rw] data_delivery
|
537
563
|
# A structure that contains information about where Evidently is to
|
538
564
|
# store evaluation events for longer term storage, if you choose to do
|
@@ -566,6 +592,7 @@ module Aws::CloudWatchEvidently
|
|
566
592
|
# @see http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/CreateProjectRequest AWS API Documentation
|
567
593
|
#
|
568
594
|
class CreateProjectRequest < Struct.new(
|
595
|
+
:app_config_resource,
|
569
596
|
:data_delivery,
|
570
597
|
:description,
|
571
598
|
:name,
|
@@ -612,7 +639,7 @@ module Aws::CloudWatchEvidently
|
|
612
639
|
#
|
613
640
|
#
|
614
641
|
#
|
615
|
-
# [1]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-Evidently-segments-syntax.html
|
642
|
+
# [1]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-Evidently-segments.html#CloudWatch-Evidently-segments-syntax.html
|
616
643
|
# @return [String]
|
617
644
|
#
|
618
645
|
# @!attribute [rw] tags
|
@@ -2543,6 +2570,11 @@ module Aws::CloudWatchEvidently
|
|
2543
2570
|
# The number of ongoing launches currently in the project.
|
2544
2571
|
# @return [Integer]
|
2545
2572
|
#
|
2573
|
+
# @!attribute [rw] app_config_resource
|
2574
|
+
# This structure defines the configuration of how your application
|
2575
|
+
# integrates with AppConfig to run client-side evaluation.
|
2576
|
+
# @return [Types::ProjectAppConfigResource]
|
2577
|
+
#
|
2546
2578
|
# @!attribute [rw] arn
|
2547
2579
|
# The name or ARN of the project.
|
2548
2580
|
# @return [String]
|
@@ -2597,6 +2629,7 @@ module Aws::CloudWatchEvidently
|
|
2597
2629
|
class Project < Struct.new(
|
2598
2630
|
:active_experiment_count,
|
2599
2631
|
:active_launch_count,
|
2632
|
+
:app_config_resource,
|
2600
2633
|
:arn,
|
2601
2634
|
:created_time,
|
2602
2635
|
:data_delivery,
|
@@ -2612,6 +2645,77 @@ module Aws::CloudWatchEvidently
|
|
2612
2645
|
include Aws::Structure
|
2613
2646
|
end
|
2614
2647
|
|
2648
|
+
# This is a structure that defines the configuration of how your
|
2649
|
+
# application integrates with AppConfig to run client-side evaluation.
|
2650
|
+
#
|
2651
|
+
# @!attribute [rw] application_id
|
2652
|
+
# The ID of the AppConfig application to use for client-side
|
2653
|
+
# evaluation.
|
2654
|
+
# @return [String]
|
2655
|
+
#
|
2656
|
+
# @!attribute [rw] configuration_profile_id
|
2657
|
+
# The ID of the AppConfig profile to use for client-side evaluation.
|
2658
|
+
# @return [String]
|
2659
|
+
#
|
2660
|
+
# @!attribute [rw] environment_id
|
2661
|
+
# The ID of the AppConfig environment to use for client-side
|
2662
|
+
# evaluation. This must be an environment that is within the
|
2663
|
+
# application that you specify for `applicationId`.
|
2664
|
+
# @return [String]
|
2665
|
+
#
|
2666
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/ProjectAppConfigResource AWS API Documentation
|
2667
|
+
#
|
2668
|
+
class ProjectAppConfigResource < Struct.new(
|
2669
|
+
:application_id,
|
2670
|
+
:configuration_profile_id,
|
2671
|
+
:environment_id)
|
2672
|
+
SENSITIVE = []
|
2673
|
+
include Aws::Structure
|
2674
|
+
end
|
2675
|
+
|
2676
|
+
# Use this parameter to configure client-side evaluation for your
|
2677
|
+
# project. Client-side evaluation allows your application to assign
|
2678
|
+
# variations to user sessions locally instead of by calling the
|
2679
|
+
# [EvaluateFeature][1] operation to assign the variations. This
|
2680
|
+
# mitigates the latency and availability risks that come with an API
|
2681
|
+
# call.
|
2682
|
+
#
|
2683
|
+
# `ProjectAppConfigResource` is a structure that defines the
|
2684
|
+
# configuration of how your application integrates with AppConfig to run
|
2685
|
+
# client-side evaluation.
|
2686
|
+
#
|
2687
|
+
#
|
2688
|
+
#
|
2689
|
+
# [1]: https://docs.aws.amazon.com/cloudwatchevidently/latest/APIReference/API_EvaluateFeature.html
|
2690
|
+
#
|
2691
|
+
# @note When making an API call, you may pass ProjectAppConfigResourceConfig
|
2692
|
+
# data as a hash:
|
2693
|
+
#
|
2694
|
+
# {
|
2695
|
+
# application_id: "AppConfigResourceId",
|
2696
|
+
# environment_id: "AppConfigResourceId",
|
2697
|
+
# }
|
2698
|
+
#
|
2699
|
+
# @!attribute [rw] application_id
|
2700
|
+
# The ID of the AppConfig application to use for client-side
|
2701
|
+
# evaluation.
|
2702
|
+
# @return [String]
|
2703
|
+
#
|
2704
|
+
# @!attribute [rw] environment_id
|
2705
|
+
# The ID of the AppConfig environment to use for client-side
|
2706
|
+
# evaluation. This must be an environment that is within the
|
2707
|
+
# application that you specify for `applicationId`.
|
2708
|
+
# @return [String]
|
2709
|
+
#
|
2710
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/ProjectAppConfigResourceConfig AWS API Documentation
|
2711
|
+
#
|
2712
|
+
class ProjectAppConfigResourceConfig < Struct.new(
|
2713
|
+
:application_id,
|
2714
|
+
:environment_id)
|
2715
|
+
SENSITIVE = []
|
2716
|
+
include Aws::Structure
|
2717
|
+
end
|
2718
|
+
|
2615
2719
|
# A structure that contains information about where Evidently is to
|
2616
2720
|
# store evaluation events for longer term storage.
|
2617
2721
|
#
|
@@ -3139,6 +3243,13 @@ module Aws::CloudWatchEvidently
|
|
3139
3243
|
# @return [String]
|
3140
3244
|
#
|
3141
3245
|
# @!attribute [rw] pattern
|
3246
|
+
# The pattern that defines the attributes to use to evalute whether a
|
3247
|
+
# user session will be in the segment. For more information about the
|
3248
|
+
# pattern syntax, see [Segment rule pattern syntax][1].
|
3249
|
+
#
|
3250
|
+
#
|
3251
|
+
#
|
3252
|
+
# [1]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-Evidently-segments.html
|
3142
3253
|
# @return [String]
|
3143
3254
|
#
|
3144
3255
|
# @!attribute [rw] tags
|
@@ -4028,10 +4139,29 @@ module Aws::CloudWatchEvidently
|
|
4028
4139
|
# data as a hash:
|
4029
4140
|
#
|
4030
4141
|
# {
|
4142
|
+
# app_config_resource: {
|
4143
|
+
# application_id: "AppConfigResourceId",
|
4144
|
+
# environment_id: "AppConfigResourceId",
|
4145
|
+
# },
|
4031
4146
|
# description: "Description",
|
4032
4147
|
# project: "ProjectRef", # required
|
4033
4148
|
# }
|
4034
4149
|
#
|
4150
|
+
# @!attribute [rw] app_config_resource
|
4151
|
+
# Use this parameter if the project will use client-side evaluation
|
4152
|
+
# powered by AppConfig. Client-side evaluation allows your application
|
4153
|
+
# to assign variations to user sessions locally instead of by calling
|
4154
|
+
# the [EvaluateFeature][1] operation. This mitigates the latency and
|
4155
|
+
# availability risks that come with an API call. allows you to
|
4156
|
+
#
|
4157
|
+
# This parameter is a structure that contains information about the
|
4158
|
+
# AppConfig application that will be used for client-side evaluation.
|
4159
|
+
#
|
4160
|
+
#
|
4161
|
+
#
|
4162
|
+
# [1]: https://docs.aws.amazon.com/cloudwatchevidently/latest/APIReference/API_EvaluateFeature.html
|
4163
|
+
# @return [Types::ProjectAppConfigResourceConfig]
|
4164
|
+
#
|
4035
4165
|
# @!attribute [rw] description
|
4036
4166
|
# An optional description of the project.
|
4037
4167
|
# @return [String]
|
@@ -4043,6 +4173,7 @@ module Aws::CloudWatchEvidently
|
|
4043
4173
|
# @see http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/UpdateProjectRequest AWS API Documentation
|
4044
4174
|
#
|
4045
4175
|
class UpdateProjectRequest < Struct.new(
|
4176
|
+
:app_config_resource,
|
4046
4177
|
:description,
|
4047
4178
|
:project)
|
4048
4179
|
SENSITIVE = []
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-cloudwatchevidently
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.8.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-
|
11
|
+
date: 2022-09-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|