aws-sdk-cloudwatchevidently 1.9.0 → 1.10.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 3a5922ec245fc04279c4c344b952324eecef4d9f61711586b9505d661fa55fe5
4
- data.tar.gz: '0907e82068cc44f4c58a7e04b3079caa26d0e64e4989a1aae7dd297d1366355e'
3
+ metadata.gz: d627fc011673779ddc907be70d7b3b2a0272f32a2329ff3e67290a8fbadd7782
4
+ data.tar.gz: c641ef8f71bbee193079d0c34ab0381fe43475a7cb35d16343c624b181a5e3b6
5
5
  SHA512:
6
- metadata.gz: 7a7af285fa0df5f4d1b7e2d346154734e698ed8f4de3e2df6b8524c9df5ba8eb44bd067402fe186d4a3f0d803dab5b629e3b219941fac7d3831e311389bf919a
7
- data.tar.gz: 4fbc8ffcfd23d403fd25d651c829b9d8480a70141be8d51323c7d96f51a04c82e282908fe771f7d3480e347ed3e6b101319bdbedaa6b09610de642709c073832
6
+ metadata.gz: 30725819de34d1fa3797d460cc3c9d42e4c7f23734e5c5675f7e8b337347ce76bb5509f34993a7651770d0ff99cd7d4b8dbe21c6c991abd331fadd87ea43fbf2
7
+ data.tar.gz: 2774d388bf8220fba9eef60b390a54b54ab3fed8ae63ee08c9d4e0b91c5814a1361d6623f74d5369ae48af3740242ad3e3654f55f534e7fc3aa689d8809fa4b7
data/CHANGELOG.md CHANGED
@@ -1,6 +1,13 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.10.0 (2023-01-18)
5
+ ------------------
6
+
7
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
8
+
9
+ * Issue - Replace runtime endpoint resolution approach with generated ruby code.
10
+
4
11
  1.9.0 (2022-10-25)
5
12
  ------------------
6
13
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.9.0
1
+ 1.10.0
@@ -3040,7 +3040,7 @@ module Aws::CloudWatchEvidently
3040
3040
  params: params,
3041
3041
  config: config)
3042
3042
  context[:gem_name] = 'aws-sdk-cloudwatchevidently'
3043
- context[:gem_version] = '1.9.0'
3043
+ context[:gem_version] = '1.10.0'
3044
3044
  Seahorse::Client::Request.new(handlers, context)
3045
3045
  end
3046
3046
 
@@ -9,104 +9,43 @@
9
9
 
10
10
  module Aws::CloudWatchEvidently
11
11
  class EndpointProvider
