Skip to content

Commit 5a2ea58

Browse files
author
AWS SDK for Go v2 automation user
committed
Update API model
1 parent 0be7b00 commit 5a2ea58

File tree

12 files changed

+4356
-396
lines changed

12 files changed

+4356
-396
lines changed

codegen/sdk-codegen/aws-models/customer-profiles.json

Lines changed: 240 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1405,6 +1405,85 @@
14051405
"smithy.api#documentation": "<p>The matching criteria to be used during the auto-merging process. </p>"
14061406
}
14071407
},
1408+
"com.amazonaws.customerprofiles#ContactPreference": {
1409+
"type": "structure",
1410+
"members": {
1411+
"KeyName": {
1412+
"target": "com.amazonaws.customerprofiles#name",
1413+
"traits": {
1414+
"smithy.api#documentation": "<p>A searchable, unique identifier of a customer profile.</p>"
1415+
}
1416+
},
1417+
"KeyValue": {
1418+
"target": "com.amazonaws.customerprofiles#string1To255",
1419+
"traits": {
1420+
"smithy.api#documentation": "<p>The key value used to look up profile based off the keyName.</p>"
1421+
}
1422+
},
1423+
"ProfileId": {
1424+
"target": "com.amazonaws.customerprofiles#uuid",
1425+
"traits": {
1426+
"smithy.api#documentation": "<p>The unique identifier of a customer profile.</p>"
1427+
}
1428+
},
1429+
"ContactType": {
1430+
"target": "com.amazonaws.customerprofiles#ContactType",
1431+
"traits": {
1432+
"smithy.api#documentation": "<p>The contact type used for engagement. For example: HomePhoneNumber,\n PersonalEmailAddress.</p>"
1433+
}
1434+
}
1435+
},
1436+
"traits": {
1437+
"smithy.api#documentation": "<p>Object that defines users contact preference.</p>"
1438+
}
1439+
},
1440+
"com.amazonaws.customerprofiles#ContactType": {
1441+
"type": "enum",
1442+
"members": {
1443+
"PHONE_NUMBER": {
1444+
"target": "smithy.api#Unit",
1445+
"traits": {
1446+
"smithy.api#enumValue": "PhoneNumber"
1447+
}
1448+
},
1449+
"MOBILE_PHONE_NUMBER": {
1450+
"target": "smithy.api#Unit",
1451+
"traits": {
1452+
"smithy.api#enumValue": "MobilePhoneNumber"
1453+
}
1454+
},
1455+
"HOME_PHONE_NUMBER": {
1456+
"target": "smithy.api#Unit",
1457+
"traits": {
1458+
"smithy.api#enumValue": "HomePhoneNumber"
1459+
}
1460+
},
1461+
"BUSINESS_PHONE_NUMBER": {
1462+
"target": "smithy.api#Unit",
1463+
"traits": {
1464+
"smithy.api#enumValue": "BusinessPhoneNumber"
1465+
}
1466+
},
1467+
"EMAIL_ADDRESS": {
1468+
"target": "smithy.api#Unit",
1469+
"traits": {
1470+
"smithy.api#enumValue": "EmailAddress"
1471+
}
1472+
},
1473+
"PERSONAL_EMAIL_ADDRESS": {
1474+
"target": "smithy.api#Unit",
1475+
"traits": {
1476+
"smithy.api#enumValue": "PersonalEmailAddress"
1477+
}
1478+
},
1479+
"BUSINESS_EMAIL_ADDRESS": {
1480+
"target": "smithy.api#Unit",
1481+
"traits": {
1482+
"smithy.api#enumValue": "BusinessEmailAddress"
1483+
}
1484+
}
1485+
}
1486+
},
14081487
"com.amazonaws.customerprofiles#CreateCalculatedAttributeDefinition": {
14091488
"type": "operation",
14101489
"input": {
@@ -2465,6 +2544,18 @@
24652544
"traits": {
24662545
"smithy.api#documentation": "<p>An alternative to <code>Gender</code> which accepts any string as input.</p>"
24672546
}
2547+
},
2548+
"ProfileType": {
2549+
"target": "com.amazonaws.customerprofiles#ProfileType",
2550+
"traits": {
2551+
"smithy.api#documentation": "<p>The type of the profile.</p>"
2552+
}
2553+
},
2554+
"EngagementPreferences": {
2555+
"target": "com.amazonaws.customerprofiles#EngagementPreferences",
2556+
"traits": {
2557+
"smithy.api#documentation": "<p>Object that defines the preferred methods of engagement, per channel.</p>"
2558+
}
24682559
}
24692560
},
24702561
"traits": {
@@ -5142,12 +5233,39 @@
51425233
}
51435234
}
51445235
},
5236+
"com.amazonaws.customerprofiles#EmailPreferenceList": {
5237+
"type": "list",
5238+
"member": {
5239+
"target": "com.amazonaws.customerprofiles#ContactPreference"
5240+
}
5241+
},
51455242
"com.amazonaws.customerprofiles#End": {
51465243
"type": "integer",
51475244
"traits": {
51485245
"smithy.api#default": 0
51495246
}
51505247
},
5248+
"com.amazonaws.customerprofiles#EngagementPreferences": {
5249+
"type": "structure",
5250+
"members": {
5251+
"Phone": {
5252+
"target": "com.amazonaws.customerprofiles#PhonePreferenceList",
5253+
"traits": {
5254+
"smithy.api#documentation": "<p>A list of phone-related contact preferences</p>"
5255+
}
5256+
},
5257+
"Email": {
5258+
"target": "com.amazonaws.customerprofiles#EmailPreferenceList",
5259+
"traits": {
5260+
"smithy.api#documentation": "<p>A list of email-related contact preferences</p>"
5261+
}
5262+
}
5263+
},
5264+
"traits": {
5265+
"smithy.api#documentation": "<p>Object that defines users preferred methods of engagement.</p>",
5266+
"smithy.api#sensitive": {}
5267+
}
5268+
},
51515269
"com.amazonaws.customerprofiles#EstimateStatus": {
51525270
"type": "enum",
51535271
"members": {
@@ -5732,6 +5850,18 @@
57325850
"traits": {
57335851
"smithy.api#documentation": "<p>A unique identifier for the attributes field to be merged.</p>"
57345852
}
5853+
},
5854+
"ProfileType": {
5855+
"target": "com.amazonaws.customerprofiles#uuid",
5856+
"traits": {
5857+
"smithy.api#documentation": "<p>A unique identifier for the profile type field to be merged.</p>"
5858+
}
5859+
},
5860+
"EngagementPreferences": {
5861+
"target": "com.amazonaws.customerprofiles#uuid",
5862+
"traits": {
5863+
"smithy.api#documentation": "<p>A unique identifier for the engagement preferences field to be merged.</p>"
5864+
}
57355865
}
57365866
},
57375867
"traits": {
@@ -11795,6 +11925,12 @@
1179511925
}
1179611926
}
1179711927
},
11928+
"com.amazonaws.customerprofiles#PhonePreferenceList": {
11929+
"type": "list",
11930+
"member": {
11931+
"target": "com.amazonaws.customerprofiles#ContactPreference"
11932+
}
11933+
},
1179811934
"com.amazonaws.customerprofiles#Profile": {
1179911935
"type": "structure",
1180011936
"members": {
@@ -11947,6 +12083,18 @@
1194712083
"traits": {
1194812084
"smithy.api#documentation": "<p>An alternative to Gender which accepts any string as input.</p>"
1194912085
}
12086+
},
12087+
"ProfileType": {
12088+
"target": "com.amazonaws.customerprofiles#ProfileType",
12089+
"traits": {
12090+
"smithy.api#documentation": "<p>The type of the profile.</p>"
12091+
}
12092+
},
12093+
"EngagementPreferences": {
12094+
"target": "com.amazonaws.customerprofiles#EngagementPreferences",
12095+
"traits": {
12096+
"smithy.api#documentation": "<p>The customer or account’s engagement preferences.</p>"
12097+
}
1195012098
}
1195112099
},
1195212100
"traits": {
@@ -12160,6 +12308,13 @@
1216012308
"smithy.api#documentation": "<p>A field to describe values to segment on within attributes.</p>",
1216112309
"smithy.api#jsonName": "Attributes"
1216212310
}
12311+
},
12312+
"ProfileType": {
12313+
"target": "com.amazonaws.customerprofiles#ProfileTypeDimension",
12314+
"traits": {
12315+
"smithy.api#documentation": "<p>A field to describe values to segment on within profile type.</p>",
12316+
"smithy.api#jsonName": "ProfileType"
12317+
}
1216312318
}
1216412319
},
1216512320
"traits": {
@@ -12312,6 +12467,79 @@
1231212467
"smithy.api#documentation": "<p>Object that holds the results for membership.</p>"
1231312468
}
1231412469
},
12470+
"com.amazonaws.customerprofiles#ProfileType": {
12471+
"type": "enum",
12472+
"members": {
12473+
"ACCOUNT_PROFILE": {
12474+
"target": "smithy.api#Unit",
12475+
"traits": {
12476+
"smithy.api#enumValue": "ACCOUNT_PROFILE"
12477+
}
12478+
},
12479+
"PROFILE": {
12480+
"target": "smithy.api#Unit",
12481+
"traits": {
12482+
"smithy.api#enumValue": "PROFILE"
12483+
}
12484+
}
12485+
},
12486+
"traits": {
12487+
"smithy.api#sensitive": {}
12488+
}
12489+
},
12490+
"com.amazonaws.customerprofiles#ProfileTypeDimension": {
12491+
"type": "structure",
12492+
"members": {
12493+
"DimensionType": {
12494+
"target": "com.amazonaws.customerprofiles#ProfileTypeDimensionType",
12495+
"traits": {
12496+
"smithy.api#documentation": "<p>The action to segment on.</p>",
12497+
"smithy.api#jsonName": "DimensionType",
12498+
"smithy.api#required": {}
12499+
}
12500+
},
12501+
"Values": {
12502+
"target": "com.amazonaws.customerprofiles#ProfileTypeValues",
12503+
"traits": {
12504+
"smithy.api#documentation": "<p>The values to apply the DimensionType on.</p>",
12505+
"smithy.api#jsonName": "Values",
12506+
"smithy.api#required": {}
12507+
}
12508+
}
12509+
},
12510+
"traits": {
12511+
"smithy.api#documentation": "<p>Object to hold the dimension of a profile type field to segment on.</p>"
12512+
}
12513+
},
12514+
"com.amazonaws.customerprofiles#ProfileTypeDimensionType": {
12515+
"type": "enum",
12516+
"members": {
12517+
"INCLUSIVE": {
12518+
"target": "smithy.api#Unit",
12519+
"traits": {
12520+
"smithy.api#enumValue": "INCLUSIVE"
12521+
}
12522+
},
12523+
"EXCLUSIVE": {
12524+
"target": "smithy.api#Unit",
12525+
"traits": {
12526+
"smithy.api#enumValue": "EXCLUSIVE"
12527+
}
12528+
}
12529+
}
12530+
},
12531+
"com.amazonaws.customerprofiles#ProfileTypeValues": {
12532+
"type": "list",
12533+
"member": {
12534+
"target": "com.amazonaws.customerprofiles#ProfileType"
12535+
},
12536+
"traits": {
12537+
"smithy.api#length": {
12538+
"min": 1,
12539+
"max": 1
12540+
}
12541+
}
12542+
},
1231512543
"com.amazonaws.customerprofiles#Profiles": {
1231612544
"type": "list",
1231712545
"member": {
@@ -15776,6 +16004,18 @@
1577616004
"traits": {
1577716005
"smithy.api#documentation": "<p>An alternative to <code>Gender</code> which accepts any string as input.</p>"
1577816006
}
16007+
},
16008+
"ProfileType": {
16009+
"target": "com.amazonaws.customerprofiles#ProfileType",
16010+
"traits": {
16011+
"smithy.api#documentation": "<p>Determines the type of the profile.</p>"
16012+
}
16013+
},
16014+
"EngagementPreferences": {
16015+
"target": "com.amazonaws.customerprofiles#EngagementPreferences",
16016+
"traits": {
16017+
"smithy.api#documentation": "<p>Object that defines users preferred methods of engagement.</p>"
16018+
}
1577916019
}
1578016020
},
1578116021
"traits": {

codegen/sdk-codegen/aws-models/ec2.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111010,6 +111010,12 @@
111010111010
"smithy.api#xmlName": "InstanceId"
111011111011
}
111012111012
},
111013+
"Force": {
111014+
"target": "com.amazonaws.ec2#Boolean",
111015+
"traits": {
111016+
"smithy.api#documentation": "<p>Forces the instances to terminate. The instance will first attempt a graceful\n shutdown, which includes flushing file system caches and metadata. If the graceful\n shutdown fails to complete within the timeout period, the instance shuts down forcibly\n without flushing the file system caches and metadata.</p>"
111017+
}
111018+
},
111013111019
"SkipOsShutdown": {
111014111020
"target": "com.amazonaws.ec2#Boolean",
111015111021
"traits": {

0 commit comments

Comments
 (0)