aws-sdk-cloudwatchevidently 1.6.0 → 1.8.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -14,6 +14,7 @@ module Aws::CloudWatchEvidently
14
14
  include Seahorse::Model
15
15
 
16
16
  AccessDeniedException = Shapes::StructureShape.new(name: 'AccessDeniedException')
17
+ AppConfigResourceId = Shapes::StringShape.new(name: 'AppConfigResourceId')
17
18
  Arn = Shapes::StringShape.new(name: 'Arn')
18
19
  BatchEvaluateFeatureRequest = Shapes::StructureShape.new(name: 'BatchEvaluateFeatureRequest')
19
20
  BatchEvaluateFeatureResponse = Shapes::StructureShape.new(name: 'BatchEvaluateFeatureResponse')
@@ -30,6 +31,8 @@ module Aws::CloudWatchEvidently
30
31
  CreateLaunchResponse = Shapes::StructureShape.new(name: 'CreateLaunchResponse')
31
32
  CreateProjectRequest = Shapes::StructureShape.new(name: 'CreateProjectRequest')
32
33
  CreateProjectResponse = Shapes::StructureShape.new(name: 'CreateProjectResponse')
34
+ CreateSegmentRequest = Shapes::StructureShape.new(name: 'CreateSegmentRequest')
35
+ CreateSegmentResponse = Shapes::StructureShape.new(name: 'CreateSegmentResponse')
33
36
  CwDimensionSafeName = Shapes::StringShape.new(name: 'CwDimensionSafeName')
34
37
  CwLogGroupSafeName = Shapes::StringShape.new(name: 'CwLogGroupSafeName')
35
38
  DeleteExperimentRequest = Shapes::StructureShape.new(name: 'DeleteExperimentRequest')
@@ -40,6 +43,8 @@ module Aws::CloudWatchEvidently
40
43
  DeleteLaunchResponse = Shapes::StructureShape.new(name: 'DeleteLaunchResponse')
41
44
  DeleteProjectRequest = Shapes::StructureShape.new(name: 'DeleteProjectRequest')
42
45
  DeleteProjectResponse = Shapes::StructureShape.new(name: 'DeleteProjectResponse')
46
+ DeleteSegmentRequest = Shapes::StructureShape.new(name: 'DeleteSegmentRequest')
47
+ DeleteSegmentResponse = Shapes::StructureShape.new(name: 'DeleteSegmentResponse')
43
48
  Description = Shapes::StringShape.new(name: 'Description')
44
49
  Double = Shapes::FloatShape.new(name: 'Double')
45
50
  DoubleValueList = Shapes::ListShape.new(name: 'DoubleValueList')
@@ -95,6 +100,8 @@ module Aws::CloudWatchEvidently
95
100
  GetLaunchResponse = Shapes::StructureShape.new(name: 'GetLaunchResponse')
96
101
  GetProjectRequest = Shapes::StructureShape.new(name: 'GetProjectRequest')
97
102
  GetProjectResponse = Shapes::StructureShape.new(name: 'GetProjectResponse')
103
+ GetSegmentRequest = Shapes::StructureShape.new(name: 'GetSegmentRequest')
104
+ GetSegmentResponse = Shapes::StructureShape.new(name: 'GetSegmentResponse')
98
105
  GroupName = Shapes::StringShape.new(name: 'GroupName')
99
106
  GroupToWeightMap = Shapes::MapShape.new(name: 'GroupToWeightMap')
100
107
  Integer = Shapes::IntegerShape.new(name: 'Integer')
@@ -121,6 +128,10 @@ module Aws::CloudWatchEvidently
121
128
  ListLaunchesResponse = Shapes::StructureShape.new(name: 'ListLaunchesResponse')
122
129
  ListProjectsRequest = Shapes::StructureShape.new(name: 'ListProjectsRequest')
123
130
  ListProjectsResponse = Shapes::StructureShape.new(name: 'ListProjectsResponse')
131
+ ListSegmentReferencesRequest = Shapes::StructureShape.new(name: 'ListSegmentReferencesRequest')
132
+ ListSegmentReferencesResponse = Shapes::StructureShape.new(name: 'ListSegmentReferencesResponse')
133
+ ListSegmentsRequest = Shapes::StructureShape.new(name: 'ListSegmentsRequest')
134
+ ListSegmentsResponse = Shapes::StructureShape.new(name: 'ListSegmentsResponse')
124
135
  ListTagsForResourceRequest = Shapes::StructureShape.new(name: 'ListTagsForResourceRequest')
