aws-sdk-customerprofiles 1.92.0 → 1.94.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -27,6 +27,10 @@ module Aws::CustomerProfiles
27
27
  AppflowIntegrationWorkflowMetrics = Shapes::StructureShape.new(name: 'AppflowIntegrationWorkflowMetrics')
28
28
  AppflowIntegrationWorkflowStep = Shapes::StructureShape.new(name: 'AppflowIntegrationWorkflowStep')
29
29
  Arn = Shapes::StringShape.new(name: 'Arn')
30
+ AssociateStreamForSegmentsRequest = Shapes::StructureShape.new(name: 'AssociateStreamForSegmentsRequest')
31
+ AssociateStreamForSegmentsResponse = Shapes::StructureShape.new(name: 'AssociateStreamForSegmentsResponse')
32
+ AssociatedSegment = Shapes::StructureShape.new(name: 'AssociatedSegment')
33
+ AssociatedSegmentsList = Shapes::ListShape.new(name: 'AssociatedSegmentsList')
30
34
  AttributeDetails = Shapes::StructureShape.new(name: 'AttributeDetails')
31
35
  AttributeDimension = Shapes::StructureShape.new(name: 'AttributeDimension')
32
36
  AttributeDimensionType = Shapes::StringShape.new(name: 'AttributeDimensionType')
@@ -152,9 +156,13 @@ module Aws::CustomerProfiles
152
156
  DeleteRecommenderSchemaResponse = Shapes::StructureShape.new(name: 'DeleteRecommenderSchemaResponse')
153
157
  DeleteSegmentDefinitionRequest = Shapes::StructureShape.new(name: 'DeleteSegmentDefinitionRequest')
154
158
  DeleteSegmentDefinitionResponse = Shapes::StructureShape.new(name: 'DeleteSegmentDefinitionResponse')
159
+ DeleteSegmentSubscriptionRequest = Shapes::StructureShape.new(name: 'DeleteSegmentSubscriptionRequest')
160
+ DeleteSegmentSubscriptionResponse = Shapes::StructureShape.new(name: 'DeleteSegmentSubscriptionResponse')
155
161
  DeleteWorkflowRequest = Shapes::StructureShape.new(name: 'DeleteWorkflowRequest')
156
162
  DeleteWorkflowResponse = Shapes::StructureShape.new(name: 'DeleteWorkflowResponse')
163
+ DestinationArnString = Shapes::StringShape.new(name: 'DestinationArnString')
157
164
  DestinationField = Shapes::StringShape.new(name: 'DestinationField')
165
+ DestinationRoleArn = Shapes::StringShape.new(name: 'DestinationRoleArn')
158
166
  DestinationSummary = Shapes::StructureShape.new(name: 'DestinationSummary')
159
167
  DetectProfileObjectTypeRequest = Shapes::StructureShape.new(name: 'DetectProfileObjectTypeRequest')
160
168
  DetectProfileObjectTypeResponse = Shapes::StructureShape.new(name: 'DetectProfileObjectTypeResponse')
@@ -162,6 +170,8 @@ module Aws::CustomerProfiles
162
170
  DetectedProfileObjectTypes = Shapes::ListShape.new(name: 'DetectedProfileObjectTypes')
163
171
  Dimension = Shapes::UnionShape.new(name: 'Dimension')
164
172
  DimensionList = Shapes::ListShape.new(name: 'DimensionList')
173
+ DisassociateStreamForSegmentsRequest = Shapes::StructureShape.new(name: 'DisassociateStreamForSegmentsRequest')
174
+ DisassociateStreamForSegmentsResponse = Shapes::StructureShape.new(name: 'DisassociateStreamForSegmentsResponse')
165
175
  DiversityCapType = Shapes::StringShape.new(name: 'DiversityCapType')
166
176
  DiversityCapValue = Shapes::IntegerShape.new(name: 'DiversityCapValue')
167
177
  DiversityColumn = Shapes::StructureShape.new(name: 'DiversityColumn')
@@ -193,6 +203,8 @@ module Aws::CustomerProfiles
193
203
  EventStreamState = Shapes::StringShape.new(name: 'EventStreamState')
194
204
  EventStreamSummary = Shapes::StructureShape.new(name: 'EventStreamSummary')
195
205
  EventStreamSummaryList = Shapes::ListShape.new(name: 'EventStreamSummaryList')
206
+ EventSubscriptionSegmentStatus = Shapes::StringShape.new(name: 'EventSubscriptionSegmentStatus')
207
+ EventSubscriptionState = Shapes::StringShape.new(name: 'EventSubscriptionState')
196
208
  EventTriggerCondition = Shapes::StructureShape.new(name: 'EventTriggerCondition')
