aws-sdk-customerprofiles 1.28.0 → 1.29.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -22,6 +22,9 @@ module Aws::CustomerProfiles
22
22
  AppflowIntegrationWorkflowAttributes = Shapes::StructureShape.new(name: 'AppflowIntegrationWorkflowAttributes')
23
23
  AppflowIntegrationWorkflowMetrics = Shapes::StructureShape.new(name: 'AppflowIntegrationWorkflowMetrics')
24
24
  AppflowIntegrationWorkflowStep = Shapes::StructureShape.new(name: 'AppflowIntegrationWorkflowStep')
25
+ AttributeDetails = Shapes::StructureShape.new(name: 'AttributeDetails')
26
+ AttributeItem = Shapes::StructureShape.new(name: 'AttributeItem')
27
+ AttributeList = Shapes::ListShape.new(name: 'AttributeList')
25
28
  AttributeSourceIdMap = Shapes::MapShape.new(name: 'AttributeSourceIdMap')
26
29
  Attributes = Shapes::MapShape.new(name: 'Attributes')
27
30
  AutoMerging = Shapes::StructureShape.new(name: 'AutoMerging')
@@ -30,11 +33,16 @@ module Aws::CustomerProfiles
30
33
  Batches = Shapes::ListShape.new(name: 'Batches')
31
34
  BucketName = Shapes::StringShape.new(name: 'BucketName')
32
35
  BucketPrefix = Shapes::StringShape.new(name: 'BucketPrefix')
36
+ CalculatedAttributeDefinitionsList = Shapes::ListShape.new(name: 'CalculatedAttributeDefinitionsList')
37
+ CalculatedAttributesForProfileList = Shapes::ListShape.new(name: 'CalculatedAttributesForProfileList')
38
+ Conditions = Shapes::StructureShape.new(name: 'Conditions')
33
39
  ConflictResolution = Shapes::StructureShape.new(name: 'ConflictResolution')
34
40
  ConflictResolvingModel = Shapes::StringShape.new(name: 'ConflictResolvingModel')
35
41
  ConnectorOperator = Shapes::StructureShape.new(name: 'ConnectorOperator')
36
42
  ConnectorProfileName = Shapes::StringShape.new(name: 'ConnectorProfileName')
37
43
  Consolidation = Shapes::StructureShape.new(name: 'Consolidation')
44
+ CreateCalculatedAttributeDefinitionRequest = Shapes::StructureShape.new(name: 'CreateCalculatedAttributeDefinitionRequest')
45
+ CreateCalculatedAttributeDefinitionResponse = Shapes::StructureShape.new(name: 'CreateCalculatedAttributeDefinitionResponse')
38
46
  CreateDomainRequest = Shapes::StructureShape.new(name: 'CreateDomainRequest')
39
47
  CreateDomainResponse = Shapes::StructureShape.new(name: 'CreateDomainResponse')
40
48
  CreateIntegrationWorkflowRequest = Shapes::StructureShape.new(name: 'CreateIntegrationWorkflowRequest')
@@ -44,6 +52,8 @@ module Aws::CustomerProfiles
44
52
  DataPullMode = Shapes::StringShape.new(name: 'DataPullMode')
45
53
  Date = Shapes::TimestampShape.new(name: 'Date')
46
54
  DatetimeTypeFieldName = Shapes::StringShape.new(name: 'DatetimeTypeFieldName')
55
+ DeleteCalculatedAttributeDefinitionRequest = Shapes::StructureShape.new(name: 'DeleteCalculatedAttributeDefinitionRequest')
56
+ DeleteCalculatedAttributeDefinitionResponse = Shapes::StructureShape.new(name: 'DeleteCalculatedAttributeDefinitionResponse')
47
57
  DeleteDomainRequest = Shapes::StructureShape.new(name: 'DeleteDomainRequest')
48
58
  DeleteDomainResponse = Shapes::StructureShape.new(name: 'DeleteDomainResponse')
49
59
  DeleteIntegrationRequest = Shapes::StructureShape.new(name: 'DeleteIntegrationRequest')
@@ -76,6 +86,10 @@ module Aws::CustomerProfiles
76
86
  Gender = Shapes::StringShape.new(name: 'Gender')
77
87
  GetAutoMergingPreviewRequest = Shapes::StructureShape.new(name: 'GetAutoMergingPreviewRequest')
78
88
  GetAutoMergingPreviewResponse = Shapes::StructureShape.new(name: 'GetAutoMergingPreviewResponse')
89
+ GetCalculatedAttributeDefinitionRequest = Shapes::StructureShape.new(name: 'GetCalculatedAttributeDefinitionRequest')
90
+ GetCalculatedAttributeDefinitionResponse = Shapes::StructureShape.new(name: 'GetCalculatedAttributeDefinitionResponse')
91
+ GetCalculatedAttributeForProfileRequest = Shapes::StructureShape.new(name: 'GetCalculatedAttributeForProfileRequest')
92
+ GetCalculatedAttributeForProfileResponse = Shapes::StructureShape.new(name: 'GetCalculatedAttributeForProfileResponse')
79
93
  GetDomainRequest = Shapes::StructureShape.new(name: 'GetDomainRequest')
80
94
  GetDomainResponse = Shapes::StructureShape.new(name: 'GetDomainResponse')
81
95
  GetIdentityResolutionJobRequest = Shapes::StructureShape.new(name: 'GetIdentityResolutionJobRequest')
@@ -107,6 +121,12 @@ module Aws::CustomerProfiles
107
121
  KmsArn = Shapes::StringShape.new(name: 'KmsArn')
108
122
  ListAccountIntegrationsRequest = Shapes::StructureShape.new(name: 'ListAccountIntegrationsRequest')