125
136
  ListTagsForResourceResponse = Shapes::StructureShape.new(name: 'ListTagsForResourceResponse')
126
137
  Long = Shapes::IntegerShape.new(name: 'Long')
@@ -128,6 +139,8 @@ module Aws::CloudWatchEvidently
128
139
  MaxFeatures = Shapes::IntegerShape.new(name: 'MaxFeatures')
129
140
  MaxLaunches = Shapes::IntegerShape.new(name: 'MaxLaunches')
130
141
  MaxProjects = Shapes::IntegerShape.new(name: 'MaxProjects')
142
+ MaxReferences = Shapes::IntegerShape.new(name: 'MaxReferences')
143
+ MaxSegments = Shapes::IntegerShape.new(name: 'MaxSegments')
131
144
  MetricDefinition = Shapes::StructureShape.new(name: 'MetricDefinition')
132
145
  MetricDefinitionConfig = Shapes::StructureShape.new(name: 'MetricDefinitionConfig')
133
146
  MetricDefinitionConfigEventPatternString = Shapes::StringShape.new(name: 'MetricDefinitionConfigEventPatternString')
@@ -144,7 +157,10 @@ module Aws::CloudWatchEvidently
144
157
  NextToken = Shapes::StringShape.new(name: 'NextToken')
145
158
  OnlineAbConfig = Shapes::StructureShape.new(name: 'OnlineAbConfig')
146
159
  OnlineAbDefinition = Shapes::StructureShape.new(name: 'OnlineAbDefinition')
160
+ PrimitiveBoolean = Shapes::BooleanShape.new(name: 'PrimitiveBoolean')
147
161
  Project = Shapes::StructureShape.new(name: 'Project')
162
+ ProjectAppConfigResource = Shapes::StructureShape.new(name: 'ProjectAppConfigResource')
163
+ ProjectAppConfigResourceConfig = Shapes::StructureShape.new(name: 'ProjectAppConfigResourceConfig')
148
164
  ProjectArn = Shapes::StringShape.new(name: 'ProjectArn')
149
165
  ProjectDataDelivery = Shapes::StructureShape.new(name: 'ProjectDataDelivery')
150
166
  ProjectDataDeliveryConfig = Shapes::StructureShape.new(name: 'ProjectDataDeliveryConfig')
@@ -158,6 +174,8 @@ module Aws::CloudWatchEvidently
158
174
  PutProjectEventsResultEntry = Shapes::StructureShape.new(name: 'PutProjectEventsResultEntry')
159
175
  PutProjectEventsResultEntryList = Shapes::ListShape.new(name: 'PutProjectEventsResultEntryList')
160
176
  RandomizationSalt = Shapes::StringShape.new(name: 'RandomizationSalt')
177
+ RefResource = Shapes::StructureShape.new(name: 'RefResource')
178
+ RefResourceList = Shapes::ListShape.new(name: 'RefResourceList')
161
179
  ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
162
180
  ResultsPeriod = Shapes::IntegerShape.new(name: 'ResultsPeriod')
163
181
  RuleName = Shapes::StringShape.new(name: 'RuleName')
@@ -172,6 +190,15 @@ module Aws::CloudWatchEvidently
172
190
  ScheduledSplitsLaunchConfig = Shapes::StructureShape.new(name: 'ScheduledSplitsLaunchConfig')
173
191
  ScheduledSplitsLaunchDefinition = Shapes::StructureShape.new(name: 'ScheduledSplitsLaunchDefinition')
174
192
  ScheduledStepList = Shapes::ListShape.new(name: 'ScheduledStepList')
193
+ Segment = Shapes::StructureShape.new(name: 'Segment')
194
+ SegmentArn = Shapes::StringShape.new(name: 'SegmentArn')
195
+ SegmentList = Shapes::ListShape.new(name: 'SegmentList')
196
+ SegmentName = Shapes::StringShape.new(name: 'SegmentName')
197
+ SegmentOverride = Shapes::StructureShape.new(name: 'SegmentOverride')
198
+ SegmentOverridesList = Shapes::ListShape.new(name: 'SegmentOverridesList')
199
+ SegmentPattern = Shapes::StringShape.new(name: 'SegmentPattern')
200
+ SegmentRef = Shapes::StringShape.new(name: 'SegmentRef')
201
+ SegmentReferenceResourceType = Shapes::StringShape.new(name: 'SegmentReferenceResourceType')
175
202
  ServiceQuotaExceededException = Shapes::StructureShape.new(name: 'ServiceQuotaExceededException')
