@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
@@ -1,5 +1,460 @@
1
1
  import { MetadataBearer as $MetadataBearer, SmithyException as __SmithyException } from "@aws-sdk/types";
2
- import { Aliases, AliasICPRecordal, CacheBehaviors, CachePolicy, CachePolicyConfig, CachePolicyList, CachePolicyType, CloudFrontOriginAccessIdentity, CloudFrontOriginAccessIdentityConfig, ContentTypeProfileConfig, CustomErrorResponses, DefaultCacheBehavior, Distribution, DistributionConfig, EncryptionEntities, EndPoint, FieldLevelEncryption, FieldLevelEncryptionConfig, FieldLevelEncryptionProfile, FieldLevelEncryptionProfileConfig, FunctionConfig, FunctionStage, FunctionSummary, HttpVersion, Invalidation, KeyGroup, KeyGroupConfig, MonitoringSubscription, OriginGroups, OriginRequestPolicy, OriginRequestPolicyConfig, Origins, PriceClass, PublicKey, PublicKeyConfig, QueryArgProfileConfig, RealtimeLogConfig, Restrictions, S3Origin, StreamingDistribution, StreamingDistributionConfig, Tags, TrustedSigners, ViewerCertificate } from "./models_0";
2
+ import { Aliases, AliasICPRecordal, CacheBehaviors, CachePolicy, CachePolicyConfig, CachePolicyList, CachePolicyType, CloudFrontOriginAccessIdentity, CloudFrontOriginAccessIdentityConfig, ContentTypeProfileConfig, CustomErrorResponses, DefaultCacheBehavior, Distribution, DistributionConfig, EncryptionEntities, EndPoint, FieldLevelEncryption, FieldLevelEncryptionConfig, FieldLevelEncryptionProfile, FieldLevelEncryptionProfileConfig, FunctionConfig, FunctionStage, FunctionSummary, HttpVersion, Invalidation, KeyGroup, KeyGroupConfig, MonitoringSubscription, OriginGroups, OriginRequestPolicy, OriginRequestPolicyConfig, Origins, PriceClass, PublicKey, PublicKeyConfig, QueryArgProfileConfig, RealtimeLogConfig, ResponseHeadersPolicy, ResponseHeadersPolicyConfig, Restrictions, S3Origin, StreamingDistribution, StreamingDistributionConfig, Tags, TrustedSigners, ViewerCertificate } from "./models_0";
3
+ export interface DeleteMonitoringSubscriptionResult {
4
+ }
5
+ export declare namespace DeleteMonitoringSubscriptionResult {
6
+ /**
7
+ * @internal
8
+ */
9
+ const filterSensitiveLog: (obj: DeleteMonitoringSubscriptionResult) => any;
10
+ }
11
+ export interface DeleteOriginRequestPolicyRequest {
12
+ /**
13
+ * <p>The unique identifier for the origin request policy that you are deleting. To get the
14
+ * identifier, you can use <code>ListOriginRequestPolicies</code>.</p>
15
+ */
16
+ Id: string | undefined;
17
+ /**
18
+ * <p>The version of the origin request policy that you are deleting. The version is the origin
19
+ * request policy’s <code>ETag</code> value, which you can get using
20
+ * <code>ListOriginRequestPolicies</code>, <code>GetOriginRequestPolicy</code>, or
21
+ * <code>GetOriginRequestPolicyConfig</code>.</p>
22
+ */
23
+ IfMatch?: string;
24
+ }
25
+ export declare namespace DeleteOriginRequestPolicyRequest {
26
+ /**
27
+ * @internal
28
+ */
29
+ const filterSensitiveLog: (obj: DeleteOriginRequestPolicyRequest) => any;
30
+ }
31
+ /**
32
+ * <p>Cannot delete the origin request policy because it is attached to one or more cache
33
+ * behaviors.</p>
34
+ */
35
+ export interface OriginRequestPolicyInUse extends __SmithyException, $MetadataBearer {
36
+ name: "OriginRequestPolicyInUse";
37
+ $fault: "client";
38
+ Message?: string;
39
+ }
40
+ export declare namespace OriginRequestPolicyInUse {
41
+ /**
42
+ * @internal
43
+ */
44
+ const filterSensitiveLog: (obj: OriginRequestPolicyInUse) => any;
45
+ }
46
+ export interface DeletePublicKeyRequest {
47
+ /**
48
+ * <p>The ID of the public key you want to remove from CloudFront.</p>
49
+ */
50
+ Id: string | undefined;
51
+ /**
52
+ * <p>The value of the <code>ETag</code> header that you received when retrieving the
53
+ * public key identity to delete. For example: <code>E2QWRUHAPOMQZL</code>.</p>
54
+ */
55
+ IfMatch?: string;
56
+ }
57
+ export declare namespace DeletePublicKeyRequest {
58
+ /**
59
+ * @internal
60
+ */
61
+ const filterSensitiveLog: (obj: DeletePublicKeyRequest) => any;
62
+ }
63
+ /**
64
+ * <p>The specified public key is in use. </p>
65
+ */
66
+ export interface PublicKeyInUse extends __SmithyException, $MetadataBearer {
67
+ name: "PublicKeyInUse";
68
+ $fault: "client";
69
+ Message?: string;
70
+ }
71
+ export declare namespace PublicKeyInUse {
72
+ /**
73
+ * @internal
74
+ */
75
+ const filterSensitiveLog: (obj: PublicKeyInUse) => any;
76
+ }
77
+ export interface DeleteRealtimeLogConfigRequest {
78
+ /**
79
+ * <p>The name of the real-time log configuration to delete.</p>
80
+ */
81
+ Name?: string;
82
+ /**
83
+ * <p>The Amazon Resource Name (ARN) of the real-time log configuration to delete.</p>
84
+ */
85
+ ARN?: string;
86
+ }
87
+ export declare namespace DeleteRealtimeLogConfigRequest {
88
+ /**
89
+ * @internal
90
+ */
91
+ const filterSensitiveLog: (obj: DeleteRealtimeLogConfigRequest) => any;
92
+ }
93
+ /**
94
+ * <p>Cannot delete the real-time log configuration because it is attached to one or more cache
95
+ * behaviors.</p>
96
+ */
97
+ export interface RealtimeLogConfigInUse extends __SmithyException, $MetadataBearer {
98
+ name: "RealtimeLogConfigInUse";
99
+ $fault: "client";
100
+ Message?: string;
101
+ }
102
+ export declare namespace RealtimeLogConfigInUse {
103
+ /**
104
+ * @internal
105
+ */
106
+ const filterSensitiveLog: (obj: RealtimeLogConfigInUse) => any;
107
+ }
108
+ export interface DeleteResponseHeadersPolicyRequest {
109
+ /**
110
+ * <p>The identifier for the response headers policy that you are deleting.</p>
111
+ * <p>To get the identifier, you can use <code>ListResponseHeadersPolicies</code>.</p>
112
+ */
113
+ Id: string | undefined;
114
+ /**
115
+ * <p>The version of the response headers policy that you are deleting.</p>
116
+ * <p>The version is the response headers policy’s <code>ETag</code> value, which you can
117
+ * get using <code>ListResponseHeadersPolicies</code>,
118
+ * <code>GetResponseHeadersPolicy</code>, or
119
+ * <code>GetResponseHeadersPolicyConfig</code>.</p>
120
+ */
121
+ IfMatch?: string;
122
+ }
123
+ export declare namespace DeleteResponseHeadersPolicyRequest {
124
+ /**
125
+ * @internal
126
+ */
127
+ const filterSensitiveLog: (obj: DeleteResponseHeadersPolicyRequest) => any;
128
+ }
129
+ /**
130
+ * <p>Cannot delete the response headers policy because it is attached to one or more cache
131
+ * behaviors in a CloudFront distribution. </p>
132
+ */
133
+ export interface ResponseHeadersPolicyInUse extends __SmithyException, $MetadataBearer {
134
+ name: "ResponseHeadersPolicyInUse";
135
+ $fault: "client";
136
+ Message?: string;
137
+ }
138
+ export declare namespace ResponseHeadersPolicyInUse {
139
+ /**
140
+ * @internal
141
+ */
142
+ const filterSensitiveLog: (obj: ResponseHeadersPolicyInUse) => any;
143
+ }
144
+ /**
145
+ * <p>The request to delete a streaming distribution.</p>
146
+ */
147
+ export interface DeleteStreamingDistributionRequest {
148
+ /**
149
+ * <p>The distribution ID. </p>
150
+ */
151
+ Id: string | undefined;
152
+ /**
153
+ * <p>The value of the <code>ETag</code> header that you received when you disabled the
154
+ * streaming distribution. For example: <code>E2QWRUHAPOMQZL</code>.</p>
155
+ */
156
+ IfMatch?: string;
157
+ }
158
+ export declare namespace DeleteStreamingDistributionRequest {
159
+ /**
160
+ * @internal
161
+ */
162
+ const filterSensitiveLog: (obj: DeleteStreamingDistributionRequest) => any;
163
+ }
164
+ /**
165
+ * <p>The specified streaming distribution does not exist.</p>
166
+ */
167
+ export interface NoSuchStreamingDistribution extends __SmithyException, $MetadataBearer {
168
+ name: "NoSuchStreamingDistribution";
169
+ $fault: "client";
170
+ Message?: string;
171
+ }
172
+ export declare namespace NoSuchStreamingDistribution {
173
+ /**
174
+ * @internal
175
+ */
176
+ const filterSensitiveLog: (obj: NoSuchStreamingDistribution) => any;
177
+ }
178
+ /**
179
+ * <p>The specified CloudFront distribution is not disabled. You must disable
180
+ * the distribution before you can delete it.</p>
181
+ */
182
+ export interface StreamingDistributionNotDisabled extends __SmithyException, $MetadataBearer {
183
+ name: "StreamingDistributionNotDisabled";
184
+ $fault: "client";
185
+ Message?: string;
186
+ }
187
+ export declare namespace StreamingDistributionNotDisabled {
188
+ /**
189
+ * @internal
190
+ */
191
+ const filterSensitiveLog: (obj: StreamingDistributionNotDisabled) => any;
192
+ }
193
+ export interface DescribeFunctionRequest {
194
+ /**
195
+ * <p>The name of the function that you are getting information about.</p>
196
+ */
197
+ Name: string | undefined;
198
+ /**
199
+ * <p>The function’s stage, either <code>DEVELOPMENT</code> or <code>LIVE</code>.</p>
200
+ */
201
+ Stage?: FunctionStage | string;
202
+ }
203
+ export declare namespace DescribeFunctionRequest {
204
+ /**
205
+ * @internal
206
+ */
207
+ const filterSensitiveLog: (obj: DescribeFunctionRequest) => any;
208
+ }
209
+ export interface DescribeFunctionResult {
210
+ /**
211
+ * <p>Contains configuration information and metadata about a CloudFront function.</p>
212
+ */
213
+ FunctionSummary?: FunctionSummary;
214
+ /**
215
+ * <p>The version identifier for the current version of the CloudFront function.</p>
216
+ */
217
+ ETag?: string;
218
+ }
219
+ export declare namespace DescribeFunctionResult {
220
+ /**
221
+ * @internal
222
+ */
223
+ const filterSensitiveLog: (obj: DescribeFunctionResult) => any;
224
+ }
225
+ export interface GetCachePolicyRequest {
226
+ /**
227
+ * <p>The unique identifier for the cache policy. If the cache policy is attached to a
228
+ * distribution’s cache behavior, you can get the policy’s identifier using
229
+ * <code>ListDistributions</code> or <code>GetDistribution</code>. If the cache policy is
230
+ * not attached to a cache behavior, you can get the identifier using
231
+ * <code>ListCachePolicies</code>.</p>
232
+ */
233
+ Id: string | undefined;
234
+ }
235
+ export declare namespace GetCachePolicyRequest {
236
+ /**
237
+ * @internal
238
+ */
239
+ const filterSensitiveLog: (obj: GetCachePolicyRequest) => any;
240
+ }
241
+ export interface GetCachePolicyResult {
242
+ /**
243
+ * <p>The cache policy.</p>
244
+ */
245
+ CachePolicy?: CachePolicy;
246
+ /**
247
+ * <p>The current version of the cache policy.</p>
248
+ */
249
+ ETag?: string;
250
+ }
251
+ export declare namespace GetCachePolicyResult {
252
+ /**
253
+ * @internal
254
+ */
255
+ const filterSensitiveLog: (obj: GetCachePolicyResult) => any;
256
+ }
257
+ export interface GetCachePolicyConfigRequest {
258
+ /**
259
+ * <p>The unique identifier for the cache policy. If the cache policy is attached to a
260
+ * distribution’s cache behavior, you can get the policy’s identifier using
261
+ * <code>ListDistributions</code> or <code>GetDistribution</code>. If the cache policy is
262
+ * not attached to a cache behavior, you can get the identifier using
263
+ * <code>ListCachePolicies</code>.</p>
264
+ */
265
+ Id: string | undefined;
266
+ }
267
+ export declare namespace GetCachePolicyConfigRequest {
268
+ /**
269
+ * @internal
270
+ */
271
+ const filterSensitiveLog: (obj: GetCachePolicyConfigRequest) => any;
272
+ }
273
+ export interface GetCachePolicyConfigResult {
274
+ /**
275
+ * <p>The cache policy configuration.</p>
276
+ */
277
+ CachePolicyConfig?: CachePolicyConfig;
278
+ /**
279
+ * <p>The current version of the cache policy.</p>
280
+ */
281
+ ETag?: string;
282
+ }
283
+ export declare namespace GetCachePolicyConfigResult {
284
+ /**
285
+ * @internal
286
+ */
287
+ const filterSensitiveLog: (obj: GetCachePolicyConfigResult) => any;
288
+ }
289
+ /**
290
+ * <p>The request to get an origin access identity's information.</p>
291
+ */
292
+ export interface GetCloudFrontOriginAccessIdentityRequest {
293
+ /**
294
+ * <p>The identity's ID.</p>
295
+ */
296
+ Id: string | undefined;
297
+ }
298
+ export declare namespace GetCloudFrontOriginAccessIdentityRequest {
299
+ /**
300
+ * @internal
301
+ */
302
+ const filterSensitiveLog: (obj: GetCloudFrontOriginAccessIdentityRequest) => any;
303
+ }
304
+ /**
305
+ * <p>The returned result of the corresponding request.</p>
306
+ */
307
+ export interface GetCloudFrontOriginAccessIdentityResult {
308
+ /**
309
+ * <p>The origin access identity's information.</p>
310
+ */
311
+ CloudFrontOriginAccessIdentity?: CloudFrontOriginAccessIdentity;
312
+ /**
313
+ * <p>The current version of the origin access identity's information. For example:
314
+ * <code>E2QWRUHAPOMQZL</code>.</p>
315
+ */
316
+ ETag?: string;
317
+ }
318
+ export declare namespace GetCloudFrontOriginAccessIdentityResult {
319
+ /**
320
+ * @internal
321
+ */
322
+ const filterSensitiveLog: (obj: GetCloudFrontOriginAccessIdentityResult) => any;
323
+ }
324
+ /**
325
+ * <p>The origin access identity's configuration information. For more information, see
326
+ * <a href="https://docs.aws.amazon.com/cloudfront/latest/APIReference/API_CloudFrontOriginAccessIdentityConfig.html">CloudFrontOriginAccessIdentityConfig</a>.</p>
327
+ */
328
+ export interface GetCloudFrontOriginAccessIdentityConfigRequest {
329
+ /**
330
+ * <p>The identity's ID. </p>
331
+ */
332
+ Id: string | undefined;
333
+ }
334
+ export declare namespace GetCloudFrontOriginAccessIdentityConfigRequest {
335
+ /**
336
+ * @internal
337
+ */
338
+ const filterSensitiveLog: (obj: GetCloudFrontOriginAccessIdentityConfigRequest) => any;
339
+ }
340
+ /**
341
+ * <p>The returned result of the corresponding request.</p>
342
+ */
343
+ export interface GetCloudFrontOriginAccessIdentityConfigResult {
344
+ /**
345
+ * <p>The origin access identity's configuration information. </p>
346
+ */
347
+ CloudFrontOriginAccessIdentityConfig?: CloudFrontOriginAccessIdentityConfig;
348
+ /**
349
+ * <p>The current version of the configuration. For example:
350
+ * <code>E2QWRUHAPOMQZL</code>.</p>
351
+ */
352
+ ETag?: string;
353
+ }
354
+ export declare namespace GetCloudFrontOriginAccessIdentityConfigResult {
355
+ /**
356
+ * @internal
357
+ */
358
+ const filterSensitiveLog: (obj: GetCloudFrontOriginAccessIdentityConfigResult) => any;
359
+ }
360
+ /**
361
+ * <p>The request to get a distribution's information.</p>
362
+ */
363
+ export interface GetDistributionRequest {
364
+ /**
365
+ * <p>The distribution's ID. If the ID is empty, an empty distribution configuration is returned.</p>
366
+ */
367
+ Id: string | undefined;
368
+ }
369
+ export declare namespace GetDistributionRequest {
370
+ /**
371
+ * @internal
372
+ */
373
+ const filterSensitiveLog: (obj: GetDistributionRequest) => any;
374
+ }
375
+ /**
376
+ * <p>The returned result of the corresponding request.</p>
377
+ */
378
+ export interface GetDistributionResult {
379
+ /**
380
+ * <p>The distribution's information.</p>
381
+ */
382
+ Distribution?: Distribution;
383
+ /**
384
+ * <p>The current version of the distribution's information. For example:
385
+ * <code>E2QWRUHAPOMQZL</code>.</p>
386
+ */
387
+ ETag?: string;
388
+ }
389
+ export declare namespace GetDistributionResult {
390
+ /**
391
+ * @internal
392
+ */
393
+ const filterSensitiveLog: (obj: GetDistributionResult) => any;
394
+ }
395
+ /**
396
+ * <p>The request to get a distribution configuration.</p>
397
+ */
398
+ export interface GetDistributionConfigRequest {
399
+ /**
400
+ * <p>The distribution's ID. If the ID is empty, an empty distribution configuration is returned.</p>
401
+ */
402
+ Id: string | undefined;
403
+ }
404
+ export declare namespace GetDistributionConfigRequest {
405
+ /**
406
+ * @internal
407
+ */
408
+ const filterSensitiveLog: (obj: GetDistributionConfigRequest) => any;
409
+ }
410
+ /**
411
+ * <p>The returned result of the corresponding request.</p>
412
+ */
413
+ export interface GetDistributionConfigResult {
414
+ /**
415
+ * <p>The distribution's configuration information.</p>
416
+ */
417
+ DistributionConfig?: DistributionConfig;
418
+ /**
419
+ * <p>The current version of the configuration. For example:
420
+ * <code>E2QWRUHAPOMQZL</code>.</p>
421
+ */
422
+ ETag?: string;
423
+ }
424
+ export declare namespace GetDistributionConfigResult {
425
+ /**
426
+ * @internal
427
+ */
428
+ const filterSensitiveLog: (obj: GetDistributionConfigResult) => any;
429
+ }
430
+ export interface GetFieldLevelEncryptionRequest {
431
+ /**
432
+ * <p>Request the ID for the field-level encryption configuration information.</p>
433
+ */
434
+ Id: string | undefined;
435
+ }
436
+ export declare namespace GetFieldLevelEncryptionRequest {
437
+ /**
438
+ * @internal
439
+ */
440
+ const filterSensitiveLog: (obj: GetFieldLevelEncryptionRequest) => any;
441
+ }
442
+ export interface GetFieldLevelEncryptionResult {
443
+ /**
444
+ * <p>Return the field-level encryption configuration information.</p>
445
+ */
446
+ FieldLevelEncryption?: FieldLevelEncryption;
447
+ /**
448
+ * <p>The current version of the field level encryption configuration. For example: <code>E2QWRUHAPOMQZL</code>.</p>
449
+ */
450
+ ETag?: string;
451
+ }
452
+ export declare namespace GetFieldLevelEncryptionResult {
453
+ /**
454
+ * @internal
455
+ */
456
+ const filterSensitiveLog: (obj: GetFieldLevelEncryptionResult) => any;
457
+ }
3
458
  export interface GetFieldLevelEncryptionConfigRequest {
4
459
  /**
5
460
  * <p>Request the ID for the field-level encryption configuration information.</p>
@@ -400,6 +855,72 @@ export declare namespace GetRealtimeLogConfigResult {
400
855
  */
401
856
  const filterSensitiveLog: (obj: GetRealtimeLogConfigResult) => any;
402
857
  }
