Skip to content

Commit 3b74484

Browse files
author
AWS
committed
Amazon Pinpoint Update: Adds support for Advance Quiet Time in Journeys. Adds RefreshOnSegmentUpdate and WaitForQuietTime to JourneyResponse.
1 parent b7f7fbf commit 3b74484

File tree

2 files changed

+151
-0
lines changed

2 files changed

+151
-0
lines changed
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"type": "feature",
3+
"category": "Amazon Pinpoint",
4+
"contributor": "",
5+
"description": "Adds support for Advance Quiet Time in Journeys. Adds RefreshOnSegmentUpdate and WaitForQuietTime to JourneyResponse."
6+
}

services/pinpoint/src/main/resources/codegen-resources/service-2.json

Lines changed: 145 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11881,6 +11881,18 @@
1188111881
"JourneyChannelSettings": {
1188211882
"shape": "JourneyChannelSettings",
1188311883
"documentation": "<p>The channel-specific configurations for the journey.</p>"
11884+
},
11885+
"SendingSchedule": {
11886+
"shape": "__boolean",
11887+
"documentation": "<p>Indicates if journey have Advance Quiet Time (OpenHours and ClosedDays). This flag should be set to true in order to allow (OpenHours and ClosedDays)</p>"
11888+
},
11889+
"OpenHours": {
11890+
"shape": "OpenHours",
11891+
"documentation": "<p>The time when journey allow to send messages. QuietTime should be configured first and SendingSchedule should be set to true.</p>"
11892+
},
11893+
"ClosedDays": {
11894+
"shape": "ClosedDays",
11895+
"documentation": "<p>The time when journey will stop sending messages. QuietTime should be configured first and SendingSchedule should be set to true.</p>"
1188411896
}
1188511897
},
1188611898
"documentation": "<p>Provides information about the status, configuration, and other settings for a journey.</p>",
@@ -15599,6 +15611,18 @@
1559915611
"JourneyChannelSettings": {
1560015612
"shape": "JourneyChannelSettings",
1560115613
"documentation": "<p>The channel-specific configurations for the journey.</p>"
15614+
},
15615+
"SendingSchedule": {
15616+
"shape": "__boolean",
15617+
"documentation": "<p>Indicates if journey have Advance Quiet Time (OpenHours and ClosedDays). This flag should be set to true in order to allow (OpenHours and ClosedDays)</p>"
15618+
},
15619+
"OpenHours": {
15620+
"shape": "OpenHours",
15621+
"documentation": "<p>The time when journey allow to send messages. QuietTime should be configured first and SendingSchedule should be set to true.</p>"
15622+
},
15623+
"ClosedDays": {
15624+
"shape": "ClosedDays",
15625+
"documentation": "<p>The time when journey will stop sending messages. QuietTime should be configured first and SendingSchedule should be set to true.</p>"
1560215626
}
1560315627
},
1560415628
"documentation": "<p>Specifies the configuration and other settings for a journey.</p>",
@@ -16015,6 +16039,127 @@
1601516039
"__timestampUnix": {
1601616040
"type": "timestamp",
1601716041
"timestampFormat": "unixTimestamp"
16042+
},
16043+
"DayOfWeek": {
16044+
"type": "string",
16045+
"enum": [
16046+
"MONDAY",
16047+
"TUESDAY",
16048+
"WEDNESDAY",
16049+
"THURSDAY",
16050+
"FRIDAY",
16051+
"SATURDAY",
16052+
"SUNDAY"
16053+
]
16054+
},
16055+
"OpenHoursRule": {
16056+
"type": "structure",
16057+
"documentation" : "<p>List of OpenHours Rules.</p>",
16058+
"members": {
16059+
"StartTime": {
16060+
"shape": "__string",
16061+
"documentation": "<p>Local start time in ISO 8601 format.</p>"
16062+
},
16063+
"EndTime": {
16064+
"shape": "__string",
16065+
"documentation": "<p>Local start time in ISO 8601 format.</p>"
16066+
}
16067+
}
16068+
},
16069+
"ListOfOpenHoursRules": {
16070+
"type": "list",
16071+
"member": {
16072+
"shape": "OpenHoursRule",
16073+
"documentation": "<p>Open Hour Rule Details.</p>"
16074+
}
16075+
},
16076+
"MapOfListOfOpenHoursRules": {
16077+
"type": "map",
16078+
"key": {
16079+
"shape": "DayOfWeek",
16080+
"documentation": "<p>Day of a week when the rule will be applied. Valid values are [MONDAY, TUESDAY, WEDNESDAY, THURSDAY, FRIDAY, SATURDAY, SUNDAY]</p>"
16081+
},
16082+
"value": {
16083+
"shape": "ListOfOpenHoursRules",
16084+
"documentation": "<p>Open Hour Rules.</p>"
16085+
}
16086+
},
16087+
"OpenHours": {
16088+
"type": "structure",
16089+
"documentation": "<p>The time when journey allow to send messages. QuietTime should be configured first and SendingSchedule should be set to true.</p>",
16090+
"members": {
16091+
"EMAIL": {
16092+
"shape": "MapOfListOfOpenHoursRules",
16093+
"documentation": "<p>Rules for Email Channel.</p>"
16094+
},
16095+
"SMS": {
16096+
"shape": "MapOfListOfOpenHoursRules",
16097+
"documentation": "<p>Rules for SMS Channel.</p>"
16098+
},
16099+
"PUSH": {
16100+
"shape": "MapOfListOfOpenHoursRules",
16101+
"documentation": "<p>Rules for Push Channel.</p>"
16102+
},
16103+
"VOICE": {
16104+
"shape": "MapOfListOfOpenHoursRules",
16105+
"documentation": "<p>Rules for Voice Channel.</p>"
16106+
},
16107+
"CUSTOM": {
16108+
"shape": "MapOfListOfOpenHoursRules",
16109+
"documentation": "<p>Rules for Custom Channel.</p>"
16110+
}
16111+
}
16112+
},
16113+
"ClosedDaysRule": {
16114+
"type": "structure",
16115+
"documentation": "<p>Closed Days Rule. Part of Journey sending schedule.</p>",
16116+
"members": {
16117+
"Name": {
16118+
"shape": "__string",
16119+
"documentation": "<p>Name of the rule.</p>"
16120+
},
16121+
"StartDateTime": {
16122+
"shape": "__string",
16123+
"documentation": "<p>Start Datetime in ISO 8601 format.</p>"
16124+
},
16125+
"EndDateTime": {
16126+
"shape": "__string",
16127+
"documentation": "<p>End Datetime in ISO 8601 format.</p>"
16128+
}
16129+
}
16130+
},
16131+
"ListOfClosedDaysRules": {
16132+
"type": "list",
16133+
"member": {
16134+
"shape": "ClosedDaysRule",
16135+
"documentation": "<p>ClosedDays rule details.</p>"
16136+
}
16137+
},
16138+
"ClosedDays": {
16139+
"type": "structure",
16140+
"documentation" : "<p>The time when journey will stop sending messages.</p>",
16141+
"members": {
16142+
"EMAIL": {
16143+
"shape": "ListOfClosedDaysRules",
16144+
"documentation": "<p>Rules for Email Channel.</p>"
16145+
},
16146+
"SMS": {
16147+
"shape": "ListOfClosedDaysRules",
16148+
"documentation": "<p>Rules for SMS Channel.</p>"
16149+
},
16150+
"PUSH": {
16151+
"shape": "ListOfClosedDaysRules",
16152+
"documentation": "<p>Rules for Push Channel.</p>"
16153+
},
16154+
"VOICE": {
16155+
"shape": "ListOfClosedDaysRules",
16156+
"documentation": "<p>Rules for Voice Channel.</p>"
16157+
},
16158+
"CUSTOM": {
16159+
"shape": "ListOfClosedDaysRules",
16160+
"documentation": "<p>Rules for Custom Channel.</p>"
16161+
}
16162+
}
1601816163
}
1601916164
}
1602016165
}

0 commit comments

Comments
 (0)