176
203
  ServiceUnavailableException = Shapes::StructureShape.new(name: 'ServiceUnavailableException')
177
204
  SplitWeight = Shapes::IntegerShape.new(name: 'SplitWeight')
@@ -190,6 +217,8 @@ module Aws::CloudWatchEvidently
190
217
  TagResourceRequest = Shapes::StructureShape.new(name: 'TagResourceRequest')
191
218
  TagResourceResponse = Shapes::StructureShape.new(name: 'TagResourceResponse')
192
219
  TagValue = Shapes::StringShape.new(name: 'TagValue')
220
+ TestSegmentPatternRequest = Shapes::StructureShape.new(name: 'TestSegmentPatternRequest')
221
+ TestSegmentPatternResponse = Shapes::StructureShape.new(name: 'TestSegmentPatternResponse')
193
222
  ThrottlingException = Shapes::StructureShape.new(name: 'ThrottlingException')
194
223
  Timestamp = Shapes::TimestampShape.new(name: 'Timestamp')
195
224
  TimestampList = Shapes::ListShape.new(name: 'TimestampList')
@@ -256,6 +285,7 @@ module Aws::CloudWatchEvidently
256
285
  CreateExperimentRequest.add_member(:project, Shapes::ShapeRef.new(shape: ProjectRef, required: true, location: "uri", location_name: "project"))
257
286
  CreateExperimentRequest.add_member(:randomization_salt, Shapes::ShapeRef.new(shape: RandomizationSalt, location_name: "randomizationSalt"))
258
287
  CreateExperimentRequest.add_member(:sampling_rate, Shapes::ShapeRef.new(shape: SplitWeight, location_name: "samplingRate", metadata: {"box"=>true}))
288
+ CreateExperimentRequest.add_member(:segment, Shapes::ShapeRef.new(shape: SegmentRef, location_name: "segment"))
259
289
  CreateExperimentRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
260
290
  CreateExperimentRequest.add_member(:treatments, Shapes::ShapeRef.new(shape: TreatmentConfigList, required: true, location_name: "treatments"))
261
291
  CreateExperimentRequest.struct_class = Types::CreateExperimentRequest
@@ -289,6 +319,7 @@ module Aws::CloudWatchEvidently
289
319
  CreateLaunchResponse.add_member(:launch, Shapes::ShapeRef.new(shape: Launch, required: true, location_name: "launch"))
290
320
  CreateLaunchResponse.struct_class = Types::CreateLaunchResponse
291
321
 
322
+ CreateProjectRequest.add_member(:app_config_resource, Shapes::ShapeRef.new(shape: ProjectAppConfigResourceConfig, location_name: "appConfigResource"))
292
323
  CreateProjectRequest.add_member(:data_delivery, Shapes::ShapeRef.new(shape: ProjectDataDeliveryConfig, location_name: "dataDelivery"))
293
324
  CreateProjectRequest.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "description"))
294
325
  CreateProjectRequest.add_member(:name, Shapes::ShapeRef.new(shape: ProjectName, required: true, location_name: "name"))
@@ -298,6 +329,15 @@ module Aws::CloudWatchEvidently
298
329
  CreateProjectResponse.add_member(:project, Shapes::ShapeRef.new(shape: Project, required: true, location_name: "project"))
299
330
  CreateProjectResponse.struct_class = Types::CreateProjectResponse
300
331
 
332
+ CreateSegmentRequest.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "description"))
333
+ CreateSegmentRequest.add_member(:name, Shapes::ShapeRef.new(shape: SegmentName, required: true, location_name: "name"))
334
+ CreateSegmentRequest.add_member(:pattern, Shapes::ShapeRef.new(shape: SegmentPattern, required: true, location_name: "pattern", metadata: {"jsonvalue"=>true}))
335
+ CreateSegmentRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
336
+ CreateSegmentRequest.struct_class = Types::CreateSegmentRequest
337
+
338
+ CreateSegmentResponse.add_member(:segment, Shapes::ShapeRef.new(shape: Segment, required: true, location_name: "segment"))
339
+ CreateSegmentResponse.struct_class = Types::CreateSegmentResponse
340
+
301
341
  DeleteExperimentRequest.add_member(:experiment, Shapes::ShapeRef.new(shape: ExperimentName, required: true, location: "uri", location_name: "experiment"))