197
209
  EventTriggerConditions = Shapes::ListShape.new(name: 'EventTriggerConditions')
198
210
  EventTriggerDimension = Shapes::StructureShape.new(name: 'EventTriggerDimension')
@@ -276,8 +288,12 @@ module Aws::CustomerProfiles
276
288
  GetSegmentMembershipStatus = Shapes::IntegerShape.new(name: 'GetSegmentMembershipStatus')
277
289
  GetSegmentSnapshotRequest = Shapes::StructureShape.new(name: 'GetSegmentSnapshotRequest')
278
290
  GetSegmentSnapshotResponse = Shapes::StructureShape.new(name: 'GetSegmentSnapshotResponse')
291
+ GetSegmentSubscriptionRequest = Shapes::StructureShape.new(name: 'GetSegmentSubscriptionRequest')
292
+ GetSegmentSubscriptionResponse = Shapes::StructureShape.new(name: 'GetSegmentSubscriptionResponse')
279
293
  GetSimilarProfilesRequest = Shapes::StructureShape.new(name: 'GetSimilarProfilesRequest')
280
294
  GetSimilarProfilesResponse = Shapes::StructureShape.new(name: 'GetSimilarProfilesResponse')
295
+ GetStreamForSegmentsRequest = Shapes::StructureShape.new(name: 'GetStreamForSegmentsRequest')
296
+ GetStreamForSegmentsResponse = Shapes::StructureShape.new(name: 'GetStreamForSegmentsResponse')
281
297
  GetUploadJobPathRequest = Shapes::StructureShape.new(name: 'GetUploadJobPathRequest')
282
298
  GetUploadJobPathResponse = Shapes::StructureShape.new(name: 'GetUploadJobPathResponse')
283
299
  GetUploadJobRequest = Shapes::StructureShape.new(name: 'GetUploadJobRequest')
@@ -300,6 +316,7 @@ module Aws::CustomerProfiles
300
316
  IntegrationConfig = Shapes::StructureShape.new(name: 'IntegrationConfig')
301
317
  IntegrationList = Shapes::ListShape.new(name: 'IntegrationList')
302
318
  InternalServerException = Shapes::StructureShape.new(name: 'InternalServerException')
319
+ IntervalValue = Shapes::IntegerShape.new(name: 'IntervalValue')
303
320
  JobSchedule = Shapes::StructureShape.new(name: 'JobSchedule')
304
321
  JobScheduleDayOfTheWeek = Shapes::StringShape.new(name: 'JobScheduleDayOfTheWeek')
305
322
  JobScheduleTime = Shapes::StringShape.new(name: 'JobScheduleTime')
@@ -366,6 +383,8 @@ module Aws::CustomerProfiles
366
383
  ListRuleBasedMatchesResponse = Shapes::StructureShape.new(name: 'ListRuleBasedMatchesResponse')
367
384
  ListSegmentDefinitionsRequest = Shapes::StructureShape.new(name: 'ListSegmentDefinitionsRequest')
368
385
  ListSegmentDefinitionsResponse = Shapes::StructureShape.new(name: 'ListSegmentDefinitionsResponse')
386
+ ListSegmentSubscriptionEventsRequest = Shapes::StructureShape.new(name: 'ListSegmentSubscriptionEventsRequest')
387
+ ListSegmentSubscriptionEventsResponse = Shapes::StructureShape.new(name: 'ListSegmentSubscriptionEventsResponse')
369
388
  ListTagsForResourceRequest = Shapes::StructureShape.new(name: 'ListTagsForResourceRequest')
370
389
  ListTagsForResourceResponse = Shapes::StructureShape.new(name: 'ListTagsForResourceResponse')
371
390
  ListUploadJobsRequest = Shapes::StructureShape.new(name: 'ListUploadJobsRequest')
@@ -445,6 +464,8 @@ module Aws::CustomerProfiles
445
464
  PutProfileObjectResponse = Shapes::StructureShape.new(name: 'PutProfileObjectResponse')
446
465
  PutProfileObjectTypeRequest = Shapes::StructureShape.new(name: 'PutProfileObjectTypeRequest')
447
466
  PutProfileObjectTypeResponse = Shapes::StructureShape.new(name: 'PutProfileObjectTypeResponse')
467
+ PutSegmentSubscriptionRequest = Shapes::StructureShape.new(name: 'PutSegmentSubscriptionRequest')
468
+ PutSegmentSubscriptionResponse = Shapes::StructureShape.new(name: 'PutSegmentSubscriptionResponse')
448
469
  QueryResult = Shapes::StringShape.new(name: 'QueryResult')
