forked from aws/aws-sdk-go-v2
/
mobile.json
1249 lines (1249 loc) · 52.1 KB
/
mobile.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
{
"smithy": "1.0",
"metadata": {
"suppressions": [
{
"id": "HttpMethodSemantics",
"namespace": "*"
},
{
"id": "HttpResponseCodeSemantics",
"namespace": "*"
},
{
"id": "PaginatedTrait",
"namespace": "*"
},
{
"id": "HttpHeaderTrait",
"namespace": "*"
},
{
"id": "HttpUriConflict",
"namespace": "*"
},
{
"id": "Service",
"namespace": "*"
}
]
},
"shapes": {
"com.amazonaws.mobile#AWSMobileService": {
"type": "service",
"version": "2017-07-01",
"operations": [
{
"target": "com.amazonaws.mobile#CreateProject"
},
{
"target": "com.amazonaws.mobile#DeleteProject"
},
{
"target": "com.amazonaws.mobile#DescribeBundle"
},
{
"target": "com.amazonaws.mobile#DescribeProject"
},
{
"target": "com.amazonaws.mobile#ExportBundle"
},
{
"target": "com.amazonaws.mobile#ExportProject"
},
{
"target": "com.amazonaws.mobile#ListBundles"
},
{
"target": "com.amazonaws.mobile#ListProjects"
},
{
"target": "com.amazonaws.mobile#UpdateProject"
}
],
"traits": {
"aws.api#service": {
"sdkId": "Mobile",
"arnNamespace": "awsmobilehubservice",
"cloudFormationName": "Mobile",
"cloudTrailEventSource": "mobile.amazonaws.com",
"endpointPrefix": "mobile"
},
"aws.auth#sigv4": {
"name": "AWSMobileHubService"
},
"aws.protocols#restJson1": {},
"smithy.api#documentation": "<p>\n AWS Mobile Service provides mobile app and website developers with capabilities\n required to configure AWS resources and bootstrap their developer desktop projects\n with the necessary SDKs, constants, tools and samples to make use of those resources.\n </p>",
"smithy.api#title": "AWS Mobile",
"smithy.api#xmlNamespace": {
"uri": "http://mobile.amazonaws.com"
}
}
},
"com.amazonaws.mobile#AccountActionRequiredException": {
"type": "structure",
"members": {
"message": {
"target": "com.amazonaws.mobile#ErrorMessage"
}
},
"traits": {
"smithy.api#documentation": "<p>\n Account Action is required in order to continue the request.\n </p>",
"smithy.api#error": "client",
"smithy.api#httpError": 403
}
},
"com.amazonaws.mobile#AttributeKey": {
"type": "string",
"traits": {
"smithy.api#documentation": "<p>\n Key part of key-value attribute pairs.\n </p>"
}
},
"com.amazonaws.mobile#AttributeValue": {
"type": "string",
"traits": {
"smithy.api#documentation": "<p>\n Value part of key-value attribute pairs.\n </p>"
}
},
"com.amazonaws.mobile#Attributes": {
"type": "map",
"key": {
"target": "com.amazonaws.mobile#AttributeKey"
},
"value": {
"target": "com.amazonaws.mobile#AttributeValue"
},
"traits": {
"smithy.api#documentation": "<p>\n Key-value attribute pairs.\n </p>"
}
},
"com.amazonaws.mobile#BadRequestException": {
"type": "structure",
"members": {
"message": {
"target": "com.amazonaws.mobile#ErrorMessage"
}
},
"traits": {
"smithy.api#documentation": "<p>\n The request cannot be processed because some parameter is not valid or the project\n state prevents the operation from being performed.\n </p>",
"smithy.api#error": "client",
"smithy.api#httpError": 400
}
},
"com.amazonaws.mobile#Boolean": {
"type": "boolean"
},
"com.amazonaws.mobile#BundleDescription": {
"type": "string",
"traits": {
"smithy.api#documentation": "<p>\n Description of the download bundle.\n </p>"
}
},
"com.amazonaws.mobile#BundleDetails": {
"type": "structure",
"members": {
"bundleId": {
"target": "com.amazonaws.mobile#BundleId"
},
"title": {
"target": "com.amazonaws.mobile#BundleTitle"
},
"version": {
"target": "com.amazonaws.mobile#BundleVersion"
},
"description": {
"target": "com.amazonaws.mobile#BundleDescription"
},
"iconUrl": {
"target": "com.amazonaws.mobile#IconUrl"
},
"availablePlatforms": {
"target": "com.amazonaws.mobile#Platforms"
}
},
"traits": {
"smithy.api#documentation": "<p>\n The details of the bundle.\n </p>"
}
},
"com.amazonaws.mobile#BundleId": {
"type": "string",
"traits": {
"smithy.api#documentation": "<p>\n Unique bundle identifier.\n </p>"
}
},
"com.amazonaws.mobile#BundleList": {
"type": "list",
"member": {
"target": "com.amazonaws.mobile#BundleDetails"
},
"traits": {
"smithy.api#documentation": "<p>\n A list of bundles.\n </p>"
}
},
"com.amazonaws.mobile#BundleTitle": {
"type": "string",
"traits": {
"smithy.api#documentation": "<p>\n Title of the download bundle.\n </p>"
}
},
"com.amazonaws.mobile#BundleVersion": {
"type": "string",
"traits": {
"smithy.api#documentation": "<p>\n Version of the download bundle.\n </p>"
}
},
"com.amazonaws.mobile#ConsoleUrl": {
"type": "string"
},
"com.amazonaws.mobile#Contents": {
"type": "blob",
"traits": {
"smithy.api#documentation": "<p>\n Binary file data.\n </p>"
}
},
"com.amazonaws.mobile#CreateProject": {
"type": "operation",
"input": {
"target": "com.amazonaws.mobile#CreateProjectRequest"
},
"output": {
"target": "com.amazonaws.mobile#CreateProjectResult"
},
"errors": [
{
"target": "com.amazonaws.mobile#BadRequestException"
},
{
"target": "com.amazonaws.mobile#InternalFailureException"
},
{
"target": "com.amazonaws.mobile#LimitExceededException"
},
{
"target": "com.amazonaws.mobile#NotFoundException"
},
{
"target": "com.amazonaws.mobile#ServiceUnavailableException"
},
{
"target": "com.amazonaws.mobile#TooManyRequestsException"
},
{
"target": "com.amazonaws.mobile#UnauthorizedException"
}
],
"traits": {
"smithy.api#documentation": "<p>\n Creates an AWS Mobile Hub project.\n </p>",
"smithy.api#http": {
"method": "POST",
"uri": "/projects",
"code": 200
}
}
},
"com.amazonaws.mobile#CreateProjectRequest": {
"type": "structure",
"members": {
"name": {
"target": "com.amazonaws.mobile#ProjectName",
"traits": {
"smithy.api#documentation": "<p>\n Name of the project.\n </p>",
"smithy.api#httpQuery": "name"
}
},
"region": {
"target": "com.amazonaws.mobile#ProjectRegion",
"traits": {
"smithy.api#documentation": "<p>\n Default region where project resources should be created.\n </p>",
"smithy.api#httpQuery": "region"
}
},
"contents": {
"target": "com.amazonaws.mobile#Contents",
"traits": {
"smithy.api#documentation": "<p>\n ZIP or YAML file which contains configuration settings to be used when creating\n the project. This may be the contents of the file downloaded from the URL provided\n in an export project operation.\n </p>",
"smithy.api#httpPayload": {}
}
},
"snapshotId": {
"target": "com.amazonaws.mobile#SnapshotId",
"traits": {
"smithy.api#documentation": "<p>\n Unique identifier for an exported snapshot of project configuration. This\n snapshot identifier is included in the share URL when a project is exported.\n </p>",
"smithy.api#httpQuery": "snapshotId"
}
}
},
"traits": {
"smithy.api#documentation": "<p>\n Request structure used to request a project be created.\n </p>"
}
},
"com.amazonaws.mobile#CreateProjectResult": {
"type": "structure",
"members": {
"details": {
"target": "com.amazonaws.mobile#ProjectDetails",
"traits": {
"smithy.api#documentation": "<p>\n Detailed information about the created AWS Mobile Hub project.\n </p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>\n Result structure used in response to a request to create a project.\n </p>"
}
},
"com.amazonaws.mobile#Date": {
"type": "timestamp"
},
"com.amazonaws.mobile#DeleteProject": {
"type": "operation",
"input": {
"target": "com.amazonaws.mobile#DeleteProjectRequest"
},
"output": {
"target": "com.amazonaws.mobile#DeleteProjectResult"
},
"errors": [
{
"target": "com.amazonaws.mobile#InternalFailureException"
},
{
"target": "com.amazonaws.mobile#NotFoundException"
},
{
"target": "com.amazonaws.mobile#ServiceUnavailableException"
},
{
"target": "com.amazonaws.mobile#TooManyRequestsException"
},
{
"target": "com.amazonaws.mobile#UnauthorizedException"
}
],
"traits": {
"smithy.api#documentation": "<p>\n Delets a project in AWS Mobile Hub.\n </p>",
"smithy.api#http": {
"method": "DELETE",
"uri": "/projects/{projectId}",
"code": 200
}
}
},
"com.amazonaws.mobile#DeleteProjectRequest": {
"type": "structure",
"members": {
"projectId": {
"target": "com.amazonaws.mobile#ProjectId",
"traits": {
"smithy.api#documentation": "<p>\n Unique project identifier.\n </p>",
"smithy.api#httpLabel": {},
"smithy.api#required": {}
}
}
},
"traits": {
"smithy.api#documentation": "<p>\n Request structure used to request a project be deleted.\n </p>"
}
},
"com.amazonaws.mobile#DeleteProjectResult": {
"type": "structure",
"members": {
"deletedResources": {
"target": "com.amazonaws.mobile#Resources",
"traits": {
"smithy.api#documentation": "<p>\n Resources which were deleted.\n </p>"
}
},
"orphanedResources": {
"target": "com.amazonaws.mobile#Resources",
"traits": {
"smithy.api#documentation": "<p>\n Resources which were not deleted, due to a risk of losing potentially\n important data or files.\n </p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>\n Result structure used in response to request to delete a project.\n </p>"
}
},
"com.amazonaws.mobile#DescribeBundle": {
"type": "operation",
"input": {
"target": "com.amazonaws.mobile#DescribeBundleRequest"
},
"output": {
"target": "com.amazonaws.mobile#DescribeBundleResult"
},
"errors": [
{
"target": "com.amazonaws.mobile#BadRequestException"
},
{
"target": "com.amazonaws.mobile#InternalFailureException"
},
{
"target": "com.amazonaws.mobile#NotFoundException"
},
{
"target": "com.amazonaws.mobile#ServiceUnavailableException"
},
{
"target": "com.amazonaws.mobile#TooManyRequestsException"
},
{
"target": "com.amazonaws.mobile#UnauthorizedException"
}
],
"traits": {
"smithy.api#documentation": "<p>\n Get the bundle details for the requested bundle id.\n </p>",
"smithy.api#http": {
"method": "GET",
"uri": "/bundles/{bundleId}",
"code": 200
}
}
},
"com.amazonaws.mobile#DescribeBundleRequest": {
"type": "structure",
"members": {
"bundleId": {
"target": "com.amazonaws.mobile#BundleId",
"traits": {
"smithy.api#documentation": "<p>\n Unique bundle identifier.\n </p>",
"smithy.api#httpLabel": {},
"smithy.api#required": {}
}
}
},
"traits": {
"smithy.api#documentation": "<p>\n Request structure to request the details of a specific bundle.\n </p>"
}
},
"com.amazonaws.mobile#DescribeBundleResult": {
"type": "structure",
"members": {
"details": {
"target": "com.amazonaws.mobile#BundleDetails",
"traits": {
"smithy.api#documentation": "<p>\n The details of the bundle.\n </p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>\n Result structure contains the details of the bundle.\n </p>"
}
},
"com.amazonaws.mobile#DescribeProject": {
"type": "operation",
"input": {
"target": "com.amazonaws.mobile#DescribeProjectRequest"
},
"output": {
"target": "com.amazonaws.mobile#DescribeProjectResult"
},
"errors": [
{
"target": "com.amazonaws.mobile#BadRequestException"
},
{
"target": "com.amazonaws.mobile#InternalFailureException"
},
{
"target": "com.amazonaws.mobile#NotFoundException"
},
{
"target": "com.amazonaws.mobile#ServiceUnavailableException"
},
{
"target": "com.amazonaws.mobile#TooManyRequestsException"
},
{
"target": "com.amazonaws.mobile#UnauthorizedException"
}
],
"traits": {
"smithy.api#documentation": "<p>\n Gets details about a project in AWS Mobile Hub.\n </p>",
"smithy.api#http": {
"method": "GET",
"uri": "/project",
"code": 200
}
}
},
"com.amazonaws.mobile#DescribeProjectRequest": {
"type": "structure",
"members": {
"projectId": {
"target": "com.amazonaws.mobile#ProjectId",
"traits": {
"smithy.api#documentation": "<p>\n Unique project identifier.\n </p>",
"smithy.api#httpQuery": "projectId",
"smithy.api#required": {}
}
},
"syncFromResources": {
"target": "com.amazonaws.mobile#Boolean",
"traits": {
"smithy.api#documentation": "<p>\n If set to true, causes AWS Mobile Hub to synchronize information from other services, e.g., update state of AWS CloudFormation stacks in the AWS Mobile Hub project.\n </p>",
"smithy.api#httpQuery": "syncFromResources"
}
}
},
"traits": {
"smithy.api#documentation": "<p>\n Request structure used to request details about a project.\n </p>"
}
},
"com.amazonaws.mobile#DescribeProjectResult": {
"type": "structure",
"members": {
"details": {
"target": "com.amazonaws.mobile#ProjectDetails"
}
},
"traits": {
"smithy.api#documentation": "<p>\n Result structure used for requests of project details.\n </p>"
}
},
"com.amazonaws.mobile#DownloadUrl": {
"type": "string",
"traits": {
"smithy.api#documentation": "<p>\n The download Url.\n </p>"
}
},
"com.amazonaws.mobile#ErrorMessage": {
"type": "string",
"traits": {
"smithy.api#documentation": "<p>\n The Exception Error Message.\n </p>"
}
},
"com.amazonaws.mobile#ExportBundle": {
"type": "operation",
"input": {
"target": "com.amazonaws.mobile#ExportBundleRequest"
},
"output": {
"target": "com.amazonaws.mobile#ExportBundleResult"
},
"errors": [
{
"target": "com.amazonaws.mobile#BadRequestException"
},
{
"target": "com.amazonaws.mobile#InternalFailureException"
},
{
"target": "com.amazonaws.mobile#NotFoundException"
},
{
"target": "com.amazonaws.mobile#ServiceUnavailableException"
},
{
"target": "com.amazonaws.mobile#TooManyRequestsException"
},
{
"target": "com.amazonaws.mobile#UnauthorizedException"
}
],
"traits": {
"smithy.api#documentation": "<p>\n Generates customized software development kit (SDK) and or tool packages\n used to integrate mobile web or mobile app clients with backend AWS resources.\n </p>",
"smithy.api#http": {
"method": "POST",
"uri": "/bundles/{bundleId}",
"code": 200
}
}
},
"com.amazonaws.mobile#ExportBundleRequest": {
"type": "structure",
"members": {
"bundleId": {
"target": "com.amazonaws.mobile#BundleId",
"traits": {
"smithy.api#documentation": "<p>\n Unique bundle identifier.\n </p>",
"smithy.api#httpLabel": {},
"smithy.api#required": {}
}
},
"projectId": {
"target": "com.amazonaws.mobile#ProjectId",
"traits": {
"smithy.api#documentation": "<p>\n Unique project identifier.\n </p>",
"smithy.api#httpQuery": "projectId"
}
},
"platform": {
"target": "com.amazonaws.mobile#Platform",
"traits": {
"smithy.api#documentation": "<p>\n Developer desktop or target application platform.\n </p>",
"smithy.api#httpQuery": "platform"
}
}
},
"traits": {
"smithy.api#documentation": "<p>\n Request structure used to request generation of custom SDK and tool packages\n required to integrate mobile web or app clients with backed AWS resources.\n </p>"
}
},
"com.amazonaws.mobile#ExportBundleResult": {
"type": "structure",
"members": {
"downloadUrl": {
"target": "com.amazonaws.mobile#DownloadUrl",
"traits": {
"smithy.api#documentation": "<p>\n URL which contains the custom-generated SDK and tool packages used\n to integrate the client mobile app or web app with the AWS resources\n created by the AWS Mobile Hub project.\n </p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>\n Result structure which contains link to download custom-generated SDK and\n tool packages used to integrate mobile web or app clients with backed\n AWS resources.\n </p>"
}
},
"com.amazonaws.mobile#ExportProject": {
"type": "operation",
"input": {
"target": "com.amazonaws.mobile#ExportProjectRequest"
},
"output": {
"target": "com.amazonaws.mobile#ExportProjectResult"
},
"errors": [
{
"target": "com.amazonaws.mobile#BadRequestException"
},
{
"target": "com.amazonaws.mobile#InternalFailureException"
},
{
"target": "com.amazonaws.mobile#NotFoundException"
},
{
"target": "com.amazonaws.mobile#ServiceUnavailableException"
},
{
"target": "com.amazonaws.mobile#TooManyRequestsException"
},
{
"target": "com.amazonaws.mobile#UnauthorizedException"
}
],
"traits": {
"smithy.api#documentation": "<p>\n Exports project configuration to a snapshot which can be downloaded and shared.\n Note that mobile app push credentials are encrypted in exported projects, so they\n can only be shared successfully within the same AWS account.\n </p>",
"smithy.api#http": {
"method": "POST",
"uri": "/exports/{projectId}",
"code": 200
}
}
},
"com.amazonaws.mobile#ExportProjectRequest": {
"type": "structure",
"members": {
"projectId": {
"target": "com.amazonaws.mobile#ProjectId",
"traits": {
"smithy.api#documentation": "<p>\n Unique project identifier.\n </p>",
"smithy.api#httpLabel": {},
"smithy.api#required": {}
}
}
},
"traits": {
"smithy.api#documentation": "<p>\n Request structure used in requests to export project configuration details.\n </p>"
}
},
"com.amazonaws.mobile#ExportProjectResult": {
"type": "structure",
"members": {
"downloadUrl": {
"target": "com.amazonaws.mobile#DownloadUrl",
"traits": {
"smithy.api#documentation": "<p>\n URL which can be used to download the exported project configuation file(s).\n </p>"
}
},
"shareUrl": {
"target": "com.amazonaws.mobile#ShareUrl",
"traits": {
"smithy.api#documentation": "<p>\n URL which can be shared to allow other AWS users to create their own project\n in AWS Mobile Hub with the same configuration as the specified project. This\n URL pertains to a snapshot in time of the project configuration that is created\n when this API is called. If you want to share additional changes to your project\n configuration, then you will need to create and share a new snapshot by calling\n this method again.\n </p>"
}
},
"snapshotId": {
"target": "com.amazonaws.mobile#SnapshotId",
"traits": {
"smithy.api#documentation": "<p>\n Unique identifier for the exported snapshot of the project configuration. This\n snapshot identifier is included in the share URL.\n </p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>\n Result structure used for requests to export project configuration details.\n </p>"
}
},
"com.amazonaws.mobile#Feature": {
"type": "string",
"traits": {
"smithy.api#documentation": "<p>\n Identifies which feature in AWS Mobile Hub is associated with this AWS resource.\n </p>"
}
},
"com.amazonaws.mobile#IconUrl": {
"type": "string",
"traits": {
"smithy.api#documentation": "<p>\n Icon for the download bundle.\n </p>"
}
},
"com.amazonaws.mobile#InternalFailureException": {
"type": "structure",
"members": {
"message": {
"target": "com.amazonaws.mobile#ErrorMessage"
}
},
"traits": {
"smithy.api#documentation": "<p>\n The service has encountered an unexpected error condition which prevents it from\n servicing the request.\n </p>",
"smithy.api#error": "server",
"smithy.api#httpError": 500
}
},
"com.amazonaws.mobile#LimitExceededException": {
"type": "structure",
"members": {
"retryAfterSeconds": {
"target": "com.amazonaws.mobile#ErrorMessage",
"traits": {
"smithy.api#httpHeader": "Retry-After"
}
},
"message": {
"target": "com.amazonaws.mobile#ErrorMessage"
}
},
"traits": {
"smithy.api#documentation": "<p>\n There are too many AWS Mobile Hub projects in the account or the account has\n exceeded the maximum number of resources in some AWS service. You should create\n another sub-account using AWS Organizations or remove some resources and retry\n your request.\n </p>",
"smithy.api#error": "client",
"smithy.api#httpError": 429
}
},
"com.amazonaws.mobile#ListBundles": {
"type": "operation",
"input": {
"target": "com.amazonaws.mobile#ListBundlesRequest"
},
"output": {
"target": "com.amazonaws.mobile#ListBundlesResult"
},
"errors": [
{
"target": "com.amazonaws.mobile#BadRequestException"
},
{
"target": "com.amazonaws.mobile#InternalFailureException"
},
{
"target": "com.amazonaws.mobile#ServiceUnavailableException"
},
{
"target": "com.amazonaws.mobile#TooManyRequestsException"
},
{
"target": "com.amazonaws.mobile#UnauthorizedException"
}
],
"traits": {
"smithy.api#documentation": "<p>\n List all available bundles.\n </p>",
"smithy.api#http": {
"method": "GET",
"uri": "/bundles",
"code": 200
},
"smithy.api#paginated": {
"inputToken": "nextToken",
"outputToken": "nextToken",
"pageSize": "maxResults"
}
}
},
"com.amazonaws.mobile#ListBundlesRequest": {
"type": "structure",
"members": {
"maxResults": {
"target": "com.amazonaws.mobile#MaxResults",
"traits": {
"smithy.api#documentation": "<p>\n Maximum number of records to list in a single response.\n </p>",
"smithy.api#httpQuery": "maxResults"
}
},
"nextToken": {
"target": "com.amazonaws.mobile#NextToken",
"traits": {
"smithy.api#documentation": "<p>\n Pagination token. Set to null to start listing bundles from start.\n If non-null pagination token is returned in a result, then pass its\n value in here in another request to list more bundles.\n </p>",
"smithy.api#httpQuery": "nextToken"
}
}
},
"traits": {
"smithy.api#documentation": "<p>\n Request structure to request all available bundles.\n </p>"
}
},
"com.amazonaws.mobile#ListBundlesResult": {
"type": "structure",
"members": {
"bundleList": {
"target": "com.amazonaws.mobile#BundleList",
"traits": {
"smithy.api#documentation": "<p>\n A list of bundles.\n </p>"
}
},
"nextToken": {
"target": "com.amazonaws.mobile#NextToken",
"traits": {
"smithy.api#documentation": "<p>\n Pagination token. If non-null pagination token is returned in a result,\n then pass its value in another request to fetch more entries.\n </p>"
}
}
},
"traits": {
"smithy.api#documentation": "<p>\n Result structure contains a list of all available bundles with details.\n </p>"
}
},
"com.amazonaws.mobile#ListProjects": {
"type": "operation",
"input": {
"target": "com.amazonaws.mobile#ListProjectsRequest"
},
"output": {
"target": "com.amazonaws.mobile#ListProjectsResult"
},
"errors": [
{
"target": "com.amazonaws.mobile#BadRequestException"
},
{
"target": "com.amazonaws.mobile#InternalFailureException"
},
{
"target": "com.amazonaws.mobile#ServiceUnavailableException"
},
{
"target": "com.amazonaws.mobile#TooManyRequestsException"
},
{
"target": "com.amazonaws.mobile#UnauthorizedException"
}
],
"traits": {
"smithy.api#documentation": "<p>\n Lists projects in AWS Mobile Hub.\n </p>",
"smithy.api#http": {
"method": "GET",
"uri": "/projects",
"code": 200
},
"smithy.api#paginated": {
"inputToken": "nextToken",
"outputToken": "nextToken",
"pageSize": "maxResults"
}
}
},
"com.amazonaws.mobile#ListProjectsRequest": {
"type": "structure",
"members": {
"maxResults": {
"target": "com.amazonaws.mobile#MaxResults",
"traits": {
"smithy.api#documentation": "<p>\n Maximum number of records to list in a single response.\n </p>",
"smithy.api#httpQuery": "maxResults"
}
},
"nextToken": {
"target": "com.amazonaws.mobile#NextToken",
"traits": {
"smithy.api#documentation": "<p>\n Pagination token. Set to null to start listing projects from start.\n If non-null pagination token is returned in a result, then pass its\n value in here in another request to list more projects.\n </p>",
"smithy.api#httpQuery": "nextToken"
}
}
},
"traits": {
"smithy.api#documentation": "<p>\n Request structure used to request projects list in AWS Mobile Hub.\n </p>"
}
},
"com.amazonaws.mobile#ListProjectsResult": {
"type": "structure",
"members": {
"projects": {
"target": "com.amazonaws.mobile#ProjectSummaries"
},
"nextToken": {
"target": "com.amazonaws.mobile#NextToken"
}
},
"traits": {
"smithy.api#documentation": "<p>\n Result structure used for requests to list projects in AWS Mobile Hub.\n </p>"
}
},
"com.amazonaws.mobile#MaxResults": {
"type": "integer",
"traits": {
"smithy.api#documentation": "<p>\n Maximum number of records to list in a single response.\n </p>"
}
},
"com.amazonaws.mobile#NextToken": {
"type": "string",
"traits": {
"smithy.api#documentation": "<p>\n Pagination token. Set to null to start listing records from start.\n If non-null pagination token is returned in a result, then pass its\n value in here in another request to list more entries.\n </p>"
}
},
"com.amazonaws.mobile#NotFoundException": {
"type": "structure",
"members": {
"message": {
"target": "com.amazonaws.mobile#ErrorMessage"
}
},
"traits": {
"smithy.api#documentation": "<p>\n No entity can be found with the specified identifier.\n </p>",
"smithy.api#error": "client",
"smithy.api#httpError": 404
}
},
"com.amazonaws.mobile#Platform": {
"type": "string",
"traits": {
"smithy.api#documentation": "<p>\n Developer desktop or target mobile app or website platform.\n </p>",
"smithy.api#enum": [
{
"value": "OSX",
"name": "OSX"
},
{
"value": "WINDOWS",
"name": "WINDOWS"
},
{
"value": "LINUX",
"name": "LINUX"
},
{
"value": "OBJC",
"name": "OBJC"
},
{
"value": "SWIFT",
"name": "SWIFT"
},
{
"value": "ANDROID",
"name": "ANDROID"
},
{
"value": "JAVASCRIPT",
"name": "JAVASCRIPT"
}
]
}
},
"com.amazonaws.mobile#Platforms": {
"type": "list",
"member": {
"target": "com.amazonaws.mobile#Platform"
},
"traits": {
"smithy.api#documentation": "<p>\n Developer desktop or mobile app or website platforms.\n </p>"
}
},
"com.amazonaws.mobile#ProjectDetails": {
"type": "structure",
"members": {
"name": {
"target": "com.amazonaws.mobile#ProjectName"
},
"projectId": {
"target": "com.amazonaws.mobile#ProjectId"
},
"region": {
"target": "com.amazonaws.mobile#ProjectRegion"
},
"state": {
"target": "com.amazonaws.mobile#ProjectState"
},
"createdDate": {
"target": "com.amazonaws.mobile#Date",
"traits": {
"smithy.api#documentation": "<p>\n Date the project was created.\n </p>"
}
},
"lastUpdatedDate": {
"target": "com.amazonaws.mobile#Date",
"traits": {
"smithy.api#documentation": "<p>\n Date of the last modification of the project.\n </p>"
}
},
"consoleUrl": {
"target": "com.amazonaws.mobile#ConsoleUrl",
"traits": {
"smithy.api#documentation": "<p>\n Website URL for this project in the AWS Mobile Hub console.\n </p>"
}
},
"resources": {
"target": "com.amazonaws.mobile#Resources"
}
},
"traits": {
"smithy.api#documentation": "<p>\n Detailed information about an AWS Mobile Hub project.\n </p>"
}
},
"com.amazonaws.mobile#ProjectId": {
"type": "string",
"traits": {
"smithy.api#documentation": "<p>\n Unique project identifier.\n </p>"
}
},
"com.amazonaws.mobile#ProjectName": {
"type": "string",
"traits": {
"smithy.api#documentation": "<p>\n Name of the project.\n </p>"
}
},
"com.amazonaws.mobile#ProjectRegion": {