302
342
  DeleteExperimentRequest.add_member(:project, Shapes::ShapeRef.new(shape: ProjectRef, required: true, location: "uri", location_name: "project"))
303
343
  DeleteExperimentRequest.struct_class = Types::DeleteExperimentRequest
@@ -321,6 +361,11 @@ module Aws::CloudWatchEvidently
321
361
 
322
362
  DeleteProjectResponse.struct_class = Types::DeleteProjectResponse
323
363
 
364
+ DeleteSegmentRequest.add_member(:segment, Shapes::ShapeRef.new(shape: SegmentRef, required: true, location: "uri", location_name: "segment"))
365
+ DeleteSegmentRequest.struct_class = Types::DeleteSegmentRequest
366
+
367
+ DeleteSegmentResponse.struct_class = Types::DeleteSegmentResponse
368
+
324
369
  DoubleValueList.member = Shapes::ShapeRef.new(shape: Double)
325
370
 
326
371
  EntityOverrideMap.key = Shapes::ShapeRef.new(shape: EntityId)
@@ -381,6 +426,7 @@ module Aws::CloudWatchEvidently
381
426
  Experiment.add_member(:randomization_salt, Shapes::ShapeRef.new(shape: RandomizationSalt, location_name: "randomizationSalt"))
382
427
  Experiment.add_member(:sampling_rate, Shapes::ShapeRef.new(shape: SplitWeight, location_name: "samplingRate"))
383
428
  Experiment.add_member(:schedule, Shapes::ShapeRef.new(shape: ExperimentSchedule, location_name: "schedule"))
429
+ Experiment.add_member(:segment, Shapes::ShapeRef.new(shape: SegmentArn, location_name: "segment"))
384
430
  Experiment.add_member(:status, Shapes::ShapeRef.new(shape: ExperimentStatus, required: true, location_name: "status"))
385
431
  Experiment.add_member(:status_reason, Shapes::ShapeRef.new(shape: Description, location_name: "statusReason"))
386
432
  Experiment.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
@@ -495,6 +541,12 @@ module Aws::CloudWatchEvidently
495
541
  GetProjectResponse.add_member(:project, Shapes::ShapeRef.new(shape: Project, required: true, location_name: "project"))
496
542
  GetProjectResponse.struct_class = Types::GetProjectResponse
497
543
 
544
+ GetSegmentRequest.add_member(:segment, Shapes::ShapeRef.new(shape: SegmentRef, required: true, location: "uri", location_name: "segment"))
545
+ GetSegmentRequest.struct_class = Types::GetSegmentRequest
546
+
547
+ GetSegmentResponse.add_member(:segment, Shapes::ShapeRef.new(shape: Segment, required: true, location_name: "segment"))
548
+ GetSegmentResponse.struct_class = Types::GetSegmentResponse
549
+
498
550
  GroupToWeightMap.key = Shapes::ShapeRef.new(shape: GroupName)
499
551
  GroupToWeightMap.value = Shapes::ShapeRef.new(shape: SplitWeight)
500
552
 
@@ -576,6 +628,24 @@ module Aws::CloudWatchEvidently
576
628
  ListProjectsResponse.add_member(:projects, Shapes::ShapeRef.new(shape: ProjectSummariesList, location_name: "projects"))
577
629
  ListProjectsResponse.struct_class = Types::ListProjectsResponse
578
630
 
631
+ ListSegmentReferencesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxReferences, location: "querystring", location_name: "maxResults"))
632
+ ListSegmentReferencesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
633
+ ListSegmentReferencesRequest.add_member(:segment, Shapes::ShapeRef.new(shape: SegmentRef, required: true, location: "uri", location_name: "segment"))
634
+ ListSegmentReferencesRequest.add_member(:type, Shapes::ShapeRef.new(shape: SegmentReferenceResourceType, required: true, location: "querystring", location_name: "type"))
635
+ ListSegmentReferencesRequest.struct_class = Types::ListSegmentReferencesRequest
636
+
637
+ ListSegmentReferencesResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
638
+ ListSegmentReferencesResponse.add_member(:referenced_by, Shapes::ShapeRef.new(shape: RefResourceList, location_name: "referencedBy"))
639
+ ListSegmentReferencesResponse.struct_class = Types::ListSegmentReferencesResponse
640
+
641
+ ListSegmentsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxSegments, location: "querystring", location_name: "maxResults"))
642
+ ListSegmentsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
643
+ ListSegmentsRequest.struct_class = Types::ListSegmentsRequest
644
+
645
+ ListSegmentsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
646
+ ListSegmentsResponse.add_member(:segments, Shapes::ShapeRef.new(shape: SegmentList, location_name: "segments"))
647
+ ListSegmentsResponse.struct_class = Types::ListSegmentsResponse
648
+
579
649
  ListTagsForResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location: "uri", location_name: "resourceArn"))
