aws-sdk-cloudwatchevidently 1.4.0 → 1.7.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -30,6 +30,8 @@ module Aws::CloudWatchEvidently
30
30
  CreateLaunchResponse = Shapes::StructureShape.new(name: 'CreateLaunchResponse')
31
31
  CreateProjectRequest = Shapes::StructureShape.new(name: 'CreateProjectRequest')
32
32
  CreateProjectResponse = Shapes::StructureShape.new(name: 'CreateProjectResponse')
33
+ CreateSegmentRequest = Shapes::StructureShape.new(name: 'CreateSegmentRequest')
34
+ CreateSegmentResponse = Shapes::StructureShape.new(name: 'CreateSegmentResponse')
33
35
  CwDimensionSafeName = Shapes::StringShape.new(name: 'CwDimensionSafeName')
34
36
  CwLogGroupSafeName = Shapes::StringShape.new(name: 'CwLogGroupSafeName')
35
37
  DeleteExperimentRequest = Shapes::StructureShape.new(name: 'DeleteExperimentRequest')
@@ -40,6 +42,8 @@ module Aws::CloudWatchEvidently
40
42
  DeleteLaunchResponse = Shapes::StructureShape.new(name: 'DeleteLaunchResponse')
41
43
  DeleteProjectRequest = Shapes::StructureShape.new(name: 'DeleteProjectRequest')
42
44
  DeleteProjectResponse = Shapes::StructureShape.new(name: 'DeleteProjectResponse')
45
+ DeleteSegmentRequest = Shapes::StructureShape.new(name: 'DeleteSegmentRequest')
46
+ DeleteSegmentResponse = Shapes::StructureShape.new(name: 'DeleteSegmentResponse')
43
47
  Description = Shapes::StringShape.new(name: 'Description')
44
48
  Double = Shapes::FloatShape.new(name: 'Double')
45
49
  DoubleValueList = Shapes::ListShape.new(name: 'DoubleValueList')
@@ -95,6 +99,8 @@ module Aws::CloudWatchEvidently
95
99
  GetLaunchResponse = Shapes::StructureShape.new(name: 'GetLaunchResponse')
96
100
  GetProjectRequest = Shapes::StructureShape.new(name: 'GetProjectRequest')
97
101
  GetProjectResponse = Shapes::StructureShape.new(name: 'GetProjectResponse')
102
+ GetSegmentRequest = Shapes::StructureShape.new(name: 'GetSegmentRequest')
103
+ GetSegmentResponse = Shapes::StructureShape.new(name: 'GetSegmentResponse')
98
104
  GroupName = Shapes::StringShape.new(name: 'GroupName')
99
105
  GroupToWeightMap = Shapes::MapShape.new(name: 'GroupToWeightMap')
100
106
  Integer = Shapes::IntegerShape.new(name: 'Integer')
@@ -121,6 +127,10 @@ module Aws::CloudWatchEvidently
121
127
  ListLaunchesResponse = Shapes::StructureShape.new(name: 'ListLaunchesResponse')
122
128
  ListProjectsRequest = Shapes::StructureShape.new(name: 'ListProjectsRequest')
123
129
  ListProjectsResponse = Shapes::StructureShape.new(name: 'ListProjectsResponse')
130
+ ListSegmentReferencesRequest = Shapes::StructureShape.new(name: 'ListSegmentReferencesRequest')
131
+ ListSegmentReferencesResponse = Shapes::StructureShape.new(name: 'ListSegmentReferencesResponse')
132
+ ListSegmentsRequest = Shapes::StructureShape.new(name: 'ListSegmentsRequest')
133
+ ListSegmentsResponse = Shapes::StructureShape.new(name: 'ListSegmentsResponse')
124
134
  ListTagsForResourceRequest = Shapes::StructureShape.new(name: 'ListTagsForResourceRequest')
125
135
  ListTagsForResourceResponse = Shapes::StructureShape.new(name: 'ListTagsForResourceResponse')
126
136
  Long = Shapes::IntegerShape.new(name: 'Long')
@@ -128,6 +138,8 @@ module Aws::CloudWatchEvidently
128
138
  MaxFeatures = Shapes::IntegerShape.new(name: 'MaxFeatures')
129
139
  MaxLaunches = Shapes::IntegerShape.new(name: 'MaxLaunches')
130
140
  MaxProjects = Shapes::IntegerShape.new(name: 'MaxProjects')
