@aws-sdk/client-cloudfront 3.325.0 → 3.326.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (107) hide show
  1. package/dist-types/commands/AssociateAliasCommand.d.ts +4 -0
  2. package/dist-types/commands/CopyDistributionCommand.d.ts +338 -0
  3. package/dist-types/commands/CreateCachePolicyCommand.d.ts +49 -0
  4. package/dist-types/commands/CreateCloudFrontOriginAccessIdentityCommand.d.ts +15 -0
  5. package/dist-types/commands/CreateContinuousDeploymentPolicyCommand.d.ts +34 -0
  6. package/dist-types/commands/CreateDistributionCommand.d.ts +338 -0
  7. package/dist-types/commands/CreateDistributionWithTagsCommand.d.ts +338 -0
  8. package/dist-types/commands/CreateFieldLevelEncryptionConfigCommand.d.ts +40 -0
  9. package/dist-types/commands/CreateFieldLevelEncryptionProfileCommand.d.ts +31 -0
  10. package/dist-types/commands/CreateFunctionCommand.d.ts +21 -0
  11. package/dist-types/commands/CreateInvalidationCommand.d.ts +20 -0
  12. package/dist-types/commands/CreateKeyGroupCommand.d.ts +18 -0
  13. package/dist-types/commands/CreateMonitoringSubscriptionCommand.d.ts +10 -0
  14. package/dist-types/commands/CreateOriginAccessControlCommand.d.ts +17 -0
  15. package/dist-types/commands/CreateOriginRequestPolicyCommand.d.ts +42 -0
  16. package/dist-types/commands/CreatePublicKeyCommand.d.ts +17 -0
  17. package/dist-types/commands/CreateRealtimeLogConfigCommand.d.ts +22 -0
  18. package/dist-types/commands/CreateResponseHeadersPolicyCommand.d.ts +95 -0
  19. package/dist-types/commands/CreateStreamingDistributionCommand.d.ts +57 -0
  20. package/dist-types/commands/CreateStreamingDistributionWithTagsCommand.d.ts +57 -0
  21. package/dist-types/commands/DeleteCachePolicyCommand.d.ts +4 -0
  22. package/dist-types/commands/DeleteCloudFrontOriginAccessIdentityCommand.d.ts +4 -0
  23. package/dist-types/commands/DeleteContinuousDeploymentPolicyCommand.d.ts +4 -0
  24. package/dist-types/commands/DeleteDistributionCommand.d.ts +4 -0
  25. package/dist-types/commands/DeleteFieldLevelEncryptionConfigCommand.d.ts +4 -0
  26. package/dist-types/commands/DeleteFieldLevelEncryptionProfileCommand.d.ts +4 -0
  27. package/dist-types/commands/DeleteFunctionCommand.d.ts +4 -0
  28. package/dist-types/commands/DeleteKeyGroupCommand.d.ts +4 -0
  29. package/dist-types/commands/DeleteMonitoringSubscriptionCommand.d.ts +4 -0
  30. package/dist-types/commands/DeleteOriginAccessControlCommand.d.ts +4 -0
  31. package/dist-types/commands/DeleteOriginRequestPolicyCommand.d.ts +4 -0
  32. package/dist-types/commands/DeletePublicKeyCommand.d.ts +4 -0
  33. package/dist-types/commands/DeleteRealtimeLogConfigCommand.d.ts +4 -0
  34. package/dist-types/commands/DeleteResponseHeadersPolicyCommand.d.ts +4 -0
  35. package/dist-types/commands/DeleteStreamingDistributionCommand.d.ts +4 -0
  36. package/dist-types/commands/DescribeFunctionCommand.d.ts +20 -0
  37. package/dist-types/commands/GetCachePolicyCommand.d.ts +48 -0
  38. package/dist-types/commands/GetCachePolicyConfigCommand.d.ts +44 -0
  39. package/dist-types/commands/GetCloudFrontOriginAccessIdentityCommand.d.ts +14 -0
  40. package/dist-types/commands/GetCloudFrontOriginAccessIdentityConfigCommand.d.ts +10 -0
  41. package/dist-types/commands/GetContinuousDeploymentPolicyCommand.d.ts +33 -0
  42. package/dist-types/commands/GetContinuousDeploymentPolicyConfigCommand.d.ts +29 -0
  43. package/dist-types/commands/GetDistributionCommand.d.ts +337 -0
  44. package/dist-types/commands/GetDistributionConfigCommand.d.ts +293 -0
  45. package/dist-types/commands/GetFieldLevelEncryptionCommand.d.ts +39 -0
  46. package/dist-types/commands/GetFieldLevelEncryptionConfigCommand.d.ts +35 -0
  47. package/dist-types/commands/GetFieldLevelEncryptionProfileCommand.d.ts +30 -0
  48. package/dist-types/commands/GetFieldLevelEncryptionProfileConfigCommand.d.ts +26 -0
  49. package/dist-types/commands/GetFunctionCommand.d.ts +8 -0
  50. package/dist-types/commands/GetInvalidationCommand.d.ts +19 -0
  51. package/dist-types/commands/GetKeyGroupCommand.d.ts +17 -0
  52. package/dist-types/commands/GetKeyGroupConfigCommand.d.ts +13 -0
  53. package/dist-types/commands/GetMonitoringSubscriptionCommand.d.ts +10 -0
  54. package/dist-types/commands/GetOriginAccessControlCommand.d.ts +16 -0
  55. package/dist-types/commands/GetOriginAccessControlConfigCommand.d.ts +13 -0
  56. package/dist-types/commands/GetOriginRequestPolicyCommand.d.ts +41 -0
  57. package/dist-types/commands/GetOriginRequestPolicyConfigCommand.d.ts +37 -0
  58. package/dist-types/commands/GetPublicKeyCommand.d.ts +16 -0
  59. package/dist-types/commands/GetPublicKeyConfigCommand.d.ts +12 -0
  60. package/dist-types/commands/GetRealtimeLogConfigCommand.d.ts +22 -0
  61. package/dist-types/commands/GetResponseHeadersPolicyCommand.d.ts +94 -0
  62. package/dist-types/commands/GetResponseHeadersPolicyConfigCommand.d.ts +90 -0
  63. package/dist-types/commands/GetStreamingDistributionCommand.d.ts +56 -0
  64. package/dist-types/commands/GetStreamingDistributionConfigCommand.d.ts +34 -0
  65. package/dist-types/commands/ListCachePoliciesCommand.d.ts +57 -0
  66. package/dist-types/commands/ListCloudFrontOriginAccessIdentitiesCommand.d.ts +19 -0
  67. package/dist-types/commands/ListConflictingAliasesCommand.d.ts +17 -0
  68. package/dist-types/commands/ListContinuousDeploymentPoliciesCommand.d.ts +41 -0
  69. package/dist-types/commands/ListDistributionsByCachePolicyIdCommand.d.ts +15 -0
  70. package/dist-types/commands/ListDistributionsByKeyGroupCommand.d.ts +15 -0
  71. package/dist-types/commands/ListDistributionsByOriginRequestPolicyIdCommand.d.ts +15 -0
  72. package/dist-types/commands/ListDistributionsByRealtimeLogConfigCommand.d.ts +303 -0
  73. package/dist-types/commands/ListDistributionsByResponseHeadersPolicyIdCommand.d.ts +15 -0
  74. package/dist-types/commands/ListDistributionsByWebACLIdCommand.d.ts +303 -0
  75. package/dist-types/commands/ListDistributionsCommand.d.ts +303 -0
  76. package/dist-types/commands/ListFieldLevelEncryptionConfigsCommand.d.ts +42 -0
  77. package/dist-types/commands/ListFieldLevelEncryptionProfilesCommand.d.ts +33 -0
  78. package/dist-types/commands/ListFunctionsCommand.d.ts +26 -0
  79. package/dist-types/commands/ListInvalidationsCommand.d.ts +19 -0
  80. package/dist-types/commands/ListKeyGroupsCommand.d.ts +25 -0
  81. package/dist-types/commands/ListOriginAccessControlsCommand.d.ts +22 -0
  82. package/dist-types/commands/ListOriginRequestPoliciesCommand.d.ts +50 -0
  83. package/dist-types/commands/ListPublicKeysCommand.d.ts +19 -0
  84. package/dist-types/commands/ListRealtimeLogConfigsCommand.d.ts +30 -0
  85. package/dist-types/commands/ListResponseHeadersPoliciesCommand.d.ts +103 -0
  86. package/dist-types/commands/ListStreamingDistributionsCommand.d.ts +41 -0
  87. package/dist-types/commands/ListTagsForResourceCommand.d.ts +13 -0
  88. package/dist-types/commands/PublishFunctionCommand.d.ts +19 -0
  89. package/dist-types/commands/TagResourceCommand.d.ts +4 -0
  90. package/dist-types/commands/TestFunctionCommand.d.ts +27 -0
  91. package/dist-types/commands/UntagResourceCommand.d.ts +4 -0
  92. package/dist-types/commands/UpdateCachePolicyCommand.d.ts +48 -0
  93. package/dist-types/commands/UpdateCloudFrontOriginAccessIdentityCommand.d.ts +14 -0
  94. package/dist-types/commands/UpdateContinuousDeploymentPolicyCommand.d.ts +33 -0
  95. package/dist-types/commands/UpdateDistributionCommand.d.ts +337 -0
  96. package/dist-types/commands/UpdateDistributionWithStagingConfigCommand.d.ts +337 -0
  97. package/dist-types/commands/UpdateFieldLevelEncryptionConfigCommand.d.ts +39 -0
  98. package/dist-types/commands/UpdateFieldLevelEncryptionProfileCommand.d.ts +30 -0
  99. package/dist-types/commands/UpdateFunctionCommand.d.ts +20 -0
  100. package/dist-types/commands/UpdateKeyGroupCommand.d.ts +17 -0
  101. package/dist-types/commands/UpdateOriginAccessControlCommand.d.ts +16 -0
  102. package/dist-types/commands/UpdateOriginRequestPolicyCommand.d.ts +41 -0
  103. package/dist-types/commands/UpdatePublicKeyCommand.d.ts +16 -0
  104. package/dist-types/commands/UpdateRealtimeLogConfigCommand.d.ts +22 -0
  105. package/dist-types/commands/UpdateResponseHeadersPolicyCommand.d.ts +94 -0
  106. package/dist-types/commands/UpdateStreamingDistributionCommand.d.ts +56 -0
  107. package/package.json +3 -3
