forked from aws/aws-sdk-go-v2
/
cloudcontrol.2021-09-30.json
1606 lines (1606 loc) · 86.6 KB
/
cloudcontrol.2021-09-30.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.cloudcontrol#AlreadyExistsException": {
"type": "structure",
"members": {
"Message": {
"target": "com.amazonaws.cloudcontrol#ErrorMessage"
}
},
"traits": {
"aws.protocols#awsQueryError": {
"code": "AlreadyExistsException",
"httpResponseCode": 400
},
"smithy.api#documentation": "<p>The resource with the name requested already exists.</p>",
"smithy.api#error": "client",
"smithy.api#httpError": 400
}
},
"com.amazonaws.cloudcontrol#CancelResourceRequest": {
"type": "operation",
"input": {
"target": "com.amazonaws.cloudcontrol#CancelResourceRequestInput"
},
"output": {
"target": "com.amazonaws.cloudcontrol#CancelResourceRequestOutput"
},
"errors": [
{
"target": "com.amazonaws.cloudcontrol#ConcurrentModificationException"
},
{
"target": "com.amazonaws.cloudcontrol#RequestTokenNotFoundException"
}
],
"traits": {
"smithy.api#documentation": "<p>Cancels the specified resource operation request. For more information, see <a href=\"https://docs.aws.amazon.com/cloudcontrolapi/latest/userguide/resource-operations-manage-requests.html#resource-operations-manage-requests-cancel\">Canceling resource operation requests</a> in the\n <i>Amazon Web Services Cloud Control API User Guide</i>.</p>\n <p>Only resource operations requests with a status of <code>PENDING</code> or\n <code>IN_PROGRESS</code> can be cancelled.</p>",
"smithy.api#idempotent": {}
}
},
"com.amazonaws.cloudcontrol#CancelResourceRequestInput": {
"type": "structure",
"members": {
"RequestToken": {
"target": "com.amazonaws.cloudcontrol#RequestToken",
"traits": {
"smithy.api#documentation": "<p>The <code>RequestToken</code> of the <code>ProgressEvent</code> object returned by the\n resource operation request.</p>",
"smithy.api#required": {}
}
}
}
},
"com.amazonaws.cloudcontrol#CancelResourceRequestOutput": {
"type": "structure",
"members": {
"ProgressEvent": {
"target": "com.amazonaws.cloudcontrol#ProgressEvent"
}
}
},
"com.amazonaws.cloudcontrol#ClientToken": {
"type": "string",
"traits": {
"smithy.api#length": {
"min": 1,
"max": 128
},
"smithy.api#pattern": "^[-A-Za-z0-9+/=]+$"
}
},
"com.amazonaws.cloudcontrol#ClientTokenConflictException": {
"type": "structure",
"members": {
"Message": {
"target": "com.amazonaws.cloudcontrol#ErrorMessage"
}
},
"traits": {
"aws.protocols#awsQueryError": {
"code": "ClientTokenConflictException",
"httpResponseCode": 409
},
"smithy.api#documentation": "<p>The specified client token has already been used in another resource request.</p>\n <p>It is best practice for client tokens to be unique for each resource operation request.\n However, client token expire after 36 hours.</p>",
"smithy.api#error": "client",
"smithy.api#httpError": 409
}
},
"com.amazonaws.cloudcontrol#CloudApiService": {
"type": "service",
"version": "2021-09-30",
"operations": [
{
"target": "com.amazonaws.cloudcontrol#CancelResourceRequest"
},
{
"target": "com.amazonaws.cloudcontrol#CreateResource"
},
{
"target": "com.amazonaws.cloudcontrol#DeleteResource"
},
{
"target": "com.amazonaws.cloudcontrol#GetResource"
},
{
"target": "com.amazonaws.cloudcontrol#GetResourceRequestStatus"
},
{
"target": "com.amazonaws.cloudcontrol#ListResourceRequests"
},
{
"target": "com.amazonaws.cloudcontrol#ListResources"
},
{
"target": "com.amazonaws.cloudcontrol#UpdateResource"
}
],
"traits": {
"aws.api#service": {
"sdkId": "CloudControl",
"arnNamespace": "cloudcontrolapi",
"cloudFormationName": "CloudControl",
"cloudTrailEventSource": "cloudcontrol.amazonaws.com",
"endpointPrefix": "cloudcontrolapi"
},
"aws.auth#sigv4": {
"name": "cloudcontrolapi"
},
"aws.protocols#awsJson1_0": {},
"smithy.api#documentation": "<p>Use Amazon Web Services Cloud Control API to create, read, update, delete, and list (CRUD-L) your cloud resources that\n belong to a wide range of services--both Amazon Web Services and third-party. With the Cloud Control API\n standardized set of application programming interfaces (APIs), you can perform CRUD-L operations\n on any supported resources in your Amazon Web Services account. Using Cloud Control API, you won't have to generate code\n or scripts specific to each individual service responsible for those resources.</p>\n <p>For more information about Amazon Web Services Cloud Control API, see the <a href=\"https://docs.aws.amazon.com/cloudcontrolapi/latest/userguide/what-is-cloudcontrolapi.html\">Amazon Web Services Cloud Control API User\n Guide</a>.</p>",
"smithy.api#title": "AWS Cloud Control API"
}
},
"com.amazonaws.cloudcontrol#ConcurrentModificationException": {
"type": "structure",
"members": {
"Message": {
"target": "com.amazonaws.cloudcontrol#ErrorMessage"
}
},
"traits": {
"aws.protocols#awsQueryError": {
"code": "ConcurrentModificationException",
"httpResponseCode": 500
},
"smithy.api#documentation": "<p>The resource is currently being modified by another operation.</p>",
"smithy.api#error": "server",
"smithy.api#httpError": 500
}
},
"com.amazonaws.cloudcontrol#ConcurrentOperationException": {
"type": "structure",
"members": {
"Message": {
"target": "com.amazonaws.cloudcontrol#ErrorMessage"
}
},
"traits": {
"aws.protocols#awsQueryError": {
"code": "ConcurrentOperationException",
"httpResponseCode": 409
},
"smithy.api#documentation": "<p>Another resource operation is currently being performed on this resource.</p>",
"smithy.api#error": "client",
"smithy.api#httpError": 409
}
},
"com.amazonaws.cloudcontrol#CreateResource": {
"type": "operation",
"input": {
"target": "com.amazonaws.cloudcontrol#CreateResourceInput"
},
"output": {
"target": "com.amazonaws.cloudcontrol#CreateResourceOutput"
},
"errors": [
{
"target": "com.amazonaws.cloudcontrol#AlreadyExistsException"
},
{
"target": "com.amazonaws.cloudcontrol#ClientTokenConflictException"
},
{
"target": "com.amazonaws.cloudcontrol#ConcurrentOperationException"
},
{
"target": "com.amazonaws.cloudcontrol#GeneralServiceException"
},
{
"target": "com.amazonaws.cloudcontrol#HandlerFailureException"
},
{
"target": "com.amazonaws.cloudcontrol#HandlerInternalFailureException"
},
{
"target": "com.amazonaws.cloudcontrol#InvalidCredentialsException"
},
{
"target": "com.amazonaws.cloudcontrol#InvalidRequestException"
},
{
"target": "com.amazonaws.cloudcontrol#NetworkFailureException"
},
{
"target": "com.amazonaws.cloudcontrol#NotStabilizedException"
},
{
"target": "com.amazonaws.cloudcontrol#NotUpdatableException"
},
{
"target": "com.amazonaws.cloudcontrol#PrivateTypeException"
},
{
"target": "com.amazonaws.cloudcontrol#ResourceConflictException"
},
{
"target": "com.amazonaws.cloudcontrol#ResourceNotFoundException"
},
{
"target": "com.amazonaws.cloudcontrol#ServiceInternalErrorException"
},
{
"target": "com.amazonaws.cloudcontrol#ServiceLimitExceededException"
},
{
"target": "com.amazonaws.cloudcontrol#ThrottlingException"
},
{
"target": "com.amazonaws.cloudcontrol#TypeNotFoundException"
},
{
"target": "com.amazonaws.cloudcontrol#UnsupportedActionException"
}
],
"traits": {
"smithy.api#documentation": "<p>Creates the specified resource. For more information, see <a href=\"https://docs.aws.amazon.com/cloudcontrolapi/latest/userguide/resource-operations-create.html\">Creating a\n resource</a> in the <i>Amazon Web Services Cloud Control API User Guide</i>.</p>\n <p>After you have initiated a resource creation request, you can monitor the progress of your\n request by calling <a href=\"https://docs.aws.amazon.com/cloudcontrolapi/latest/APIReference/API_GetResourceRequestStatus.html\">GetResourceRequestStatus</a> using the <code>RequestToken</code> of the\n <code>ProgressEvent</code> type returned by <code>CreateResource</code>.</p>"
}
},
"com.amazonaws.cloudcontrol#CreateResourceInput": {
"type": "structure",
"members": {
"TypeName": {
"target": "com.amazonaws.cloudcontrol#TypeName",
"traits": {
"smithy.api#documentation": "<p>The name of the resource type.</p>",
"smithy.api#required": {}
}
},
"TypeVersionId": {
"target": "com.amazonaws.cloudcontrol#TypeVersionId",
"traits": {
"smithy.api#documentation": "<p>For private resource types, the type version to use in this resource operation. If you do not specify a resource version, CloudFormation uses the default version.</p>"
}
},
"RoleArn": {
"target": "com.amazonaws.cloudcontrol#RoleArn",
"traits": {
"smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of the Identity and Access Management (IAM) for Cloud Control API to use when performing this resource operation. The role specified must have the permissions required for this operation. The necessary permissions for each event handler are defined in the <code>\n <a href=\"https://docs.aws.amazon.com/cloudformation-cli/latest/userguide/resource-type-schema.html#schema-properties-handlers\">handlers</a>\n </code> section of the <a href=\"https://docs.aws.amazon.com/cloudformation-cli/latest/userguide/resource-type-schema.html\">resource type definition schema</a>.</p>\n <p>If you do not specify a role, Cloud Control API uses a temporary session created using your Amazon Web Services user credentials.</p>\n <p>For more information, see <a href=\"https://docs.aws.amazon.com/cloudcontrolapi/latest/userguide/resource-operations.html#resource-operations-permissions\">Specifying credentials</a> in the <i>Amazon Web Services Cloud Control API User Guide</i>.</p>"
}
},
"ClientToken": {
"target": "com.amazonaws.cloudcontrol#ClientToken",
"traits": {
"smithy.api#documentation": "<p>A unique identifier to ensure the idempotency of the resource request. As a best practice, specify this token to ensure idempotency, so that Amazon Web Services Cloud Control API can accurately distinguish between request retries and new resource requests. You might retry a resource request to ensure that it was successfully received.</p>\n <p>A client token is valid for 36 hours once used. After that, a resource request with the same client token is treated as a new request.</p>\n <p>If you do not specify a client token, one is generated for inclusion in the request.</p>\n <p>For more information, see <a href=\"https://docs.aws.amazon.com/cloudcontrolapi/latest/userguide/resource-operations.html#resource-operations-idempotency\">Ensuring resource operation requests are unique</a> in the <i>Amazon Web Services Cloud Control API User Guide</i>.</p>",
"smithy.api#idempotencyToken": {}
}
},
"DesiredState": {
"target": "com.amazonaws.cloudcontrol#Properties",
"traits": {
"smithy.api#documentation": "<p>Structured data format representing the desired state of the resource, consisting of that\n resource's properties and their desired values. </p>\n <note>\n <p>Cloud Control API currently supports JSON as a structured data format.</p>\n </note>\n \n <p>Specify the desired state as one of the following:</p>\n <ul>\n <li>\n <p>A JSON blob</p>\n </li>\n <li>\n <p>A local path containing the desired state in JSON data format</p>\n </li>\n </ul>\n <p>For more information, see <a href=\"https://docs.aws.amazon.com/cloudcontrolapi/latest/userguide/resource-operations-create.html#resource-operations-create-desiredstate\">Composing the desired state of the resource</a> in the <i>Amazon Web Services Cloud Control API User\n Guide</i>.</p>\n <p>For more information about the properties of a specific resource, refer to the related\n topic for the resource in the <a href=\"https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-template-resource-type-ref.html\">Resource and property types reference</a> in the <i>Amazon Web Services\n CloudFormation Users Guide</i>.</p>",
"smithy.api#required": {}
}
}
}
},
"com.amazonaws.cloudcontrol#CreateResourceOutput": {
"type": "structure",
"members": {
"ProgressEvent": {
"target": "com.amazonaws.cloudcontrol#ProgressEvent",
"traits": {
"smithy.api#documentation": "<p>Represents the current status of the resource creation request.</p>\n <p>After you have initiated a resource creation request, you can monitor the progress of your\n request by calling <a href=\"https://docs.aws.amazon.com/cloudcontrolapi/latest/APIReference/API_GetResourceRequestStatus.html\">GetResourceRequestStatus</a> using the <code>RequestToken</code> of the\n <code>ProgressEvent</code> returned by <code>CreateResource</code>.</p>"
}
}
}
},
"com.amazonaws.cloudcontrol#DeleteResource": {
"type": "operation",
"input": {
"target": "com.amazonaws.cloudcontrol#DeleteResourceInput"
},
"output": {
"target": "com.amazonaws.cloudcontrol#DeleteResourceOutput"
},
"errors": [
{
"target": "com.amazonaws.cloudcontrol#AlreadyExistsException"
},
{
"target": "com.amazonaws.cloudcontrol#ClientTokenConflictException"
},
{
"target": "com.amazonaws.cloudcontrol#ConcurrentOperationException"
},
{
"target": "com.amazonaws.cloudcontrol#GeneralServiceException"
},
{
"target": "com.amazonaws.cloudcontrol#HandlerFailureException"
},
{
"target": "com.amazonaws.cloudcontrol#HandlerInternalFailureException"
},
{
"target": "com.amazonaws.cloudcontrol#InvalidCredentialsException"
},
{
"target": "com.amazonaws.cloudcontrol#InvalidRequestException"
},
{
"target": "com.amazonaws.cloudcontrol#NetworkFailureException"
},
{
"target": "com.amazonaws.cloudcontrol#NotStabilizedException"
},
{
"target": "com.amazonaws.cloudcontrol#NotUpdatableException"
},
{
"target": "com.amazonaws.cloudcontrol#PrivateTypeException"
},
{
"target": "com.amazonaws.cloudcontrol#ResourceConflictException"
},
{
"target": "com.amazonaws.cloudcontrol#ResourceNotFoundException"
},
{
"target": "com.amazonaws.cloudcontrol#ServiceInternalErrorException"
},
{
"target": "com.amazonaws.cloudcontrol#ServiceLimitExceededException"
},
{
"target": "com.amazonaws.cloudcontrol#ThrottlingException"
},
{
"target": "com.amazonaws.cloudcontrol#TypeNotFoundException"
},
{
"target": "com.amazonaws.cloudcontrol#UnsupportedActionException"
}
],
"traits": {
"smithy.api#documentation": "<p>Deletes the specified resource. For details, see <a href=\"https://docs.aws.amazon.com/cloudcontrolapi/latest/userguide/resource-operations-delete.html\">Deleting a\n resource</a> in the <i>Amazon Web Services Cloud Control API User Guide</i>.</p>\n <p>After you have initiated a resource deletion request, you can monitor the progress of your\n request by calling <a href=\"https://docs.aws.amazon.com/cloudcontrolapi/latest/APIReference/API_GetResourceRequestStatus.html\">GetResourceRequestStatus</a> using the <code>RequestToken</code> of the\n <code>ProgressEvent</code> returned by <code>DeleteResource</code>.</p>"
}
},
"com.amazonaws.cloudcontrol#DeleteResourceInput": {
"type": "structure",
"members": {
"TypeName": {
"target": "com.amazonaws.cloudcontrol#TypeName",
"traits": {
"smithy.api#documentation": "<p>The name of the resource type.</p>",
"smithy.api#required": {}
}
},
"TypeVersionId": {
"target": "com.amazonaws.cloudcontrol#TypeVersionId",
"traits": {
"smithy.api#documentation": "<p>For private resource types, the type version to use in this resource operation. If you do not specify a resource version, CloudFormation uses the default version.</p>"
}
},
"RoleArn": {
"target": "com.amazonaws.cloudcontrol#RoleArn",
"traits": {
"smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of the Identity and Access Management (IAM) for Cloud Control API to use when performing this resource operation. The role specified must have the permissions required for this operation. The necessary permissions for each event handler are defined in the <code>\n <a href=\"https://docs.aws.amazon.com/cloudformation-cli/latest/userguide/resource-type-schema.html#schema-properties-handlers\">handlers</a>\n </code> section of the <a href=\"https://docs.aws.amazon.com/cloudformation-cli/latest/userguide/resource-type-schema.html\">resource type definition schema</a>.</p>\n <p>If you do not specify a role, Cloud Control API uses a temporary session created using your Amazon Web Services user credentials.</p>\n <p>For more information, see <a href=\"https://docs.aws.amazon.com/cloudcontrolapi/latest/userguide/resource-operations.html#resource-operations-permissions\">Specifying credentials</a> in the <i>Amazon Web Services Cloud Control API User Guide</i>.</p>"
}
},
"ClientToken": {
"target": "com.amazonaws.cloudcontrol#ClientToken",
"traits": {
"smithy.api#documentation": "<p>A unique identifier to ensure the idempotency of the resource request. As a best practice, specify this token to ensure idempotency, so that Amazon Web Services Cloud Control API can accurately distinguish between request retries and new resource requests. You might retry a resource request to ensure that it was successfully received.</p>\n <p>A client token is valid for 36 hours once used. After that, a resource request with the same client token is treated as a new request.</p>\n <p>If you do not specify a client token, one is generated for inclusion in the request.</p>\n <p>For more information, see <a href=\"https://docs.aws.amazon.com/cloudcontrolapi/latest/userguide/resource-operations.html#resource-operations-idempotency\">Ensuring resource operation requests are unique</a> in the <i>Amazon Web Services Cloud Control API User Guide</i>.</p>",
"smithy.api#idempotencyToken": {}
}
},
"Identifier": {
"target": "com.amazonaws.cloudcontrol#Identifier",
"traits": {
"smithy.api#documentation": "<p>The identifier for the resource.</p>\n <p>You can specify the primary identifier, or any secondary identifier defined for the resource type in its resource schema. You can only specify one identifier. Primary identifiers can be specified as a string or JSON; secondary identifiers must be specified as JSON.</p>\n <p>For compound primary identifiers (that is, one that consists of multiple resource properties strung together), to specify the primary identifier as a string, list the property values <i>in the order they are specified</i> in the primary identifier definition, separated by <code>|</code>. </p>\n <p>For more information, see <a href=\"https://docs.aws.amazon.com/cloudcontrolapi/latest/userguide/resource-identifier.html\">Identifying resources</a> in the <i>Amazon Web Services Cloud Control API User Guide</i>.</p>",
"smithy.api#required": {}
}
}
}
},
"com.amazonaws.cloudcontrol#DeleteResourceOutput": {
"type": "structure",
"members": {
"ProgressEvent": {
"target": "com.amazonaws.cloudcontrol#ProgressEvent",
"traits": {
"smithy.api#documentation": "<p>Represents the current status of the resource deletion request.</p>\n <p>After you have initiated a resource deletion request, you can monitor the progress of your\n request by calling <a href=\"https://docs.aws.amazon.com/cloudcontrolapi/latest/APIReference/API_GetResourceRequestStatus.html\">GetResourceRequestStatus</a> using the <code>RequestToken</code> of the\n <code>ProgressEvent</code> returned by <code>DeleteResource</code>.</p>"
}
}
}
},
"com.amazonaws.cloudcontrol#ErrorMessage": {
"type": "string",
"traits": {
"smithy.api#length": {
"min": 1,
"max": 1024
}
}
},
"com.amazonaws.cloudcontrol#GeneralServiceException": {
"type": "structure",
"members": {
"Message": {
"target": "com.amazonaws.cloudcontrol#ErrorMessage"
}
},
"traits": {
"aws.protocols#awsQueryError": {
"code": "GeneralServiceException",
"httpResponseCode": 400
},
"smithy.api#documentation": "<p>The resource handler has returned that the downstream service generated an error that does\n not map to any other handler error code.</p>",
"smithy.api#error": "client",
"smithy.api#httpError": 400
}
},
"com.amazonaws.cloudcontrol#GetResource": {
"type": "operation",
"input": {
"target": "com.amazonaws.cloudcontrol#GetResourceInput"
},
"output": {
"target": "com.amazonaws.cloudcontrol#GetResourceOutput"
},
"errors": [
{
"target": "com.amazonaws.cloudcontrol#AlreadyExistsException"
},
{
"target": "com.amazonaws.cloudcontrol#GeneralServiceException"
},
{
"target": "com.amazonaws.cloudcontrol#HandlerFailureException"
},
{
"target": "com.amazonaws.cloudcontrol#HandlerInternalFailureException"
},
{
"target": "com.amazonaws.cloudcontrol#InvalidCredentialsException"
},
{
"target": "com.amazonaws.cloudcontrol#InvalidRequestException"
},
{
"target": "com.amazonaws.cloudcontrol#NetworkFailureException"
},
{
"target": "com.amazonaws.cloudcontrol#NotStabilizedException"
},
{
"target": "com.amazonaws.cloudcontrol#NotUpdatableException"
},
{
"target": "com.amazonaws.cloudcontrol#PrivateTypeException"
},
{
"target": "com.amazonaws.cloudcontrol#ResourceConflictException"
},
{
"target": "com.amazonaws.cloudcontrol#ResourceNotFoundException"
},
{
"target": "com.amazonaws.cloudcontrol#ServiceInternalErrorException"
},
{
"target": "com.amazonaws.cloudcontrol#ServiceLimitExceededException"
},
{
"target": "com.amazonaws.cloudcontrol#ThrottlingException"
},
{
"target": "com.amazonaws.cloudcontrol#TypeNotFoundException"
},
{
"target": "com.amazonaws.cloudcontrol#UnsupportedActionException"
}
],
"traits": {
"smithy.api#documentation": "<p>Returns information about the current state of the specified resource. For details, see\n <a href=\"https://docs.aws.amazon.com/cloudcontrolapi/latest/userguide/resource-operations-read.html\">Reading a resource's current state</a>.</p>\n <p>You can use this action to return information about an existing resource in your account\n and Amazon Web Services Region, whether or not those resources were provisioned using Cloud Control API.</p>"
}
},
"com.amazonaws.cloudcontrol#GetResourceInput": {
"type": "structure",
"members": {
"TypeName": {
"target": "com.amazonaws.cloudcontrol#TypeName",
"traits": {
"smithy.api#documentation": "<p>The name of the resource type.</p>",
"smithy.api#required": {}
}
},
"TypeVersionId": {
"target": "com.amazonaws.cloudcontrol#TypeVersionId",
"traits": {
"smithy.api#documentation": "<p>For private resource types, the type version to use in this resource operation. If you do not specify a resource version, CloudFormation uses the default version.</p>"
}
},
"RoleArn": {
"target": "com.amazonaws.cloudcontrol#RoleArn",
"traits": {
"smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of the Identity and Access Management (IAM) for Cloud Control API to use when performing this resource operation. The role specified must have the permissions required for this operation. The necessary permissions for each event handler are defined in the <code>\n <a href=\"https://docs.aws.amazon.com/cloudformation-cli/latest/userguide/resource-type-schema.html#schema-properties-handlers\">handlers</a>\n </code> section of the <a href=\"https://docs.aws.amazon.com/cloudformation-cli/latest/userguide/resource-type-schema.html\">resource type definition schema</a>.</p>\n <p>If you do not specify a role, Cloud Control API uses a temporary session created using your Amazon Web Services user credentials.</p>\n <p>For more information, see <a href=\"https://docs.aws.amazon.com/cloudcontrolapi/latest/userguide/resource-operations.html#resource-operations-permissions\">Specifying credentials</a> in the <i>Amazon Web Services Cloud Control API User Guide</i>.</p>"
}
},
"Identifier": {
"target": "com.amazonaws.cloudcontrol#Identifier",
"traits": {
"smithy.api#documentation": "<p>The identifier for the resource.</p>\n <p>You can specify the primary identifier, or any secondary identifier defined for the resource type in its resource schema. You can only specify one identifier. Primary identifiers can be specified as a string or JSON; secondary identifiers must be specified as JSON.</p>\n <p>For compound primary identifiers (that is, one that consists of multiple resource properties strung together), to specify the primary identifier as a string, list the property values <i>in the order they are specified</i> in the primary identifier definition, separated by <code>|</code>. </p>\n <p>For more information, see <a href=\"https://docs.aws.amazon.com/cloudcontrolapi/latest/userguide/resource-identifier.html\">Identifying resources</a> in the <i>Amazon Web Services Cloud Control API User Guide</i>.</p>",
"smithy.api#required": {}
}
}
}
},
"com.amazonaws.cloudcontrol#GetResourceOutput": {
"type": "structure",
"members": {
"TypeName": {
"target": "com.amazonaws.cloudcontrol#TypeName",
"traits": {
"smithy.api#documentation": "<p>The name of the resource type.</p>"
}
},
"ResourceDescription": {
"target": "com.amazonaws.cloudcontrol#ResourceDescription"
}
}
},
"com.amazonaws.cloudcontrol#GetResourceRequestStatus": {
"type": "operation",
"input": {
"target": "com.amazonaws.cloudcontrol#GetResourceRequestStatusInput"
},
"output": {
"target": "com.amazonaws.cloudcontrol#GetResourceRequestStatusOutput"
},
"errors": [
{
"target": "com.amazonaws.cloudcontrol#RequestTokenNotFoundException"
}
],
"traits": {
"smithy.api#documentation": "<p>Returns the current status of a resource operation request. For more information, see\n <a href=\"https://docs.aws.amazon.com/cloudcontrolapi/latest/userguide/resource-operations-manage-requests.html#resource-operations-manage-requests-track\">Tracking the progress of resource operation requests</a> in the\n <i>Amazon Web Services Cloud Control API User Guide</i>.</p>",
"smithy.waiters#waitable": {
"ResourceRequestSuccess": {
"documentation": "Wait until resource operation request is successful",
"acceptors": [
{
"state": "success",
"matcher": {
"output": {
"path": "ProgressEvent.OperationStatus",
"expected": "SUCCESS",
"comparator": "stringEquals"
}
}
},
{
"state": "failure",
"matcher": {
"output": {
"path": "ProgressEvent.OperationStatus",
"expected": "FAILED",
"comparator": "stringEquals"
}
}
},
{
"state": "failure",
"matcher": {
"output": {
"path": "ProgressEvent.OperationStatus",
"expected": "CANCEL_COMPLETE",
"comparator": "stringEquals"
}
}
}
],
"minDelay": 5
}
}
}
},
"com.amazonaws.cloudcontrol#GetResourceRequestStatusInput": {
"type": "structure",
"members": {
"RequestToken": {
"target": "com.amazonaws.cloudcontrol#RequestToken",
"traits": {
"smithy.api#documentation": "<p>A unique token used to track the progress of the resource operation request.</p>\n <p>Request tokens are included in the <code>ProgressEvent</code> type returned by a resource\n operation request.</p>",
"smithy.api#required": {}
}
}
}
},
"com.amazonaws.cloudcontrol#GetResourceRequestStatusOutput": {
"type": "structure",
"members": {
"ProgressEvent": {
"target": "com.amazonaws.cloudcontrol#ProgressEvent",
"traits": {
"smithy.api#documentation": "<p>Represents the current status of the resource operation request.</p>"
}
}
}
},
"com.amazonaws.cloudcontrol#HandlerErrorCode": {
"type": "string",
"traits": {
"smithy.api#enum": [
{
"value": "NotUpdatable",
"name": "NOT_UPDATABLE"
},
{
"value": "InvalidRequest",
"name": "INVALID_REQUEST"
},
{
"value": "AccessDenied",
"name": "ACCESS_DENIED"
},
{
"value": "InvalidCredentials",
"name": "INVALID_CREDENTIALS"
},
{
"value": "AlreadyExists",
"name": "ALREADY_EXISTS"
},
{
"value": "NotFound",
"name": "NOT_FOUND"
},
{
"value": "ResourceConflict",
"name": "RESOURCE_CONFLICT"
},
{
"value": "Throttling",
"name": "THROTTLING"
},
{
"value": "ServiceLimitExceeded",
"name": "SERVICE_LIMIT_EXCEEDED"
},
{
"value": "NotStabilized",
"name": "NOT_STABILIZED"
},
{
"value": "GeneralServiceException",
"name": "GENERAL_SERVICE_EXCEPTION"
},
{
"value": "ServiceInternalError",
"name": "SERVICE_INTERNAL_ERROR"
},
{
"value": "ServiceTimeout",
"name": "SERVICE_TIMEOUT"
},
{
"value": "NetworkFailure",
"name": "NETWORK_FAILURE"
},
{
"value": "InternalFailure",
"name": "INTERNAL_FAILURE"
}
]
}
},
"com.amazonaws.cloudcontrol#HandlerFailureException": {
"type": "structure",
"members": {
"Message": {
"target": "com.amazonaws.cloudcontrol#ErrorMessage"
}
},
"traits": {
"aws.protocols#awsQueryError": {
"code": "HandlerFailureException",
"httpResponseCode": 502
},
"smithy.api#documentation": "<p>The resource handler has failed without a returning a more specific error code. This can\n include timeouts.</p>",
"smithy.api#error": "server",
"smithy.api#httpError": 502
}
},
"com.amazonaws.cloudcontrol#HandlerInternalFailureException": {
"type": "structure",
"members": {
"Message": {
"target": "com.amazonaws.cloudcontrol#ErrorMessage"
}
},
"traits": {
"aws.protocols#awsQueryError": {
"code": "HandlerInternalFailureException",
"httpResponseCode": 502
},
"smithy.api#documentation": "<p>The resource handler has returned that an unexpected error occurred within the resource\n handler.</p>",
"smithy.api#error": "server",
"smithy.api#httpError": 502
}
},
"com.amazonaws.cloudcontrol#HandlerNextToken": {
"type": "string",
"traits": {
"smithy.api#length": {
"min": 1,
"max": 2048
},
"smithy.api#pattern": "^.+$"
}
},
"com.amazonaws.cloudcontrol#Identifier": {
"type": "string",
"traits": {
"smithy.api#length": {
"min": 1,
"max": 1024
},
"smithy.api#pattern": "^.+$"
}
},
"com.amazonaws.cloudcontrol#InvalidCredentialsException": {
"type": "structure",
"members": {
"Message": {
"target": "com.amazonaws.cloudcontrol#ErrorMessage"
}
},
"traits": {
"aws.protocols#awsQueryError": {
"code": "InvalidCredentialsException",
"httpResponseCode": 401
},
"smithy.api#documentation": "<p>The resource handler has returned that the credentials provided by the user are\n invalid.</p>",
"smithy.api#error": "client",
"smithy.api#httpError": 401
}
},
"com.amazonaws.cloudcontrol#InvalidRequestException": {
"type": "structure",
"members": {
"Message": {
"target": "com.amazonaws.cloudcontrol#ErrorMessage"
}
},
"traits": {
"aws.protocols#awsQueryError": {
"code": "InvalidRequestException",
"httpResponseCode": 400
},
"smithy.api#documentation": "<p>The resource handler has returned that invalid input from the user has generated a generic\n exception.</p>",
"smithy.api#error": "client",
"smithy.api#httpError": 400
}
},
"com.amazonaws.cloudcontrol#ListResourceRequests": {
"type": "operation",
"input": {
"target": "com.amazonaws.cloudcontrol#ListResourceRequestsInput"
},
"output": {
"target": "com.amazonaws.cloudcontrol#ListResourceRequestsOutput"
},
"traits": {
"smithy.api#documentation": "<p>Returns existing resource operation requests. This includes requests of all status types.\n For more information, see <a href=\"https://docs.aws.amazon.com/cloudcontrolapi/latest/userguide/resource-operations-manage-requests.html#resource-operations-manage-requests-list\">Listing active resource operation requests</a> in the\n <i>Amazon Web Services Cloud Control API User Guide</i>.</p>\n <note>\n <p>Resource operation requests expire after seven days.</p>\n </note>",
"smithy.api#paginated": {
"inputToken": "NextToken",
"outputToken": "NextToken",
"pageSize": "MaxResults"
}
}
},
"com.amazonaws.cloudcontrol#ListResourceRequestsInput": {
"type": "structure",
"members": {
"MaxResults": {
"target": "com.amazonaws.cloudcontrol#MaxResults",
"traits": {
"smithy.api#documentation": "<p>The maximum number of results to be returned with a single call. If the number of\n available results exceeds this maximum, the response includes a <code>NextToken</code> value\n that you can assign to the <code>NextToken</code> request parameter to get the next set of\n results.</p>\n <p>The default is <code>20</code>.</p>"
}
},
"NextToken": {
"target": "com.amazonaws.cloudcontrol#NextToken",
"traits": {
"smithy.api#documentation": "<p>If the previous paginated request didn't return all of the remaining results, the response object's <code>NextToken</code> parameter value is set to a token. To retrieve the next set of results, call this action again and assign that token to the request object's <code>NextToken</code> parameter. If there are no remaining results, the previous response object's <code>NextToken</code> parameter is set to <code>null</code>.</p>"
}
},
"ResourceRequestStatusFilter": {
"target": "com.amazonaws.cloudcontrol#ResourceRequestStatusFilter",
"traits": {
"smithy.api#documentation": "<p>The filter criteria to apply to the requests returned.</p>"
}
}
}
},
"com.amazonaws.cloudcontrol#ListResourceRequestsOutput": {
"type": "structure",
"members": {
"ResourceRequestStatusSummaries": {
"target": "com.amazonaws.cloudcontrol#ResourceRequestStatusSummaries",
"traits": {
"smithy.api#documentation": "<p>The requests that match the specified filter criteria.</p>"
}
},
"NextToken": {
"target": "com.amazonaws.cloudcontrol#NextToken",
"traits": {
"smithy.api#documentation": "<p>If the request doesn't return all of the remaining results, <code>NextToken</code> is set to a token. To retrieve the next set of results, call <code>ListResources</code> again and assign that token to the request object's <code>NextToken</code> parameter. If the request returns all results, <code>NextToken</code> is set to null.</p>"
}
}
}
},
"com.amazonaws.cloudcontrol#ListResources": {
"type": "operation",
"input": {
"target": "com.amazonaws.cloudcontrol#ListResourcesInput"
},
"output": {
"target": "com.amazonaws.cloudcontrol#ListResourcesOutput"
},
"errors": [
{
"target": "com.amazonaws.cloudcontrol#AlreadyExistsException"
},
{
"target": "com.amazonaws.cloudcontrol#GeneralServiceException"
},
{
"target": "com.amazonaws.cloudcontrol#HandlerFailureException"
},
{
"target": "com.amazonaws.cloudcontrol#HandlerInternalFailureException"
},
{
"target": "com.amazonaws.cloudcontrol#InvalidCredentialsException"
},
{
"target": "com.amazonaws.cloudcontrol#InvalidRequestException"
},
{
"target": "com.amazonaws.cloudcontrol#NetworkFailureException"
},
{
"target": "com.amazonaws.cloudcontrol#NotStabilizedException"
},
{
"target": "com.amazonaws.cloudcontrol#NotUpdatableException"
},
{
"target": "com.amazonaws.cloudcontrol#PrivateTypeException"
},
{
"target": "com.amazonaws.cloudcontrol#ResourceConflictException"
},
{
"target": "com.amazonaws.cloudcontrol#ResourceNotFoundException"
},
{
"target": "com.amazonaws.cloudcontrol#ServiceInternalErrorException"
},
{
"target": "com.amazonaws.cloudcontrol#ServiceLimitExceededException"
},
{
"target": "com.amazonaws.cloudcontrol#ThrottlingException"
},
{
"target": "com.amazonaws.cloudcontrol#TypeNotFoundException"
},
{
"target": "com.amazonaws.cloudcontrol#UnsupportedActionException"
}
],
"traits": {
"smithy.api#documentation": "<p>Returns information about the specified resources. For more information, see <a href=\"cloudcontrolapi/latest/userguide/resource-operations-list.html\">Discovering\n resources</a> in the <i>Amazon Web Services Cloud Control API User Guide</i>.</p>\n <p>You can use this action to return information about existing resources in your account and\n Amazon Web Services Region, whether or not those resources were provisioned using Cloud Control API.</p>",
"smithy.api#paginated": {
"inputToken": "NextToken",
"outputToken": "NextToken",
"pageSize": "MaxResults"
}
}
},
"com.amazonaws.cloudcontrol#ListResourcesInput": {
"type": "structure",
"members": {
"TypeName": {
"target": "com.amazonaws.cloudcontrol#TypeName",
"traits": {
"smithy.api#documentation": "<p>The name of the resource type.</p>",
"smithy.api#required": {}
}
},
"TypeVersionId": {
"target": "com.amazonaws.cloudcontrol#TypeVersionId",
"traits": {
"smithy.api#documentation": "<p>For private resource types, the type version to use in this resource operation. If you do not specify a resource version, CloudFormation uses the default version.</p>"
}
},
"RoleArn": {
"target": "com.amazonaws.cloudcontrol#RoleArn",
"traits": {
"smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of the Identity and Access Management (IAM) for Cloud Control API to use when performing this resource operation. The role specified must have the permissions required for this operation. The necessary permissions for each event handler are defined in the <code>\n <a href=\"https://docs.aws.amazon.com/cloudformation-cli/latest/userguide/resource-type-schema.html#schema-properties-handlers\">handlers</a>\n </code> section of the <a href=\"https://docs.aws.amazon.com/cloudformation-cli/latest/userguide/resource-type-schema.html\">resource type definition schema</a>.</p>\n <p>If you do not specify a role, Cloud Control API uses a temporary session created using your Amazon Web Services user credentials.</p>\n <p>For more information, see <a href=\"https://docs.aws.amazon.com/cloudcontrolapi/latest/userguide/resource-operations.html#resource-operations-permissions\">Specifying credentials</a> in the <i>Amazon Web Services Cloud Control API User Guide</i>.</p>"
}
},
"NextToken": {
"target": "com.amazonaws.cloudcontrol#HandlerNextToken",
"traits": {
"smithy.api#documentation": "<p>If the previous paginated request didn't return all of the remaining results, the response object's <code>NextToken</code> parameter value is set to a token. To retrieve the next set of results, call this action again and assign that token to the request object's <code>NextToken</code> parameter. If there are no remaining results, the previous response object's <code>NextToken</code> parameter is set to <code>null</code>.</p>"
}
},
"MaxResults": {
"target": "com.amazonaws.cloudcontrol#MaxResults",
"traits": {
"smithy.api#documentation": "<p>The maximum number of results to be returned with a single call. If the number of\n available results exceeds this maximum, the response includes a <code>NextToken</code> value\n that you can assign to the <code>NextToken</code> request parameter to get the next set of\n results.</p>\n <p>The default is <code>20</code>.</p>"
}
},
"ResourceModel": {
"target": "com.amazonaws.cloudcontrol#Properties",
"traits": {
"smithy.api#documentation": "<p>The resource model to use to select the resources to return.</p>"
}
}
}
},
"com.amazonaws.cloudcontrol#ListResourcesOutput": {
"type": "structure",
"members": {
"TypeName": {
"target": "com.amazonaws.cloudcontrol#TypeName",
"traits": {
"smithy.api#documentation": "<p>The name of the resource type.</p>"
}
},
"ResourceDescriptions": {
"target": "com.amazonaws.cloudcontrol#ResourceDescriptions",
"traits": {
"smithy.api#documentation": "<p>Information about the specified resources, including primary identifier and resource\n model.</p>"
}
},
"NextToken": {
"target": "com.amazonaws.cloudcontrol#HandlerNextToken",
"traits": {
"smithy.api#documentation": "<p>If the request doesn't return all of the remaining results, <code>NextToken</code> is set to a token. To retrieve the next set of results, call <code>ListResources</code> again and assign that token to the request object's <code>NextToken</code> parameter. If the request returns all results, <code>NextToken</code> is set to null.</p>"
}
}
}
},
"com.amazonaws.cloudcontrol#MaxResults": {
"type": "integer",
"traits": {
"smithy.api#box": {},