109
123
  ListAccountIntegrationsResponse = Shapes::StructureShape.new(name: 'ListAccountIntegrationsResponse')
124
+ ListCalculatedAttributeDefinitionItem = Shapes::StructureShape.new(name: 'ListCalculatedAttributeDefinitionItem')
125
+ ListCalculatedAttributeDefinitionsRequest = Shapes::StructureShape.new(name: 'ListCalculatedAttributeDefinitionsRequest')
126
+ ListCalculatedAttributeDefinitionsResponse = Shapes::StructureShape.new(name: 'ListCalculatedAttributeDefinitionsResponse')
127
+ ListCalculatedAttributeForProfileItem = Shapes::StructureShape.new(name: 'ListCalculatedAttributeForProfileItem')
128
+ ListCalculatedAttributesForProfileRequest = Shapes::StructureShape.new(name: 'ListCalculatedAttributesForProfileRequest')
129
+ ListCalculatedAttributesForProfileResponse = Shapes::StructureShape.new(name: 'ListCalculatedAttributesForProfileResponse')
110
130
  ListDomainItem = Shapes::StructureShape.new(name: 'ListDomainItem')
111
131
  ListDomainsRequest = Shapes::StructureShape.new(name: 'ListDomainsRequest')
112
132
  ListDomainsResponse = Shapes::StructureShape.new(name: 'ListDomainsResponse')
@@ -140,11 +160,13 @@ module Aws::CustomerProfiles
140
160
  MergeProfilesRequest = Shapes::StructureShape.new(name: 'MergeProfilesRequest')
141
161
  MergeProfilesResponse = Shapes::StructureShape.new(name: 'MergeProfilesResponse')
142
162
  Object = Shapes::StringShape.new(name: 'Object')
163
+ ObjectCount = Shapes::IntegerShape.new(name: 'ObjectCount')
143
164
  ObjectFilter = Shapes::StructureShape.new(name: 'ObjectFilter')
144
165
  ObjectTypeField = Shapes::StructureShape.new(name: 'ObjectTypeField')
145
166
  ObjectTypeKey = Shapes::StructureShape.new(name: 'ObjectTypeKey')
146
167
  ObjectTypeKeyList = Shapes::ListShape.new(name: 'ObjectTypeKeyList')
147
168
  ObjectTypeNames = Shapes::MapShape.new(name: 'ObjectTypeNames')
169
+ Operator = Shapes::StringShape.new(name: 'Operator')
148
170
  OperatorPropertiesKeys = Shapes::StringShape.new(name: 'OperatorPropertiesKeys')
149
171
  PartyType = Shapes::StringShape.new(name: 'PartyType')
150
172
  Profile = Shapes::StructureShape.new(name: 'Profile')
@@ -161,6 +183,7 @@ module Aws::CustomerProfiles
161
183
  PutProfileObjectResponse = Shapes::StructureShape.new(name: 'PutProfileObjectResponse')
162
184
  PutProfileObjectTypeRequest = Shapes::StructureShape.new(name: 'PutProfileObjectTypeRequest')
163
185
  PutProfileObjectTypeResponse = Shapes::StructureShape.new(name: 'PutProfileObjectTypeResponse')
186
+ Range = Shapes::StructureShape.new(name: 'Range')
164
187
  ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
165
188
  RoleArn = Shapes::StringShape.new(name: 'RoleArn')
166
189
  S3ConnectorOperator = Shapes::StringShape.new(name: 'S3ConnectorOperator')
@@ -182,6 +205,7 @@ module Aws::CustomerProfiles
182
205
  SourceFlowConfig = Shapes::StructureShape.new(name: 'SourceFlowConfig')
183
206
  StandardIdentifier = Shapes::StringShape.new(name: 'StandardIdentifier')
184
207
  StandardIdentifierList = Shapes::ListShape.new(name: 'StandardIdentifierList')
208
+ Statistic = Shapes::StringShape.new(name: 'Statistic')
185
209
  Status = Shapes::StringShape.new(name: 'Status')
186
210
  TagArn = Shapes::StringShape.new(name: 'TagArn')
187
211
  TagKey = Shapes::StringShape.new(name: 'TagKey')
@@ -194,19 +218,24 @@ module Aws::CustomerProfiles
194
218
  TaskPropertiesMap = Shapes::MapShape.new(name: 'TaskPropertiesMap')
195
219
  TaskType = Shapes::StringShape.new(name: 'TaskType')
196
220
  Tasks = Shapes::ListShape.new(name: 'Tasks')
221
+ Threshold = Shapes::StructureShape.new(name: 'Threshold')
197
222
  ThrottlingException = Shapes::StructureShape.new(name: 'ThrottlingException')
198
223
  Timezone = Shapes::StringShape.new(name: 'Timezone')
199
224
  TriggerConfig = Shapes::StructureShape.new(name: 'TriggerConfig')
200
225
  TriggerProperties = Shapes::StructureShape.new(name: 'TriggerProperties')
201
226
  TriggerType = Shapes::StringShape.new(name: 'TriggerType')
227
+ Unit = Shapes::StringShape.new(name: 'Unit')
202
228
  UntagResourceRequest = Shapes::StructureShape.new(name: 'UntagResourceRequest')
203
229
  UntagResourceResponse = Shapes::StructureShape.new(name: 'UntagResourceResponse')
204
230
  UpdateAddress = Shapes::StructureShape.new(name: 'UpdateAddress')
205
231
  UpdateAttributes = Shapes::MapShape.new(name: 'UpdateAttributes')