@@ -43,6 +43,31 @@ export interface TestFunctionCommandOutput extends TestFunctionResult, __Metadat
43
43
  * };
44
44
  * const command = new TestFunctionCommand(input);
45
45
  * const response = await client.send(command);
46
+ * // { // TestFunctionResult
47
+ * // TestResult: { // TestResult
48
+ * // FunctionSummary: { // FunctionSummary
49
+ * // Name: "STRING_VALUE", // required
50
+ * // Status: "STRING_VALUE",
51
+ * // FunctionConfig: { // FunctionConfig
52
+ * // Comment: "STRING_VALUE", // required
53
+ * // Runtime: "cloudfront-js-1.0", // required
54
+ * // },
55
+ * // FunctionMetadata: { // FunctionMetadata
56
+ * // FunctionARN: "STRING_VALUE", // required
57
+ * // Stage: "DEVELOPMENT" || "LIVE",
58
+ * // CreatedTime: new Date("TIMESTAMP"),
59
+ * // LastModifiedTime: new Date("TIMESTAMP"), // required
60
+ * // },
61
+ * // },
62
+ * // ComputeUtilization: "STRING_VALUE",
63
+ * // FunctionExecutionLogs: [ // FunctionExecutionLogList
64
+ * // "STRING_VALUE",
65
+ * // ],
66
+ * // FunctionErrorMessage: "STRING_VALUE",
67
+ * // FunctionOutput: "STRING_VALUE",
68
+ * // },
69
+ * // };
70
+ *
46
71
  * ```
47
72
  *
48
73
  * @param TestFunctionCommandInput - {@link TestFunctionCommandInput}
@@ -66,6 +91,8 @@ export interface TestFunctionCommandOutput extends TestFunctionResult, __Metadat
66
91
  * @throws {@link UnsupportedOperation} (client fault)
67
92
  * <p>This operation is not supported in this region.</p>
68
93
  *
94
+ * @throws {@link CloudFrontServiceException}
95
+ * <p>Base exception class for all service exceptions from CloudFront service.</p>
69
96
  *
70
97
  */
71
98
  export declare class TestFunctionCommand extends $Command<TestFunctionCommandInput, TestFunctionCommandOutput, CloudFrontClientResolvedConfig> {
@@ -36,6 +36,8 @@ export interface UntagResourceCommandOutput extends __MetadataBearer {
36
36
  * };
37
37
  * const command = new UntagResourceCommand(input);
38
38
  * const response = await client.send(command);
39
+ * // {};
40
+ *
39
41
  * ```