580
650
  ListTagsForResourceRequest.struct_class = Types::ListTagsForResourceRequest
581
651
 
@@ -630,6 +700,7 @@ module Aws::CloudWatchEvidently
630
700
 
631
701
  Project.add_member(:active_experiment_count, Shapes::ShapeRef.new(shape: Long, location_name: "activeExperimentCount"))
632
702
  Project.add_member(:active_launch_count, Shapes::ShapeRef.new(shape: Long, location_name: "activeLaunchCount"))
703
+ Project.add_member(:app_config_resource, Shapes::ShapeRef.new(shape: ProjectAppConfigResource, location_name: "appConfigResource"))
633
704
  Project.add_member(:arn, Shapes::ShapeRef.new(shape: ProjectArn, required: true, location_name: "arn"))
634
705
  Project.add_member(:created_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "createdTime"))
635
706
  Project.add_member(:data_delivery, Shapes::ShapeRef.new(shape: ProjectDataDelivery, location_name: "dataDelivery"))
@@ -643,6 +714,15 @@ module Aws::CloudWatchEvidently
643
714
  Project.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
644
715
  Project.struct_class = Types::Project
645
716
 
717
+ ProjectAppConfigResource.add_member(:application_id, Shapes::ShapeRef.new(shape: AppConfigResourceId, required: true, location_name: "applicationId"))
718
+ ProjectAppConfigResource.add_member(:configuration_profile_id, Shapes::ShapeRef.new(shape: AppConfigResourceId, required: true, location_name: "configurationProfileId"))
719
+ ProjectAppConfigResource.add_member(:environment_id, Shapes::ShapeRef.new(shape: AppConfigResourceId, required: true, location_name: "environmentId"))
720
+ ProjectAppConfigResource.struct_class = Types::ProjectAppConfigResource
721
+
722
+ ProjectAppConfigResourceConfig.add_member(:application_id, Shapes::ShapeRef.new(shape: AppConfigResourceId, location_name: "applicationId"))
723
+ ProjectAppConfigResourceConfig.add_member(:environment_id, Shapes::ShapeRef.new(shape: AppConfigResourceId, location_name: "environmentId"))
724
+ ProjectAppConfigResourceConfig.struct_class = Types::ProjectAppConfigResourceConfig
725
+
646
726
  ProjectDataDelivery.add_member(:cloud_watch_logs, Shapes::ShapeRef.new(shape: CloudWatchLogsDestination, location_name: "cloudWatchLogs"))
647
727
  ProjectDataDelivery.add_member(:s3_destination, Shapes::ShapeRef.new(shape: S3Destination, location_name: "s3Destination"))
648
728
  ProjectDataDelivery.struct_class = Types::ProjectDataDelivery
@@ -682,6 +762,17 @@ module Aws::CloudWatchEvidently
682
762
 
683
763
  PutProjectEventsResultEntryList.member = Shapes::ShapeRef.new(shape: PutProjectEventsResultEntry)
684
764
 
765
+ RefResource.add_member(:arn, Shapes::ShapeRef.new(shape: String, location_name: "arn"))
766
+ RefResource.add_member(:end_time, Shapes::ShapeRef.new(shape: String, location_name: "endTime"))
767
+ RefResource.add_member(:last_updated_on, Shapes::ShapeRef.new(shape: String, location_name: "lastUpdatedOn"))
768
+ RefResource.add_member(:name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "name"))
769
+ RefResource.add_member(:start_time, Shapes::ShapeRef.new(shape: String, location_name: "startTime"))
770
+ RefResource.add_member(:status, Shapes::ShapeRef.new(shape: String, location_name: "status"))
771
+ RefResource.add_member(:type, Shapes::ShapeRef.new(shape: String, required: true, location_name: "type"))
772
+ RefResource.struct_class = Types::RefResource
773
+
774
+ RefResourceList.member = Shapes::ShapeRef.new(shape: RefResource)
775
+
685
776
  ResourceNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