141
+ MaxReferences = Shapes::IntegerShape.new(name: 'MaxReferences')
142
+ MaxSegments = Shapes::IntegerShape.new(name: 'MaxSegments')
131
143
  MetricDefinition = Shapes::StructureShape.new(name: 'MetricDefinition')
132
144
  MetricDefinitionConfig = Shapes::StructureShape.new(name: 'MetricDefinitionConfig')
133
145
  MetricDefinitionConfigEventPatternString = Shapes::StringShape.new(name: 'MetricDefinitionConfigEventPatternString')
@@ -144,6 +156,7 @@ module Aws::CloudWatchEvidently
144
156
  NextToken = Shapes::StringShape.new(name: 'NextToken')
145
157
  OnlineAbConfig = Shapes::StructureShape.new(name: 'OnlineAbConfig')
146
158
  OnlineAbDefinition = Shapes::StructureShape.new(name: 'OnlineAbDefinition')
159
+ PrimitiveBoolean = Shapes::BooleanShape.new(name: 'PrimitiveBoolean')
147
160
  Project = Shapes::StructureShape.new(name: 'Project')
148
161
  ProjectArn = Shapes::StringShape.new(name: 'ProjectArn')
149
162
  ProjectDataDelivery = Shapes::StructureShape.new(name: 'ProjectDataDelivery')
@@ -158,6 +171,8 @@ module Aws::CloudWatchEvidently
158
171
  PutProjectEventsResultEntry = Shapes::StructureShape.new(name: 'PutProjectEventsResultEntry')
159
172
  PutProjectEventsResultEntryList = Shapes::ListShape.new(name: 'PutProjectEventsResultEntryList')
160
173
  RandomizationSalt = Shapes::StringShape.new(name: 'RandomizationSalt')
174
+ RefResource = Shapes::StructureShape.new(name: 'RefResource')
175
+ RefResourceList = Shapes::ListShape.new(name: 'RefResourceList')
161
176
  ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
162
177
  ResultsPeriod = Shapes::IntegerShape.new(name: 'ResultsPeriod')
163
178
  RuleName = Shapes::StringShape.new(name: 'RuleName')
@@ -172,6 +187,15 @@ module Aws::CloudWatchEvidently
172
187
  ScheduledSplitsLaunchConfig = Shapes::StructureShape.new(name: 'ScheduledSplitsLaunchConfig')
173
188
  ScheduledSplitsLaunchDefinition = Shapes::StructureShape.new(name: 'ScheduledSplitsLaunchDefinition')
174
189
  ScheduledStepList = Shapes::ListShape.new(name: 'ScheduledStepList')
190
+ Segment = Shapes::StructureShape.new(name: 'Segment')
191
+ SegmentArn = Shapes::StringShape.new(name: 'SegmentArn')
192
+ SegmentList = Shapes::ListShape.new(name: 'SegmentList')
193
+ SegmentName = Shapes::StringShape.new(name: 'SegmentName')
194
+ SegmentOverride = Shapes::StructureShape.new(name: 'SegmentOverride')
195
+ SegmentOverridesList = Shapes::ListShape.new(name: 'SegmentOverridesList')
196
+ SegmentPattern = Shapes::StringShape.new(name: 'SegmentPattern')
197
+ SegmentRef = Shapes::StringShape.new(name: 'SegmentRef')
198
+ SegmentReferenceResourceType = Shapes::StringShape.new(name: 'SegmentReferenceResourceType')
175
199
  ServiceQuotaExceededException = Shapes::StructureShape.new(name: 'ServiceQuotaExceededException')
176
200
  ServiceUnavailableException = Shapes::StructureShape.new(name: 'ServiceUnavailableException')
177
201
  SplitWeight = Shapes::IntegerShape.new(name: 'SplitWeight')
@@ -190,6 +214,8 @@ module Aws::CloudWatchEvidently
190
214
  TagResourceRequest = Shapes::StructureShape.new(name: 'TagResourceRequest')
191
215
  TagResourceResponse = Shapes::StructureShape.new(name: 'TagResourceResponse')
192
216
  TagValue = Shapes::StringShape.new(name: 'TagValue')
217
+ TestSegmentPatternRequest = Shapes::StructureShape.new(name: 'TestSegmentPatternRequest')
218
+ TestSegmentPatternResponse = Shapes::StructureShape.new(name: 'TestSegmentPatternResponse')
193
219
  ThrottlingException = Shapes::StructureShape.new(name: 'ThrottlingException')