449
470
  Range = Shapes::StructureShape.new(name: 'Range')
450
471
  RangeOverride = Shapes::StructureShape.new(name: 'RangeOverride')
@@ -496,8 +517,11 @@ module Aws::CustomerProfiles
496
517
  S3SourceProperties = Shapes::StructureShape.new(name: 'S3SourceProperties')
497
518
  SalesforceConnectorOperator = Shapes::StringShape.new(name: 'SalesforceConnectorOperator')
498
519
  SalesforceSourceProperties = Shapes::StructureShape.new(name: 'SalesforceSourceProperties')
520
+ ScheduleConfiguration = Shapes::StructureShape.new(name: 'ScheduleConfiguration')
521
+ ScheduleConfigurationUnit = Shapes::StringShape.new(name: 'ScheduleConfigurationUnit')
499
522
  ScheduleExpression = Shapes::StringShape.new(name: 'ScheduleExpression')
500
523
  ScheduleOffset = Shapes::IntegerShape.new(name: 'ScheduleOffset')
524
+ ScheduledExecutions = Shapes::StructureShape.new(name: 'ScheduledExecutions')
501
525
  ScheduledTriggerProperties = Shapes::StructureShape.new(name: 'ScheduledTriggerProperties')
502
526
  Scope = Shapes::StringShape.new(name: 'Scope')
503
527
  SearchProfilesRequest = Shapes::StructureShape.new(name: 'SearchProfilesRequest')
@@ -512,6 +536,7 @@ module Aws::CustomerProfiles
512
536
  SegmentSort = Shapes::StructureShape.new(name: 'SegmentSort')
513
537
  SegmentSortDataType = Shapes::StringShape.new(name: 'SegmentSortDataType')
514
538
  SegmentSortOrder = Shapes::StringShape.new(name: 'SegmentSortOrder')
539
+ SegmentSubscriptionStatus = Shapes::StringShape.new(name: 'SegmentSubscriptionStatus')
515
540
  SegmentType = Shapes::StringShape.new(name: 'SegmentType')
516
541
  ServiceNowConnectorOperator = Shapes::StringShape.new(name: 'ServiceNowConnectorOperator')
517
542
  ServiceNowSourceProperties = Shapes::StructureShape.new(name: 'ServiceNowSourceProperties')
@@ -541,6 +566,10 @@ module Aws::CustomerProfiles
541
566
  StopUploadJobResponse = Shapes::StructureShape.new(name: 'StopUploadJobResponse')
542
567
  String = Shapes::StringShape.new(name: 'String')
543
568
  StringDimensionType = Shapes::StringShape.new(name: 'StringDimensionType')
569
+ SubscriptionEvent = Shapes::StringShape.new(name: 'SubscriptionEvent')
570
+ SubscriptionEventItem = Shapes::StructureShape.new(name: 'SubscriptionEventItem')
571
+ SubscriptionEventType = Shapes::StringShape.new(name: 'SubscriptionEventType')
572
+ SubscriptionEventsList = Shapes::ListShape.new(name: 'SubscriptionEventsList')
544
573
  TagArn = Shapes::StringShape.new(name: 'TagArn')
545
574
  TagKey = Shapes::StringShape.new(name: 'TagKey')
546
575
  TagKeyList = Shapes::ListShape.new(name: 'TagKeyList')
@@ -707,6 +736,20 @@ module Aws::CustomerProfiles
707
736
  AppflowIntegrationWorkflowStep.add_member(:last_updated_at, Shapes::ShapeRef.new(shape: timestamp, required: true, location_name: "LastUpdatedAt"))
708
737
  AppflowIntegrationWorkflowStep.struct_class = Types::AppflowIntegrationWorkflowStep
709
738
 
739
+ AssociateStreamForSegmentsRequest.add_member(:domain_name, Shapes::ShapeRef.new(shape: name, required: true, location: "uri", location_name: "DomainName"))
740
+ AssociateStreamForSegmentsRequest.add_member(:destination_arn, Shapes::ShapeRef.new(shape: DestinationArnString, required: true, location_name: "DestinationArn"))
741
+ AssociateStreamForSegmentsRequest.add_member(:destination_role_arn, Shapes::ShapeRef.new(shape: DestinationRoleArn, required: true, location_name: "DestinationRoleArn"))
742
+ AssociateStreamForSegmentsRequest.struct_class = Types::AssociateStreamForSegmentsRequest
743
+
744
+ AssociateStreamForSegmentsResponse.struct_class = Types::AssociateStreamForSegmentsResponse
745
+
746
+ AssociatedSegment.add_member(:segment_name, Shapes::ShapeRef.new(shape: name, location_name: "SegmentName"))
747
+ AssociatedSegment.add_member(:status, Shapes::ShapeRef.new(shape: EventSubscriptionSegmentStatus, location_name: "Status"))
748
+ AssociatedSegment.add_member(:message, Shapes::ShapeRef.new(shape: string1To1000, location_name: "Message"))
749
+ AssociatedSegment.struct_class = Types::AssociatedSegment
750
+
751
+ AssociatedSegmentsList.member = Shapes::ShapeRef.new(shape: AssociatedSegment)
752
+
710
753
  AttributeDetails.add_member(:attributes, Shapes::ShapeRef.new(shape: AttributeList, required: true, location_name: "Attributes"))