686
777
  ResourceNotFoundException.add_member(:resource_id, Shapes::ShapeRef.new(shape: String, location_name: "resourceId"))
687
778
  ResourceNotFoundException.add_member(:resource_type, Shapes::ShapeRef.new(shape: String, location_name: "resourceType"))
@@ -696,10 +787,12 @@ module Aws::CloudWatchEvidently
696
787
  S3DestinationConfig.struct_class = Types::S3DestinationConfig
697
788
 
698
789
  ScheduledSplit.add_member(:group_weights, Shapes::ShapeRef.new(shape: GroupToWeightMap, location_name: "groupWeights"))
790
+ ScheduledSplit.add_member(:segment_overrides, Shapes::ShapeRef.new(shape: SegmentOverridesList, location_name: "segmentOverrides"))
699
791
  ScheduledSplit.add_member(:start_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "startTime"))
700
792
  ScheduledSplit.struct_class = Types::ScheduledSplit
701
793
 
702
794
  ScheduledSplitConfig.add_member(:group_weights, Shapes::ShapeRef.new(shape: GroupToWeightMap, required: true, location_name: "groupWeights"))
795
+ ScheduledSplitConfig.add_member(:segment_overrides, Shapes::ShapeRef.new(shape: SegmentOverridesList, location_name: "segmentOverrides"))
703
796
  ScheduledSplitConfig.add_member(:start_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "startTime"))
704
797
  ScheduledSplitConfig.struct_class = Types::ScheduledSplitConfig
705
798
 
@@ -713,6 +806,26 @@ module Aws::CloudWatchEvidently
713
806
 
714
807
  ScheduledStepList.member = Shapes::ShapeRef.new(shape: ScheduledSplit)
715
808
 
809
+ Segment.add_member(:arn, Shapes::ShapeRef.new(shape: SegmentArn, required: true, location_name: "arn"))
810
+ Segment.add_member(:created_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "createdTime"))
811
+ Segment.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "description"))
812
+ Segment.add_member(:experiment_count, Shapes::ShapeRef.new(shape: Long, location_name: "experimentCount"))
813
+ Segment.add_member(:last_updated_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "lastUpdatedTime"))
814
+ Segment.add_member(:launch_count, Shapes::ShapeRef.new(shape: Long, location_name: "launchCount"))
815
+ Segment.add_member(:name, Shapes::ShapeRef.new(shape: SegmentName, required: true, location_name: "name"))
816
+ Segment.add_member(:pattern, Shapes::ShapeRef.new(shape: SegmentPattern, required: true, location_name: "pattern", metadata: {"jsonvalue"=>true}))
817
+ Segment.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
818
+ Segment.struct_class = Types::Segment
819
+
820
+ SegmentList.member = Shapes::ShapeRef.new(shape: Segment)
821
+
822
+ SegmentOverride.add_member(:evaluation_order, Shapes::ShapeRef.new(shape: Long, required: true, location_name: "evaluationOrder"))
823
+ SegmentOverride.add_member(:segment, Shapes::ShapeRef.new(shape: SegmentRef, required: true, location_name: "segment"))
824
+ SegmentOverride.add_member(:weights, Shapes::ShapeRef.new(shape: GroupToWeightMap, required: true, location_name: "weights"))
825
+ SegmentOverride.struct_class = Types::SegmentOverride
826
+
827
+ SegmentOverridesList.member = Shapes::ShapeRef.new(shape: SegmentOverride)
828
+
716
829
  ServiceQuotaExceededException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
717
830
  ServiceQuotaExceededException.add_member(:quota_code, Shapes::ShapeRef.new(shape: String, location_name: "quotaCode"))
718
831
  ServiceQuotaExceededException.add_member(:resource_id, Shapes::ShapeRef.new(shape: String, location_name: "resourceId"))
@@ -767,6 +880,13 @@ module Aws::CloudWatchEvidently
767
880
 
768
881
  TagResourceResponse.struct_class = Types::TagResourceResponse
769
882
 
