|
493 | 493 | {"shape":"InternalServiceException"}
|
494 | 494 | ]
|
495 | 495 | },
|
| 496 | + "DescribeContact":{ |
| 497 | + "name":"DescribeContact", |
| 498 | + "http":{ |
| 499 | + "method":"GET", |
| 500 | + "requestUri":"/contacts/{InstanceId}/{ContactId}" |
| 501 | + }, |
| 502 | + "input":{"shape":"DescribeContactRequest"}, |
| 503 | + "output":{"shape":"DescribeContactResponse"}, |
| 504 | + "errors":[ |
| 505 | + {"shape":"InvalidRequestException"}, |
| 506 | + {"shape":"InvalidParameterException"}, |
| 507 | + {"shape":"ResourceNotFoundException"}, |
| 508 | + {"shape":"InternalServiceException"}, |
| 509 | + {"shape":"ThrottlingException"} |
| 510 | + ] |
| 511 | + }, |
496 | 512 | "DescribeContactFlow":{
|
497 | 513 | "name":"DescribeContactFlow",
|
498 | 514 | "http":{
|
|
929 | 945 | {"shape":"InternalServiceException"}
|
930 | 946 | ]
|
931 | 947 | },
|
| 948 | + "ListContactReferences":{ |
| 949 | + "name":"ListContactReferences", |
| 950 | + "http":{ |
| 951 | + "method":"GET", |
| 952 | + "requestUri":"/contact/references/{InstanceId}/{ContactId}" |
| 953 | + }, |
| 954 | + "input":{"shape":"ListContactReferencesRequest"}, |
| 955 | + "output":{"shape":"ListContactReferencesResponse"}, |
| 956 | + "errors":[ |
| 957 | + {"shape":"InvalidRequestException"}, |
| 958 | + {"shape":"InvalidParameterException"}, |
| 959 | + {"shape":"ResourceNotFoundException"}, |
| 960 | + {"shape":"InternalServiceException"}, |
| 961 | + {"shape":"ThrottlingException"} |
| 962 | + ] |
| 963 | + }, |
932 | 964 | "ListHoursOfOperations":{
|
933 | 965 | "name":"ListHoursOfOperations",
|
934 | 966 | "http":{
|
|
1462 | 1494 | {"shape":"InternalServiceException"}
|
1463 | 1495 | ]
|
1464 | 1496 | },
|
| 1497 | + "UpdateContact":{ |
| 1498 | + "name":"UpdateContact", |
| 1499 | + "http":{ |
| 1500 | + "method":"POST", |
| 1501 | + "requestUri":"/contacts/{InstanceId}/{ContactId}" |
| 1502 | + }, |
| 1503 | + "input":{"shape":"UpdateContactRequest"}, |
| 1504 | + "output":{"shape":"UpdateContactResponse"}, |
| 1505 | + "errors":[ |
| 1506 | + {"shape":"InvalidRequestException"}, |
| 1507 | + {"shape":"InvalidParameterException"}, |
| 1508 | + {"shape":"ResourceNotFoundException"}, |
| 1509 | + {"shape":"InternalServiceException"}, |
| 1510 | + {"shape":"ThrottlingException"} |
| 1511 | + ] |
| 1512 | + }, |
1465 | 1513 | "UpdateContactAttributes":{
|
1466 | 1514 | "name":"UpdateContactAttributes",
|
1467 | 1515 | "http":{
|
|
1509 | 1557 | {"shape":"InternalServiceException"}
|
1510 | 1558 | ]
|
1511 | 1559 | },
|
| 1560 | + "UpdateContactSchedule":{ |
| 1561 | + "name":"UpdateContactSchedule", |
| 1562 | + "http":{ |
| 1563 | + "method":"POST", |
| 1564 | + "requestUri":"/contact/schedule" |
| 1565 | + }, |
| 1566 | + "input":{"shape":"UpdateContactScheduleRequest"}, |
| 1567 | + "output":{"shape":"UpdateContactScheduleResponse"}, |
| 1568 | + "errors":[ |
| 1569 | + {"shape":"InvalidRequestException"}, |
| 1570 | + {"shape":"InvalidParameterException"}, |
| 1571 | + {"shape":"ResourceNotFoundException"}, |
| 1572 | + {"shape":"ThrottlingException"}, |
| 1573 | + {"shape":"LimitExceededException"}, |
| 1574 | + {"shape":"InternalServiceException"} |
| 1575 | + ] |
| 1576 | + }, |
1512 | 1577 | "UpdateHoursOfOperation":{
|
1513 | 1578 | "name":"UpdateHoursOfOperation",
|
1514 | 1579 | "http":{
|
|
1864 | 1929 | "max":100,
|
1865 | 1930 | "min":1
|
1866 | 1931 | },
|
| 1932 | + "AgentInfo":{ |
| 1933 | + "type":"structure", |
| 1934 | + "members":{ |
| 1935 | + "Id":{"shape":"AgentResourceId"}, |
| 1936 | + "ConnectedToAgentTimestamp":{"shape":"timestamp"} |
| 1937 | + } |
| 1938 | + }, |
1867 | 1939 | "AgentLastName":{
|
1868 | 1940 | "type":"string",
|
1869 | 1941 | "max":100,
|
1870 | 1942 | "min":1
|
1871 | 1943 | },
|
| 1944 | + "AgentResourceId":{ |
| 1945 | + "type":"string", |
| 1946 | + "max":256, |
| 1947 | + "min":1 |
| 1948 | + }, |
1872 | 1949 | "AgentStatus":{
|
1873 | 1950 | "type":"structure",
|
1874 | 1951 | "members":{
|
|
2097 | 2174 | "max":100,
|
2098 | 2175 | "min":1
|
2099 | 2176 | },
|
| 2177 | + "AttachmentReference":{ |
| 2178 | + "type":"structure", |
| 2179 | + "members":{ |
| 2180 | + "Name":{"shape":"ReferenceKey"}, |
| 2181 | + "Value":{"shape":"ReferenceValue"}, |
| 2182 | + "Status":{"shape":"ReferenceStatus"} |
| 2183 | + } |
| 2184 | + }, |
2100 | 2185 | "Attribute":{
|
2101 | 2186 | "type":"structure",
|
2102 | 2187 | "members":{
|
|
2150 | 2235 | "Channels":{
|
2151 | 2236 | "type":"list",
|
2152 | 2237 | "member":{"shape":"Channel"},
|
2153 |
| - "max":1 |
| 2238 | + "max":3 |
2154 | 2239 | },
|
2155 | 2240 | "ChatContent":{
|
2156 | 2241 | "type":"string",
|
|
2203 | 2288 | "max":10,
|
2204 | 2289 | "min":1
|
2205 | 2290 | },
|
| 2291 | + "Contact":{ |
| 2292 | + "type":"structure", |
| 2293 | + "members":{ |
| 2294 | + "Arn":{"shape":"ARN"}, |
| 2295 | + "Id":{"shape":"ContactId"}, |
| 2296 | + "InitialContactId":{"shape":"ContactId"}, |
| 2297 | + "PreviousContactId":{"shape":"ContactId"}, |
| 2298 | + "InitiationMethod":{"shape":"ContactInitiationMethod"}, |
| 2299 | + "Name":{"shape":"Name"}, |
| 2300 | + "Description":{"shape":"Description"}, |
| 2301 | + "Channel":{"shape":"Channel"}, |
| 2302 | + "QueueInfo":{"shape":"QueueInfo"}, |
| 2303 | + "AgentInfo":{"shape":"AgentInfo"}, |
| 2304 | + "InitiationTimestamp":{"shape":"timestamp"}, |
| 2305 | + "DisconnectTimestamp":{"shape":"timestamp"}, |
| 2306 | + "LastUpdateTimestamp":{"shape":"timestamp"}, |
| 2307 | + "ScheduledTimestamp":{"shape":"timestamp"} |
| 2308 | + } |
| 2309 | + }, |
2206 | 2310 | "ContactFlow":{
|
2207 | 2311 | "type":"structure",
|
2208 | 2312 | "members":{
|
|
2270 | 2374 | "max":256,
|
2271 | 2375 | "min":1
|
2272 | 2376 | },
|
| 2377 | + "ContactInitiationMethod":{ |
| 2378 | + "type":"string", |
| 2379 | + "enum":[ |
| 2380 | + "INBOUND", |
| 2381 | + "OUTBOUND", |
| 2382 | + "TRANSFER", |
| 2383 | + "QUEUE_TRANSFER", |
| 2384 | + "CALLBACK", |
| 2385 | + "API" |
| 2386 | + ] |
| 2387 | + }, |
2273 | 2388 | "ContactNotFoundException":{
|
2274 | 2389 | "type":"structure",
|
2275 | 2390 | "members":{
|
|
2886 | 3001 | "ContactFlow":{"shape":"ContactFlow"}
|
2887 | 3002 | }
|
2888 | 3003 | },
|
| 3004 | + "DescribeContactRequest":{ |
| 3005 | + "type":"structure", |
| 3006 | + "required":[ |
| 3007 | + "InstanceId", |
| 3008 | + "ContactId" |
| 3009 | + ], |
| 3010 | + "members":{ |
| 3011 | + "InstanceId":{ |
| 3012 | + "shape":"InstanceId", |
| 3013 | + "location":"uri", |
| 3014 | + "locationName":"InstanceId" |
| 3015 | + }, |
| 3016 | + "ContactId":{ |
| 3017 | + "shape":"ContactId", |
| 3018 | + "location":"uri", |
| 3019 | + "locationName":"ContactId" |
| 3020 | + } |
| 3021 | + } |
| 3022 | + }, |
| 3023 | + "DescribeContactResponse":{ |
| 3024 | + "type":"structure", |
| 3025 | + "members":{ |
| 3026 | + "Contact":{"shape":"Contact"} |
| 3027 | + } |
| 3028 | + }, |
2889 | 3029 | "DescribeHoursOfOperationRequest":{
|
2890 | 3030 | "type":"structure",
|
2891 | 3031 | "required":[
|
|
4123 | 4263 | "NextToken":{"shape":"NextToken"}
|
4124 | 4264 | }
|
4125 | 4265 | },
|
| 4266 | + "ListContactReferencesRequest":{ |
| 4267 | + "type":"structure", |
| 4268 | + "required":[ |
| 4269 | + "InstanceId", |
| 4270 | + "ContactId", |
| 4271 | + "ReferenceTypes" |
| 4272 | + ], |
| 4273 | + "members":{ |
| 4274 | + "InstanceId":{ |
| 4275 | + "shape":"InstanceId", |
| 4276 | + "location":"uri", |
| 4277 | + "locationName":"InstanceId" |
| 4278 | + }, |
| 4279 | + "ContactId":{ |
| 4280 | + "shape":"ContactId", |
| 4281 | + "location":"uri", |
| 4282 | + "locationName":"ContactId" |
| 4283 | + }, |
| 4284 | + "ReferenceTypes":{ |
| 4285 | + "shape":"ReferenceTypes", |
| 4286 | + "location":"querystring", |
| 4287 | + "locationName":"referenceTypes" |
| 4288 | + }, |
| 4289 | + "NextToken":{ |
| 4290 | + "shape":"NextToken", |
| 4291 | + "location":"querystring", |
| 4292 | + "locationName":"nextToken" |
| 4293 | + } |
| 4294 | + } |
| 4295 | + }, |
| 4296 | + "ListContactReferencesResponse":{ |
| 4297 | + "type":"structure", |
| 4298 | + "members":{ |
| 4299 | + "ReferenceSummaryList":{"shape":"ReferenceSummaryList"}, |
| 4300 | + "NextToken":{"shape":"NextToken"} |
| 4301 | + } |
| 4302 | + }, |
4126 | 4303 | "ListHoursOfOperationsRequest":{
|
4127 | 4304 | "type":"structure",
|
4128 | 4305 | "required":["InstanceId"],
|
|
5255 | 5432 | "min":1
|
5256 | 5433 | },
|
5257 | 5434 | "QueueId":{"type":"string"},
|
| 5435 | + "QueueInfo":{ |
| 5436 | + "type":"structure", |
| 5437 | + "members":{ |
| 5438 | + "Id":{"shape":"QueueId"}, |
| 5439 | + "EnqueueTimestamp":{"shape":"timestamp"} |
| 5440 | + } |
| 5441 | + }, |
5258 | 5442 | "QueueMaxContacts":{
|
5259 | 5443 | "type":"integer",
|
5260 | 5444 | "min":0
|
|
5400 | 5584 | "max":4096,
|
5401 | 5585 | "min":1
|
5402 | 5586 | },
|
| 5587 | + "ReferenceStatus":{ |
| 5588 | + "type":"string", |
| 5589 | + "enum":[ |
| 5590 | + "APPROVED", |
| 5591 | + "REJECTED" |
| 5592 | + ] |
| 5593 | + }, |
| 5594 | + "ReferenceSummary":{ |
| 5595 | + "type":"structure", |
| 5596 | + "members":{ |
| 5597 | + "Url":{"shape":"UrlReference"}, |
| 5598 | + "Attachment":{"shape":"AttachmentReference"} |
| 5599 | + }, |
| 5600 | + "union":true |
| 5601 | + }, |
| 5602 | + "ReferenceSummaryList":{ |
| 5603 | + "type":"list", |
| 5604 | + "member":{"shape":"ReferenceSummary"} |
| 5605 | + }, |
5403 | 5606 | "ReferenceType":{
|
5404 | 5607 | "type":"string",
|
5405 |
| - "enum":["URL"] |
| 5608 | + "enum":[ |
| 5609 | + "URL", |
| 5610 | + "ATTACHMENT" |
| 5611 | + ] |
| 5612 | + }, |
| 5613 | + "ReferenceTypes":{ |
| 5614 | + "type":"list", |
| 5615 | + "member":{"shape":"ReferenceType"}, |
| 5616 | + "max":2 |
5406 | 5617 | },
|
5407 | 5618 | "ReferenceValue":{
|
5408 | 5619 | "type":"string",
|
|
5772 | 5983 | "ClientToken":{
|
5773 | 5984 | "shape":"ClientToken",
|
5774 | 5985 | "idempotencyToken":true
|
5775 |
| - } |
| 5986 | + }, |
| 5987 | + "ScheduledTime":{"shape":"Timestamp"} |
5776 | 5988 | }
|
5777 | 5989 | },
|
5778 | 5990 | "StartTaskContactResponse":{
|
|
6064 | 6276 | "Description":{"shape":"ContactFlowDescription"}
|
6065 | 6277 | }
|
6066 | 6278 | },
|
| 6279 | + "UpdateContactRequest":{ |
| 6280 | + "type":"structure", |
| 6281 | + "required":[ |
| 6282 | + "InstanceId", |
| 6283 | + "ContactId" |
| 6284 | + ], |
| 6285 | + "members":{ |
| 6286 | + "InstanceId":{ |
| 6287 | + "shape":"InstanceId", |
| 6288 | + "location":"uri", |
| 6289 | + "locationName":"InstanceId" |
| 6290 | + }, |
| 6291 | + "ContactId":{ |
| 6292 | + "shape":"ContactId", |
| 6293 | + "location":"uri", |
| 6294 | + "locationName":"ContactId" |
| 6295 | + }, |
| 6296 | + "Name":{"shape":"Name"}, |
| 6297 | + "Description":{"shape":"Description"}, |
| 6298 | + "References":{"shape":"ContactReferences"} |
| 6299 | + } |
| 6300 | + }, |
| 6301 | + "UpdateContactResponse":{ |
| 6302 | + "type":"structure", |
| 6303 | + "members":{ |
| 6304 | + } |
| 6305 | + }, |
| 6306 | + "UpdateContactScheduleRequest":{ |
| 6307 | + "type":"structure", |
| 6308 | + "required":[ |
| 6309 | + "InstanceId", |
| 6310 | + "ContactId", |
| 6311 | + "ScheduledTime" |
| 6312 | + ], |
| 6313 | + "members":{ |
| 6314 | + "InstanceId":{"shape":"InstanceId"}, |
| 6315 | + "ContactId":{"shape":"ContactId"}, |
| 6316 | + "ScheduledTime":{"shape":"Timestamp"} |
| 6317 | + } |
| 6318 | + }, |
| 6319 | + "UpdateContactScheduleResponse":{ |
| 6320 | + "type":"structure", |
| 6321 | + "members":{ |
| 6322 | + } |
| 6323 | + }, |
6067 | 6324 | "UpdateHoursOfOperationDescription":{
|
6068 | 6325 | "type":"string",
|
6069 | 6326 | "max":250,
|
|
6539 | 6796 | }
|
6540 | 6797 | }
|
6541 | 6798 | },
|
| 6799 | + "UrlReference":{ |
| 6800 | + "type":"structure", |
| 6801 | + "members":{ |
| 6802 | + "Name":{"shape":"ReferenceKey"}, |
| 6803 | + "Value":{"shape":"ReferenceValue"} |
| 6804 | + } |
| 6805 | + }, |
6542 | 6806 | "UseCase":{
|
6543 | 6807 | "type":"structure",
|
6544 | 6808 | "members":{
|
|
0 commit comments