711
754
  AttributeDetails.add_member(:expression, Shapes::ShapeRef.new(shape: string1To255, required: true, location_name: "Expression"))
712
755
  AttributeDetails.struct_class = Types::AttributeDetails
@@ -1241,6 +1284,13 @@ module Aws::CustomerProfiles
1241
1284
  DeleteSegmentDefinitionResponse.add_member(:message, Shapes::ShapeRef.new(shape: string1To1000, location_name: "Message"))
1242
1285
  DeleteSegmentDefinitionResponse.struct_class = Types::DeleteSegmentDefinitionResponse
1243
1286
 
1287
+ DeleteSegmentSubscriptionRequest.add_member(:domain_name, Shapes::ShapeRef.new(shape: name, required: true, location: "uri", location_name: "DomainName"))
1288
+ DeleteSegmentSubscriptionRequest.add_member(:segment_definition_name, Shapes::ShapeRef.new(shape: name, required: true, location: "uri", location_name: "SegmentDefinitionName"))
1289
+ DeleteSegmentSubscriptionRequest.struct_class = Types::DeleteSegmentSubscriptionRequest
1290
+
1291
+ DeleteSegmentSubscriptionResponse.add_member(:message, Shapes::ShapeRef.new(shape: string1To1000, location_name: "Message"))
1292
+ DeleteSegmentSubscriptionResponse.struct_class = Types::DeleteSegmentSubscriptionResponse
1293
+
1244
1294
  DeleteWorkflowRequest.add_member(:domain_name, Shapes::ShapeRef.new(shape: name, required: true, location: "uri", location_name: "DomainName"))
1245
1295
  DeleteWorkflowRequest.add_member(:workflow_id, Shapes::ShapeRef.new(shape: string1To255, required: true, location: "uri", location_name: "WorkflowId"))
1246
1296
  DeleteWorkflowRequest.struct_class = Types::DeleteWorkflowRequest
@@ -1276,6 +1326,12 @@ module Aws::CustomerProfiles
1276
1326
 
1277
1327
  DimensionList.member = Shapes::ShapeRef.new(shape: Dimension)
1278
1328
 
1329
+ DisassociateStreamForSegmentsRequest.add_member(:domain_name, Shapes::ShapeRef.new(shape: name, required: true, location: "uri", location_name: "DomainName"))
1330
+ DisassociateStreamForSegmentsRequest.struct_class = Types::DisassociateStreamForSegmentsRequest
1331
+
1332
+ DisassociateStreamForSegmentsResponse.add_member(:message, Shapes::ShapeRef.new(shape: string1To1000, location_name: "Message"))
1333
+ DisassociateStreamForSegmentsResponse.struct_class = Types::DisassociateStreamForSegmentsResponse
1334
+
1279
1335
  DiversityColumn.add_member(:name, Shapes::ShapeRef.new(shape: text, required: true, location_name: "Name"))
1280
1336
  DiversityColumn.add_member(:cap_type, Shapes::ShapeRef.new(shape: DiversityCapType, required: true, location_name: "CapType"))
1281
1337
  DiversityColumn.add_member(:target, Shapes::ShapeRef.new(shape: DiversityTargetExpression, required: true, location_name: "Target"))
@@ -1797,6 +1853,18 @@ module Aws::CustomerProfiles
1797
1853
  GetSegmentSnapshotResponse.add_member(:destination_uri, Shapes::ShapeRef.new(shape: string1To255, location_name: "DestinationUri"))
1798
1854
  GetSegmentSnapshotResponse.struct_class = Types::GetSegmentSnapshotResponse
1799
1855
 