858
+ export interface GetResponseHeadersPolicyRequest {
859
+ /**
860
+ * <p>The identifier for the response headers policy.</p>
861
+ * <p>If the response headers policy is attached to a distribution’s cache behavior, you can
862
+ * get the policy’s identifier using <code>ListDistributions</code> or
863
+ * <code>GetDistribution</code>. If the response headers policy is not attached to a
864
+ * cache behavior, you can get the identifier using
865
+ * <code>ListResponseHeadersPolicies</code>.</p>
866
+ */
867
+ Id: string | undefined;
868
+ }
869
+ export declare namespace GetResponseHeadersPolicyRequest {
870
+ /**
871
+ * @internal
872
+ */
873
+ const filterSensitiveLog: (obj: GetResponseHeadersPolicyRequest) => any;
874
+ }
875
+ export interface GetResponseHeadersPolicyResult {
876
+ /**
877
+ * <p>Contains a response headers policy.</p>
878
+ */
879
+ ResponseHeadersPolicy?: ResponseHeadersPolicy;
880
+ /**
881
+ * <p>The version identifier for the current version of the response headers policy.</p>
882
+ */
883
+ ETag?: string;
884
+ }
885
+ export declare namespace GetResponseHeadersPolicyResult {
886
+ /**
887
+ * @internal
888
+ */
889
+ const filterSensitiveLog: (obj: GetResponseHeadersPolicyResult) => any;
890
+ }
891
+ export interface GetResponseHeadersPolicyConfigRequest {
892
+ /**
893
+ * <p>The identifier for the response headers policy.</p>
894
+ * <p>If the response headers policy is attached to a distribution’s cache behavior, you can
895
+ * get the policy’s identifier using <code>ListDistributions</code> or
896
+ * <code>GetDistribution</code>. If the response headers policy is not attached to a
897
+ * cache behavior, you can get the identifier using
898
+ * <code>ListResponseHeadersPolicies</code>.</p>
899
+ */
900
+ Id: string | undefined;
901
+ }
902
+ export declare namespace GetResponseHeadersPolicyConfigRequest {
903
+ /**
904
+ * @internal
905
+ */
906
+ const filterSensitiveLog: (obj: GetResponseHeadersPolicyConfigRequest) => any;
907
+ }
908
+ export interface GetResponseHeadersPolicyConfigResult {
909
+ /**
910
+ * <p>Contains a response headers policy.</p>
911
+ */
912
+ ResponseHeadersPolicyConfig?: ResponseHeadersPolicyConfig;
913
+ /**
914
+ * <p>The version identifier for the current version of the response headers policy.</p>
915
+ */
916
+ ETag?: string;
917
+ }
918
+ export declare namespace GetResponseHeadersPolicyConfigResult {
919
+ /**
920
+ * @internal
921
+ */
922
+ const filterSensitiveLog: (obj: GetResponseHeadersPolicyConfigResult) => any;
923
+ }
403
924
  /**
404
925
  * <p>The request to get a streaming distribution's information.</p>
405
926
  */
