@aws-sdk/client-cloudfront 3.289.0 → 3.292.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 +16 -0
  2. package/dist-types/commands/CopyDistributionCommand.d.ts +227 -0
  3. package/dist-types/commands/CreateCachePolicyCommand.d.ts +35 -0
  4. package/dist-types/commands/CreateCloudFrontOriginAccessIdentityCommand.d.ts +23 -0
  5. package/dist-types/commands/CreateContinuousDeploymentPolicyCommand.d.ts +21 -0
  6. package/dist-types/commands/CreateDistributionCommand.d.ts +238 -0
  7. package/dist-types/commands/CreateDistributionWithTagsCommand.d.ts +231 -0
  8. package/dist-types/commands/CreateFieldLevelEncryptionConfigCommand.d.ts +29 -0
  9. package/dist-types/commands/CreateFieldLevelEncryptionProfileCommand.d.ts +28 -0
  10. package/dist-types/commands/CreateFunctionCommand.d.ts +21 -0
  11. package/dist-types/commands/CreateInvalidationCommand.d.ts +25 -0
  12. package/dist-types/commands/CreateKeyGroupCommand.d.ts +18 -0
  13. package/dist-types/commands/CreateMonitoringSubscriptionCommand.d.ts +13 -0
  14. package/dist-types/commands/CreateOriginAccessControlCommand.d.ts +13 -0
  15. package/dist-types/commands/CreateOriginRequestPolicyCommand.d.ts +36 -0
  16. package/dist-types/commands/CreatePublicKeyCommand.d.ts +11 -0
  17. package/dist-types/commands/CreateRealtimeLogConfigCommand.d.ts +17 -0
  18. package/dist-types/commands/CreateResponseHeadersPolicyCommand.d.ts +40 -0
  19. package/dist-types/commands/CreateStreamingDistributionCommand.d.ts +44 -0
  20. package/dist-types/commands/CreateStreamingDistributionWithTagsCommand.d.ts +47 -0
  21. package/dist-types/commands/DeleteCachePolicyCommand.d.ts +21 -0
  22. package/dist-types/commands/DeleteCloudFrontOriginAccessIdentityCommand.d.ts +17 -0
  23. package/dist-types/commands/DeleteContinuousDeploymentPolicyCommand.d.ts +21 -0
  24. package/dist-types/commands/DeleteDistributionCommand.d.ts +18 -0
  25. package/dist-types/commands/DeleteFieldLevelEncryptionConfigCommand.d.ts +17 -0
  26. package/dist-types/commands/DeleteFieldLevelEncryptionProfileCommand.d.ts +17 -0
  27. package/dist-types/commands/DeleteFunctionCommand.d.ts +18 -0
  28. package/dist-types/commands/DeleteKeyGroupCommand.d.ts +14 -0
  29. package/dist-types/commands/DeleteMonitoringSubscriptionCommand.d.ts +13 -0
  30. package/dist-types/commands/DeleteOriginAccessControlCommand.d.ts +18 -0
  31. package/dist-types/commands/DeleteOriginRequestPolicyCommand.d.ts +21 -0
  32. package/dist-types/commands/DeletePublicKeyCommand.d.ts +17 -0
  33. package/dist-types/commands/DeleteRealtimeLogConfigCommand.d.ts +14 -0
  34. package/dist-types/commands/DeleteResponseHeadersPolicyCommand.d.ts +21 -0
  35. package/dist-types/commands/DeleteStreamingDistributionCommand.d.ts +18 -0
  36. package/dist-types/commands/DescribeFunctionCommand.d.ts +7 -0
  37. package/dist-types/commands/GetCachePolicyCommand.d.ts +7 -0
  38. package/dist-types/commands/GetCachePolicyConfigCommand.d.ts +7 -0
  39. package/dist-types/commands/GetCloudFrontOriginAccessIdentityCommand.d.ts +7 -0
  40. package/dist-types/commands/GetCloudFrontOriginAccessIdentityConfigCommand.d.ts +7 -0
  41. package/dist-types/commands/GetContinuousDeploymentPolicyCommand.d.ts +7 -0
  42. package/dist-types/commands/GetContinuousDeploymentPolicyConfigCommand.d.ts +7 -0
  43. package/dist-types/commands/GetDistributionCommand.d.ts +7 -0
  44. package/dist-types/commands/GetDistributionConfigCommand.d.ts +7 -0
  45. package/dist-types/commands/GetFieldLevelEncryptionCommand.d.ts +7 -0
  46. package/dist-types/commands/GetFieldLevelEncryptionConfigCommand.d.ts +7 -0
  47. package/dist-types/commands/GetFieldLevelEncryptionProfileCommand.d.ts +7 -0
  48. package/dist-types/commands/GetFieldLevelEncryptionProfileConfigCommand.d.ts +7 -0
  49. package/dist-types/commands/GetFunctionCommand.d.ts +7 -0
  50. package/dist-types/commands/GetInvalidationCommand.d.ts +10 -0
  51. package/dist-types/commands/GetKeyGroupCommand.d.ts +4 -0
  52. package/dist-types/commands/GetKeyGroupConfigCommand.d.ts +4 -0
  53. package/dist-types/commands/GetMonitoringSubscriptionCommand.d.ts +13 -0
  54. package/dist-types/commands/GetOriginAccessControlCommand.d.ts +7 -0
  55. package/dist-types/commands/GetOriginAccessControlConfigCommand.d.ts +7 -0
  56. package/dist-types/commands/GetOriginRequestPolicyCommand.d.ts +7 -0
  57. package/dist-types/commands/GetOriginRequestPolicyConfigCommand.d.ts +7 -0
  58. package/dist-types/commands/GetPublicKeyCommand.d.ts +7 -0
  59. package/dist-types/commands/GetPublicKeyConfigCommand.d.ts +7 -0
  60. package/dist-types/commands/GetRealtimeLogConfigCommand.d.ts +10 -0
  61. package/dist-types/commands/GetResponseHeadersPolicyCommand.d.ts +7 -0
  62. package/dist-types/commands/GetResponseHeadersPolicyConfigCommand.d.ts +7 -0
  63. package/dist-types/commands/GetStreamingDistributionCommand.d.ts +7 -0
  64. package/dist-types/commands/GetStreamingDistributionConfigCommand.d.ts +7 -0
  65. package/dist-types/commands/ListCachePoliciesCommand.d.ts +10 -0
  66. package/dist-types/commands/ListCloudFrontOriginAccessIdentitiesCommand.d.ts +4 -0
  67. package/dist-types/commands/ListConflictingAliasesCommand.d.ts +7 -0
  68. package/dist-types/commands/ListContinuousDeploymentPoliciesCommand.d.ts +10 -0
  69. package/dist-types/commands/ListDistributionsByCachePolicyIdCommand.d.ts +10 -0
  70. package/dist-types/commands/ListDistributionsByKeyGroupCommand.d.ts +7 -0
  71. package/dist-types/commands/ListDistributionsByOriginRequestPolicyIdCommand.d.ts +10 -0
  72. package/dist-types/commands/ListDistributionsByRealtimeLogConfigCommand.d.ts +4 -0
  73. package/dist-types/commands/ListDistributionsByResponseHeadersPolicyIdCommand.d.ts +10 -0
  74. package/dist-types/commands/ListDistributionsByWebACLIdCommand.d.ts +11 -0
  75. package/dist-types/commands/ListDistributionsCommand.d.ts +4 -0
  76. package/dist-types/commands/ListFieldLevelEncryptionConfigsCommand.d.ts +4 -0
  77. package/dist-types/commands/ListFieldLevelEncryptionProfilesCommand.d.ts +4 -0
  78. package/dist-types/commands/ListFunctionsCommand.d.ts +7 -0
  79. package/dist-types/commands/ListInvalidationsCommand.d.ts +10 -0
  80. package/dist-types/commands/ListKeyGroupsCommand.d.ts +4 -0
  81. package/dist-types/commands/ListOriginAccessControlsCommand.d.ts +4 -0
  82. package/dist-types/commands/ListOriginRequestPoliciesCommand.d.ts +10 -0
  83. package/dist-types/commands/ListPublicKeysCommand.d.ts +4 -0
  84. package/dist-types/commands/ListRealtimeLogConfigsCommand.d.ts +10 -0
  85. package/dist-types/commands/ListResponseHeadersPoliciesCommand.d.ts +10 -0
  86. package/dist-types/commands/ListStreamingDistributionsCommand.d.ts +4 -0
  87. package/dist-types/commands/ListTagsForResourceCommand.d.ts +13 -0
  88. package/dist-types/commands/PublishFunctionCommand.d.ts +17 -0
  89. package/dist-types/commands/TagResourceCommand.d.ts +13 -0
  90. package/dist-types/commands/TestFunctionCommand.d.ts +16 -0
  91. package/dist-types/commands/UntagResourceCommand.d.ts +13 -0
  92. package/dist-types/commands/UpdateCachePolicyCommand.d.ts +43 -0
  93. package/dist-types/commands/UpdateCloudFrontOriginAccessIdentityCommand.d.ts +28 -0
  94. package/dist-types/commands/UpdateContinuousDeploymentPolicyCommand.d.ts +24 -0
  95. package/dist-types/commands/UpdateDistributionCommand.d.ts +233 -0
  96. package/dist-types/commands/UpdateDistributionWithStagingConfigCommand.d.ts +215 -0
  97. package/dist-types/commands/UpdateFieldLevelEncryptionConfigCommand.d.ts +38 -0
  98. package/dist-types/commands/UpdateFieldLevelEncryptionProfileCommand.d.ts +41 -0
  99. package/dist-types/commands/UpdateFunctionCommand.d.ts +21 -0
  100. package/dist-types/commands/UpdateKeyGroupCommand.d.ts +23 -0
  101. package/dist-types/commands/UpdateOriginAccessControlCommand.d.ts +23 -0
  102. package/dist-types/commands/UpdateOriginRequestPolicyCommand.d.ts +44 -0
  103. package/dist-types/commands/UpdatePublicKeyCommand.d.ts +23 -0
  104. package/dist-types/commands/UpdateRealtimeLogConfigCommand.d.ts +10 -0
  105. package/dist-types/commands/UpdateResponseHeadersPolicyCommand.d.ts +47 -0
  106. package/dist-types/commands/UpdateStreamingDistributionCommand.d.ts +46 -0
  107. package/package.json +37 -42