1856
+ GetSegmentSubscriptionRequest.add_member(:domain_name, Shapes::ShapeRef.new(shape: name, required: true, location: "uri", location_name: "DomainName"))
1857
+ GetSegmentSubscriptionRequest.add_member(:segment_definition_name, Shapes::ShapeRef.new(shape: name, required: true, location: "uri", location_name: "SegmentDefinitionName"))
1858
+ GetSegmentSubscriptionRequest.struct_class = Types::GetSegmentSubscriptionRequest
1859
+
1860
+ GetSegmentSubscriptionResponse.add_member(:status, Shapes::ShapeRef.new(shape: SegmentSubscriptionStatus, location_name: "Status"))
1861
+ GetSegmentSubscriptionResponse.add_member(:message, Shapes::ShapeRef.new(shape: string1To1000, location_name: "Message"))
1862
+ GetSegmentSubscriptionResponse.add_member(:schedule_configuration, Shapes::ShapeRef.new(shape: ScheduleConfiguration, location_name: "ScheduleConfiguration"))
1863
+ GetSegmentSubscriptionResponse.add_member(:scheduled_executions, Shapes::ShapeRef.new(shape: ScheduledExecutions, location_name: "ScheduledExecutions"))
1864
+ GetSegmentSubscriptionResponse.add_member(:started_at, Shapes::ShapeRef.new(shape: timestamp, location_name: "StartedAt"))
1865
+ GetSegmentSubscriptionResponse.add_member(:last_updated_at, Shapes::ShapeRef.new(shape: timestamp, location_name: "LastUpdatedAt"))
1866
+ GetSegmentSubscriptionResponse.struct_class = Types::GetSegmentSubscriptionResponse
1867
+
1800
1868
  GetSimilarProfilesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: token, location: "querystring", location_name: "next-token"))
1801
1869
  GetSimilarProfilesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: maxSize100, location: "querystring", location_name: "max-results"))
1802
1870
  GetSimilarProfilesRequest.add_member(:domain_name, Shapes::ShapeRef.new(shape: name, required: true, location: "uri", location_name: "DomainName"))
@@ -1813,6 +1881,19 @@ module Aws::CustomerProfiles
1813
1881
  GetSimilarProfilesResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: token, location_name: "NextToken"))
1814
1882
  GetSimilarProfilesResponse.struct_class = Types::GetSimilarProfilesResponse
1815
1883
 
1884
+ GetStreamForSegmentsRequest.add_member(:domain_name, Shapes::ShapeRef.new(shape: name, required: true, location: "uri", location_name: "DomainName"))
1885
+ GetStreamForSegmentsRequest.struct_class = Types::GetStreamForSegmentsRequest
1886
+
1887
+ GetStreamForSegmentsResponse.add_member(:associated_at, Shapes::ShapeRef.new(shape: timestamp, location_name: "AssociatedAt"))
1888
+ GetStreamForSegmentsResponse.add_member(:associated_segments, Shapes::ShapeRef.new(shape: AssociatedSegmentsList, location_name: "AssociatedSegments"))
1889
+ GetStreamForSegmentsResponse.add_member(:domain_name, Shapes::ShapeRef.new(shape: name, location_name: "DomainName"))
1890
+ GetStreamForSegmentsResponse.add_member(:destination_arn, Shapes::ShapeRef.new(shape: DestinationArnString, location_name: "DestinationArn"))
1891
+ GetStreamForSegmentsResponse.add_member(:destination_role_arn, Shapes::ShapeRef.new(shape: DestinationRoleArn, location_name: "DestinationRoleArn"))
1892
+ GetStreamForSegmentsResponse.add_member(:state, Shapes::ShapeRef.new(shape: EventSubscriptionState, location_name: "State"))
1893
+ GetStreamForSegmentsResponse.add_member(:disassociated_at, Shapes::ShapeRef.new(shape: timestamp, location_name: "DisassociatedAt"))
1894
+ GetStreamForSegmentsResponse.add_member(:failure_reason, Shapes::ShapeRef.new(shape: string1To255, location_name: "FailureReason"))
1895
+ GetStreamForSegmentsResponse.struct_class = Types::GetStreamForSegmentsResponse
1896
+
1816
1897
  GetUploadJobPathRequest.add_member(:domain_name, Shapes::ShapeRef.new(shape: name, required: true, location: "uri", location_name: "DomainName"))
1817
1898
  GetUploadJobPathRequest.add_member(:job_id, Shapes::ShapeRef.new(shape: name, required: true, location: "uri", location_name: "JobId"))
1818
1899
  GetUploadJobPathRequest.struct_class = Types::GetUploadJobPathRequest
@@ -2202,6 +2283,16 @@ module Aws::CustomerProfiles
2202
2283
  ListSegmentDefinitionsResponse.add_member(:items, Shapes::ShapeRef.new(shape: SegmentDefinitionsList, location_name: "Items"))