232
+ UpdateCalculatedAttributeDefinitionRequest = Shapes::StructureShape.new(name: 'UpdateCalculatedAttributeDefinitionRequest')
233
+ UpdateCalculatedAttributeDefinitionResponse = Shapes::StructureShape.new(name: 'UpdateCalculatedAttributeDefinitionResponse')
206
234
  UpdateDomainRequest = Shapes::StructureShape.new(name: 'UpdateDomainRequest')
207
235
  UpdateDomainResponse = Shapes::StructureShape.new(name: 'UpdateDomainResponse')
208
236
  UpdateProfileRequest = Shapes::StructureShape.new(name: 'UpdateProfileRequest')
209
237
  UpdateProfileResponse = Shapes::StructureShape.new(name: 'UpdateProfileResponse')
238
+ Value = Shapes::IntegerShape.new(name: 'Value')
210
239
  WorkflowAttributes = Shapes::StructureShape.new(name: 'WorkflowAttributes')
211
240
  WorkflowList = Shapes::ListShape.new(name: 'WorkflowList')
212
241
  WorkflowMetrics = Shapes::StructureShape.new(name: 'WorkflowMetrics')
@@ -216,7 +245,9 @@ module Aws::CustomerProfiles
216
245
  ZendeskConnectorOperator = Shapes::StringShape.new(name: 'ZendeskConnectorOperator')
217
246
  ZendeskSourceProperties = Shapes::StructureShape.new(name: 'ZendeskSourceProperties')
218
247
  additionalSearchKeysList = Shapes::ListShape.new(name: 'additionalSearchKeysList')
248
+ attributeName = Shapes::StringShape.new(name: 'attributeName')
219
249
  boolean = Shapes::BooleanShape.new(name: 'boolean')
250
+ displayName = Shapes::StringShape.new(name: 'displayName')
220
251
  encryptionKey = Shapes::StringShape.new(name: 'encryptionKey')
221
252
  expirationDaysInteger = Shapes::IntegerShape.new(name: 'expirationDaysInteger')
222
253
  foundByList = Shapes::ListShape.new(name: 'foundByList')
@@ -297,6 +328,15 @@ module Aws::CustomerProfiles
297
328
  AppflowIntegrationWorkflowStep.add_member(:last_updated_at, Shapes::ShapeRef.new(shape: timestamp, required: true, location_name: "LastUpdatedAt"))
298
329
  AppflowIntegrationWorkflowStep.struct_class = Types::AppflowIntegrationWorkflowStep
299
330
 
331
+ AttributeDetails.add_member(:attributes, Shapes::ShapeRef.new(shape: AttributeList, required: true, location_name: "Attributes"))
332
+ AttributeDetails.add_member(:expression, Shapes::ShapeRef.new(shape: string1To255, required: true, location_name: "Expression"))
333
+ AttributeDetails.struct_class = Types::AttributeDetails
334
+
335
+ AttributeItem.add_member(:name, Shapes::ShapeRef.new(shape: attributeName, required: true, location_name: "Name"))
336
+ AttributeItem.struct_class = Types::AttributeItem
337
+
338
+ AttributeList.member = Shapes::ShapeRef.new(shape: AttributeItem)
339
+
300
340
  AttributeSourceIdMap.key = Shapes::ShapeRef.new(shape: string1To255)
301
341
  AttributeSourceIdMap.value = Shapes::ShapeRef.new(shape: uuid)
302
342
 
@@ -318,6 +358,15 @@ module Aws::CustomerProfiles
318
358
 
319
359
  Batches.member = Shapes::ShapeRef.new(shape: Batch)
320
360
 
361
+ CalculatedAttributeDefinitionsList.member = Shapes::ShapeRef.new(shape: ListCalculatedAttributeDefinitionItem)
362
+
363
+ CalculatedAttributesForProfileList.member = Shapes::ShapeRef.new(shape: ListCalculatedAttributeForProfileItem)
364
+
365
+ Conditions.add_member(:range, Shapes::ShapeRef.new(shape: Range, location_name: "Range"))
366
+ Conditions.add_member(:object_count, Shapes::ShapeRef.new(shape: ObjectCount, location_name: "ObjectCount"))
367
+ Conditions.add_member(:threshold, Shapes::ShapeRef.new(shape: Threshold, location_name: "Threshold"))
368
+ Conditions.struct_class = Types::Conditions
369
+
321
370
  ConflictResolution.add_member(:conflict_resolving_model, Shapes::ShapeRef.new(shape: ConflictResolvingModel, required: true, location_name: "ConflictResolvingModel"))
322
371
  ConflictResolution.add_member(:source_name, Shapes::ShapeRef.new(shape: string1To255, location_name: "SourceName"))
323
372
  ConflictResolution.struct_class = Types::ConflictResolution
@@ -332,6 +381,27 @@ module Aws::CustomerProfiles
332
381
  Consolidation.add_member(:matching_attributes_list, Shapes::ShapeRef.new(shape: MatchingAttributesList, required: true, location_name: "MatchingAttributesList"))
333
382
  Consolidation.struct_class = Types::Consolidation
334
383
 
