@aws-sdk/client-cloudfront 3.38.0 → 3.42.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 +91 -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 +91 -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 +26 -26
@@ -9,7 +9,7 @@ export interface ListCachePoliciesCommandOutput extends ListCachePoliciesResult,
9
9
  /**
10
10
  * <p>Gets a list of cache policies.</p>
11
11
  * <p>You can optionally apply a filter to return only the managed policies created by Amazon Web Services, or
12
- * only the custom policies created in your account.</p>
12
+ * only the custom policies created in your Amazon Web Services account.</p>
13
13
  * <p>You can optionally specify the maximum number of items to receive in the response. If
14
14
  * the total number of items in the list exceeds the maximum that you specify, or the
15
15
  * default maximum, the response is paginated. To get the next page of items, send a
@@ -27,7 +27,7 @@ export interface ListCachePoliciesCommandOutput extends ListCachePoliciesResult,
27
27
  *
28
28
  * @see {@link ListCachePoliciesCommandInput} for command's `input` shape.
29
29
  * @see {@link ListCachePoliciesCommandOutput} for command's `response` shape.
30
- * @see {@link CloudFrontClientResolvedConfig | config} for command's `input` shape.
30
+ * @see {@link CloudFrontClientResolvedConfig | config} for CloudFrontClient's `config` shape.
31
31
  *
32
32
  */
