-
Notifications
You must be signed in to change notification settings - Fork 1.1k
/
service-2.json
11104 lines (11104 loc) · 558 KB
/
service-2.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
{
"version":"2.0",
"metadata":{
"apiVersion":"2020-05-31",
"endpointPrefix":"cloudfront",
"globalEndpoint":"cloudfront.amazonaws.com",
"protocol":"rest-xml",
"serviceAbbreviation":"CloudFront",
"serviceFullName":"Amazon CloudFront",
"serviceId":"CloudFront",
"signatureVersion":"v4",
"uid":"cloudfront-2020-05-31"
},
"operations":{
"AssociateAlias":{
"name":"AssociateAlias2020_05_31",
"http":{
"method":"PUT",
"requestUri":"/2020-05-31/distribution/{TargetDistributionId}/associate-alias",
"responseCode":200
},
"input":{"shape":"AssociateAliasRequest"},
"errors":[
{"shape":"InvalidArgument"},
{"shape":"NoSuchDistribution"},
{"shape":"TooManyDistributionCNAMEs"},
{"shape":"IllegalUpdate"},
{"shape":"AccessDenied"}
],
"documentation":"<p>Associates an alias (also known as a CNAME or an alternate domain name) with a CloudFront distribution.</p> <p>With this operation you can move an alias that's already in use on a CloudFront distribution to a different distribution in one step. This prevents the downtime that could occur if you first remove the alias from one distribution and then separately add the alias to another distribution.</p> <p>To use this operation to associate an alias with a distribution, you provide the alias and the ID of the target distribution for the alias. For more information, including how to set up the target distribution, prerequisites that you must complete, and other restrictions, see <a href=\"https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/CNAMEs.html#alternate-domain-names-move\">Moving an alternate domain name to a different distribution</a> in the <i>Amazon CloudFront Developer Guide</i>.</p>"
},
"CopyDistribution":{
"name":"CopyDistribution2020_05_31",
"http":{
"method":"POST",
"requestUri":"/2020-05-31/distribution/{PrimaryDistributionId}/copy",
"responseCode":201
},
"input":{
"shape":"CopyDistributionRequest",
"locationName":"CopyDistributionRequest",
"xmlNamespace":{"uri":"http://cloudfront.amazonaws.com/doc/2020-05-31/"}
},
"output":{"shape":"CopyDistributionResult"},
"errors":[
{"shape":"CNAMEAlreadyExists"},
{"shape":"DistributionAlreadyExists"},
{"shape":"InvalidOrigin"},
{"shape":"InvalidOriginAccessIdentity"},
{"shape":"InvalidOriginAccessControl"},
{"shape":"InvalidIfMatchVersion"},
{"shape":"NoSuchDistribution"},
{"shape":"PreconditionFailed"},
{"shape":"AccessDenied"},
{"shape":"TooManyTrustedSigners"},
{"shape":"TrustedSignerDoesNotExist"},
{"shape":"InvalidViewerCertificate"},
{"shape":"InvalidMinimumProtocolVersion"},
{"shape":"MissingBody"},
{"shape":"TooManyDistributionCNAMEs"},
{"shape":"TooManyDistributions"},
{"shape":"InvalidDefaultRootObject"},
{"shape":"InvalidRelativePath"},
{"shape":"InvalidErrorCode"},
{"shape":"InvalidResponseCode"},
{"shape":"InvalidArgument"},
{"shape":"InvalidRequiredProtocol"},
{"shape":"NoSuchOrigin"},
{"shape":"TooManyOrigins"},
{"shape":"TooManyOriginGroupsPerDistribution"},
{"shape":"TooManyCacheBehaviors"},
{"shape":"TooManyCookieNamesInWhiteList"},
{"shape":"InvalidForwardCookies"},
{"shape":"TooManyHeadersInForwardedValues"},
{"shape":"InvalidHeadersForS3Origin"},
{"shape":"InconsistentQuantities"},
{"shape":"TooManyCertificates"},
{"shape":"InvalidLocationCode"},
{"shape":"InvalidGeoRestrictionParameter"},
{"shape":"InvalidProtocolSettings"},
{"shape":"InvalidTTLOrder"},
{"shape":"InvalidWebACLId"},
{"shape":"TooManyOriginCustomHeaders"},
{"shape":"TooManyQueryStringParameters"},
{"shape":"InvalidQueryStringParameters"},
{"shape":"TooManyDistributionsWithLambdaAssociations"},
{"shape":"TooManyDistributionsWithSingleFunctionARN"},
{"shape":"TooManyLambdaFunctionAssociations"},
{"shape":"InvalidLambdaFunctionAssociation"},
{"shape":"TooManyDistributionsWithFunctionAssociations"},
{"shape":"TooManyFunctionAssociations"},
{"shape":"InvalidFunctionAssociation"},
{"shape":"InvalidOriginReadTimeout"},
{"shape":"InvalidOriginKeepaliveTimeout"},
{"shape":"NoSuchFieldLevelEncryptionConfig"},
{"shape":"IllegalFieldLevelEncryptionConfigAssociationWithCacheBehavior"},
{"shape":"TooManyDistributionsAssociatedToFieldLevelEncryptionConfig"},
{"shape":"NoSuchCachePolicy"},
{"shape":"TooManyDistributionsAssociatedToCachePolicy"},
{"shape":"NoSuchResponseHeadersPolicy"},
{"shape":"TooManyDistributionsAssociatedToResponseHeadersPolicy"},
{"shape":"NoSuchOriginRequestPolicy"},
{"shape":"TooManyDistributionsAssociatedToOriginRequestPolicy"},
{"shape":"TooManyDistributionsAssociatedToKeyGroup"},
{"shape":"TooManyKeyGroupsAssociatedToDistribution"},
{"shape":"TrustedKeyGroupDoesNotExist"},
{"shape":"NoSuchRealtimeLogConfig"},
{"shape":"RealtimeLogConfigOwnerMismatch"}
],
"documentation":"<p>Creates a staging distribution using the configuration of the provided primary distribution. A staging distribution is a copy of an existing distribution (called the primary distribution) that you can use in a continuous deployment workflow.</p> <p>After you create a staging distribution, you can use <code>UpdateDistribution</code> to modify the staging distribution's configuration. Then you can use <code>CreateContinuousDeploymentPolicy</code> to incrementally move traffic to the staging distribution.</p>"
},
"CreateCachePolicy":{
"name":"CreateCachePolicy2020_05_31",
"http":{
"method":"POST",
"requestUri":"/2020-05-31/cache-policy",
"responseCode":201
},
"input":{"shape":"CreateCachePolicyRequest"},
"output":{"shape":"CreateCachePolicyResult"},
"errors":[
{"shape":"AccessDenied"},
{"shape":"InconsistentQuantities"},
{"shape":"InvalidArgument"},
{"shape":"CachePolicyAlreadyExists"},
{"shape":"TooManyCachePolicies"},
{"shape":"TooManyHeadersInCachePolicy"},
{"shape":"TooManyCookiesInCachePolicy"},
{"shape":"TooManyQueryStringsInCachePolicy"}
],
"documentation":"<p>Creates a cache policy.</p> <p>After you create a cache policy, you can attach it to one or more cache behaviors. When it's attached to a cache behavior, the cache policy determines the following:</p> <ul> <li> <p>The values that CloudFront includes in the <i>cache key</i>. These values can include HTTP headers, cookies, and URL query strings. CloudFront uses the cache key to find an object in its cache that it can return to the viewer.</p> </li> <li> <p>The default, minimum, and maximum time to live (TTL) values that you want objects to stay in the CloudFront cache.</p> </li> </ul> <p>The headers, cookies, and query strings that are included in the cache key are automatically included in requests that CloudFront sends to the origin. CloudFront sends a request when it can't find an object in its cache that matches the request's cache key. If you want to send values to the origin but <i>not</i> include them in the cache key, use <code>OriginRequestPolicy</code>.</p> <p>For more information about cache policies, see <a href=\"https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/controlling-the-cache-key.html\">Controlling the cache key</a> in the <i>Amazon CloudFront Developer Guide</i>.</p>"
},
"CreateCloudFrontOriginAccessIdentity":{
"name":"CreateCloudFrontOriginAccessIdentity2020_05_31",
"http":{
"method":"POST",
"requestUri":"/2020-05-31/origin-access-identity/cloudfront",
"responseCode":201
},
"input":{"shape":"CreateCloudFrontOriginAccessIdentityRequest"},
"output":{"shape":"CreateCloudFrontOriginAccessIdentityResult"},
"errors":[
{"shape":"CloudFrontOriginAccessIdentityAlreadyExists"},
{"shape":"MissingBody"},
{"shape":"TooManyCloudFrontOriginAccessIdentities"},
{"shape":"InvalidArgument"},
{"shape":"InconsistentQuantities"}
],
"documentation":"<p>Creates a new origin access identity. If you're using Amazon S3 for your origin, you can use an origin access identity to require users to access your content using a CloudFront URL instead of the Amazon S3 URL. For more information about how to use origin access identities, see <a href=\"https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/PrivateContent.html\">Serving Private Content through CloudFront</a> in the <i>Amazon CloudFront Developer Guide</i>.</p>"
},
"CreateContinuousDeploymentPolicy":{
"name":"CreateContinuousDeploymentPolicy2020_05_31",
"http":{
"method":"POST",
"requestUri":"/2020-05-31/continuous-deployment-policy",
"responseCode":201
},
"input":{"shape":"CreateContinuousDeploymentPolicyRequest"},
"output":{"shape":"CreateContinuousDeploymentPolicyResult"},
"errors":[
{"shape":"AccessDenied"},
{"shape":"InvalidArgument"},
{"shape":"InconsistentQuantities"},
{"shape":"ContinuousDeploymentPolicyAlreadyExists"},
{"shape":"TooManyContinuousDeploymentPolicies"},
{"shape":"StagingDistributionInUse"}
],
"documentation":"<p>Creates a continuous deployment policy that distributes traffic for a custom domain name to two different CloudFront distributions.</p> <p>To use a continuous deployment policy, first use <code>CopyDistribution</code> to create a staging distribution, then use <code>UpdateDistribution</code> to modify the staging distribution's configuration.</p> <p>After you create and update a staging distribution, you can use a continuous deployment policy to incrementally move traffic to the staging distribution. This workflow enables you to test changes to a distribution's configuration before moving all of your domain's production traffic to the new configuration.</p>"
},
"CreateDistribution":{
"name":"CreateDistribution2020_05_31",
"http":{
"method":"POST",
"requestUri":"/2020-05-31/distribution",
"responseCode":201
},
"input":{"shape":"CreateDistributionRequest"},
"output":{"shape":"CreateDistributionResult"},
"errors":[
{"shape":"CNAMEAlreadyExists"},
{"shape":"DistributionAlreadyExists"},
{"shape":"InvalidOrigin"},
{"shape":"InvalidOriginAccessIdentity"},
{"shape":"InvalidOriginAccessControl"},
{"shape":"IllegalOriginAccessConfiguration"},
{"shape":"TooManyDistributionsAssociatedToOriginAccessControl"},
{"shape":"AccessDenied"},
{"shape":"TooManyTrustedSigners"},
{"shape":"TrustedSignerDoesNotExist"},
{"shape":"InvalidViewerCertificate"},
{"shape":"InvalidMinimumProtocolVersion"},
{"shape":"MissingBody"},
{"shape":"TooManyDistributionCNAMEs"},
{"shape":"TooManyDistributions"},
{"shape":"InvalidDefaultRootObject"},
{"shape":"InvalidRelativePath"},
{"shape":"InvalidErrorCode"},
{"shape":"InvalidResponseCode"},
{"shape":"InvalidArgument"},
{"shape":"InvalidRequiredProtocol"},
{"shape":"NoSuchOrigin"},
{"shape":"TooManyOrigins"},
{"shape":"TooManyOriginGroupsPerDistribution"},
{"shape":"TooManyCacheBehaviors"},
{"shape":"TooManyCookieNamesInWhiteList"},
{"shape":"InvalidForwardCookies"},
{"shape":"TooManyHeadersInForwardedValues"},
{"shape":"InvalidHeadersForS3Origin"},
{"shape":"InconsistentQuantities"},
{"shape":"TooManyCertificates"},
{"shape":"InvalidLocationCode"},
{"shape":"InvalidGeoRestrictionParameter"},
{"shape":"InvalidProtocolSettings"},
{"shape":"InvalidTTLOrder"},
{"shape":"InvalidWebACLId"},
{"shape":"TooManyOriginCustomHeaders"},
{"shape":"TooManyQueryStringParameters"},
{"shape":"InvalidQueryStringParameters"},
{"shape":"TooManyDistributionsWithLambdaAssociations"},
{"shape":"TooManyDistributionsWithSingleFunctionARN"},
{"shape":"TooManyLambdaFunctionAssociations"},
{"shape":"InvalidLambdaFunctionAssociation"},
{"shape":"TooManyDistributionsWithFunctionAssociations"},
{"shape":"TooManyFunctionAssociations"},
{"shape":"InvalidFunctionAssociation"},
{"shape":"InvalidOriginReadTimeout"},
{"shape":"InvalidOriginKeepaliveTimeout"},
{"shape":"NoSuchFieldLevelEncryptionConfig"},
{"shape":"IllegalFieldLevelEncryptionConfigAssociationWithCacheBehavior"},
{"shape":"TooManyDistributionsAssociatedToFieldLevelEncryptionConfig"},
{"shape":"NoSuchCachePolicy"},
{"shape":"TooManyDistributionsAssociatedToCachePolicy"},
{"shape":"NoSuchResponseHeadersPolicy"},
{"shape":"TooManyDistributionsAssociatedToResponseHeadersPolicy"},
{"shape":"NoSuchOriginRequestPolicy"},
{"shape":"TooManyDistributionsAssociatedToOriginRequestPolicy"},
{"shape":"TooManyDistributionsAssociatedToKeyGroup"},
{"shape":"TooManyKeyGroupsAssociatedToDistribution"},
{"shape":"TrustedKeyGroupDoesNotExist"},
{"shape":"NoSuchRealtimeLogConfig"},
{"shape":"RealtimeLogConfigOwnerMismatch"},
{"shape":"ContinuousDeploymentPolicyInUse"},
{"shape":"NoSuchContinuousDeploymentPolicy"},
{"shape":"InvalidDomainNameForOriginAccessControl"}
],
"documentation":"<p>Creates a CloudFront distribution.</p>"
},
"CreateDistributionWithTags":{
"name":"CreateDistributionWithTags2020_05_31",
"http":{
"method":"POST",
"requestUri":"/2020-05-31/distribution?WithTags",
"responseCode":201
},
"input":{"shape":"CreateDistributionWithTagsRequest"},
"output":{"shape":"CreateDistributionWithTagsResult"},
"errors":[
{"shape":"CNAMEAlreadyExists"},
{"shape":"DistributionAlreadyExists"},
{"shape":"InvalidOrigin"},
{"shape":"InvalidOriginAccessIdentity"},
{"shape":"InvalidOriginAccessControl"},
{"shape":"AccessDenied"},
{"shape":"TooManyTrustedSigners"},
{"shape":"TrustedSignerDoesNotExist"},
{"shape":"InvalidViewerCertificate"},
{"shape":"InvalidMinimumProtocolVersion"},
{"shape":"MissingBody"},
{"shape":"TooManyDistributionCNAMEs"},
{"shape":"TooManyDistributions"},
{"shape":"InvalidDefaultRootObject"},
{"shape":"InvalidRelativePath"},
{"shape":"InvalidErrorCode"},
{"shape":"InvalidResponseCode"},
{"shape":"InvalidArgument"},
{"shape":"InvalidRequiredProtocol"},
{"shape":"NoSuchOrigin"},
{"shape":"TooManyOrigins"},
{"shape":"TooManyOriginGroupsPerDistribution"},
{"shape":"TooManyCacheBehaviors"},
{"shape":"TooManyCookieNamesInWhiteList"},
{"shape":"InvalidForwardCookies"},
{"shape":"TooManyHeadersInForwardedValues"},
{"shape":"InvalidHeadersForS3Origin"},
{"shape":"InconsistentQuantities"},
{"shape":"TooManyCertificates"},
{"shape":"InvalidLocationCode"},
{"shape":"InvalidGeoRestrictionParameter"},
{"shape":"InvalidProtocolSettings"},
{"shape":"InvalidTTLOrder"},
{"shape":"InvalidWebACLId"},
{"shape":"TooManyOriginCustomHeaders"},
{"shape":"InvalidTagging"},
{"shape":"TooManyQueryStringParameters"},
{"shape":"InvalidQueryStringParameters"},
{"shape":"TooManyDistributionsWithLambdaAssociations"},
{"shape":"TooManyDistributionsWithSingleFunctionARN"},
{"shape":"TooManyLambdaFunctionAssociations"},
{"shape":"InvalidLambdaFunctionAssociation"},
{"shape":"TooManyDistributionsWithFunctionAssociations"},
{"shape":"TooManyFunctionAssociations"},
{"shape":"InvalidFunctionAssociation"},
{"shape":"InvalidOriginReadTimeout"},
{"shape":"InvalidOriginKeepaliveTimeout"},
{"shape":"NoSuchFieldLevelEncryptionConfig"},
{"shape":"IllegalFieldLevelEncryptionConfigAssociationWithCacheBehavior"},
{"shape":"TooManyDistributionsAssociatedToFieldLevelEncryptionConfig"},
{"shape":"NoSuchCachePolicy"},
{"shape":"TooManyDistributionsAssociatedToCachePolicy"},
{"shape":"NoSuchResponseHeadersPolicy"},
{"shape":"TooManyDistributionsAssociatedToResponseHeadersPolicy"},
{"shape":"NoSuchOriginRequestPolicy"},
{"shape":"TooManyDistributionsAssociatedToOriginRequestPolicy"},
{"shape":"TooManyDistributionsAssociatedToKeyGroup"},
{"shape":"TooManyKeyGroupsAssociatedToDistribution"},
{"shape":"TrustedKeyGroupDoesNotExist"},
{"shape":"NoSuchRealtimeLogConfig"},
{"shape":"RealtimeLogConfigOwnerMismatch"},
{"shape":"ContinuousDeploymentPolicyInUse"},
{"shape":"NoSuchContinuousDeploymentPolicy"},
{"shape":"InvalidDomainNameForOriginAccessControl"}
],
"documentation":"<p>Create a new distribution with tags.</p>"
},
"CreateFieldLevelEncryptionConfig":{
"name":"CreateFieldLevelEncryptionConfig2020_05_31",
"http":{
"method":"POST",
"requestUri":"/2020-05-31/field-level-encryption",
"responseCode":201
},
"input":{"shape":"CreateFieldLevelEncryptionConfigRequest"},
"output":{"shape":"CreateFieldLevelEncryptionConfigResult"},
"errors":[
{"shape":"InconsistentQuantities"},
{"shape":"InvalidArgument"},
{"shape":"NoSuchFieldLevelEncryptionProfile"},
{"shape":"FieldLevelEncryptionConfigAlreadyExists"},
{"shape":"TooManyFieldLevelEncryptionConfigs"},
{"shape":"TooManyFieldLevelEncryptionQueryArgProfiles"},
{"shape":"TooManyFieldLevelEncryptionContentTypeProfiles"},
{"shape":"QueryArgProfileEmpty"}
],
"documentation":"<p>Create a new field-level encryption configuration.</p>"
},
"CreateFieldLevelEncryptionProfile":{
"name":"CreateFieldLevelEncryptionProfile2020_05_31",
"http":{
"method":"POST",
"requestUri":"/2020-05-31/field-level-encryption-profile",
"responseCode":201
},
"input":{"shape":"CreateFieldLevelEncryptionProfileRequest"},
"output":{"shape":"CreateFieldLevelEncryptionProfileResult"},
"errors":[
{"shape":"InconsistentQuantities"},
{"shape":"InvalidArgument"},
{"shape":"NoSuchPublicKey"},
{"shape":"FieldLevelEncryptionProfileAlreadyExists"},
{"shape":"FieldLevelEncryptionProfileSizeExceeded"},
{"shape":"TooManyFieldLevelEncryptionProfiles"},
{"shape":"TooManyFieldLevelEncryptionEncryptionEntities"},
{"shape":"TooManyFieldLevelEncryptionFieldPatterns"}
],
"documentation":"<p>Create a field-level encryption profile.</p>"
},
"CreateFunction":{
"name":"CreateFunction2020_05_31",
"http":{
"method":"POST",
"requestUri":"/2020-05-31/function",
"responseCode":201
},
"input":{
"shape":"CreateFunctionRequest",
"locationName":"CreateFunctionRequest",
"xmlNamespace":{"uri":"http://cloudfront.amazonaws.com/doc/2020-05-31/"}
},
"output":{"shape":"CreateFunctionResult"},
"errors":[
{"shape":"TooManyFunctions"},
{"shape":"FunctionAlreadyExists"},
{"shape":"FunctionSizeLimitExceeded"},
{"shape":"InvalidArgument"},
{"shape":"UnsupportedOperation"}
],
"documentation":"<p>Creates a CloudFront function.</p> <p>To create a function, you provide the function code and some configuration information about the function. The response contains an Amazon Resource Name (ARN) that uniquely identifies the function.</p> <p>When you create a function, it's in the <code>DEVELOPMENT</code> stage. In this stage, you can test the function with <code>TestFunction</code>, and update it with <code>UpdateFunction</code>.</p> <p>When you're ready to use your function with a CloudFront distribution, use <code>PublishFunction</code> to copy the function from the <code>DEVELOPMENT</code> stage to <code>LIVE</code>. When it's live, you can attach the function to a distribution's cache behavior, using the function's ARN.</p>"
},
"CreateInvalidation":{
"name":"CreateInvalidation2020_05_31",
"http":{
"method":"POST",
"requestUri":"/2020-05-31/distribution/{DistributionId}/invalidation",
"responseCode":201
},
"input":{"shape":"CreateInvalidationRequest"},
"output":{"shape":"CreateInvalidationResult"},
"errors":[
{"shape":"AccessDenied"},
{"shape":"MissingBody"},
{"shape":"InvalidArgument"},
{"shape":"NoSuchDistribution"},
{"shape":"BatchTooLarge"},
{"shape":"TooManyInvalidationsInProgress"},
{"shape":"InconsistentQuantities"}
],
"documentation":"<p>Create a new invalidation.</p>"
},
"CreateKeyGroup":{
"name":"CreateKeyGroup2020_05_31",
"http":{
"method":"POST",
"requestUri":"/2020-05-31/key-group",
"responseCode":201
},
"input":{"shape":"CreateKeyGroupRequest"},
"output":{"shape":"CreateKeyGroupResult"},
"errors":[
{"shape":"InvalidArgument"},
{"shape":"KeyGroupAlreadyExists"},
{"shape":"TooManyKeyGroups"},
{"shape":"TooManyPublicKeysInKeyGroup"}
],
"documentation":"<p>Creates a key group that you can use with <a href=\"https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/PrivateContent.html\">CloudFront signed URLs and signed cookies</a>.</p> <p>To create a key group, you must specify at least one public key for the key group. After you create a key group, you can reference it from one or more cache behaviors. When you reference a key group in a cache behavior, CloudFront requires signed URLs or signed cookies for all requests that match the cache behavior. The URLs or cookies must be signed with a private key whose corresponding public key is in the key group. The signed URL or cookie contains information about which public key CloudFront should use to verify the signature. For more information, see <a href=\"https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/PrivateContent.html\">Serving private content</a> in the <i>Amazon CloudFront Developer Guide</i>.</p>"
},
"CreateMonitoringSubscription":{
"name":"CreateMonitoringSubscription2020_05_31",
"http":{
"method":"POST",
"requestUri":"/2020-05-31/distributions/{DistributionId}/monitoring-subscription/"
},
"input":{"shape":"CreateMonitoringSubscriptionRequest"},
"output":{"shape":"CreateMonitoringSubscriptionResult"},
"errors":[
{"shape":"AccessDenied"},
{"shape":"NoSuchDistribution"},
{"shape":"MonitoringSubscriptionAlreadyExists"},
{"shape":"UnsupportedOperation"}
],
"documentation":"<p>Enables additional CloudWatch metrics for the specified CloudFront distribution. The additional metrics incur an additional cost.</p> <p>For more information, see <a href=\"https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/viewing-cloudfront-metrics.html#monitoring-console.distributions-additional\">Viewing additional CloudFront distribution metrics</a> in the <i>Amazon CloudFront Developer Guide</i>.</p>"
},
"CreateOriginAccessControl":{
"name":"CreateOriginAccessControl2020_05_31",
"http":{
"method":"POST",
"requestUri":"/2020-05-31/origin-access-control",
"responseCode":201
},
"input":{"shape":"CreateOriginAccessControlRequest"},
"output":{"shape":"CreateOriginAccessControlResult"},
"errors":[
{"shape":"OriginAccessControlAlreadyExists"},
{"shape":"TooManyOriginAccessControls"},
{"shape":"InvalidArgument"}
],
"documentation":"<p>Creates a new origin access control in CloudFront. After you create an origin access control, you can add it to an origin in a CloudFront distribution so that CloudFront sends authenticated (signed) requests to the origin.</p> <p>For an Amazon S3 origin, this makes it possible to block public access to the Amazon S3 bucket so that viewers (users) can access the content in the bucket only through CloudFront.</p> <p>For more information about using a CloudFront origin access control, see <a href=\"https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/private-content-restricting-access-to-s3.html\">Restricting access to an Amazon S3 origin</a> in the <i>Amazon CloudFront Developer Guide</i>.</p>"
},
"CreateOriginRequestPolicy":{
"name":"CreateOriginRequestPolicy2020_05_31",
"http":{
"method":"POST",
"requestUri":"/2020-05-31/origin-request-policy",
"responseCode":201
},
"input":{"shape":"CreateOriginRequestPolicyRequest"},
"output":{"shape":"CreateOriginRequestPolicyResult"},
"errors":[
{"shape":"AccessDenied"},
{"shape":"InconsistentQuantities"},
{"shape":"InvalidArgument"},
{"shape":"OriginRequestPolicyAlreadyExists"},
{"shape":"TooManyOriginRequestPolicies"},
{"shape":"TooManyHeadersInOriginRequestPolicy"},
{"shape":"TooManyCookiesInOriginRequestPolicy"},
{"shape":"TooManyQueryStringsInOriginRequestPolicy"}
],
"documentation":"<p>Creates an origin request policy.</p> <p>After you create an origin request policy, you can attach it to one or more cache behaviors. When it's attached to a cache behavior, the origin request policy determines the values that CloudFront includes in requests that it sends to the origin. Each request that CloudFront sends to the origin includes the following:</p> <ul> <li> <p>The request body and the URL path (without the domain name) from the viewer request.</p> </li> <li> <p>The headers that CloudFront automatically includes in every origin request, including <code>Host</code>, <code>User-Agent</code>, and <code>X-Amz-Cf-Id</code>.</p> </li> <li> <p>All HTTP headers, cookies, and URL query strings that are specified in the cache policy or the origin request policy. These can include items from the viewer request and, in the case of headers, additional ones that are added by CloudFront.</p> </li> </ul> <p>CloudFront sends a request when it can't find a valid object in its cache that matches the request. If you want to send values to the origin and also include them in the cache key, use <code>CachePolicy</code>.</p> <p>For more information about origin request policies, see <a href=\"https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/controlling-origin-requests.html\">Controlling origin requests</a> in the <i>Amazon CloudFront Developer Guide</i>.</p>"
},
"CreatePublicKey":{
"name":"CreatePublicKey2020_05_31",
"http":{
"method":"POST",
"requestUri":"/2020-05-31/public-key",
"responseCode":201
},
"input":{"shape":"CreatePublicKeyRequest"},
"output":{"shape":"CreatePublicKeyResult"},
"errors":[
{"shape":"PublicKeyAlreadyExists"},
{"shape":"InvalidArgument"},
{"shape":"TooManyPublicKeys"}
],
"documentation":"<p>Uploads a public key to CloudFront that you can use with <a href=\"https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/PrivateContent.html\">signed URLs and signed cookies</a>, or with <a href=\"https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/field-level-encryption.html\">field-level encryption</a>.</p>"
},
"CreateRealtimeLogConfig":{
"name":"CreateRealtimeLogConfig2020_05_31",
"http":{
"method":"POST",
"requestUri":"/2020-05-31/realtime-log-config",
"responseCode":201
},
"input":{
"shape":"CreateRealtimeLogConfigRequest",
"locationName":"CreateRealtimeLogConfigRequest",
"xmlNamespace":{"uri":"http://cloudfront.amazonaws.com/doc/2020-05-31/"}
},
"output":{"shape":"CreateRealtimeLogConfigResult"},
"errors":[
{"shape":"RealtimeLogConfigAlreadyExists"},
{"shape":"TooManyRealtimeLogConfigs"},
{"shape":"InvalidArgument"},
{"shape":"AccessDenied"}
],
"documentation":"<p>Creates a real-time log configuration.</p> <p>After you create a real-time log configuration, you can attach it to one or more cache behaviors to send real-time log data to the specified Amazon Kinesis data stream.</p> <p>For more information about real-time log configurations, see <a href=\"https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/real-time-logs.html\">Real-time logs</a> in the <i>Amazon CloudFront Developer Guide</i>.</p>"
},
"CreateResponseHeadersPolicy":{
"name":"CreateResponseHeadersPolicy2020_05_31",
"http":{
"method":"POST",
"requestUri":"/2020-05-31/response-headers-policy",
"responseCode":201
},
"input":{"shape":"CreateResponseHeadersPolicyRequest"},
"output":{"shape":"CreateResponseHeadersPolicyResult"},
"errors":[
{"shape":"AccessDenied"},
{"shape":"InconsistentQuantities"},
{"shape":"InvalidArgument"},
{"shape":"ResponseHeadersPolicyAlreadyExists"},
{"shape":"TooManyResponseHeadersPolicies"},
{"shape":"TooManyCustomHeadersInResponseHeadersPolicy"},
{"shape":"TooLongCSPInResponseHeadersPolicy"},
{"shape":"TooManyRemoveHeadersInResponseHeadersPolicy"}
],
"documentation":"<p>Creates a response headers policy.</p> <p>A response headers policy contains information about a set of HTTP headers. To create a response headers policy, you provide some metadata about the policy and a set of configurations that specify the headers.</p> <p>After you create a response headers policy, you can use its ID to attach it to one or more cache behaviors in a CloudFront distribution. When it's attached to a cache behavior, the response headers policy affects the HTTP headers that CloudFront includes in HTTP responses to requests that match the cache behavior. CloudFront adds or removes response headers according to the configuration of the response headers policy.</p> <p>For more information, see <a href=\"https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/modifying-response-headers.html\">Adding or removing HTTP headers in CloudFront responses</a> in the <i>Amazon CloudFront Developer Guide</i>.</p>"
},
"CreateStreamingDistribution":{
"name":"CreateStreamingDistribution2020_05_31",
"http":{
"method":"POST",
"requestUri":"/2020-05-31/streaming-distribution",
"responseCode":201
},
"input":{"shape":"CreateStreamingDistributionRequest"},
"output":{"shape":"CreateStreamingDistributionResult"},
"errors":[
{"shape":"CNAMEAlreadyExists"},
{"shape":"StreamingDistributionAlreadyExists"},
{"shape":"InvalidOrigin"},
{"shape":"InvalidOriginAccessIdentity"},
{"shape":"InvalidOriginAccessControl"},
{"shape":"AccessDenied"},
{"shape":"TooManyTrustedSigners"},
{"shape":"TrustedSignerDoesNotExist"},
{"shape":"MissingBody"},
{"shape":"TooManyStreamingDistributionCNAMEs"},
{"shape":"TooManyStreamingDistributions"},
{"shape":"InvalidArgument"},
{"shape":"InconsistentQuantities"}
],
"documentation":"<p>This API is deprecated. Amazon CloudFront is deprecating real-time messaging protocol (RTMP) distributions on December 31, 2020. For more information, <a href=\"http://forums.aws.amazon.com/ann.jspa?annID=7356\">read the announcement</a> on the Amazon CloudFront discussion forum.</p>"
},
"CreateStreamingDistributionWithTags":{
"name":"CreateStreamingDistributionWithTags2020_05_31",
"http":{
"method":"POST",
"requestUri":"/2020-05-31/streaming-distribution?WithTags",
"responseCode":201
},
"input":{"shape":"CreateStreamingDistributionWithTagsRequest"},
"output":{"shape":"CreateStreamingDistributionWithTagsResult"},
"errors":[
{"shape":"CNAMEAlreadyExists"},
{"shape":"StreamingDistributionAlreadyExists"},
{"shape":"InvalidOrigin"},
{"shape":"InvalidOriginAccessIdentity"},
{"shape":"InvalidOriginAccessControl"},
{"shape":"AccessDenied"},
{"shape":"TooManyTrustedSigners"},
{"shape":"TrustedSignerDoesNotExist"},
{"shape":"MissingBody"},
{"shape":"TooManyStreamingDistributionCNAMEs"},
{"shape":"TooManyStreamingDistributions"},
{"shape":"InvalidArgument"},
{"shape":"InconsistentQuantities"},
{"shape":"InvalidTagging"}
],
"documentation":"<p>This API is deprecated. Amazon CloudFront is deprecating real-time messaging protocol (RTMP) distributions on December 31, 2020. For more information, <a href=\"http://forums.aws.amazon.com/ann.jspa?annID=7356\">read the announcement</a> on the Amazon CloudFront discussion forum.</p>"
},
"DeleteCachePolicy":{
"name":"DeleteCachePolicy2020_05_31",
"http":{
"method":"DELETE",
"requestUri":"/2020-05-31/cache-policy/{Id}",
"responseCode":204
},
"input":{"shape":"DeleteCachePolicyRequest"},
"errors":[
{"shape":"AccessDenied"},
{"shape":"InvalidIfMatchVersion"},
{"shape":"NoSuchCachePolicy"},
{"shape":"PreconditionFailed"},
{"shape":"IllegalDelete"},
{"shape":"CachePolicyInUse"}
],
"documentation":"<p>Deletes a cache policy.</p> <p>You cannot delete a cache policy if it's attached to a cache behavior. First update your distributions to remove the cache policy from all cache behaviors, then delete the cache policy.</p> <p>To delete a cache policy, you must provide the policy's identifier and version. To get these values, you can use <code>ListCachePolicies</code> or <code>GetCachePolicy</code>.</p>"
},
"DeleteCloudFrontOriginAccessIdentity":{
"name":"DeleteCloudFrontOriginAccessIdentity2020_05_31",
"http":{
"method":"DELETE",
"requestUri":"/2020-05-31/origin-access-identity/cloudfront/{Id}",
"responseCode":204
},
"input":{"shape":"DeleteCloudFrontOriginAccessIdentityRequest"},
"errors":[
{"shape":"AccessDenied"},
{"shape":"InvalidIfMatchVersion"},
{"shape":"NoSuchCloudFrontOriginAccessIdentity"},
{"shape":"PreconditionFailed"},
{"shape":"CloudFrontOriginAccessIdentityInUse"}
],
"documentation":"<p>Delete an origin access identity.</p>"
},
"DeleteContinuousDeploymentPolicy":{
"name":"DeleteContinuousDeploymentPolicy2020_05_31",
"http":{
"method":"DELETE",
"requestUri":"/2020-05-31/continuous-deployment-policy/{Id}",
"responseCode":204
},
"input":{"shape":"DeleteContinuousDeploymentPolicyRequest"},
"errors":[
{"shape":"InvalidIfMatchVersion"},
{"shape":"InvalidArgument"},
{"shape":"AccessDenied"},
{"shape":"PreconditionFailed"},
{"shape":"ContinuousDeploymentPolicyInUse"},
{"shape":"NoSuchContinuousDeploymentPolicy"}
],
"documentation":"<p>Deletes a continuous deployment policy.</p> <p>You cannot delete a continuous deployment policy that's attached to a primary distribution. First update your distribution to remove the continuous deployment policy, then you can delete the policy.</p>"
},
"DeleteDistribution":{
"name":"DeleteDistribution2020_05_31",
"http":{
"method":"DELETE",
"requestUri":"/2020-05-31/distribution/{Id}",
"responseCode":204
},
"input":{"shape":"DeleteDistributionRequest"},
"errors":[
{"shape":"AccessDenied"},
{"shape":"DistributionNotDisabled"},
{"shape":"InvalidIfMatchVersion"},
{"shape":"NoSuchDistribution"},
{"shape":"PreconditionFailed"}
],
"documentation":"<p>Delete a distribution.</p>"
},
"DeleteFieldLevelEncryptionConfig":{
"name":"DeleteFieldLevelEncryptionConfig2020_05_31",
"http":{
"method":"DELETE",
"requestUri":"/2020-05-31/field-level-encryption/{Id}",
"responseCode":204
},
"input":{"shape":"DeleteFieldLevelEncryptionConfigRequest"},
"errors":[
{"shape":"AccessDenied"},
{"shape":"InvalidIfMatchVersion"},
{"shape":"NoSuchFieldLevelEncryptionConfig"},
{"shape":"PreconditionFailed"},
{"shape":"FieldLevelEncryptionConfigInUse"}
],
"documentation":"<p>Remove a field-level encryption configuration.</p>"
},
"DeleteFieldLevelEncryptionProfile":{
"name":"DeleteFieldLevelEncryptionProfile2020_05_31",
"http":{
"method":"DELETE",
"requestUri":"/2020-05-31/field-level-encryption-profile/{Id}",
"responseCode":204
},
"input":{"shape":"DeleteFieldLevelEncryptionProfileRequest"},
"errors":[
{"shape":"AccessDenied"},
{"shape":"InvalidIfMatchVersion"},
{"shape":"NoSuchFieldLevelEncryptionProfile"},
{"shape":"PreconditionFailed"},
{"shape":"FieldLevelEncryptionProfileInUse"}
],
"documentation":"<p>Remove a field-level encryption profile.</p>"
},
"DeleteFunction":{
"name":"DeleteFunction2020_05_31",
"http":{
"method":"DELETE",
"requestUri":"/2020-05-31/function/{Name}",
"responseCode":204
},
"input":{"shape":"DeleteFunctionRequest"},
"errors":[
{"shape":"InvalidIfMatchVersion"},
{"shape":"NoSuchFunctionExists"},
{"shape":"FunctionInUse"},
{"shape":"PreconditionFailed"},
{"shape":"UnsupportedOperation"}
],
"documentation":"<p>Deletes a CloudFront function.</p> <p>You cannot delete a function if it's associated with a cache behavior. First, update your distributions to remove the function association from all cache behaviors, then delete the function.</p> <p>To delete a function, you must provide the function's name and version (<code>ETag</code> value). To get these values, you can use <code>ListFunctions</code> and <code>DescribeFunction</code>.</p>"
},
"DeleteKeyGroup":{
"name":"DeleteKeyGroup2020_05_31",
"http":{
"method":"DELETE",
"requestUri":"/2020-05-31/key-group/{Id}",
"responseCode":204
},
"input":{"shape":"DeleteKeyGroupRequest"},
"errors":[
{"shape":"InvalidIfMatchVersion"},
{"shape":"NoSuchResource"},
{"shape":"PreconditionFailed"},
{"shape":"ResourceInUse"}
],
"documentation":"<p>Deletes a key group.</p> <p>You cannot delete a key group that is referenced in a cache behavior. First update your distributions to remove the key group from all cache behaviors, then delete the key group.</p> <p>To delete a key group, you must provide the key group's identifier and version. To get these values, use <code>ListKeyGroups</code> followed by <code>GetKeyGroup</code> or <code>GetKeyGroupConfig</code>.</p>"
},
"DeleteMonitoringSubscription":{
"name":"DeleteMonitoringSubscription2020_05_31",
"http":{
"method":"DELETE",
"requestUri":"/2020-05-31/distributions/{DistributionId}/monitoring-subscription/"
},
"input":{"shape":"DeleteMonitoringSubscriptionRequest"},
"output":{"shape":"DeleteMonitoringSubscriptionResult"},
"errors":[
{"shape":"AccessDenied"},
{"shape":"NoSuchDistribution"},
{"shape":"NoSuchMonitoringSubscription"},
{"shape":"UnsupportedOperation"}
],
"documentation":"<p>Disables additional CloudWatch metrics for the specified CloudFront distribution.</p>"
},
"DeleteOriginAccessControl":{
"name":"DeleteOriginAccessControl2020_05_31",
"http":{
"method":"DELETE",
"requestUri":"/2020-05-31/origin-access-control/{Id}",
"responseCode":204
},
"input":{"shape":"DeleteOriginAccessControlRequest"},
"errors":[
{"shape":"AccessDenied"},
{"shape":"InvalidIfMatchVersion"},
{"shape":"NoSuchOriginAccessControl"},
{"shape":"PreconditionFailed"},
{"shape":"OriginAccessControlInUse"}
],
"documentation":"<p>Deletes a CloudFront origin access control.</p> <p>You cannot delete an origin access control if it's in use. First, update all distributions to remove the origin access control from all origins, then delete the origin access control.</p>"
},
"DeleteOriginRequestPolicy":{
"name":"DeleteOriginRequestPolicy2020_05_31",
"http":{
"method":"DELETE",
"requestUri":"/2020-05-31/origin-request-policy/{Id}",
"responseCode":204
},
"input":{"shape":"DeleteOriginRequestPolicyRequest"},
"errors":[
{"shape":"AccessDenied"},
{"shape":"InvalidIfMatchVersion"},
{"shape":"NoSuchOriginRequestPolicy"},
{"shape":"PreconditionFailed"},
{"shape":"IllegalDelete"},
{"shape":"OriginRequestPolicyInUse"}
],
"documentation":"<p>Deletes an origin request policy.</p> <p>You cannot delete an origin request policy if it's attached to any cache behaviors. First update your distributions to remove the origin request policy from all cache behaviors, then delete the origin request policy.</p> <p>To delete an origin request policy, you must provide the policy's identifier and version. To get the identifier, you can use <code>ListOriginRequestPolicies</code> or <code>GetOriginRequestPolicy</code>.</p>"
},
"DeletePublicKey":{
"name":"DeletePublicKey2020_05_31",
"http":{
"method":"DELETE",
"requestUri":"/2020-05-31/public-key/{Id}",
"responseCode":204
},
"input":{"shape":"DeletePublicKeyRequest"},
"errors":[
{"shape":"AccessDenied"},
{"shape":"PublicKeyInUse"},
{"shape":"InvalidIfMatchVersion"},
{"shape":"NoSuchPublicKey"},
{"shape":"PreconditionFailed"}
],
"documentation":"<p>Remove a public key you previously added to CloudFront.</p>"
},
"DeleteRealtimeLogConfig":{
"name":"DeleteRealtimeLogConfig2020_05_31",
"http":{
"method":"POST",
"requestUri":"/2020-05-31/delete-realtime-log-config/",
"responseCode":204
},
"input":{
"shape":"DeleteRealtimeLogConfigRequest",
"locationName":"DeleteRealtimeLogConfigRequest",
"xmlNamespace":{"uri":"http://cloudfront.amazonaws.com/doc/2020-05-31/"}
},
"errors":[
{"shape":"NoSuchRealtimeLogConfig"},
{"shape":"RealtimeLogConfigInUse"},
{"shape":"InvalidArgument"},
{"shape":"AccessDenied"}
],
"documentation":"<p>Deletes a real-time log configuration.</p> <p>You cannot delete a real-time log configuration if it's attached to a cache behavior. First update your distributions to remove the real-time log configuration from all cache behaviors, then delete the real-time log configuration.</p> <p>To delete a real-time log configuration, you can provide the configuration's name or its Amazon Resource Name (ARN). You must provide at least one. If you provide both, CloudFront uses the name to identify the real-time log configuration to delete.</p>"
},
"DeleteResponseHeadersPolicy":{
"name":"DeleteResponseHeadersPolicy2020_05_31",
"http":{
"method":"DELETE",
"requestUri":"/2020-05-31/response-headers-policy/{Id}",
"responseCode":204
},
"input":{"shape":"DeleteResponseHeadersPolicyRequest"},
"errors":[
{"shape":"AccessDenied"},
{"shape":"InvalidIfMatchVersion"},
{"shape":"NoSuchResponseHeadersPolicy"},
{"shape":"PreconditionFailed"},
{"shape":"IllegalDelete"},
{"shape":"ResponseHeadersPolicyInUse"}
],
"documentation":"<p>Deletes a response headers policy.</p> <p>You cannot delete a response headers policy if it's attached to a cache behavior. First update your distributions to remove the response headers policy from all cache behaviors, then delete the response headers policy.</p> <p>To delete a response headers policy, you must provide the policy's identifier and version. To get these values, you can use <code>ListResponseHeadersPolicies</code> or <code>GetResponseHeadersPolicy</code>.</p>"
},
"DeleteStreamingDistribution":{
"name":"DeleteStreamingDistribution2020_05_31",
"http":{
"method":"DELETE",
"requestUri":"/2020-05-31/streaming-distribution/{Id}",
"responseCode":204
},
"input":{"shape":"DeleteStreamingDistributionRequest"},
"errors":[
{"shape":"AccessDenied"},
{"shape":"StreamingDistributionNotDisabled"},
{"shape":"InvalidIfMatchVersion"},
{"shape":"NoSuchStreamingDistribution"},
{"shape":"PreconditionFailed"}
],
"documentation":"<p>Delete a streaming distribution. To delete an RTMP distribution using the CloudFront API, perform the following steps.</p> <p> <b>To delete an RTMP distribution using the CloudFront API</b>:</p> <ol> <li> <p>Disable the RTMP distribution.</p> </li> <li> <p>Submit a <code>GET Streaming Distribution Config</code> request to get the current configuration and the <code>Etag</code> header for the distribution. </p> </li> <li> <p>Update the XML document that was returned in the response to your <code>GET Streaming Distribution Config</code> request to change the value of <code>Enabled</code> to <code>false</code>.</p> </li> <li> <p>Submit a <code>PUT Streaming Distribution Config</code> request to update the configuration for your distribution. In the request body, include the XML document that you updated in Step 3. Then set the value of the HTTP <code>If-Match</code> header to the value of the <code>ETag</code> header that CloudFront returned when you submitted the <code>GET Streaming Distribution Config</code> request in Step 2.</p> </li> <li> <p>Review the response to the <code>PUT Streaming Distribution Config</code> request to confirm that the distribution was successfully disabled.</p> </li> <li> <p>Submit a <code>GET Streaming Distribution Config</code> request to confirm that your changes have propagated. When propagation is complete, the value of <code>Status</code> is <code>Deployed</code>.</p> </li> <li> <p>Submit a <code>DELETE Streaming Distribution</code> request. Set the value of the HTTP <code>If-Match</code> header to the value of the <code>ETag</code> header that CloudFront returned when you submitted the <code>GET Streaming Distribution Config</code> request in Step 2.</p> </li> <li> <p>Review the response to your <code>DELETE Streaming Distribution</code> request to confirm that the distribution was successfully deleted.</p> </li> </ol> <p>For information about deleting a distribution using the CloudFront console, see <a href=\"https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/HowToDeleteDistribution.html\">Deleting a Distribution</a> in the <i>Amazon CloudFront Developer Guide</i>.</p>"
},
"DescribeFunction":{
"name":"DescribeFunction2020_05_31",
"http":{
"method":"GET",
"requestUri":"/2020-05-31/function/{Name}/describe"
},
"input":{"shape":"DescribeFunctionRequest"},
"output":{"shape":"DescribeFunctionResult"},
"errors":[
{"shape":"NoSuchFunctionExists"},
{"shape":"UnsupportedOperation"}
],
"documentation":"<p>Gets configuration information and metadata about a CloudFront function, but not the function's code. To get a function's code, use <code>GetFunction</code>.</p> <p>To get configuration information and metadata about a function, you must provide the function's name and stage. To get these values, you can use <code>ListFunctions</code>.</p>"
},
"GetCachePolicy":{
"name":"GetCachePolicy2020_05_31",
"http":{
"method":"GET",
"requestUri":"/2020-05-31/cache-policy/{Id}"
},
"input":{"shape":"GetCachePolicyRequest"},
"output":{"shape":"GetCachePolicyResult"},
"errors":[
{"shape":"AccessDenied"},
{"shape":"NoSuchCachePolicy"}
],
"documentation":"<p>Gets a cache policy, including the following metadata:</p> <ul> <li> <p>The policy's identifier.</p> </li> <li> <p>The date and time when the policy was last modified.</p> </li> </ul> <p>To get a cache policy, you must provide the policy's identifier. If the cache policy is attached to a distribution's cache behavior, you can get the policy's identifier using <code>ListDistributions</code> or <code>GetDistribution</code>. If the cache policy is not attached to a cache behavior, you can get the identifier using <code>ListCachePolicies</code>.</p>"
},
"GetCachePolicyConfig":{
"name":"GetCachePolicyConfig2020_05_31",
"http":{
"method":"GET",
"requestUri":"/2020-05-31/cache-policy/{Id}/config"
},
"input":{"shape":"GetCachePolicyConfigRequest"},
"output":{"shape":"GetCachePolicyConfigResult"},
"errors":[
{"shape":"AccessDenied"},
{"shape":"NoSuchCachePolicy"}
],
"documentation":"<p>Gets a cache policy configuration.</p> <p>To get a cache policy configuration, you must provide the policy's identifier. If the cache policy is attached to a distribution's cache behavior, you can get the policy's identifier using <code>ListDistributions</code> or <code>GetDistribution</code>. If the cache policy is not attached to a cache behavior, you can get the identifier using <code>ListCachePolicies</code>.</p>"
},
"GetCloudFrontOriginAccessIdentity":{
"name":"GetCloudFrontOriginAccessIdentity2020_05_31",
"http":{
"method":"GET",
"requestUri":"/2020-05-31/origin-access-identity/cloudfront/{Id}"
},
"input":{"shape":"GetCloudFrontOriginAccessIdentityRequest"},
"output":{"shape":"GetCloudFrontOriginAccessIdentityResult"},
"errors":[
{"shape":"NoSuchCloudFrontOriginAccessIdentity"},
{"shape":"AccessDenied"}
],
"documentation":"<p>Get the information about an origin access identity.</p>"
},
"GetCloudFrontOriginAccessIdentityConfig":{
"name":"GetCloudFrontOriginAccessIdentityConfig2020_05_31",
"http":{
"method":"GET",
"requestUri":"/2020-05-31/origin-access-identity/cloudfront/{Id}/config"
},
"input":{"shape":"GetCloudFrontOriginAccessIdentityConfigRequest"},
"output":{"shape":"GetCloudFrontOriginAccessIdentityConfigResult"},
"errors":[
{"shape":"NoSuchCloudFrontOriginAccessIdentity"},
{"shape":"AccessDenied"}
],
"documentation":"<p>Get the configuration information about an origin access identity.</p>"
},
"GetContinuousDeploymentPolicy":{
"name":"GetContinuousDeploymentPolicy2020_05_31",
"http":{
"method":"GET",
"requestUri":"/2020-05-31/continuous-deployment-policy/{Id}"
},
"input":{"shape":"GetContinuousDeploymentPolicyRequest"},
"output":{"shape":"GetContinuousDeploymentPolicyResult"},
"errors":[
{"shape":"AccessDenied"},
{"shape":"NoSuchContinuousDeploymentPolicy"}
],
"documentation":"<p>Gets a continuous deployment policy, including metadata (the policy's identifier and the date and time when the policy was last modified).</p>"
},
"GetContinuousDeploymentPolicyConfig":{
"name":"GetContinuousDeploymentPolicyConfig2020_05_31",
"http":{
"method":"GET",
"requestUri":"/2020-05-31/continuous-deployment-policy/{Id}/config"
},
"input":{"shape":"GetContinuousDeploymentPolicyConfigRequest"},
"output":{"shape":"GetContinuousDeploymentPolicyConfigResult"},
"errors":[
{"shape":"AccessDenied"},
{"shape":"NoSuchContinuousDeploymentPolicy"}
],
"documentation":"<p>Gets configuration information about a continuous deployment policy.</p>"
},
"GetDistribution":{
"name":"GetDistribution2020_05_31",
"http":{
"method":"GET",
"requestUri":"/2020-05-31/distribution/{Id}"
},
"input":{"shape":"GetDistributionRequest"},
"output":{"shape":"GetDistributionResult"},
"errors":[
{"shape":"NoSuchDistribution"},
{"shape":"AccessDenied"}
],
"documentation":"<p>Get the information about a distribution.</p>"
},
"GetDistributionConfig":{
"name":"GetDistributionConfig2020_05_31",
"http":{
"method":"GET",
"requestUri":"/2020-05-31/distribution/{Id}/config"
},
"input":{"shape":"GetDistributionConfigRequest"},
"output":{"shape":"GetDistributionConfigResult"},
"errors":[
{"shape":"NoSuchDistribution"},
{"shape":"AccessDenied"}
],
"documentation":"<p>Get the configuration information about a distribution.</p>"
},
"GetFieldLevelEncryption":{
"name":"GetFieldLevelEncryption2020_05_31",
"http":{
"method":"GET",
"requestUri":"/2020-05-31/field-level-encryption/{Id}"
},
"input":{"shape":"GetFieldLevelEncryptionRequest"},
"output":{"shape":"GetFieldLevelEncryptionResult"},
"errors":[
{"shape":"AccessDenied"},
{"shape":"NoSuchFieldLevelEncryptionConfig"}
],
"documentation":"<p>Get the field-level encryption configuration information.</p>"
},
"GetFieldLevelEncryptionConfig":{
"name":"GetFieldLevelEncryptionConfig2020_05_31",
"http":{
"method":"GET",
"requestUri":"/2020-05-31/field-level-encryption/{Id}/config"
},
"input":{"shape":"GetFieldLevelEncryptionConfigRequest"},
"output":{"shape":"GetFieldLevelEncryptionConfigResult"},
"errors":[
{"shape":"AccessDenied"},
{"shape":"NoSuchFieldLevelEncryptionConfig"}