aws-sdk-cloudwatchevidently 1.10.0 → 1.12.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 +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-cloudwatchevidently/client.rb +88 -9
- data/lib/aws-sdk-cloudwatchevidently/endpoint_provider.rb +27 -24
- data/lib/aws-sdk-cloudwatchevidently/types.rb +56 -7
- 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: 22a6baee1eb80000ca6b03e722ae0d8613727827f2de9c3e1f38c16dbabd399c
|
|
4
|
+
data.tar.gz: b182e095d1db759094dedad02ed91243d081cd221779b7139dc2302117f92055
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 60ca86752c74b32fca9b89c238bd13d910665155d968034efe2d40e1c2256f0604c204ed8f7837f419b51ad2b282655ea125164c025a401c69ac216c32b54f1c
|
|
7
|
+
data.tar.gz: 52c0cfc543d033492c9d75d6da3a07754cd6be760f297695621fc76e6dbece2927aec358a97805804d727c56d28ee0cdf87bada7b5b1dc6999f58713c117fc82
|
data/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,16 @@
|
|
|
1
1
|
Unreleased Changes
|
|
2
2
|
------------------
|
|
3
3
|
|
|
4
|
+
1.12.0 (2023-03-09)
|
|
5
|
+
------------------
|
|
6
|
+
|
|
7
|
+
* Feature - Updated entity override documentation
|
|
8
|
+
|
|
9
|
+
1.11.0 (2023-02-09)
|
|
10
|
+
------------------
|
|
11
|
+
|
|
12
|
+
* Feature - Updated entity overrides parameter to accept up to 2500 overrides or a total of 40KB.
|
|
13
|
+
|
|
4
14
|
1.10.0 (2023-01-18)
|
|
5
15
|
------------------
|
|
6
16
|
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.12.0
|
|
@@ -513,7 +513,13 @@ module Aws::CloudWatchEvidently
|
|
|
513
513
|
# Tags don't have any semantic meaning to Amazon Web Services and are
|
|
514
514
|
# interpreted strictly as strings of characters.
|
|
515
515
|
#
|
|
516
|
-
#
|
|
516
|
+
# You can associate as many as 50 tags with an experiment.
|
|
517
|
+
#
|
|
518
|
+
# For more information, see [Tagging Amazon Web Services resources][1].
|
|
519
|
+
#
|
|
520
|
+
#
|
|
521
|
+
#
|
|
522
|
+
# [1]: https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html
|
|
517
523
|
#
|
|
518
524
|
# @option params [required, Array<Types::TreatmentConfig>] :treatments
|
|
519
525
|
# An array of structures that describe the configuration of each feature
|
|
@@ -641,6 +647,9 @@ module Aws::CloudWatchEvidently
|
|
|
641
647
|
# identifier. For the value, specify the name of the variation that they
|
|
642
648
|
# are to be served.
|
|
643
649
|
#
|
|
650
|
+
# This parameter is limited to 2500 overrides or a total of 40KB. The
|
|
651
|
+
# 40KB limit includes an overhead of 6 bytes per override.
|
|
652
|
+
#
|
|
644
653
|
# @option params [String] :evaluation_strategy
|
|
645
654
|
# Specify `ALL_RULES` to activate the traffic allocation specified by
|
|
646
655
|
# any ongoing launches or experiments. Specify `DEFAULT_VARIATION` to
|
|
@@ -662,7 +671,13 @@ module Aws::CloudWatchEvidently
|
|
|
662
671
|
# Tags don't have any semantic meaning to Amazon Web Services and are
|
|
663
672
|
# interpreted strictly as strings of characters.
|
|
664
673
|
#
|
|
665
|
-
#
|
|
674
|
+
# You can associate as many as 50 tags with a feature.
|
|
675
|
+
#
|
|
676
|
+
# For more information, see [Tagging Amazon Web Services resources][1].
|
|
677
|
+
#
|
|
678
|
+
#
|
|
679
|
+
#
|
|
680
|
+
# [1]: https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html
|
|
666
681
|
#
|
|
667
682
|
# @option params [required, Array<Types::VariationConfig>] :variations
|
|
668
683
|
# An array of structures that contain the configuration of the
|
|
@@ -789,7 +804,13 @@ module Aws::CloudWatchEvidently
|
|
|
789
804
|
# Tags don't have any semantic meaning to Amazon Web Services and are
|
|
790
805
|
# interpreted strictly as strings of characters.
|
|
791
806
|
#
|
|
792
|
-
#
|
|
807
|
+
# You can associate as many as 50 tags with a launch.
|
|
808
|
+
#
|
|
809
|
+
# For more information, see [Tagging Amazon Web Services resources][1].
|
|
810
|
+
#
|
|
811
|
+
#
|
|
812
|
+
#
|
|
813
|
+
# [1]: https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html
|
|
793
814
|
#
|
|
794
815
|
# @return [Types::CreateLaunchResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
795
816
|
#
|
|
@@ -944,7 +965,13 @@ module Aws::CloudWatchEvidently
|
|
|
944
965
|
# Tags don't have any semantic meaning to Amazon Web Services and are
|
|
945
966
|
# interpreted strictly as strings of characters.
|
|
946
967
|
#
|
|
947
|
-
#
|
|
968
|
+
# You can associate as many as 50 tags with a project.
|
|
969
|
+
#
|
|
970
|
+
# For more information, see [Tagging Amazon Web Services resources][1].
|
|
971
|
+
#
|
|
972
|
+
#
|
|
973
|
+
#
|
|
974
|
+
# [1]: https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html
|
|
948
975
|
#
|
|
949
976
|
# @return [Types::CreateProjectResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
950
977
|
#
|
|
@@ -1015,7 +1042,18 @@ module Aws::CloudWatchEvidently
|
|
|
1015
1042
|
# segments in a launch allows you to define different traffic splits for
|
|
1016
1043
|
# the different audience segments.
|
|
1017
1044
|
#
|
|
1018
|
-
#
|
|
1045
|
+
# For more information about segment pattern syntax, see [ Segment rule
|
|
1046
|
+
# pattern syntax][1].
|
|
1047
|
+
#
|
|
1048
|
+
# The pattern that you define for a segment is matched against the value
|
|
1049
|
+
# of `evaluationContext`, which is passed into Evidently in the
|
|
1050
|
+
# [EvaluateFeature][2] operation, when Evidently assigns a feature
|
|
1051
|
+
# variation to a user.
|
|
1052
|
+
#
|
|
1053
|
+
#
|
|
1054
|
+
#
|
|
1055
|
+
# [1]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-Evidently-segments.html#CloudWatch-Evidently-segments-syntax.html
|
|
1056
|
+
# [2]: https://docs.aws.amazon.com/cloudwatchevidently/latest/APIReference/API_EvaluateFeature.html
|
|
1019
1057
|
#
|
|
1020
1058
|
# @option params [String] :description
|
|
1021
1059
|
# An optional description for this segment.
|
|
@@ -1045,7 +1083,13 @@ module Aws::CloudWatchEvidently
|
|
|
1045
1083
|
# Tags don't have any semantic meaning to Amazon Web Services and are
|
|
1046
1084
|
# interpreted strictly as strings of characters.
|
|
1047
1085
|
#
|
|
1048
|
-
#
|
|
1086
|
+
# You can associate as many as 50 tags with a segment.
|
|
1087
|
+
#
|
|
1088
|
+
# For more information, see [Tagging Amazon Web Services resources][1].
|
|
1089
|
+
#
|
|
1090
|
+
#
|
|
1091
|
+
#
|
|
1092
|
+
# [1]: https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html
|
|
1049
1093
|
#
|
|
1050
1094
|
# @return [Types::CreateSegmentResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
1051
1095
|
#
|
|
@@ -1236,7 +1280,38 @@ module Aws::CloudWatchEvidently
|
|
|
1236
1280
|
# user's `entityID` matches an override rule, the user is served the
|
|
1237
1281
|
# variation specified by that rule.
|
|
1238
1282
|
#
|
|
1239
|
-
#
|
|
1283
|
+
# If there is a current launch with this feature that uses segment
|
|
1284
|
+
# overrides, and if the user session's `evaluationContext` matches a
|
|
1285
|
+
# segment rule defined in a segment override, the configuration in the
|
|
1286
|
+
# segment overrides is used. For more information about segments, see
|
|
1287
|
+
# [CreateSegment][1] and [Use segments to focus your audience][2].
|
|
1288
|
+
#
|
|
1289
|
+
# If there is a launch with no segment overrides, the user might be
|
|
1290
|
+
# assigned to a variation in the launch. The chance of this depends on
|
|
1291
|
+
# the percentage of users that are allocated to that launch. If the user
|
|
1292
|
+
# is enrolled in the launch, the variation they are served depends on
|
|
1293
|
+
# the allocation of the various feature variations used for the launch.
|
|
1294
|
+
#
|
|
1295
|
+
# If the user is not assigned to a launch, and there is an ongoing
|
|
1296
|
+
# experiment for this feature, the user might be assigned to a variation
|
|
1297
|
+
# in the experiment. The chance of this depends on the percentage of
|
|
1298
|
+
# users that are allocated to that experiment.
|
|
1299
|
+
#
|
|
1300
|
+
# If the experiment uses a segment, then only user sessions with
|
|
1301
|
+
# `evaluationContext` values that match the segment rule are used in the
|
|
1302
|
+
# experiment.
|
|
1303
|
+
#
|
|
1304
|
+
# If the user is enrolled in the experiment, the variation they are
|
|
1305
|
+
# served depends on the allocation of the various feature variations
|
|
1306
|
+
# used for the experiment.
|
|
1307
|
+
#
|
|
1308
|
+
# If the user is not assigned to a launch or experiment, they are served
|
|
1309
|
+
# the default variation.
|
|
1310
|
+
#
|
|
1311
|
+
#
|
|
1312
|
+
#
|
|
1313
|
+
# [1]: https://docs.aws.amazon.com/cloudwatchevidently/latest/APIReference/API_CreateSegment.html
|
|
1314
|
+
# [2]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-Evidently-segments.html
|
|
1240
1315
|
#
|
|
1241
1316
|
# @option params [required, String] :entity_id
|
|
1242
1317
|
# An internal ID that represents a unique user of the application. This
|
|
@@ -1250,7 +1325,8 @@ module Aws::CloudWatchEvidently
|
|
|
1250
1325
|
# audience segments. For more information, see [Use segments to focus
|
|
1251
1326
|
# your audience][1].
|
|
1252
1327
|
#
|
|
1253
|
-
#
|
|
1328
|
+
# If you include this parameter, the value must be a JSON object. A JSON
|
|
1329
|
+
# array is not supported.
|
|
1254
1330
|
#
|
|
1255
1331
|
# **SDK automatically handles json encoding and base64 encoding for you
|
|
1256
1332
|
# when the required value (Hash, Array, etc.) is provided according to
|
|
@@ -2657,6 +2733,9 @@ module Aws::CloudWatchEvidently
|
|
|
2657
2733
|
# identifier. For the value, specify the name of the variation that they
|
|
2658
2734
|
# are to be served.
|
|
2659
2735
|
#
|
|
2736
|
+
# This parameter is limited to 2500 overrides or a total of 40KB. The
|
|
2737
|
+
# 40KB limit includes an overhead of 6 bytes per override.
|
|
2738
|
+
#
|
|
2660
2739
|
# @option params [String] :evaluation_strategy
|
|
2661
2740
|
# Specify `ALL_RULES` to activate the traffic allocation specified by
|
|
2662
2741
|
# any ongoing launches or experiments. Specify `DEFAULT_VARIATION` to
|
|
@@ -3040,7 +3119,7 @@ module Aws::CloudWatchEvidently
|
|
|
3040
3119
|
params: params,
|
|
3041
3120
|
config: config)
|
|
3042
3121
|
context[:gem_name] = 'aws-sdk-cloudwatchevidently'
|
|
3043
|
-
context[:gem_version] = '1.
|
|
3122
|
+
context[:gem_version] = '1.12.0'
|
|
3044
3123
|
Seahorse::Client::Request.new(handlers, context)
|
|
3045
3124
|
end
|
|
3046
3125
|
|
|
@@ -14,36 +14,39 @@ module Aws::CloudWatchEvidently
|
|
|
14
14
|
use_dual_stack = parameters.use_dual_stack
|
|
15
15
|
use_fips = parameters.use_fips
|
|
16
16
|
endpoint = parameters.endpoint
|
|
17
|
-
if
|
|
18
|
-
if Aws::Endpoints::Matchers.set?(endpoint) && (url = Aws::Endpoints::Matchers.parse_url(endpoint))
|
|
19
|
-
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
|
|
20
|
-
raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
|
|
21
|
-
end
|
|
22
|
-
if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
|
23
|
-
raise ArgumentError, "Invalid Configuration: Dualstack and custom endpoint are not supported"
|
|
24
|
-
end
|
|
25
|
-
return Aws::Endpoints::Endpoint.new(url: endpoint, headers: {}, properties: {})
|
|
26
|
-
end
|
|
27
|
-
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
|
28
|
-
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS")) && Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
|
|
29
|
-
return Aws::Endpoints::Endpoint.new(url: "https://evidently-fips.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
|
|
30
|
-
end
|
|
31
|
-
raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
|
|
32
|
-
end
|
|
17
|
+
if Aws::Endpoints::Matchers.set?(endpoint)
|
|
33
18
|
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
|
|
34
|
-
|
|
35
|
-
return Aws::Endpoints::Endpoint.new(url: "https://evidently-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
|
36
|
-
end
|
|
37
|
-
raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
|
|
19
|
+
raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
|
|
38
20
|
end
|
|
39
21
|
if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
|
40
|
-
|
|
41
|
-
|
|
22
|
+
raise ArgumentError, "Invalid Configuration: Dualstack and custom endpoint are not supported"
|
|
23
|
+
end
|
|
24
|
+
return Aws::Endpoints::Endpoint.new(url: endpoint, headers: {}, properties: {})
|
|
25
|
+
end
|
|
26
|
+
if Aws::Endpoints::Matchers.set?(region)
|
|
27
|
+
if (partition_result = Aws::Endpoints::Matchers.aws_partition(region))
|
|
28
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
|
29
|
+
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS")) && Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
|
|
30
|
+
return Aws::Endpoints::Endpoint.new(url: "https://evidently-fips.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
|
|
31
|
+
end
|
|
32
|
+
raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
|
|
33
|
+
end
|
|
34
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
|
|
35
|
+
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
|
|
36
|
+
return Aws::Endpoints::Endpoint.new(url: "https://evidently-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
|
37
|
+
end
|
|
38
|
+
raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
|
|
39
|
+
end
|
|
40
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
|
41
|
+
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
|
|
42
|
+
return Aws::Endpoints::Endpoint.new(url: "https://evidently.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
|
|
43
|
+
end
|
|
44
|
+
raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
|
|
42
45
|
end
|
|
43
|
-
|
|
46
|
+
return Aws::Endpoints::Endpoint.new(url: "https://evidently.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
|
44
47
|
end
|
|
45
|
-
return Aws::Endpoints::Endpoint.new(url: "https://evidently.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
|
46
48
|
end
|
|
49
|
+
raise ArgumentError, "Invalid Configuration: Missing Region"
|
|
47
50
|
raise ArgumentError, 'No endpoint could be resolved'
|
|
48
51
|
|
|
49
52
|
end
|
|
@@ -172,7 +172,14 @@ module Aws::CloudWatchEvidently
|
|
|
172
172
|
# Tags don't have any semantic meaning to Amazon Web Services and are
|
|
173
173
|
# interpreted strictly as strings of characters.
|
|
174
174
|
#
|
|
175
|
-
#
|
|
175
|
+
# You can associate as many as 50 tags with an experiment.
|
|
176
|
+
#
|
|
177
|
+
# For more information, see [Tagging Amazon Web Services
|
|
178
|
+
# resources][1].
|
|
179
|
+
#
|
|
180
|
+
#
|
|
181
|
+
#
|
|
182
|
+
# [1]: https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html
|
|
176
183
|
# @return [Hash<String,String>]
|
|
177
184
|
#
|
|
178
185
|
# @!attribute [rw] treatments
|
|
@@ -231,6 +238,9 @@ module Aws::CloudWatchEvidently
|
|
|
231
238
|
# specify a user by entering their user ID, account ID, or some other
|
|
232
239
|
# identifier. For the value, specify the name of the variation that
|
|
233
240
|
# they are to be served.
|
|
241
|
+
#
|
|
242
|
+
# This parameter is limited to 2500 overrides or a total of 40KB. The
|
|
243
|
+
# 40KB limit includes an overhead of 6 bytes per override.
|
|
234
244
|
# @return [Hash<String,String>]
|
|
235
245
|
#
|
|
236
246
|
# @!attribute [rw] evaluation_strategy
|
|
@@ -258,7 +268,14 @@ module Aws::CloudWatchEvidently
|
|
|
258
268
|
# Tags don't have any semantic meaning to Amazon Web Services and are
|
|
259
269
|
# interpreted strictly as strings of characters.
|
|
260
270
|
#
|
|
261
|
-
#
|
|
271
|
+
# You can associate as many as 50 tags with a feature.
|
|
272
|
+
#
|
|
273
|
+
# For more information, see [Tagging Amazon Web Services
|
|
274
|
+
# resources][1].
|
|
275
|
+
#
|
|
276
|
+
#
|
|
277
|
+
#
|
|
278
|
+
# [1]: https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html
|
|
262
279
|
# @return [Hash<String,String>]
|
|
263
280
|
#
|
|
264
281
|
# @!attribute [rw] variations
|
|
@@ -341,7 +358,14 @@ module Aws::CloudWatchEvidently
|
|
|
341
358
|
# Tags don't have any semantic meaning to Amazon Web Services and are
|
|
342
359
|
# interpreted strictly as strings of characters.
|
|
343
360
|
#
|
|
344
|
-
#
|
|
361
|
+
# You can associate as many as 50 tags with a launch.
|
|
362
|
+
#
|
|
363
|
+
# For more information, see [Tagging Amazon Web Services
|
|
364
|
+
# resources][1].
|
|
365
|
+
#
|
|
366
|
+
#
|
|
367
|
+
#
|
|
368
|
+
# [1]: https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html
|
|
345
369
|
# @return [Hash<String,String>]
|
|
346
370
|
#
|
|
347
371
|
# @see http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/CreateLaunchRequest AWS API Documentation
|
|
@@ -421,7 +445,14 @@ module Aws::CloudWatchEvidently
|
|
|
421
445
|
# Tags don't have any semantic meaning to Amazon Web Services and are
|
|
422
446
|
# interpreted strictly as strings of characters.
|
|
423
447
|
#
|
|
424
|
-
#
|
|
448
|
+
# You can associate as many as 50 tags with a project.
|
|
449
|
+
#
|
|
450
|
+
# For more information, see [Tagging Amazon Web Services
|
|
451
|
+
# resources][1].
|
|
452
|
+
#
|
|
453
|
+
#
|
|
454
|
+
#
|
|
455
|
+
# [1]: https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html
|
|
425
456
|
# @return [Hash<String,String>]
|
|
426
457
|
#
|
|
427
458
|
# @see http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/CreateProjectRequest AWS API Documentation
|
|
@@ -476,7 +507,14 @@ module Aws::CloudWatchEvidently
|
|
|
476
507
|
# Tags don't have any semantic meaning to Amazon Web Services and are
|
|
477
508
|
# interpreted strictly as strings of characters.
|
|
478
509
|
#
|
|
479
|
-
#
|
|
510
|
+
# You can associate as many as 50 tags with a segment.
|
|
511
|
+
#
|
|
512
|
+
# For more information, see [Tagging Amazon Web Services
|
|
513
|
+
# resources][1].
|
|
514
|
+
#
|
|
515
|
+
#
|
|
516
|
+
#
|
|
517
|
+
# [1]: https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html
|
|
480
518
|
# @return [Hash<String,String>]
|
|
481
519
|
#
|
|
482
520
|
# @see http://docs.aws.amazon.com/goto/WebAPI/evidently-2021-02-01/CreateSegmentRequest AWS API Documentation
|
|
@@ -612,7 +650,8 @@ module Aws::CloudWatchEvidently
|
|
|
612
650
|
# audience segments. For more information, see [Use segments to focus
|
|
613
651
|
# your audience][1].
|
|
614
652
|
#
|
|
615
|
-
#
|
|
653
|
+
# If you include this parameter, the value must be a JSON object. A
|
|
654
|
+
# JSON array is not supported.
|
|
616
655
|
#
|
|
617
656
|
#
|
|
618
657
|
#
|
|
@@ -2637,7 +2676,14 @@ module Aws::CloudWatchEvidently
|
|
|
2637
2676
|
# keys are variation names. The values represent the percentage of
|
|
2638
2677
|
# traffic to allocate to that variation during this step.
|
|
2639
2678
|
#
|
|
2640
|
-
#
|
|
2679
|
+
# The values is expressed in thousandths of a percent, so assigning a
|
|
2680
|
+
# weight of 50000 assigns 50% of traffic to that variation.
|
|
2681
|
+
#
|
|
2682
|
+
# If the sum of the weights for all the variations in a segment
|
|
2683
|
+
# override does not add up to 100,000, then the remaining traffic that
|
|
2684
|
+
# matches this segment is not assigned by this segment override, and
|
|
2685
|
+
# instead moves on to the next segment override or the default traffic
|
|
2686
|
+
# split.
|
|
2641
2687
|
# @return [Hash<String,Integer>]
|
|
2642
2688
|
#
|
|
2643
2689
|
# @!attribute [rw] segment_overrides
|
|
@@ -3268,6 +3314,9 @@ module Aws::CloudWatchEvidently
|
|
|
3268
3314
|
# key, specify a user by entering their user ID, account ID, or some
|
|
3269
3315
|
# other identifier. For the value, specify the name of the variation
|
|
3270
3316
|
# that they are to be served.
|
|
3317
|
+
#
|
|
3318
|
+
# This parameter is limited to 2500 overrides or a total of 40KB. The
|
|
3319
|
+
# 40KB limit includes an overhead of 6 bytes per override.
|
|
3271
3320
|
# @return [Hash<String,String>]
|
|
3272
3321
|
#
|
|
3273
3322
|
# @!attribute [rw] evaluation_strategy
|
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.12.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: 2023-
|
|
11
|
+
date: 2023-03-09 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: aws-sdk-core
|