2203
2284
  ListSegmentDefinitionsResponse.struct_class = Types::ListSegmentDefinitionsResponse
2204
2285
 
2286
+ ListSegmentSubscriptionEventsRequest.add_member(:domain_name, Shapes::ShapeRef.new(shape: name, required: true, location: "uri", location_name: "DomainName"))
2287
+ ListSegmentSubscriptionEventsRequest.add_member(:segment_definition_name, Shapes::ShapeRef.new(shape: name, required: true, location: "uri", location_name: "SegmentDefinitionName"))
2288
+ ListSegmentSubscriptionEventsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: maxSize100, location: "querystring", location_name: "max-results"))
2289
+ ListSegmentSubscriptionEventsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: token, location: "querystring", location_name: "next-token"))
2290
+ ListSegmentSubscriptionEventsRequest.struct_class = Types::ListSegmentSubscriptionEventsRequest
2291
+
2292
+ ListSegmentSubscriptionEventsResponse.add_member(:events, Shapes::ShapeRef.new(shape: SubscriptionEventsList, location_name: "Events"))
2293
+ ListSegmentSubscriptionEventsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: token, location_name: "NextToken"))
2294
+ ListSegmentSubscriptionEventsResponse.struct_class = Types::ListSegmentSubscriptionEventsResponse
2295
+
2205
2296
  ListTagsForResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: TagArn, required: true, location: "uri", location_name: "resourceArn"))
2206
2297
  ListTagsForResourceRequest.struct_class = Types::ListTagsForResourceRequest
2207
2298
 
@@ -2522,6 +2613,16 @@ module Aws::CustomerProfiles
2522
2613
  PutProfileObjectTypeResponse.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "Tags"))
2523
2614
  PutProfileObjectTypeResponse.struct_class = Types::PutProfileObjectTypeResponse
2524
2615
 
2616
+ PutSegmentSubscriptionRequest.add_member(:domain_name, Shapes::ShapeRef.new(shape: name, required: true, location: "uri", location_name: "DomainName"))
2617
+ PutSegmentSubscriptionRequest.add_member(:segment_definition_name, Shapes::ShapeRef.new(shape: name, required: true, location: "uri", location_name: "SegmentDefinitionName"))
2618
+ PutSegmentSubscriptionRequest.add_member(:schedule_configuration, Shapes::ShapeRef.new(shape: ScheduleConfiguration, location_name: "ScheduleConfiguration"))
2619
+ PutSegmentSubscriptionRequest.struct_class = Types::PutSegmentSubscriptionRequest
2620
+
2621
+ PutSegmentSubscriptionResponse.add_member(:status, Shapes::ShapeRef.new(shape: SegmentSubscriptionStatus, location_name: "Status"))
2622
+ PutSegmentSubscriptionResponse.add_member(:schedule_configuration, Shapes::ShapeRef.new(shape: ScheduleConfiguration, location_name: "ScheduleConfiguration"))
2623
+ PutSegmentSubscriptionResponse.add_member(:started_at, Shapes::ShapeRef.new(shape: timestamp, location_name: "StartedAt"))
2624
+ PutSegmentSubscriptionResponse.struct_class = Types::PutSegmentSubscriptionResponse
2625
+
2525
2626
  Range.add_member(:value, Shapes::ShapeRef.new(shape: Value, location_name: "Value"))
2526
2627
  Range.add_member(:unit, Shapes::ShapeRef.new(shape: Unit, location_name: "Unit"))
2527
2628
  Range.add_member(:value_range, Shapes::ShapeRef.new(shape: ValueRange, location_name: "ValueRange"))
@@ -2679,6 +2780,14 @@ module Aws::CustomerProfiles
2679
2780
  SalesforceSourceProperties.add_member(:include_deleted_records, Shapes::ShapeRef.new(shape: boolean, location_name: "IncludeDeletedRecords"))
2680
2781
  SalesforceSourceProperties.struct_class = Types::SalesforceSourceProperties
2681
2782
 
2783
+ ScheduleConfiguration.add_member(:interval, Shapes::ShapeRef.new(shape: IntervalValue, required: true, location_name: "Interval"))
2784
+ ScheduleConfiguration.add_member(:unit, Shapes::ShapeRef.new(shape: ScheduleConfigurationUnit, location_name: "Unit"))
2785
+ ScheduleConfiguration.struct_class = Types::ScheduleConfiguration
2786
+
2787
+ ScheduledExecutions.add_member(:next_executed_at, Shapes::ShapeRef.new(shape: timestamp, location_name: "NextExecutedAt"))
2788
+ ScheduledExecutions.add_member(:last_executed_at, Shapes::ShapeRef.new(shape: timestamp, location_name: "LastExecutedAt"))
2789
+ ScheduledExecutions.struct_class = Types::ScheduledExecutions
2790
+
2682
2791
  ScheduledTriggerProperties.add_member(:schedule_expression, Shapes::ShapeRef.new(shape: ScheduleExpression, required: true, location_name: "ScheduleExpression"))