194
220
  Timestamp = Shapes::TimestampShape.new(name: 'Timestamp')
195
221
  TimestampList = Shapes::ListShape.new(name: 'TimestampList')
@@ -256,6 +282,7 @@ module Aws::CloudWatchEvidently
256
282
  CreateExperimentRequest.add_member(:project, Shapes::ShapeRef.new(shape: ProjectRef, required: true, location: "uri", location_name: "project"))
257
283
  CreateExperimentRequest.add_member(:randomization_salt, Shapes::ShapeRef.new(shape: RandomizationSalt, location_name: "randomizationSalt"))
258
284
  CreateExperimentRequest.add_member(:sampling_rate, Shapes::ShapeRef.new(shape: SplitWeight, location_name: "samplingRate", metadata: {"box"=>true}))
285
+ CreateExperimentRequest.add_member(:segment, Shapes::ShapeRef.new(shape: SegmentRef, location_name: "segment"))
259
286
  CreateExperimentRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
260
287
  CreateExperimentRequest.add_member(:treatments, Shapes::ShapeRef.new(shape: TreatmentConfigList, required: true, location_name: "treatments"))
261
288
  CreateExperimentRequest.struct_class = Types::CreateExperimentRequest
@@ -298,6 +325,15 @@ module Aws::CloudWatchEvidently
298
325
  CreateProjectResponse.add_member(:project, Shapes::ShapeRef.new(shape: Project, required: true, location_name: "project"))
299
326
  CreateProjectResponse.struct_class = Types::CreateProjectResponse
300
327
 
328
+ CreateSegmentRequest.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "description"))
329
+ CreateSegmentRequest.add_member(:name, Shapes::ShapeRef.new(shape: SegmentName, required: true, location_name: "name"))
330
+ CreateSegmentRequest.add_member(:pattern, Shapes::ShapeRef.new(shape: SegmentPattern, required: true, location_name: "pattern", metadata: {"jsonvalue"=>true}))
331
+ CreateSegmentRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
332
+ CreateSegmentRequest.struct_class = Types::CreateSegmentRequest
333
+
334
+ CreateSegmentResponse.add_member(:segment, Shapes::ShapeRef.new(shape: Segment, required: true, location_name: "segment"))
335
+ CreateSegmentResponse.struct_class = Types::CreateSegmentResponse
336
+
301
337
  DeleteExperimentRequest.add_member(:experiment, Shapes::ShapeRef.new(shape: ExperimentName, required: true, location: "uri", location_name: "experiment"))
302
338
  DeleteExperimentRequest.add_member(:project, Shapes::ShapeRef.new(shape: ProjectRef, required: true, location: "uri", location_name: "project"))
303
339
  DeleteExperimentRequest.struct_class = Types::DeleteExperimentRequest
@@ -321,6 +357,11 @@ module Aws::CloudWatchEvidently
321
357
 
322
358
  DeleteProjectResponse.struct_class = Types::DeleteProjectResponse
323
359
 
360
+ DeleteSegmentRequest.add_member(:segment, Shapes::ShapeRef.new(shape: SegmentRef, required: true, location: "uri", location_name: "segment"))
361
+ DeleteSegmentRequest.struct_class = Types::DeleteSegmentRequest
362
+
363
+ DeleteSegmentResponse.struct_class = Types::DeleteSegmentResponse
364
+
324
365
  DoubleValueList.member = Shapes::ShapeRef.new(shape: Double)
325
366
 
326
367
  EntityOverrideMap.key = Shapes::ShapeRef.new(shape: EntityId)
@@ -381,6 +422,7 @@ module Aws::CloudWatchEvidently
381
422
  Experiment.add_member(:randomization_salt, Shapes::ShapeRef.new(shape: RandomizationSalt, location_name: "randomizationSalt"))
382
423
  Experiment.add_member(:sampling_rate, Shapes::ShapeRef.new(shape: SplitWeight, location_name: "samplingRate"))
383
424
  Experiment.add_member(:schedule, Shapes::ShapeRef.new(shape: ExperimentSchedule, location_name: "schedule"))
425
+ Experiment.add_member(:segment, Shapes::ShapeRef.new(shape: SegmentArn, location_name: "segment"))
384
426
  Experiment.add_member(:status, Shapes::ShapeRef.new(shape: ExperimentStatus, required: true, location_name: "status"))