384
+ CreateCalculatedAttributeDefinitionRequest.add_member(:domain_name, Shapes::ShapeRef.new(shape: name, required: true, location: "uri", location_name: "DomainName"))
385
+ CreateCalculatedAttributeDefinitionRequest.add_member(:calculated_attribute_name, Shapes::ShapeRef.new(shape: typeName, required: true, location: "uri", location_name: "CalculatedAttributeName"))
386
+ CreateCalculatedAttributeDefinitionRequest.add_member(:display_name, Shapes::ShapeRef.new(shape: displayName, location_name: "DisplayName"))
387
+ CreateCalculatedAttributeDefinitionRequest.add_member(:description, Shapes::ShapeRef.new(shape: text, location_name: "Description"))
388
+ CreateCalculatedAttributeDefinitionRequest.add_member(:attribute_details, Shapes::ShapeRef.new(shape: AttributeDetails, required: true, location_name: "AttributeDetails"))
389
+ CreateCalculatedAttributeDefinitionRequest.add_member(:conditions, Shapes::ShapeRef.new(shape: Conditions, location_name: "Conditions"))
390
+ CreateCalculatedAttributeDefinitionRequest.add_member(:statistic, Shapes::ShapeRef.new(shape: Statistic, required: true, location_name: "Statistic"))
391
+ CreateCalculatedAttributeDefinitionRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "Tags"))
392
+ CreateCalculatedAttributeDefinitionRequest.struct_class = Types::CreateCalculatedAttributeDefinitionRequest
393
+
394
+ CreateCalculatedAttributeDefinitionResponse.add_member(:calculated_attribute_name, Shapes::ShapeRef.new(shape: typeName, location_name: "CalculatedAttributeName"))
395
+ CreateCalculatedAttributeDefinitionResponse.add_member(:display_name, Shapes::ShapeRef.new(shape: displayName, location_name: "DisplayName"))
396
+ CreateCalculatedAttributeDefinitionResponse.add_member(:description, Shapes::ShapeRef.new(shape: text, location_name: "Description"))
397
+ CreateCalculatedAttributeDefinitionResponse.add_member(:attribute_details, Shapes::ShapeRef.new(shape: AttributeDetails, location_name: "AttributeDetails"))
398
+ CreateCalculatedAttributeDefinitionResponse.add_member(:conditions, Shapes::ShapeRef.new(shape: Conditions, location_name: "Conditions"))
399
+ CreateCalculatedAttributeDefinitionResponse.add_member(:statistic, Shapes::ShapeRef.new(shape: Statistic, location_name: "Statistic"))
400
+ CreateCalculatedAttributeDefinitionResponse.add_member(:created_at, Shapes::ShapeRef.new(shape: timestamp, location_name: "CreatedAt"))
401
+ CreateCalculatedAttributeDefinitionResponse.add_member(:last_updated_at, Shapes::ShapeRef.new(shape: timestamp, location_name: "LastUpdatedAt"))
402
+ CreateCalculatedAttributeDefinitionResponse.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "Tags"))
403
+ CreateCalculatedAttributeDefinitionResponse.struct_class = Types::CreateCalculatedAttributeDefinitionResponse
404
+
335
405
  CreateDomainRequest.add_member(:domain_name, Shapes::ShapeRef.new(shape: name, required: true, location: "uri", location_name: "DomainName"))
336
406
  CreateDomainRequest.add_member(:default_expiration_days, Shapes::ShapeRef.new(shape: expirationDaysInteger, required: true, location_name: "DefaultExpirationDays"))
337
407
  CreateDomainRequest.add_member(:default_encryption_key, Shapes::ShapeRef.new(shape: encryptionKey, location_name: "DefaultEncryptionKey"))
@@ -391,6 +461,12 @@ module Aws::CustomerProfiles
391
461
  CreateProfileResponse.add_member(:profile_id, Shapes::ShapeRef.new(shape: uuid, required: true, location_name: "ProfileId"))
392
462
  CreateProfileResponse.struct_class = Types::CreateProfileResponse
393
463
 
464
+ DeleteCalculatedAttributeDefinitionRequest.add_member(:domain_name, Shapes::ShapeRef.new(shape: name, required: true, location: "uri", location_name: "DomainName"))
465
+ DeleteCalculatedAttributeDefinitionRequest.add_member(:calculated_attribute_name, Shapes::ShapeRef.new(shape: typeName, required: true, location: "uri", location_name: "CalculatedAttributeName"))
466
+ DeleteCalculatedAttributeDefinitionRequest.struct_class = Types::DeleteCalculatedAttributeDefinitionRequest
467
+
468
+ DeleteCalculatedAttributeDefinitionResponse.struct_class = Types::DeleteCalculatedAttributeDefinitionResponse
469
+
394
470
  DeleteDomainRequest.add_member(:domain_name, Shapes::ShapeRef.new(shape: name, required: true, location: "uri", location_name: "DomainName"))
395
471
  DeleteDomainRequest.struct_class = Types::DeleteDomainRequest
396
472
 
@@ -508,6 +584,32 @@ module Aws::CustomerProfiles
508
584
  GetAutoMergingPreviewResponse.add_member(:number_of_profiles_will_be_merged, Shapes::ShapeRef.new(shape: long, location_name: "NumberOfProfilesWillBeMerged"))
509
585
  GetAutoMergingPreviewResponse.struct_class = Types::GetAutoMergingPreviewResponse
510
586
 