@@ -481,7 +1002,7 @@ export interface ListCachePoliciesRequest {
481
1002
  * </li>
482
1003
  * <li>
483
1004
  * <p>
484
- * <code>custom</code> – Returns only the custom policies created in your account.</p>
1005
+ * <code>custom</code> – Returns only the custom policies created in your Amazon Web Services account.</p>
485
1006
  * </li>
486
1007
  * </ul>
487
1008
  */
@@ -602,12 +1123,12 @@ export interface CloudFrontOriginAccessIdentityList {
602
1123
  */
603
1124
  IsTruncated: boolean | undefined;
604
1125
  /**
605
- * <p>The number of CloudFront origin access identities that were created by the current account.</p>
1126
+ * <p>The number of CloudFront origin access identities that were created by the current Amazon Web Services account.</p>
606
1127
  */
607
1128
  Quantity: number | undefined;
608
1129
  /**
609
1130
  * <p>A complex type that contains one <code>CloudFrontOriginAccessIdentitySummary</code>
610
- * element for each origin access identity that was created by the current account.</p>
1131
+ * element for each origin access identity that was created by the current Amazon Web Services account.</p>
611
1132
  */
612
1133
  Items?: CloudFrontOriginAccessIdentitySummary[];
613
1134
  }
@@ -766,7 +1287,7 @@ export interface DistributionSummary {
766
1287
  /**
767
1288
  * <p>The ARN (Amazon Resource Name) for the distribution. For example:
768
1289
  * <code>arn:aws:cloudfront::123456789012:distribution/EDFDVBD632BHDS5</code>, where
769
- * <code>123456789012</code> is your account ID.</p>
1290
+ * <code>123456789012</code> is your Amazon Web Services account ID.</p>
770
1291
  */
771
1292
  ARN: string | undefined;
772
1293
  /**
@@ -891,12 +1412,12 @@ export interface DistributionList {
891
1412
  */
892
1413
  IsTruncated: boolean | undefined;
893
1414
  /**
894
- * <p>The number of distributions that were created by the current account.</p>
1415
+ * <p>The number of distributions that were created by the current Amazon Web Services account.</p>
895
1416
  */
896
1417
  Quantity: number | undefined;
897
1418
  /**
898
1419
  * <p>A complex type that contains one <code>DistributionSummary</code> element for each
899
- * distribution that was created by the current account.</p>
1420
+ * distribution that was created by the current Amazon Web Services account.</p>
900
1421
  */
901
1422
  Items?: DistributionSummary[];
902
1423
  }
@@ -1106,6 +1627,42 @@ export declare namespace ListDistributionsByRealtimeLogConfigResult {
1106
1627
  */
1107
1628
  const filterSensitiveLog: (obj: ListDistributionsByRealtimeLogConfigResult) => any;
1108
1629
  }
1630
+ export interface ListDistributionsByResponseHeadersPolicyIdRequest {
1631
+ /**
1632
+ * <p>Use this field when paginating results to indicate where to begin in your list of
1633
+ * distribution IDs. The response includes distribution IDs in the list that occur after
1634
+ * the marker. To get the next page of the list, set this field’s value to the value of
1635
+ * <code>NextMarker</code> from the current page’s response.</p>
1636
+ */
1637
+ Marker?: string;
1638
+ /**
1639
+ * <p>The maximum number of distribution IDs that you want to get in the response.</p>
1640
+ */
1641
+ MaxItems?: number;
1642
+ /**
1643
+ * <p>The ID of the response headers policy whose associated distribution IDs you want to
1644
+ * list.</p>
1645
+ */
1646
+ ResponseHeadersPolicyId: string | undefined;
1647
+ }
1648
+ export declare namespace ListDistributionsByResponseHeadersPolicyIdRequest {
1649
+ /**
1650
+ * @internal
1651
+ */
1652
+ const filterSensitiveLog: (obj: ListDistributionsByResponseHeadersPolicyIdRequest) => any;
1653
+ }
1654
+ export interface ListDistributionsByResponseHeadersPolicyIdResult {
1655
+ /**
1656
+ * <p>A list of distribution IDs.</p>
1657
+ */
1658
+ DistributionIdList?: DistributionIdList;
1659
+ }
1660
+ export declare namespace ListDistributionsByResponseHeadersPolicyIdResult {
1661
+ /**
1662
+ * @internal
1663
+ */
1664
+ const filterSensitiveLog: (obj: ListDistributionsByResponseHeadersPolicyIdResult) => any;
1665
+ }
1109
1666
  /**
1110
1667
  * <p>The request to list distributions that are associated with a specified WAF web
1111
1668
  * ACL.</p>
@@ -1485,13 +2042,13 @@ export interface InvalidationList {
1485
2042
  */
1486
2043
  IsTruncated: boolean | undefined;
1487
2044
  /**
1488
- * <p>The number of invalidation batches that were created by the current account.
2045
+ * <p>The number of invalidation batches that were created by the current Amazon Web Services account.
1489
2046
  * </p>
1490
2047
  */
1491
2048
  Quantity: number | undefined;
1492
2049
  /**
1493
2050
  * <p>A complex type that contains one <code>InvalidationSummary</code> element for each
1494
- * invalidation batch created by the current account.</p>
2051
+ * invalidation batch created by the current Amazon Web Services account.</p>
1495
2052
  */
1496
2053
  Items?: InvalidationSummary[];
1497
2054
  }