385
427
  Experiment.add_member(:status_reason, Shapes::ShapeRef.new(shape: Description, location_name: "statusReason"))
386
428
  Experiment.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
@@ -469,6 +511,7 @@ module Aws::CloudWatchEvidently
469
511
  GetExperimentResultsRequest.add_member(:treatment_names, Shapes::ShapeRef.new(shape: TreatmentNameList, required: true, location_name: "treatmentNames"))
470
512
  GetExperimentResultsRequest.struct_class = Types::GetExperimentResultsRequest
471
513
 
514
+ GetExperimentResultsResponse.add_member(:details, Shapes::ShapeRef.new(shape: String, location_name: "details"))
472
515
  GetExperimentResultsResponse.add_member(:reports, Shapes::ShapeRef.new(shape: ExperimentReportList, location_name: "reports"))
473
516
  GetExperimentResultsResponse.add_member(:results_data, Shapes::ShapeRef.new(shape: ExperimentResultsDataList, location_name: "resultsData"))
474
517
  GetExperimentResultsResponse.add_member(:timestamps, Shapes::ShapeRef.new(shape: TimestampList, location_name: "timestamps"))
@@ -494,6 +537,12 @@ module Aws::CloudWatchEvidently
494
537
  GetProjectResponse.add_member(:project, Shapes::ShapeRef.new(shape: Project, required: true, location_name: "project"))
495
538
  GetProjectResponse.struct_class = Types::GetProjectResponse
496
539
 
540
+ GetSegmentRequest.add_member(:segment, Shapes::ShapeRef.new(shape: SegmentRef, required: true, location: "uri", location_name: "segment"))
541
+ GetSegmentRequest.struct_class = Types::GetSegmentRequest
542
+
543
+ GetSegmentResponse.add_member(:segment, Shapes::ShapeRef.new(shape: Segment, required: true, location_name: "segment"))
544
+ GetSegmentResponse.struct_class = Types::GetSegmentResponse
545
+
497
546
  GroupToWeightMap.key = Shapes::ShapeRef.new(shape: GroupName)
498
547
  GroupToWeightMap.value = Shapes::ShapeRef.new(shape: SplitWeight)
499
548
 
@@ -575,6 +624,24 @@ module Aws::CloudWatchEvidently
575
624
  ListProjectsResponse.add_member(:projects, Shapes::ShapeRef.new(shape: ProjectSummariesList, location_name: "projects"))
576
625
  ListProjectsResponse.struct_class = Types::ListProjectsResponse
577
626
 
627
+ ListSegmentReferencesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxReferences, location: "querystring", location_name: "maxResults"))
628
+ ListSegmentReferencesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
629
+ ListSegmentReferencesRequest.add_member(:segment, Shapes::ShapeRef.new(shape: SegmentRef, required: true, location: "uri", location_name: "segment"))
630
+ ListSegmentReferencesRequest.add_member(:type, Shapes::ShapeRef.new(shape: SegmentReferenceResourceType, required: true, location: "querystring", location_name: "type"))
631
+ ListSegmentReferencesRequest.struct_class = Types::ListSegmentReferencesRequest
632
+
633
+ ListSegmentReferencesResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
634
+ ListSegmentReferencesResponse.add_member(:referenced_by, Shapes::ShapeRef.new(shape: RefResourceList, location_name: "referencedBy"))
635
+ ListSegmentReferencesResponse.struct_class = Types::ListSegmentReferencesResponse
636
+
637
+ ListSegmentsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxSegments, location: "querystring", location_name: "maxResults"))
638
+ ListSegmentsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
639
+ ListSegmentsRequest.struct_class = Types::ListSegmentsRequest
640
+
641
+ ListSegmentsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
642
+ ListSegmentsResponse.add_member(:segments, Shapes::ShapeRef.new(shape: SegmentList, location_name: "segments"))
643
+ ListSegmentsResponse.struct_class = Types::ListSegmentsResponse
644
+
578
645
  ListTagsForResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location: "uri", location_name: "resourceArn"))
579
646
  ListTagsForResourceRequest.struct_class = Types::ListTagsForResourceRequest
580
647
 
@@ -681,6 +748,17 @@ module Aws::CloudWatchEvidently
681
748
 
682
749
  PutProjectEventsResultEntryList.member = Shapes::ShapeRef.new(shape: PutProjectEventsResultEntry)