883
+ TestSegmentPatternRequest.add_member(:pattern, Shapes::ShapeRef.new(shape: SegmentPattern, required: true, location_name: "pattern", metadata: {"jsonvalue"=>true}))
884
+ TestSegmentPatternRequest.add_member(:payload, Shapes::ShapeRef.new(shape: JsonValue, required: true, location_name: "payload", metadata: {"jsonvalue"=>true}))
885
+ TestSegmentPatternRequest.struct_class = Types::TestSegmentPatternRequest
886
+
887
+ TestSegmentPatternResponse.add_member(:match, Shapes::ShapeRef.new(shape: Boolean, required: true, location_name: "match"))
888
+ TestSegmentPatternResponse.struct_class = Types::TestSegmentPatternResponse
889
+
770
890
  ThrottlingException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
771
891
  ThrottlingException.add_member(:quota_code, Shapes::ShapeRef.new(shape: String, location_name: "quotaCode"))
772
892
  ThrottlingException.add_member(:service_code, Shapes::ShapeRef.new(shape: String, location_name: "serviceCode"))
@@ -806,7 +926,9 @@ module Aws::CloudWatchEvidently
806
926
  UpdateExperimentRequest.add_member(:online_ab_config, Shapes::ShapeRef.new(shape: OnlineAbConfig, location_name: "onlineAbConfig"))
807
927
  UpdateExperimentRequest.add_member(:project, Shapes::ShapeRef.new(shape: ProjectRef, required: true, location: "uri", location_name: "project"))
808
928
  UpdateExperimentRequest.add_member(:randomization_salt, Shapes::ShapeRef.new(shape: RandomizationSalt, location_name: "randomizationSalt"))
929
+ UpdateExperimentRequest.add_member(:remove_segment, Shapes::ShapeRef.new(shape: PrimitiveBoolean, location_name: "removeSegment"))
809
930
  UpdateExperimentRequest.add_member(:sampling_rate, Shapes::ShapeRef.new(shape: SplitWeight, location_name: "samplingRate", metadata: {"box"=>true}))
931
+ UpdateExperimentRequest.add_member(:segment, Shapes::ShapeRef.new(shape: SegmentRef, location_name: "segment"))
810
932
  UpdateExperimentRequest.add_member(:treatments, Shapes::ShapeRef.new(shape: TreatmentConfigList, location_name: "treatments"))
811
933
  UpdateExperimentRequest.struct_class = Types::UpdateExperimentRequest
812
934
 
@@ -846,6 +968,7 @@ module Aws::CloudWatchEvidently
846
968
  UpdateProjectDataDeliveryResponse.add_member(:project, Shapes::ShapeRef.new(shape: Project, required: true, location_name: "project"))
847
969
  UpdateProjectDataDeliveryResponse.struct_class = Types::UpdateProjectDataDeliveryResponse
848
970
 
971
+ UpdateProjectRequest.add_member(:app_config_resource, Shapes::ShapeRef.new(shape: ProjectAppConfigResourceConfig, location_name: "appConfigResource"))
849
972
  UpdateProjectRequest.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "description"))
850
973
  UpdateProjectRequest.add_member(:project, Shapes::ShapeRef.new(shape: ProjectRef, required: true, location: "uri", location_name: "project"))
851
974
  UpdateProjectRequest.struct_class = Types::UpdateProjectRequest
@@ -974,6 +1097,18 @@ module Aws::CloudWatchEvidently
974
1097
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
975
1098
  end)
976
1099
 
1100
+ api.add_operation(:create_segment, Seahorse::Model::Operation.new.tap do |o|
1101
+ o.name = "CreateSegment"
1102
+ o.http_method = "POST"
1103
+ o.http_request_uri = "/segments"
1104
+ o.input = Shapes::ShapeRef.new(shape: CreateSegmentRequest)
1105
+ o.output = Shapes::ShapeRef.new(shape: CreateSegmentResponse)
1106
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1107
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
1108
+ o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
1109
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1110
+ end)
1111
+
977
1112
  api.add_operation(:delete_experiment, Seahorse::Model::Operation.new.tap do |o|
978
1113
  o.name = "DeleteExperiment"
979
1114
  o.http_method = "DELETE"
@@ -1027,6 +1162,19 @@ module Aws::CloudWatchEvidently
1027
1162
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1028
1163
  end)
1029
1164
 
