@aws-sdk/client-cloudfront 3.39.0 → 3.43.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 (188) hide show
  1. package/CHANGELOG.md +39 -0
  2. package/dist-cjs/CloudFront.js +105 -0
  3. package/dist-cjs/commands/CreateResponseHeadersPolicyCommand.js +36 -0
  4. package/dist-cjs/commands/DeleteMonitoringSubscriptionCommand.js +2 -1
  5. package/dist-cjs/commands/DeleteOriginRequestPolicyCommand.js +2 -2
  6. package/dist-cjs/commands/DeletePublicKeyCommand.js +2 -2
  7. package/dist-cjs/commands/DeleteRealtimeLogConfigCommand.js +2 -2
  8. package/dist-cjs/commands/DeleteResponseHeadersPolicyCommand.js +36 -0
  9. package/dist-cjs/commands/DeleteStreamingDistributionCommand.js +2 -2
  10. package/dist-cjs/commands/DescribeFunctionCommand.js +3 -3
  11. package/dist-cjs/commands/GetCachePolicyCommand.js +3 -3
  12. package/dist-cjs/commands/GetCachePolicyConfigCommand.js +3 -3
  13. package/dist-cjs/commands/GetCloudFrontOriginAccessIdentityCommand.js +3 -3
  14. package/dist-cjs/commands/GetCloudFrontOriginAccessIdentityConfigCommand.js +3 -3
  15. package/dist-cjs/commands/GetDistributionCommand.js +3 -3
  16. package/dist-cjs/commands/GetDistributionConfigCommand.js +3 -3
  17. package/dist-cjs/commands/GetFieldLevelEncryptionCommand.js +3 -3
  18. package/dist-cjs/commands/GetResponseHeadersPolicyCommand.js +36 -0
  19. package/dist-cjs/commands/GetResponseHeadersPolicyConfigCommand.js +36 -0
  20. package/dist-cjs/commands/ListDistributionsByResponseHeadersPolicyIdCommand.js +36 -0
  21. package/dist-cjs/commands/ListResponseHeadersPoliciesCommand.js +36 -0
  22. package/dist-cjs/commands/UpdateResponseHeadersPolicyCommand.js +36 -0
  23. package/dist-cjs/commands/index.js +7 -0
  24. package/dist-cjs/endpoints.js +86 -5
  25. package/dist-cjs/models/models_0.js +174 -166
  26. package/dist-cjs/models/models_1.js +257 -3
  27. package/dist-cjs/protocols/Aws_restXml.js +1725 -120
  28. package/dist-cjs/runtimeConfig.browser.js +6 -3
  29. package/dist-cjs/runtimeConfig.js +5 -3
  30. package/dist-es/CloudFront.js +105 -0
  31. package/dist-es/commands/CreateResponseHeadersPolicyCommand.js +39 -0
  32. package/dist-es/commands/DeleteMonitoringSubscriptionCommand.js +2 -1
  33. package/dist-es/commands/DeleteOriginRequestPolicyCommand.js +1 -1
  34. package/dist-es/commands/DeletePublicKeyCommand.js +1 -1
  35. package/dist-es/commands/DeleteRealtimeLogConfigCommand.js +1 -1
  36. package/dist-es/commands/DeleteResponseHeadersPolicyCommand.js +39 -0
  37. package/dist-es/commands/DeleteStreamingDistributionCommand.js +1 -1
  38. package/dist-es/commands/DescribeFunctionCommand.js +1 -1
  39. package/dist-es/commands/GetCachePolicyCommand.js +1 -1
  40. package/dist-es/commands/GetCachePolicyConfigCommand.js +1 -1
  41. package/dist-es/commands/GetCloudFrontOriginAccessIdentityCommand.js +1 -1
  42. package/dist-es/commands/GetCloudFrontOriginAccessIdentityConfigCommand.js +1 -1
  43. package/dist-es/commands/GetDistributionCommand.js +1 -1
  44. package/dist-es/commands/GetDistributionConfigCommand.js +1 -1
  45. package/dist-es/commands/GetFieldLevelEncryptionCommand.js +1 -1
  46. package/dist-es/commands/GetResponseHeadersPolicyCommand.js +39 -0
  47. package/dist-es/commands/GetResponseHeadersPolicyConfigCommand.js +39 -0
  48. package/dist-es/commands/ListDistributionsByResponseHeadersPolicyIdCommand.js +39 -0
  49. package/dist-es/commands/ListResponseHeadersPoliciesCommand.js +39 -0
  50. package/dist-es/commands/UpdateResponseHeadersPolicyCommand.js +39 -0
  51. package/dist-es/commands/index.js +7 -0
  52. package/dist-es/endpoints.js +86 -5
  53. package/dist-es/models/models_0.js +122 -109
  54. package/dist-es/models/models_1.js +169 -2
  55. package/dist-es/protocols/Aws_restXml.js +2398 -664
  56. package/dist-es/runtimeConfig.browser.js +3 -2
  57. package/dist-es/runtimeConfig.js +3 -3
  58. package/dist-types/CloudFront.d.ts +109 -3
  59. package/dist-types/CloudFrontClient.d.ts +17 -2
  60. package/dist-types/commands/AssociateAliasCommand.d.ts +1 -1
  61. package/dist-types/commands/CreateCachePolicyCommand.d.ts +1 -1
  62. package/dist-types/commands/CreateCloudFrontOriginAccessIdentityCommand.d.ts +1 -1
  63. package/dist-types/commands/CreateDistributionCommand.d.ts +1 -1
  64. package/dist-types/commands/CreateDistributionWithTagsCommand.d.ts +1 -1
  65. package/dist-types/commands/CreateFieldLevelEncryptionConfigCommand.d.ts +1 -1
  66. package/dist-types/commands/CreateFieldLevelEncryptionProfileCommand.d.ts +1 -1
  67. package/dist-types/commands/CreateFunctionCommand.d.ts +1 -1
  68. package/dist-types/commands/CreateInvalidationCommand.d.ts +1 -1
  69. package/dist-types/commands/CreateKeyGroupCommand.d.ts +1 -1
  70. package/dist-types/commands/CreateMonitoringSubscriptionCommand.d.ts +1 -1
  71. package/dist-types/commands/CreateOriginRequestPolicyCommand.d.ts +1 -1
  72. package/dist-types/commands/CreatePublicKeyCommand.d.ts +1 -1
  73. package/dist-types/commands/CreateRealtimeLogConfigCommand.d.ts +1 -1
  74. package/dist-types/commands/CreateResponseHeadersPolicyCommand.d.ts +42 -0
  75. package/dist-types/commands/CreateStreamingDistributionCommand.d.ts +1 -1
  76. package/dist-types/commands/CreateStreamingDistributionWithTagsCommand.d.ts +1 -1
  77. package/dist-types/commands/DeleteCachePolicyCommand.d.ts +1 -1
  78. package/dist-types/commands/DeleteCloudFrontOriginAccessIdentityCommand.d.ts +1 -1
  79. package/dist-types/commands/DeleteDistributionCommand.d.ts +1 -1
  80. package/dist-types/commands/DeleteFieldLevelEncryptionConfigCommand.d.ts +1 -1
  81. package/dist-types/commands/DeleteFieldLevelEncryptionProfileCommand.d.ts +1 -1
  82. package/dist-types/commands/DeleteFunctionCommand.d.ts +1 -1
  83. package/dist-types/commands/DeleteKeyGroupCommand.d.ts +1 -1
  84. package/dist-types/commands/DeleteMonitoringSubscriptionCommand.d.ts +3 -2
  85. package/dist-types/commands/DeleteOriginRequestPolicyCommand.d.ts +2 -2
  86. package/dist-types/commands/DeletePublicKeyCommand.d.ts +2 -2
  87. package/dist-types/commands/DeleteRealtimeLogConfigCommand.d.ts +2 -2
  88. package/dist-types/commands/DeleteResponseHeadersPolicyCommand.d.ts +41 -0
  89. package/dist-types/commands/DeleteStreamingDistributionCommand.d.ts +2 -2
  90. package/dist-types/commands/DescribeFunctionCommand.d.ts +2 -2
  91. package/dist-types/commands/GetCachePolicyCommand.d.ts +2 -2
  92. package/dist-types/commands/GetCachePolicyConfigCommand.d.ts +2 -2
  93. package/dist-types/commands/GetCloudFrontOriginAccessIdentityCommand.d.ts +2 -2
  94. package/dist-types/commands/GetCloudFrontOriginAccessIdentityConfigCommand.d.ts +2 -2
  95. package/dist-types/commands/GetDistributionCommand.d.ts +2 -2
  96. package/dist-types/commands/GetDistributionConfigCommand.d.ts +2 -2
  97. package/dist-types/commands/GetFieldLevelEncryptionCommand.d.ts +2 -2
  98. package/dist-types/commands/GetFieldLevelEncryptionConfigCommand.d.ts +1 -1
  99. package/dist-types/commands/GetFieldLevelEncryptionProfileCommand.d.ts +1 -1
  100. package/dist-types/commands/GetFieldLevelEncryptionProfileConfigCommand.d.ts +1 -1
  101. package/dist-types/commands/GetFunctionCommand.d.ts +1 -1
  102. package/dist-types/commands/GetInvalidationCommand.d.ts +1 -1
  103. package/dist-types/commands/GetKeyGroupCommand.d.ts +1 -1
  104. package/dist-types/commands/GetKeyGroupConfigCommand.d.ts +1 -1
  105. package/dist-types/commands/GetMonitoringSubscriptionCommand.d.ts +1 -1
  106. package/dist-types/commands/GetOriginRequestPolicyCommand.d.ts +1 -1
  107. package/dist-types/commands/GetOriginRequestPolicyConfigCommand.d.ts +1 -1
  108. package/dist-types/commands/GetPublicKeyCommand.d.ts +1 -1
  109. package/dist-types/commands/GetPublicKeyConfigCommand.d.ts +1 -1
  110. package/dist-types/commands/GetRealtimeLogConfigCommand.d.ts +1 -1
  111. package/dist-types/commands/GetResponseHeadersPolicyCommand.d.ts +42 -0
  112. package/dist-types/commands/GetResponseHeadersPolicyConfigCommand.d.ts +41 -0
  113. package/dist-types/commands/GetStreamingDistributionCommand.d.ts +1 -1
  114. package/dist-types/commands/GetStreamingDistributionConfigCommand.d.ts +1 -1
  115. package/dist-types/commands/ListCachePoliciesCommand.d.ts +2 -2
  116. package/dist-types/commands/ListCloudFrontOriginAccessIdentitiesCommand.d.ts +1 -1
  117. package/dist-types/commands/ListConflictingAliasesCommand.d.ts +1 -1
  118. package/dist-types/commands/ListDistributionsByCachePolicyIdCommand.d.ts +1 -1
  119. package/dist-types/commands/ListDistributionsByKeyGroupCommand.d.ts +1 -1
  120. package/dist-types/commands/ListDistributionsByOriginRequestPolicyIdCommand.d.ts +1 -1
  121. package/dist-types/commands/ListDistributionsByRealtimeLogConfigCommand.d.ts +1 -1
  122. package/dist-types/commands/ListDistributionsByResponseHeadersPolicyIdCommand.d.ts +41 -0
  123. package/dist-types/commands/ListDistributionsByWebACLIdCommand.d.ts +1 -1
  124. package/dist-types/commands/ListDistributionsCommand.d.ts +1 -1
  125. package/dist-types/commands/ListFieldLevelEncryptionConfigsCommand.d.ts +1 -1
  126. package/dist-types/commands/ListFieldLevelEncryptionProfilesCommand.d.ts +1 -1
  127. package/dist-types/commands/ListFunctionsCommand.d.ts +2 -2
  128. package/dist-types/commands/ListInvalidationsCommand.d.ts +1 -1
  129. package/dist-types/commands/ListKeyGroupsCommand.d.ts +1 -1
  130. package/dist-types/commands/ListOriginRequestPoliciesCommand.d.ts +2 -2
  131. package/dist-types/commands/ListPublicKeysCommand.d.ts +1 -1
  132. package/dist-types/commands/ListRealtimeLogConfigsCommand.d.ts +1 -1
  133. package/dist-types/commands/ListResponseHeadersPoliciesCommand.d.ts +42 -0
  134. package/dist-types/commands/ListStreamingDistributionsCommand.d.ts +1 -1
  135. package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -1
  136. package/dist-types/commands/PublishFunctionCommand.d.ts +1 -1
  137. package/dist-types/commands/TagResourceCommand.d.ts +1 -1
  138. package/dist-types/commands/TestFunctionCommand.d.ts +1 -1
  139. package/dist-types/commands/UntagResourceCommand.d.ts +1 -1
  140. package/dist-types/commands/UpdateCachePolicyCommand.d.ts +1 -1
  141. package/dist-types/commands/UpdateCloudFrontOriginAccessIdentityCommand.d.ts +1 -1
  142. package/dist-types/commands/UpdateDistributionCommand.d.ts +1 -1
  143. package/dist-types/commands/UpdateFieldLevelEncryptionConfigCommand.d.ts +1 -1
  144. package/dist-types/commands/UpdateFieldLevelEncryptionProfileCommand.d.ts +1 -1
  145. package/dist-types/commands/UpdateFunctionCommand.d.ts +1 -1
  146. package/dist-types/commands/UpdateKeyGroupCommand.d.ts +1 -1
  147. package/dist-types/commands/UpdateOriginRequestPolicyCommand.d.ts +1 -1
  148. package/dist-types/commands/UpdatePublicKeyCommand.d.ts +1 -1
  149. package/dist-types/commands/UpdateRealtimeLogConfigCommand.d.ts +1 -1
  150. package/dist-types/commands/UpdateResponseHeadersPolicyCommand.d.ts +53 -0
  151. package/dist-types/commands/UpdateStreamingDistributionCommand.d.ts +1 -1
  152. package/dist-types/commands/index.d.ts +7 -0
  153. package/dist-types/models/models_0.d.ts +990 -676
  154. package/dist-types/models/models_1.d.ts +746 -51
  155. package/dist-types/protocols/Aws_restXml.d.ts +21 -0
  156. package/dist-types/runtimeConfig.browser.d.ts +2 -0
  157. package/dist-types/runtimeConfig.d.ts +2 -0
  158. package/dist-types/runtimeConfig.native.d.ts +2 -0
  159. package/dist-types/ts3.4/CloudFront.d.ts +35 -0
  160. package/dist-types/ts3.4/CloudFrontClient.d.ts +13 -2
  161. package/dist-types/ts3.4/commands/CreateResponseHeadersPolicyCommand.d.ts +17 -0
  162. package/dist-types/ts3.4/commands/DeleteMonitoringSubscriptionCommand.d.ts +2 -1
  163. package/dist-types/ts3.4/commands/DeleteOriginRequestPolicyCommand.d.ts +1 -1
  164. package/dist-types/ts3.4/commands/DeletePublicKeyCommand.d.ts +1 -1
  165. package/dist-types/ts3.4/commands/DeleteRealtimeLogConfigCommand.d.ts +1 -1
  166. package/dist-types/ts3.4/commands/DeleteResponseHeadersPolicyCommand.d.ts +17 -0
  167. package/dist-types/ts3.4/commands/DeleteStreamingDistributionCommand.d.ts +1 -1
  168. package/dist-types/ts3.4/commands/DescribeFunctionCommand.d.ts +1 -1
  169. package/dist-types/ts3.4/commands/GetCachePolicyCommand.d.ts +1 -1
  170. package/dist-types/ts3.4/commands/GetCachePolicyConfigCommand.d.ts +1 -1
  171. package/dist-types/ts3.4/commands/GetCloudFrontOriginAccessIdentityCommand.d.ts +1 -1
  172. package/dist-types/ts3.4/commands/GetCloudFrontOriginAccessIdentityConfigCommand.d.ts +1 -1
  173. package/dist-types/ts3.4/commands/GetDistributionCommand.d.ts +1 -1
  174. package/dist-types/ts3.4/commands/GetDistributionConfigCommand.d.ts +1 -1
  175. package/dist-types/ts3.4/commands/GetFieldLevelEncryptionCommand.d.ts +1 -1
  176. package/dist-types/ts3.4/commands/GetResponseHeadersPolicyCommand.d.ts +17 -0
  177. package/dist-types/ts3.4/commands/GetResponseHeadersPolicyConfigCommand.d.ts +17 -0
  178. package/dist-types/ts3.4/commands/ListDistributionsByResponseHeadersPolicyIdCommand.d.ts +17 -0
  179. package/dist-types/ts3.4/commands/ListResponseHeadersPoliciesCommand.d.ts +17 -0
  180. package/dist-types/ts3.4/commands/UpdateResponseHeadersPolicyCommand.d.ts +17 -0
  181. package/dist-types/ts3.4/commands/index.d.ts +7 -0
  182. package/dist-types/ts3.4/models/models_0.d.ts +10 -0
  183. package/dist-types/ts3.4/models/models_1.d.ts +418 -19
  184. package/dist-types/ts3.4/protocols/Aws_restXml.d.ts +21 -0
  185. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +2 -0
  186. package/dist-types/ts3.4/runtimeConfig.d.ts +2 -0
  187. package/dist-types/ts3.4/runtimeConfig.native.d.ts +2 -0
  188. package/package.json +24 -24
