|
666 | 666 | ],
|
667 | 667 | "documentation":"<p>Creates a prompt. For more information about prompts, such as supported file types and maximum length, see <a href=\"https://docs.aws.amazon.com/connect/latest/adminguide/prompts.html\">Create prompts</a> in the <i>Amazon Connect Administrator Guide</i>.</p>"
|
668 | 668 | },
|
| 669 | + "CreatePushNotificationRegistration":{ |
| 670 | + "name":"CreatePushNotificationRegistration", |
| 671 | + "http":{ |
| 672 | + "method":"PUT", |
| 673 | + "requestUri":"/push-notification/{InstanceId}/registrations" |
| 674 | + }, |
| 675 | + "input":{"shape":"CreatePushNotificationRegistrationRequest"}, |
| 676 | + "output":{"shape":"CreatePushNotificationRegistrationResponse"}, |
| 677 | + "errors":[ |
| 678 | + {"shape":"InvalidParameterException"}, |
| 679 | + {"shape":"ResourceNotFoundException"}, |
| 680 | + {"shape":"ThrottlingException"}, |
| 681 | + {"shape":"InternalServiceException"}, |
| 682 | + {"shape":"AccessDeniedException"}, |
| 683 | + {"shape":"ServiceQuotaExceededException"} |
| 684 | + ], |
| 685 | + "documentation":"<p>Creates registration for a device token and a chat contact to receive real-time push notifications. For more information about push notifications, see <a href=\"https://docs.aws.amazon.com/connect/latest/adminguide/set-up-push-notifications-for-mobile-chat.html\">Set up push notifications in Amazon Connect for mobile chat</a> in the <i>Amazon Connect Administrator Guide</i>.</p>" |
| 686 | + }, |
669 | 687 | "CreateQueue":{
|
670 | 688 | "name":"CreateQueue",
|
671 | 689 | "http":{
|
|
1118 | 1136 | ],
|
1119 | 1137 | "documentation":"<p>Deletes a prompt.</p>"
|
1120 | 1138 | },
|
| 1139 | + "DeletePushNotificationRegistration":{ |
| 1140 | + "name":"DeletePushNotificationRegistration", |
| 1141 | + "http":{ |
| 1142 | + "method":"DELETE", |
| 1143 | + "requestUri":"/push-notification/{InstanceId}/registrations/{RegistrationId}" |
| 1144 | + }, |
| 1145 | + "input":{"shape":"DeletePushNotificationRegistrationRequest"}, |
| 1146 | + "output":{"shape":"DeletePushNotificationRegistrationResponse"}, |
| 1147 | + "errors":[ |
| 1148 | + {"shape":"InvalidParameterException"}, |
| 1149 | + {"shape":"ResourceNotFoundException"}, |
| 1150 | + {"shape":"ThrottlingException"}, |
| 1151 | + {"shape":"InternalServiceException"}, |
| 1152 | + {"shape":"AccessDeniedException"} |
| 1153 | + ], |
| 1154 | + "documentation":"<p>Deletes registration for a device token and a chat contact.</p>" |
| 1155 | + }, |
1121 | 1156 | "DeleteQueue":{
|
1122 | 1157 | "name":"DeleteQueue",
|
1123 | 1158 | "http":{
|
|
6786 | 6821 | },
|
6787 | 6822 | "documentation":"<p>A structure that defines search criteria for contacts using analysis outputs from Amazon Connect Contact Lens.</p>"
|
6788 | 6823 | },
|
| 6824 | + "ContactConfiguration":{ |
| 6825 | + "type":"structure", |
| 6826 | + "required":["ContactId"], |
| 6827 | + "members":{ |
| 6828 | + "ContactId":{ |
| 6829 | + "shape":"ContactId", |
| 6830 | + "documentation":"<p>The identifier of the contact within the Amazon Connect instance.</p>" |
| 6831 | + }, |
| 6832 | + "ParticipantRole":{ |
| 6833 | + "shape":"ParticipantRole", |
| 6834 | + "documentation":"<p>The role of the participant in the chat conversation.</p>" |
| 6835 | + }, |
| 6836 | + "IncludeRawMessage":{ |
| 6837 | + "shape":"IncludeRawMessage", |
| 6838 | + "documentation":"<p>Whether to include raw connect message in the push notification payload. Default is <code>False</code>.</p>" |
| 6839 | + } |
| 6840 | + }, |
| 6841 | + "documentation":"<p>The contact configuration for push notification registration.</p>" |
| 6842 | + }, |
6789 | 6843 | "ContactDataRequest":{
|
6790 | 6844 | "type":"structure",
|
6791 | 6845 | "members":{
|
|
8134 | 8188 | }
|
8135 | 8189 | }
|
8136 | 8190 | },
|
| 8191 | + "CreatePushNotificationRegistrationRequest":{ |
| 8192 | + "type":"structure", |
| 8193 | + "required":[ |
| 8194 | + "InstanceId", |
| 8195 | + "PinpointAppArn", |
| 8196 | + "DeviceToken", |
| 8197 | + "DeviceType", |
| 8198 | + "ContactConfiguration" |
| 8199 | + ], |
| 8200 | + "members":{ |
| 8201 | + "InstanceId":{ |
| 8202 | + "shape":"InstanceId", |
| 8203 | + "documentation":"<p>The identifier of the Amazon Connect instance. You can <a href=\"https://docs.aws.amazon.com/connect/latest/adminguide/find-instance-arn.html\">find the instance ID</a> in the Amazon Resource Name (ARN) of the instance.</p>", |
| 8204 | + "location":"uri", |
| 8205 | + "locationName":"InstanceId" |
| 8206 | + }, |
| 8207 | + "ClientToken":{ |
| 8208 | + "shape":"ClientToken", |
| 8209 | + "documentation":"<p>A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see <a href=\"https://aws.amazon.com/builders-library/making-retries-safe-with-idempotent-APIs/\">Making retries safe with idempotent APIs</a>.</p>", |
| 8210 | + "idempotencyToken":true |
| 8211 | + }, |
| 8212 | + "PinpointAppArn":{ |
| 8213 | + "shape":"ARN", |
| 8214 | + "documentation":"<p>The Amazon Resource Name (ARN) of the Pinpoint application.</p>" |
| 8215 | + }, |
| 8216 | + "DeviceToken":{ |
| 8217 | + "shape":"DeviceToken", |
| 8218 | + "documentation":"<p>The push notification token issued by the Apple or Google gateways.</p>" |
| 8219 | + }, |
| 8220 | + "DeviceType":{ |
| 8221 | + "shape":"DeviceType", |
| 8222 | + "documentation":"<p>The device type to use when sending the message.</p>" |
| 8223 | + }, |
| 8224 | + "ContactConfiguration":{ |
| 8225 | + "shape":"ContactConfiguration", |
| 8226 | + "documentation":"<p>The contact configuration for push notification registration.</p>" |
| 8227 | + } |
| 8228 | + } |
| 8229 | + }, |
| 8230 | + "CreatePushNotificationRegistrationResponse":{ |
| 8231 | + "type":"structure", |
| 8232 | + "required":["RegistrationId"], |
| 8233 | + "members":{ |
| 8234 | + "RegistrationId":{ |
| 8235 | + "shape":"RegistrationId", |
| 8236 | + "documentation":"<p>The identifier for the registration.</p>" |
| 8237 | + } |
| 8238 | + } |
| 8239 | + }, |
8137 | 8240 | "CreateQueueRequest":{
|
8138 | 8241 | "type":"structure",
|
8139 | 8242 | "required":[
|
|
9384 | 9487 | }
|
9385 | 9488 | }
|
9386 | 9489 | },
|
| 9490 | + "DeletePushNotificationRegistrationRequest":{ |
| 9491 | + "type":"structure", |
| 9492 | + "required":[ |
| 9493 | + "InstanceId", |
| 9494 | + "RegistrationId", |
| 9495 | + "ContactId" |
| 9496 | + ], |
| 9497 | + "members":{ |
| 9498 | + "InstanceId":{ |
| 9499 | + "shape":"InstanceId", |
| 9500 | + "documentation":"<p>The identifier of the Amazon Connect instance. You can <a href=\"https://docs.aws.amazon.com/connect/latest/adminguide/find-instance-arn.html\">find the instance ID</a> in the Amazon Resource Name (ARN) of the instance.</p>", |
| 9501 | + "location":"uri", |
| 9502 | + "locationName":"InstanceId" |
| 9503 | + }, |
| 9504 | + "RegistrationId":{ |
| 9505 | + "shape":"RegistrationId", |
| 9506 | + "documentation":"<p>The identifier for the registration.</p>", |
| 9507 | + "location":"uri", |
| 9508 | + "locationName":"RegistrationId" |
| 9509 | + }, |
| 9510 | + "ContactId":{ |
| 9511 | + "shape":"ContactId", |
| 9512 | + "documentation":"<p>The identifier of the contact within the Amazon Connect instance.</p>", |
| 9513 | + "location":"querystring", |
| 9514 | + "locationName":"contactId" |
| 9515 | + } |
| 9516 | + } |
| 9517 | + }, |
| 9518 | + "DeletePushNotificationRegistrationResponse":{ |
| 9519 | + "type":"structure", |
| 9520 | + "members":{ |
| 9521 | + } |
| 9522 | + }, |
9387 | 9523 | "DeleteQueueRequest":{
|
9388 | 9524 | "type":"structure",
|
9389 | 9525 | "required":[
|
|
10552 | 10688 | },
|
10553 | 10689 | "documentation":"<p>Information regarding the device.</p>"
|
10554 | 10690 | },
|
| 10691 | + "DeviceToken":{ |
| 10692 | + "type":"string", |
| 10693 | + "max":500, |
| 10694 | + "min":1 |
| 10695 | + }, |
| 10696 | + "DeviceType":{ |
| 10697 | + "type":"string", |
| 10698 | + "enum":[ |
| 10699 | + "GCM", |
| 10700 | + "APNS", |
| 10701 | + "APNS_SANDBOX" |
| 10702 | + ] |
| 10703 | + }, |
10555 | 10704 | "Dimensions":{
|
10556 | 10705 | "type":"structure",
|
10557 | 10706 | "members":{
|
|
13783 | 13932 | "min":0,
|
13784 | 13933 | "sensitive":true
|
13785 | 13934 | },
|
| 13935 | + "IncludeRawMessage":{"type":"boolean"}, |
13786 | 13936 | "Index":{"type":"integer"},
|
13787 | 13937 | "InitiateAs":{
|
13788 | 13938 | "type":"string",
|
|
18997 | 19147 | "type":"string",
|
18998 | 19148 | "pattern":"[a-z]{2}(-[a-z]+){1,2}(-[0-9])?"
|
18999 | 19149 | },
|
| 19150 | + "RegistrationId":{ |
| 19151 | + "type":"string", |
| 19152 | + "max":256, |
| 19153 | + "min":1 |
| 19154 | + }, |
19000 | 19155 | "RehydrationType":{
|
19001 | 19156 | "type":"string",
|
19002 | 19157 | "enum":[
|
|
0 commit comments