1165
+ api.add_operation(:delete_segment, Seahorse::Model::Operation.new.tap do |o|
1166
+ o.name = "DeleteSegment"
1167
+ o.http_method = "DELETE"
1168
+ o.http_request_uri = "/segments/{segment}"
1169
+ o.input = Shapes::ShapeRef.new(shape: DeleteSegmentRequest)
1170
+ o.output = Shapes::ShapeRef.new(shape: DeleteSegmentResponse)
1171
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1172
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1173
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
1174
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1175
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1176
+ end)
1177
+
1030
1178
  api.add_operation(:evaluate_feature, Seahorse::Model::Operation.new.tap do |o|
1031
1179
  o.name = "EvaluateFeature"
1032
1180
  o.http_method = "POST"
@@ -1103,6 +1251,18 @@ module Aws::CloudWatchEvidently
1103
1251
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1104
1252
  end)
1105
1253
 
1254
+ api.add_operation(:get_segment, Seahorse::Model::Operation.new.tap do |o|
1255
+ o.name = "GetSegment"
1256
+ o.http_method = "GET"
1257
+ o.http_request_uri = "/segments/{segment}"
1258
+ o.input = Shapes::ShapeRef.new(shape: GetSegmentRequest)
1259
+ o.output = Shapes::ShapeRef.new(shape: GetSegmentResponse)
1260
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1261
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1262
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1263
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1264
+ end)
1265
+
1106
1266
  api.add_operation(:list_experiments, Seahorse::Model::Operation.new.tap do |o|
1107
1267
  o.name = "ListExperiments"
1108
1268
  o.http_method = "GET"
@@ -1172,6 +1332,41 @@ module Aws::CloudWatchEvidently
1172
1332
  )
1173
1333
  end)
1174
1334
 
1335
+ api.add_operation(:list_segment_references, Seahorse::Model::Operation.new.tap do |o|
1336
+ o.name = "ListSegmentReferences"
1337
+ o.http_method = "GET"
1338
+ o.http_request_uri = "/segments/{segment}/references"
1339
+ o.input = Shapes::ShapeRef.new(shape: ListSegmentReferencesRequest)
1340
+ o.output = Shapes::ShapeRef.new(shape: ListSegmentReferencesResponse)
1341
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1342
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1343
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1344
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1345
+ o[:pager] = Aws::Pager.new(
1346
+ limit_key: "max_results",
1347
+ tokens: {
1348
+ "next_token" => "next_token"
1349
+ }
1350
+ )
1351
+ end)
1352
+
1353
+ api.add_operation(:list_segments, Seahorse::Model::Operation.new.tap do |o|
1354
+ o.name = "ListSegments"
1355
+ o.http_method = "GET"
1356
+ o.http_request_uri = "/segments"
1357
+ o.input = Shapes::ShapeRef.new(shape: ListSegmentsRequest)
1358
+ o.output = Shapes::ShapeRef.new(shape: ListSegmentsResponse)
1359
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1360
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1361
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1362
+ o[:pager] = Aws::Pager.new(
1363
+ limit_key: "max_results",
1364
+ tokens: {
1365
+ "next_token" => "next_token"
1366
+ }
1367
+ )
1368
+ end)
1369
+
1175
1370
  api.add_operation(:list_tags_for_resource, Seahorse::Model::Operation.new.tap do |o|
1176
1371
  o.name = "ListTagsForResource"
1177
1372
  o.http_method = "GET"
@@ -1263,6 +1458,17 @@ module Aws::CloudWatchEvidently
1263
1458
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1264
1459
  end)
1265
1460
 
1461
+ api.add_operation(:test_segment_pattern, Seahorse::Model::Operation.new.tap do |o|
1462
+ o.name = "TestSegmentPattern"
1463
+ o.http_method = "POST"
1464
+ o.http_request_uri = "/test-segment-pattern"
1465
+ o.input = Shapes::ShapeRef.new(shape: TestSegmentPatternRequest)
1466
+ o.output = Shapes::ShapeRef.new(shape: TestSegmentPatternResponse)
1467
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1468
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1469
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1470
+ end)
1471
+
1266
1472
  api.add_operation(:untag_resource, Seahorse::Model::Operation.new.tap do |o|
1267
1473
  o.name = "UntagResource"
1268
1474
  o.http_method = "DELETE"
@@ -1318,6 +1524,7 @@ module Aws::CloudWatchEvidently
1318
1524
  o.input = Shapes::ShapeRef.new(shape: UpdateProjectRequest)
1319
1525
  o.output = Shapes::ShapeRef.new(shape: UpdateProjectResponse)
1320
1526
  o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1527
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
1321
1528
  o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
1322
1529
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1323
1530
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)