587
+ GetCalculatedAttributeDefinitionRequest.add_member(:domain_name, Shapes::ShapeRef.new(shape: name, required: true, location: "uri", location_name: "DomainName"))
588
+ GetCalculatedAttributeDefinitionRequest.add_member(:calculated_attribute_name, Shapes::ShapeRef.new(shape: typeName, required: true, location: "uri", location_name: "CalculatedAttributeName"))
589
+ GetCalculatedAttributeDefinitionRequest.struct_class = Types::GetCalculatedAttributeDefinitionRequest
590
+
591
+ GetCalculatedAttributeDefinitionResponse.add_member(:calculated_attribute_name, Shapes::ShapeRef.new(shape: typeName, location_name: "CalculatedAttributeName"))
592
+ GetCalculatedAttributeDefinitionResponse.add_member(:display_name, Shapes::ShapeRef.new(shape: displayName, location_name: "DisplayName"))
593
+ GetCalculatedAttributeDefinitionResponse.add_member(:description, Shapes::ShapeRef.new(shape: text, location_name: "Description"))
594
+ GetCalculatedAttributeDefinitionResponse.add_member(:created_at, Shapes::ShapeRef.new(shape: timestamp, location_name: "CreatedAt"))
595
+ GetCalculatedAttributeDefinitionResponse.add_member(:last_updated_at, Shapes::ShapeRef.new(shape: timestamp, location_name: "LastUpdatedAt"))
596
+ GetCalculatedAttributeDefinitionResponse.add_member(:statistic, Shapes::ShapeRef.new(shape: Statistic, location_name: "Statistic"))
597
+ GetCalculatedAttributeDefinitionResponse.add_member(:conditions, Shapes::ShapeRef.new(shape: Conditions, location_name: "Conditions"))
598
+ GetCalculatedAttributeDefinitionResponse.add_member(:attribute_details, Shapes::ShapeRef.new(shape: AttributeDetails, location_name: "AttributeDetails"))
599
+ GetCalculatedAttributeDefinitionResponse.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "Tags"))
600
+ GetCalculatedAttributeDefinitionResponse.struct_class = Types::GetCalculatedAttributeDefinitionResponse
601
+
602
+ GetCalculatedAttributeForProfileRequest.add_member(:domain_name, Shapes::ShapeRef.new(shape: name, required: true, location: "uri", location_name: "DomainName"))
603
+ GetCalculatedAttributeForProfileRequest.add_member(:profile_id, Shapes::ShapeRef.new(shape: uuid, required: true, location: "uri", location_name: "ProfileId"))
604
+ GetCalculatedAttributeForProfileRequest.add_member(:calculated_attribute_name, Shapes::ShapeRef.new(shape: typeName, required: true, location: "uri", location_name: "CalculatedAttributeName"))
605
+ GetCalculatedAttributeForProfileRequest.struct_class = Types::GetCalculatedAttributeForProfileRequest
606
+
607
+ GetCalculatedAttributeForProfileResponse.add_member(:calculated_attribute_name, Shapes::ShapeRef.new(shape: typeName, location_name: "CalculatedAttributeName"))
608
+ GetCalculatedAttributeForProfileResponse.add_member(:display_name, Shapes::ShapeRef.new(shape: displayName, location_name: "DisplayName"))
609
+ GetCalculatedAttributeForProfileResponse.add_member(:is_data_partial, Shapes::ShapeRef.new(shape: string1To255, location_name: "IsDataPartial"))
610
+ GetCalculatedAttributeForProfileResponse.add_member(:value, Shapes::ShapeRef.new(shape: string1To255, location_name: "Value"))
611
+ GetCalculatedAttributeForProfileResponse.struct_class = Types::GetCalculatedAttributeForProfileResponse
612
+
511
613
  GetDomainRequest.add_member(:domain_name, Shapes::ShapeRef.new(shape: name, required: true, location: "uri", location_name: "DomainName"))
512
614
  GetDomainRequest.struct_class = Types::GetDomainRequest
513
615
 
@@ -666,6 +768,39 @@ module Aws::CustomerProfiles
666
768
  ListAccountIntegrationsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: token, location_name: "NextToken"))
667
769
  ListAccountIntegrationsResponse.struct_class = Types::ListAccountIntegrationsResponse
668
770
 
771
+ ListCalculatedAttributeDefinitionItem.add_member(:calculated_attribute_name, Shapes::ShapeRef.new(shape: typeName, location_name: "CalculatedAttributeName"))
772
+ ListCalculatedAttributeDefinitionItem.add_member(:display_name, Shapes::ShapeRef.new(shape: displayName, location_name: "DisplayName"))
773
+ ListCalculatedAttributeDefinitionItem.add_member(:description, Shapes::ShapeRef.new(shape: text, location_name: "Description"))
774
+ ListCalculatedAttributeDefinitionItem.add_member(:created_at, Shapes::ShapeRef.new(shape: timestamp, location_name: "CreatedAt"))
775
+ ListCalculatedAttributeDefinitionItem.add_member(:last_updated_at, Shapes::ShapeRef.new(shape: timestamp, location_name: "LastUpdatedAt"))
776
+ ListCalculatedAttributeDefinitionItem.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "Tags"))
777
+ ListCalculatedAttributeDefinitionItem.struct_class = Types::ListCalculatedAttributeDefinitionItem
778
+
779
+ ListCalculatedAttributeDefinitionsRequest.add_member(:domain_name, Shapes::ShapeRef.new(shape: name, required: true, location: "uri", location_name: "DomainName"))
780
+ ListCalculatedAttributeDefinitionsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: token, location: "querystring", location_name: "next-token"))
781
+ ListCalculatedAttributeDefinitionsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: maxSize100, location: "querystring", location_name: "max-results"))
782
+ ListCalculatedAttributeDefinitionsRequest.struct_class = Types::ListCalculatedAttributeDefinitionsRequest
783
+
784
+ ListCalculatedAttributeDefinitionsResponse.add_member(:items, Shapes::ShapeRef.new(shape: CalculatedAttributeDefinitionsList, location_name: "Items"))
785
+ ListCalculatedAttributeDefinitionsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: token, location_name: "NextToken"))
786
+ ListCalculatedAttributeDefinitionsResponse.struct_class = Types::ListCalculatedAttributeDefinitionsResponse
787
+
788
+ ListCalculatedAttributeForProfileItem.add_member(:calculated_attribute_name, Shapes::ShapeRef.new(shape: typeName, location_name: "CalculatedAttributeName"))
789
+ ListCalculatedAttributeForProfileItem.add_member(:display_name, Shapes::ShapeRef.new(shape: displayName, location_name: "DisplayName"))
790
+ ListCalculatedAttributeForProfileItem.add_member(:is_data_partial, Shapes::ShapeRef.new(shape: string1To255, location_name: "IsDataPartial"))
791
+ ListCalculatedAttributeForProfileItem.add_member(:value, Shapes::ShapeRef.new(shape: string1To255, location_name: "Value"))
792
+ ListCalculatedAttributeForProfileItem.struct_class = Types::ListCalculatedAttributeForProfileItem
793
+
794
+ ListCalculatedAttributesForProfileRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: token, location: "querystring", location_name: "next-token"))
795
+ ListCalculatedAttributesForProfileRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: maxSize100, location: "querystring", location_name: "max-results"))
796
+ ListCalculatedAttributesForProfileRequest.add_member(:domain_name, Shapes::ShapeRef.new(shape: name, required: true, location: "uri", location_name: "DomainName"))
797
+ ListCalculatedAttributesForProfileRequest.add_member(:profile_id, Shapes::ShapeRef.new(shape: uuid, required: true, location: "uri", location_name: "ProfileId"))
798
+ ListCalculatedAttributesForProfileRequest.struct_class = Types::ListCalculatedAttributesForProfileRequest
799
+
800
+ ListCalculatedAttributesForProfileResponse.add_member(:items, Shapes::ShapeRef.new(shape: CalculatedAttributesForProfileList, location_name: "Items"))
801
+ ListCalculatedAttributesForProfileResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: token, location_name: "NextToken"))
802
+ ListCalculatedAttributesForProfileResponse.struct_class = Types::ListCalculatedAttributesForProfileResponse
803
+
669
804
  ListDomainItem.add_member(:domain_name, Shapes::ShapeRef.new(shape: name, required: true, location_name: "DomainName"))