683
750
 
751
+ RefResource.add_member(:arn, Shapes::ShapeRef.new(shape: String, location_name: "arn"))
752
+ RefResource.add_member(:end_time, Shapes::ShapeRef.new(shape: String, location_name: "endTime"))
753
+ RefResource.add_member(:last_updated_on, Shapes::ShapeRef.new(shape: String, location_name: "lastUpdatedOn"))
754
+ RefResource.add_member(:name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "name"))
755
+ RefResource.add_member(:start_time, Shapes::ShapeRef.new(shape: String, location_name: "startTime"))
756
+ RefResource.add_member(:status, Shapes::ShapeRef.new(shape: String, location_name: "status"))
757
+ RefResource.add_member(:type, Shapes::ShapeRef.new(shape: String, required: true, location_name: "type"))
758
+ RefResource.struct_class = Types::RefResource
759
+
760
+ RefResourceList.member = Shapes::ShapeRef.new(shape: RefResource)
761
+
684
762
  ResourceNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
685
763
  ResourceNotFoundException.add_member(:resource_id, Shapes::ShapeRef.new(shape: String, location_name: "resourceId"))
686
764
  ResourceNotFoundException.add_member(:resource_type, Shapes::ShapeRef.new(shape: String, location_name: "resourceType"))
@@ -695,10 +773,12 @@ module Aws::CloudWatchEvidently
695
773
  S3DestinationConfig.struct_class = Types::S3DestinationConfig
696
774
 
697
775
  ScheduledSplit.add_member(:group_weights, Shapes::ShapeRef.new(shape: GroupToWeightMap, location_name: "groupWeights"))
776
+ ScheduledSplit.add_member(:segment_overrides, Shapes::ShapeRef.new(shape: SegmentOverridesList, location_name: "segmentOverrides"))
698
777
  ScheduledSplit.add_member(:start_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "startTime"))
699
778
  ScheduledSplit.struct_class = Types::ScheduledSplit
700
779
 
701
780
  ScheduledSplitConfig.add_member(:group_weights, Shapes::ShapeRef.new(shape: GroupToWeightMap, required: true, location_name: "groupWeights"))
781
+ ScheduledSplitConfig.add_member(:segment_overrides, Shapes::ShapeRef.new(shape: SegmentOverridesList, location_name: "segmentOverrides"))
702
782
  ScheduledSplitConfig.add_member(:start_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "startTime"))
703
783
  ScheduledSplitConfig.struct_class = Types::ScheduledSplitConfig
704
784
 
@@ -712,6 +792,26 @@ module Aws::CloudWatchEvidently
712
792
 
713
793
  ScheduledStepList.member = Shapes::ShapeRef.new(shape: ScheduledSplit)
714
794
 
795
+ Segment.add_member(:arn, Shapes::ShapeRef.new(shape: SegmentArn, required: true, location_name: "arn"))
796
+ Segment.add_member(:created_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "createdTime"))
797
+ Segment.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "description"))
798
+ Segment.add_member(:experiment_count, Shapes::ShapeRef.new(shape: Long, location_name: "experimentCount"))
799
+ Segment.add_member(:last_updated_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "lastUpdatedTime"))
800
+ Segment.add_member(:launch_count, Shapes::ShapeRef.new(shape: Long, location_name: "launchCount"))
801
+ Segment.add_member(:name, Shapes::ShapeRef.new(shape: SegmentName, required: true, location_name: "name"))
802
+ Segment.add_member(:pattern, Shapes::ShapeRef.new(shape: SegmentPattern, required: true, location_name: "pattern", metadata: {"jsonvalue"=>true}))
803
+ Segment.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
804
+ Segment.struct_class = Types::Segment
805
+
806
+ SegmentList.member = Shapes::ShapeRef.new(shape: Segment)
807
+
808
+ SegmentOverride.add_member(:evaluation_order, Shapes::ShapeRef.new(shape: Long, required: true, location_name: "evaluationOrder"))
809
+ SegmentOverride.add_member(:segment, Shapes::ShapeRef.new(shape: SegmentRef, required: true, location_name: "segment"))
810
+ SegmentOverride.add_member(:weights, Shapes::ShapeRef.new(shape: GroupToWeightMap, required: true, location_name: "weights"))
811
+ SegmentOverride.struct_class = Types::SegmentOverride
812
+
813
+ SegmentOverridesList.member = Shapes::ShapeRef.new(shape: SegmentOverride)
814
+
715
815
  ServiceQuotaExceededException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