@@ -29,6 +29,44 @@ export interface UpdateFieldLevelEncryptionConfigCommandOutput extends UpdateFie
29
29
  * @see {@link UpdateFieldLevelEncryptionConfigCommandOutput} for command's `response` shape.
30
30
  * @see {@link CloudFrontClientResolvedConfig | config} for CloudFrontClient's `config` shape.
31
31
  *
32
+ * @throws {@link AccessDenied} (client fault)
33
+ * <p>Access denied.</p>
34
+ *
35
+ * @throws {@link IllegalUpdate} (client fault)
36
+ * <p>The update contains modifications that are not allowed.</p>
37
+ *
38
+ * @throws {@link InconsistentQuantities} (client fault)
39
+ * <p>The value of <code>Quantity</code> and the size of <code>Items</code> don't
40
+ * match.</p>
41
+ *
42
+ * @throws {@link InvalidArgument} (client fault)
43
+ * <p>An argument is invalid.</p>
44
+ *
45
+ * @throws {@link InvalidIfMatchVersion} (client fault)
46
+ * <p>The <code>If-Match</code> version is missing or not valid.</p>
47
+ *
48
+ * @throws {@link NoSuchFieldLevelEncryptionConfig} (client fault)
49
+ * <p>The specified configuration for field-level encryption doesn't exist.</p>
50
+ *
51
+ * @throws {@link NoSuchFieldLevelEncryptionProfile} (client fault)
52
+ * <p>The specified profile for field-level encryption doesn't exist.</p>
53
+ *
54
+ * @throws {@link PreconditionFailed} (client fault)
55
+ * <p>The precondition in one or more of the request fields evaluated to
56
+ * <code>false</code>.</p>
57
+ *
58
+ * @throws {@link QueryArgProfileEmpty} (client fault)
59
+ * <p>No profile specified for the field-level encryption query argument.</p>
60
+ *
61
+ * @throws {@link TooManyFieldLevelEncryptionContentTypeProfiles} (client fault)
62
+ * <p>The maximum number of content type profiles for field-level encryption have been
63
+ * created.</p>
64
+ *
65
+ * @throws {@link TooManyFieldLevelEncryptionQueryArgProfiles} (client fault)
66
+ * <p>The maximum number of query arg profiles for field-level encryption have been
67
+ * created.</p>
68
+ *
69
+ *
32
70
  */