670
805
  ListDomainItem.add_member(:created_at, Shapes::ShapeRef.new(shape: timestamp, required: true, location_name: "CreatedAt"))
671
806
  ListDomainItem.add_member(:last_updated_at, Shapes::ShapeRef.new(shape: timestamp, required: true, location_name: "LastUpdatedAt"))
@@ -929,6 +1064,10 @@ module Aws::CustomerProfiles
929
1064
  PutProfileObjectTypeResponse.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "Tags"))
930
1065
  PutProfileObjectTypeResponse.struct_class = Types::PutProfileObjectTypeResponse
931
1066
 
1067
+ Range.add_member(:value, Shapes::ShapeRef.new(shape: Value, required: true, location_name: "Value"))
1068
+ Range.add_member(:unit, Shapes::ShapeRef.new(shape: Unit, required: true, location_name: "Unit"))
1069
+ Range.struct_class = Types::Range
1070
+
932
1071
  ResourceNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: message, location_name: "Message"))
933
1072
  ResourceNotFoundException.struct_class = Types::ResourceNotFoundException
934
1073
 
@@ -1014,6 +1153,10 @@ module Aws::CustomerProfiles
1014
1153
 
1015
1154
  Tasks.member = Shapes::ShapeRef.new(shape: Task)
1016
1155
 
1156
+ Threshold.add_member(:value, Shapes::ShapeRef.new(shape: string1To255, required: true, location_name: "Value"))
1157
+ Threshold.add_member(:operator, Shapes::ShapeRef.new(shape: Operator, required: true, location_name: "Operator"))
1158
+ Threshold.struct_class = Types::Threshold
1159
+
1017
1160
  ThrottlingException.add_member(:message, Shapes::ShapeRef.new(shape: message, location_name: "Message"))
1018
1161
  ThrottlingException.struct_class = Types::ThrottlingException
1019
1162
 
@@ -1045,6 +1188,24 @@ module Aws::CustomerProfiles
1045
1188
  UpdateAttributes.key = Shapes::ShapeRef.new(shape: string1To255)
1046
1189
  UpdateAttributes.value = Shapes::ShapeRef.new(shape: string0To255)
1047
1190
 
1191
+ UpdateCalculatedAttributeDefinitionRequest.add_member(:domain_name, Shapes::ShapeRef.new(shape: name, required: true, location: "uri", location_name: "DomainName"))
1192
+ UpdateCalculatedAttributeDefinitionRequest.add_member(:calculated_attribute_name, Shapes::ShapeRef.new(shape: typeName, required: true, location: "uri", location_name: "CalculatedAttributeName"))
1193
+ UpdateCalculatedAttributeDefinitionRequest.add_member(:display_name, Shapes::ShapeRef.new(shape: displayName, location_name: "DisplayName"))
1194
+ UpdateCalculatedAttributeDefinitionRequest.add_member(:description, Shapes::ShapeRef.new(shape: text, location_name: "Description"))
1195
+ UpdateCalculatedAttributeDefinitionRequest.add_member(:conditions, Shapes::ShapeRef.new(shape: Conditions, location_name: "Conditions"))
1196
+ UpdateCalculatedAttributeDefinitionRequest.struct_class = Types::UpdateCalculatedAttributeDefinitionRequest
1197
+
1198
+ UpdateCalculatedAttributeDefinitionResponse.add_member(:calculated_attribute_name, Shapes::ShapeRef.new(shape: typeName, location_name: "CalculatedAttributeName"))
1199
+ UpdateCalculatedAttributeDefinitionResponse.add_member(:display_name, Shapes::ShapeRef.new(shape: displayName, location_name: "DisplayName"))
1200
+ UpdateCalculatedAttributeDefinitionResponse.add_member(:description, Shapes::ShapeRef.new(shape: text, location_name: "Description"))
1201
+ UpdateCalculatedAttributeDefinitionResponse.add_member(:created_at, Shapes::ShapeRef.new(shape: timestamp, location_name: "CreatedAt"))
1202
+ UpdateCalculatedAttributeDefinitionResponse.add_member(:last_updated_at, Shapes::ShapeRef.new(shape: timestamp, location_name: "LastUpdatedAt"))
1203
+ UpdateCalculatedAttributeDefinitionResponse.add_member(:statistic, Shapes::ShapeRef.new(shape: Statistic, location_name: "Statistic"))
1204
+ UpdateCalculatedAttributeDefinitionResponse.add_member(:conditions, Shapes::ShapeRef.new(shape: Conditions, location_name: "Conditions"))
1205
+ UpdateCalculatedAttributeDefinitionResponse.add_member(:attribute_details, Shapes::ShapeRef.new(shape: AttributeDetails, location_name: "AttributeDetails"))
1206
+ UpdateCalculatedAttributeDefinitionResponse.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "Tags"))
1207
+ UpdateCalculatedAttributeDefinitionResponse.struct_class = Types::UpdateCalculatedAttributeDefinitionResponse
1208
+
1048
1209
  UpdateDomainRequest.add_member(:domain_name, Shapes::ShapeRef.new(shape: name, required: true, location: "uri", location_name: "DomainName"))