716
816
  ServiceQuotaExceededException.add_member(:quota_code, Shapes::ShapeRef.new(shape: String, location_name: "quotaCode"))
717
817
  ServiceQuotaExceededException.add_member(:resource_id, Shapes::ShapeRef.new(shape: String, location_name: "resourceId"))
@@ -766,6 +866,13 @@ module Aws::CloudWatchEvidently
766
866
 
767
867
  TagResourceResponse.struct_class = Types::TagResourceResponse
768
868
 
869
+ TestSegmentPatternRequest.add_member(:pattern, Shapes::ShapeRef.new(shape: SegmentPattern, required: true, location_name: "pattern", metadata: {"jsonvalue"=>true}))
870
+ TestSegmentPatternRequest.add_member(:payload, Shapes::ShapeRef.new(shape: JsonValue, required: true, location_name: "payload", metadata: {"jsonvalue"=>true}))
871
+ TestSegmentPatternRequest.struct_class = Types::TestSegmentPatternRequest
872
+
873
+ TestSegmentPatternResponse.add_member(:match, Shapes::ShapeRef.new(shape: Boolean, required: true, location_name: "match"))
874
+ TestSegmentPatternResponse.struct_class = Types::TestSegmentPatternResponse
875
+
769
876
  ThrottlingException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
770
877
  ThrottlingException.add_member(:quota_code, Shapes::ShapeRef.new(shape: String, location_name: "quotaCode"))
771
878
  ThrottlingException.add_member(:service_code, Shapes::ShapeRef.new(shape: String, location_name: "serviceCode"))
@@ -805,7 +912,9 @@ module Aws::CloudWatchEvidently
805
912
  UpdateExperimentRequest.add_member(:online_ab_config, Shapes::ShapeRef.new(shape: OnlineAbConfig, location_name: "onlineAbConfig"))
806
913
  UpdateExperimentRequest.add_member(:project, Shapes::ShapeRef.new(shape: ProjectRef, required: true, location: "uri", location_name: "project"))
807
914
  UpdateExperimentRequest.add_member(:randomization_salt, Shapes::ShapeRef.new(shape: RandomizationSalt, location_name: "randomizationSalt"))
915
+ UpdateExperimentRequest.add_member(:remove_segment, Shapes::ShapeRef.new(shape: PrimitiveBoolean, location_name: "removeSegment"))
808
916
  UpdateExperimentRequest.add_member(:sampling_rate, Shapes::ShapeRef.new(shape: SplitWeight, location_name: "samplingRate", metadata: {"box"=>true}))
917
+ UpdateExperimentRequest.add_member(:segment, Shapes::ShapeRef.new(shape: SegmentRef, location_name: "segment"))
809
918
  UpdateExperimentRequest.add_member(:treatments, Shapes::ShapeRef.new(shape: TreatmentConfigList, location_name: "treatments"))
810
919
  UpdateExperimentRequest.struct_class = Types::UpdateExperimentRequest
811
920
 
@@ -973,6 +1082,18 @@ module Aws::CloudWatchEvidently
973
1082
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
974
1083
  end)
975
1084
 
1085
+ api.add_operation(:create_segment, Seahorse::Model::Operation.new.tap do |o|
1086
+ o.name = "CreateSegment"
1087
+ o.http_method = "POST"
1088
+ o.http_request_uri = "/segments"
1089
+ o.input = Shapes::ShapeRef.new(shape: CreateSegmentRequest)
1090
+ o.output = Shapes::ShapeRef.new(shape: CreateSegmentResponse)
1091
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1092
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
1093
+ o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
1094
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1095
+ end)
1096
+
976
1097
  api.add_operation(:delete_experiment, Seahorse::Model::Operation.new.tap do |o|
977
1098
  o.name = "DeleteExperiment"
978
1099
  o.http_method = "DELETE"
@@ -1026,6 +1147,19 @@ module Aws::CloudWatchEvidently
1026
1147
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1027
1148
  end)
1028
1149
 
