@aws-sdk/client-cloudfront 3.299.0 → 3.301.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.
- package/dist-types/commands/AssociateAliasCommand.d.ts +4 -0
- package/dist-types/commands/CopyDistributionCommand.d.ts +6 -0
- package/dist-types/commands/CreateCachePolicyCommand.d.ts +40 -0
- package/dist-types/commands/CreateCloudFrontOriginAccessIdentityCommand.d.ts +6 -0
- package/dist-types/commands/CreateContinuousDeploymentPolicyCommand.d.ts +25 -0
- package/dist-types/commands/CreateDistributionCommand.d.ts +289 -0
- package/dist-types/commands/CreateDistributionWithTagsCommand.d.ts +299 -0
- package/dist-types/commands/CreateFieldLevelEncryptionConfigCommand.d.ts +31 -0
- package/dist-types/commands/CreateFieldLevelEncryptionProfileCommand.d.ts +22 -0
- package/dist-types/commands/CreateFunctionCommand.d.ts +8 -0
- package/dist-types/commands/CreateInvalidationCommand.d.ts +12 -0
- package/dist-types/commands/CreateKeyGroupCommand.d.ts +9 -0
- package/dist-types/commands/CreateMonitoringSubscriptionCommand.d.ts +8 -0
- package/dist-types/commands/CreateOriginAccessControlCommand.d.ts +9 -0
- package/dist-types/commands/CreateOriginRequestPolicyCommand.d.ts +33 -0
- package/dist-types/commands/CreatePublicKeyCommand.d.ts +8 -0
- package/dist-types/commands/CreateRealtimeLogConfigCommand.d.ts +16 -0
- package/dist-types/commands/CreateResponseHeadersPolicyCommand.d.ts +86 -0
- package/dist-types/commands/CreateStreamingDistributionCommand.d.ts +30 -0
- package/dist-types/commands/CreateStreamingDistributionWithTagsCommand.d.ts +40 -0
- package/dist-types/commands/DeleteCachePolicyCommand.d.ts +4 -0
- package/dist-types/commands/DeleteCloudFrontOriginAccessIdentityCommand.d.ts +4 -0
- package/dist-types/commands/DeleteContinuousDeploymentPolicyCommand.d.ts +4 -0
- package/dist-types/commands/DeleteDistributionCommand.d.ts +4 -0
- package/dist-types/commands/DeleteFieldLevelEncryptionConfigCommand.d.ts +4 -0
- package/dist-types/commands/DeleteFieldLevelEncryptionProfileCommand.d.ts +4 -0
- package/dist-types/commands/DeleteFunctionCommand.d.ts +4 -0
- package/dist-types/commands/DeleteKeyGroupCommand.d.ts +4 -0
- package/dist-types/commands/DeleteMonitoringSubscriptionCommand.d.ts +3 -0
- package/dist-types/commands/DeleteOriginAccessControlCommand.d.ts +4 -0
- package/dist-types/commands/DeleteOriginRequestPolicyCommand.d.ts +4 -0
- package/dist-types/commands/DeletePublicKeyCommand.d.ts +4 -0
- package/dist-types/commands/DeleteRealtimeLogConfigCommand.d.ts +4 -0
- package/dist-types/commands/DeleteResponseHeadersPolicyCommand.d.ts +4 -0
- package/dist-types/commands/DeleteStreamingDistributionCommand.d.ts +4 -0
- package/dist-types/commands/DescribeFunctionCommand.d.ts +4 -0
- package/dist-types/commands/GetCachePolicyCommand.d.ts +3 -0
- package/dist-types/commands/GetCachePolicyConfigCommand.d.ts +3 -0
- package/dist-types/commands/GetCloudFrontOriginAccessIdentityCommand.d.ts +3 -0
- package/dist-types/commands/GetCloudFrontOriginAccessIdentityConfigCommand.d.ts +3 -0
- package/dist-types/commands/GetContinuousDeploymentPolicyCommand.d.ts +3 -0
- package/dist-types/commands/GetContinuousDeploymentPolicyConfigCommand.d.ts +3 -0
- package/dist-types/commands/GetDistributionCommand.d.ts +3 -0
- package/dist-types/commands/GetDistributionConfigCommand.d.ts +3 -0
- package/dist-types/commands/GetFieldLevelEncryptionCommand.d.ts +3 -0
- package/dist-types/commands/GetFieldLevelEncryptionConfigCommand.d.ts +3 -0
- package/dist-types/commands/GetFieldLevelEncryptionProfileCommand.d.ts +3 -0
- package/dist-types/commands/GetFieldLevelEncryptionProfileConfigCommand.d.ts +3 -0
- package/dist-types/commands/GetFunctionCommand.d.ts +4 -0
- package/dist-types/commands/GetInvalidationCommand.d.ts +4 -0
- package/dist-types/commands/GetKeyGroupCommand.d.ts +3 -0
- package/dist-types/commands/GetKeyGroupConfigCommand.d.ts +3 -0
- package/dist-types/commands/GetMonitoringSubscriptionCommand.d.ts +3 -0
- package/dist-types/commands/GetOriginAccessControlCommand.d.ts +3 -0
- package/dist-types/commands/GetOriginAccessControlConfigCommand.d.ts +3 -0
- package/dist-types/commands/GetOriginRequestPolicyCommand.d.ts +3 -0
- package/dist-types/commands/GetOriginRequestPolicyConfigCommand.d.ts +3 -0
- package/dist-types/commands/GetPublicKeyCommand.d.ts +3 -0
- package/dist-types/commands/GetPublicKeyConfigCommand.d.ts +3 -0
- package/dist-types/commands/GetRealtimeLogConfigCommand.d.ts +4 -0
- package/dist-types/commands/GetResponseHeadersPolicyCommand.d.ts +3 -0
- package/dist-types/commands/GetResponseHeadersPolicyConfigCommand.d.ts +3 -0
- package/dist-types/commands/GetStreamingDistributionCommand.d.ts +3 -0
- package/dist-types/commands/GetStreamingDistributionConfigCommand.d.ts +3 -0
- package/dist-types/commands/ListCachePoliciesCommand.d.ts +5 -0
- package/dist-types/commands/ListCloudFrontOriginAccessIdentitiesCommand.d.ts +4 -0
- package/dist-types/commands/ListConflictingAliasesCommand.d.ts +6 -0
- package/dist-types/commands/ListContinuousDeploymentPoliciesCommand.d.ts +4 -0
- package/dist-types/commands/ListDistributionsByCachePolicyIdCommand.d.ts +5 -0
- package/dist-types/commands/ListDistributionsByKeyGroupCommand.d.ts +5 -0
- package/dist-types/commands/ListDistributionsByOriginRequestPolicyIdCommand.d.ts +5 -0
- package/dist-types/commands/ListDistributionsByRealtimeLogConfigCommand.d.ts +6 -0
- package/dist-types/commands/ListDistributionsByResponseHeadersPolicyIdCommand.d.ts +5 -0
- package/dist-types/commands/ListDistributionsByWebACLIdCommand.d.ts +5 -0
- package/dist-types/commands/ListDistributionsCommand.d.ts +4 -0
- package/dist-types/commands/ListFieldLevelEncryptionConfigsCommand.d.ts +4 -0
- package/dist-types/commands/ListFieldLevelEncryptionProfilesCommand.d.ts +4 -0
- package/dist-types/commands/ListFunctionsCommand.d.ts +5 -0
- package/dist-types/commands/ListInvalidationsCommand.d.ts +5 -0
- package/dist-types/commands/ListKeyGroupsCommand.d.ts +4 -0
- package/dist-types/commands/ListOriginAccessControlsCommand.d.ts +4 -0
- package/dist-types/commands/ListOriginRequestPoliciesCommand.d.ts +5 -0
- package/dist-types/commands/ListPublicKeysCommand.d.ts +4 -0
- package/dist-types/commands/ListRealtimeLogConfigsCommand.d.ts +4 -0
- package/dist-types/commands/ListResponseHeadersPoliciesCommand.d.ts +5 -0
- package/dist-types/commands/ListStreamingDistributionsCommand.d.ts +4 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -0
- package/dist-types/commands/PublishFunctionCommand.d.ts +4 -0
- package/dist-types/commands/TagResourceCommand.d.ts +11 -0
- package/dist-types/commands/TestFunctionCommand.d.ts +6 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +8 -0
- package/dist-types/commands/UpdateCachePolicyCommand.d.ts +42 -0
- package/dist-types/commands/UpdateCloudFrontOriginAccessIdentityCommand.d.ts +8 -0
- package/dist-types/commands/UpdateContinuousDeploymentPolicyCommand.d.ts +27 -0
- package/dist-types/commands/UpdateDistributionCommand.d.ts +291 -0
- package/dist-types/commands/UpdateDistributionWithStagingConfigCommand.d.ts +5 -0
- package/dist-types/commands/UpdateFieldLevelEncryptionConfigCommand.d.ts +33 -0
- package/dist-types/commands/UpdateFieldLevelEncryptionProfileCommand.d.ts +24 -0
- package/dist-types/commands/UpdateFunctionCommand.d.ts +9 -0
- package/dist-types/commands/UpdateKeyGroupCommand.d.ts +11 -0
- package/dist-types/commands/UpdateOriginAccessControlCommand.d.ts +11 -0
- package/dist-types/commands/UpdateOriginRequestPolicyCommand.d.ts +35 -0
- package/dist-types/commands/UpdatePublicKeyCommand.d.ts +10 -0
- package/dist-types/commands/UpdateRealtimeLogConfigCommand.d.ts +17 -0
- package/dist-types/commands/UpdateResponseHeadersPolicyCommand.d.ts +88 -0
- package/dist-types/commands/UpdateStreamingDistributionCommand.d.ts +32 -0
- package/package.json +8 -8
|
@@ -26,6 +26,305 @@ export interface CreateDistributionWithTagsCommandOutput extends CreateDistribut
|
|
|
26
26
|
* import { CloudFrontClient, CreateDistributionWithTagsCommand } from "@aws-sdk/client-cloudfront"; // ES Modules import
|
|
27
27
|
* // const { CloudFrontClient, CreateDistributionWithTagsCommand } = require("@aws-sdk/client-cloudfront"); // CommonJS import
|
|
28
28
|
* const client = new CloudFrontClient(config);
|
|
29
|
+
* const input = { // CreateDistributionWithTagsRequest
|
|
30
|
+
* DistributionConfigWithTags: { // DistributionConfigWithTags
|
|
31
|
+
* DistributionConfig: { // DistributionConfig
|
|
32
|
+
* CallerReference: "STRING_VALUE", // required
|
|
33
|
+
* Aliases: { // Aliases
|
|
34
|
+
* Quantity: Number("int"), // required
|
|
35
|
+
* Items: [ // AliasList
|
|
36
|
+
* "STRING_VALUE",
|
|
37
|
+
* ],
|
|
38
|
+
* },
|
|
39
|
+
* DefaultRootObject: "STRING_VALUE",
|
|
40
|
+
* Origins: { // Origins
|
|
41
|
+
* Quantity: Number("int"), // required
|
|
42
|
+
* Items: [ // OriginList // required
|
|
43
|
+
* { // Origin
|
|
44
|
+
* Id: "STRING_VALUE", // required
|
|
45
|
+
* DomainName: "STRING_VALUE", // required
|
|
46
|
+
* OriginPath: "STRING_VALUE",
|
|
47
|
+
* CustomHeaders: { // CustomHeaders
|
|
48
|
+
* Quantity: Number("int"), // required
|
|
49
|
+
* Items: [ // OriginCustomHeadersList
|
|
50
|
+
* { // OriginCustomHeader
|
|
51
|
+
* HeaderName: "STRING_VALUE", // required
|
|
52
|
+
* HeaderValue: "STRING_VALUE", // required
|
|
53
|
+
* },
|
|
54
|
+
* ],
|
|
55
|
+
* },
|
|
56
|
+
* S3OriginConfig: { // S3OriginConfig
|
|
57
|
+
* OriginAccessIdentity: "STRING_VALUE", // required
|
|
58
|
+
* },
|
|
59
|
+
* CustomOriginConfig: { // CustomOriginConfig
|
|
60
|
+
* HTTPPort: Number("int"), // required
|
|
61
|
+
* HTTPSPort: Number("int"), // required
|
|
62
|
+
* OriginProtocolPolicy: "http-only" || "match-viewer" || "https-only", // required
|
|
63
|
+
* OriginSslProtocols: { // OriginSslProtocols
|
|
64
|
+
* Quantity: Number("int"), // required
|
|
65
|
+
* Items: [ // SslProtocolsList // required
|
|
66
|
+
* "SSLv3" || "TLSv1" || "TLSv1.1" || "TLSv1.2",
|
|
67
|
+
* ],
|
|
68
|
+
* },
|
|
69
|
+
* OriginReadTimeout: Number("int"),
|
|
70
|
+
* OriginKeepaliveTimeout: Number("int"),
|
|
71
|
+
* },
|
|
72
|
+
* ConnectionAttempts: Number("int"),
|
|
73
|
+
* ConnectionTimeout: Number("int"),
|
|
74
|
+
* OriginShield: { // OriginShield
|
|
75
|
+
* Enabled: true || false, // required
|
|
76
|
+
* OriginShieldRegion: "STRING_VALUE",
|
|
77
|
+
* },
|
|
78
|
+
* OriginAccessControlId: "STRING_VALUE",
|
|
79
|
+
* },
|
|
80
|
+
* ],
|
|
81
|
+
* },
|
|
82
|
+
* OriginGroups: { // OriginGroups
|
|
83
|
+
* Quantity: Number("int"), // required
|
|
84
|
+
* Items: [ // OriginGroupList
|
|
85
|
+
* { // OriginGroup
|
|
86
|
+
* Id: "STRING_VALUE", // required
|
|
87
|
+
* FailoverCriteria: { // OriginGroupFailoverCriteria
|
|
88
|
+
* StatusCodes: { // StatusCodes
|
|
89
|
+
* Quantity: Number("int"), // required
|
|
90
|
+
* Items: [ // StatusCodeList // required
|
|
91
|
+
* Number("int"),
|
|
92
|
+
* ],
|
|
93
|
+
* },
|
|
94
|
+
* },
|
|
95
|
+
* Members: { // OriginGroupMembers
|
|
96
|
+
* Quantity: Number("int"), // required
|
|
97
|
+
* Items: [ // OriginGroupMemberList // required
|
|
98
|
+
* { // OriginGroupMember
|
|
99
|
+
* OriginId: "STRING_VALUE", // required
|
|
100
|
+
* },
|
|
101
|
+
* ],
|
|
102
|
+
* },
|
|
103
|
+
* },
|
|
104
|
+
* ],
|
|
105
|
+
* },
|
|
106
|
+
* DefaultCacheBehavior: { // DefaultCacheBehavior
|
|
107
|
+
* TargetOriginId: "STRING_VALUE", // required
|
|
108
|
+
* TrustedSigners: { // TrustedSigners
|
|
109
|
+
* Enabled: true || false, // required
|
|
110
|
+
* Quantity: Number("int"), // required
|
|
111
|
+
* Items: [ // AwsAccountNumberList
|
|
112
|
+
* "STRING_VALUE",
|
|
113
|
+
* ],
|
|
114
|
+
* },
|
|
115
|
+
* TrustedKeyGroups: { // TrustedKeyGroups
|
|
116
|
+
* Enabled: true || false, // required
|
|
117
|
+
* Quantity: Number("int"), // required
|
|
118
|
+
* Items: [ // TrustedKeyGroupIdList
|
|
119
|
+
* "STRING_VALUE",
|
|
120
|
+
* ],
|
|
121
|
+
* },
|
|
122
|
+
* ViewerProtocolPolicy: "allow-all" || "https-only" || "redirect-to-https", // required
|
|
123
|
+
* AllowedMethods: { // AllowedMethods
|
|
124
|
+
* Quantity: Number("int"), // required
|
|
125
|
+
* Items: [ // MethodsList // required
|
|
126
|
+
* "GET" || "HEAD" || "POST" || "PUT" || "PATCH" || "OPTIONS" || "DELETE",
|
|
127
|
+
* ],
|
|
128
|
+
* CachedMethods: { // CachedMethods
|
|
129
|
+
* Quantity: Number("int"), // required
|
|
130
|
+
* Items: [ // required
|
|
131
|
+
* "GET" || "HEAD" || "POST" || "PUT" || "PATCH" || "OPTIONS" || "DELETE",
|
|
132
|
+
* ],
|
|
133
|
+
* },
|
|
134
|
+
* },
|
|
135
|
+
* SmoothStreaming: true || false,
|
|
136
|
+
* Compress: true || false,
|
|
137
|
+
* LambdaFunctionAssociations: { // LambdaFunctionAssociations
|
|
138
|
+
* Quantity: Number("int"), // required
|
|
139
|
+
* Items: [ // LambdaFunctionAssociationList
|
|
140
|
+
* { // LambdaFunctionAssociation
|
|
141
|
+
* LambdaFunctionARN: "STRING_VALUE", // required
|
|
142
|
+
* EventType: "viewer-request" || "viewer-response" || "origin-request" || "origin-response", // required
|
|
143
|
+
* IncludeBody: true || false,
|
|
144
|
+
* },
|
|
145
|
+
* ],
|
|
146
|
+
* },
|
|
147
|
+
* FunctionAssociations: { // FunctionAssociations
|
|
148
|
+
* Quantity: Number("int"), // required
|
|
149
|
+
* Items: [ // FunctionAssociationList
|
|
150
|
+
* { // FunctionAssociation
|
|
151
|
+
* FunctionARN: "STRING_VALUE", // required
|
|
152
|
+
* EventType: "viewer-request" || "viewer-response" || "origin-request" || "origin-response", // required
|
|
153
|
+
* },
|
|
154
|
+
* ],
|
|
155
|
+
* },
|
|
156
|
+
* FieldLevelEncryptionId: "STRING_VALUE",
|
|
157
|
+
* RealtimeLogConfigArn: "STRING_VALUE",
|
|
158
|
+
* CachePolicyId: "STRING_VALUE",
|
|
159
|
+
* OriginRequestPolicyId: "STRING_VALUE",
|
|
160
|
+
* ResponseHeadersPolicyId: "STRING_VALUE",
|
|
161
|
+
* ForwardedValues: { // ForwardedValues
|
|
162
|
+
* QueryString: true || false, // required
|
|
163
|
+
* Cookies: { // CookiePreference
|
|
164
|
+
* Forward: "none" || "whitelist" || "all", // required
|
|
165
|
+
* WhitelistedNames: { // CookieNames
|
|
166
|
+
* Quantity: Number("int"), // required
|
|
167
|
+
* Items: [ // CookieNameList
|
|
168
|
+
* "STRING_VALUE",
|
|
169
|
+
* ],
|
|
170
|
+
* },
|
|
171
|
+
* },
|
|
172
|
+
* Headers: { // Headers
|
|
173
|
+
* Quantity: Number("int"), // required
|
|
174
|
+
* Items: [ // HeaderList
|
|
175
|
+
* "STRING_VALUE",
|
|
176
|
+
* ],
|
|
177
|
+
* },
|
|
178
|
+
* QueryStringCacheKeys: { // QueryStringCacheKeys
|
|
179
|
+
* Quantity: Number("int"), // required
|
|
180
|
+
* Items: [ // QueryStringCacheKeysList
|
|
181
|
+
* "STRING_VALUE",
|
|
182
|
+
* ],
|
|
183
|
+
* },
|
|
184
|
+
* },
|
|
185
|
+
* MinTTL: Number("long"),
|
|
186
|
+
* DefaultTTL: Number("long"),
|
|
187
|
+
* MaxTTL: Number("long"),
|
|
188
|
+
* },
|
|
189
|
+
* CacheBehaviors: { // CacheBehaviors
|
|
190
|
+
* Quantity: Number("int"), // required
|
|
191
|
+
* Items: [ // CacheBehaviorList
|
|
192
|
+
* { // CacheBehavior
|
|
193
|
+
* PathPattern: "STRING_VALUE", // required
|
|
194
|
+
* TargetOriginId: "STRING_VALUE", // required
|
|
195
|
+
* TrustedSigners: {
|
|
196
|
+
* Enabled: true || false, // required
|
|
197
|
+
* Quantity: Number("int"), // required
|
|
198
|
+
* Items: [
|
|
199
|
+
* "STRING_VALUE",
|
|
200
|
+
* ],
|
|
201
|
+
* },
|
|
202
|
+
* TrustedKeyGroups: {
|
|
203
|
+
* Enabled: true || false, // required
|
|
204
|
+
* Quantity: Number("int"), // required
|
|
205
|
+
* Items: [
|
|
206
|
+
* "STRING_VALUE",
|
|
207
|
+
* ],
|
|
208
|
+
* },
|
|
209
|
+
* ViewerProtocolPolicy: "allow-all" || "https-only" || "redirect-to-https", // required
|
|
210
|
+
* AllowedMethods: {
|
|
211
|
+
* Quantity: Number("int"), // required
|
|
212
|
+
* Items: "<MethodsList>", // required
|
|
213
|
+
* CachedMethods: {
|
|
214
|
+
* Quantity: Number("int"), // required
|
|
215
|
+
* Items: "<MethodsList>", // required
|
|
216
|
+
* },
|
|
217
|
+
* },
|
|
218
|
+
* SmoothStreaming: true || false,
|
|
219
|
+
* Compress: true || false,
|
|
220
|
+
* LambdaFunctionAssociations: {
|
|
221
|
+
* Quantity: Number("int"), // required
|
|
222
|
+
* Items: [
|
|
223
|
+
* {
|
|
224
|
+
* LambdaFunctionARN: "STRING_VALUE", // required
|
|
225
|
+
* EventType: "viewer-request" || "viewer-response" || "origin-request" || "origin-response", // required
|
|
226
|
+
* IncludeBody: true || false,
|
|
227
|
+
* },
|
|
228
|
+
* ],
|
|
229
|
+
* },
|
|
230
|
+
* FunctionAssociations: {
|
|
231
|
+
* Quantity: Number("int"), // required
|
|
232
|
+
* Items: [
|
|
233
|
+
* {
|
|
234
|
+
* FunctionARN: "STRING_VALUE", // required
|
|
235
|
+
* EventType: "viewer-request" || "viewer-response" || "origin-request" || "origin-response", // required
|
|
236
|
+
* },
|
|
237
|
+
* ],
|
|
238
|
+
* },
|
|
239
|
+
* FieldLevelEncryptionId: "STRING_VALUE",
|
|
240
|
+
* RealtimeLogConfigArn: "STRING_VALUE",
|
|
241
|
+
* CachePolicyId: "STRING_VALUE",
|
|
242
|
+
* OriginRequestPolicyId: "STRING_VALUE",
|
|
243
|
+
* ResponseHeadersPolicyId: "STRING_VALUE",
|
|
244
|
+
* ForwardedValues: {
|
|
245
|
+
* QueryString: true || false, // required
|
|
246
|
+
* Cookies: {
|
|
247
|
+
* Forward: "none" || "whitelist" || "all", // required
|
|
248
|
+
* WhitelistedNames: {
|
|
249
|
+
* Quantity: Number("int"), // required
|
|
250
|
+
* Items: [
|
|
251
|
+
* "STRING_VALUE",
|
|
252
|
+
* ],
|
|
253
|
+
* },
|
|
254
|
+
* },
|
|
255
|
+
* Headers: {
|
|
256
|
+
* Quantity: Number("int"), // required
|
|
257
|
+
* Items: [
|
|
258
|
+
* "STRING_VALUE",
|
|
259
|
+
* ],
|
|
260
|
+
* },
|
|
261
|
+
* QueryStringCacheKeys: {
|
|
262
|
+
* Quantity: Number("int"), // required
|
|
263
|
+
* Items: [
|
|
264
|
+
* "STRING_VALUE",
|
|
265
|
+
* ],
|
|
266
|
+
* },
|
|
267
|
+
* },
|
|
268
|
+
* MinTTL: Number("long"),
|
|
269
|
+
* DefaultTTL: Number("long"),
|
|
270
|
+
* MaxTTL: Number("long"),
|
|
271
|
+
* },
|
|
272
|
+
* ],
|
|
273
|
+
* },
|
|
274
|
+
* CustomErrorResponses: { // CustomErrorResponses
|
|
275
|
+
* Quantity: Number("int"), // required
|
|
276
|
+
* Items: [ // CustomErrorResponseList
|
|
277
|
+
* { // CustomErrorResponse
|
|
278
|
+
* ErrorCode: Number("int"), // required
|
|
279
|
+
* ResponsePagePath: "STRING_VALUE",
|
|
280
|
+
* ResponseCode: "STRING_VALUE",
|
|
281
|
+
* ErrorCachingMinTTL: Number("long"),
|
|
282
|
+
* },
|
|
283
|
+
* ],
|
|
284
|
+
* },
|
|
285
|
+
* Comment: "STRING_VALUE", // required
|
|
286
|
+
* Logging: { // LoggingConfig
|
|
287
|
+
* Enabled: true || false, // required
|
|
288
|
+
* IncludeCookies: true || false, // required
|
|
289
|
+
* Bucket: "STRING_VALUE", // required
|
|
290
|
+
* Prefix: "STRING_VALUE", // required
|
|
291
|
+
* },
|
|
292
|
+
* PriceClass: "PriceClass_100" || "PriceClass_200" || "PriceClass_All",
|
|
293
|
+
* Enabled: true || false, // required
|
|
294
|
+
* ViewerCertificate: { // ViewerCertificate
|
|
295
|
+
* CloudFrontDefaultCertificate: true || false,
|
|
296
|
+
* IAMCertificateId: "STRING_VALUE",
|
|
297
|
+
* ACMCertificateArn: "STRING_VALUE",
|
|
298
|
+
* SSLSupportMethod: "sni-only" || "vip" || "static-ip",
|
|
299
|
+
* MinimumProtocolVersion: "SSLv3" || "TLSv1" || "TLSv1_2016" || "TLSv1.1_2016" || "TLSv1.2_2018" || "TLSv1.2_2019" || "TLSv1.2_2021",
|
|
300
|
+
* Certificate: "STRING_VALUE",
|
|
301
|
+
* CertificateSource: "cloudfront" || "iam" || "acm",
|
|
302
|
+
* },
|
|
303
|
+
* Restrictions: { // Restrictions
|
|
304
|
+
* GeoRestriction: { // GeoRestriction
|
|
305
|
+
* RestrictionType: "blacklist" || "whitelist" || "none", // required
|
|
306
|
+
* Quantity: Number("int"), // required
|
|
307
|
+
* Items: [ // LocationList
|
|
308
|
+
* "STRING_VALUE",
|
|
309
|
+
* ],
|
|
310
|
+
* },
|
|
311
|
+
* },
|
|
312
|
+
* WebACLId: "STRING_VALUE",
|
|
313
|
+
* HttpVersion: "http1.1" || "http2" || "http3" || "http2and3",
|
|
314
|
+
* IsIPV6Enabled: true || false,
|
|
315
|
+
* ContinuousDeploymentPolicyId: "STRING_VALUE",
|
|
316
|
+
* Staging: true || false,
|
|
317
|
+
* },
|
|
318
|
+
* Tags: { // Tags
|
|
319
|
+
* Items: [ // TagList
|
|
320
|
+
* { // Tag
|
|
321
|
+
* Key: "STRING_VALUE", // required
|
|
322
|
+
* Value: "STRING_VALUE",
|
|
323
|
+
* },
|
|
324
|
+
* ],
|
|
325
|
+
* },
|
|
326
|
+
* },
|
|
327
|
+
* };
|
|
29
328
|
* const command = new CreateDistributionWithTagsCommand(input);
|
|
30
329
|
* const response = await client.send(command);
|
|
31
330
|
* ```
|
|
@@ -26,6 +26,37 @@ export interface CreateFieldLevelEncryptionConfigCommandOutput extends CreateFie
|
|
|
26
26
|
* import { CloudFrontClient, CreateFieldLevelEncryptionConfigCommand } from "@aws-sdk/client-cloudfront"; // ES Modules import
|
|
27
27
|
* // const { CloudFrontClient, CreateFieldLevelEncryptionConfigCommand } = require("@aws-sdk/client-cloudfront"); // CommonJS import
|
|
28
28
|
* const client = new CloudFrontClient(config);
|
|
29
|
+
* const input = { // CreateFieldLevelEncryptionConfigRequest
|
|
30
|
+
* FieldLevelEncryptionConfig: { // FieldLevelEncryptionConfig
|
|
31
|
+
* CallerReference: "STRING_VALUE", // required
|
|
32
|
+
* Comment: "STRING_VALUE",
|
|
33
|
+
* QueryArgProfileConfig: { // QueryArgProfileConfig
|
|
34
|
+
* ForwardWhenQueryArgProfileIsUnknown: true || false, // required
|
|
35
|
+
* QueryArgProfiles: { // QueryArgProfiles
|
|
36
|
+
* Quantity: Number("int"), // required
|
|
37
|
+
* Items: [ // QueryArgProfileList
|
|
38
|
+
* { // QueryArgProfile
|
|
39
|
+
* QueryArg: "STRING_VALUE", // required
|
|
40
|
+
* ProfileId: "STRING_VALUE", // required
|
|
41
|
+
* },
|
|
42
|
+
* ],
|
|
43
|
+
* },
|
|
44
|
+
* },
|
|
45
|
+
* ContentTypeProfileConfig: { // ContentTypeProfileConfig
|
|
46
|
+
* ForwardWhenContentTypeIsUnknown: true || false, // required
|
|
47
|
+
* ContentTypeProfiles: { // ContentTypeProfiles
|
|
48
|
+
* Quantity: Number("int"), // required
|
|
49
|
+
* Items: [ // ContentTypeProfileList
|
|
50
|
+
* { // ContentTypeProfile
|
|
51
|
+
* Format: "URLEncoded", // required
|
|
52
|
+
* ProfileId: "STRING_VALUE",
|
|
53
|
+
* ContentType: "STRING_VALUE", // required
|
|
54
|
+
* },
|
|
55
|
+
* ],
|
|
56
|
+
* },
|
|
57
|
+
* },
|
|
58
|
+
* },
|
|
59
|
+
* };
|
|
29
60
|
* const command = new CreateFieldLevelEncryptionConfigCommand(input);
|
|
30
61
|
* const response = await client.send(command);
|
|
31
62
|
* ```
|
|
@@ -26,6 +26,28 @@ export interface CreateFieldLevelEncryptionProfileCommandOutput extends CreateFi
|
|
|
26
26
|
* import { CloudFrontClient, CreateFieldLevelEncryptionProfileCommand } from "@aws-sdk/client-cloudfront"; // ES Modules import
|
|
27
27
|
* // const { CloudFrontClient, CreateFieldLevelEncryptionProfileCommand } = require("@aws-sdk/client-cloudfront"); // CommonJS import
|
|
28
28
|
* const client = new CloudFrontClient(config);
|
|
29
|
+
* const input = { // CreateFieldLevelEncryptionProfileRequest
|
|
30
|
+
* FieldLevelEncryptionProfileConfig: { // FieldLevelEncryptionProfileConfig
|
|
31
|
+
* Name: "STRING_VALUE", // required
|
|
32
|
+
* CallerReference: "STRING_VALUE", // required
|
|
33
|
+
* Comment: "STRING_VALUE",
|
|
34
|
+
* EncryptionEntities: { // EncryptionEntities
|
|
35
|
+
* Quantity: Number("int"), // required
|
|
36
|
+
* Items: [ // EncryptionEntityList
|
|
37
|
+
* { // EncryptionEntity
|
|
38
|
+
* PublicKeyId: "STRING_VALUE", // required
|
|
39
|
+
* ProviderId: "STRING_VALUE", // required
|
|
40
|
+
* FieldPatterns: { // FieldPatterns
|
|
41
|
+
* Quantity: Number("int"), // required
|
|
42
|
+
* Items: [ // FieldPatternList
|
|
43
|
+
* "STRING_VALUE",
|
|
44
|
+
* ],
|
|
45
|
+
* },
|
|
46
|
+
* },
|
|
47
|
+
* ],
|
|
48
|
+
* },
|
|
49
|
+
* },
|
|
50
|
+
* };
|
|
29
51
|
* const command = new CreateFieldLevelEncryptionProfileCommand(input);
|
|
30
52
|
* const response = await client.send(command);
|
|
31
53
|
* ```
|
|
@@ -36,6 +36,14 @@ export interface CreateFunctionCommandOutput extends CreateFunctionResult, __Met
|
|
|
36
36
|
* import { CloudFrontClient, CreateFunctionCommand } from "@aws-sdk/client-cloudfront"; // ES Modules import
|
|
37
37
|
* // const { CloudFrontClient, CreateFunctionCommand } = require("@aws-sdk/client-cloudfront"); // CommonJS import
|
|
38
38
|
* const client = new CloudFrontClient(config);
|
|
39
|
+
* const input = { // CreateFunctionRequest
|
|
40
|
+
* Name: "STRING_VALUE", // required
|
|
41
|
+
* FunctionConfig: { // FunctionConfig
|
|
42
|
+
* Comment: "STRING_VALUE", // required
|
|
43
|
+
* Runtime: "cloudfront-js-1.0", // required
|
|
44
|
+
* },
|
|
45
|
+
* FunctionCode: "BLOB_VALUE", // required
|
|
46
|
+
* };
|
|
39
47
|
* const command = new CreateFunctionCommand(input);
|
|
40
48
|
* const response = await client.send(command);
|
|
41
49
|
* ```
|
|
@@ -26,6 +26,18 @@ export interface CreateInvalidationCommandOutput extends CreateInvalidationResul
|
|
|
26
26
|
* import { CloudFrontClient, CreateInvalidationCommand } from "@aws-sdk/client-cloudfront"; // ES Modules import
|
|
27
27
|
* // const { CloudFrontClient, CreateInvalidationCommand } = require("@aws-sdk/client-cloudfront"); // CommonJS import
|
|
28
28
|
* const client = new CloudFrontClient(config);
|
|
29
|
+
* const input = { // CreateInvalidationRequest
|
|
30
|
+
* DistributionId: "STRING_VALUE", // required
|
|
31
|
+
* InvalidationBatch: { // InvalidationBatch
|
|
32
|
+
* Paths: { // Paths
|
|
33
|
+
* Quantity: Number("int"), // required
|
|
34
|
+
* Items: [ // PathList
|
|
35
|
+
* "STRING_VALUE",
|
|
36
|
+
* ],
|
|
37
|
+
* },
|
|
38
|
+
* CallerReference: "STRING_VALUE", // required
|
|
39
|
+
* },
|
|
40
|
+
* };
|
|
29
41
|
* const command = new CreateInvalidationCommand(input);
|
|
30
42
|
* const response = await client.send(command);
|
|
31
43
|
* ```
|
|
@@ -34,6 +34,15 @@ export interface CreateKeyGroupCommandOutput extends CreateKeyGroupResult, __Met
|
|
|
34
34
|
* import { CloudFrontClient, CreateKeyGroupCommand } from "@aws-sdk/client-cloudfront"; // ES Modules import
|
|
35
35
|
* // const { CloudFrontClient, CreateKeyGroupCommand } = require("@aws-sdk/client-cloudfront"); // CommonJS import
|
|
36
36
|
* const client = new CloudFrontClient(config);
|
|
37
|
+
* const input = { // CreateKeyGroupRequest
|
|
38
|
+
* KeyGroupConfig: { // KeyGroupConfig
|
|
39
|
+
* Name: "STRING_VALUE", // required
|
|
40
|
+
* Items: [ // PublicKeyIdList // required
|
|
41
|
+
* "STRING_VALUE",
|
|
42
|
+
* ],
|
|
43
|
+
* Comment: "STRING_VALUE",
|
|
44
|
+
* },
|
|
45
|
+
* };
|
|
37
46
|
* const command = new CreateKeyGroupCommand(input);
|
|
38
47
|
* const response = await client.send(command);
|
|
39
48
|
* ```
|
|
@@ -29,6 +29,14 @@ export interface CreateMonitoringSubscriptionCommandOutput extends CreateMonitor
|
|
|
29
29
|
* import { CloudFrontClient, CreateMonitoringSubscriptionCommand } from "@aws-sdk/client-cloudfront"; // ES Modules import
|
|
30
30
|
* // const { CloudFrontClient, CreateMonitoringSubscriptionCommand } = require("@aws-sdk/client-cloudfront"); // CommonJS import
|
|
31
31
|
* const client = new CloudFrontClient(config);
|
|
32
|
+
* const input = { // CreateMonitoringSubscriptionRequest
|
|
33
|
+
* DistributionId: "STRING_VALUE", // required
|
|
34
|
+
* MonitoringSubscription: { // MonitoringSubscription
|
|
35
|
+
* RealtimeMetricsSubscriptionConfig: { // RealtimeMetricsSubscriptionConfig
|
|
36
|
+
* RealtimeMetricsSubscriptionStatus: "Enabled" || "Disabled", // required
|
|
37
|
+
* },
|
|
38
|
+
* },
|
|
39
|
+
* };
|
|
32
40
|
* const command = new CreateMonitoringSubscriptionCommand(input);
|
|
33
41
|
* const response = await client.send(command);
|
|
34
42
|
* ```
|
|
@@ -32,6 +32,15 @@ export interface CreateOriginAccessControlCommandOutput extends CreateOriginAcce
|
|
|
32
32
|
* import { CloudFrontClient, CreateOriginAccessControlCommand } from "@aws-sdk/client-cloudfront"; // ES Modules import
|
|
33
33
|
* // const { CloudFrontClient, CreateOriginAccessControlCommand } = require("@aws-sdk/client-cloudfront"); // CommonJS import
|
|
34
34
|
* const client = new CloudFrontClient(config);
|
|
35
|
+
* const input = { // CreateOriginAccessControlRequest
|
|
36
|
+
* OriginAccessControlConfig: { // OriginAccessControlConfig
|
|
37
|
+
* Name: "STRING_VALUE", // required
|
|
38
|
+
* Description: "STRING_VALUE",
|
|
39
|
+
* SigningProtocol: "sigv4", // required
|
|
40
|
+
* SigningBehavior: "never" || "always" || "no-override", // required
|
|
41
|
+
* OriginAccessControlOriginType: "s3" || "mediastore", // required
|
|
42
|
+
* },
|
|
43
|
+
* };
|
|
35
44
|
* const command = new CreateOriginAccessControlCommand(input);
|
|
36
45
|
* const response = await client.send(command);
|
|
37
46
|
* ```
|
|
@@ -52,6 +52,39 @@ export interface CreateOriginRequestPolicyCommandOutput extends CreateOriginRequ
|
|
|
52
52
|
* import { CloudFrontClient, CreateOriginRequestPolicyCommand } from "@aws-sdk/client-cloudfront"; // ES Modules import
|
|
53
53
|
* // const { CloudFrontClient, CreateOriginRequestPolicyCommand } = require("@aws-sdk/client-cloudfront"); // CommonJS import
|
|
54
54
|
* const client = new CloudFrontClient(config);
|
|
55
|
+
* const input = { // CreateOriginRequestPolicyRequest
|
|
56
|
+
* OriginRequestPolicyConfig: { // OriginRequestPolicyConfig
|
|
57
|
+
* Comment: "STRING_VALUE",
|
|
58
|
+
* Name: "STRING_VALUE", // required
|
|
59
|
+
* HeadersConfig: { // OriginRequestPolicyHeadersConfig
|
|
60
|
+
* HeaderBehavior: "none" || "whitelist" || "allViewer" || "allViewerAndWhitelistCloudFront" || "allExcept", // required
|
|
61
|
+
* Headers: { // Headers
|
|
62
|
+
* Quantity: Number("int"), // required
|
|
63
|
+
* Items: [ // HeaderList
|
|
64
|
+
* "STRING_VALUE",
|
|
65
|
+
* ],
|
|
66
|
+
* },
|
|
67
|
+
* },
|
|
68
|
+
* CookiesConfig: { // OriginRequestPolicyCookiesConfig
|
|
69
|
+
* CookieBehavior: "none" || "whitelist" || "all" || "allExcept", // required
|
|
70
|
+
* Cookies: { // CookieNames
|
|
71
|
+
* Quantity: Number("int"), // required
|
|
72
|
+
* Items: [ // CookieNameList
|
|
73
|
+
* "STRING_VALUE",
|
|
74
|
+
* ],
|
|
75
|
+
* },
|
|
76
|
+
* },
|
|
77
|
+
* QueryStringsConfig: { // OriginRequestPolicyQueryStringsConfig
|
|
78
|
+
* QueryStringBehavior: "none" || "whitelist" || "all" || "allExcept", // required
|
|
79
|
+
* QueryStrings: { // QueryStringNames
|
|
80
|
+
* Quantity: Number("int"), // required
|
|
81
|
+
* Items: [ // QueryStringNamesList
|
|
82
|
+
* "STRING_VALUE",
|
|
83
|
+
* ],
|
|
84
|
+
* },
|
|
85
|
+
* },
|
|
86
|
+
* },
|
|
87
|
+
* };
|
|
55
88
|
* const command = new CreateOriginRequestPolicyCommand(input);
|
|
56
89
|
* const response = await client.send(command);
|
|
57
90
|
* ```
|
|
@@ -26,6 +26,14 @@ export interface CreatePublicKeyCommandOutput extends CreatePublicKeyResult, __M
|
|
|
26
26
|
* import { CloudFrontClient, CreatePublicKeyCommand } from "@aws-sdk/client-cloudfront"; // ES Modules import
|
|
27
27
|
* // const { CloudFrontClient, CreatePublicKeyCommand } = require("@aws-sdk/client-cloudfront"); // CommonJS import
|
|
28
28
|
* const client = new CloudFrontClient(config);
|
|
29
|
+
* const input = { // CreatePublicKeyRequest
|
|
30
|
+
* PublicKeyConfig: { // PublicKeyConfig
|
|
31
|
+
* CallerReference: "STRING_VALUE", // required
|
|
32
|
+
* Name: "STRING_VALUE", // required
|
|
33
|
+
* EncodedKey: "STRING_VALUE", // required
|
|
34
|
+
* Comment: "STRING_VALUE",
|
|
35
|
+
* },
|
|
36
|
+
* };
|
|
29
37
|
* const command = new CreatePublicKeyCommand(input);
|
|
30
38
|
* const response = await client.send(command);
|
|
31
39
|
* ```
|
|
@@ -30,6 +30,22 @@ export interface CreateRealtimeLogConfigCommandOutput extends CreateRealtimeLogC
|
|
|
30
30
|
* import { CloudFrontClient, CreateRealtimeLogConfigCommand } from "@aws-sdk/client-cloudfront"; // ES Modules import
|
|
31
31
|
* // const { CloudFrontClient, CreateRealtimeLogConfigCommand } = require("@aws-sdk/client-cloudfront"); // CommonJS import
|
|
32
32
|
* const client = new CloudFrontClient(config);
|
|
33
|
+
* const input = { // CreateRealtimeLogConfigRequest
|
|
34
|
+
* EndPoints: [ // EndPointList // required
|
|
35
|
+
* { // EndPoint
|
|
36
|
+
* StreamType: "STRING_VALUE", // required
|
|
37
|
+
* KinesisStreamConfig: { // KinesisStreamConfig
|
|
38
|
+
* RoleARN: "STRING_VALUE", // required
|
|
39
|
+
* StreamARN: "STRING_VALUE", // required
|
|
40
|
+
* },
|
|
41
|
+
* },
|
|
42
|
+
* ],
|
|
43
|
+
* Fields: [ // FieldList // required
|
|
44
|
+
* "STRING_VALUE",
|
|
45
|
+
* ],
|
|
46
|
+
* Name: "STRING_VALUE", // required
|
|
47
|
+
* SamplingRate: Number("long"), // required
|
|
48
|
+
* };
|
|
33
49
|
* const command = new CreateRealtimeLogConfigCommand(input);
|
|
34
50
|
* const response = await client.send(command);
|
|
35
51
|
* ```
|
|
@@ -37,6 +37,92 @@ export interface CreateResponseHeadersPolicyCommandOutput extends CreateResponse
|
|
|
37
37
|
* import { CloudFrontClient, CreateResponseHeadersPolicyCommand } from "@aws-sdk/client-cloudfront"; // ES Modules import
|
|
38
38
|
* // const { CloudFrontClient, CreateResponseHeadersPolicyCommand } = require("@aws-sdk/client-cloudfront"); // CommonJS import
|
|
39
39
|
* const client = new CloudFrontClient(config);
|
|
40
|
+
* const input = { // CreateResponseHeadersPolicyRequest
|
|
41
|
+
* ResponseHeadersPolicyConfig: { // ResponseHeadersPolicyConfig
|
|
42
|
+
* Comment: "STRING_VALUE",
|
|
43
|
+
* Name: "STRING_VALUE", // required
|
|
44
|
+
* CorsConfig: { // ResponseHeadersPolicyCorsConfig
|
|
45
|
+
* AccessControlAllowOrigins: { // ResponseHeadersPolicyAccessControlAllowOrigins
|
|
46
|
+
* Quantity: Number("int"), // required
|
|
47
|
+
* Items: [ // AccessControlAllowOriginsList // required
|
|
48
|
+
* "STRING_VALUE",
|
|
49
|
+
* ],
|
|
50
|
+
* },
|
|
51
|
+
* AccessControlAllowHeaders: { // ResponseHeadersPolicyAccessControlAllowHeaders
|
|
52
|
+
* Quantity: Number("int"), // required
|
|
53
|
+
* Items: [ // AccessControlAllowHeadersList // required
|
|
54
|
+
* "STRING_VALUE",
|
|
55
|
+
* ],
|
|
56
|
+
* },
|
|
57
|
+
* AccessControlAllowMethods: { // ResponseHeadersPolicyAccessControlAllowMethods
|
|
58
|
+
* Quantity: Number("int"), // required
|
|
59
|
+
* Items: [ // AccessControlAllowMethodsList // required
|
|
60
|
+
* "GET" || "POST" || "OPTIONS" || "PUT" || "DELETE" || "PATCH" || "HEAD" || "ALL",
|
|
61
|
+
* ],
|
|
62
|
+
* },
|
|
63
|
+
* AccessControlAllowCredentials: true || false, // required
|
|
64
|
+
* AccessControlExposeHeaders: { // ResponseHeadersPolicyAccessControlExposeHeaders
|
|
65
|
+
* Quantity: Number("int"), // required
|
|
66
|
+
* Items: [ // AccessControlExposeHeadersList
|
|
67
|
+
* "STRING_VALUE",
|
|
68
|
+
* ],
|
|
69
|
+
* },
|
|
70
|
+
* AccessControlMaxAgeSec: Number("int"),
|
|
71
|
+
* OriginOverride: true || false, // required
|
|
72
|
+
* },
|
|
73
|
+
* SecurityHeadersConfig: { // ResponseHeadersPolicySecurityHeadersConfig
|
|
74
|
+
* XSSProtection: { // ResponseHeadersPolicyXSSProtection
|
|
75
|
+
* Override: true || false, // required
|
|
76
|
+
* Protection: true || false, // required
|
|
77
|
+
* ModeBlock: true || false,
|
|
78
|
+
* ReportUri: "STRING_VALUE",
|
|
79
|
+
* },
|
|
80
|
+
* FrameOptions: { // ResponseHeadersPolicyFrameOptions
|
|
81
|
+
* Override: true || false, // required
|
|
82
|
+
* FrameOption: "DENY" || "SAMEORIGIN", // required
|
|
83
|
+
* },
|
|
84
|
+
* ReferrerPolicy: { // ResponseHeadersPolicyReferrerPolicy
|
|
85
|
+
* Override: true || false, // required
|
|
86
|
+
* ReferrerPolicy: "no-referrer" || "no-referrer-when-downgrade" || "origin" || "origin-when-cross-origin" || "same-origin" || "strict-origin" || "strict-origin-when-cross-origin" || "unsafe-url", // required
|
|
87
|
+
* },
|
|
88
|
+
* ContentSecurityPolicy: { // ResponseHeadersPolicyContentSecurityPolicy
|
|
89
|
+
* Override: true || false, // required
|
|
90
|
+
* ContentSecurityPolicy: "STRING_VALUE", // required
|
|
91
|
+
* },
|
|
92
|
+
* ContentTypeOptions: { // ResponseHeadersPolicyContentTypeOptions
|
|
93
|
+
* Override: true || false, // required
|
|
94
|
+
* },
|
|
95
|
+
* StrictTransportSecurity: { // ResponseHeadersPolicyStrictTransportSecurity
|
|
96
|
+
* Override: true || false, // required
|
|
97
|
+
* IncludeSubdomains: true || false,
|
|
98
|
+
* Preload: true || false,
|
|
99
|
+
* AccessControlMaxAgeSec: Number("int"), // required
|
|
100
|
+
* },
|
|
101
|
+
* },
|
|
102
|
+
* ServerTimingHeadersConfig: { // ResponseHeadersPolicyServerTimingHeadersConfig
|
|
103
|
+
* Enabled: true || false, // required
|
|
104
|
+
* SamplingRate: Number("double"),
|
|
105
|
+
* },
|
|
106
|
+
* CustomHeadersConfig: { // ResponseHeadersPolicyCustomHeadersConfig
|
|
107
|
+
* Quantity: Number("int"), // required
|
|
108
|
+
* Items: [ // ResponseHeadersPolicyCustomHeaderList
|
|
109
|
+
* { // ResponseHeadersPolicyCustomHeader
|
|
110
|
+
* Header: "STRING_VALUE", // required
|
|
111
|
+
* Value: "STRING_VALUE", // required
|
|
112
|
+
* Override: true || false, // required
|
|
113
|
+
* },
|
|
114
|
+
* ],
|
|
115
|
+
* },
|
|
116
|
+
* RemoveHeadersConfig: { // ResponseHeadersPolicyRemoveHeadersConfig
|
|
117
|
+
* Quantity: Number("int"), // required
|
|
118
|
+
* Items: [ // ResponseHeadersPolicyRemoveHeaderList
|
|
119
|
+
* { // ResponseHeadersPolicyRemoveHeader
|
|
120
|
+
* Header: "STRING_VALUE", // required
|
|
121
|
+
* },
|
|
122
|
+
* ],
|
|
123
|
+
* },
|
|
124
|
+
* },
|
|
125
|
+
* };
|
|
40
126
|
* const command = new CreateResponseHeadersPolicyCommand(input);
|
|
41
127
|
* const response = await client.send(command);
|
|
42
128
|
* ```
|