40
42
  *
41
43
  * @param UntagResourceCommandInput - {@link UntagResourceCommandInput}
@@ -56,6 +58,8 @@ export interface UntagResourceCommandOutput extends __MetadataBearer {
56
58
  * @throws {@link NoSuchResource} (client fault)
57
59
  * <p>A resource that was specified is not valid.</p>
58
60
  *
61
+ * @throws {@link CloudFrontServiceException}
62
+ * <p>Base exception class for all service exceptions from CloudFront service.</p>
59
63
  *
60
64
  */
61
65
  export declare class UntagResourceCommand extends $Command<UntagResourceCommandInput, UntagResourceCommandOutput, CloudFrontClientResolvedConfig> {
@@ -87,6 +87,52 @@ export interface UpdateCachePolicyCommandOutput extends UpdateCachePolicyResult,
87
87
  * };
88
88
  * const command = new UpdateCachePolicyCommand(input);
89
89
  * const response = await client.send(command);
90
+ * // { // UpdateCachePolicyResult
91
+ * // CachePolicy: { // CachePolicy
92
+ * // Id: "STRING_VALUE", // required
93
+ * // LastModifiedTime: new Date("TIMESTAMP"), // required
94
+ * // CachePolicyConfig: { // CachePolicyConfig
95
+ * // Comment: "STRING_VALUE",
96
+ * // Name: "STRING_VALUE", // required
97
+ * // DefaultTTL: Number("long"),
98
+ * // MaxTTL: Number("long"),
99
+ * // MinTTL: Number("long"), // required
100
+ * // ParametersInCacheKeyAndForwardedToOrigin: { // ParametersInCacheKeyAndForwardedToOrigin
101
+ * // EnableAcceptEncodingGzip: true || false, // required
102
+ * // EnableAcceptEncodingBrotli: true || false,
103
+ * // HeadersConfig: { // CachePolicyHeadersConfig
104
+ * // HeaderBehavior: "none" || "whitelist", // required
105
+ * // Headers: { // Headers
106
+ * // Quantity: Number("int"), // required
107
+ * // Items: [ // HeaderList
108
+ * // "STRING_VALUE",
109
+ * // ],
110
+ * // },
111
+ * // },
112
+ * // CookiesConfig: { // CachePolicyCookiesConfig
113
+ * // CookieBehavior: "none" || "whitelist" || "allExcept" || "all", // required
114
+ * // Cookies: { // CookieNames
115
+ * // Quantity: Number("int"), // required
116
+ * // Items: [ // CookieNameList
117
+ * // "STRING_VALUE",
118
+ * // ],
119
+ * // },
120
+ * // },
121
+ * // QueryStringsConfig: { // CachePolicyQueryStringsConfig
122
+ * // QueryStringBehavior: "none" || "whitelist" || "allExcept" || "all", // required
123
+ * // QueryStrings: { // QueryStringNames
124
+ * // Quantity: Number("int"), // required
125
+ * // Items: [ // QueryStringNamesList
126
+ * // "STRING_VALUE",
127
+ * // ],
128
+ * // },
129
+ * // },
130
+ * // },
131
+ * // },
132
+ * // },
133
+ * // ETag: "STRING_VALUE",
134
+ * // };
135
+ *
90
136
  * ```
91
137
  *
92
138
  * @param UpdateCachePolicyCommandInput - {@link UpdateCachePolicyCommandInput}
@@ -137,6 +183,8 @@ export interface UpdateCachePolicyCommandOutput extends UpdateCachePolicyResult,
137
183
  * information, see <a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/cloudfront-limits.html">Quotas</a> (formerly known as limits) in the
138
184
  * <i>Amazon CloudFront Developer Guide</i>.</p>
139
185
  *
186
+ * @throws {@link CloudFrontServiceException}
187
+ * <p>Base exception class for all service exceptions from CloudFront service.</p>
140
188
  *
141
189
  */
142
190
  export declare class UpdateCachePolicyCommand extends $Command<UpdateCachePolicyCommandInput, UpdateCachePolicyCommandOutput, CloudFrontClientResolvedConfig> {
@@ -36,6 +36,18 @@ export interface UpdateCloudFrontOriginAccessIdentityCommandOutput extends Updat
36
36
  * };
37
37
  * const command = new UpdateCloudFrontOriginAccessIdentityCommand(input);
38
38
  * const response = await client.send(command);
39
+ * // { // UpdateCloudFrontOriginAccessIdentityResult
40
+ * // CloudFrontOriginAccessIdentity: { // CloudFrontOriginAccessIdentity
41
+ * // Id: "STRING_VALUE", // required
42
+ * // S3CanonicalUserId: "STRING_VALUE", // required
43
+ * // CloudFrontOriginAccessIdentityConfig: { // CloudFrontOriginAccessIdentityConfig
44
+ * // CallerReference: "STRING_VALUE", // required
45
+ * // Comment: "STRING_VALUE", // required
46
+ * // },
47
+ * // },
48
+ * // ETag: "STRING_VALUE",
49
+ * // };
50
+ *
39
51
  * ```
40
52
  *
41
53
  * @param UpdateCloudFrontOriginAccessIdentityCommandInput - {@link UpdateCloudFrontOriginAccessIdentityCommandInput}
@@ -71,6 +83,8 @@ export interface UpdateCloudFrontOriginAccessIdentityCommandOutput extends Updat
71
83
  * <p>The precondition in one or more of the request fields evaluated to
72
84
  * <code>false</code>.</p>
73
85
  *
86
+ * @throws {@link CloudFrontServiceException}
87
+ * <p>Base exception class for all service exceptions from CloudFront service.</p>
74
88
  *
75
89
  */
76
90
  export declare class UpdateCloudFrontOriginAccessIdentityCommand extends $Command<UpdateCloudFrontOriginAccessIdentityCommandInput, UpdateCloudFrontOriginAccessIdentityCommandOutput, CloudFrontClientResolvedConfig> {
@@ -76,6 +76,37 @@ export interface UpdateContinuousDeploymentPolicyCommandOutput extends UpdateCon
76
76
  * };
77
77
  * const command = new UpdateContinuousDeploymentPolicyCommand(input);
78
78
  * const response = await client.send(command);
79
+ * // { // UpdateContinuousDeploymentPolicyResult
80
+ * // ContinuousDeploymentPolicy: { // ContinuousDeploymentPolicy
81
+ * // Id: "STRING_VALUE", // required
82
+ * // LastModifiedTime: new Date("TIMESTAMP"), // required
83
+ * // ContinuousDeploymentPolicyConfig: { // ContinuousDeploymentPolicyConfig
84
+ * // StagingDistributionDnsNames: { // StagingDistributionDnsNames
85
+ * // Quantity: Number("int"), // required
86
+ * // Items: [ // StagingDistributionDnsNameList
87
+ * // "STRING_VALUE",
88
+ * // ],
89
+ * // },
90
+ * // Enabled: true || false, // required
91
+ * // TrafficConfig: { // TrafficConfig
92
+ * // SingleWeightConfig: { // ContinuousDeploymentSingleWeightConfig
93
+ * // Weight: Number("float"), // required
94
+ * // SessionStickinessConfig: { // SessionStickinessConfig
95
+ * // IdleTTL: Number("int"), // required
96
+ * // MaximumTTL: Number("int"), // required
97
+ * // },
98
+ * // },
99
+ * // SingleHeaderConfig: { // ContinuousDeploymentSingleHeaderConfig
100
+ * // Header: "STRING_VALUE", // required
101
+ * // Value: "STRING_VALUE", // required
102
+ * // },
103
+ * // Type: "SingleWeight" || "SingleHeader", // required
104
+ * // },
105
+ * // },
106
+ * // },
107
+ * // ETag: "STRING_VALUE",
108
+ * // };
109
+ *
79
110
  * ```
80
111
  *
81
112
  * @param UpdateContinuousDeploymentPolicyCommandInput - {@link UpdateContinuousDeploymentPolicyCommandInput}
@@ -107,6 +138,8 @@ export interface UpdateContinuousDeploymentPolicyCommandOutput extends UpdateCon
107
138
  * @throws {@link StagingDistributionInUse} (client fault)
108
139
  * <p>A continuous deployment policy for this staging distribution already exists.</p>
109
140
  *
141
+ * @throws {@link CloudFrontServiceException}
142
+ * <p>Base exception class for all service exceptions from CloudFront service.</p>
110
143
  *
111
144
  */
112
145
  export declare class UpdateContinuousDeploymentPolicyCommand extends $Command<UpdateContinuousDeploymentPolicyCommandInput, UpdateContinuousDeploymentPolicyCommandOutput, CloudFrontClientResolvedConfig> {
@@ -354,6 +354,341 @@ export interface UpdateDistributionCommandOutput extends UpdateDistributionResul
354
354
  * };
355
355
  * const command = new UpdateDistributionCommand(input);
356
356
  * const response = await client.send(command);
357
+ * // { // UpdateDistributionResult
358
+ * // Distribution: { // Distribution
359
+ * // Id: "STRING_VALUE", // required
360
+ * // ARN: "STRING_VALUE", // required
361
+ * // Status: "STRING_VALUE", // required
362
+ * // LastModifiedTime: new Date("TIMESTAMP"), // required
363
+ * // InProgressInvalidationBatches: Number("int"), // required
364
+ * // DomainName: "STRING_VALUE", // required
365
+ * // ActiveTrustedSigners: { // ActiveTrustedSigners
366
+ * // Enabled: true || false, // required
367
+ * // Quantity: Number("int"), // required
368
+ * // Items: [ // SignerList
369
+ * // { // Signer
370
+ * // AwsAccountNumber: "STRING_VALUE",
371
+ * // KeyPairIds: { // KeyPairIds
372
+ * // Quantity: Number("int"), // required
373
+ * // Items: [ // KeyPairIdList
374
+ * // "STRING_VALUE",
375
+ * // ],
376
+ * // },
377
+ * // },
378
+ * // ],
379
+ * // },
380
+ * // ActiveTrustedKeyGroups: { // ActiveTrustedKeyGroups
381
+ * // Enabled: true || false, // required
382
+ * // Quantity: Number("int"), // required
383
+ * // Items: [ // KGKeyPairIdsList
384
+ * // { // KGKeyPairIds
385
+ * // KeyGroupId: "STRING_VALUE",
386
+ * // KeyPairIds: {
387
+ * // Quantity: Number("int"), // required
388
+ * // Items: [
389
+ * // "STRING_VALUE",
390
+ * // ],
391
+ * // },
392
+ * // },
393
+ * // ],
394
+ * // },
395
+ * // DistributionConfig: { // DistributionConfig
396
+ * // CallerReference: "STRING_VALUE", // required
397
+ * // Aliases: { // Aliases
398
+ * // Quantity: Number("int"), // required
399
+ * // Items: [ // AliasList
400
+ * // "STRING_VALUE",
401
+ * // ],
402
+ * // },
403
+ * // DefaultRootObject: "STRING_VALUE",
404
+ * // Origins: { // Origins
405
+ * // Quantity: Number("int"), // required
406
+ * // Items: [ // OriginList // required
407
+ * // { // Origin
408
+ * // Id: "STRING_VALUE", // required
409
+ * // DomainName: "STRING_VALUE", // required
410
+ * // OriginPath: "STRING_VALUE",
411
+ * // CustomHeaders: { // CustomHeaders
412
+ * // Quantity: Number("int"), // required
413
+ * // Items: [ // OriginCustomHeadersList
414
+ * // { // OriginCustomHeader
415
+ * // HeaderName: "STRING_VALUE", // required
416
+ * // HeaderValue: "STRING_VALUE", // required
417
+ * // },
418
+ * // ],
419
+ * // },
420
+ * // S3OriginConfig: { // S3OriginConfig
421
+ * // OriginAccessIdentity: "STRING_VALUE", // required
422
+ * // },
423
+ * // CustomOriginConfig: { // CustomOriginConfig
424
+ * // HTTPPort: Number("int"), // required
425
+ * // HTTPSPort: Number("int"), // required
426
+ * // OriginProtocolPolicy: "http-only" || "match-viewer" || "https-only", // required
427
+ * // OriginSslProtocols: { // OriginSslProtocols
428
+ * // Quantity: Number("int"), // required
429
+ * // Items: [ // SslProtocolsList // required
430
+ * // "SSLv3" || "TLSv1" || "TLSv1.1" || "TLSv1.2",
431
+ * // ],
432
+ * // },
433
+ * // OriginReadTimeout: Number("int"),
434
+ * // OriginKeepaliveTimeout: Number("int"),
435
+ * // },
436
+ * // ConnectionAttempts: Number("int"),
437
+ * // ConnectionTimeout: Number("int"),
438
+ * // OriginShield: { // OriginShield
439
+ * // Enabled: true || false, // required
440
+ * // OriginShieldRegion: "STRING_VALUE",
441
+ * // },
442
+ * // OriginAccessControlId: "STRING_VALUE",
443
+ * // },
444
+ * // ],
445
+ * // },
446
+ * // OriginGroups: { // OriginGroups
447
+ * // Quantity: Number("int"), // required
448
+ * // Items: [ // OriginGroupList
449
+ * // { // OriginGroup
450
+ * // Id: "STRING_VALUE", // required
451
+ * // FailoverCriteria: { // OriginGroupFailoverCriteria
452
+ * // StatusCodes: { // StatusCodes
453
+ * // Quantity: Number("int"), // required
454
+ * // Items: [ // StatusCodeList // required
455
+ * // Number("int"),
456
+ * // ],
457
+ * // },
458
+ * // },
459
+ * // Members: { // OriginGroupMembers
460
+ * // Quantity: Number("int"), // required
461
+ * // Items: [ // OriginGroupMemberList // required
462
+ * // { // OriginGroupMember
463
+ * // OriginId: "STRING_VALUE", // required
464
+ * // },
465
+ * // ],
466
+ * // },
467
+ * // },
468
+ * // ],
469
+ * // },
470
+ * // DefaultCacheBehavior: { // DefaultCacheBehavior
471
+ * // TargetOriginId: "STRING_VALUE", // required
472
+ * // TrustedSigners: { // TrustedSigners
473
+ * // Enabled: true || false, // required
474
+ * // Quantity: Number("int"), // required
475
+ * // Items: [ // AwsAccountNumberList
476
+ * // "STRING_VALUE",
477
+ * // ],
478
+ * // },
479
+ * // TrustedKeyGroups: { // TrustedKeyGroups
480
+ * // Enabled: true || false, // required
481
+ * // Quantity: Number("int"), // required
482
+ * // Items: [ // TrustedKeyGroupIdList
483
+ * // "STRING_VALUE",
484
+ * // ],
485
+ * // },
486
+ * // ViewerProtocolPolicy: "allow-all" || "https-only" || "redirect-to-https", // required
487
+ * // AllowedMethods: { // AllowedMethods
488
+ * // Quantity: Number("int"), // required
489
+ * // Items: [ // MethodsList // required
490
+ * // "GET" || "HEAD" || "POST" || "PUT" || "PATCH" || "OPTIONS" || "DELETE",
491
+ * // ],
492
+ * // CachedMethods: { // CachedMethods
493
+ * // Quantity: Number("int"), // required
494
+ * // Items: [ // required
495
+ * // "GET" || "HEAD" || "POST" || "PUT" || "PATCH" || "OPTIONS" || "DELETE",
496
+ * // ],
497
+ * // },
498
+ * // },
499
+ * // SmoothStreaming: true || false,
500
+ * // Compress: true || false,
501
+ * // LambdaFunctionAssociations: { // LambdaFunctionAssociations
502
+ * // Quantity: Number("int"), // required
503
+ * // Items: [ // LambdaFunctionAssociationList
504
+ * // { // LambdaFunctionAssociation
505
+ * // LambdaFunctionARN: "STRING_VALUE", // required
506
+ * // EventType: "viewer-request" || "viewer-response" || "origin-request" || "origin-response", // required
507
+ * // IncludeBody: true || false,
508
+ * // },
509
+ * // ],
510
+ * // },
511
+ * // FunctionAssociations: { // FunctionAssociations
512
+ * // Quantity: Number("int"), // required
513
+ * // Items: [ // FunctionAssociationList
514
+ * // { // FunctionAssociation
515
+ * // FunctionARN: "STRING_VALUE", // required
516
+ * // EventType: "viewer-request" || "viewer-response" || "origin-request" || "origin-response", // required
517
+ * // },
518
+ * // ],
519
+ * // },
520
+ * // FieldLevelEncryptionId: "STRING_VALUE",
521
+ * // RealtimeLogConfigArn: "STRING_VALUE",
522
+ * // CachePolicyId: "STRING_VALUE",
523
+ * // OriginRequestPolicyId: "STRING_VALUE",
524
+ * // ResponseHeadersPolicyId: "STRING_VALUE",
525
+ * // ForwardedValues: { // ForwardedValues
526
+ * // QueryString: true || false, // required
527
+ * // Cookies: { // CookiePreference
528
+ * // Forward: "none" || "whitelist" || "all", // required
529
+ * // WhitelistedNames: { // CookieNames
530
+ * // Quantity: Number("int"), // required
531
+ * // Items: [ // CookieNameList
532
+ * // "STRING_VALUE",
533
+ * // ],
534
+ * // },
535
+ * // },
536
+ * // Headers: { // Headers
537
+ * // Quantity: Number("int"), // required
538
+ * // Items: [ // HeaderList
539
+ * // "STRING_VALUE",
540
+ * // ],
541
+ * // },
542
+ * // QueryStringCacheKeys: { // QueryStringCacheKeys
543
+ * // Quantity: Number("int"), // required
544
+ * // Items: [ // QueryStringCacheKeysList
545
+ * // "STRING_VALUE",
546
+ * // ],
547
+ * // },
548
+ * // },
549
+ * // MinTTL: Number("long"),
550
+ * // DefaultTTL: Number("long"),
551
+ * // MaxTTL: Number("long"),
552
+ * // },
553
+ * // CacheBehaviors: { // CacheBehaviors
554
+ * // Quantity: Number("int"), // required
555
+ * // Items: [ // CacheBehaviorList
556
+ * // { // CacheBehavior
557
+ * // PathPattern: "STRING_VALUE", // required
558
+ * // TargetOriginId: "STRING_VALUE", // required
559
+ * // TrustedSigners: {
560
+ * // Enabled: true || false, // required
561
+ * // Quantity: Number("int"), // required
562
+ * // Items: [
563
+ * // "STRING_VALUE",
564
+ * // ],
565
+ * // },
566
+ * // TrustedKeyGroups: {
567
+ * // Enabled: true || false, // required
568
+ * // Quantity: Number("int"), // required
569
+ * // Items: [
570
+ * // "STRING_VALUE",
571
+ * // ],
572
+ * // },
573
+ * // ViewerProtocolPolicy: "allow-all" || "https-only" || "redirect-to-https", // required
574
+ * // AllowedMethods: {
575
+ * // Quantity: Number("int"), // required
576
+ * // Items: "<MethodsList>", // required
577
+ * // CachedMethods: {
578
+ * // Quantity: Number("int"), // required
579
+ * // Items: "<MethodsList>", // required
580
+ * // },
581
+ * // },
582
+ * // SmoothStreaming: true || false,
583
+ * // Compress: true || false,
584
+ * // LambdaFunctionAssociations: {
585
+ * // Quantity: Number("int"), // required
586
+ * // Items: [
587
+ * // {
588
+ * // LambdaFunctionARN: "STRING_VALUE", // required
589
+ * // EventType: "viewer-request" || "viewer-response" || "origin-request" || "origin-response", // required
590
+ * // IncludeBody: true || false,
591
+ * // },
592
+ * // ],
593
+ * // },
594
+ * // FunctionAssociations: {
595
+ * // Quantity: Number("int"), // required
596
+ * // Items: [
597
+ * // {
598
+ * // FunctionARN: "STRING_VALUE", // required
599
+ * // EventType: "viewer-request" || "viewer-response" || "origin-request" || "origin-response", // required
600
+ * // },
601
+ * // ],
602
+ * // },
603
+ * // FieldLevelEncryptionId: "STRING_VALUE",
604
+ * // RealtimeLogConfigArn: "STRING_VALUE",
605
+ * // CachePolicyId: "STRING_VALUE",
606
+ * // OriginRequestPolicyId: "STRING_VALUE",
607
+ * // ResponseHeadersPolicyId: "STRING_VALUE",
608
+ * // ForwardedValues: {
609
+ * // QueryString: true || false, // required
610
+ * // Cookies: {
611
+ * // Forward: "none" || "whitelist" || "all", // required
612
+ * // WhitelistedNames: {
613
+ * // Quantity: Number("int"), // required
614
+ * // Items: [
615
+ * // "STRING_VALUE",
616
+ * // ],
617
+ * // },
618
+ * // },
619
+ * // Headers: {
620
+ * // Quantity: Number("int"), // required
621
+ * // Items: [
622
+ * // "STRING_VALUE",
623
+ * // ],
624
+ * // },
625
+ * // QueryStringCacheKeys: {
626
+ * // Quantity: Number("int"), // required
627
+ * // Items: [
628
+ * // "STRING_VALUE",
629
+ * // ],
630
+ * // },
631
+ * // },
632
+ * // MinTTL: Number("long"),
633
+ * // DefaultTTL: Number("long"),
634
+ * // MaxTTL: Number("long"),
635
+ * // },
636
+ * // ],
637
+ * // },
638
+ * // CustomErrorResponses: { // CustomErrorResponses
639
+ * // Quantity: Number("int"), // required
640
+ * // Items: [ // CustomErrorResponseList
641
+ * // { // CustomErrorResponse
642
+ * // ErrorCode: Number("int"), // required
643
+ * // ResponsePagePath: "STRING_VALUE",
644
+ * // ResponseCode: "STRING_VALUE",
645
+ * // ErrorCachingMinTTL: Number("long"),
646
+ * // },
647
+ * // ],
648
+ * // },
649
+ * // Comment: "STRING_VALUE", // required
650
+ * // Logging: { // LoggingConfig
651
+ * // Enabled: true || false, // required
652
+ * // IncludeCookies: true || false, // required
653
+ * // Bucket: "STRING_VALUE", // required
654
+ * // Prefix: "STRING_VALUE", // required
655
+ * // },
656
+ * // PriceClass: "PriceClass_100" || "PriceClass_200" || "PriceClass_All",
657
+ * // Enabled: true || false, // required
658
+ * // ViewerCertificate: { // ViewerCertificate
659
+ * // CloudFrontDefaultCertificate: true || false,
660
+ * // IAMCertificateId: "STRING_VALUE",
661
+ * // ACMCertificateArn: "STRING_VALUE",
662
+ * // SSLSupportMethod: "sni-only" || "vip" || "static-ip",
663
+ * // MinimumProtocolVersion: "SSLv3" || "TLSv1" || "TLSv1_2016" || "TLSv1.1_2016" || "TLSv1.2_2018" || "TLSv1.2_2019" || "TLSv1.2_2021",
664
+ * // Certificate: "STRING_VALUE",
665
+ * // CertificateSource: "cloudfront" || "iam" || "acm",
666
+ * // },
667
+ * // Restrictions: { // Restrictions
668
+ * // GeoRestriction: { // GeoRestriction
669
+ * // RestrictionType: "blacklist" || "whitelist" || "none", // required
670
+ * // Quantity: Number("int"), // required
671
+ * // Items: [ // LocationList
672
+ * // "STRING_VALUE",
673
+ * // ],
674
+ * // },
675
+ * // },
676
+ * // WebACLId: "STRING_VALUE",
677
+ * // HttpVersion: "http1.1" || "http2" || "http3" || "http2and3",
678
+ * // IsIPV6Enabled: true || false,
679
+ * // ContinuousDeploymentPolicyId: "STRING_VALUE",
680
+ * // Staging: true || false,
681
+ * // },
682
+ * // AliasICPRecordals: [ // AliasICPRecordals
683
+ * // { // AliasICPRecordal
684
+ * // CNAME: "STRING_VALUE",
685
+ * // ICPRecordalStatus: "APPROVED" || "SUSPENDED" || "PENDING",
686
+ * // },
687
+ * // ],
688
+ * // },
689
+ * // ETag: "STRING_VALUE",
690
+ * // };
691
+ *
357
692
  * ```
358
693
  *
359
694
  * @param UpdateDistributionCommandInput - {@link UpdateDistributionCommandInput}
@@ -594,6 +929,8 @@ export interface UpdateDistributionCommandOutput extends UpdateDistributionResul
594
929
  * @throws {@link TrustedSignerDoesNotExist} (client fault)
595
930
  * <p>One or more of your trusted signers don't exist.</p>
596
931
  *
932
+ * @throws {@link CloudFrontServiceException}
933
+ * <p>Base exception class for all service exceptions from CloudFront service.</p>
597
934
  *
598
935
  */
599
936
  export declare class UpdateDistributionCommand extends $Command<UpdateDistributionCommandInput, UpdateDistributionCommandOutput, CloudFrontClientResolvedConfig> {