1150
+ api.add_operation(:delete_segment, Seahorse::Model::Operation.new.tap do |o|
1151
+ o.name = "DeleteSegment"
1152
+ o.http_method = "DELETE"
1153
+ o.http_request_uri = "/segments/{segment}"
1154
+ o.input = Shapes::ShapeRef.new(shape: DeleteSegmentRequest)
1155
+ o.output = Shapes::ShapeRef.new(shape: DeleteSegmentResponse)
1156
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1157
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1158
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
1159
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1160
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1161
+ end)
1162
+
1029
1163
  api.add_operation(:evaluate_feature, Seahorse::Model::Operation.new.tap do |o|
1030
1164
  o.name = "EvaluateFeature"
1031
1165
  o.http_method = "POST"
@@ -1102,6 +1236,18 @@ module Aws::CloudWatchEvidently
1102
1236
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1103
1237
  end)
1104
1238
 
1239
+ api.add_operation(:get_segment, Seahorse::Model::Operation.new.tap do |o|
1240
+ o.name = "GetSegment"
1241
+ o.http_method = "GET"
1242
+ o.http_request_uri = "/segments/{segment}"
1243
+ o.input = Shapes::ShapeRef.new(shape: GetSegmentRequest)
1244
+ o.output = Shapes::ShapeRef.new(shape: GetSegmentResponse)
1245
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1246
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1247
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1248
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1249
+ end)
1250
+
1105
1251
  api.add_operation(:list_experiments, Seahorse::Model::Operation.new.tap do |o|
1106
1252
  o.name = "ListExperiments"
1107
1253
  o.http_method = "GET"
@@ -1171,6 +1317,41 @@ module Aws::CloudWatchEvidently
1171
1317
  )
1172
1318
  end)
1173
1319
 
1320
+ api.add_operation(:list_segment_references, Seahorse::Model::Operation.new.tap do |o|
1321
+ o.name = "ListSegmentReferences"
1322
+ o.http_method = "GET"
1323
+ o.http_request_uri = "/segments/{segment}/references"
1324
+ o.input = Shapes::ShapeRef.new(shape: ListSegmentReferencesRequest)
1325
+ o.output = Shapes::ShapeRef.new(shape: ListSegmentReferencesResponse)
1326
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1327
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1328
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1329
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1330
+ o[:pager] = Aws::Pager.new(
1331
+ limit_key: "max_results",
1332
+ tokens: {
1333
+ "next_token" => "next_token"
1334
+ }
1335
+ )
1336
+ end)
1337
+
1338
+ api.add_operation(:list_segments, Seahorse::Model::Operation.new.tap do |o|
1339
+ o.name = "ListSegments"
1340
+ o.http_method = "GET"
1341
+ o.http_request_uri = "/segments"
1342
+ o.input = Shapes::ShapeRef.new(shape: ListSegmentsRequest)
1343
+ o.output = Shapes::ShapeRef.new(shape: ListSegmentsResponse)
1344
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1345
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1346
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1347
+ o[:pager] = Aws::Pager.new(
1348
+ limit_key: "max_results",
1349
+ tokens: {
1350
+ "next_token" => "next_token"
1351
+ }
1352
+ )
1353
+ end)
1354
+
1174
1355
  api.add_operation(:list_tags_for_resource, Seahorse::Model::Operation.new.tap do |o|
1175
1356
  o.name = "ListTagsForResource"
1176
1357
  o.http_method = "GET"
@@ -1262,6 +1443,17 @@ module Aws::CloudWatchEvidently
1262
1443
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1263
1444
  end)
1264
1445
 
1446
+ api.add_operation(:test_segment_pattern, Seahorse::Model::Operation.new.tap do |o|
1447
+ o.name = "TestSegmentPattern"
1448
+ o.http_method = "POST"
1449
+ o.http_request_uri = "/test-segment-pattern"
1450
+ o.input = Shapes::ShapeRef.new(shape: TestSegmentPatternRequest)
1451
+ o.output = Shapes::ShapeRef.new(shape: TestSegmentPatternResponse)
1452
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1453
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1454
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1455
+ end)
1456
+
1265
1457
  api.add_operation(:untag_resource, Seahorse::Model::Operation.new.tap do |o|
1266
1458
  o.name = "UntagResource"
1267
1459
  o.http_method = "DELETE"
@@ -1317,6 +1509,7 @@ module Aws::CloudWatchEvidently
1317
1509
  o.input = Shapes::ShapeRef.new(shape: UpdateProjectRequest)
1318
1510
  o.output = Shapes::ShapeRef.new(shape: UpdateProjectResponse)
1319
1511
  o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1512
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
1320
1513
  o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
1321
1514
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1322
1515
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)