@aws-sdk/client-cloudfront 3.50.0 → 3.53.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 (132) hide show
  1. package/CHANGELOG.md +27 -0
  2. package/dist-cjs/index.js +3 -0
  3. package/dist-cjs/models/CloudFrontServiceException.js +11 -0
  4. package/dist-cjs/models/models_0.js +1673 -4
  5. package/dist-cjs/models/models_1.js +117 -4
  6. package/dist-cjs/protocols/Aws_restXml.js +1685 -5116
  7. package/dist-es/index.js +1 -0
  8. package/dist-es/models/CloudFrontServiceException.js +12 -0
  9. package/dist-es/models/models_0.js +1549 -1
  10. package/dist-es/models/models_1.js +106 -1
  11. package/dist-es/protocols/Aws_restXml.js +2718 -5611
  12. package/dist-types/index.d.ts +1 -0
  13. package/dist-types/models/CloudFrontServiceException.d.ts +10 -0
  14. package/dist-types/models/models_0.d.ts +835 -358
  15. package/dist-types/models/models_1.d.ts +58 -25
  16. package/dist-types/ts3.4/CloudFront.d.ts +465 -0
  17. package/dist-types/ts3.4/CloudFrontClient.d.ts +165 -0
  18. package/dist-types/ts3.4/commands/AssociateAliasCommand.d.ts +17 -0
  19. package/dist-types/ts3.4/commands/CreateCachePolicyCommand.d.ts +17 -0
  20. package/dist-types/ts3.4/commands/CreateCloudFrontOriginAccessIdentityCommand.d.ts +17 -0
  21. package/dist-types/ts3.4/commands/CreateDistributionCommand.d.ts +17 -0
  22. package/dist-types/ts3.4/commands/CreateDistributionWithTagsCommand.d.ts +17 -0
  23. package/dist-types/ts3.4/commands/CreateFieldLevelEncryptionConfigCommand.d.ts +17 -0
  24. package/dist-types/ts3.4/commands/CreateFieldLevelEncryptionProfileCommand.d.ts +17 -0
  25. package/dist-types/ts3.4/commands/CreateFunctionCommand.d.ts +17 -0
  26. package/dist-types/ts3.4/commands/CreateInvalidationCommand.d.ts +17 -0
  27. package/dist-types/ts3.4/commands/CreateKeyGroupCommand.d.ts +17 -0
  28. package/dist-types/ts3.4/commands/CreateMonitoringSubscriptionCommand.d.ts +17 -0
  29. package/dist-types/ts3.4/commands/CreateOriginRequestPolicyCommand.d.ts +17 -0
  30. package/dist-types/ts3.4/commands/CreatePublicKeyCommand.d.ts +17 -0
  31. package/dist-types/ts3.4/commands/CreateRealtimeLogConfigCommand.d.ts +17 -0
  32. package/dist-types/ts3.4/commands/CreateResponseHeadersPolicyCommand.d.ts +17 -0
  33. package/dist-types/ts3.4/commands/CreateStreamingDistributionCommand.d.ts +17 -0
  34. package/dist-types/ts3.4/commands/CreateStreamingDistributionWithTagsCommand.d.ts +17 -0
  35. package/dist-types/ts3.4/commands/DeleteCachePolicyCommand.d.ts +17 -0
  36. package/dist-types/ts3.4/commands/DeleteCloudFrontOriginAccessIdentityCommand.d.ts +17 -0
  37. package/dist-types/ts3.4/commands/DeleteDistributionCommand.d.ts +17 -0
  38. package/dist-types/ts3.4/commands/DeleteFieldLevelEncryptionConfigCommand.d.ts +17 -0
  39. package/dist-types/ts3.4/commands/DeleteFieldLevelEncryptionProfileCommand.d.ts +17 -0
  40. package/dist-types/ts3.4/commands/DeleteFunctionCommand.d.ts +17 -0
  41. package/dist-types/ts3.4/commands/DeleteKeyGroupCommand.d.ts +17 -0
  42. package/dist-types/ts3.4/commands/DeleteMonitoringSubscriptionCommand.d.ts +18 -0
  43. package/dist-types/ts3.4/commands/DeleteOriginRequestPolicyCommand.d.ts +17 -0
  44. package/dist-types/ts3.4/commands/DeletePublicKeyCommand.d.ts +17 -0
  45. package/dist-types/ts3.4/commands/DeleteRealtimeLogConfigCommand.d.ts +17 -0
  46. package/dist-types/ts3.4/commands/DeleteResponseHeadersPolicyCommand.d.ts +17 -0
  47. package/dist-types/ts3.4/commands/DeleteStreamingDistributionCommand.d.ts +17 -0
  48. package/dist-types/ts3.4/commands/DescribeFunctionCommand.d.ts +17 -0
  49. package/dist-types/ts3.4/commands/GetCachePolicyCommand.d.ts +17 -0
  50. package/dist-types/ts3.4/commands/GetCachePolicyConfigCommand.d.ts +17 -0
  51. package/dist-types/ts3.4/commands/GetCloudFrontOriginAccessIdentityCommand.d.ts +17 -0
  52. package/dist-types/ts3.4/commands/GetCloudFrontOriginAccessIdentityConfigCommand.d.ts +17 -0
  53. package/dist-types/ts3.4/commands/GetDistributionCommand.d.ts +17 -0
  54. package/dist-types/ts3.4/commands/GetDistributionConfigCommand.d.ts +17 -0
  55. package/dist-types/ts3.4/commands/GetFieldLevelEncryptionCommand.d.ts +17 -0
  56. package/dist-types/ts3.4/commands/GetFieldLevelEncryptionConfigCommand.d.ts +17 -0
  57. package/dist-types/ts3.4/commands/GetFieldLevelEncryptionProfileCommand.d.ts +17 -0
  58. package/dist-types/ts3.4/commands/GetFieldLevelEncryptionProfileConfigCommand.d.ts +17 -0
  59. package/dist-types/ts3.4/commands/GetFunctionCommand.d.ts +17 -0
  60. package/dist-types/ts3.4/commands/GetInvalidationCommand.d.ts +17 -0
  61. package/dist-types/ts3.4/commands/GetKeyGroupCommand.d.ts +17 -0
  62. package/dist-types/ts3.4/commands/GetKeyGroupConfigCommand.d.ts +17 -0
  63. package/dist-types/ts3.4/commands/GetMonitoringSubscriptionCommand.d.ts +17 -0
  64. package/dist-types/ts3.4/commands/GetOriginRequestPolicyCommand.d.ts +17 -0
  65. package/dist-types/ts3.4/commands/GetOriginRequestPolicyConfigCommand.d.ts +17 -0
  66. package/dist-types/ts3.4/commands/GetPublicKeyCommand.d.ts +17 -0
  67. package/dist-types/ts3.4/commands/GetPublicKeyConfigCommand.d.ts +17 -0
  68. package/dist-types/ts3.4/commands/GetRealtimeLogConfigCommand.d.ts +17 -0
  69. package/dist-types/ts3.4/commands/GetResponseHeadersPolicyCommand.d.ts +17 -0
  70. package/dist-types/ts3.4/commands/GetResponseHeadersPolicyConfigCommand.d.ts +17 -0
  71. package/dist-types/ts3.4/commands/GetStreamingDistributionCommand.d.ts +17 -0
  72. package/dist-types/ts3.4/commands/GetStreamingDistributionConfigCommand.d.ts +17 -0
  73. package/dist-types/ts3.4/commands/ListCachePoliciesCommand.d.ts +17 -0
  74. package/dist-types/ts3.4/commands/ListCloudFrontOriginAccessIdentitiesCommand.d.ts +17 -0
  75. package/dist-types/ts3.4/commands/ListConflictingAliasesCommand.d.ts +17 -0
  76. package/dist-types/ts3.4/commands/ListDistributionsByCachePolicyIdCommand.d.ts +17 -0
  77. package/dist-types/ts3.4/commands/ListDistributionsByKeyGroupCommand.d.ts +17 -0
  78. package/dist-types/ts3.4/commands/ListDistributionsByOriginRequestPolicyIdCommand.d.ts +17 -0
  79. package/dist-types/ts3.4/commands/ListDistributionsByRealtimeLogConfigCommand.d.ts +17 -0
  80. package/dist-types/ts3.4/commands/ListDistributionsByResponseHeadersPolicyIdCommand.d.ts +17 -0
  81. package/dist-types/ts3.4/commands/ListDistributionsByWebACLIdCommand.d.ts +17 -0
  82. package/dist-types/ts3.4/commands/ListDistributionsCommand.d.ts +17 -0
  83. package/dist-types/ts3.4/commands/ListFieldLevelEncryptionConfigsCommand.d.ts +17 -0
  84. package/dist-types/ts3.4/commands/ListFieldLevelEncryptionProfilesCommand.d.ts +17 -0
  85. package/dist-types/ts3.4/commands/ListFunctionsCommand.d.ts +17 -0
  86. package/dist-types/ts3.4/commands/ListInvalidationsCommand.d.ts +17 -0
  87. package/dist-types/ts3.4/commands/ListKeyGroupsCommand.d.ts +17 -0
  88. package/dist-types/ts3.4/commands/ListOriginRequestPoliciesCommand.d.ts +17 -0
  89. package/dist-types/ts3.4/commands/ListPublicKeysCommand.d.ts +17 -0
  90. package/dist-types/ts3.4/commands/ListRealtimeLogConfigsCommand.d.ts +17 -0
  91. package/dist-types/ts3.4/commands/ListResponseHeadersPoliciesCommand.d.ts +17 -0
  92. package/dist-types/ts3.4/commands/ListStreamingDistributionsCommand.d.ts +17 -0
  93. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +17 -0
  94. package/dist-types/ts3.4/commands/PublishFunctionCommand.d.ts +17 -0
  95. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +17 -0
  96. package/dist-types/ts3.4/commands/TestFunctionCommand.d.ts +17 -0
  97. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +17 -0
  98. package/dist-types/ts3.4/commands/UpdateCachePolicyCommand.d.ts +17 -0
  99. package/dist-types/ts3.4/commands/UpdateCloudFrontOriginAccessIdentityCommand.d.ts +17 -0
  100. package/dist-types/ts3.4/commands/UpdateDistributionCommand.d.ts +17 -0
  101. package/dist-types/ts3.4/commands/UpdateFieldLevelEncryptionConfigCommand.d.ts +17 -0
  102. package/dist-types/ts3.4/commands/UpdateFieldLevelEncryptionProfileCommand.d.ts +17 -0
  103. package/dist-types/ts3.4/commands/UpdateFunctionCommand.d.ts +17 -0
  104. package/dist-types/ts3.4/commands/UpdateKeyGroupCommand.d.ts +17 -0
  105. package/dist-types/ts3.4/commands/UpdateOriginRequestPolicyCommand.d.ts +17 -0
  106. package/dist-types/ts3.4/commands/UpdatePublicKeyCommand.d.ts +17 -0
  107. package/dist-types/ts3.4/commands/UpdateRealtimeLogConfigCommand.d.ts +17 -0
  108. package/dist-types/ts3.4/commands/UpdateResponseHeadersPolicyCommand.d.ts +17 -0
  109. package/dist-types/ts3.4/commands/UpdateStreamingDistributionCommand.d.ts +17 -0
  110. package/dist-types/ts3.4/commands/index.d.ts +92 -0
  111. package/dist-types/ts3.4/endpoints.d.ts +2 -0
  112. package/dist-types/ts3.4/index.d.ts +7 -0
  113. package/dist-types/ts3.4/models/CloudFrontServiceException.d.ts +6 -0
  114. package/dist-types/ts3.4/models/index.d.ts +2 -0
  115. package/dist-types/ts3.4/models/models_0.d.ts +314 -0
  116. package/dist-types/ts3.4/models/models_1.d.ts +1804 -0
  117. package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
  118. package/dist-types/ts3.4/pagination/ListCloudFrontOriginAccessIdentitiesPaginator.d.ts +4 -0
  119. package/dist-types/ts3.4/pagination/ListDistributionsPaginator.d.ts +4 -0
  120. package/dist-types/ts3.4/pagination/ListInvalidationsPaginator.d.ts +4 -0
  121. package/dist-types/ts3.4/pagination/ListStreamingDistributionsPaginator.d.ts +4 -0
  122. package/dist-types/ts3.4/pagination/index.d.ts +5 -0
  123. package/dist-types/ts3.4/protocols/Aws_restXml.d.ts +278 -0
  124. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +38 -0
  125. package/dist-types/ts3.4/runtimeConfig.d.ts +38 -0
  126. package/dist-types/ts3.4/runtimeConfig.native.d.ts +37 -0
  127. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +11 -0
  128. package/dist-types/ts3.4/waiters/index.d.ts +3 -0
  129. package/dist-types/ts3.4/waiters/waitForDistributionDeployed.d.ts +7 -0
  130. package/dist-types/ts3.4/waiters/waitForInvalidationCompleted.d.ts +7 -0
  131. package/dist-types/ts3.4/waiters/waitForStreamingDistributionDeployed.d.ts +7 -0
  132. package/package.json +35 -35