@@ -1603,7 +2160,7 @@ export interface ListOriginRequestPoliciesRequest {
1603
2160
  * </li>
1604
2161
  * <li>
1605
2162
  * <p>
1606
- * <code>custom</code> – Returns only the custom policies created in your account.</p>
2163
+ * <code>custom</code> – Returns only the custom policies created in your Amazon Web Services account.</p>
1607
2164
  * </li>
1608
2165
  * </ul>
1609
2166
  */
@@ -1632,7 +2189,7 @@ export declare namespace ListOriginRequestPoliciesRequest {
1632
2189
  export interface OriginRequestPolicySummary {
1633
2190
  /**
1634
2191
  * <p>The type of origin request policy, either <code>managed</code> (created by Amazon Web Services) or
1635
- * <code>custom</code> (created in this account).</p>
2192
+ * <code>custom</code> (created in this Amazon Web Services account).</p>
1636
2193
  */
1637
2194
  Type: OriginRequestPolicyType | string | undefined;
1638
2195
  /**
@@ -1845,6 +2402,106 @@ export declare namespace ListRealtimeLogConfigsResult {
1845
2402
  */
1846
2403
  const filterSensitiveLog: (obj: ListRealtimeLogConfigsResult) => any;
1847
2404
  }
2405
+ export declare enum ResponseHeadersPolicyType {
2406
+ custom = "custom",
2407
+ managed = "managed"
2408
+ }
2409
+ export interface ListResponseHeadersPoliciesRequest {
2410
+ /**
2411
+ * <p>A filter to get only the specified kind of response headers policies. Valid values
2412
+ * are:</p>
2413
+ * <ul>
2414
+ * <li>
2415
+ * <p>
2416
+ * <code>managed</code> – Gets only the managed policies created by Amazon Web Services.</p>
2417
+ * </li>
2418
+ * <li>
2419
+ * <p>
2420
+ * <code>custom</code> – Gets only the custom policies created in your
2421
+ * Amazon Web Services account.</p>
2422
+ * </li>
2423
+ * </ul>
2424
+ */
2425
+ Type?: ResponseHeadersPolicyType | string;
2426
+ /**
2427
+ * <p>Use this field when paginating results to indicate where to begin in your list of response
2428
+ * headers policies. The response includes response headers policies in the list that occur
2429
+ * after the marker. To get the next page of the list, set this field’s value to the value
2430
+ * of <code>NextMarker</code> from the current page’s response. </p>
2431
+ */
2432
+ Marker?: string;
2433
+ /**
2434
+ * <p>The maximum number of response headers policies that you want to get in the response.</p>
2435
+ */
2436
+ MaxItems?: number;
2437
+ }
2438
+ export declare namespace ListResponseHeadersPoliciesRequest {
2439
+ /**
2440
+ * @internal
2441
+ */
2442
+ const filterSensitiveLog: (obj: ListResponseHeadersPoliciesRequest) => any;
2443
+ }
2444
+ /**
2445
+ * <p>Contains a response headers policy.</p>
2446
+ */
2447
+ export interface ResponseHeadersPolicySummary {
2448
+ /**
2449
+ * <p>The type of response headers policy, either <code>managed</code> (created by Amazon Web Services) or
2450
+ * <code>custom</code> (created in this Amazon Web Services account).</p>
2451
+ */
2452
+ Type: ResponseHeadersPolicyType | string | undefined;
2453
+ /**
2454
+ * <p>The response headers policy.</p>
2455
+ */
2456
+ ResponseHeadersPolicy: ResponseHeadersPolicy | undefined;
2457
+ }
2458
+ export declare namespace ResponseHeadersPolicySummary {
2459
+ /**
2460
+ * @internal
2461
+ */
2462
+ const filterSensitiveLog: (obj: ResponseHeadersPolicySummary) => any;
2463
+ }
2464
+ /**
2465
+ * <p>A list of response headers policies.</p>
2466
+ */
2467
+ export interface ResponseHeadersPolicyList {
2468
+ /**
2469
+ * <p>If there are more items in the list than are in this response, this element is present. It
2470
+ * contains the value that you should use in the <code>Marker</code> field of a subsequent
2471
+ * request to continue listing response headers policies where you left off.</p>
2472
+ */
2473
+ NextMarker?: string;
2474
+ /**
2475
+ * <p>The maximum number of response headers policies requested.</p>
2476
+ */
2477
+ MaxItems: number | undefined;
2478
+ /**
2479
+ * <p>The number of response headers policies returned.</p>
2480
+ */
2481
+ Quantity: number | undefined;
2482
+ /**
2483
+ * <p>The response headers policies in the list.</p>
2484
+ */
2485
+ Items?: ResponseHeadersPolicySummary[];
2486
+ }
2487
+ export declare namespace ResponseHeadersPolicyList {
2488
+ /**
2489
+ * @internal
2490
+ */
2491
+ const filterSensitiveLog: (obj: ResponseHeadersPolicyList) => any;
2492
+ }
2493
+ export interface ListResponseHeadersPoliciesResult {
2494
+ /**
2495
+ * <p>A list of response headers policies.</p>
2496
+ */
2497
+ ResponseHeadersPolicyList?: ResponseHeadersPolicyList;
2498
+ }
2499
+ export declare namespace ListResponseHeadersPoliciesResult {
2500
+ /**
2501
+ * @internal
2502
+ */
2503
+ const filterSensitiveLog: (obj: ListResponseHeadersPoliciesResult) => any;
2504
+ }
1848
2505
  /**
1849
2506
  * <p>The request to list your streaming distributions. </p>
1850
2507
  */
@@ -1875,7 +2532,7 @@ export interface StreamingDistributionSummary {
1875
2532
  /**
1876
2533
  * <p> The ARN (Amazon Resource Name) for the streaming distribution. For example:
1877
2534
  * <code>arn:aws:cloudfront::123456789012:streaming-distribution/EDFDVBD632BHDS5</code>, where
1878
- * <code>123456789012</code> is your account ID.</p>
2535
+ * <code>123456789012</code> is your Amazon Web Services account ID.</p>
1879
2536
  */
1880
2537
  ARN: string | undefined;
1881
2538
  /**
@@ -1903,7 +2560,7 @@ export interface StreamingDistributionSummary {
1903
2560
  */
1904
2561
  Aliases: Aliases | undefined;
1905
2562
  /**
1906
- * <p>A complex type that specifies the accounts, if any, that you want to allow to
2563
+ * <p>A complex type that specifies the Amazon Web Services accounts, if any, that you want to allow to
1907
2564
  * create signed URLs for private content. If you want to require signed URLs in requests for
1908
2565
  * objects in the target origin that match the <code>PathPattern</code> for this cache behavior,
1909
2566
  * specify <code>true</code> for <code>Enabled</code>, and specify the applicable values for
@@ -1963,13 +2620,13 @@ export interface StreamingDistributionList {
1963
2620
  */
1964
2621
  IsTruncated: boolean | undefined;
1965
2622
  /**
1966
- * <p>The number of streaming distributions that were created by the current account.
2623
+ * <p>The number of streaming distributions that were created by the current Amazon Web Services account.
1967
2624
  * </p>
1968
2625
  */
1969
2626
  Quantity: number | undefined;
1970
2627
  /**
1971
2628
  * <p>A complex type that contains one <code>StreamingDistributionSummary</code> element for
1972
- * each distribution that was created by the current account.</p>
2629
+ * each distribution that was created by the current Amazon Web Services account.</p>
1973
2630
  */
1974
2631
  Items?: StreamingDistributionSummary[];
1975
2632
  }
@@ -2198,6 +2855,10 @@ export declare namespace UntagResourceRequest {
2198
2855
  const filterSensitiveLog: (obj: UntagResourceRequest) => any;
2199
2856
  }
2200
2857
  export interface UpdateCachePolicyRequest {
2858
+ /**
2859
+ * <p>A cache policy configuration.</p>
2860
+ */
2861
+ CachePolicyConfig: CachePolicyConfig | undefined;
2201
2862
  /**
2202
2863
  * <p>The unique identifier for the cache policy that you are updating. The identifier is returned
2203
2864
  * in a cache behavior’s <code>CachePolicyId</code> field in the response to
@@ -2210,10 +2871,6 @@ export interface UpdateCachePolicyRequest {
2210
2871
  * <code>GetCachePolicyConfig</code>.</p>
2211
2872
  */
2212
2873
  IfMatch?: string;
2213
- /**
2214
- * <p>A cache policy configuration.</p>
2215
- */
2216
- CachePolicyConfig: CachePolicyConfig | undefined;
2217
2874
  }
2218
2875
  export declare namespace UpdateCachePolicyRequest {
2219
2876
  /**
@@ -2241,6 +2898,10 @@ export declare namespace UpdateCachePolicyResult {
2241
2898
  * <p>The request to update an origin access identity.</p>
2242
2899
  */
2243
2900
  export interface UpdateCloudFrontOriginAccessIdentityRequest {
2901
+ /**
2902
+ * <p>The identity's configuration information.</p>
2903
+ */
2904
+ CloudFrontOriginAccessIdentityConfig: CloudFrontOriginAccessIdentityConfig | undefined;
2244
2905
  /**
2245
2906
  * <p>The identity's id.</p>
2246
2907
  */
@@ -2250,10 +2911,6 @@ export interface UpdateCloudFrontOriginAccessIdentityRequest {
2250
2911
  * identity's configuration. For example: <code>E2QWRUHAPOMQZL</code>.</p>
2251
2912
  */
2252
2913
  IfMatch?: string;
2253
- /**
2254
- * <p>The identity's configuration information.</p>
2255
- */
2256
- CloudFrontOriginAccessIdentityConfig: CloudFrontOriginAccessIdentityConfig | undefined;
2257
2914
  }
2258
2915
  export declare namespace UpdateCloudFrontOriginAccessIdentityRequest {
2259
2916
  /**
@@ -2285,6 +2942,10 @@ export declare namespace UpdateCloudFrontOriginAccessIdentityResult {
2285
2942
  * <p>The request to update a distribution.</p>
2286
2943
  */
2287
2944
  export interface UpdateDistributionRequest {
2945
+ /**
2946
+ * <p>The distribution's configuration information.</p>
2947
+ */
2948
+ DistributionConfig: DistributionConfig | undefined;
2288
2949
  /**
2289
2950
  * <p>The distribution's id.</p>
2290
2951
  */
@@ -2294,10 +2955,6 @@ export interface UpdateDistributionRequest {
2294
2955
  * distribution's configuration. For example: <code>E2QWRUHAPOMQZL</code>.</p>
2295
2956
  */
2296
2957
  IfMatch?: string;
2297
- /**
2298
- * <p>The distribution's configuration information.</p>
2299
- */
2300
- DistributionConfig: DistributionConfig | undefined;
2301
2958
  }
2302
2959
  export declare namespace UpdateDistributionRequest {
2303
2960
  /**
@@ -2326,6 +2983,10 @@ export declare namespace UpdateDistributionResult {
2326
2983
  const filterSensitiveLog: (obj: UpdateDistributionResult) => any;
2327
2984
  }
2328
2985
  export interface UpdateFieldLevelEncryptionConfigRequest {
2986
+ /**
2987
+ * <p>Request to update a field-level encryption configuration. </p>
2988
+ */
2989
+ FieldLevelEncryptionConfig: FieldLevelEncryptionConfig | undefined;
2329
2990
  /**
2330
2991
  * <p>The ID of the configuration you want to update.</p>
2331
2992
  */
@@ -2335,10 +2996,6 @@ export interface UpdateFieldLevelEncryptionConfigRequest {
2335
2996
  * For example: <code>E2QWRUHAPOMQZL</code>.</p>
2336
2997
  */
2337
2998
  IfMatch?: string;
2338
- /**
2339
- * <p>Request to update a field-level encryption configuration. </p>
2340
- */
2341
- FieldLevelEncryptionConfig: FieldLevelEncryptionConfig | undefined;
2342
2999
  }
2343
3000
  export declare namespace UpdateFieldLevelEncryptionConfigRequest {
2344
3001
  /**
@@ -2364,6 +3021,10 @@ export declare namespace UpdateFieldLevelEncryptionConfigResult {
2364
3021
  const filterSensitiveLog: (obj: UpdateFieldLevelEncryptionConfigResult) => any;
2365
3022
  }
2366
3023
  export interface UpdateFieldLevelEncryptionProfileRequest {
3024
+ /**
3025
+ * <p>Request to update a field-level encryption profile. </p>
3026
+ */
3027
+ FieldLevelEncryptionProfileConfig: FieldLevelEncryptionProfileConfig | undefined;
2367
3028
  /**
2368
3029
  * <p>The ID of the field-level encryption profile request. </p>
2369
3030
  */
@@ -2373,10 +3034,6 @@ export interface UpdateFieldLevelEncryptionProfileRequest {
2373
3034
  * For example: <code>E2QWRUHAPOMQZL</code>.</p>
2374
3035
  */
2375
3036
  IfMatch?: string;
2376
- /**
2377
- * <p>Request to update a field-level encryption profile. </p>
2378
- */
2379
- FieldLevelEncryptionProfileConfig: FieldLevelEncryptionProfileConfig | undefined;
2380
3037
  }
2381
3038
  export declare namespace UpdateFieldLevelEncryptionProfileRequest {
2382
3039
  /**
@@ -2443,6 +3100,10 @@ export declare namespace UpdateFunctionResult {
2443
3100
  const filterSensitiveLog: (obj: UpdateFunctionResult) => any;
2444
3101
  }
2445
3102
  export interface UpdateKeyGroupRequest {
3103
+ /**
3104
+ * <p>The key group configuration.</p>
3105
+ */
3106
+ KeyGroupConfig: KeyGroupConfig | undefined;
2446
3107
  /**
2447
3108
  * <p>The identifier of the key group that you are updating.</p>
2448
3109
  */
@@ -2452,10 +3113,6 @@ export interface UpdateKeyGroupRequest {
2452
3113
  * <code>ETag</code> value.</p>
2453
3114
  */
2454
3115
  IfMatch?: string;
2455
- /**
2456
- * <p>The key group configuration.</p>
2457
- */
2458
- KeyGroupConfig: KeyGroupConfig | undefined;
2459
3116
  }
2460
3117
  export declare namespace UpdateKeyGroupRequest {
2461
3118
  /**
@@ -2480,6 +3137,10 @@ export declare namespace UpdateKeyGroupResult {
2480
3137
  const filterSensitiveLog: (obj: UpdateKeyGroupResult) => any;
2481
3138
  }
2482
3139
  export interface UpdateOriginRequestPolicyRequest {
3140
+ /**
3141
+ * <p>An origin request policy configuration.</p>
3142
+ */
3143
+ OriginRequestPolicyConfig: OriginRequestPolicyConfig | undefined;
2483
3144
  /**
2484
3145
  * <p>The unique identifier for the origin request policy that you are updating. The identifier is
2485
3146
  * returned in a cache behavior’s <code>OriginRequestPolicyId</code> field in the response
@@ -2492,10 +3153,6 @@ export interface UpdateOriginRequestPolicyRequest {
2492
3153
  * <code>GetOriginRequestPolicyConfig</code>.</p>
2493
3154
  */
2494
3155
  IfMatch?: string;
2495
- /**
2496
- * <p>An origin request policy configuration.</p>
2497
- */
2498
- OriginRequestPolicyConfig: OriginRequestPolicyConfig | undefined;
2499
3156
  }
2500
3157
  export declare namespace UpdateOriginRequestPolicyRequest {
2501
3158
  /**
@@ -2520,6 +3177,10 @@ export declare namespace UpdateOriginRequestPolicyResult {
2520
3177
  const filterSensitiveLog: (obj: UpdateOriginRequestPolicyResult) => any;
2521
3178
  }
2522
3179
  export interface UpdatePublicKeyRequest {
3180
+ /**
3181
+ * <p>A public key configuration.</p>
3182
+ */
3183
+ PublicKeyConfig: PublicKeyConfig | undefined;
2523
3184
  /**
2524
3185
  * <p>The identifier of the public key that you are updating.</p>
2525
3186
  */
@@ -2529,10 +3190,6 @@ export interface UpdatePublicKeyRequest {
2529
3190
  * For example: <code>E2QWRUHAPOMQZL</code>.</p>
2530
3191
  */
2531
3192
  IfMatch?: string;
2532
- /**
2533
- * <p>A public key configuration.</p>
2534
- */
2535
- PublicKeyConfig: PublicKeyConfig | undefined;
2536
3193
  }
2537
3194
  export declare namespace UpdatePublicKeyRequest {
2538
3195
  /**
@@ -2601,10 +3258,52 @@ export declare namespace UpdateRealtimeLogConfigResult {
2601
3258
  */
2602
3259
  const filterSensitiveLog: (obj: UpdateRealtimeLogConfigResult) => any;
2603
3260
  }
3261
+ export interface UpdateResponseHeadersPolicyRequest {
3262
+ /**
3263
+ * <p>A response headers policy configuration.</p>
3264
+ */
3265
+ ResponseHeadersPolicyConfig: ResponseHeadersPolicyConfig | undefined;
3266
+ /**
3267
+ * <p>The identifier for the response headers policy that you are updating.</p>
3268
+ */
3269
+ Id: string | undefined;
3270
+ /**
3271
+ * <p>The version of the response headers policy that you are updating.</p>
3272
+ * <p>The version is returned in the cache policy’s <code>ETag</code> field in the response
3273
+ * to <code>GetResponseHeadersPolicyConfig</code>.</p>
3274
+ */
3275
+ IfMatch?: string;
3276
+ }
3277
+ export declare namespace UpdateResponseHeadersPolicyRequest {
3278
+ /**
3279
+ * @internal
3280
+ */
3281
+ const filterSensitiveLog: (obj: UpdateResponseHeadersPolicyRequest) => any;
3282
+ }
3283
+ export interface UpdateResponseHeadersPolicyResult {
3284
+ /**
3285
+ * <p>A response headers policy.</p>
3286
+ */
3287
+ ResponseHeadersPolicy?: ResponseHeadersPolicy;
3288
+ /**
3289
+ * <p>The current version of the response headers policy.</p>
3290
+ */
3291
+ ETag?: string;
3292
+ }
3293
+ export declare namespace UpdateResponseHeadersPolicyResult {
3294
+ /**
3295
+ * @internal
3296
+ */
3297
+ const filterSensitiveLog: (obj: UpdateResponseHeadersPolicyResult) => any;
3298
+ }
2604
3299
  /**
2605
3300
  * <p>The request to update a streaming distribution.</p>
2606
3301
  */
2607
3302
  export interface UpdateStreamingDistributionRequest {
3303
+ /**
3304
+ * <p>The streaming distribution's configuration information.</p>
3305
+ */
3306
+ StreamingDistributionConfig: StreamingDistributionConfig | undefined;
2608
3307
  /**
2609
3308
  * <p>The streaming distribution's id.</p>
2610
3309
  */
@@ -2614,10 +3313,6 @@ export interface UpdateStreamingDistributionRequest {
2614
3313
  * streaming distribution's configuration. For example: <code>E2QWRUHAPOMQZL</code>.</p>
2615
3314
  */
2616
3315
  IfMatch?: string;
2617
- /**
2618
- * <p>The streaming distribution's configuration information.</p>
2619
- */
2620
- StreamingDistributionConfig: StreamingDistributionConfig | undefined;
2621
3316
  }
2622
3317
  export declare namespace UpdateStreamingDistributionRequest {
2623
3318
  /**