2683
2792
  ScheduledTriggerProperties.add_member(:data_pull_mode, Shapes::ShapeRef.new(shape: DataPullMode, location_name: "DataPullMode"))
2684
2793
  ScheduledTriggerProperties.add_member(:schedule_start_time, Shapes::ShapeRef.new(shape: Date, location_name: "ScheduleStartTime"))
@@ -2782,6 +2891,14 @@ module Aws::CustomerProfiles
2782
2891
 
2783
2892
  StopUploadJobResponse.struct_class = Types::StopUploadJobResponse
2784
2893
 
2894
+ SubscriptionEventItem.add_member(:profile_id, Shapes::ShapeRef.new(shape: uuid, location_name: "ProfileId"))
2895
+ SubscriptionEventItem.add_member(:updated_at, Shapes::ShapeRef.new(shape: timestamp, location_name: "UpdatedAt"))
2896
+ SubscriptionEventItem.add_member(:event_type, Shapes::ShapeRef.new(shape: SubscriptionEventType, location_name: "EventType"))
2897
+ SubscriptionEventItem.add_member(:event, Shapes::ShapeRef.new(shape: SubscriptionEvent, location_name: "Event"))
2898
+ SubscriptionEventItem.struct_class = Types::SubscriptionEventItem
2899
+
2900
+ SubscriptionEventsList.member = Shapes::ShapeRef.new(shape: SubscriptionEventItem)
2901
+
2785
2902
  TagKeyList.member = Shapes::ShapeRef.new(shape: TagKey)
2786
2903
 
2787
2904
  TagMap.key = Shapes::ShapeRef.new(shape: TagKey)
@@ -3048,6 +3165,19 @@ module Aws::CustomerProfiles
3048
3165
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
3049
3166
  end)
3050
3167
 
3168
+ api.add_operation(:associate_stream_for_segments, Seahorse::Model::Operation.new.tap do |o|
3169
+ o.name = "AssociateStreamForSegments"
3170
+ o.http_method = "POST"
3171
+ o.http_request_uri = "/domains/{DomainName}/segment-streams"
3172
+ o.input = Shapes::ShapeRef.new(shape: AssociateStreamForSegmentsRequest)
3173
+ o.output = Shapes::ShapeRef.new(shape: AssociateStreamForSegmentsResponse)
3174
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
3175
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
3176
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
3177
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
3178
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
3179
+ end)
3180
+
3051
3181
  api.add_operation(:batch_get_calculated_attribute_for_profile, Seahorse::Model::Operation.new.tap do |o|
3052
3182
  o.name = "BatchGetCalculatedAttributeForProfile"
3053
3183
  o.http_method = "POST"
@@ -3464,6 +3594,19 @@ module Aws::CustomerProfiles
3464
3594
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
3465
3595
  end)
3466
3596
 
3597
+ api.add_operation(:delete_segment_subscription, Seahorse::Model::Operation.new.tap do |o|
3598
+ o.name = "DeleteSegmentSubscription"
3599
+ o.http_method = "DELETE"
3600
+ o.http_request_uri = "/domains/{DomainName}/segment-definitions/{SegmentDefinitionName}/subscriptions"
3601
+ o.input = Shapes::ShapeRef.new(shape: DeleteSegmentSubscriptionRequest)
3602
+ o.output = Shapes::ShapeRef.new(shape: DeleteSegmentSubscriptionResponse)
3603
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
3604
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
3605
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
3606
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
3607
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
3608
+ end)
3609
+
3467
3610
  api.add_operation(:delete_workflow, Seahorse::Model::Operation.new.tap do |o|
3468
3611
  o.name = "DeleteWorkflow"
3469
3612
  o.http_method = "DELETE"
@@ -3490,6 +3633,19 @@ module Aws::CustomerProfiles
3490
3633
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
3491
3634
  end)
3492
3635
 