@@ -0,0 +1,17 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { CloudFrontClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudFrontClient";
4
+ import { UpdateKeyGroupRequest, UpdateKeyGroupResult } from "../models/models_1";
5
+ export interface UpdateKeyGroupCommandInput extends UpdateKeyGroupRequest {
6
+ }
7
+ export interface UpdateKeyGroupCommandOutput extends UpdateKeyGroupResult, __MetadataBearer {
8
+ }
9
+
10
+ export declare class UpdateKeyGroupCommand extends $Command<UpdateKeyGroupCommandInput, UpdateKeyGroupCommandOutput, CloudFrontClientResolvedConfig> {
11
+ readonly input: UpdateKeyGroupCommandInput;
12
+ constructor(input: UpdateKeyGroupCommandInput);
13
+
14
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CloudFrontClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UpdateKeyGroupCommandInput, UpdateKeyGroupCommandOutput>;
15
+ private serialize;
16
+ private deserialize;
17
+ }
@@ -0,0 +1,17 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { CloudFrontClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudFrontClient";
4
+ import { UpdateOriginRequestPolicyRequest, UpdateOriginRequestPolicyResult } from "../models/models_1";
5
+ export interface UpdateOriginRequestPolicyCommandInput extends UpdateOriginRequestPolicyRequest {
6
+ }
7
+ export interface UpdateOriginRequestPolicyCommandOutput extends UpdateOriginRequestPolicyResult, __MetadataBearer {
8
+ }
9
+
10
+ export declare class UpdateOriginRequestPolicyCommand extends $Command<UpdateOriginRequestPolicyCommandInput, UpdateOriginRequestPolicyCommandOutput, CloudFrontClientResolvedConfig> {
11
+ readonly input: UpdateOriginRequestPolicyCommandInput;
12
+ constructor(input: UpdateOriginRequestPolicyCommandInput);
13
+
14
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CloudFrontClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UpdateOriginRequestPolicyCommandInput, UpdateOriginRequestPolicyCommandOutput>;
15
+ private serialize;
16
+ private deserialize;
17
+ }
@@ -0,0 +1,17 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { CloudFrontClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudFrontClient";
4
+ import { UpdatePublicKeyRequest, UpdatePublicKeyResult } from "../models/models_1";
5
+ export interface UpdatePublicKeyCommandInput extends UpdatePublicKeyRequest {
6
+ }
7
+ export interface UpdatePublicKeyCommandOutput extends UpdatePublicKeyResult, __MetadataBearer {
8
+ }
9
+
10
+ export declare class UpdatePublicKeyCommand extends $Command<UpdatePublicKeyCommandInput, UpdatePublicKeyCommandOutput, CloudFrontClientResolvedConfig> {
11
+ readonly input: UpdatePublicKeyCommandInput;
12
+ constructor(input: UpdatePublicKeyCommandInput);
13
+
14
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CloudFrontClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UpdatePublicKeyCommandInput, UpdatePublicKeyCommandOutput>;
15
+ private serialize;
16
+ private deserialize;
17
+ }
@@ -0,0 +1,17 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { CloudFrontClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudFrontClient";
4
+ import { UpdateRealtimeLogConfigRequest, UpdateRealtimeLogConfigResult } from "../models/models_1";
5
+ export interface UpdateRealtimeLogConfigCommandInput extends UpdateRealtimeLogConfigRequest {
6
+ }
7
+ export interface UpdateRealtimeLogConfigCommandOutput extends UpdateRealtimeLogConfigResult, __MetadataBearer {
8
+ }
9
+
10
+ export declare class UpdateRealtimeLogConfigCommand extends $Command<UpdateRealtimeLogConfigCommandInput, UpdateRealtimeLogConfigCommandOutput, CloudFrontClientResolvedConfig> {
11
+ readonly input: UpdateRealtimeLogConfigCommandInput;
12
+ constructor(input: UpdateRealtimeLogConfigCommandInput);
13
+
14
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CloudFrontClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UpdateRealtimeLogConfigCommandInput, UpdateRealtimeLogConfigCommandOutput>;
15
+ private serialize;
16
+ private deserialize;
17
+ }
@@ -0,0 +1,17 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { CloudFrontClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudFrontClient";
4
+ import { UpdateResponseHeadersPolicyRequest, UpdateResponseHeadersPolicyResult } from "../models/models_1";
5
+ export interface UpdateResponseHeadersPolicyCommandInput extends UpdateResponseHeadersPolicyRequest {
6
+ }
7
+ export interface UpdateResponseHeadersPolicyCommandOutput extends UpdateResponseHeadersPolicyResult, __MetadataBearer {
8
+ }
9
+
10
+ export declare class UpdateResponseHeadersPolicyCommand extends $Command<UpdateResponseHeadersPolicyCommandInput, UpdateResponseHeadersPolicyCommandOutput, CloudFrontClientResolvedConfig> {
11
+ readonly input: UpdateResponseHeadersPolicyCommandInput;
12
+ constructor(input: UpdateResponseHeadersPolicyCommandInput);
13
+
14
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CloudFrontClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UpdateResponseHeadersPolicyCommandInput, UpdateResponseHeadersPolicyCommandOutput>;
15
+ private serialize;
16
+ private deserialize;
17
+ }
@@ -0,0 +1,17 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { CloudFrontClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudFrontClient";
4
+ import { UpdateStreamingDistributionRequest, UpdateStreamingDistributionResult } from "../models/models_1";
5
+ export interface UpdateStreamingDistributionCommandInput extends UpdateStreamingDistributionRequest {
6
+ }
7
+ export interface UpdateStreamingDistributionCommandOutput extends UpdateStreamingDistributionResult, __MetadataBearer {
8
+ }
9
+
10
+ export declare class UpdateStreamingDistributionCommand extends $Command<UpdateStreamingDistributionCommandInput, UpdateStreamingDistributionCommandOutput, CloudFrontClientResolvedConfig> {
11
+ readonly input: UpdateStreamingDistributionCommandInput;
12
+ constructor(input: UpdateStreamingDistributionCommandInput);
13
+
14
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CloudFrontClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UpdateStreamingDistributionCommandInput, UpdateStreamingDistributionCommandOutput>;
15
+ private serialize;
16
+ private deserialize;
17
+ }
@@ -0,0 +1,92 @@
1
+ export * from "./AssociateAliasCommand";
2
+ export * from "./CreateCachePolicyCommand";
3
+ export * from "./CreateCloudFrontOriginAccessIdentityCommand";
4
+ export * from "./CreateDistributionCommand";
5
+ export * from "./CreateDistributionWithTagsCommand";
6
+ export * from "./CreateFieldLevelEncryptionConfigCommand";
7
+ export * from "./CreateFieldLevelEncryptionProfileCommand";
8
+ export * from "./CreateFunctionCommand";
9
+ export * from "./CreateInvalidationCommand";
10
+ export * from "./CreateKeyGroupCommand";
11
+ export * from "./CreateMonitoringSubscriptionCommand";
12
+ export * from "./CreateOriginRequestPolicyCommand";
13
+ export * from "./CreatePublicKeyCommand";
14
+ export * from "./CreateRealtimeLogConfigCommand";
15
+ export * from "./CreateResponseHeadersPolicyCommand";
16
+ export * from "./CreateStreamingDistributionCommand";
17
+ export * from "./CreateStreamingDistributionWithTagsCommand";
18
+ export * from "./DeleteCachePolicyCommand";
19
+ export * from "./DeleteCloudFrontOriginAccessIdentityCommand";
20
+ export * from "./DeleteDistributionCommand";
21
+ export * from "./DeleteFieldLevelEncryptionConfigCommand";
22
+ export * from "./DeleteFieldLevelEncryptionProfileCommand";
23
+ export * from "./DeleteFunctionCommand";
24
+ export * from "./DeleteKeyGroupCommand";
25
+ export * from "./DeleteMonitoringSubscriptionCommand";
26
+ export * from "./DeleteOriginRequestPolicyCommand";
27
+ export * from "./DeletePublicKeyCommand";
28
+ export * from "./DeleteRealtimeLogConfigCommand";
29
+ export * from "./DeleteResponseHeadersPolicyCommand";
30
+ export * from "./DeleteStreamingDistributionCommand";
31
+ export * from "./DescribeFunctionCommand";
32
+ export * from "./GetCachePolicyCommand";
33
+ export * from "./GetCachePolicyConfigCommand";
34
+ export * from "./GetCloudFrontOriginAccessIdentityCommand";
35
+ export * from "./GetCloudFrontOriginAccessIdentityConfigCommand";
36
+ export * from "./GetDistributionCommand";
37
+ export * from "./GetDistributionConfigCommand";
38
+ export * from "./GetFieldLevelEncryptionCommand";
39
+ export * from "./GetFieldLevelEncryptionConfigCommand";
40
+ export * from "./GetFieldLevelEncryptionProfileCommand";
41
+ export * from "./GetFieldLevelEncryptionProfileConfigCommand";
42
+ export * from "./GetFunctionCommand";
43
+ export * from "./GetInvalidationCommand";
44
+ export * from "./GetKeyGroupCommand";
45
+ export * from "./GetKeyGroupConfigCommand";
46
+ export * from "./GetMonitoringSubscriptionCommand";
47
+ export * from "./GetOriginRequestPolicyCommand";
48
+ export * from "./GetOriginRequestPolicyConfigCommand";
49
+ export * from "./GetPublicKeyCommand";
50
+ export * from "./GetPublicKeyConfigCommand";
51
+ export * from "./GetRealtimeLogConfigCommand";
52
+ export * from "./GetResponseHeadersPolicyCommand";
53
+ export * from "./GetResponseHeadersPolicyConfigCommand";
54
+ export * from "./GetStreamingDistributionCommand";
55
+ export * from "./GetStreamingDistributionConfigCommand";
56
+ export * from "./ListCachePoliciesCommand";
57
+ export * from "./ListCloudFrontOriginAccessIdentitiesCommand";
58
+ export * from "./ListConflictingAliasesCommand";
59
+ export * from "./ListDistributionsByCachePolicyIdCommand";
60
+ export * from "./ListDistributionsByKeyGroupCommand";
61
+ export * from "./ListDistributionsByOriginRequestPolicyIdCommand";
62
+ export * from "./ListDistributionsByRealtimeLogConfigCommand";
63
+ export * from "./ListDistributionsByResponseHeadersPolicyIdCommand";
64
+ export * from "./ListDistributionsByWebACLIdCommand";
65
+ export * from "./ListDistributionsCommand";
66
+ export * from "./ListFieldLevelEncryptionConfigsCommand";
67
+ export * from "./ListFieldLevelEncryptionProfilesCommand";
68
+ export * from "./ListFunctionsCommand";
69
+ export * from "./ListInvalidationsCommand";
70
+ export * from "./ListKeyGroupsCommand";
71
+ export * from "./ListOriginRequestPoliciesCommand";
72
+ export * from "./ListPublicKeysCommand";
73
+ export * from "./ListRealtimeLogConfigsCommand";
74
+ export * from "./ListResponseHeadersPoliciesCommand";
75
+ export * from "./ListStreamingDistributionsCommand";
76
+ export * from "./ListTagsForResourceCommand";
77
+ export * from "./PublishFunctionCommand";
78
+ export * from "./TagResourceCommand";
79
+ export * from "./TestFunctionCommand";
80
+ export * from "./UntagResourceCommand";
81
+ export * from "./UpdateCachePolicyCommand";
82
+ export * from "./UpdateCloudFrontOriginAccessIdentityCommand";
83
+ export * from "./UpdateDistributionCommand";
84
+ export * from "./UpdateFieldLevelEncryptionConfigCommand";
85
+ export * from "./UpdateFieldLevelEncryptionProfileCommand";
86
+ export * from "./UpdateFunctionCommand";
87
+ export * from "./UpdateKeyGroupCommand";
88
+ export * from "./UpdateOriginRequestPolicyCommand";
89
+ export * from "./UpdatePublicKeyCommand";
90
+ export * from "./UpdateRealtimeLogConfigCommand";
91
+ export * from "./UpdateResponseHeadersPolicyCommand";
92
+ export * from "./UpdateStreamingDistributionCommand";
@@ -0,0 +1,2 @@
1
+ import { RegionInfoProvider } from "@aws-sdk/types";
2
+ export declare const defaultRegionInfoProvider: RegionInfoProvider;
@@ -0,0 +1,7 @@
1
+ export * from "./CloudFront";
2
+ export * from "./CloudFrontClient";
3
+ export * from "./commands";
4
+ export * from "./models";
5
+ export * from "./pagination";
6
+ export * from "./waiters";
7
+ export { CloudFrontServiceException } from "./models/CloudFrontServiceException";
@@ -0,0 +1,6 @@
1
+ import { ServiceException as __ServiceException, ServiceExceptionOptions as __ServiceExceptionOptions } from "@aws-sdk/smithy-client";
2
+
3
+ export declare class CloudFrontServiceException extends __ServiceException {
4
+
5
+ constructor(options: __ServiceExceptionOptions);
6
+ }
@@ -0,0 +1,2 @@
1
+ export * from "./models_0";
2
+ export * from "./models_1";
@@ -0,0 +1,314 @@
1
+ import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
2
+ import { CloudFrontServiceException as __BaseException } from "./CloudFrontServiceException";
3
+ export declare enum ResponseHeadersPolicyAccessControlAllowMethodsValues {
4
+ ALL = "ALL",
5
+ DELETE = "DELETE",
6
+ GET = "GET",
7
+ HEAD = "HEAD",
8
+ OPTIONS = "OPTIONS",
9
+ PATCH = "PATCH",
10
+ POST = "POST",
11
+ PUT = "PUT"
12
+ }
13
+
14
+ export declare class AccessDenied extends __BaseException {
15
+ readonly name: "AccessDenied";
16
+ readonly $fault: "client";
17
+ Message?: string;
18
+
19
+ constructor(opts: __ExceptionOptionType<AccessDenied, __BaseException>);
20
+ }
21
+
22
+ export interface KeyPairIds {
23
+
24
+ Quantity: number | undefined;
25
+
26
+ Items?: string[];
27
+ }
28
+ export declare namespace KeyPairIds {
29
+
30
+ const filterSensitiveLog: (obj: KeyPairIds) => any;
31
+ }
32
+
33
+ export interface KGKeyPairIds {
34
+
35
+ KeyGroupId?: string;
36
+
37
+ KeyPairIds?: KeyPairIds;
38
+ }
39
+ export declare namespace KGKeyPairIds {
40
+
41
+ const filterSensitiveLog: (obj: KGKeyPairIds) => any;
42
+ }
43
+
44
+ export interface ActiveTrustedKeyGroups {
45
+
46
+ Enabled: boolean | undefined;
47
+
48
+ Quantity: number | undefined;
49
+
50
+ Items?: KGKeyPairIds[];
51
+ }
52
+ export declare namespace ActiveTrustedKeyGroups {
53
+
54
+ const filterSensitiveLog: (obj: ActiveTrustedKeyGroups) => any;
55
+ }
56
+
57
+ export interface Signer {
58
+
59
+ AwsAccountNumber?: string;
60
+
61
+ KeyPairIds?: KeyPairIds;
62
+ }
63
+ export declare namespace Signer {
64
+
65
+ const filterSensitiveLog: (obj: Signer) => any;
66
+ }
67
+
68
+ export interface ActiveTrustedSigners {
69
+
70
+ Enabled: boolean | undefined;
71
+
72
+ Quantity: number | undefined;
73
+
74
+ Items?: Signer[];
75
+ }
76
+ export declare namespace ActiveTrustedSigners {
77
+
78
+ const filterSensitiveLog: (obj: ActiveTrustedSigners) => any;
79
+ }
80
+
81
+ export interface Aliases {
82
+
83
+ Quantity: number | undefined;
84
+
85
+ Items?: string[];
86
+ }
87
+ export declare namespace Aliases {
88
+
89
+ const filterSensitiveLog: (obj: Aliases) => any;
90
+ }
91
+ export declare type ICPRecordalStatus = "APPROVED" | "PENDING" | "SUSPENDED";
92
+
93
+ export interface AliasICPRecordal {
94
+
95
+ CNAME?: string;
96
+
97
+ ICPRecordalStatus?: ICPRecordalStatus | string;
98
+ }
99
+ export declare namespace AliasICPRecordal {
100
+
101
+ const filterSensitiveLog: (obj: AliasICPRecordal) => any;
102
+ }
103
+ export declare type Method = "DELETE" | "GET" | "HEAD" | "OPTIONS" | "PATCH" | "POST" | "PUT";
104
+
105
+ export interface CachedMethods {
106
+
107
+ Quantity: number | undefined;
108
+
109
+ Items: (Method | string)[] | undefined;
110
+ }
111
+ export declare namespace CachedMethods {
112
+
113
+ const filterSensitiveLog: (obj: CachedMethods) => any;
114
+ }
115
+
116
+ export interface AllowedMethods {
117
+
118
+ Quantity: number | undefined;
119
+
120
+ Items: (Method | string)[] | undefined;
121
+
122
+ CachedMethods?: CachedMethods;
123
+ }
124
+ export declare namespace AllowedMethods {
125
+
126
+ const filterSensitiveLog: (obj: AllowedMethods) => any;
127
+ }
128
+ export interface AssociateAliasRequest {
129
+
130
+ TargetDistributionId: string | undefined;
131
+
132
+ Alias: string | undefined;
133
+ }
134
+ export declare namespace AssociateAliasRequest {
135
+
136
+ const filterSensitiveLog: (obj: AssociateAliasRequest) => any;
137
+ }
138
+
139
+ export declare class IllegalUpdate extends __BaseException {
140
+ readonly name: "IllegalUpdate";
141
+ readonly $fault: "client";
142
+ Message?: string;
143
+
144
+ constructor(opts: __ExceptionOptionType<IllegalUpdate, __BaseException>);
145
+ }
146
+
147
+ export declare class InvalidArgument extends __BaseException {
148
+ readonly name: "InvalidArgument";
149
+ readonly $fault: "client";
150
+ Message?: string;
151
+
152
+ constructor(opts: __ExceptionOptionType<InvalidArgument, __BaseException>);
153
+ }
154
+
155
+ export declare class NoSuchDistribution extends __BaseException {
156
+ readonly name: "NoSuchDistribution";
157
+ readonly $fault: "client";
158
+ Message?: string;
159
+
160
+ constructor(opts: __ExceptionOptionType<NoSuchDistribution, __BaseException>);
161
+ }
162
+
163
+ export declare class TooManyDistributionCNAMEs extends __BaseException {
164
+ readonly name: "TooManyDistributionCNAMEs";
165
+ readonly $fault: "client";
166
+ Message?: string;
167
+
168
+ constructor(opts: __ExceptionOptionType<TooManyDistributionCNAMEs, __BaseException>);
169
+ }
170
+
171
+ export declare class BatchTooLarge extends __BaseException {
172
+ readonly name: "BatchTooLarge";
173
+ readonly $fault: "client";
174
+ Message?: string;
175
+
176
+ constructor(opts: __ExceptionOptionType<BatchTooLarge, __BaseException>);
177
+ }
178
+ export declare type ItemSelection = "all" | "none" | "whitelist";
179
+
180
+ export interface CookieNames {
181
+
182
+ Quantity: number | undefined;
183
+
184
+ Items?: string[];
185
+ }
186
+ export declare namespace CookieNames {
187
+
188
+ const filterSensitiveLog: (obj: CookieNames) => any;
189
+ }
190
+
191
+ export interface CookiePreference {
192
+
193
+ Forward: ItemSelection | string | undefined;
194
+
195
+ WhitelistedNames?: CookieNames;
196
+ }
197
+ export declare namespace CookiePreference {
198
+
199
+ const filterSensitiveLog: (obj: CookiePreference) => any;
200
+ }
201
+
202
+ export interface Headers {
203
+
204
+ Quantity: number | undefined;
205
+
206
+ Items?: string[];
207
+ }
208
+ export declare namespace Headers {
209
+
210
+ const filterSensitiveLog: (obj: Headers) => any;
211
+ }
212
+
213
+ export interface QueryStringCacheKeys {
214
+
215
+ Quantity: number | undefined;
216
+
217
+ Items?: string[];
218
+ }
219
+ export declare namespace QueryStringCacheKeys {
220
+
221
+ const filterSensitiveLog: (obj: QueryStringCacheKeys) => any;
222
+ }
223
+
224
+ export interface ForwardedValues {
225
+
226
+ QueryString: boolean | undefined;
227
+
228
+ Cookies: CookiePreference | undefined;
229
+
230
+ Headers?: Headers;
231
+
232
+ QueryStringCacheKeys?: QueryStringCacheKeys;
233
+ }
234
+ export declare namespace ForwardedValues {
235
+
236
+ const filterSensitiveLog: (obj: ForwardedValues) => any;
237
+ }
238
+ export declare type EventType = "origin-request" | "origin-response" | "viewer-request" | "viewer-response";
239
+
240
+ export interface FunctionAssociation {
241
+
242
+ FunctionARN: string | undefined;
243
+
244
+ EventType: EventType | string | undefined;
245
+ }
246
+ export declare namespace FunctionAssociation {
247
+
248
+ const filterSensitiveLog: (obj: FunctionAssociation) => any;
249
+ }
250
+
251
+ export interface FunctionAssociations {
252
+
253
+ Quantity: number | undefined;
254
+
255
+ Items?: FunctionAssociation[];
256
+ }
257
+ export declare namespace FunctionAssociations {
258
+
259
+ const filterSensitiveLog: (obj: FunctionAssociations) => any;
260
+ }
261
+
262
+ export interface LambdaFunctionAssociation {
263
+
264
+ LambdaFunctionARN: string | undefined;
265
+
266
+ EventType: EventType | string | undefined;
267
+
268
+ IncludeBody?: boolean;
269
+ }
270
+ export declare namespace LambdaFunctionAssociation {
271
+
272
+ const filterSensitiveLog: (obj: LambdaFunctionAssociation) => any;
273
+ }
274
+
275
+ export interface LambdaFunctionAssociations {
276
+
277
+ Quantity: number | undefined;
278
+
279
+ Items?: LambdaFunctionAssociation[];
280
+ }
281
+ export declare namespace LambdaFunctionAssociations {
282
+
283
+ const filterSensitiveLog: (obj: LambdaFunctionAssociations) => any;
284
+ }
285
+
286
+ export interface TrustedKeyGroups {
287
+
288
+ Enabled: boolean | undefined;
289
+
290
+ Quantity: number | undefined;
291
+
292
+ Items?: string[];
293
+ }
294
+ export declare namespace TrustedKeyGroups {
295
+
296
+ const filterSensitiveLog: (obj: TrustedKeyGroups) => any;
297
+ }
298
+
299
+ export interface TrustedSigners {
300
+
301
+ Enabled: boolean | undefined;
302
+
303
+ Quantity: number | undefined;
304
+
305
+ Items?: string[];
306
+ }
307
+ export declare namespace TrustedSigners {
308
+
309
+ const filterSensitiveLog: (obj: TrustedSigners) => any;
310
+ }
311
+ export declare type ViewerProtocolPolicy = "allow-all" | "https-only" | "redirect-to-https";
312
+
313
+ export interface CacheBehavior {
314
+