1049
1210
  UpdateDomainRequest.add_member(:default_expiration_days, Shapes::ShapeRef.new(shape: expirationDaysInteger, location_name: "DefaultExpirationDays"))
1050
1211
  UpdateDomainRequest.add_member(:default_encryption_key, Shapes::ShapeRef.new(shape: encryptionKey, location_name: "DefaultEncryptionKey"))
@@ -1147,6 +1308,19 @@ module Aws::CustomerProfiles
1147
1308
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1148
1309
  end)
1149
1310
 
1311
+ api.add_operation(:create_calculated_attribute_definition, Seahorse::Model::Operation.new.tap do |o|
1312
+ o.name = "CreateCalculatedAttributeDefinition"
1313
+ o.http_method = "POST"
1314
+ o.http_request_uri = "/domains/{DomainName}/calculated-attributes/{CalculatedAttributeName}"
1315
+ o.input = Shapes::ShapeRef.new(shape: CreateCalculatedAttributeDefinitionRequest)
1316
+ o.output = Shapes::ShapeRef.new(shape: CreateCalculatedAttributeDefinitionResponse)
1317
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
1318
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1319
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1320
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1321
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1322
+ end)
1323
+
1150
1324
  api.add_operation(:create_domain, Seahorse::Model::Operation.new.tap do |o|
1151
1325
  o.name = "CreateDomain"
1152
1326
  o.http_method = "POST"
@@ -1186,6 +1360,19 @@ module Aws::CustomerProfiles
1186
1360
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1187
1361
  end)
1188
1362
 
1363
+ api.add_operation(:delete_calculated_attribute_definition, Seahorse::Model::Operation.new.tap do |o|
1364
+ o.name = "DeleteCalculatedAttributeDefinition"
1365
+ o.http_method = "DELETE"
1366
+ o.http_request_uri = "/domains/{DomainName}/calculated-attributes/{CalculatedAttributeName}"
1367
+ o.input = Shapes::ShapeRef.new(shape: DeleteCalculatedAttributeDefinitionRequest)
1368
+ o.output = Shapes::ShapeRef.new(shape: DeleteCalculatedAttributeDefinitionResponse)
1369
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
1370
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1371
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1372
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1373
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1374
+ end)
1375
+
1189
1376
  api.add_operation(:delete_domain, Seahorse::Model::Operation.new.tap do |o|
1190
1377
  o.name = "DeleteDomain"
1191
1378
  o.http_method = "DELETE"
@@ -1290,6 +1477,32 @@ module Aws::CustomerProfiles
1290
1477
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1291
1478
  end)
1292
1479
 
1480
+ api.add_operation(:get_calculated_attribute_definition, Seahorse::Model::Operation.new.tap do |o|
1481
+ o.name = "GetCalculatedAttributeDefinition"
1482
+ o.http_method = "GET"
1483
+ o.http_request_uri = "/domains/{DomainName}/calculated-attributes/{CalculatedAttributeName}"
1484
+ o.input = Shapes::ShapeRef.new(shape: GetCalculatedAttributeDefinitionRequest)
1485
+ o.output = Shapes::ShapeRef.new(shape: GetCalculatedAttributeDefinitionResponse)
1486
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
1487
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1488
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1489
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1490
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1491
+ end)
1492
+
1493
+ api.add_operation(:get_calculated_attribute_for_profile, Seahorse::Model::Operation.new.tap do |o|
1494
+ o.name = "GetCalculatedAttributeForProfile"
1495
+ o.http_method = "GET"
1496
+ o.http_request_uri = "/domains/{DomainName}/profile/{ProfileId}/calculated-attributes/{CalculatedAttributeName}"
1497
+ o.input = Shapes::ShapeRef.new(shape: GetCalculatedAttributeForProfileRequest)
1498
+ o.output = Shapes::ShapeRef.new(shape: GetCalculatedAttributeForProfileResponse)
1499
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
1500
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1501
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1502
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1503
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1504
+ end)
1505
+
1293
1506
  api.add_operation(:get_domain, Seahorse::Model::Operation.new.tap do |o|
1294
1507
  o.name = "GetDomain"
1295
1508
  o.http_method = "GET"
@@ -1407,6 +1620,32 @@ module Aws::CustomerProfiles
1407
1620
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1408
1621
  end)