3636
+ api.add_operation(:disassociate_stream_for_segments, Seahorse::Model::Operation.new.tap do |o|
3637
+ o.name = "DisassociateStreamForSegments"
3638
+ o.http_method = "DELETE"
3639
+ o.http_request_uri = "/domains/{DomainName}/segment-streams"
3640
+ o.input = Shapes::ShapeRef.new(shape: DisassociateStreamForSegmentsRequest)
3641
+ o.output = Shapes::ShapeRef.new(shape: DisassociateStreamForSegmentsResponse)
3642
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
3643
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
3644
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
3645
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
3646
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
3647
+ end)
3648
+
3493
3649
  api.add_operation(:get_auto_merging_preview, Seahorse::Model::Operation.new.tap do |o|
3494
3650
  o.name = "GetAutoMergingPreview"
3495
3651
  o.http_method = "POST"
@@ -3789,6 +3945,19 @@ module Aws::CustomerProfiles
3789
3945
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
3790
3946
  end)
3791
3947
 
3948
+ api.add_operation(:get_segment_subscription, Seahorse::Model::Operation.new.tap do |o|
3949
+ o.name = "GetSegmentSubscription"
3950
+ o.http_method = "GET"
3951
+ o.http_request_uri = "/domains/{DomainName}/segment-definitions/{SegmentDefinitionName}/subscriptions"
3952
+ o.input = Shapes::ShapeRef.new(shape: GetSegmentSubscriptionRequest)
3953
+ o.output = Shapes::ShapeRef.new(shape: GetSegmentSubscriptionResponse)
3954
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
3955
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
3956
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
3957
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
3958
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
3959
+ end)
3960
+
3792
3961
  api.add_operation(:get_similar_profiles, Seahorse::Model::Operation.new.tap do |o|
3793
3962
  o.name = "GetSimilarProfiles"
3794
3963
  o.http_method = "POST"
@@ -3808,6 +3977,19 @@ module Aws::CustomerProfiles
3808
3977
  )
3809
3978
  end)
3810
3979
 
3980
+ api.add_operation(:get_stream_for_segments, Seahorse::Model::Operation.new.tap do |o|
3981
+ o.name = "GetStreamForSegments"
3982
+ o.http_method = "GET"
3983
+ o.http_request_uri = "/domains/{DomainName}/segment-streams"
3984
+ o.input = Shapes::ShapeRef.new(shape: GetStreamForSegmentsRequest)
3985
+ o.output = Shapes::ShapeRef.new(shape: GetStreamForSegmentsResponse)
3986
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
3987
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
3988
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
3989
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
3990
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
3991
+ end)
3992
+
3811
3993
  api.add_operation(:get_upload_job, Seahorse::Model::Operation.new.tap do |o|
3812
3994
  o.name = "GetUploadJob"
3813
3995
  o.http_method = "GET"
@@ -4224,6 +4406,25 @@ module Aws::CustomerProfiles
4224
4406
  )
4225
4407
  end)
4226
4408
 
4409
+ api.add_operation(:list_segment_subscription_events, Seahorse::Model::Operation.new.tap do |o|
4410
+ o.name = "ListSegmentSubscriptionEvents"
4411
+ o.http_method = "GET"
4412
+ o.http_request_uri = "/domains/{DomainName}/segment-definitions/{SegmentDefinitionName}/subscription-events"
4413
+ o.input = Shapes::ShapeRef.new(shape: ListSegmentSubscriptionEventsRequest)
4414
+ o.output = Shapes::ShapeRef.new(shape: ListSegmentSubscriptionEventsResponse)
4415
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
4416
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
4417
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
4418
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
4419
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
4420
+ o[:pager] = Aws::Pager.new(
4421
+ limit_key: "max_results",
4422
+ tokens: {
4423
+ "next_token" => "next_token"
4424
+ }
4425
+ )
4426
+ end)
4427
+
4227
4428
  api.add_operation(:list_tags_for_resource, Seahorse::Model::Operation.new.tap do |o|
4228
4429
  o.name = "ListTagsForResource"
4229
4430
  o.http_method = "GET"
@@ -4331,6 +4532,19 @@ module Aws::CustomerProfiles
4331
4532
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
4332
4533
  end)
4333
4534
 
4535
+ api.add_operation(:put_segment_subscription, Seahorse::Model::Operation.new.tap do |o|
4536
+ o.name = "PutSegmentSubscription"
4537
+ o.http_method = "PUT"
4538
+ o.http_request_uri = "/domains/{DomainName}/segment-definitions/{SegmentDefinitionName}/subscriptions"
4539
+ o.input = Shapes::ShapeRef.new(shape: PutSegmentSubscriptionRequest)
4540
+ o.output = Shapes::ShapeRef.new(shape: PutSegmentSubscriptionResponse)
4541
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
4542
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
4543
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
4544
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
4545
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
4546
+ end)
4547
+
4334
4548
  api.add_operation(:search_profiles, Seahorse::Model::Operation.new.tap do |o|
4335
4549
  o.name = "SearchProfiles"
4336
4550
  o.http_method = "POST"