33
71
  export declare class UpdateFieldLevelEncryptionConfigCommand extends $Command<UpdateFieldLevelEncryptionConfigCommandInput, UpdateFieldLevelEncryptionConfigCommandOutput, CloudFrontClientResolvedConfig> {
34
72
  readonly input: UpdateFieldLevelEncryptionConfigCommandInput;
@@ -29,6 +29,47 @@ export interface UpdateFieldLevelEncryptionProfileCommandOutput extends UpdateFi
29
29
  * @see {@link UpdateFieldLevelEncryptionProfileCommandOutput} for command's `response` shape.
30
30
  * @see {@link CloudFrontClientResolvedConfig | config} for CloudFrontClient's `config` shape.
31
31
  *
32
+ * @throws {@link AccessDenied} (client fault)
33
+ * <p>Access denied.</p>
34
+ *
35
+ * @throws {@link FieldLevelEncryptionProfileAlreadyExists} (client fault)
36
+ * <p>The specified profile for field-level encryption already exists.</p>
37
+ *
38
+ * @throws {@link FieldLevelEncryptionProfileSizeExceeded} (client fault)
39
+ * <p>The maximum size of a profile for field-level encryption was exceeded.</p>
40
+ *
41
+ * @throws {@link IllegalUpdate} (client fault)
42
+ * <p>The update contains modifications that are not allowed.</p>
43
+ *
44
+ * @throws {@link InconsistentQuantities} (client fault)
45
+ * <p>The value of <code>Quantity</code> and the size of <code>Items</code> don't
46
+ * match.</p>
47
+ *
48
+ * @throws {@link InvalidArgument} (client fault)
49
+ * <p>An argument is invalid.</p>
50
+ *
51
+ * @throws {@link InvalidIfMatchVersion} (client fault)
52
+ * <p>The <code>If-Match</code> version is missing or not valid.</p>
53
+ *
54
+ * @throws {@link NoSuchFieldLevelEncryptionProfile} (client fault)
55
+ * <p>The specified profile for field-level encryption doesn't exist.</p>
56
+ *
57
+ * @throws {@link NoSuchPublicKey} (client fault)
58
+ * <p>The specified public key doesn't exist.</p>
59
+ *
60
+ * @throws {@link PreconditionFailed} (client fault)
61
+ * <p>The precondition in one or more of the request fields evaluated to
62
+ * <code>false</code>.</p>
63
+ *
64
+ * @throws {@link TooManyFieldLevelEncryptionEncryptionEntities} (client fault)
65
+ * <p>The maximum number of encryption entities for field-level encryption have been
66
+ * created.</p>
67
+ *
68
+ * @throws {@link TooManyFieldLevelEncryptionFieldPatterns} (client fault)
69
+ * <p>The maximum number of field patterns for field-level encryption have been
70
+ * created.</p>
71
+ *
72
+ *
32
73
  */
33
74
  export declare class UpdateFieldLevelEncryptionProfileCommand extends $Command<UpdateFieldLevelEncryptionProfileCommandInput, UpdateFieldLevelEncryptionProfileCommandOutput, CloudFrontClientResolvedConfig> {
34
75
  readonly input: UpdateFieldLevelEncryptionProfileCommandInput;
@@ -34,6 +34,27 @@ export interface UpdateFunctionCommandOutput extends UpdateFunctionResult, __Met
34
34
  * @see {@link UpdateFunctionCommandOutput} for command's `response` shape.
35
35
  * @see {@link CloudFrontClientResolvedConfig | config} for CloudFrontClient's `config` shape.
36
36
  *
37
+ * @throws {@link FunctionSizeLimitExceeded} (client fault)
38
+ * <p>The function is too large. For more information, see <a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/cloudfront-limits.html">Quotas</a> (formerly known as limits) in the
39
+ * <i>Amazon CloudFront Developer Guide</i>.</p>
40
+ *
41
+ * @throws {@link InvalidArgument} (client fault)
42
+ * <p>An argument is invalid.</p>
43
+ *
44
+ * @throws {@link InvalidIfMatchVersion} (client fault)
45
+ * <p>The <code>If-Match</code> version is missing or not valid.</p>
46
+ *
47
+ * @throws {@link NoSuchFunctionExists} (client fault)
48
+ * <p>The function does not exist.</p>
49
+ *
50
+ * @throws {@link PreconditionFailed} (client fault)
51
+ * <p>The precondition in one or more of the request fields evaluated to
52
+ * <code>false</code>.</p>
53
+ *
54
+ * @throws {@link UnsupportedOperation} (client fault)
55
+ * <p>This operation is not supported in this region.</p>
56
+ *
57
+ *
37
58
  */
38
59
  export declare class UpdateFunctionCommand extends $Command<UpdateFunctionCommandInput, UpdateFunctionCommandOutput, CloudFrontClientResolvedConfig> {
39
60
  readonly input: UpdateFunctionCommandInput;
@@ -46,6 +46,29 @@ export interface UpdateKeyGroupCommandOutput extends UpdateKeyGroupResult, __Met
46
46
  * @see {@link UpdateKeyGroupCommandOutput} for command's `response` shape.
47
47
  * @see {@link CloudFrontClientResolvedConfig | config} for CloudFrontClient's `config` shape.
48
48
  *
49
+ * @throws {@link InvalidArgument} (client fault)
50
+ * <p>An argument is invalid.</p>
51
+ *
52
+ * @throws {@link InvalidIfMatchVersion} (client fault)
53
+ * <p>The <code>If-Match</code> version is missing or not valid.</p>
54
+ *
55
+ * @throws {@link KeyGroupAlreadyExists} (client fault)
56
+ * <p>A key group with this name already exists. You must provide a unique name. To modify
57
+ * an existing key group, use <code>UpdateKeyGroup</code>.</p>
58
+ *
59
+ * @throws {@link NoSuchResource} (client fault)
60
+ * <p>A resource that was specified is not valid.</p>
61
+ *
62
+ * @throws {@link PreconditionFailed} (client fault)
63
+ * <p>The precondition in one or more of the request fields evaluated to
64
+ * <code>false</code>.</p>
65
+ *
66
+ * @throws {@link TooManyPublicKeysInKeyGroup} (client fault)
67
+ * <p>The number of public keys in this key group is more than the maximum allowed. For more
68
+ * information, see <a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/cloudfront-limits.html">Quotas</a> (formerly known as limits) in the
69
+ * <i>Amazon CloudFront Developer Guide</i>.</p>
70
+ *
71
+ *
49
72
  */
50
73
  export declare class UpdateKeyGroupCommand extends $Command<UpdateKeyGroupCommandInput, UpdateKeyGroupCommandOutput, CloudFrontClientResolvedConfig> {
51
74
  readonly input: UpdateKeyGroupCommandInput;
@@ -29,6 +29,29 @@ export interface UpdateOriginAccessControlCommandOutput extends UpdateOriginAcce
29
29
  * @see {@link UpdateOriginAccessControlCommandOutput} for command's `response` shape.
30
30
  * @see {@link CloudFrontClientResolvedConfig | config} for CloudFrontClient's `config` shape.
31
31
  *
32
+ * @throws {@link AccessDenied} (client fault)
33
+ * <p>Access denied.</p>
34
+ *
35
+ * @throws {@link IllegalUpdate} (client fault)
36
+ * <p>The update contains modifications that are not allowed.</p>
37
+ *
38
+ * @throws {@link InvalidArgument} (client fault)
39
+ * <p>An argument is invalid.</p>
40
+ *
41
+ * @throws {@link InvalidIfMatchVersion} (client fault)
42
+ * <p>The <code>If-Match</code> version is missing or not valid.</p>
43
+ *
44
+ * @throws {@link NoSuchOriginAccessControl} (client fault)
45
+ * <p>The origin access control does not exist.</p>
46
+ *
47
+ * @throws {@link OriginAccessControlAlreadyExists} (client fault)
48
+ * <p>An origin access control with the specified parameters already exists.</p>
49
+ *
50
+ * @throws {@link PreconditionFailed} (client fault)
51
+ * <p>The precondition in one or more of the request fields evaluated to
52
+ * <code>false</code>.</p>
53
+ *
54
+ *
32
55
  */
33
56
  export declare class UpdateOriginAccessControlCommand extends $Command<UpdateOriginAccessControlCommandInput, UpdateOriginAccessControlCommandOutput, CloudFrontClientResolvedConfig> {
34
57
  readonly input: UpdateOriginAccessControlCommandInput;
@@ -47,6 +47,50 @@ export interface UpdateOriginRequestPolicyCommandOutput extends UpdateOriginRequ
47
47
  * @see {@link UpdateOriginRequestPolicyCommandOutput} for command's `response` shape.
48
48
  * @see {@link CloudFrontClientResolvedConfig | config} for CloudFrontClient's `config` shape.
49
49
  *
50
+ * @throws {@link AccessDenied} (client fault)
51
+ * <p>Access denied.</p>
52
+ *
53
+ * @throws {@link IllegalUpdate} (client fault)
54
+ * <p>The update contains modifications that are not allowed.</p>
55
+ *
56
+ * @throws {@link InconsistentQuantities} (client fault)
57
+ * <p>The value of <code>Quantity</code> and the size of <code>Items</code> don't
58
+ * match.</p>
59
+ *
60
+ * @throws {@link InvalidArgument} (client fault)
61
+ * <p>An argument is invalid.</p>
62
+ *
63
+ * @throws {@link InvalidIfMatchVersion} (client fault)
64
+ * <p>The <code>If-Match</code> version is missing or not valid.</p>
65
+ *
66
+ * @throws {@link NoSuchOriginRequestPolicy} (client fault)
67
+ * <p>The origin request policy does not exist.</p>
68
+ *
69
+ * @throws {@link OriginRequestPolicyAlreadyExists} (client fault)
70
+ * <p>An origin request policy with this name already exists. You must provide a unique
71
+ * name. To modify an existing origin request policy, use
72
+ * <code>UpdateOriginRequestPolicy</code>.</p>
73
+ *
74
+ * @throws {@link PreconditionFailed} (client fault)
75
+ * <p>The precondition in one or more of the request fields evaluated to
76
+ * <code>false</code>.</p>
77
+ *
78
+ * @throws {@link TooManyCookiesInOriginRequestPolicy} (client fault)
79
+ * <p>The number of cookies in the origin request policy exceeds the maximum. For more
80
+ * information, see <a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/cloudfront-limits.html">Quotas</a> (formerly known as limits) in the
81
+ * <i>Amazon CloudFront Developer Guide</i>.</p>
82
+ *
83
+ * @throws {@link TooManyHeadersInOriginRequestPolicy} (client fault)
84
+ * <p>The number of headers in the origin request policy exceeds the maximum. For more
85
+ * information, see <a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/cloudfront-limits.html">Quotas</a> (formerly known as limits) in the
86
+ * <i>Amazon CloudFront Developer Guide</i>.</p>
87
+ *
88
+ * @throws {@link TooManyQueryStringsInOriginRequestPolicy} (client fault)
89
+ * <p>The number of query strings in the origin request policy exceeds the maximum. For more
90
+ * information, see <a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/cloudfront-limits.html">Quotas</a> (formerly known as limits) in the
91
+ * <i>Amazon CloudFront Developer Guide</i>.</p>
92
+ *
93
+ *
50
94
  */
51
95
  export declare class UpdateOriginRequestPolicyCommand extends $Command<UpdateOriginRequestPolicyCommandInput, UpdateOriginRequestPolicyCommandOutput, CloudFrontClientResolvedConfig> {
52
96
  readonly input: UpdateOriginRequestPolicyCommandInput;
@@ -30,6 +30,29 @@ export interface UpdatePublicKeyCommandOutput extends UpdatePublicKeyResult, __M
30
30
  * @see {@link UpdatePublicKeyCommandOutput} for command's `response` shape.
31
31
  * @see {@link CloudFrontClientResolvedConfig | config} for CloudFrontClient's `config` shape.
32
32
  *
33
+ * @throws {@link AccessDenied} (client fault)
34
+ * <p>Access denied.</p>
35
+ *
36
+ * @throws {@link CannotChangeImmutablePublicKeyFields} (client fault)
37
+ * <p>You can't change the value of a public key.</p>
38
+ *
39
+ * @throws {@link IllegalUpdate} (client fault)
40
+ * <p>The update contains modifications that are not allowed.</p>
41
+ *
42
+ * @throws {@link InvalidArgument} (client fault)
43
+ * <p>An argument is invalid.</p>
44
+ *
45
+ * @throws {@link InvalidIfMatchVersion} (client fault)
46
+ * <p>The <code>If-Match</code> version is missing or not valid.</p>
47
+ *
48
+ * @throws {@link NoSuchPublicKey} (client fault)
49
+ * <p>The specified public key doesn't exist.</p>
50
+ *
51
+ * @throws {@link PreconditionFailed} (client fault)
52
+ * <p>The precondition in one or more of the request fields evaluated to
53
+ * <code>false</code>.</p>
54
+ *
55
+ *
33
56
  */
34
57
  export declare class UpdatePublicKeyCommand extends $Command<UpdatePublicKeyCommandInput, UpdatePublicKeyCommandOutput, CloudFrontClientResolvedConfig> {
35
58
  readonly input: UpdatePublicKeyCommandInput;
@@ -49,6 +49,16 @@ export interface UpdateRealtimeLogConfigCommandOutput extends UpdateRealtimeLogC
49
49
  * @see {@link UpdateRealtimeLogConfigCommandOutput} for command's `response` shape.
50
50
  * @see {@link CloudFrontClientResolvedConfig | config} for CloudFrontClient's `config` shape.
51
51
  *
52
+ * @throws {@link AccessDenied} (client fault)
53
+ * <p>Access denied.</p>
54
+ *
55
+ * @throws {@link InvalidArgument} (client fault)
56
+ * <p>An argument is invalid.</p>
57
+ *
58
+ * @throws {@link NoSuchRealtimeLogConfig} (client fault)
59
+ * <p>The real-time log configuration does not exist.</p>
60
+ *
61
+ *
52
62
  */
53
63
  export declare class UpdateRealtimeLogConfigCommand extends $Command<UpdateRealtimeLogConfigCommandInput, UpdateRealtimeLogConfigCommandOutput, CloudFrontClientResolvedConfig> {
54
64
  readonly input: UpdateRealtimeLogConfigCommandInput;
@@ -47,6 +47,53 @@ export interface UpdateResponseHeadersPolicyCommandOutput extends UpdateResponse
47
47
  * @see {@link UpdateResponseHeadersPolicyCommandOutput} for command's `response` shape.
48
48
  * @see {@link CloudFrontClientResolvedConfig | config} for CloudFrontClient's `config` shape.
49
49
  *
50
+ * @throws {@link AccessDenied} (client fault)
51
+ * <p>Access denied.</p>
52
+ *
53
+ * @throws {@link IllegalUpdate} (client fault)
54
+ * <p>The update contains modifications that are not allowed.</p>
55
+ *
56
+ * @throws {@link InconsistentQuantities} (client fault)
57
+ * <p>The value of <code>Quantity</code> and the size of <code>Items</code> don't
58
+ * match.</p>
59
+ *
60
+ * @throws {@link InvalidArgument} (client fault)
61
+ * <p>An argument is invalid.</p>
62
+ *
63
+ * @throws {@link InvalidIfMatchVersion} (client fault)
64
+ * <p>The <code>If-Match</code> version is missing or not valid.</p>
65
+ *
66
+ * @throws {@link NoSuchResponseHeadersPolicy} (client fault)
67
+ * <p>The response headers policy does not exist.</p>
68
+ *
69
+ * @throws {@link PreconditionFailed} (client fault)
70
+ * <p>The precondition in one or more of the request fields evaluated to
71
+ * <code>false</code>.</p>
72
+ *
73
+ * @throws {@link ResponseHeadersPolicyAlreadyExists} (client fault)
74
+ * <p>A response headers policy with this name already exists. You must provide a unique
75
+ * name. To modify an existing response headers policy, use
76
+ * <code>UpdateResponseHeadersPolicy</code>.</p>
77
+ *
78
+ * @throws {@link TooLongCSPInResponseHeadersPolicy} (client fault)
79
+ * <p>The length of the <code>Content-Security-Policy</code> header value in the response
80
+ * headers policy exceeds the maximum.</p>
81
+ * <p>For more information, see <a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/cloudfront-limits.html">Quotas</a> (formerly known as limits) in the
82
+ * <i>Amazon CloudFront Developer Guide</i>.</p>
83
+ *
84
+ * @throws {@link TooManyCustomHeadersInResponseHeadersPolicy} (client fault)
85
+ * <p>The number of custom headers in the response headers policy exceeds the
86
+ * maximum.</p>
87
+ * <p>For more information, see <a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/cloudfront-limits.html">Quotas</a> (formerly known as limits) in the
88
+ * <i>Amazon CloudFront Developer Guide</i>.</p>
89
+ *
90
+ * @throws {@link TooManyRemoveHeadersInResponseHeadersPolicy} (client fault)
91
+ * <p>The number of headers in <code>RemoveHeadersConfig</code> in the response headers
92
+ * policy exceeds the maximum.</p>
93
+ * <p>For more information, see <a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/cloudfront-limits.html">Quotas</a> (formerly known as limits) in the
94
+ * <i>Amazon CloudFront Developer Guide</i>.</p>
95
+ *
96
+ *
50
97
  */
51
98
  export declare class UpdateResponseHeadersPolicyCommand extends $Command<UpdateResponseHeadersPolicyCommandInput, UpdateResponseHeadersPolicyCommandOutput, CloudFrontClientResolvedConfig> {
52
99
  readonly input: UpdateResponseHeadersPolicyCommandInput;
@@ -29,6 +29,52 @@ export interface UpdateStreamingDistributionCommandOutput extends UpdateStreamin
29
29
  * @see {@link UpdateStreamingDistributionCommandOutput} for command's `response` shape.
30
30
  * @see {@link CloudFrontClientResolvedConfig | config} for CloudFrontClient's `config` shape.
31
31
  *
32
+ * @throws {@link AccessDenied} (client fault)
33
+ * <p>Access denied.</p>
34
+ *
35
+ * @throws {@link CNAMEAlreadyExists} (client fault)
36
+ * <p>The CNAME specified is already defined for CloudFront.</p>
37
+ *
38
+ * @throws {@link IllegalUpdate} (client fault)
39
+ * <p>The update contains modifications that are not allowed.</p>
40
+ *
41
+ * @throws {@link InconsistentQuantities} (client fault)
42
+ * <p>The value of <code>Quantity</code> and the size of <code>Items</code> don't
43
+ * match.</p>
44
+ *
45
+ * @throws {@link InvalidArgument} (client fault)
46
+ * <p>An argument is invalid.</p>
47
+ *
48
+ * @throws {@link InvalidIfMatchVersion} (client fault)
49
+ * <p>The <code>If-Match</code> version is missing or not valid.</p>
50
+ *
51
+ * @throws {@link InvalidOriginAccessControl} (client fault)
52
+ * <p>The origin access control is not valid.</p>
53
+ *
54
+ * @throws {@link InvalidOriginAccessIdentity} (client fault)
55
+ * <p>The origin access identity is not valid or doesn't exist.</p>
56
+ *
57
+ * @throws {@link MissingBody} (client fault)
58
+ * <p>This operation requires a body. Ensure that the body is present and the
59
+ * <code>Content-Type</code> header is set.</p>
60
+ *
61
+ * @throws {@link NoSuchStreamingDistribution} (client fault)
62
+ * <p>The specified streaming distribution does not exist.</p>
63
+ *
64
+ * @throws {@link PreconditionFailed} (client fault)
65
+ * <p>The precondition in one or more of the request fields evaluated to
66
+ * <code>false</code>.</p>
67
+ *
68
+ * @throws {@link TooManyStreamingDistributionCNAMEs} (client fault)
69
+ * <p>Your request contains more CNAMEs than are allowed per distribution.</p>
70
+ *
71
+ * @throws {@link TooManyTrustedSigners} (client fault)
72
+ * <p>Your request contains more trusted signers than are allowed per distribution.</p>
73
+ *
74
+ * @throws {@link TrustedSignerDoesNotExist} (client fault)
75
+ * <p>One or more of your trusted signers don't exist.</p>
76
+ *
77
+ *
32
78
  */
33
79
  export declare class UpdateStreamingDistributionCommand extends $Command<UpdateStreamingDistributionCommandInput, UpdateStreamingDistributionCommandOutput, CloudFrontClientResolvedConfig> {
34
80
  readonly input: UpdateStreamingDistributionCommandInput;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-cloudfront",
3
3
  "description": "AWS SDK for JavaScript Cloudfront Client for Node.js, Browser and React Native",
4
- "version": "3.289.0",
4
+ "version": "3.292.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -20,58 +20,53 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "3.0.0",
22
22
  "@aws-crypto/sha256-js": "3.0.0",
23
- "@aws-sdk/client-sts": "3.289.0",
24
- "@aws-sdk/config-resolver": "3.289.0",
25
- "@aws-sdk/credential-provider-node": "3.289.0",
26
- "@aws-sdk/fetch-http-handler": "3.289.0",
27
- "@aws-sdk/hash-node": "3.289.0",
28
- "@aws-sdk/invalid-dependency": "3.289.0",
29
- "@aws-sdk/middleware-content-length": "3.289.0",
30
- "@aws-sdk/middleware-endpoint": "3.289.0",
31
- "@aws-sdk/middleware-host-header": "3.289.0",
32
- "@aws-sdk/middleware-logger": "3.289.0",
33
- "@aws-sdk/middleware-recursion-detection": "3.289.0",
34
- "@aws-sdk/middleware-retry": "3.289.0",
35
- "@aws-sdk/middleware-serde": "3.289.0",
36
- "@aws-sdk/middleware-signing": "3.289.0",
37
- "@aws-sdk/middleware-stack": "3.289.0",
38
- "@aws-sdk/middleware-user-agent": "3.289.0",
39
- "@aws-sdk/node-config-provider": "3.289.0",
40
- "@aws-sdk/node-http-handler": "3.289.0",
41
- "@aws-sdk/protocol-http": "3.289.0",
42
- "@aws-sdk/smithy-client": "3.289.0",
43
- "@aws-sdk/types": "3.289.0",
44
- "@aws-sdk/url-parser": "3.289.0",
45
- "@aws-sdk/util-base64": "3.208.0",
46
- "@aws-sdk/util-body-length-browser": "3.188.0",
47
- "@aws-sdk/util-body-length-node": "3.208.0",
48
- "@aws-sdk/util-defaults-mode-browser": "3.289.0",
49
- "@aws-sdk/util-defaults-mode-node": "3.289.0",
50
- "@aws-sdk/util-endpoints": "3.289.0",
51
- "@aws-sdk/util-retry": "3.289.0",
52
- "@aws-sdk/util-user-agent-browser": "3.289.0",
53
- "@aws-sdk/util-user-agent-node": "3.289.0",
54
- "@aws-sdk/util-utf8": "3.254.0",
55
- "@aws-sdk/util-waiter": "3.289.0",
56
- "@aws-sdk/xml-builder": "3.201.0",
23
+ "@aws-sdk/client-sts": "3.292.0",
24
+ "@aws-sdk/config-resolver": "3.292.0",
25
+ "@aws-sdk/credential-provider-node": "3.292.0",
26
+ "@aws-sdk/fetch-http-handler": "3.292.0",
27
+ "@aws-sdk/hash-node": "3.292.0",
28
+ "@aws-sdk/invalid-dependency": "3.292.0",
29
+ "@aws-sdk/middleware-content-length": "3.292.0",
30
+ "@aws-sdk/middleware-endpoint": "3.292.0",
31
+ "@aws-sdk/middleware-host-header": "3.292.0",
32
+ "@aws-sdk/middleware-logger": "3.292.0",
33
+ "@aws-sdk/middleware-recursion-detection": "3.292.0",
34
+ "@aws-sdk/middleware-retry": "3.292.0",
35
+ "@aws-sdk/middleware-serde": "3.292.0",
36
+ "@aws-sdk/middleware-signing": "3.292.0",
37
+ "@aws-sdk/middleware-stack": "3.292.0",
38
+ "@aws-sdk/middleware-user-agent": "3.292.0",
39
+ "@aws-sdk/node-config-provider": "3.292.0",
40
+ "@aws-sdk/node-http-handler": "3.292.0",
41
+ "@aws-sdk/protocol-http": "3.292.0",
42
+ "@aws-sdk/smithy-client": "3.292.0",
43
+ "@aws-sdk/types": "3.292.0",
44
+ "@aws-sdk/url-parser": "3.292.0",
45
+ "@aws-sdk/util-base64": "3.292.0",
46
+ "@aws-sdk/util-body-length-browser": "3.292.0",
47
+ "@aws-sdk/util-body-length-node": "3.292.0",
48
+ "@aws-sdk/util-defaults-mode-browser": "3.292.0",
49
+ "@aws-sdk/util-defaults-mode-node": "3.292.0",
50
+ "@aws-sdk/util-endpoints": "3.292.0",
51
+ "@aws-sdk/util-retry": "3.292.0",
52
+ "@aws-sdk/util-user-agent-browser": "3.292.0",
53
+ "@aws-sdk/util-user-agent-node": "3.292.0",
54
+ "@aws-sdk/util-utf8": "3.292.0",
55
+ "@aws-sdk/util-waiter": "3.292.0",
56
+ "@aws-sdk/xml-builder": "3.292.0",
57
57
  "fast-xml-parser": "4.1.2",
58
58
  "tslib": "^2.3.1"
59
59
  },
60
60
  "devDependencies": {
61
- "@aws-sdk/service-client-documentation-generator": "3.208.0",
61
+ "@aws-sdk/service-client-documentation-generator": "3.292.0",
62
62
  "@tsconfig/node14": "1.0.3",
63
63
  "@types/node": "^14.14.31",
64
64
  "concurrently": "7.0.0",
65
65
  "downlevel-dts": "0.10.1",
66
66
  "rimraf": "3.0.2",
67
- "typedoc": "0.19.2",
67
+ "typedoc": "0.23.23",
68
68
  "typescript": "~4.6.2"
69
69
  },
70
- "overrides": {
71
- "typedoc": {
72
- "typescript": "~4.6.2"
73
- }
74
- },
75
70
  "engines": {
76
71
  "node": ">=14.0.0"
77
72
  },