1409
1622
 
1623
+ api.add_operation(:list_calculated_attribute_definitions, Seahorse::Model::Operation.new.tap do |o|
1624
+ o.name = "ListCalculatedAttributeDefinitions"
1625
+ o.http_method = "GET"
1626
+ o.http_request_uri = "/domains/{DomainName}/calculated-attributes"
1627
+ o.input = Shapes::ShapeRef.new(shape: ListCalculatedAttributeDefinitionsRequest)
1628
+ o.output = Shapes::ShapeRef.new(shape: ListCalculatedAttributeDefinitionsResponse)
1629
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
1630
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1631
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1632
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1633
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1634
+ end)
1635
+
1636
+ api.add_operation(:list_calculated_attributes_for_profile, Seahorse::Model::Operation.new.tap do |o|
1637
+ o.name = "ListCalculatedAttributesForProfile"
1638
+ o.http_method = "GET"
1639
+ o.http_request_uri = "/domains/{DomainName}/profile/{ProfileId}/calculated-attributes"
1640
+ o.input = Shapes::ShapeRef.new(shape: ListCalculatedAttributesForProfileRequest)
1641
+ o.output = Shapes::ShapeRef.new(shape: ListCalculatedAttributesForProfileResponse)
1642
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
1643
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1644
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1645
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1646
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1647
+ end)
1648
+
1410
1649
  api.add_operation(:list_domains, Seahorse::Model::Operation.new.tap do |o|
1411
1650
  o.name = "ListDomains"
1412
1651
  o.http_method = "GET"
@@ -1595,6 +1834,19 @@ module Aws::CustomerProfiles
1595
1834
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1596
1835
  end)
1597
1836
 
1837
+ api.add_operation(:update_calculated_attribute_definition, Seahorse::Model::Operation.new.tap do |o|
1838
+ o.name = "UpdateCalculatedAttributeDefinition"
1839
+ o.http_method = "PUT"
1840
+ o.http_request_uri = "/domains/{DomainName}/calculated-attributes/{CalculatedAttributeName}"
1841
+ o.input = Shapes::ShapeRef.new(shape: UpdateCalculatedAttributeDefinitionRequest)
1842
+ o.output = Shapes::ShapeRef.new(shape: UpdateCalculatedAttributeDefinitionResponse)
1843
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
1844
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1845
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1846
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1847
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1848
+ end)
1849
+
1598
1850
  api.add_operation(:update_domain, Seahorse::Model::Operation.new.tap do |o|
1599
1851
  o.name = "UpdateDomain"
1600
1852
  o.http_method = "PUT"
@@ -50,9 +50,6 @@ module Aws::CustomerProfiles
50
50
 
51
51
  def initialize(options = {})
52
52
  self[:region] = options[:region]
53
- if self[:region].nil?
54
- raise ArgumentError, "Missing required EndpointParameter: :region"
55
- end
56
53
  self[:use_dual_stack] = options[:use_dual_stack]
57
54
  self[:use_dual_stack] = false if self[:use_dual_stack].nil?
58
55
  if self[:use_dual_stack].nil?
@@ -14,36 +14,39 @@ module Aws::CustomerProfiles
14
14
  use_dual_stack = parameters.use_dual_stack
15
15
  use_fips = parameters.use_fips
16
16
  endpoint = parameters.endpoint
17
- if (partition_result = Aws::Endpoints::Matchers.aws_partition(region))
18
- if Aws::Endpoints::Matchers.set?(endpoint)
19
- if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
20
- raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
21
- end
22
- if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
23
- raise ArgumentError, "Invalid Configuration: Dualstack and custom endpoint are not supported"
24
- end
25
- return Aws::Endpoints::Endpoint.new(url: endpoint, headers: {}, properties: {})
26
- end
27
- if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
28
- if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS")) && Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
29
- return Aws::Endpoints::Endpoint.new(url: "https://profile-fips.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
30
- end
31
- raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
32
- end
17
+ if Aws::Endpoints::Matchers.set?(endpoint)
33
18
  if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
34
- if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
35
- return Aws::Endpoints::Endpoint.new(url: "https://profile-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
36
- end
37
- raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
19
+ raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
38
20
  end
39
21
  if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
40
- if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
41
- return Aws::Endpoints::Endpoint.new(url: "https://profile.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
22
+ raise ArgumentError, "Invalid Configuration: Dualstack and custom endpoint are not supported"
23
+ end
24
+ return Aws::Endpoints::Endpoint.new(url: endpoint, headers: {}, properties: {})
25
+ end
26
+ if Aws::Endpoints::Matchers.set?(region)
27
+ if (partition_result = Aws::Endpoints::Matchers.aws_partition(region))
28
+ if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
29
+ if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS")) && Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
30
+ return Aws::Endpoints::Endpoint.new(url: "https://profile-fips.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
31
+ end
32
+ raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
33
+ end
34
+ if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
35
+ if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
36
+ return Aws::Endpoints::Endpoint.new(url: "https://profile-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
37
+ end
38
+ raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
39
+ end
40
+ if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
41
+ if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
42
+ return Aws::Endpoints::Endpoint.new(url: "https://profile.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
43
+ end
44
+ raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
42
45
  end
43
- raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
46
+ return Aws::Endpoints::Endpoint.new(url: "https://profile.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
44
47
  end
45
- return Aws::Endpoints::Endpoint.new(url: "https://profile.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
46
48
  end
49
+ raise ArgumentError, "Invalid Configuration: Missing Region"
47
50
  raise ArgumentError, 'No endpoint could be resolved'
48
51
 
49
52
  end