@@ -20,7 +20,7 @@ export interface DeleteCloudFrontOriginAccessIdentityCommandOutput extends __Met
20
20
  *
21
21
  * @see {@link DeleteCloudFrontOriginAccessIdentityCommandInput} for command's `input` shape.
22
22
  * @see {@link DeleteCloudFrontOriginAccessIdentityCommandOutput} for command's `response` shape.
23
- * @see {@link CloudFrontClientResolvedConfig | config} for command's `input` shape.
23
+ * @see {@link CloudFrontClientResolvedConfig | config} for CloudFrontClient's `config` shape.
24
24
  *
25
25
  */
26
26
  export declare class DeleteCloudFrontOriginAccessIdentityCommand extends $Command<DeleteCloudFrontOriginAccessIdentityCommandInput, DeleteCloudFrontOriginAccessIdentityCommandOutput, CloudFrontClientResolvedConfig> {
@@ -20,7 +20,7 @@ export interface DeleteDistributionCommandOutput extends __MetadataBearer {
20
20
  *
21
21
  * @see {@link DeleteDistributionCommandInput} for command's `input` shape.
22
22
  * @see {@link DeleteDistributionCommandOutput} for command's `response` shape.
23
- * @see {@link CloudFrontClientResolvedConfig | config} for command's `input` shape.
23
+ * @see {@link CloudFrontClientResolvedConfig | config} for CloudFrontClient's `config` shape.
24
24
  *
25
25
  */
26
26
  export declare class DeleteDistributionCommand extends $Command<DeleteDistributionCommandInput, DeleteDistributionCommandOutput, CloudFrontClientResolvedConfig> {
@@ -20,7 +20,7 @@ export interface DeleteFieldLevelEncryptionConfigCommandOutput extends __Metadat
20
20
  *
21
21
  * @see {@link DeleteFieldLevelEncryptionConfigCommandInput} for command's `input` shape.
22
22
  * @see {@link DeleteFieldLevelEncryptionConfigCommandOutput} for command's `response` shape.
23
- * @see {@link CloudFrontClientResolvedConfig | config} for command's `input` shape.
23
+ * @see {@link CloudFrontClientResolvedConfig | config} for CloudFrontClient's `config` shape.
24
24
  *
25
25
  */
26
26
  export declare class DeleteFieldLevelEncryptionConfigCommand extends $Command<DeleteFieldLevelEncryptionConfigCommandInput, DeleteFieldLevelEncryptionConfigCommandOutput, CloudFrontClientResolvedConfig> {
@@ -20,7 +20,7 @@ export interface DeleteFieldLevelEncryptionProfileCommandOutput extends __Metada
20
20
  *
21
21
  * @see {@link DeleteFieldLevelEncryptionProfileCommandInput} for command's `input` shape.
22
22
  * @see {@link DeleteFieldLevelEncryptionProfileCommandOutput} for command's `response` shape.
23
- * @see {@link CloudFrontClientResolvedConfig | config} for command's `input` shape.
23
+ * @see {@link CloudFrontClientResolvedConfig | config} for CloudFrontClient's `config` shape.
24
24
  *
25
25
  */
26
26
  export declare class DeleteFieldLevelEncryptionProfileCommand extends $Command<DeleteFieldLevelEncryptionProfileCommandInput, DeleteFieldLevelEncryptionProfileCommandOutput, CloudFrontClientResolvedConfig> {
@@ -26,7 +26,7 @@ export interface DeleteFunctionCommandOutput extends __MetadataBearer {
26
26
  *
27
27
  * @see {@link DeleteFunctionCommandInput} for command's `input` shape.
28
28
  * @see {@link DeleteFunctionCommandOutput} for command's `response` shape.
29
- * @see {@link CloudFrontClientResolvedConfig | config} for command's `input` shape.
29
+ * @see {@link CloudFrontClientResolvedConfig | config} for CloudFrontClient's `config` shape.
30
30
  *
31
31
  */
32
32
  export declare class DeleteFunctionCommand extends $Command<DeleteFunctionCommandInput, DeleteFunctionCommandOutput, CloudFrontClientResolvedConfig> {
@@ -26,7 +26,7 @@ export interface DeleteKeyGroupCommandOutput extends __MetadataBearer {
26
26
  *
27
27
  * @see {@link DeleteKeyGroupCommandInput} for command's `input` shape.
28
28
  * @see {@link DeleteKeyGroupCommandOutput} for command's `response` shape.
29
- * @see {@link CloudFrontClientResolvedConfig | config} for command's `input` shape.
29
+ * @see {@link CloudFrontClientResolvedConfig | config} for CloudFrontClient's `config` shape.
30
30
  *
31
31
  */
32
32
  export declare class DeleteKeyGroupCommand extends $Command<DeleteKeyGroupCommandInput, DeleteKeyGroupCommandOutput, CloudFrontClientResolvedConfig> {
@@ -1,7 +1,8 @@
1
1
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
2
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
3
  import { CloudFrontClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudFrontClient";
4
- import { DeleteMonitoringSubscriptionRequest, DeleteMonitoringSubscriptionResult } from "../models/models_0";
4
+ import { DeleteMonitoringSubscriptionRequest } from "../models/models_0";
5
+ import { DeleteMonitoringSubscriptionResult } from "../models/models_1";
5
6
  export interface DeleteMonitoringSubscriptionCommandInput extends DeleteMonitoringSubscriptionRequest {
6
7
  }
7
8
  export interface DeleteMonitoringSubscriptionCommandOutput extends DeleteMonitoringSubscriptionResult, __MetadataBearer {
@@ -20,7 +21,7 @@ export interface DeleteMonitoringSubscriptionCommandOutput extends DeleteMonitor
20
21
  *
21
22
  * @see {@link DeleteMonitoringSubscriptionCommandInput} for command's `input` shape.
22
23
  * @see {@link DeleteMonitoringSubscriptionCommandOutput} for command's `response` shape.
23
- * @see {@link CloudFrontClientResolvedConfig | config} for command's `input` shape.
24
+ * @see {@link CloudFrontClientResolvedConfig | config} for CloudFrontClient's `config` shape.
24
25
  *
25
26
  */
26
27
  export declare class DeleteMonitoringSubscriptionCommand extends $Command<DeleteMonitoringSubscriptionCommandInput, DeleteMonitoringSubscriptionCommandOutput, CloudFrontClientResolvedConfig> {
@@ -1,7 +1,7 @@
1
1
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
2
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
3
  import { CloudFrontClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudFrontClient";
4
- import { DeleteOriginRequestPolicyRequest } from "../models/models_0";
4
+ import { DeleteOriginRequestPolicyRequest } from "../models/models_1";
5
5
  export interface DeleteOriginRequestPolicyCommandInput extends DeleteOriginRequestPolicyRequest {
6
6
  }
7
7
  export interface DeleteOriginRequestPolicyCommandOutput extends __MetadataBearer {
@@ -26,7 +26,7 @@ export interface DeleteOriginRequestPolicyCommandOutput extends __MetadataBearer
26
26
  *
27
27
  * @see {@link DeleteOriginRequestPolicyCommandInput} for command's `input` shape.
28
28
  * @see {@link DeleteOriginRequestPolicyCommandOutput} for command's `response` shape.
29
- * @see {@link CloudFrontClientResolvedConfig | config} for command's `input` shape.
29
+ * @see {@link CloudFrontClientResolvedConfig | config} for CloudFrontClient's `config` shape.
30
30
  *
31
31
  */
32
32
  export declare class DeleteOriginRequestPolicyCommand extends $Command<DeleteOriginRequestPolicyCommandInput, DeleteOriginRequestPolicyCommandOutput, CloudFrontClientResolvedConfig> {
@@ -1,7 +1,7 @@
1
1
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
2
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
3
  import { CloudFrontClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudFrontClient";
4
- import { DeletePublicKeyRequest } from "../models/models_0";
4
+ import { DeletePublicKeyRequest } from "../models/models_1";
5
5
  export interface DeletePublicKeyCommandInput extends DeletePublicKeyRequest {
6
6
  }
7
7
  export interface DeletePublicKeyCommandOutput extends __MetadataBearer {
@@ -20,7 +20,7 @@ export interface DeletePublicKeyCommandOutput extends __MetadataBearer {
20
20
  *
21
21
  * @see {@link DeletePublicKeyCommandInput} for command's `input` shape.
22
22
  * @see {@link DeletePublicKeyCommandOutput} for command's `response` shape.
23
- * @see {@link CloudFrontClientResolvedConfig | config} for command's `input` shape.
23
+ * @see {@link CloudFrontClientResolvedConfig | config} for CloudFrontClient's `config` shape.
24
24
  *
25
25
  */
26
26
  export declare class DeletePublicKeyCommand extends $Command<DeletePublicKeyCommandInput, DeletePublicKeyCommandOutput, CloudFrontClientResolvedConfig> {
@@ -1,7 +1,7 @@
1
1
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
2
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
3
  import { CloudFrontClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudFrontClient";
4
- import { DeleteRealtimeLogConfigRequest } from "../models/models_0";
4
+ import { DeleteRealtimeLogConfigRequest } from "../models/models_1";
5
5
  export interface DeleteRealtimeLogConfigCommandInput extends DeleteRealtimeLogConfigRequest {
6
6
  }
7
7
  export interface DeleteRealtimeLogConfigCommandOutput extends __MetadataBearer {
@@ -26,7 +26,7 @@ export interface DeleteRealtimeLogConfigCommandOutput extends __MetadataBearer {
26
26
  *
27
27
  * @see {@link DeleteRealtimeLogConfigCommandInput} for command's `input` shape.
28
28
  * @see {@link DeleteRealtimeLogConfigCommandOutput} for command's `response` shape.
29
- * @see {@link CloudFrontClientResolvedConfig | config} for command's `input` shape.
29
+ * @see {@link CloudFrontClientResolvedConfig | config} for CloudFrontClient's `config` shape.
30
30
  *
31
31
  */
32
32
  export declare class DeleteRealtimeLogConfigCommand extends $Command<DeleteRealtimeLogConfigCommandInput, DeleteRealtimeLogConfigCommandOutput, CloudFrontClientResolvedConfig> {
@@ -0,0 +1,41 @@
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 { DeleteResponseHeadersPolicyRequest } from "../models/models_1";
5
+ export interface DeleteResponseHeadersPolicyCommandInput extends DeleteResponseHeadersPolicyRequest {
6
+ }
7
+ export interface DeleteResponseHeadersPolicyCommandOutput extends __MetadataBearer {
8
+ }
9
+ /**
10
+ * <p>Deletes a response headers policy.</p>
11
+ * <p>You cannot delete a response headers policy if it’s attached to a cache behavior.
12
+ * First update your distributions to remove the response headers policy from all cache
13
+ * behaviors, then delete the response headers policy.</p>
14
+ * <p>To delete a response headers policy, you must provide the policy’s identifier and
15
+ * version. To get these values, you can use <code>ListResponseHeadersPolicies</code> or
16
+ * <code>GetResponseHeadersPolicy</code>. </p>
17
+ * @example
18
+ * Use a bare-bones client and the command you need to make an API call.
19
+ * ```javascript
20
+ * import { CloudFrontClient, DeleteResponseHeadersPolicyCommand } from "@aws-sdk/client-cloudfront"; // ES Modules import
21
+ * // const { CloudFrontClient, DeleteResponseHeadersPolicyCommand } = require("@aws-sdk/client-cloudfront"); // CommonJS import
22
+ * const client = new CloudFrontClient(config);
23
+ * const command = new DeleteResponseHeadersPolicyCommand(input);
24
+ * const response = await client.send(command);
25
+ * ```
26
+ *
27
+ * @see {@link DeleteResponseHeadersPolicyCommandInput} for command's `input` shape.
28
+ * @see {@link DeleteResponseHeadersPolicyCommandOutput} for command's `response` shape.
29
+ * @see {@link CloudFrontClientResolvedConfig | config} for CloudFrontClient's `config` shape.
30
+ *
31
+ */
32
+ export declare class DeleteResponseHeadersPolicyCommand extends $Command<DeleteResponseHeadersPolicyCommandInput, DeleteResponseHeadersPolicyCommandOutput, CloudFrontClientResolvedConfig> {
33
+ readonly input: DeleteResponseHeadersPolicyCommandInput;
34
+ constructor(input: DeleteResponseHeadersPolicyCommandInput);
35
+ /**
36
+ * @internal
37
+ */
38
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CloudFrontClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteResponseHeadersPolicyCommandInput, DeleteResponseHeadersPolicyCommandOutput>;
39
+ private serialize;
40
+ private deserialize;
41
+ }
@@ -1,7 +1,7 @@
1
1
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
2
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
3
  import { CloudFrontClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudFrontClient";
4
- import { DeleteStreamingDistributionRequest } from "../models/models_0";
4
+ import { DeleteStreamingDistributionRequest } from "../models/models_1";
5
5
  export interface DeleteStreamingDistributionCommandInput extends DeleteStreamingDistributionRequest {
6
6
  }
7
7
  export interface DeleteStreamingDistributionCommandOutput extends __MetadataBearer {
@@ -67,7 +67,7 @@ export interface DeleteStreamingDistributionCommandOutput extends __MetadataBear
67
67
  *
68
68
  * @see {@link DeleteStreamingDistributionCommandInput} for command's `input` shape.
69
69
  * @see {@link DeleteStreamingDistributionCommandOutput} for command's `response` shape.
70
- * @see {@link CloudFrontClientResolvedConfig | config} for command's `input` shape.
70
+ * @see {@link CloudFrontClientResolvedConfig | config} for CloudFrontClient's `config` shape.
71
71
  *
72
72
  */
73
73
  export declare class DeleteStreamingDistributionCommand extends $Command<DeleteStreamingDistributionCommandInput, DeleteStreamingDistributionCommandOutput, CloudFrontClientResolvedConfig> {
@@ -1,7 +1,7 @@
1
1
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
2
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
3
  import { CloudFrontClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudFrontClient";
4
- import { DescribeFunctionRequest, DescribeFunctionResult } from "../models/models_0";
4
+ import { DescribeFunctionRequest, DescribeFunctionResult } from "../models/models_1";
5
5
  export interface DescribeFunctionCommandInput extends DescribeFunctionRequest {
6
6
  }
7
7
  export interface DescribeFunctionCommandOutput extends DescribeFunctionResult, __MetadataBearer {
@@ -24,7 +24,7 @@ export interface DescribeFunctionCommandOutput extends DescribeFunctionResult, _
24
24
  *
25
25
  * @see {@link DescribeFunctionCommandInput} for command's `input` shape.
26
26
  * @see {@link DescribeFunctionCommandOutput} for command's `response` shape.
27
- * @see {@link CloudFrontClientResolvedConfig | config} for command's `input` shape.
27
+ * @see {@link CloudFrontClientResolvedConfig | config} for CloudFrontClient's `config` shape.
28
28
  *
29
29
  */
30
30
  export declare class DescribeFunctionCommand extends $Command<DescribeFunctionCommandInput, DescribeFunctionCommandOutput, CloudFrontClientResolvedConfig> {
@@ -1,7 +1,7 @@
1
1
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
2
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
3
  import { CloudFrontClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudFrontClient";
4
- import { GetCachePolicyRequest, GetCachePolicyResult } from "../models/models_0";
4
+ import { GetCachePolicyRequest, GetCachePolicyResult } from "../models/models_1";
5
5
  export interface GetCachePolicyCommandInput extends GetCachePolicyRequest {
6
6
  }
7
7
  export interface GetCachePolicyCommandOutput extends GetCachePolicyResult, __MetadataBearer {
@@ -33,7 +33,7 @@ export interface GetCachePolicyCommandOutput extends GetCachePolicyResult, __Met
33
33
  *
34
34
  * @see {@link GetCachePolicyCommandInput} for command's `input` shape.
35
35
  * @see {@link GetCachePolicyCommandOutput} for command's `response` shape.
36
- * @see {@link CloudFrontClientResolvedConfig | config} for command's `input` shape.
36
+ * @see {@link CloudFrontClientResolvedConfig | config} for CloudFrontClient's `config` shape.
37
37
  *
38
38
  */
39
39
  export declare class GetCachePolicyCommand extends $Command<GetCachePolicyCommandInput, GetCachePolicyCommandOutput, CloudFrontClientResolvedConfig> {
@@ -1,7 +1,7 @@
1
1
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
2
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
3
  import { CloudFrontClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudFrontClient";
4
- import { GetCachePolicyConfigRequest, GetCachePolicyConfigResult } from "../models/models_0";
4
+ import { GetCachePolicyConfigRequest, GetCachePolicyConfigResult } from "../models/models_1";
5
5
  export interface GetCachePolicyConfigCommandInput extends GetCachePolicyConfigRequest {
6
6
  }
7
7
  export interface GetCachePolicyConfigCommandOutput extends GetCachePolicyConfigResult, __MetadataBearer {
@@ -25,7 +25,7 @@ export interface GetCachePolicyConfigCommandOutput extends GetCachePolicyConfigR
25
25
  *
26
26
  * @see {@link GetCachePolicyConfigCommandInput} for command's `input` shape.
27
27
  * @see {@link GetCachePolicyConfigCommandOutput} for command's `response` shape.
28
- * @see {@link CloudFrontClientResolvedConfig | config} for command's `input` shape.
28
+ * @see {@link CloudFrontClientResolvedConfig | config} for CloudFrontClient's `config` shape.
29
29
  *
30
30
  */
31
31
  export declare class GetCachePolicyConfigCommand extends $Command<GetCachePolicyConfigCommandInput, GetCachePolicyConfigCommandOutput, CloudFrontClientResolvedConfig> {
@@ -1,7 +1,7 @@
1
1
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
2
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
3
  import { CloudFrontClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudFrontClient";
4
- import { GetCloudFrontOriginAccessIdentityRequest, GetCloudFrontOriginAccessIdentityResult } from "../models/models_0";
4
+ import { GetCloudFrontOriginAccessIdentityRequest, GetCloudFrontOriginAccessIdentityResult } from "../models/models_1";
5
5
  export interface GetCloudFrontOriginAccessIdentityCommandInput extends GetCloudFrontOriginAccessIdentityRequest {
6
6
  }
7
7
  export interface GetCloudFrontOriginAccessIdentityCommandOutput extends GetCloudFrontOriginAccessIdentityResult, __MetadataBearer {
@@ -20,7 +20,7 @@ export interface GetCloudFrontOriginAccessIdentityCommandOutput extends GetCloud
20
20
  *
21
21
  * @see {@link GetCloudFrontOriginAccessIdentityCommandInput} for command's `input` shape.
22
22
  * @see {@link GetCloudFrontOriginAccessIdentityCommandOutput} for command's `response` shape.
23
- * @see {@link CloudFrontClientResolvedConfig | config} for command's `input` shape.
23
+ * @see {@link CloudFrontClientResolvedConfig | config} for CloudFrontClient's `config` shape.
24
24
  *
25
25
  */
26
26
  export declare class GetCloudFrontOriginAccessIdentityCommand extends $Command<GetCloudFrontOriginAccessIdentityCommandInput, GetCloudFrontOriginAccessIdentityCommandOutput, CloudFrontClientResolvedConfig> {
@@ -1,7 +1,7 @@
1
1
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
2
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
3
  import { CloudFrontClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudFrontClient";
4
- import { GetCloudFrontOriginAccessIdentityConfigRequest, GetCloudFrontOriginAccessIdentityConfigResult } from "../models/models_0";
4
+ import { GetCloudFrontOriginAccessIdentityConfigRequest, GetCloudFrontOriginAccessIdentityConfigResult } from "../models/models_1";
5
5
  export interface GetCloudFrontOriginAccessIdentityConfigCommandInput extends GetCloudFrontOriginAccessIdentityConfigRequest {
6
6
  }
7
7
  export interface GetCloudFrontOriginAccessIdentityConfigCommandOutput extends GetCloudFrontOriginAccessIdentityConfigResult, __MetadataBearer {
@@ -20,7 +20,7 @@ export interface GetCloudFrontOriginAccessIdentityConfigCommandOutput extends Ge
20
20
  *
21
21
  * @see {@link GetCloudFrontOriginAccessIdentityConfigCommandInput} for command's `input` shape.
22
22
  * @see {@link GetCloudFrontOriginAccessIdentityConfigCommandOutput} for command's `response` shape.
23
- * @see {@link CloudFrontClientResolvedConfig | config} for command's `input` shape.
23
+ * @see {@link CloudFrontClientResolvedConfig | config} for CloudFrontClient's `config` shape.
24
24
  *
25
25
  */
26
26
  export declare class GetCloudFrontOriginAccessIdentityConfigCommand extends $Command<GetCloudFrontOriginAccessIdentityConfigCommandInput, GetCloudFrontOriginAccessIdentityConfigCommandOutput, CloudFrontClientResolvedConfig> {
@@ -1,7 +1,7 @@
1
1
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
2
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
3
  import { CloudFrontClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudFrontClient";
4
- import { GetDistributionRequest, GetDistributionResult } from "../models/models_0";
4
+ import { GetDistributionRequest, GetDistributionResult } from "../models/models_1";
5
5
  export interface GetDistributionCommandInput extends GetDistributionRequest {
6
6
  }
7
7
  export interface GetDistributionCommandOutput extends GetDistributionResult, __MetadataBearer {
@@ -20,7 +20,7 @@ export interface GetDistributionCommandOutput extends GetDistributionResult, __M
20
20
  *
21
21
  * @see {@link GetDistributionCommandInput} for command's `input` shape.
22
22
  * @see {@link GetDistributionCommandOutput} for command's `response` shape.
23
- * @see {@link CloudFrontClientResolvedConfig | config} for command's `input` shape.
23
+ * @see {@link CloudFrontClientResolvedConfig | config} for CloudFrontClient's `config` shape.
24
24
  *
25
25
  */
26
26
  export declare class GetDistributionCommand extends $Command<GetDistributionCommandInput, GetDistributionCommandOutput, CloudFrontClientResolvedConfig> {
@@ -1,7 +1,7 @@
1
1
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
2
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
3
  import { CloudFrontClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudFrontClient";
4
- import { GetDistributionConfigRequest, GetDistributionConfigResult } from "../models/models_0";
4
+ import { GetDistributionConfigRequest, GetDistributionConfigResult } from "../models/models_1";
5
5
  export interface GetDistributionConfigCommandInput extends GetDistributionConfigRequest {
6
6
  }
7
7
  export interface GetDistributionConfigCommandOutput extends GetDistributionConfigResult, __MetadataBearer {
@@ -20,7 +20,7 @@ export interface GetDistributionConfigCommandOutput extends GetDistributionConfi
20
20
  *
21
21
  * @see {@link GetDistributionConfigCommandInput} for command's `input` shape.
22
22
  * @see {@link GetDistributionConfigCommandOutput} for command's `response` shape.
23
- * @see {@link CloudFrontClientResolvedConfig | config} for command's `input` shape.
23
+ * @see {@link CloudFrontClientResolvedConfig | config} for CloudFrontClient's `config` shape.
24
24
  *
25
25
  */
26
26
  export declare class GetDistributionConfigCommand extends $Command<GetDistributionConfigCommandInput, GetDistributionConfigCommandOutput, CloudFrontClientResolvedConfig> {
@@ -1,7 +1,7 @@
1
1
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
2
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
3
  import { CloudFrontClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudFrontClient";
4
- import { GetFieldLevelEncryptionRequest, GetFieldLevelEncryptionResult } from "../models/models_0";
4
+ import { GetFieldLevelEncryptionRequest, GetFieldLevelEncryptionResult } from "../models/models_1";
5
5
  export interface GetFieldLevelEncryptionCommandInput extends GetFieldLevelEncryptionRequest {
6
6
  }
7
7
  export interface GetFieldLevelEncryptionCommandOutput extends GetFieldLevelEncryptionResult, __MetadataBearer {
@@ -20,7 +20,7 @@ export interface GetFieldLevelEncryptionCommandOutput extends GetFieldLevelEncry
20
20
  *
21
21
  * @see {@link GetFieldLevelEncryptionCommandInput} for command's `input` shape.
22
22
  * @see {@link GetFieldLevelEncryptionCommandOutput} for command's `response` shape.
23
- * @see {@link CloudFrontClientResolvedConfig | config} for command's `input` shape.
23
+ * @see {@link CloudFrontClientResolvedConfig | config} for CloudFrontClient's `config` shape.
24
24
  *
25
25
  */
26
26
  export declare class GetFieldLevelEncryptionCommand extends $Command<GetFieldLevelEncryptionCommandInput, GetFieldLevelEncryptionCommandOutput, CloudFrontClientResolvedConfig> {
@@ -20,7 +20,7 @@ export interface GetFieldLevelEncryptionConfigCommandOutput extends GetFieldLeve
20
20
  *
21
21
  * @see {@link GetFieldLevelEncryptionConfigCommandInput} for command's `input` shape.
22
22
  * @see {@link GetFieldLevelEncryptionConfigCommandOutput} for command's `response` shape.
23
- * @see {@link CloudFrontClientResolvedConfig | config} for command's `input` shape.
23
+ * @see {@link CloudFrontClientResolvedConfig | config} for CloudFrontClient's `config` shape.
24
24
  *
25
25
  */
26
26
  export declare class GetFieldLevelEncryptionConfigCommand extends $Command<GetFieldLevelEncryptionConfigCommandInput, GetFieldLevelEncryptionConfigCommandOutput, CloudFrontClientResolvedConfig> {
@@ -20,7 +20,7 @@ export interface GetFieldLevelEncryptionProfileCommandOutput extends GetFieldLev
20
20
  *
21
21
  * @see {@link GetFieldLevelEncryptionProfileCommandInput} for command's `input` shape.
22
22
  * @see {@link GetFieldLevelEncryptionProfileCommandOutput} for command's `response` shape.
23
- * @see {@link CloudFrontClientResolvedConfig | config} for command's `input` shape.
23
+ * @see {@link CloudFrontClientResolvedConfig | config} for CloudFrontClient's `config` shape.
24
24
  *
25
25
  */
26
26
  export declare class GetFieldLevelEncryptionProfileCommand extends $Command<GetFieldLevelEncryptionProfileCommandInput, GetFieldLevelEncryptionProfileCommandOutput, CloudFrontClientResolvedConfig> {
@@ -20,7 +20,7 @@ export interface GetFieldLevelEncryptionProfileConfigCommandOutput extends GetFi
20
20
  *
21
21
  * @see {@link GetFieldLevelEncryptionProfileConfigCommandInput} for command's `input` shape.
22
22
  * @see {@link GetFieldLevelEncryptionProfileConfigCommandOutput} for command's `response` shape.
23
- * @see {@link CloudFrontClientResolvedConfig | config} for command's `input` shape.
23
+ * @see {@link CloudFrontClientResolvedConfig | config} for CloudFrontClient's `config` shape.
24
24
  *
25
25
  */
26
26
  export declare class GetFieldLevelEncryptionProfileConfigCommand extends $Command<GetFieldLevelEncryptionProfileConfigCommandInput, GetFieldLevelEncryptionProfileConfigCommandOutput, CloudFrontClientResolvedConfig> {
@@ -23,7 +23,7 @@ export interface GetFunctionCommandOutput extends GetFunctionResult, __MetadataB
23
23
  *
24
24
  * @see {@link GetFunctionCommandInput} for command's `input` shape.
25
25
  * @see {@link GetFunctionCommandOutput} for command's `response` shape.
26
- * @see {@link CloudFrontClientResolvedConfig | config} for command's `input` shape.
26
+ * @see {@link CloudFrontClientResolvedConfig | config} for CloudFrontClient's `config` shape.
27
27
  *
28
28
  */
29
29
  export declare class GetFunctionCommand extends $Command<GetFunctionCommandInput, GetFunctionCommandOutput, CloudFrontClientResolvedConfig> {
@@ -20,7 +20,7 @@ export interface GetInvalidationCommandOutput extends GetInvalidationResult, __M
20
20
  *
21
21
  * @see {@link GetInvalidationCommandInput} for command's `input` shape.
22
22
  * @see {@link GetInvalidationCommandOutput} for command's `response` shape.
23
- * @see {@link CloudFrontClientResolvedConfig | config} for command's `input` shape.
23
+ * @see {@link CloudFrontClientResolvedConfig | config} for CloudFrontClient's `config` shape.
24
24
  *
25
25
  */
26
26
  export declare class GetInvalidationCommand extends $Command<GetInvalidationCommandInput, GetInvalidationCommandOutput, CloudFrontClientResolvedConfig> {
@@ -25,7 +25,7 @@ export interface GetKeyGroupCommandOutput extends GetKeyGroupResult, __MetadataB
25
25
  *
26
26
  * @see {@link GetKeyGroupCommandInput} for command's `input` shape.
27
27
  * @see {@link GetKeyGroupCommandOutput} for command's `response` shape.
28
- * @see {@link CloudFrontClientResolvedConfig | config} for command's `input` shape.
28
+ * @see {@link CloudFrontClientResolvedConfig | config} for CloudFrontClient's `config` shape.
29
29
  *
30
30
  */
31
31
  export declare class GetKeyGroupCommand extends $Command<GetKeyGroupCommandInput, GetKeyGroupCommandOutput, CloudFrontClientResolvedConfig> {
@@ -25,7 +25,7 @@ export interface GetKeyGroupConfigCommandOutput extends GetKeyGroupConfigResult,
25
25
  *
26
26
  * @see {@link GetKeyGroupConfigCommandInput} for command's `input` shape.
27
27
  * @see {@link GetKeyGroupConfigCommandOutput} for command's `response` shape.
28
- * @see {@link CloudFrontClientResolvedConfig | config} for command's `input` shape.
28
+ * @see {@link CloudFrontClientResolvedConfig | config} for CloudFrontClient's `config` shape.
29
29
  *
30
30
  */
31
31
  export declare class GetKeyGroupConfigCommand extends $Command<GetKeyGroupConfigCommandInput, GetKeyGroupConfigCommandOutput, CloudFrontClientResolvedConfig> {
@@ -21,7 +21,7 @@ export interface GetMonitoringSubscriptionCommandOutput extends GetMonitoringSub
21
21
  *
22
22
  * @see {@link GetMonitoringSubscriptionCommandInput} for command's `input` shape.
23
23
  * @see {@link GetMonitoringSubscriptionCommandOutput} for command's `response` shape.
24
- * @see {@link CloudFrontClientResolvedConfig | config} for command's `input` shape.
24
+ * @see {@link CloudFrontClientResolvedConfig | config} for CloudFrontClient's `config` shape.
25
25
  *
26
26
  */
27
27
  export declare class GetMonitoringSubscriptionCommand extends $Command<GetMonitoringSubscriptionCommandInput, GetMonitoringSubscriptionCommandOutput, CloudFrontClientResolvedConfig> {
@@ -33,7 +33,7 @@ export interface GetOriginRequestPolicyCommandOutput extends GetOriginRequestPol
33
33
  *
34
34
  * @see {@link GetOriginRequestPolicyCommandInput} for command's `input` shape.
35
35
  * @see {@link GetOriginRequestPolicyCommandOutput} for command's `response` shape.
36
- * @see {@link CloudFrontClientResolvedConfig | config} for command's `input` shape.
36
+ * @see {@link CloudFrontClientResolvedConfig | config} for CloudFrontClient's `config` shape.
37
37
  *
38
38
  */
39
39
  export declare class GetOriginRequestPolicyCommand extends $Command<GetOriginRequestPolicyCommandInput, GetOriginRequestPolicyCommandOutput, CloudFrontClientResolvedConfig> {
@@ -26,7 +26,7 @@ export interface GetOriginRequestPolicyConfigCommandOutput extends GetOriginRequ
26
26
  *
27
27
  * @see {@link GetOriginRequestPolicyConfigCommandInput} for command's `input` shape.
28
28
  * @see {@link GetOriginRequestPolicyConfigCommandOutput} for command's `response` shape.
29
- * @see {@link CloudFrontClientResolvedConfig | config} for command's `input` shape.
29
+ * @see {@link CloudFrontClientResolvedConfig | config} for CloudFrontClient's `config` shape.
30
30
  *
31
31
  */
32
32
  export declare class GetOriginRequestPolicyConfigCommand extends $Command<GetOriginRequestPolicyConfigCommandInput, GetOriginRequestPolicyConfigCommandOutput, CloudFrontClientResolvedConfig> {
@@ -20,7 +20,7 @@ export interface GetPublicKeyCommandOutput extends GetPublicKeyResult, __Metadat
20
20
  *
21
21
  * @see {@link GetPublicKeyCommandInput} for command's `input` shape.
22
22
  * @see {@link GetPublicKeyCommandOutput} for command's `response` shape.
23
- * @see {@link CloudFrontClientResolvedConfig | config} for command's `input` shape.
23
+ * @see {@link CloudFrontClientResolvedConfig | config} for CloudFrontClient's `config` shape.
24
24
  *
25
25
  */
26
26
  export declare class GetPublicKeyCommand extends $Command<GetPublicKeyCommandInput, GetPublicKeyCommandOutput, CloudFrontClientResolvedConfig> {
@@ -20,7 +20,7 @@ export interface GetPublicKeyConfigCommandOutput extends GetPublicKeyConfigResul
20
20
  *
21
21
  * @see {@link GetPublicKeyConfigCommandInput} for command's `input` shape.
22
22
  * @see {@link GetPublicKeyConfigCommandOutput} for command's `response` shape.
23
- * @see {@link CloudFrontClientResolvedConfig | config} for command's `input` shape.
23
+ * @see {@link CloudFrontClientResolvedConfig | config} for CloudFrontClient's `config` shape.
24
24
  *
25
25
  */
26
26
  export declare class GetPublicKeyConfigCommand extends $Command<GetPublicKeyConfigCommandInput, GetPublicKeyConfigCommandOutput, CloudFrontClientResolvedConfig> {
@@ -23,7 +23,7 @@ export interface GetRealtimeLogConfigCommandOutput extends GetRealtimeLogConfigR
23
23
  *
24
24
  * @see {@link GetRealtimeLogConfigCommandInput} for command's `input` shape.
25
25
  * @see {@link GetRealtimeLogConfigCommandOutput} for command's `response` shape.
26
- * @see {@link CloudFrontClientResolvedConfig | config} for command's `input` shape.
26
+ * @see {@link CloudFrontClientResolvedConfig | config} for CloudFrontClient's `config` shape.
27
27
  *
28
28
  */
29
29
  export declare class GetRealtimeLogConfigCommand extends $Command<GetRealtimeLogConfigCommandInput, GetRealtimeLogConfigCommandOutput, CloudFrontClientResolvedConfig> {
@@ -0,0 +1,42 @@
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 { GetResponseHeadersPolicyRequest, GetResponseHeadersPolicyResult } from "../models/models_1";
5
+ export interface GetResponseHeadersPolicyCommandInput extends GetResponseHeadersPolicyRequest {
6
+ }
7
+ export interface GetResponseHeadersPolicyCommandOutput extends GetResponseHeadersPolicyResult, __MetadataBearer {
8
+ }
9
+ /**
10
+ * <p>Gets a response headers policy, including metadata (the policy’s identifier and the date and
11
+ * time when the policy was last modified).</p>
12
+ * <p>To get a response headers policy, you must provide the policy’s identifier. If the
13
+ * response headers policy is attached to a distribution’s cache behavior, you can get the
14
+ * policy’s identifier using <code>ListDistributions</code> or
15
+ * <code>GetDistribution</code>. If the response headers policy is not attached to a cache
16
+ * behavior, you can get the identifier using
17
+ * <code>ListResponseHeadersPolicies</code>.</p>
18
+ * @example
19
+ * Use a bare-bones client and the command you need to make an API call.
20
+ * ```javascript
21
+ * import { CloudFrontClient, GetResponseHeadersPolicyCommand } from "@aws-sdk/client-cloudfront"; // ES Modules import
22
+ * // const { CloudFrontClient, GetResponseHeadersPolicyCommand } = require("@aws-sdk/client-cloudfront"); // CommonJS import
23
+ * const client = new CloudFrontClient(config);
24
+ * const command = new GetResponseHeadersPolicyCommand(input);
25
+ * const response = await client.send(command);
26
+ * ```
27
+ *
28
+ * @see {@link GetResponseHeadersPolicyCommandInput} for command's `input` shape.
29
+ * @see {@link GetResponseHeadersPolicyCommandOutput} for command's `response` shape.
30
+ * @see {@link CloudFrontClientResolvedConfig | config} for CloudFrontClient's `config` shape.
31
+ *
32
+ */
33
+ export declare class GetResponseHeadersPolicyCommand extends $Command<GetResponseHeadersPolicyCommandInput, GetResponseHeadersPolicyCommandOutput, CloudFrontClientResolvedConfig> {
34
+ readonly input: GetResponseHeadersPolicyCommandInput;
35
+ constructor(input: GetResponseHeadersPolicyCommandInput);
36
+ /**
37
+ * @internal
38
+ */
39
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CloudFrontClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetResponseHeadersPolicyCommandInput, GetResponseHeadersPolicyCommandOutput>;
40
+ private serialize;
41
+ private deserialize;
42
+ }
@@ -0,0 +1,41 @@
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 { GetResponseHeadersPolicyConfigRequest, GetResponseHeadersPolicyConfigResult } from "../models/models_1";
5
+ export interface GetResponseHeadersPolicyConfigCommandInput extends GetResponseHeadersPolicyConfigRequest {
6
+ }
7
+ export interface GetResponseHeadersPolicyConfigCommandOutput extends GetResponseHeadersPolicyConfigResult, __MetadataBearer {
8
+ }
9
+ /**
10
+ * <p>Gets a response headers policy configuration.</p>
11
+ * <p>To get a response headers policy configuration, you must provide the policy’s
12
+ * identifier. If the response headers policy is attached to a distribution’s cache
13
+ * behavior, you can get the policy’s identifier using <code>ListDistributions</code> or
14
+ * <code>GetDistribution</code>. If the response headers policy is not attached to a
15
+ * cache behavior, you can get the identifier using
16
+ * <code>ListResponseHeadersPolicies</code>.</p>
17
+ * @example
18
+ * Use a bare-bones client and the command you need to make an API call.
19
+ * ```javascript
20
+ * import { CloudFrontClient, GetResponseHeadersPolicyConfigCommand } from "@aws-sdk/client-cloudfront"; // ES Modules import
21
+ * // const { CloudFrontClient, GetResponseHeadersPolicyConfigCommand } = require("@aws-sdk/client-cloudfront"); // CommonJS import
22
+ * const client = new CloudFrontClient(config);
23
+ * const command = new GetResponseHeadersPolicyConfigCommand(input);
24
+ * const response = await client.send(command);
25
+ * ```
26
+ *
27
+ * @see {@link GetResponseHeadersPolicyConfigCommandInput} for command's `input` shape.
28
+ * @see {@link GetResponseHeadersPolicyConfigCommandOutput} for command's `response` shape.
29
+ * @see {@link CloudFrontClientResolvedConfig | config} for CloudFrontClient's `config` shape.
30
+ *
31
+ */
32
+ export declare class GetResponseHeadersPolicyConfigCommand extends $Command<GetResponseHeadersPolicyConfigCommandInput, GetResponseHeadersPolicyConfigCommandOutput, CloudFrontClientResolvedConfig> {
33
+ readonly input: GetResponseHeadersPolicyConfigCommandInput;
34
+ constructor(input: GetResponseHeadersPolicyConfigCommandInput);
35
+ /**
36
+ * @internal
37
+ */
38
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CloudFrontClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetResponseHeadersPolicyConfigCommandInput, GetResponseHeadersPolicyConfigCommandOutput>;
39
+ private serialize;
40
+ private deserialize;
41
+ }
@@ -20,7 +20,7 @@ export interface GetStreamingDistributionCommandOutput extends GetStreamingDistr
20
20
  *
21
21
  * @see {@link GetStreamingDistributionCommandInput} for command's `input` shape.
22
22
  * @see {@link GetStreamingDistributionCommandOutput} for command's `response` shape.
23
- * @see {@link CloudFrontClientResolvedConfig | config} for command's `input` shape.
23
+ * @see {@link CloudFrontClientResolvedConfig | config} for CloudFrontClient's `config` shape.
24
24
  *
25
25
  */
26
26
  export declare class GetStreamingDistributionCommand extends $Command<GetStreamingDistributionCommandInput, GetStreamingDistributionCommandOutput, CloudFrontClientResolvedConfig> {
@@ -20,7 +20,7 @@ export interface GetStreamingDistributionConfigCommandOutput extends GetStreamin
20
20
  *
21
21
  * @see {@link GetStreamingDistributionConfigCommandInput} for command's `input` shape.
22
22
  * @see {@link GetStreamingDistributionConfigCommandOutput} for command's `response` shape.
23
- * @see {@link CloudFrontClientResolvedConfig | config} for command's `input` shape.
23
+ * @see {@link CloudFrontClientResolvedConfig | config} for CloudFrontClient's `config` shape.
24
24
  *
25
25
  */
26
26
  export declare class GetStreamingDistributionConfigCommand extends $Command<GetStreamingDistributionConfigCommandInput, GetStreamingDistributionConfigCommandOutput, CloudFrontClientResolvedConfig> {