Debian Codegraph @

models/apis/cognito-sync/2014-06-30/api-2.json

raw
1 {
2 "version":"2.0",
3 "metadata":{
4 "apiVersion":"2014-06-30",
5 "endpointPrefix":"cognito-sync",
6 "jsonVersion":"1.1",
7 "protocol":"rest-json",
8 "serviceFullName":"Amazon Cognito Sync",
9 "serviceId":"Cognito Sync",
10 "signatureVersion":"v4",
11 "uid":"cognito-sync-2014-06-30"
12 },
13 "operations":{
14 "BulkPublish":{
15 "name":"BulkPublish",
16 "http":{
17 "method":"POST",
18 "requestUri":"/identitypools/{IdentityPoolId}/bulkpublish",
19 "responseCode":200
20 },
21 "input":{"shape":"BulkPublishRequest"},
22 "output":{"shape":"BulkPublishResponse"},
23 "errors":[
24 {"shape":"NotAuthorizedException"},
25 {"shape":"InvalidParameterException"},
26 {"shape":"ResourceNotFoundException"},
27 {"shape":"InternalErrorException"},
28 {"shape":"DuplicateRequestException"},
29 {"shape":"AlreadyStreamedException"}
30 ]
31 },
32 "DeleteDataset":{
33 "name":"DeleteDataset",
34 "http":{
35 "method":"DELETE",
36 "requestUri":"/identitypools/{IdentityPoolId}/identities/{IdentityId}/datasets/{DatasetName}",
37 "responseCode":200
38 },
39 "input":{"shape":"DeleteDatasetRequest"},
40 "output":{"shape":"DeleteDatasetResponse"},
41 "errors":[
42 {"shape":"NotAuthorizedException"},
43 {"shape":"InvalidParameterException"},
44 {"shape":"ResourceNotFoundException"},
45 {"shape":"InternalErrorException"},
46 {"shape":"TooManyRequestsException"},
47 {"shape":"ResourceConflictException"}
48 ]
49 },
50 "DescribeDataset":{
51 "name":"DescribeDataset",
52 "http":{
53 "method":"GET",
54 "requestUri":"/identitypools/{IdentityPoolId}/identities/{IdentityId}/datasets/{DatasetName}",
55 "responseCode":200
56 },
57 "input":{"shape":"DescribeDatasetRequest"},
58 "output":{"shape":"DescribeDatasetResponse"},
59 "errors":[
60 {"shape":"NotAuthorizedException"},
61 {"shape":"InvalidParameterException"},
62 {"shape":"ResourceNotFoundException"},
63 {"shape":"InternalErrorException"},
64 {"shape":"TooManyRequestsException"}
65 ]
66 },
67 "DescribeIdentityPoolUsage":{
68 "name":"DescribeIdentityPoolUsage",
69 "http":{
70 "method":"GET",
71 "requestUri":"/identitypools/{IdentityPoolId}",
72 "responseCode":200
73 },
74 "input":{"shape":"DescribeIdentityPoolUsageRequest"},
75 "output":{"shape":"DescribeIdentityPoolUsageResponse"},
76 "errors":[
77 {"shape":"NotAuthorizedException"},
78 {"shape":"InvalidParameterException"},
79 {"shape":"ResourceNotFoundException"},
80 {"shape":"InternalErrorException"},
81 {"shape":"TooManyRequestsException"}
82 ]
83 },
84 "DescribeIdentityUsage":{
85 "name":"DescribeIdentityUsage",
86 "http":{
87 "method":"GET",
88 "requestUri":"/identitypools/{IdentityPoolId}/identities/{IdentityId}",
89 "responseCode":200
90 },
91 "input":{"shape":"DescribeIdentityUsageRequest"},
92 "output":{"shape":"DescribeIdentityUsageResponse"},
93 "errors":[
94 {"shape":"NotAuthorizedException"},
95 {"shape":"InvalidParameterException"},
96 {"shape":"ResourceNotFoundException"},
97 {"shape":"InternalErrorException"},
98 {"shape":"TooManyRequestsException"}
99 ]
100 },
101 "GetBulkPublishDetails":{
102 "name":"GetBulkPublishDetails",
103 "http":{
104 "method":"POST",
105 "requestUri":"/identitypools/{IdentityPoolId}/getBulkPublishDetails",
106 "responseCode":200
107 },
108 "input":{"shape":"GetBulkPublishDetailsRequest"},
109 "output":{"shape":"GetBulkPublishDetailsResponse"},
110 "errors":[
111 {"shape":"NotAuthorizedException"},
112 {"shape":"InvalidParameterException"},
113 {"shape":"ResourceNotFoundException"},
114 {"shape":"InternalErrorException"}
115 ]
116 },
117 "GetCognitoEvents":{
118 "name":"GetCognitoEvents",
119 "http":{
120 "method":"GET",
121 "requestUri":"/identitypools/{IdentityPoolId}/events",
122 "responseCode":200
123 },
124 "input":{"shape":"GetCognitoEventsRequest"},
125 "output":{"shape":"GetCognitoEventsResponse"},
126 "errors":[
127 {"shape":"InvalidParameterException"},
128 {"shape":"ResourceNotFoundException"},
129 {"shape":"NotAuthorizedException"},
130 {"shape":"InternalErrorException"},
131 {"shape":"TooManyRequestsException"}
132 ]
133 },
134 "GetIdentityPoolConfiguration":{
135 "name":"GetIdentityPoolConfiguration",
136 "http":{
137 "method":"GET",
138 "requestUri":"/identitypools/{IdentityPoolId}/configuration",
139 "responseCode":200
140 },
141 "input":{"shape":"GetIdentityPoolConfigurationRequest"},
142 "output":{"shape":"GetIdentityPoolConfigurationResponse"},
143 "errors":[
144 {"shape":"NotAuthorizedException"},
145 {"shape":"InvalidParameterException"},
146 {"shape":"ResourceNotFoundException"},
147 {"shape":"InternalErrorException"},
148 {"shape":"TooManyRequestsException"}
149 ]
150 },
151 "ListDatasets":{
152 "name":"ListDatasets",
153 "http":{
154 "method":"GET",
155 "requestUri":"/identitypools/{IdentityPoolId}/identities/{IdentityId}/datasets",
156 "responseCode":200
157 },
158 "input":{"shape":"ListDatasetsRequest"},
159 "output":{"shape":"ListDatasetsResponse"},
160 "errors":[
161 {"shape":"NotAuthorizedException"},
162 {"shape":"InvalidParameterException"},
163 {"shape":"InternalErrorException"},
164 {"shape":"TooManyRequestsException"}
165 ]
166 },
167 "ListIdentityPoolUsage":{
168 "name":"ListIdentityPoolUsage",
169 "http":{
170 "method":"GET",
171 "requestUri":"/identitypools",
172 "responseCode":200
173 },
174 "input":{"shape":"ListIdentityPoolUsageRequest"},
175 "output":{"shape":"ListIdentityPoolUsageResponse"},
176 "errors":[
177 {"shape":"NotAuthorizedException"},
178 {"shape":"InvalidParameterException"},
179 {"shape":"InternalErrorException"},
180 {"shape":"TooManyRequestsException"}
181 ]
182 },
183 "ListRecords":{
184 "name":"ListRecords",
185 "http":{
186 "method":"GET",
187 "requestUri":"/identitypools/{IdentityPoolId}/identities/{IdentityId}/datasets/{DatasetName}/records",
188 "responseCode":200
189 },
190 "input":{"shape":"ListRecordsRequest"},
191 "output":{"shape":"ListRecordsResponse"},
192 "errors":[
193 {"shape":"InvalidParameterException"},
194 {"shape":"NotAuthorizedException"},
195 {"shape":"TooManyRequestsException"},
196 {"shape":"InternalErrorException"}
197 ]
198 },
199 "RegisterDevice":{
200 "name":"RegisterDevice",
201 "http":{
202 "method":"POST",
203 "requestUri":"/identitypools/{IdentityPoolId}/identity/{IdentityId}/device",
204 "responseCode":200
205 },
206 "input":{"shape":"RegisterDeviceRequest"},
207 "output":{"shape":"RegisterDeviceResponse"},
208 "errors":[
209 {"shape":"NotAuthorizedException"},
210 {"shape":"InvalidParameterException"},
211 {"shape":"ResourceNotFoundException"},
212 {"shape":"InternalErrorException"},
213 {"shape":"InvalidConfigurationException"},
214 {"shape":"TooManyRequestsException"}
215 ]
216 },
217 "SetCognitoEvents":{
218 "name":"SetCognitoEvents",
219 "http":{
220 "method":"POST",
221 "requestUri":"/identitypools/{IdentityPoolId}/events",
222 "responseCode":200
223 },
224 "input":{"shape":"SetCognitoEventsRequest"},
225 "errors":[
226 {"shape":"InvalidParameterException"},
227 {"shape":"ResourceNotFoundException"},
228 {"shape":"NotAuthorizedException"},
229 {"shape":"InternalErrorException"},
230 {"shape":"TooManyRequestsException"}
231 ]
232 },
233 "SetIdentityPoolConfiguration":{
234 "name":"SetIdentityPoolConfiguration",
235 "http":{
236 "method":"POST",
237 "requestUri":"/identitypools/{IdentityPoolId}/configuration",
238 "responseCode":200
239 },
240 "input":{"shape":"SetIdentityPoolConfigurationRequest"},
241 "output":{"shape":"SetIdentityPoolConfigurationResponse"},
242 "errors":[
243 {"shape":"NotAuthorizedException"},
244 {"shape":"InvalidParameterException"},
245 {"shape":"ResourceNotFoundException"},
246 {"shape":"InternalErrorException"},
247 {"shape":"TooManyRequestsException"},
248 {"shape":"ConcurrentModificationException"}
249 ]
250 },
251 "SubscribeToDataset":{
252 "name":"SubscribeToDataset",
253 "http":{
254 "method":"POST",
255 "requestUri":"/identitypools/{IdentityPoolId}/identities/{IdentityId}/datasets/{DatasetName}/subscriptions/{DeviceId}",
256 "responseCode":200
257 },
258 "input":{"shape":"SubscribeToDatasetRequest"},
259 "output":{"shape":"SubscribeToDatasetResponse"},
260 "errors":[
261 {"shape":"NotAuthorizedException"},
262 {"shape":"InvalidParameterException"},
263 {"shape":"ResourceNotFoundException"},
264 {"shape":"InternalErrorException"},
265 {"shape":"InvalidConfigurationException"},
266 {"shape":"TooManyRequestsException"}
267 ]
268 },
269 "UnsubscribeFromDataset":{
270 "name":"UnsubscribeFromDataset",
271 "http":{
272 "method":"DELETE",
273 "requestUri":"/identitypools/{IdentityPoolId}/identities/{IdentityId}/datasets/{DatasetName}/subscriptions/{DeviceId}",
274 "responseCode":200
275 },
276 "input":{"shape":"UnsubscribeFromDatasetRequest"},
277 "output":{"shape":"UnsubscribeFromDatasetResponse"},
278 "errors":[
279 {"shape":"NotAuthorizedException"},
280 {"shape":"InvalidParameterException"},
281 {"shape":"ResourceNotFoundException"},
282 {"shape":"InternalErrorException"},
283 {"shape":"InvalidConfigurationException"},
284 {"shape":"TooManyRequestsException"}
285 ]
286 },
287 "UpdateRecords":{
288 "name":"UpdateRecords",
289 "http":{
290 "method":"POST",
291 "requestUri":"/identitypools/{IdentityPoolId}/identities/{IdentityId}/datasets/{DatasetName}",
292 "responseCode":200
293 },
294 "input":{"shape":"UpdateRecordsRequest"},
295 "output":{"shape":"UpdateRecordsResponse"},
296 "errors":[
297 {"shape":"InvalidParameterException"},
298 {"shape":"LimitExceededException"},
299 {"shape":"NotAuthorizedException"},
300 {"shape":"ResourceNotFoundException"},
301 {"shape":"ResourceConflictException"},
302 {"shape":"InvalidLambdaFunctionOutputException"},
303 {"shape":"LambdaThrottledException"},
304 {"shape":"TooManyRequestsException"},
305 {"shape":"InternalErrorException"}
306 ]
307 }
308 },
309 "shapes":{
310 "AlreadyStreamedException":{
311 "type":"structure",
312 "required":["message"],
313 "members":{
314 "message":{"shape":"ExceptionMessage"}
315 },
316 "error":{"httpStatusCode":400},
317 "exception":true
318 },
319 "ApplicationArn":{
320 "type":"string",
321 "pattern":"arn:aws:sns:[-0-9a-z]+:\\d+:app/[A-Z_]+/[a-zA-Z0-9_.-]+"
322 },
323 "ApplicationArnList":{
324 "type":"list",
325 "member":{"shape":"ApplicationArn"}
326 },
327 "AssumeRoleArn":{
328 "type":"string",
329 "max":2048,
330 "min":20,
331 "pattern":"arn:aws:iam::\\d+:role/.*"
332 },
333 "Boolean":{"type":"boolean"},
334 "BulkPublishRequest":{
335 "type":"structure",
336 "required":["IdentityPoolId"],
337 "members":{
338 "IdentityPoolId":{
339 "shape":"IdentityPoolId",
340 "location":"uri",
341 "locationName":"IdentityPoolId"
342 }
343 }
344 },
345 "BulkPublishResponse":{
346 "type":"structure",
347 "members":{
348 "IdentityPoolId":{"shape":"IdentityPoolId"}
349 }
350 },
351 "BulkPublishStatus":{
352 "type":"string",
353 "enum":[
354 "NOT_STARTED",
355 "IN_PROGRESS",
356 "FAILED",
357 "SUCCEEDED"
358 ]
359 },
360 "ClientContext":{"type":"string"},
361 "CognitoEventType":{"type":"string"},
362 "CognitoStreams":{
363 "type":"structure",
364 "members":{
365 "StreamName":{"shape":"StreamName"},
366 "RoleArn":{"shape":"AssumeRoleArn"},
367 "StreamingStatus":{"shape":"StreamingStatus"}
368 }
369 },
370 "ConcurrentModificationException":{
371 "type":"structure",
372 "required":["message"],
373 "members":{
374 "message":{"shape":"String"}
375 },
376 "error":{"httpStatusCode":400},
377 "exception":true
378 },
379 "Dataset":{
380 "type":"structure",
381 "members":{
382 "IdentityId":{"shape":"IdentityId"},
383 "DatasetName":{"shape":"DatasetName"},
384 "CreationDate":{"shape":"Date"},
385 "LastModifiedDate":{"shape":"Date"},
386 "LastModifiedBy":{"shape":"String"},
387 "DataStorage":{"shape":"Long"},
388 "NumRecords":{"shape":"Long"}
389 }
390 },
391 "DatasetList":{
392 "type":"list",
393 "member":{"shape":"Dataset"}
394 },
395 "DatasetName":{
396 "type":"string",
397 "max":128,
398 "min":1,
399 "pattern":"[a-zA-Z0-9_.:-]+"
400 },
401 "Date":{"type":"timestamp"},
402 "DeleteDatasetRequest":{
403 "type":"structure",
404 "required":[
405 "IdentityPoolId",
406 "IdentityId",
407 "DatasetName"
408 ],
409 "members":{
410 "IdentityPoolId":{
411 "shape":"IdentityPoolId",
412 "location":"uri",
413 "locationName":"IdentityPoolId"
414 },
415 "IdentityId":{
416 "shape":"IdentityId",
417 "location":"uri",
418 "locationName":"IdentityId"
419 },
420 "DatasetName":{
421 "shape":"DatasetName",
422 "location":"uri",
423 "locationName":"DatasetName"
424 }
425 }
426 },
427 "DeleteDatasetResponse":{
428 "type":"structure",
429 "members":{
430 "Dataset":{"shape":"Dataset"}
431 }
432 },
433 "DescribeDatasetRequest":{
434 "type":"structure",
435 "required":[
436 "IdentityPoolId",
437 "IdentityId",
438 "DatasetName"
439 ],
440 "members":{
441 "IdentityPoolId":{
442 "shape":"IdentityPoolId",
443 "location":"uri",
444 "locationName":"IdentityPoolId"
445 },
446 "IdentityId":{
447 "shape":"IdentityId",
448 "location":"uri",
449 "locationName":"IdentityId"
450 },
451 "DatasetName":{
452 "shape":"DatasetName",
453 "location":"uri",
454 "locationName":"DatasetName"
455 }
456 }
457 },
458 "DescribeDatasetResponse":{
459 "type":"structure",
460 "members":{
461 "Dataset":{"shape":"Dataset"}
462 }
463 },
464 "DescribeIdentityPoolUsageRequest":{
465 "type":"structure",
466 "required":["IdentityPoolId"],
467 "members":{
468 "IdentityPoolId":{
469 "shape":"IdentityPoolId",
470 "location":"uri",
471 "locationName":"IdentityPoolId"
472 }
473 }
474 },
475 "DescribeIdentityPoolUsageResponse":{
476 "type":"structure",
477 "members":{
478 "IdentityPoolUsage":{"shape":"IdentityPoolUsage"}
479 }
480 },
481 "DescribeIdentityUsageRequest":{
482 "type":"structure",
483 "required":[
484 "IdentityPoolId",
485 "IdentityId"
486 ],
487 "members":{
488 "IdentityPoolId":{
489 "shape":"IdentityPoolId",
490 "location":"uri",
491 "locationName":"IdentityPoolId"
492 },
493 "IdentityId":{
494 "shape":"IdentityId",
495 "location":"uri",
496 "locationName":"IdentityId"
497 }
498 }
499 },
500 "DescribeIdentityUsageResponse":{
501 "type":"structure",
502 "members":{
503 "IdentityUsage":{"shape":"IdentityUsage"}
504 }
505 },
506 "DeviceId":{
507 "type":"string",
508 "max":256,
509 "min":1
510 },
511 "DuplicateRequestException":{
512 "type":"structure",
513 "required":["message"],
514 "members":{
515 "message":{"shape":"ExceptionMessage"}
516 },
517 "error":{"httpStatusCode":400},
518 "exception":true
519 },
520 "Events":{
521 "type":"map",
522 "key":{"shape":"CognitoEventType"},
523 "value":{"shape":"LambdaFunctionArn"},
524 "max":1
525 },
526 "ExceptionMessage":{"type":"string"},
527 "GetBulkPublishDetailsRequest":{
528 "type":"structure",
529 "required":["IdentityPoolId"],
530 "members":{
531 "IdentityPoolId":{
532 "shape":"IdentityPoolId",
533 "location":"uri",
534 "locationName":"IdentityPoolId"
535 }
536 }
537 },
538 "GetBulkPublishDetailsResponse":{
539 "type":"structure",
540 "members":{
541 "IdentityPoolId":{"shape":"IdentityPoolId"},
542 "BulkPublishStartTime":{"shape":"Date"},
543 "BulkPublishCompleteTime":{"shape":"Date"},
544 "BulkPublishStatus":{"shape":"BulkPublishStatus"},
545 "FailureMessage":{"shape":"String"}
546 }
547 },
548 "GetCognitoEventsRequest":{
549 "type":"structure",
550 "required":["IdentityPoolId"],
551 "members":{
552 "IdentityPoolId":{
553 "shape":"IdentityPoolId",
554 "location":"uri",
555 "locationName":"IdentityPoolId"
556 }
557 }
558 },
559 "GetCognitoEventsResponse":{
560 "type":"structure",
561 "members":{
562 "Events":{"shape":"Events"}
563 }
564 },
565 "GetIdentityPoolConfigurationRequest":{
566 "type":"structure",
567 "required":["IdentityPoolId"],
568 "members":{
569 "IdentityPoolId":{
570 "shape":"IdentityPoolId",
571 "location":"uri",
572 "locationName":"IdentityPoolId"
573 }
574 }
575 },
576 "GetIdentityPoolConfigurationResponse":{
577 "type":"structure",
578 "members":{
579 "IdentityPoolId":{"shape":"IdentityPoolId"},
580 "PushSync":{"shape":"PushSync"},
581 "CognitoStreams":{"shape":"CognitoStreams"}
582 }
583 },
584 "IdentityId":{
585 "type":"string",
586 "max":55,
587 "min":1,
588 "pattern":"[\\w-]+:[0-9a-f-]+"
589 },
590 "IdentityPoolId":{
591 "type":"string",
592 "max":55,
593 "min":1,
594 "pattern":"[\\w-]+:[0-9a-f-]+"
595 },
596 "IdentityPoolUsage":{
597 "type":"structure",
598 "members":{
599 "IdentityPoolId":{"shape":"IdentityPoolId"},
600 "SyncSessionsCount":{"shape":"Long"},
601 "DataStorage":{"shape":"Long"},
602 "LastModifiedDate":{"shape":"Date"}
603 }
604 },
605 "IdentityPoolUsageList":{
606 "type":"list",
607 "member":{"shape":"IdentityPoolUsage"}
608 },
609 "IdentityUsage":{
610 "type":"structure",
611 "members":{
612 "IdentityId":{"shape":"IdentityId"},
613 "IdentityPoolId":{"shape":"IdentityPoolId"},
614 "LastModifiedDate":{"shape":"Date"},
615 "DatasetCount":{"shape":"Integer"},
616 "DataStorage":{"shape":"Long"}
617 }
618 },
619 "Integer":{"type":"integer"},
620 "IntegerString":{"type":"integer"},
621 "InternalErrorException":{
622 "type":"structure",
623 "required":["message"],
624 "members":{
625 "message":{"shape":"ExceptionMessage"}
626 },
627 "error":{"httpStatusCode":500},
628 "exception":true,
629 "fault":true
630 },
631 "InvalidConfigurationException":{
632 "type":"structure",
633 "required":["message"],
634 "members":{
635 "message":{"shape":"ExceptionMessage"}
636 },
637 "error":{"httpStatusCode":400},
638 "exception":true
639 },
640 "InvalidLambdaFunctionOutputException":{
641 "type":"structure",
642 "required":["message"],
643 "members":{
644 "message":{"shape":"ExceptionMessage"}
645 },
646 "error":{"httpStatusCode":400},
647 "exception":true
648 },
649 "InvalidParameterException":{
650 "type":"structure",
651 "required":["message"],
652 "members":{
653 "message":{"shape":"ExceptionMessage"}
654 },
655 "error":{"httpStatusCode":400},
656 "exception":true
657 },
658 "LambdaFunctionArn":{"type":"string"},
659 "LambdaThrottledException":{
660 "type":"structure",
661 "required":["message"],
662 "members":{
663 "message":{"shape":"ExceptionMessage"}
664 },
665 "error":{"httpStatusCode":429},
666 "exception":true
667 },
668 "LimitExceededException":{
669 "type":"structure",
670 "required":["message"],
671 "members":{
672 "message":{"shape":"ExceptionMessage"}
673 },
674 "error":{"httpStatusCode":400},
675 "exception":true
676 },
677 "ListDatasetsRequest":{
678 "type":"structure",
679 "required":[
680 "IdentityId",
681 "IdentityPoolId"
682 ],
683 "members":{
684 "IdentityPoolId":{
685 "shape":"IdentityPoolId",
686 "location":"uri",
687 "locationName":"IdentityPoolId"
688 },
689 "IdentityId":{
690 "shape":"IdentityId",
691 "location":"uri",
692 "locationName":"IdentityId"
693 },
694 "NextToken":{
695 "shape":"String",
696 "location":"querystring",
697 "locationName":"nextToken"
698 },
699 "MaxResults":{
700 "shape":"IntegerString",
701 "location":"querystring",
702 "locationName":"maxResults"
703 }
704 }
705 },
706 "ListDatasetsResponse":{
707 "type":"structure",
708 "members":{
709 "Datasets":{"shape":"DatasetList"},
710 "Count":{"shape":"Integer"},
711 "NextToken":{"shape":"String"}
712 }
713 },
714 "ListIdentityPoolUsageRequest":{
715 "type":"structure",
716 "members":{
717 "NextToken":{
718 "shape":"String",
719 "location":"querystring",
720 "locationName":"nextToken"
721 },
722 "MaxResults":{
723 "shape":"IntegerString",
724 "location":"querystring",
725 "locationName":"maxResults"
726 }
727 }
728 },
729 "ListIdentityPoolUsageResponse":{
730 "type":"structure",
731 "members":{
732 "IdentityPoolUsages":{"shape":"IdentityPoolUsageList"},
733 "MaxResults":{"shape":"Integer"},
734 "Count":{"shape":"Integer"},
735 "NextToken":{"shape":"String"}
736 }
737 },
738 "ListRecordsRequest":{
739 "type":"structure",
740 "required":[
741 "IdentityPoolId",
742 "IdentityId",
743 "DatasetName"
744 ],
745 "members":{
746 "IdentityPoolId":{
747 "shape":"IdentityPoolId",
748 "location":"uri",
749 "locationName":"IdentityPoolId"
750 },
751 "IdentityId":{
752 "shape":"IdentityId",
753 "location":"uri",
754 "locationName":"IdentityId"
755 },
756 "DatasetName":{
757 "shape":"DatasetName",
758 "location":"uri",
759 "locationName":"DatasetName"
760 },
761 "LastSyncCount":{
762 "shape":"Long",
763 "location":"querystring",
764 "locationName":"lastSyncCount"
765 },
766 "NextToken":{
767 "shape":"String",
768 "location":"querystring",
769 "locationName":"nextToken"
770 },
771 "MaxResults":{
772 "shape":"IntegerString",
773 "location":"querystring",
774 "locationName":"maxResults"
775 },
776 "SyncSessionToken":{
777 "shape":"SyncSessionToken",
778 "location":"querystring",
779 "locationName":"syncSessionToken"
780 }
781 }
782 },
783 "ListRecordsResponse":{
784 "type":"structure",
785 "members":{
786 "Records":{"shape":"RecordList"},
787 "NextToken":{"shape":"String"},
788 "Count":{"shape":"Integer"},
789 "DatasetSyncCount":{"shape":"Long"},
790 "LastModifiedBy":{"shape":"String"},
791 "MergedDatasetNames":{"shape":"MergedDatasetNameList"},
792 "DatasetExists":{"shape":"Boolean"},
793 "DatasetDeletedAfterRequestedSyncCount":{"shape":"Boolean"},
794 "SyncSessionToken":{"shape":"String"}
795 }
796 },
797 "Long":{"type":"long"},
798 "MergedDatasetNameList":{
799 "type":"list",
800 "member":{"shape":"String"}
801 },
802 "NotAuthorizedException":{
803 "type":"structure",
804 "required":["message"],
805 "members":{
806 "message":{"shape":"ExceptionMessage"}
807 },
808 "error":{"httpStatusCode":403},
809 "exception":true
810 },
811 "Operation":{
812 "type":"string",
813 "enum":[
814 "replace",
815 "remove"
816 ]
817 },
818 "Platform":{
819 "type":"string",
820 "enum":[
821 "APNS",
822 "APNS_SANDBOX",
823 "GCM",
824 "ADM"
825 ]
826 },
827 "PushSync":{
828 "type":"structure",
829 "members":{
830 "ApplicationArns":{"shape":"ApplicationArnList"},
831 "RoleArn":{"shape":"AssumeRoleArn"}
832 }
833 },
834 "PushToken":{"type":"string"},
835 "Record":{
836 "type":"structure",
837 "members":{
838 "Key":{"shape":"RecordKey"},
839 "Value":{"shape":"RecordValue"},
840 "SyncCount":{"shape":"Long"},
841 "LastModifiedDate":{"shape":"Date"},
842 "LastModifiedBy":{"shape":"String"},
843 "DeviceLastModifiedDate":{"shape":"Date"}
844 }
845 },
846 "RecordKey":{
847 "type":"string",
848 "max":1024,
849 "min":1
850 },
851 "RecordList":{
852 "type":"list",
853 "member":{"shape":"Record"}
854 },
855 "RecordPatch":{
856 "type":"structure",
857 "required":[
858 "Op",
859 "Key",
860 "SyncCount"
861 ],
862 "members":{
863 "Op":{"shape":"Operation"},
864 "Key":{"shape":"RecordKey"},
865 "Value":{"shape":"RecordValue"},
866 "SyncCount":{"shape":"Long"},
867 "DeviceLastModifiedDate":{"shape":"Date"}
868 }
869 },
870 "RecordPatchList":{
871 "type":"list",
872 "member":{"shape":"RecordPatch"}
873 },
874 "RecordValue":{
875 "type":"string",
876 "max":1048575
877 },
878 "RegisterDeviceRequest":{
879 "type":"structure",
880 "required":[
881 "IdentityPoolId",
882 "IdentityId",
883 "Platform",
884 "Token"
885 ],
886 "members":{
887 "IdentityPoolId":{
888 "shape":"IdentityPoolId",
889 "location":"uri",
890 "locationName":"IdentityPoolId"
891 },
892 "IdentityId":{
893 "shape":"IdentityId",
894 "location":"uri",
895 "locationName":"IdentityId"
896 },
897 "Platform":{"shape":"Platform"},
898 "Token":{"shape":"PushToken"}
899 }
900 },
901 "RegisterDeviceResponse":{
902 "type":"structure",
903 "members":{
904 "DeviceId":{"shape":"DeviceId"}
905 }
906 },
907 "ResourceConflictException":{
908 "type":"structure",
909 "required":["message"],
910 "members":{
911 "message":{"shape":"ExceptionMessage"}
912 },
913 "error":{"httpStatusCode":409},
914 "exception":true
915 },
916 "ResourceNotFoundException":{
917 "type":"structure",
918 "required":["message"],
919 "members":{
920 "message":{"shape":"ExceptionMessage"}
921 },
922 "error":{"httpStatusCode":404},
923 "exception":true
924 },
925 "SetCognitoEventsRequest":{
926 "type":"structure",
927 "required":[
928 "IdentityPoolId",
929 "Events"
930 ],
931 "members":{
932 "IdentityPoolId":{
933 "shape":"IdentityPoolId",
934 "location":"uri",
935 "locationName":"IdentityPoolId"
936 },
937 "Events":{"shape":"Events"}
938 }
939 },
940 "SetIdentityPoolConfigurationRequest":{
941 "type":"structure",
942 "required":["IdentityPoolId"],
943 "members":{
944 "IdentityPoolId":{
945 "shape":"IdentityPoolId",
946 "location":"uri",
947 "locationName":"IdentityPoolId"
948 },
949 "PushSync":{"shape":"PushSync"},
950 "CognitoStreams":{"shape":"CognitoStreams"}
951 }
952 },
953 "SetIdentityPoolConfigurationResponse":{
954 "type":"structure",
955 "members":{
956 "IdentityPoolId":{"shape":"IdentityPoolId"},
957 "PushSync":{"shape":"PushSync"},
958 "CognitoStreams":{"shape":"CognitoStreams"}
959 }
960 },
961 "StreamName":{
962 "type":"string",
963 "max":128,
964 "min":1
965 },
966 "StreamingStatus":{
967 "type":"string",
968 "enum":[
969 "ENABLED",
970 "DISABLED"
971 ]
972 },
973 "String":{"type":"string"},
974 "SubscribeToDatasetRequest":{
975 "type":"structure",
976 "required":[
977 "IdentityPoolId",
978 "IdentityId",
979 "DatasetName",
980 "DeviceId"
981 ],
982 "members":{
983 "IdentityPoolId":{
984 "shape":"IdentityPoolId",
985 "location":"uri",
986 "locationName":"IdentityPoolId"
987 },
988 "IdentityId":{
989 "shape":"IdentityId",
990 "location":"uri",
991 "locationName":"IdentityId"
992 },
993 "DatasetName":{
994 "shape":"DatasetName",
995 "location":"uri",
996 "locationName":"DatasetName"
997 },
998 "DeviceId":{
999 "shape":"DeviceId",
1000 "location":"uri",
1001 "locationName":"DeviceId"
1002 }
1003 }
1004 },
1005 "SubscribeToDatasetResponse":{
1006 "type":"structure",
1007 "members":{
1008 }
1009 },
1010 "SyncSessionToken":{"type":"string"},
1011 "TooManyRequestsException":{
1012 "type":"structure",
1013 "required":["message"],
1014 "members":{
1015 "message":{"shape":"ExceptionMessage"}
1016 },
1017 "error":{"httpStatusCode":429},
1018 "exception":true
1019 },
1020 "UnsubscribeFromDatasetRequest":{
1021 "type":"structure",
1022 "required":[
1023 "IdentityPoolId",
1024 "IdentityId",
1025 "DatasetName",
1026 "DeviceId"
1027 ],
1028 "members":{
1029 "IdentityPoolId":{
1030 "shape":"IdentityPoolId",
1031 "location":"uri",
1032 "locationName":"IdentityPoolId"
1033 },
1034 "IdentityId":{
1035 "shape":"IdentityId",
1036 "location":"uri",
1037 "locationName":"IdentityId"
1038 },
1039 "DatasetName":{
1040 "shape":"DatasetName",
1041 "location":"uri",
1042 "locationName":"DatasetName"
1043 },
1044 "DeviceId":{
1045 "shape":"DeviceId",
1046 "location":"uri",
1047 "locationName":"DeviceId"
1048 }
1049 }
1050 },
1051 "UnsubscribeFromDatasetResponse":{
1052 "type":"structure",
1053 "members":{
1054 }
1055 },
1056 "UpdateRecordsRequest":{
1057 "type":"structure",
1058 "required":[
1059 "IdentityPoolId",
1060 "IdentityId",
1061 "DatasetName",
1062 "SyncSessionToken"
1063 ],
1064 "members":{
1065 "IdentityPoolId":{
1066 "shape":"IdentityPoolId",
1067 "location":"uri",
1068 "locationName":"IdentityPoolId"
1069 },
1070 "IdentityId":{
1071 "shape":"IdentityId",
1072 "location":"uri",
1073 "locationName":"IdentityId"
1074 },
1075 "DatasetName":{
1076 "shape":"DatasetName",
1077 "location":"uri",
1078 "locationName":"DatasetName"
1079 },
1080 "DeviceId":{"shape":"DeviceId"},
1081 "RecordPatches":{"shape":"RecordPatchList"},
1082 "SyncSessionToken":{"shape":"SyncSessionToken"},
1083 "ClientContext":{
1084 "shape":"ClientContext",
1085 "location":"header",
1086 "locationName":"x-amz-Client-Context"
1087 }
1088 }
1089 },
1090 "UpdateRecordsResponse":{
1091 "type":"structure",
1092 "members":{
1093 "Records":{"shape":"RecordList"}
1094 }
1095 }
1096 }
1097 }