33
33
  export declare class ListCachePoliciesCommand extends $Command<ListCachePoliciesCommandInput, ListCachePoliciesCommandOutput, CloudFrontClientResolvedConfig> {
@@ -20,7 +20,7 @@ export interface ListCloudFrontOriginAccessIdentitiesCommandOutput extends ListC
20
20
  *
21
21
  * @see {@link ListCloudFrontOriginAccessIdentitiesCommandInput} for command's `input` shape.
22
22
  * @see {@link ListCloudFrontOriginAccessIdentitiesCommandOutput} 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 ListCloudFrontOriginAccessIdentitiesCommand extends $Command<ListCloudFrontOriginAccessIdentitiesCommandInput, ListCloudFrontOriginAccessIdentitiesCommandOutput, CloudFrontClientResolvedConfig> {
@@ -42,7 +42,7 @@ export interface ListConflictingAliasesCommandOutput extends ListConflictingAlia
42
42
  *
43
43
  * @see {@link ListConflictingAliasesCommandInput} for command's `input` shape.
44
44
  * @see {@link ListConflictingAliasesCommandOutput} for command's `response` shape.
45
- * @see {@link CloudFrontClientResolvedConfig | config} for command's `input` shape.
45
+ * @see {@link CloudFrontClientResolvedConfig | config} for CloudFrontClient's `config` shape.
46
46
  *
47
47
  */
48
48
  export declare class ListConflictingAliasesCommand extends $Command<ListConflictingAliasesCommandInput, ListConflictingAliasesCommandOutput, CloudFrontClientResolvedConfig> {
@@ -26,7 +26,7 @@ export interface ListDistributionsByCachePolicyIdCommandOutput extends ListDistr
26
26
  *
27
27
  * @see {@link ListDistributionsByCachePolicyIdCommandInput} for command's `input` shape.
28
28
  * @see {@link ListDistributionsByCachePolicyIdCommandOutput} 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 ListDistributionsByCachePolicyIdCommand extends $Command<ListDistributionsByCachePolicyIdCommandInput, ListDistributionsByCachePolicyIdCommandOutput, CloudFrontClientResolvedConfig> {
@@ -26,7 +26,7 @@ export interface ListDistributionsByKeyGroupCommandOutput extends ListDistributi
26
26
  *
27
27
  * @see {@link ListDistributionsByKeyGroupCommandInput} for command's `input` shape.
28
28
  * @see {@link ListDistributionsByKeyGroupCommandOutput} 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 ListDistributionsByKeyGroupCommand extends $Command<ListDistributionsByKeyGroupCommandInput, ListDistributionsByKeyGroupCommandOutput, CloudFrontClientResolvedConfig> {
@@ -26,7 +26,7 @@ export interface ListDistributionsByOriginRequestPolicyIdCommandOutput extends L
26
26
  *
27
27
  * @see {@link ListDistributionsByOriginRequestPolicyIdCommandInput} for command's `input` shape.
28
28
  * @see {@link ListDistributionsByOriginRequestPolicyIdCommandOutput} 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 ListDistributionsByOriginRequestPolicyIdCommand extends $Command<ListDistributionsByOriginRequestPolicyIdCommandInput, ListDistributionsByOriginRequestPolicyIdCommandOutput, CloudFrontClientResolvedConfig> {
@@ -29,7 +29,7 @@ export interface ListDistributionsByRealtimeLogConfigCommandOutput extends ListD
29
29
  *
30
30
  * @see {@link ListDistributionsByRealtimeLogConfigCommandInput} for command's `input` shape.
31
31
  * @see {@link ListDistributionsByRealtimeLogConfigCommandOutput} for command's `response` shape.
32
- * @see {@link CloudFrontClientResolvedConfig | config} for command's `input` shape.
32
+ * @see {@link CloudFrontClientResolvedConfig | config} for CloudFrontClient's `config` shape.
33
33
  *
34
34
  */
35
35
  export declare class ListDistributionsByRealtimeLogConfigCommand extends $Command<ListDistributionsByRealtimeLogConfigCommandInput, ListDistributionsByRealtimeLogConfigCommandOutput, 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 { ListDistributionsByResponseHeadersPolicyIdRequest, ListDistributionsByResponseHeadersPolicyIdResult } from "../models/models_1";
5
+ export interface ListDistributionsByResponseHeadersPolicyIdCommandInput extends ListDistributionsByResponseHeadersPolicyIdRequest {
6
+ }
7
+ export interface ListDistributionsByResponseHeadersPolicyIdCommandOutput extends ListDistributionsByResponseHeadersPolicyIdResult, __MetadataBearer {
8
+ }
9
+ /**
10
+ * <p>Gets a list of distribution IDs for distributions that have a cache behavior that’s
11
+ * associated with the specified response headers policy.</p>
12
+ * <p>You can optionally specify the maximum number of items to receive in the response. If
13
+ * the total number of items in the list exceeds the maximum that you specify, or the
14
+ * default maximum, the response is paginated. To get the next page of items, send a
15
+ * subsequent request that specifies the <code>NextMarker</code> value from the current
16
+ * response as the <code>Marker</code> value in the subsequent request.</p>
17
+ * @example
18
+ * Use a bare-bones client and the command you need to make an API call.
19
+ * ```javascript
20
+ * import { CloudFrontClient, ListDistributionsByResponseHeadersPolicyIdCommand } from "@aws-sdk/client-cloudfront"; // ES Modules import
21
+ * // const { CloudFrontClient, ListDistributionsByResponseHeadersPolicyIdCommand } = require("@aws-sdk/client-cloudfront"); // CommonJS import
22
+ * const client = new CloudFrontClient(config);
23
+ * const command = new ListDistributionsByResponseHeadersPolicyIdCommand(input);
24
+ * const response = await client.send(command);
25
+ * ```
26
+ *
27
+ * @see {@link ListDistributionsByResponseHeadersPolicyIdCommandInput} for command's `input` shape.
28
+ * @see {@link ListDistributionsByResponseHeadersPolicyIdCommandOutput} for command's `response` shape.
29
+ * @see {@link CloudFrontClientResolvedConfig | config} for CloudFrontClient's `config` shape.
30
+ *
31
+ */
32
+ export declare class ListDistributionsByResponseHeadersPolicyIdCommand extends $Command<ListDistributionsByResponseHeadersPolicyIdCommandInput, ListDistributionsByResponseHeadersPolicyIdCommandOutput, CloudFrontClientResolvedConfig> {
33
+ readonly input: ListDistributionsByResponseHeadersPolicyIdCommandInput;
34
+ constructor(input: ListDistributionsByResponseHeadersPolicyIdCommandInput);
35
+ /**
36
+ * @internal
37
+ */
38
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CloudFrontClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListDistributionsByResponseHeadersPolicyIdCommandInput, ListDistributionsByResponseHeadersPolicyIdCommandOutput>;
39
+ private serialize;
40
+ private deserialize;
41
+ }
@@ -20,7 +20,7 @@ export interface ListDistributionsByWebACLIdCommandOutput extends ListDistributi
20
20
  *
21
21
  * @see {@link ListDistributionsByWebACLIdCommandInput} for command's `input` shape.
22
22
  * @see {@link ListDistributionsByWebACLIdCommandOutput} 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 ListDistributionsByWebACLIdCommand extends $Command<ListDistributionsByWebACLIdCommandInput, ListDistributionsByWebACLIdCommandOutput, CloudFrontClientResolvedConfig> {
@@ -20,7 +20,7 @@ export interface ListDistributionsCommandOutput extends ListDistributionsResult,
20
20
  *
21
21
  * @see {@link ListDistributionsCommandInput} for command's `input` shape.
22
22
  * @see {@link ListDistributionsCommandOutput} 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 ListDistributionsCommand extends $Command<ListDistributionsCommandInput, ListDistributionsCommandOutput, CloudFrontClientResolvedConfig> {
@@ -20,7 +20,7 @@ export interface ListFieldLevelEncryptionConfigsCommandOutput extends ListFieldL
20
20
  *
21
21
  * @see {@link ListFieldLevelEncryptionConfigsCommandInput} for command's `input` shape.
22
22
  * @see {@link ListFieldLevelEncryptionConfigsCommandOutput} 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 ListFieldLevelEncryptionConfigsCommand extends $Command<ListFieldLevelEncryptionConfigsCommandInput, ListFieldLevelEncryptionConfigsCommandOutput, CloudFrontClientResolvedConfig> {
@@ -20,7 +20,7 @@ export interface ListFieldLevelEncryptionProfilesCommandOutput extends ListField
20
20
  *
21
21
  * @see {@link ListFieldLevelEncryptionProfilesCommandInput} for command's `input` shape.
22
22
  * @see {@link ListFieldLevelEncryptionProfilesCommandOutput} 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 ListFieldLevelEncryptionProfilesCommand extends $Command<ListFieldLevelEncryptionProfilesCommandInput, ListFieldLevelEncryptionProfilesCommandOutput, CloudFrontClientResolvedConfig> {
@@ -7,7 +7,7 @@ export interface ListFunctionsCommandInput extends ListFunctionsRequest {
7
7
  export interface ListFunctionsCommandOutput extends ListFunctionsResult, __MetadataBearer {
8
8
  }
9
9
  /**
10
- * <p>Gets a list of all CloudFront functions in your account.</p>
10
+ * <p>Gets a list of all CloudFront functions in your Amazon Web Services account.</p>
11
11
  * <p>You can optionally apply a filter to return only the functions that are in the
12
12
  * specified stage, either <code>DEVELOPMENT</code> or <code>LIVE</code>.</p>
13
13
  * <p>You can optionally specify the maximum number of items to receive in the response. If
@@ -27,7 +27,7 @@ export interface ListFunctionsCommandOutput extends ListFunctionsResult, __Metad
27
27
  *
28
28
  * @see {@link ListFunctionsCommandInput} for command's `input` shape.
29
29
  * @see {@link ListFunctionsCommandOutput} for command's `response` shape.
30
- * @see {@link CloudFrontClientResolvedConfig | config} for command's `input` shape.
30
+ * @see {@link CloudFrontClientResolvedConfig | config} for CloudFrontClient's `config` shape.
31
31
  *
32
32
  */
33
33
  export declare class ListFunctionsCommand extends $Command<ListFunctionsCommandInput, ListFunctionsCommandOutput, CloudFrontClientResolvedConfig> {
@@ -20,7 +20,7 @@ export interface ListInvalidationsCommandOutput extends ListInvalidationsResult,
20
20
  *
21
21
  * @see {@link ListInvalidationsCommandInput} for command's `input` shape.
22
22
  * @see {@link ListInvalidationsCommandOutput} 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 ListInvalidationsCommand extends $Command<ListInvalidationsCommandInput, ListInvalidationsCommandOutput, CloudFrontClientResolvedConfig> {
@@ -25,7 +25,7 @@ export interface ListKeyGroupsCommandOutput extends ListKeyGroupsResult, __Metad
25
25
  *
26
26
  * @see {@link ListKeyGroupsCommandInput} for command's `input` shape.
27
27
  * @see {@link ListKeyGroupsCommandOutput} 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 ListKeyGroupsCommand extends $Command<ListKeyGroupsCommandInput, ListKeyGroupsCommandOutput, CloudFrontClientResolvedConfig> {
@@ -9,7 +9,7 @@ export interface ListOriginRequestPoliciesCommandOutput extends ListOriginReques
9
9
  /**
10
10
  * <p>Gets a list of origin request policies.</p>
11
11
  * <p>You can optionally apply a filter to return only the managed policies created by Amazon Web Services, or
12
- * only the custom policies created in your account.</p>
12
+ * only the custom policies created in your Amazon Web Services account.</p>
13
13
  * <p>You can optionally specify the maximum number of items to receive in the response. If
14
14
  * the total number of items in the list exceeds the maximum that you specify, or the
15
15
  * default maximum, the response is paginated. To get the next page of items, send a
@@ -27,7 +27,7 @@ export interface ListOriginRequestPoliciesCommandOutput extends ListOriginReques
27
27
  *
28
28
  * @see {@link ListOriginRequestPoliciesCommandInput} for command's `input` shape.
29
29
  * @see {@link ListOriginRequestPoliciesCommandOutput} for command's `response` shape.
30
- * @see {@link CloudFrontClientResolvedConfig | config} for command's `input` shape.
30
+ * @see {@link CloudFrontClientResolvedConfig | config} for CloudFrontClient's `config` shape.
31
31
  *
32
32
  */
33
33
  export declare class ListOriginRequestPoliciesCommand extends $Command<ListOriginRequestPoliciesCommandInput, ListOriginRequestPoliciesCommandOutput, CloudFrontClientResolvedConfig> {
@@ -20,7 +20,7 @@ export interface ListPublicKeysCommandOutput extends ListPublicKeysResult, __Met
20
20
  *
21
21
  * @see {@link ListPublicKeysCommandInput} for command's `input` shape.
22
22
  * @see {@link ListPublicKeysCommandOutput} 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 ListPublicKeysCommand extends $Command<ListPublicKeysCommandInput, ListPublicKeysCommandOutput, CloudFrontClientResolvedConfig> {
@@ -25,7 +25,7 @@ export interface ListRealtimeLogConfigsCommandOutput extends ListRealtimeLogConf
25
25
  *
26
26
  * @see {@link ListRealtimeLogConfigsCommandInput} for command's `input` shape.
27
27
  * @see {@link ListRealtimeLogConfigsCommandOutput} 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 ListRealtimeLogConfigsCommand extends $Command<ListRealtimeLogConfigsCommandInput, ListRealtimeLogConfigsCommandOutput, 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 { ListResponseHeadersPoliciesRequest, ListResponseHeadersPoliciesResult } from "../models/models_1";
5
+ export interface ListResponseHeadersPoliciesCommandInput extends ListResponseHeadersPoliciesRequest {
6
+ }
7
+ export interface ListResponseHeadersPoliciesCommandOutput extends ListResponseHeadersPoliciesResult, __MetadataBearer {
8
+ }
9
+ /**
10
+ * <p>Gets a list of response headers policies.</p>
11
+ * <p>You can optionally apply a filter to get only the managed policies created by Amazon Web Services,
12
+ * or only the custom policies created in your Amazon Web Services account.</p>
13
+ * <p>You can optionally specify the maximum number of items to receive in the response. If
14
+ * the total number of items in the list exceeds the maximum that you specify, or the
15
+ * default maximum, the response is paginated. To get the next page of items, send a
16
+ * subsequent request that specifies the <code>NextMarker</code> value from the current
17
+ * response as the <code>Marker</code> value in the subsequent request.</p>
18
+ * @example
19
+ * Use a bare-bones client and the command you need to make an API call.
20
+ * ```javascript
21
+ * import { CloudFrontClient, ListResponseHeadersPoliciesCommand } from "@aws-sdk/client-cloudfront"; // ES Modules import
22
+ * // const { CloudFrontClient, ListResponseHeadersPoliciesCommand } = require("@aws-sdk/client-cloudfront"); // CommonJS import
23
+ * const client = new CloudFrontClient(config);
24
+ * const command = new ListResponseHeadersPoliciesCommand(input);
25
+ * const response = await client.send(command);
26
+ * ```
27
+ *
28
+ * @see {@link ListResponseHeadersPoliciesCommandInput} for command's `input` shape.
29
+ * @see {@link ListResponseHeadersPoliciesCommandOutput} for command's `response` shape.
30
+ * @see {@link CloudFrontClientResolvedConfig | config} for CloudFrontClient's `config` shape.
31
+ *
32
+ */
33
+ export declare class ListResponseHeadersPoliciesCommand extends $Command<ListResponseHeadersPoliciesCommandInput, ListResponseHeadersPoliciesCommandOutput, CloudFrontClientResolvedConfig> {
34
+ readonly input: ListResponseHeadersPoliciesCommandInput;
35
+ constructor(input: ListResponseHeadersPoliciesCommandInput);
36
+ /**
37
+ * @internal
38
+ */
39
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CloudFrontClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListResponseHeadersPoliciesCommandInput, ListResponseHeadersPoliciesCommandOutput>;
40
+ private serialize;
41
+ private deserialize;
42
+ }
@@ -20,7 +20,7 @@ export interface ListStreamingDistributionsCommandOutput extends ListStreamingDi
20
20
  *
21
21
  * @see {@link ListStreamingDistributionsCommandInput} for command's `input` shape.
22
22
  * @see {@link ListStreamingDistributionsCommandOutput} 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 ListStreamingDistributionsCommand extends $Command<ListStreamingDistributionsCommandInput, ListStreamingDistributionsCommandOutput, CloudFrontClientResolvedConfig> {
@@ -20,7 +20,7 @@ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceRes
20
20
  *
21
21
  * @see {@link ListTagsForResourceCommandInput} for command's `input` shape.
22
22
  * @see {@link ListTagsForResourceCommandOutput} 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 ListTagsForResourceCommand extends $Command<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput, CloudFrontClientResolvedConfig> {
@@ -28,7 +28,7 @@ export interface PublishFunctionCommandOutput extends PublishFunctionResult, __M
28
28
  *
29
29
  * @see {@link PublishFunctionCommandInput} for command's `input` shape.
30
30
  * @see {@link PublishFunctionCommandOutput} for command's `response` shape.
31
- * @see {@link CloudFrontClientResolvedConfig | config} for command's `input` shape.
31
+ * @see {@link CloudFrontClientResolvedConfig | config} for CloudFrontClient's `config` shape.
32
32
  *
33
33
  */
34
34
  export declare class PublishFunctionCommand extends $Command<PublishFunctionCommandInput, PublishFunctionCommandOutput, CloudFrontClientResolvedConfig> {
@@ -20,7 +20,7 @@ export interface TagResourceCommandOutput extends __MetadataBearer {
20
20
  *
21
21
  * @see {@link TagResourceCommandInput} for command's `input` shape.
22
22
  * @see {@link TagResourceCommandOutput} 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 TagResourceCommand extends $Command<TagResourceCommandInput, TagResourceCommandOutput, CloudFrontClientResolvedConfig> {
@@ -29,7 +29,7 @@ export interface TestFunctionCommandOutput extends TestFunctionResult, __Metadat
29
29
  *
30
30
  * @see {@link TestFunctionCommandInput} for command's `input` shape.
31
31
  * @see {@link TestFunctionCommandOutput} for command's `response` shape.
32
- * @see {@link CloudFrontClientResolvedConfig | config} for command's `input` shape.
32
+ * @see {@link CloudFrontClientResolvedConfig | config} for CloudFrontClient's `config` shape.
33
33
  *
34
34
  */
35
35
  export declare class TestFunctionCommand extends $Command<TestFunctionCommandInput, TestFunctionCommandOutput, CloudFrontClientResolvedConfig> {
@@ -20,7 +20,7 @@ export interface UntagResourceCommandOutput extends __MetadataBearer {
20
20
  *
21
21
  * @see {@link UntagResourceCommandInput} for command's `input` shape.
22
22
  * @see {@link UntagResourceCommandOutput} 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 UntagResourceCommand extends $Command<UntagResourceCommandInput, UntagResourceCommandOutput, CloudFrontClientResolvedConfig> {
@@ -37,7 +37,7 @@ export interface UpdateCachePolicyCommandOutput extends UpdateCachePolicyResult,
37
37
  *
38
38
  * @see {@link UpdateCachePolicyCommandInput} for command's `input` shape.
39
39
  * @see {@link UpdateCachePolicyCommandOutput} for command's `response` shape.
40
- * @see {@link CloudFrontClientResolvedConfig | config} for command's `input` shape.
40
+ * @see {@link CloudFrontClientResolvedConfig | config} for CloudFrontClient's `config` shape.
41
41
  *
42
42
  */
43
43
  export declare class UpdateCachePolicyCommand extends $Command<UpdateCachePolicyCommandInput, UpdateCachePolicyCommandOutput, CloudFrontClientResolvedConfig> {
@@ -20,7 +20,7 @@ export interface UpdateCloudFrontOriginAccessIdentityCommandOutput extends Updat
20
20
  *
21
21
  * @see {@link UpdateCloudFrontOriginAccessIdentityCommandInput} for command's `input` shape.
22
22
  * @see {@link UpdateCloudFrontOriginAccessIdentityCommandOutput} 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 UpdateCloudFrontOriginAccessIdentityCommand extends $Command<UpdateCloudFrontOriginAccessIdentityCommandInput, UpdateCloudFrontOriginAccessIdentityCommandOutput, CloudFrontClientResolvedConfig> {
@@ -98,7 +98,7 @@ export interface UpdateDistributionCommandOutput extends UpdateDistributionResul
98
98
  *
99
99
  * @see {@link UpdateDistributionCommandInput} for command's `input` shape.
100
100
  * @see {@link UpdateDistributionCommandOutput} for command's `response` shape.
101
- * @see {@link CloudFrontClientResolvedConfig | config} for command's `input` shape.
101
+ * @see {@link CloudFrontClientResolvedConfig | config} for CloudFrontClient's `config` shape.
102
102
  *
103
103
  */
104
104
  export declare class UpdateDistributionCommand extends $Command<UpdateDistributionCommandInput, UpdateDistributionCommandOutput, CloudFrontClientResolvedConfig> {
@@ -20,7 +20,7 @@ export interface UpdateFieldLevelEncryptionConfigCommandOutput extends UpdateFie
20
20
  *
21
21
  * @see {@link UpdateFieldLevelEncryptionConfigCommandInput} for command's `input` shape.
22
22
  * @see {@link UpdateFieldLevelEncryptionConfigCommandOutput} 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 UpdateFieldLevelEncryptionConfigCommand extends $Command<UpdateFieldLevelEncryptionConfigCommandInput, UpdateFieldLevelEncryptionConfigCommandOutput, CloudFrontClientResolvedConfig> {
@@ -20,7 +20,7 @@ export interface UpdateFieldLevelEncryptionProfileCommandOutput extends UpdateFi
20
20
  *
21
21
  * @see {@link UpdateFieldLevelEncryptionProfileCommandInput} for command's `input` shape.
22
22
  * @see {@link UpdateFieldLevelEncryptionProfileCommandOutput} 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 UpdateFieldLevelEncryptionProfileCommand extends $Command<UpdateFieldLevelEncryptionProfileCommandInput, UpdateFieldLevelEncryptionProfileCommandOutput, CloudFrontClientResolvedConfig> {
@@ -25,7 +25,7 @@ export interface UpdateFunctionCommandOutput extends UpdateFunctionResult, __Met
25
25
  *
26
26
  * @see {@link UpdateFunctionCommandInput} for command's `input` shape.
27
27
  * @see {@link UpdateFunctionCommandOutput} 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 UpdateFunctionCommand extends $Command<UpdateFunctionCommandInput, UpdateFunctionCommandOutput, CloudFrontClientResolvedConfig> {
@@ -37,7 +37,7 @@ export interface UpdateKeyGroupCommandOutput extends UpdateKeyGroupResult, __Met
37
37
  *
38
38
  * @see {@link UpdateKeyGroupCommandInput} for command's `input` shape.
39
39
  * @see {@link UpdateKeyGroupCommandOutput} for command's `response` shape.
40
- * @see {@link CloudFrontClientResolvedConfig | config} for command's `input` shape.
40
+ * @see {@link CloudFrontClientResolvedConfig | config} for CloudFrontClient's `config` shape.
41
41
  *
42
42
  */
43
43
  export declare class UpdateKeyGroupCommand extends $Command<UpdateKeyGroupCommandInput, UpdateKeyGroupCommandOutput, CloudFrontClientResolvedConfig> {
@@ -37,7 +37,7 @@ export interface UpdateOriginRequestPolicyCommandOutput extends UpdateOriginRequ
37
37
  *
38
38
  * @see {@link UpdateOriginRequestPolicyCommandInput} for command's `input` shape.
39
39
  * @see {@link UpdateOriginRequestPolicyCommandOutput} for command's `response` shape.
40
- * @see {@link CloudFrontClientResolvedConfig | config} for command's `input` shape.
40
+ * @see {@link CloudFrontClientResolvedConfig | config} for CloudFrontClient's `config` shape.
41
41
  *
42
42
  */
43
43
  export declare class UpdateOriginRequestPolicyCommand extends $Command<UpdateOriginRequestPolicyCommandInput, UpdateOriginRequestPolicyCommandOutput, CloudFrontClientResolvedConfig> {
@@ -20,7 +20,7 @@ export interface UpdatePublicKeyCommandOutput extends UpdatePublicKeyResult, __M
20
20
  *
21
21
  * @see {@link UpdatePublicKeyCommandInput} for command's `input` shape.
22
22
  * @see {@link UpdatePublicKeyCommandOutput} 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 UpdatePublicKeyCommand extends $Command<UpdatePublicKeyCommandInput, UpdatePublicKeyCommandOutput, CloudFrontClientResolvedConfig> {
@@ -40,7 +40,7 @@ export interface UpdateRealtimeLogConfigCommandOutput extends UpdateRealtimeLogC
40
40
  *
41
41
  * @see {@link UpdateRealtimeLogConfigCommandInput} for command's `input` shape.
42
42
  * @see {@link UpdateRealtimeLogConfigCommandOutput} for command's `response` shape.
43
- * @see {@link CloudFrontClientResolvedConfig | config} for command's `input` shape.
43
+ * @see {@link CloudFrontClientResolvedConfig | config} for CloudFrontClient's `config` shape.
44
44
  *
45
45
  */
46
46
  export declare class UpdateRealtimeLogConfigCommand extends $Command<UpdateRealtimeLogConfigCommandInput, UpdateRealtimeLogConfigCommandOutput, CloudFrontClientResolvedConfig> {
@@ -0,0 +1,53 @@
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
+ * <p>Updates a response headers policy.</p>
11
+ * <p>When you update a response headers policy, the entire policy is replaced. You cannot
12
+ * update some policy fields independent of others. To update a response headers policy
13
+ * configuration:</p>
14
+ * <ol>
15
+ * <li>
16
+ * <p>Use <code>GetResponseHeadersPolicyConfig</code> to get the current policy’s
17
+ * configuration.</p>
18
+ * </li>
19
+ * <li>
20
+ * <p>Modify the fields in the response headers policy configuration that you want
21
+ * to update.</p>
22
+ * </li>
23
+ * <li>
24
+ * <p>Call <code>UpdateResponseHeadersPolicy</code>, providing the entire response
25
+ * headers policy configuration, including the fields that you modified and those
26
+ * that you didn’t.</p>
27
+ * </li>
28
+ * </ol>
29
+ * @example
30
+ * Use a bare-bones client and the command you need to make an API call.
31
+ * ```javascript
32
+ * import { CloudFrontClient, UpdateResponseHeadersPolicyCommand } from "@aws-sdk/client-cloudfront"; // ES Modules import
33
+ * // const { CloudFrontClient, UpdateResponseHeadersPolicyCommand } = require("@aws-sdk/client-cloudfront"); // CommonJS import
34
+ * const client = new CloudFrontClient(config);
35
+ * const command = new UpdateResponseHeadersPolicyCommand(input);
36
+ * const response = await client.send(command);
37
+ * ```
38
+ *
39
+ * @see {@link UpdateResponseHeadersPolicyCommandInput} for command's `input` shape.
40
+ * @see {@link UpdateResponseHeadersPolicyCommandOutput} for command's `response` shape.
41
+ * @see {@link CloudFrontClientResolvedConfig | config} for CloudFrontClient's `config` shape.
42
+ *
43
+ */
44
+ export declare class UpdateResponseHeadersPolicyCommand extends $Command<UpdateResponseHeadersPolicyCommandInput, UpdateResponseHeadersPolicyCommandOutput, CloudFrontClientResolvedConfig> {
45
+ readonly input: UpdateResponseHeadersPolicyCommandInput;
46
+ constructor(input: UpdateResponseHeadersPolicyCommandInput);
47
+ /**
48
+ * @internal
49
+ */
50
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CloudFrontClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UpdateResponseHeadersPolicyCommandInput, UpdateResponseHeadersPolicyCommandOutput>;
51
+ private serialize;
52
+ private deserialize;
53
+ }
@@ -20,7 +20,7 @@ export interface UpdateStreamingDistributionCommandOutput extends UpdateStreamin
20
20
  *
21
21
  * @see {@link UpdateStreamingDistributionCommandInput} for command's `input` shape.
22
22
  * @see {@link UpdateStreamingDistributionCommandOutput} 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 UpdateStreamingDistributionCommand extends $Command<UpdateStreamingDistributionCommandInput, UpdateStreamingDistributionCommandOutput, CloudFrontClientResolvedConfig> {
@@ -12,6 +12,7 @@ export * from "./CreateMonitoringSubscriptionCommand";
12
12
  export * from "./CreateOriginRequestPolicyCommand";
13
13
  export * from "./CreatePublicKeyCommand";
14
14
  export * from "./CreateRealtimeLogConfigCommand";
15
+ export * from "./CreateResponseHeadersPolicyCommand";
15
16
  export * from "./CreateStreamingDistributionCommand";
16
17
  export * from "./CreateStreamingDistributionWithTagsCommand";
17
18
  export * from "./DeleteCachePolicyCommand";
@@ -25,6 +26,7 @@ export * from "./DeleteMonitoringSubscriptionCommand";
25
26
  export * from "./DeleteOriginRequestPolicyCommand";
26
27
  export * from "./DeletePublicKeyCommand";
27
28
  export * from "./DeleteRealtimeLogConfigCommand";
29
+ export * from "./DeleteResponseHeadersPolicyCommand";
28
30
  export * from "./DeleteStreamingDistributionCommand";
29
31
  export * from "./DescribeFunctionCommand";
30
32
  export * from "./GetCachePolicyCommand";
@@ -47,6 +49,8 @@ export * from "./GetOriginRequestPolicyConfigCommand";
47
49
  export * from "./GetPublicKeyCommand";
48
50
  export * from "./GetPublicKeyConfigCommand";
49
51
  export * from "./GetRealtimeLogConfigCommand";
52
+ export * from "./GetResponseHeadersPolicyCommand";
53
+ export * from "./GetResponseHeadersPolicyConfigCommand";
50
54
  export * from "./GetStreamingDistributionCommand";
51
55
  export * from "./GetStreamingDistributionConfigCommand";
52
56
  export * from "./ListCachePoliciesCommand";
@@ -56,6 +60,7 @@ export * from "./ListDistributionsByCachePolicyIdCommand";
56
60
  export * from "./ListDistributionsByKeyGroupCommand";
57
61
  export * from "./ListDistributionsByOriginRequestPolicyIdCommand";
58
62
  export * from "./ListDistributionsByRealtimeLogConfigCommand";
63
+ export * from "./ListDistributionsByResponseHeadersPolicyIdCommand";
59
64
  export * from "./ListDistributionsByWebACLIdCommand";
60
65
  export * from "./ListDistributionsCommand";
61
66
  export * from "./ListFieldLevelEncryptionConfigsCommand";
@@ -66,6 +71,7 @@ export * from "./ListKeyGroupsCommand";
66
71
  export * from "./ListOriginRequestPoliciesCommand";
67
72
  export * from "./ListPublicKeysCommand";
68
73
  export * from "./ListRealtimeLogConfigsCommand";
74
+ export * from "./ListResponseHeadersPoliciesCommand";
69
75
  export * from "./ListStreamingDistributionsCommand";
70
76
  export * from "./ListTagsForResourceCommand";
71
77
  export * from "./PublishFunctionCommand";
@@ -82,4 +88,5 @@ export * from "./UpdateKeyGroupCommand";
82
88
  export * from "./UpdateOriginRequestPolicyCommand";
83
89
  export * from "./UpdatePublicKeyCommand";
84
90
  export * from "./UpdateRealtimeLogConfigCommand";
91
+ export * from "./UpdateResponseHeadersPolicyCommand";
85
92
  export * from "./UpdateStreamingDistributionCommand";