12
- def initialize(rule_set = nil)
13
- @@rule_set ||= begin
14
- endpoint_rules = Aws::Json.load(Base64.decode64(RULES))
15
- Aws::Endpoints::RuleSet.new(
16
- version: endpoint_rules['version'],
17
- service_id: endpoint_rules['serviceId'],
18
- parameters: endpoint_rules['parameters'],
19
- rules: endpoint_rules['rules']
20
- )
12
+ def resolve_endpoint(parameters)
13
+ region = parameters.region
14
+ use_dual_stack = parameters.use_dual_stack
15
+ use_fips = parameters.use_fips
16
+ endpoint = parameters.endpoint
17
+ if (partition_result = Aws::Endpoints::Matchers.aws_partition(region))
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
33
+ if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
34
+ if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
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"
38
+ end
39
+ if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
40
+ if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
41
+ return Aws::Endpoints::Endpoint.new(url: "https://evidently.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
42
+ end
43
+ raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
44
+ end
45
+ return Aws::Endpoints::Endpoint.new(url: "https://evidently.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
21
46
  end
22
- @provider = Aws::Endpoints::RulesProvider.new(rule_set || @@rule_set)
23
- end
47
+ raise ArgumentError, 'No endpoint could be resolved'
24
48
 
25
- def resolve_endpoint(parameters)
26
- @provider.resolve_endpoint(parameters)
27
49
  end
28
-
29
- # @api private
30
- RULES = <<-JSON
31
- eyJ2ZXJzaW9uIjoiMS4wIiwicGFyYW1ldGVycyI6eyJSZWdpb24iOnsiYnVp
32
- bHRJbiI6IkFXUzo6UmVnaW9uIiwicmVxdWlyZWQiOmZhbHNlLCJkb2N1bWVu
33
- dGF0aW9uIjoiVGhlIEFXUyByZWdpb24gdXNlZCB0byBkaXNwYXRjaCB0aGUg
34
- cmVxdWVzdC4iLCJ0eXBlIjoiU3RyaW5nIn0sIlVzZUR1YWxTdGFjayI6eyJi
35
- dWlsdEluIjoiQVdTOjpVc2VEdWFsU3RhY2siLCJyZXF1a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i
102
- OiJlbmRwb2ludCJ9XX0seyJjb25kaXRpb25zIjpbXSwiZXJyb3IiOiJEdWFs
103
- U3RhY2sgaXMgZW5hYmxlZCBidXQgdGhpcyBwYXJ0aXRpb24gZG9lcyBub3Qg
104
- c3VwcG9ydCBEdWFsU3RhY2siLCJ0eXBlIjoiZXJyb3IifV19LHsiY29uZGl0
105
- aW9ucyI6W10sImVuZHBvaW50Ijp7InVybCI6Imh0dHBzOi8vZXZpZGVudGx5
106
- LntSZWdpb259LntQYXJ0aXRpb25SZXN1bHQjZG5zU3VmZml4fSIsInByb3Bl
107
- cnRpZXMiOnt9LCJoZWFkZXJzIjp7fX0sInR5cGUiOiJlbmRwb2ludCJ9XX1d
108
- fQ==
109
-
110
- JSON
111
50
  end
112
51
  end
@@ -23,20 +23,6 @@ module Aws::CloudWatchEvidently
23
23
  include Aws::Structure
24
24
  end
25
25
 
26
- # @note When making an API call, you may pass BatchEvaluateFeatureRequest
27
- # data as a hash:
28
- #
29
- # {
30
- # project: "ProjectRef", # required
31
- # requests: [ # required
32
- # {
33
- # entity_id: "EntityId", # required
34
- # evaluation_context: "JsonValue",
35
- # feature: "FeatureName", # required
36
- # },
37
- # ],
38
- # }
39
- #
40
26
  # @!attribute [rw] project
41
27
  # The name or ARN of the project that contains the feature being
42
28
  # evaluated.
@@ -88,13 +74,6 @@ module Aws::CloudWatchEvidently
88
74
  # A structure containing the CloudWatch Logs log group where the project
89
75
  # stores evaluation events.
90
76
  #
91
- # @note When making an API call, you may pass CloudWatchLogsDestinationConfig
92
- # data as a hash:
93
- #
94
- # {
95
- # log_group: "CwLogGroupSafeName",
96
- # }
97
- #
98
77
  # @!attribute [rw] log_group
99
78
  # The name of the log group where the project stores evaluation
100
79
  # events.
@@ -132,47 +111,6 @@ module Aws::CloudWatchEvidently
132
111
  include Aws::Structure
133
112
  end
134
113
 
135
- # @note When making an API call, you may pass CreateExperimentRequest
136
- # data as a hash:
137
- #
138
- # {
139
- # description: "Description",
140
- # metric_goals: [ # required
141
- # {
142
- # desired_change: "INCREASE", # accepts INCREASE, DECREASE
143
- # metric_definition: { # required
144
- # entity_id_key: "JsonPath", # required
145
- # event_pattern: "MetricDefinitionConfigEventPatternString",
146
- # name: "CwDimensionSafeName", # required
147
- # unit_label: "MetricUnitLabel",
148
- # value_key: "JsonPath", # required
149
- # },
150
- # },
151
- # ],
152
- # name: "ExperimentName", # required
153
- # online_ab_config: {
154
- # control_treatment_name: "TreatmentName",
155
- # treatment_weights: {
156
- # "TreatmentName" => 1,
157
- # },
158
- # },
159
- # project: "ProjectRef", # required
160
- # randomization_salt: "RandomizationSalt",
161
- # sampling_rate: 1,
162
- # segment: "SegmentRef",
163
- # tags: {
164
- # "TagKey" => "TagValue",
165
- # },
166
- # treatments: [ # required
167
- # {
168
- # description: "Description",
169
- # feature: "FeatureName", # required
170
- # name: "TreatmentName", # required
171
- # variation: "VariationName", # required
172
- # },
173
- # ],
174
- # }
175
- #
176
114
  # @!attribute [rw] description
177
115
  # An optional description of the experiment.
178
116
  # @return [String]
@@ -272,34 +210,6 @@ module Aws::CloudWatchEvidently
272
210
  include Aws::Structure
273
211
  end
274
212
 
275
- # @note When making an API call, you may pass CreateFeatureRequest
276
- # data as a hash:
277
- #
278
- # {
279
- # default_variation: "VariationName",
280
- # description: "Description",
281
- # entity_overrides: {
282
- # "EntityId" => "VariationName",
283
- # },
284
- # evaluation_strategy: "ALL_RULES", # accepts ALL_RULES, DEFAULT_VARIATION
285
- # name: "FeatureName", # required
286
- # project: "ProjectRef", # required
287
- # tags: {
288
- # "TagKey" => "TagValue",
289
- # },
290
- # variations: [ # required
291
- # {
292
- # name: "VariationName", # required
293
- # value: { # required
294
- # bool_value: false,
295
- # double_value: 1.0,
296
- # long_value: 1,
297
- # string_value: "VariableValueStringValueString",
298
- # },
299
- # },
300
- # ],
301
- # }
302
- #
303
213
  # @!attribute [rw] default_variation
304
214
  # The name of the variation to use as the default variation. The
305
215
  # default variation is served to users who are not allocated to any
@@ -383,57 +293,6 @@ module Aws::CloudWatchEvidently
383
293
  include Aws::Structure
384
294
  end
385
295
 
386
- # @note When making an API call, you may pass CreateLaunchRequest
387
- # data as a hash:
388
- #
389
- # {
390
- # description: "Description",
391
- # groups: [ # required
392
- # {
393
- # description: "Description",
394
- # feature: "FeatureName", # required
395
- # name: "GroupName", # required
396
- # variation: "VariationName", # required
397
- # },
398
- # ],
399
- # metric_monitors: [
400
- # {
401
- # metric_definition: { # required
402
- # entity_id_key: "JsonPath", # required
403
- # event_pattern: "MetricDefinitionConfigEventPatternString",
404
- # name: "CwDimensionSafeName", # required
405
- # unit_label: "MetricUnitLabel",
406
- # value_key: "JsonPath", # required
407
- # },
408
- # },
409
- # ],
410
- # name: "LaunchName", # required
411
- # project: "ProjectRef", # required
412
- # randomization_salt: "RandomizationSalt",
413
- # scheduled_splits_config: {
414
- # steps: [ # required
415
- # {
416
- # group_weights: { # required
417
- # "GroupName" => 1,
418
- # },
419
- # segment_overrides: [
420
- # {
421
- # evaluation_order: 1, # required
422
- # segment: "SegmentRef", # required
423
- # weights: { # required
424
- # "GroupName" => 1,
425
- # },
426
- # },
427
- # ],
428
- # start_time: Time.now, # required
429
- # },
430
- # ],
431
- # },
432
- # tags: {
433
- # "TagKey" => "TagValue",
434
- # },
435
- # }
436
- #
437
296
  # @!attribute [rw] description
438
297
  # An optional description for the launch.
439
298
  # @return [String]
@@ -513,30 +372,6 @@ module Aws::CloudWatchEvidently
513
372
  include Aws::Structure
514
373
  end
515
374
 
516
- # @note When making an API call, you may pass CreateProjectRequest
517
- # data as a hash:
518
- #
519
- # {
520
- # app_config_resource: {
521
- # application_id: "AppConfigResourceId",
522
- # environment_id: "AppConfigResourceId",
523
- # },
524
- # data_delivery: {
525
- # cloud_watch_logs: {
526
- # log_group: "CwLogGroupSafeName",
527
- # },
528
- # s3_destination: {
529
- # bucket: "S3BucketSafeName",
530
- # prefix: "S3PrefixSafeName",
531
- # },
532
- # },
533
- # description: "Description",
534
- # name: "ProjectName", # required
535
- # tags: {
536
- # "TagKey" => "TagValue",
537
- # },
538
- # }
539
- #
540
375
  # @!attribute [rw] app_config_resource
541
376
  # Use this parameter if the project will use *client-side evaluation
542
377
  # powered by AppConfig*. Client-side evaluation allows your
@@ -613,18 +448,6 @@ module Aws::CloudWatchEvidently
613
448
  include Aws::Structure
614
449
  end
615
450
 
616
- # @note When making an API call, you may pass CreateSegmentRequest
617
- # data as a hash:
618
- #
619
- # {
620
- # description: "Description",
621
- # name: "SegmentName", # required
622
- # pattern: "SegmentPattern", # required
623
- # tags: {
624
- # "TagKey" => "TagValue",
625
- # },
626
- # }
627
- #
628
451
  # @!attribute [rw] description
629
452
  # An optional description for this segment.
630
453
  # @return [String]
@@ -680,14 +503,6 @@ module Aws::CloudWatchEvidently
680
503
  include Aws::Structure
681
504
  end
682
505
 
683
- # @note When making an API call, you may pass DeleteExperimentRequest
684
- # data as a hash:
685
- #
686
- # {
687
- # experiment: "ExperimentName", # required
688
- # project: "ProjectRef", # required
689
- # }
690
- #
691
506
  # @!attribute [rw] experiment
692
507
  # The name of the experiment to delete.
693
508
  # @return [String]
@@ -710,14 +525,6 @@ module Aws::CloudWatchEvidently
710
525
  #
711
526
  class DeleteExperimentResponse < Aws::EmptyStructure; end
712
527
 
713
- # @note When making an API call, you may pass DeleteFeatureRequest
714
- # data as a hash:
715
- #
716
- # {
717
- # feature: "FeatureName", # required
718
- # project: "ProjectRef", # required
719
- # }
720
- #
721
528
  # @!attribute [rw] feature
722
529
  # The name of the feature to delete.
723
530
  # @return [String]
@@ -739,14 +546,6 @@ module Aws::CloudWatchEvidently
739
546
  #
740
547
  class DeleteFeatureResponse < Aws::EmptyStructure; end
741
548
 
742
- # @note When making an API call, you may pass DeleteLaunchRequest
743
- # data as a hash:
744
- #
745
- # {
746
- # launch: "LaunchName", # required
747
- # project: "ProjectRef", # required
748
- # }
749
- #
750
549
  # @!attribute [rw] launch
751
550
  # The name of the launch to delete.
752
551
  # @return [String]
@@ -768,13 +567,6 @@ module Aws::CloudWatchEvidently
768
567
  #
769
568
  class DeleteLaunchResponse < Aws::EmptyStructure; end
770
569
 
771
- # @note When making an API call, you may pass DeleteProjectRequest
772
- # data as a hash:
773
- #
774
- # {
775
- # project: "ProjectRef", # required
776
- # }
777
- #
778
570
  # @!attribute [rw] project
779
571
  # The name or ARN of the project to delete.
780
572
  # @return [String]
@@ -791,13 +583,6 @@ module Aws::CloudWatchEvidently
791
583
  #
792
584
  class DeleteProjectResponse < Aws::EmptyStructure; end
793
585
 
794
- # @note When making an API call, you may pass DeleteSegmentRequest
795
- # data as a hash:
796
- #
797
- # {
798
- # segment: "SegmentRef", # required
799
- # }
800
- #
801
586
  # @!attribute [rw] segment
802
587
  # Specifies the segment to delete.
803
588
  # @return [String]
@@ -814,16 +599,6 @@ module Aws::CloudWatchEvidently
814
599
  #
815
600
  class DeleteSegmentResponse < Aws::EmptyStructure; end
816
601
 
817
- # @note When making an API call, you may pass EvaluateFeatureRequest
818
- # data as a hash:
819
- #
820
- # {
821
- # entity_id: "EntityId", # required
822
- # evaluation_context: "JsonValue",
823
- # feature: "FeatureName", # required
824
- # project: "ProjectRef", # required
825
- # }
826
- #
827
602
  # @!attribute [rw] entity_id
828
603
  # An internal ID that represents a unique user of the application.
829
604
  # This `entityID` is checked against any override rules assigned for
@@ -900,15 +675,6 @@ module Aws::CloudWatchEvidently
900
675
 
901
676
  # This structure assigns a feature variation to one user session.
902
677
  #
903
- # @note When making an API call, you may pass EvaluationRequest
904
- # data as a hash:
905
- #
906
- # {
907
- # entity_id: "EntityId", # required
908
- # evaluation_context: "JsonValue",
909
- # feature: "FeatureName", # required
910
- # }
911
- #
912
678
  # @!attribute [rw] entity_id
913
679
  # An internal ID that represents a unique user session of the
914
680
  # application. This `entityID` is checked against any override rules
@@ -1015,15 +781,6 @@ module Aws::CloudWatchEvidently
1015
781
  # event specifies a pre-defined event type, the payload must follow the
1016
782
  # defined event schema.
1017
783
  #
1018
- # @note When making an API call, you may pass Event
1019
- # data as a hash:
1020
- #
1021
- # {
1022
- # data: "JsonValue", # required
1023
- # timestamp: Time.now, # required
1024
- # type: "aws.evidently.evaluation", # required, accepts aws.evidently.evaluation, aws.evidently.custom
1025
- # }
1026
- #
1027
784
  # @!attribute [rw] data
1028
785
  # The event data.
1029
786
  # @return [String]
@@ -1438,14 +1195,6 @@ module Aws::CloudWatchEvidently
1438
1195
  include Aws::Structure
1439
1196
  end
1440
1197
 
1441
- # @note When making an API call, you may pass GetExperimentRequest
1442
- # data as a hash:
1443
- #
1444
- # {
1445
- # experiment: "ExperimentName", # required
1446
- # project: "ProjectRef", # required
1447
- # }
1448
- #
1449
1198
  # @!attribute [rw] experiment
1450
1199
  # The name of the experiment that you want to see the details of.
1451
1200
  # @return [String]
@@ -1475,22 +1224,6 @@ module Aws::CloudWatchEvidently
1475
1224
  include Aws::Structure
1476
1225
  end
1477
1226
 
1478
- # @note When making an API call, you may pass GetExperimentResultsRequest
1479
- # data as a hash:
1480
- #
1481
- # {
1482
- # base_stat: "Mean", # accepts Mean
1483
- # end_time: Time.now,
1484
- # experiment: "ExperimentName", # required
1485
- # metric_names: ["CwDimensionSafeName"], # required
1486
- # period: 1,
1487
- # project: "ProjectRef", # required
1488
- # report_names: ["BayesianInference"], # accepts BayesianInference
1489
- # result_stats: ["BaseStat"], # accepts BaseStat, TreatmentEffect, ConfidenceInterval, PValue
1490
- # start_time: Time.now,
1491
- # treatment_names: ["TreatmentName"], # required
1492
- # }
1493
- #
1494
1227
  # @!attribute [rw] base_stat
1495
1228
  # The statistic used to calculate experiment results. Currently the
1496
1229
  # only valid value is `mean`, which uses the mean of the collected
@@ -1609,14 +1342,6 @@ module Aws::CloudWatchEvidently
1609
1342
  include Aws::Structure
1610
1343
  end
1611
1344
 
1612
- # @note When making an API call, you may pass GetFeatureRequest
1613
- # data as a hash:
1614
- #
1615
- # {
1616
- # feature: "FeatureName", # required
1617
- # project: "ProjectRef", # required
1618
- # }
1619
- #
1620
1345
  # @!attribute [rw] feature
1621
1346
  # The name of the feature that you want to retrieve information for.
1622
1347
  # @return [String]
@@ -1646,14 +1371,6 @@ module Aws::CloudWatchEvidently
1646
1371
  include Aws::Structure
1647
1372
  end
1648
1373
 
1649
- # @note When making an API call, you may pass GetLaunchRequest
1650
- # data as a hash:
1651
- #
1652
- # {
1653
- # launch: "LaunchName", # required
1654
- # project: "ProjectRef", # required
1655
- # }
1656
- #
1657
1374
  # @!attribute [rw] launch
1658
1375
  # The name of the launch that you want to see the details of.
1659
1376
  # @return [String]
@@ -1683,13 +1400,6 @@ module Aws::CloudWatchEvidently
1683
1400
  include Aws::Structure
1684
1401
  end
1685
1402
 
1686
- # @note When making an API call, you may pass GetProjectRequest
1687
- # data as a hash:
1688
- #
1689
- # {
1690
- # project: "ProjectRef", # required
1691
- # }
1692
- #
1693
1403
  # @!attribute [rw] project
1694
1404
  # The name or ARN of the project that you want to see the details of.
1695
1405
  # @return [String]
@@ -1714,13 +1424,6 @@ module Aws::CloudWatchEvidently
1714
1424
  include Aws::Structure
1715
1425
  end
1716
1426
 
1717
- # @note When making an API call, you may pass GetSegmentRequest
1718
- # data as a hash:
1719
- #
1720
- # {
1721
- # segment: "SegmentRef", # required
1722
- # }
1723
- #
1724
1427
  # @!attribute [rw] segment
1725
1428
  # The ARN of the segment to return information for.
1726
1429
  # @return [String]
@@ -1902,16 +1605,6 @@ module Aws::CloudWatchEvidently
1902
1605
  # A structure that defines one launch group in a launch. A launch group
1903
1606
  # is a variation of the feature that you are including in the launch.
1904
1607
  #
1905
- # @note When making an API call, you may pass LaunchGroupConfig
1906
- # data as a hash:
1907
- #
1908
- # {
1909
- # description: "Description",
1910
- # feature: "FeatureName", # required
1911
- # name: "GroupName", # required
1912
- # variation: "VariationName", # required
1913
- # }
1914
- #
1915
1608
  # @!attribute [rw] description
1916
1609
  # A description of the launch group.
1917
1610
  # @return [String]
@@ -1939,16 +1632,6 @@ module Aws::CloudWatchEvidently
1939
1632
  include Aws::Structure
1940
1633
  end
1941
1634
 
1942
- # @note When making an API call, you may pass ListExperimentsRequest
1943
- # data as a hash:
1944
- #
1945
- # {
1946
- # max_results: 1,
1947
- # next_token: "NextToken",
1948
- # project: "ProjectRef", # required
1949
- # status: "CREATED", # accepts CREATED, UPDATING, RUNNING, COMPLETED, CANCELLED
1950
- # }
1951
- #
1952
1635
  # @!attribute [rw] max_results
1953
1636
  # The maximum number of results to include in the response.
1954
1637
  # @return [Integer]
@@ -1997,15 +1680,6 @@ module Aws::CloudWatchEvidently
1997
1680
  include Aws::Structure
1998
1681
  end
1999
1682
 
2000
- # @note When making an API call, you may pass ListFeaturesRequest
2001
- # data as a hash:
2002
- #
2003
- # {
2004
- # max_results: 1,
2005
- # next_token: "NextToken",
2006
- # project: "ProjectRef", # required
2007
- # }
2008
- #
2009
1683
  # @!attribute [rw] max_results
2010
1684
  # The maximum number of results to include in the response.
2011
1685
  # @return [Integer]
@@ -2048,16 +1722,6 @@ module Aws::CloudWatchEvidently
2048
1722
  include Aws::Structure
2049
1723
  end
2050
1724
 
2051
- # @note When making an API call, you may pass ListLaunchesRequest
2052
- # data as a hash:
2053
- #
2054
- # {
2055
- # max_results: 1,
2056
- # next_token: "NextToken",
2057
- # project: "ProjectRef", # required
2058
- # status: "CREATED", # accepts CREATED, UPDATING, RUNNING, COMPLETED, CANCELLED
2059
- # }
2060
- #
2061
1725
  # @!attribute [rw] max_results
2062
1726
  # The maximum number of results to include in the response.
2063
1727
  # @return [Integer]
@@ -2106,14 +1770,6 @@ module Aws::CloudWatchEvidently
2106
1770
  include Aws::Structure
2107
1771
  end
2108
1772
 
2109
- # @note When making an API call, you may pass ListProjectsRequest
2110
- # data as a hash:
2111
- #
2112
- # {
2113
- # max_results: 1,
2114
- # next_token: "NextToken",
2115
- # }
2116
- #
2117
1773
  # @!attribute [rw] max_results
2118
1774
  # The maximum number of results to include in the response.
2119
1775
  # @return [Integer]
@@ -2151,16 +1807,6 @@ module Aws::CloudWatchEvidently
2151
1807
  include Aws::Structure
2152
1808
  end
2153
1809
 
2154
- # @note When making an API call, you may pass ListSegmentReferencesRequest
2155
- # data as a hash:
2156
- #
2157
- # {
2158
- # max_results: 1,
2159
- # next_token: "NextToken",
2160
- # segment: "SegmentRef", # required
2161
- # type: "EXPERIMENT", # required, accepts EXPERIMENT, LAUNCH
2162
- # }
2163
- #
2164
1810
  # @!attribute [rw] max_results
2165
1811
  # The maximum number of results to include in the response. If you
2166
1812
  # omit this, the default of 50 is used.
@@ -2211,14 +1857,6 @@ module Aws::CloudWatchEvidently
2211
1857
  include Aws::Structure
2212
1858
  end
2213
1859
 
2214
- # @note When making an API call, you may pass ListSegmentsRequest
2215
- # data as a hash:
2216
- #
2217
- # {
2218
- # max_results: 1,
2219
- # next_token: "NextToken",
2220
- # }
2221
- #
2222
1860
  # @!attribute [rw] max_results
2223
1861
  # The maximum number of results to include in the response. If you
2224
1862
  # omit this, the default of 50 is used.
@@ -2257,13 +1895,6 @@ module Aws::CloudWatchEvidently
2257
1895
  include Aws::Structure
2258
1896
  end
2259
1897
 
2260
- # @note When making an API call, you may pass ListTagsForResourceRequest
2261
- # data as a hash:
2262
- #
2263
- # {
2264
- # resource_arn: "Arn", # required
2265
- # }
2266
- #
2267
1898
  # @!attribute [rw] resource_arn
2268
1899
  # The ARN of the resource that you want to see the tags of.
2269
1900
  # @return [String]
@@ -2336,17 +1967,6 @@ module Aws::CloudWatchEvidently
2336
1967
  # This structure defines a metric that you want to use to evaluate the
2337
1968
  # variations during a launch or experiment.
2338
1969
  #
2339
- # @note When making an API call, you may pass MetricDefinitionConfig
2340
- # data as a hash:
2341
- #
2342
- # {
2343
- # entity_id_key: "JsonPath", # required
2344
- # event_pattern: "MetricDefinitionConfigEventPatternString",
2345
- # name: "CwDimensionSafeName", # required
2346
- # unit_label: "MetricUnitLabel",
2347
- # value_key: "JsonPath", # required
2348
- # }
2349
- #
2350
1970
  # @!attribute [rw] entity_id_key
2351
1971
  # The entity, such as a user or session, that does an action that
2352
1972
  # causes a metric value to be recorded. An example is
@@ -2416,20 +2036,6 @@ module Aws::CloudWatchEvidently
2416
2036
  # Use this structure to tell Evidently whether higher or lower values
2417
2037
  # are desired for a metric that is used in an experiment.
2418
2038
  #
2419
- # @note When making an API call, you may pass MetricGoalConfig
2420
- # data as a hash:
2421
- #
2422
- # {
2423
- # desired_change: "INCREASE", # accepts INCREASE, DECREASE
2424
- # metric_definition: { # required
2425
- # entity_id_key: "JsonPath", # required
2426
- # event_pattern: "MetricDefinitionConfigEventPatternString",
2427
- # name: "CwDimensionSafeName", # required
2428
- # unit_label: "MetricUnitLabel",
2429
- # value_key: "JsonPath", # required
2430
- # },
2431
- # }
2432
- #
2433
2039
  # @!attribute [rw] desired_change
2434
2040
  # `INCREASE` means that a variation with a higher number for this
2435
2041
  # metric is performing better.
@@ -2469,19 +2075,6 @@ module Aws::CloudWatchEvidently
2469
2075
  # A structure that defines a metric to be used to monitor performance of
2470
2076
  # the variations during a launch.
2471
2077
  #
2472
- # @note When making an API call, you may pass MetricMonitorConfig
2473
- # data as a hash:
2474
- #
2475
- # {
2476
- # metric_definition: { # required
2477
- # entity_id_key: "JsonPath", # required
2478
- # event_pattern: "MetricDefinitionConfigEventPatternString",
2479
- # name: "CwDimensionSafeName", # required
2480
- # unit_label: "MetricUnitLabel",
2481
- # value_key: "JsonPath", # required
2482
- # },
2483
- # }
2484
- #
2485
2078
  # @!attribute [rw] metric_definition
2486
2079
  # A structure that defines the metric.
2487
2080
  # @return [Types::MetricDefinitionConfig]
@@ -2499,16 +2092,6 @@ module Aws::CloudWatchEvidently
2499
2092
  # comparison with other variations. This structure also specifies how
2500
2093
  # much experiment traffic is allocated to each variation.
2501
2094
  #
2502
- # @note When making an API call, you may pass OnlineAbConfig
2503
- # data as a hash:
2504
- #
2505
- # {
2506
- # control_treatment_name: "TreatmentName",
2507
- # treatment_weights: {
2508
- # "TreatmentName" => 1,
2509
- # },
2510
- # }
2511
- #
2512
2095
  # @!attribute [rw] control_treatment_name
2513
2096
  # The name of the variation that is to be the default variation that
2514
2097
  # the other variations are compared to.
@@ -2688,14 +2271,6 @@ module Aws::CloudWatchEvidently
2688
2271
  #
2689
2272
  # [1]: https://docs.aws.amazon.com/cloudwatchevidently/latest/APIReference/API_EvaluateFeature.html
2690
2273
  #
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
2274
  # @!attribute [rw] application_id
2700
2275
  # The ID of the AppConfig application to use for client-side
2701
2276
  # evaluation.
@@ -2741,19 +2316,6 @@ module Aws::CloudWatchEvidently
2741
2316
  # A structure that contains information about where Evidently is to
2742
2317
  # store evaluation events for longer term storage.
2743
2318
  #
2744
- # @note When making an API call, you may pass ProjectDataDeliveryConfig
2745
- # data as a hash:
2746
- #
2747
- # {
2748
- # cloud_watch_logs: {
2749
- # log_group: "CwLogGroupSafeName",
2750
- # },
2751
- # s3_destination: {
2752
- # bucket: "S3BucketSafeName",
2753
- # prefix: "S3PrefixSafeName",
2754
- # },
2755
- # }
2756
- #
2757
2319
  # @!attribute [rw] cloud_watch_logs
2758
2320
  # If the project stores evaluation events in CloudWatch Logs, this
2759
2321
  # structure stores the log group name.
@@ -2844,20 +2406,6 @@ module Aws::CloudWatchEvidently
2844
2406
  include Aws::Structure
2845
2407
  end
2846
2408
 
2847
- # @note When making an API call, you may pass PutProjectEventsRequest
2848
- # data as a hash:
2849
- #
2850
- # {
2851
- # events: [ # required
2852
- # {
2853
- # data: "JsonValue", # required
2854
- # timestamp: Time.now, # required
2855
- # type: "aws.evidently.evaluation", # required, accepts aws.evidently.evaluation, aws.evidently.custom
2856
- # },
2857
- # ],
2858
- # project: "ProjectRef", # required
2859
- # }
2860
- #
2861
2409
  # @!attribute [rw] events
2862
2410
  # An array of event structures that contain the performance data that
2863
2411
  # is being sent to Evidently.
@@ -3015,14 +2563,6 @@ module Aws::CloudWatchEvidently
3015
2563
  # If the project stores evaluation events in an Amazon S3 bucket, this
3016
2564
  # structure stores the bucket name and bucket prefix.
3017
2565
  #
3018
- # @note When making an API call, you may pass S3DestinationConfig
3019
- # data as a hash:
3020
- #
3021
- # {
3022
- # bucket: "S3BucketSafeName",
3023
- # prefix: "S3PrefixSafeName",
3024
- # }
3025
- #
3026
2566
  # @!attribute [rw] bucket
3027
2567
  # The name of the bucket in which Evidently stores evaluation events.
3028
2568
  # @return [String]
@@ -3091,25 +2631,6 @@ module Aws::CloudWatchEvidently
3091
2631
  # feature variations during one step of a launch, and the start time of
3092
2632
  # that step.
3093
2633
  #
3094
- # @note When making an API call, you may pass ScheduledSplitConfig
3095
- # data as a hash:
3096
- #
3097
- # {
3098
- # group_weights: { # required
3099
- # "GroupName" => 1,
3100
- # },
3101
- # segment_overrides: [
3102
- # {
3103
- # evaluation_order: 1, # required
3104
- # segment: "SegmentRef", # required
3105
- # weights: { # required
3106
- # "GroupName" => 1,
3107
- # },
3108
- # },
3109
- # ],
3110
- # start_time: Time.now, # required
3111
- # }
3112
- #
3113
2634
  # @!attribute [rw] group_weights
3114
2635
  # The traffic allocation percentages among the feature variations
3115
2636
  # during one step of a launch. This is a set of key-value pairs. The
@@ -3150,29 +2671,6 @@ module Aws::CloudWatchEvidently
3150
2671
  # among the feature variations during each step of a launch. This also
3151
2672
  # defines the start time of each step.
3152
2673
  #
3153
- # @note When making an API call, you may pass ScheduledSplitsLaunchConfig
3154
- # data as a hash:
3155
- #
3156
- # {
3157
- # steps: [ # required
3158
- # {
3159
- # group_weights: { # required
3160
- # "GroupName" => 1,
3161
- # },
3162
- # segment_overrides: [
3163
- # {
3164
- # evaluation_order: 1, # required
3165
- # segment: "SegmentRef", # required
3166
- # weights: { # required
3167
- # "GroupName" => 1,
3168
- # },
3169
- # },
3170
- # ],
3171
- # start_time: Time.now, # required
3172
- # },
3173
- # ],
3174
- # }
3175
- #
3176
2674
  # @!attribute [rw] steps
3177
2675
  # An array of structures that define the traffic allocation
3178
2676
  # percentages among the feature variations during each step of the
@@ -3275,17 +2773,6 @@ module Aws::CloudWatchEvidently
3275
2773
  # This structure specifies a segment that you have already created, and
3276
2774
  # defines the traffic split for that segment to be used in a launch.
3277
2775
  #
3278
- # @note When making an API call, you may pass SegmentOverride
3279
- # data as a hash:
3280
- #
3281
- # {
3282
- # evaluation_order: 1, # required
3283
- # segment: "SegmentRef", # required
3284
- # weights: { # required
3285
- # "GroupName" => 1,
3286
- # },
3287
- # }
3288
- #
3289
2776
  # @!attribute [rw] evaluation_order
3290
2777
  # A number indicating the order to use to evaluate segment overrides,
3291
2778
  # if there are more than one. Segment overrides with lower numbers are
@@ -3361,15 +2848,6 @@ module Aws::CloudWatchEvidently
3361
2848
  include Aws::Structure
3362
2849
  end
3363
2850
 
3364
- # @note When making an API call, you may pass StartExperimentRequest
3365
- # data as a hash:
3366
- #
3367
- # {
3368
- # analysis_complete_time: Time.now, # required
3369
- # experiment: "ExperimentName", # required
3370
- # project: "ProjectRef", # required
3371
- # }
3372
- #
3373
2851
  # @!attribute [rw] analysis_complete_time
3374
2852
  # The date and time to end the experiment. This must be no more than
3375
2853
  # 30 days after the experiment starts.
@@ -3406,14 +2884,6 @@ module Aws::CloudWatchEvidently
3406
2884
  include Aws::Structure
3407
2885
  end
3408
2886
 
3409
- # @note When making an API call, you may pass StartLaunchRequest
3410
- # data as a hash:
3411
- #
3412
- # {
3413
- # launch: "LaunchName", # required
3414
- # project: "ProjectRef", # required
3415
- # }
3416
- #
3417
2887
  # @!attribute [rw] launch
3418
2888
  # The name of the launch to start.
3419
2889
  # @return [String]
@@ -3444,16 +2914,6 @@ module Aws::CloudWatchEvidently
3444
2914
  include Aws::Structure
3445
2915
  end
3446
2916
 
3447
- # @note When making an API call, you may pass StopExperimentRequest
3448
- # data as a hash:
3449
- #
3450
- # {
3451
- # desired_state: "COMPLETED", # accepts COMPLETED, CANCELLED
3452
- # experiment: "ExperimentName", # required
3453
- # project: "ProjectRef", # required
3454
- # reason: "Description",
3455
- # }
3456
- #
3457
2917
  # @!attribute [rw] desired_state
3458
2918
  # Specify whether the experiment is to be considered `COMPLETED` or
3459
2919
  # `CANCELLED` after it stops.
@@ -3494,16 +2954,6 @@ module Aws::CloudWatchEvidently
3494
2954
  include Aws::Structure
3495
2955
  end
3496
2956
 
3497
- # @note When making an API call, you may pass StopLaunchRequest
3498
- # data as a hash:
3499
- #
3500
- # {
3501
- # desired_state: "COMPLETED", # accepts COMPLETED, CANCELLED
3502
- # launch: "LaunchName", # required
3503
- # project: "ProjectRef", # required
3504
- # reason: "Description",
3505
- # }
3506
- #
3507
2957
  # @!attribute [rw] desired_state
3508
2958
  # Specify whether to consider the launch as `COMPLETED` or `CANCELLED`
3509
2959
  # after it stops.
@@ -3545,16 +2995,6 @@ module Aws::CloudWatchEvidently
3545
2995
  include Aws::Structure
3546
2996
  end
3547
2997
 
3548
- # @note When making an API call, you may pass TagResourceRequest
3549
- # data as a hash:
3550
- #
3551
- # {
3552
- # resource_arn: "Arn", # required
3553
- # tags: { # required
3554
- # "TagKey" => "TagValue",
3555
- # },
3556
- # }
3557
- #
3558
2998
  # @!attribute [rw] resource_arn
3559
2999
  # The ARN of the CloudWatch Evidently resource that you're adding
3560
3000
  # tags to.
@@ -3577,14 +3017,6 @@ module Aws::CloudWatchEvidently
3577
3017
  #
3578
3018
  class TagResourceResponse < Aws::EmptyStructure; end
3579
3019
 
3580
- # @note When making an API call, you may pass TestSegmentPatternRequest
3581
- # data as a hash:
3582
- #
3583
- # {
3584
- # pattern: "SegmentPattern", # required
3585
- # payload: "JsonValue", # required
3586
- # }
3587
- #
3588
3020
  # @!attribute [rw] pattern
3589
3021
  # The pattern to test.
3590
3022
  # @return [String]
@@ -3671,16 +3103,6 @@ module Aws::CloudWatchEvidently
3671
3103
  # is a variation of the feature that you are including in the
3672
3104
  # experiment.
3673
3105
  #
3674
- # @note When making an API call, you may pass TreatmentConfig
3675
- # data as a hash:
3676
- #
3677
- # {
3678
- # description: "Description",
3679
- # feature: "FeatureName", # required
3680
- # name: "TreatmentName", # required
3681
- # variation: "VariationName", # required
3682
- # }
3683
- #
3684
3106
  # @!attribute [rw] description
3685
3107
  # A description for this treatment.
3686
3108
  # @return [String]
@@ -3709,14 +3131,6 @@ module Aws::CloudWatchEvidently
3709
3131
  include Aws::Structure
3710
3132
  end
3711
3133
 
3712
- # @note When making an API call, you may pass UntagResourceRequest
3713
- # data as a hash:
3714
- #
3715
- # {
3716
- # resource_arn: "Arn", # required
3717
- # tag_keys: ["TagKey"], # required
3718
- # }
3719
- #
3720
3134
  # @!attribute [rw] resource_arn
3721
3135
  # The ARN of the CloudWatch Evidently resource that you're removing
3722
3136
  # tags from.
@@ -3739,45 +3153,6 @@ module Aws::CloudWatchEvidently
3739
3153
  #
3740
3154
  class UntagResourceResponse < Aws::EmptyStructure; end
3741
3155
 
3742
- # @note When making an API call, you may pass UpdateExperimentRequest
3743
- # data as a hash:
3744
- #
3745
- # {
3746
- # description: "Description",
3747
- # experiment: "ExperimentName", # required
3748
- # metric_goals: [
3749
- # {
3750
- # desired_change: "INCREASE", # accepts INCREASE, DECREASE
3751
- # metric_definition: { # required
3752
- # entity_id_key: "JsonPath", # required
3753
- # event_pattern: "MetricDefinitionConfigEventPatternString",
3754
- # name: "CwDimensionSafeName", # required
3755
- # unit_label: "MetricUnitLabel",
3756
- # value_key: "JsonPath", # required
3757
- # },
3758
- # },
3759
- # ],
3760
- # online_ab_config: {
3761
- # control_treatment_name: "TreatmentName",
3762
- # treatment_weights: {
3763
- # "TreatmentName" => 1,
3764
- # },
3765
- # },
3766
- # project: "ProjectRef", # required
3767
- # randomization_salt: "RandomizationSalt",
3768
- # remove_segment: false,
3769
- # sampling_rate: 1,
3770
- # segment: "SegmentRef",
3771
- # treatments: [
3772
- # {
3773
- # description: "Description",
3774
- # feature: "FeatureName", # required
3775
- # name: "TreatmentName", # required
3776
- # variation: "VariationName", # required
3777
- # },
3778
- # ],
3779
- # }
3780
- #
3781
3156
  # @!attribute [rw] description
3782
3157
  # An optional description of the experiment.
3783
3158
  # @return [String]
@@ -3869,32 +3244,6 @@ module Aws::CloudWatchEvidently
3869
3244
  include Aws::Structure
3870
3245
  end
3871
3246
 
3872
- # @note When making an API call, you may pass UpdateFeatureRequest
3873
- # data as a hash:
3874
- #
3875
- # {
3876
- # add_or_update_variations: [
3877
- # {
3878
- # name: "VariationName", # required
3879
- # value: { # required
3880
- # bool_value: false,
3881
- # double_value: 1.0,
3882
- # long_value: 1,
3883
- # string_value: "VariableValueStringValueString",
3884
- # },
3885
- # },
3886
- # ],
3887
- # default_variation: "VariationName",
3888
- # description: "Description",
3889
- # entity_overrides: {
3890
- # "EntityId" => "VariationName",
3891
- # },
3892
- # evaluation_strategy: "ALL_RULES", # accepts ALL_RULES, DEFAULT_VARIATION
3893
- # feature: "FeatureName", # required
3894
- # project: "ProjectRef", # required
3895
- # remove_variations: ["VariationName"],
3896
- # }
3897
- #
3898
3247
  # @!attribute [rw] add_or_update_variations
3899
3248
  # To update variation configurations for this feature, or add new
3900
3249
  # ones, specify this structure. In this array, include any variations
@@ -3972,54 +3321,6 @@ module Aws::CloudWatchEvidently
3972
3321
  include Aws::Structure
3973
3322
  end
3974
3323
 
3975
- # @note When making an API call, you may pass UpdateLaunchRequest
3976
- # data as a hash:
3977
- #
3978
- # {
3979
- # description: "Description",
3980
- # groups: [
3981
- # {
3982
- # description: "Description",
3983
- # feature: "FeatureName", # required
3984
- # name: "GroupName", # required
3985
- # variation: "VariationName", # required
3986
- # },
3987
- # ],
3988
- # launch: "LaunchName", # required
3989
- # metric_monitors: [
3990
- # {
3991
- # metric_definition: { # required
3992
- # entity_id_key: "JsonPath", # required
3993
- # event_pattern: "MetricDefinitionConfigEventPatternString",
3994
- # name: "CwDimensionSafeName", # required
3995
- # unit_label: "MetricUnitLabel",
3996
- # value_key: "JsonPath", # required
3997
- # },
3998
- # },
3999
- # ],
4000
- # project: "ProjectRef", # required
4001
- # randomization_salt: "RandomizationSalt",
4002
- # scheduled_splits_config: {
4003
- # steps: [ # required
4004
- # {
4005
- # group_weights: { # required
4006
- # "GroupName" => 1,
4007
- # },
4008
- # segment_overrides: [
4009
- # {
4010
- # evaluation_order: 1, # required
4011
- # segment: "SegmentRef", # required
4012
- # weights: { # required
4013
- # "GroupName" => 1,
4014
- # },
4015
- # },
4016
- # ],
4017
- # start_time: Time.now, # required
4018
- # },
4019
- # ],
4020
- # },
4021
- # }
4022
- #
4023
3324
  # @!attribute [rw] description
4024
3325
  # An optional description for the launch.
4025
3326
  # @return [String]
@@ -4084,20 +3385,6 @@ module Aws::CloudWatchEvidently
4084
3385
  include Aws::Structure
4085
3386
  end
4086
3387
 
4087
- # @note When making an API call, you may pass UpdateProjectDataDeliveryRequest
4088
- # data as a hash:
4089
- #
4090
- # {
4091
- # cloud_watch_logs: {
4092
- # log_group: "CwLogGroupSafeName",
4093
- # },
4094
- # project: "ProjectRef", # required
4095
- # s3_destination: {
4096
- # bucket: "S3BucketSafeName",
4097
- # prefix: "S3PrefixSafeName",
4098
- # },
4099
- # }
4100
- #
4101
3388
  # @!attribute [rw] cloud_watch_logs
4102
3389
  # A structure containing the CloudWatch Logs log group where you want
4103
3390
  # to store evaluation events.
@@ -4135,18 +3422,6 @@ module Aws::CloudWatchEvidently
4135
3422
  include Aws::Structure
4136
3423
  end
4137
3424
 
4138
- # @note When making an API call, you may pass UpdateProjectRequest
4139
- # data as a hash:
4140
- #
4141
- # {
4142
- # app_config_resource: {
4143
- # application_id: "AppConfigResourceId",
4144
- # environment_id: "AppConfigResourceId",
4145
- # },
4146
- # description: "Description",
4147
- # project: "ProjectRef", # required
4148
- # }
4149
- #
4150
3425
  # @!attribute [rw] app_config_resource
4151
3426
  # Use this parameter if the project will use client-side evaluation
4152
3427
  # powered by AppConfig. Client-side evaluation allows your application
@@ -4304,19 +3579,6 @@ module Aws::CloudWatchEvidently
4304
3579
  # This structure contains the name and variation value of one variation
4305
3580
  # of a feature.
4306
3581
  #
4307
- # @note When making an API call, you may pass VariationConfig
4308
- # data as a hash:
4309
- #
4310
- # {
4311
- # name: "VariationName", # required
4312
- # value: { # required
4313
- # bool_value: false,
4314
- # double_value: 1.0,
4315
- # long_value: 1,
4316
- # string_value: "VariableValueStringValueString",
4317
- # },
4318
- # }
4319
- #
4320
3582
  # @!attribute [rw] name
4321
3583
  # The name of the variation.
4322
3584
  # @return [String]
@@ -52,6 +52,6 @@ require_relative 'aws-sdk-cloudwatchevidently/customizations'
52
52
  # @!group service
53
53
  module Aws::CloudWatchEvidently
54
54
 
55
- GEM_VERSION = '1.9.0'
55
+ GEM_VERSION = '1.10.0'
56
56
 
57
57
  end
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.9.0
4
+ version: 1.10.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-10-25 00:00:00.000000000 Z
11
+ date: 2023-01-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core