@aws-sdk/client-cloudfront 3.325.0 → 3.326.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 +338 -0
- package/dist-types/commands/CreateCachePolicyCommand.d.ts +49 -0
- package/dist-types/commands/CreateCloudFrontOriginAccessIdentityCommand.d.ts +15 -0
- package/dist-types/commands/CreateContinuousDeploymentPolicyCommand.d.ts +34 -0
- package/dist-types/commands/CreateDistributionCommand.d.ts +338 -0
- package/dist-types/commands/CreateDistributionWithTagsCommand.d.ts +338 -0
- package/dist-types/commands/CreateFieldLevelEncryptionConfigCommand.d.ts +40 -0
- package/dist-types/commands/CreateFieldLevelEncryptionProfileCommand.d.ts +31 -0
- package/dist-types/commands/CreateFunctionCommand.d.ts +21 -0
- package/dist-types/commands/CreateInvalidationCommand.d.ts +20 -0
- package/dist-types/commands/CreateKeyGroupCommand.d.ts +18 -0
- package/dist-types/commands/CreateMonitoringSubscriptionCommand.d.ts +10 -0
- package/dist-types/commands/CreateOriginAccessControlCommand.d.ts +17 -0
- package/dist-types/commands/CreateOriginRequestPolicyCommand.d.ts +42 -0
- package/dist-types/commands/CreatePublicKeyCommand.d.ts +17 -0
- package/dist-types/commands/CreateRealtimeLogConfigCommand.d.ts +22 -0
- package/dist-types/commands/CreateResponseHeadersPolicyCommand.d.ts +95 -0
- package/dist-types/commands/CreateStreamingDistributionCommand.d.ts +57 -0
- package/dist-types/commands/CreateStreamingDistributionWithTagsCommand.d.ts +57 -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 +4 -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 +20 -0
- package/dist-types/commands/GetCachePolicyCommand.d.ts +48 -0
- package/dist-types/commands/GetCachePolicyConfigCommand.d.ts +44 -0
- package/dist-types/commands/GetCloudFrontOriginAccessIdentityCommand.d.ts +14 -0
- package/dist-types/commands/GetCloudFrontOriginAccessIdentityConfigCommand.d.ts +10 -0
- package/dist-types/commands/GetContinuousDeploymentPolicyCommand.d.ts +33 -0
- package/dist-types/commands/GetContinuousDeploymentPolicyConfigCommand.d.ts +29 -0
- package/dist-types/commands/GetDistributionCommand.d.ts +337 -0
- package/dist-types/commands/GetDistributionConfigCommand.d.ts +293 -0
- package/dist-types/commands/GetFieldLevelEncryptionCommand.d.ts +39 -0
- package/dist-types/commands/GetFieldLevelEncryptionConfigCommand.d.ts +35 -0
- package/dist-types/commands/GetFieldLevelEncryptionProfileCommand.d.ts +30 -0
- package/dist-types/commands/GetFieldLevelEncryptionProfileConfigCommand.d.ts +26 -0
- package/dist-types/commands/GetFunctionCommand.d.ts +8 -0
- package/dist-types/commands/GetInvalidationCommand.d.ts +19 -0
- package/dist-types/commands/GetKeyGroupCommand.d.ts +17 -0
- package/dist-types/commands/GetKeyGroupConfigCommand.d.ts +13 -0
- package/dist-types/commands/GetMonitoringSubscriptionCommand.d.ts +10 -0
- package/dist-types/commands/GetOriginAccessControlCommand.d.ts +16 -0
- package/dist-types/commands/GetOriginAccessControlConfigCommand.d.ts +13 -0
- package/dist-types/commands/GetOriginRequestPolicyCommand.d.ts +41 -0
- package/dist-types/commands/GetOriginRequestPolicyConfigCommand.d.ts +37 -0
- package/dist-types/commands/GetPublicKeyCommand.d.ts +16 -0
- package/dist-types/commands/GetPublicKeyConfigCommand.d.ts +12 -0
- package/dist-types/commands/GetRealtimeLogConfigCommand.d.ts +22 -0
- package/dist-types/commands/GetResponseHeadersPolicyCommand.d.ts +94 -0
- package/dist-types/commands/GetResponseHeadersPolicyConfigCommand.d.ts +90 -0
- package/dist-types/commands/GetStreamingDistributionCommand.d.ts +56 -0
- package/dist-types/commands/GetStreamingDistributionConfigCommand.d.ts +34 -0
- package/dist-types/commands/ListCachePoliciesCommand.d.ts +57 -0
- package/dist-types/commands/ListCloudFrontOriginAccessIdentitiesCommand.d.ts +19 -0
- package/dist-types/commands/ListConflictingAliasesCommand.d.ts +17 -0
- package/dist-types/commands/ListContinuousDeploymentPoliciesCommand.d.ts +41 -0
- package/dist-types/commands/ListDistributionsByCachePolicyIdCommand.d.ts +15 -0
- package/dist-types/commands/ListDistributionsByKeyGroupCommand.d.ts +15 -0
- package/dist-types/commands/ListDistributionsByOriginRequestPolicyIdCommand.d.ts +15 -0
- package/dist-types/commands/ListDistributionsByRealtimeLogConfigCommand.d.ts +303 -0
- package/dist-types/commands/ListDistributionsByResponseHeadersPolicyIdCommand.d.ts +15 -0
- package/dist-types/commands/ListDistributionsByWebACLIdCommand.d.ts +303 -0
- package/dist-types/commands/ListDistributionsCommand.d.ts +303 -0
- package/dist-types/commands/ListFieldLevelEncryptionConfigsCommand.d.ts +42 -0
- package/dist-types/commands/ListFieldLevelEncryptionProfilesCommand.d.ts +33 -0
- package/dist-types/commands/ListFunctionsCommand.d.ts +26 -0
- package/dist-types/commands/ListInvalidationsCommand.d.ts +19 -0
- package/dist-types/commands/ListKeyGroupsCommand.d.ts +25 -0
- package/dist-types/commands/ListOriginAccessControlsCommand.d.ts +22 -0
- package/dist-types/commands/ListOriginRequestPoliciesCommand.d.ts +50 -0
- package/dist-types/commands/ListPublicKeysCommand.d.ts +19 -0
- package/dist-types/commands/ListRealtimeLogConfigsCommand.d.ts +30 -0
- package/dist-types/commands/ListResponseHeadersPoliciesCommand.d.ts +103 -0
- package/dist-types/commands/ListStreamingDistributionsCommand.d.ts +41 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +13 -0
- package/dist-types/commands/PublishFunctionCommand.d.ts +19 -0
- package/dist-types/commands/TagResourceCommand.d.ts +4 -0
- package/dist-types/commands/TestFunctionCommand.d.ts +27 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +4 -0
- package/dist-types/commands/UpdateCachePolicyCommand.d.ts +48 -0
- package/dist-types/commands/UpdateCloudFrontOriginAccessIdentityCommand.d.ts +14 -0
- package/dist-types/commands/UpdateContinuousDeploymentPolicyCommand.d.ts +33 -0
- package/dist-types/commands/UpdateDistributionCommand.d.ts +337 -0
- package/dist-types/commands/UpdateDistributionWithStagingConfigCommand.d.ts +337 -0
- package/dist-types/commands/UpdateFieldLevelEncryptionConfigCommand.d.ts +39 -0
- package/dist-types/commands/UpdateFieldLevelEncryptionProfileCommand.d.ts +30 -0
- package/dist-types/commands/UpdateFunctionCommand.d.ts +20 -0
- package/dist-types/commands/UpdateKeyGroupCommand.d.ts +17 -0
- package/dist-types/commands/UpdateOriginAccessControlCommand.d.ts +16 -0
- package/dist-types/commands/UpdateOriginRequestPolicyCommand.d.ts +41 -0
- package/dist-types/commands/UpdatePublicKeyCommand.d.ts +16 -0
- package/dist-types/commands/UpdateRealtimeLogConfigCommand.d.ts +22 -0
- package/dist-types/commands/UpdateResponseHeadersPolicyCommand.d.ts +94 -0
- package/dist-types/commands/UpdateStreamingDistributionCommand.d.ts +56 -0
- package/package.json +3 -3
|
@@ -42,6 +42,8 @@ export interface AssociateAliasCommandOutput extends __MetadataBearer {
|
|
|
42
42
|
* };
|
|
43
43
|
* const command = new AssociateAliasCommand(input);
|
|
44
44
|
* const response = await client.send(command);
|
|
45
|
+
* // {};
|
|
46
|
+
*
|
|
45
47
|
* ```
|
|
46
48
|
*
|
|
47
49
|
* @param AssociateAliasCommandInput - {@link AssociateAliasCommandInput}
|
|
@@ -65,6 +67,8 @@ export interface AssociateAliasCommandOutput extends __MetadataBearer {
|
|
|
65
67
|
* @throws {@link TooManyDistributionCNAMEs} (client fault)
|
|
66
68
|
* <p>Your request contains more CNAMEs than are allowed per distribution.</p>
|
|
67
69
|
*
|
|
70
|
+
* @throws {@link CloudFrontServiceException}
|
|
71
|
+
* <p>Base exception class for all service exceptions from CloudFront service.</p>
|
|
68
72
|
*
|
|
69
73
|
*/
|
|
70
74
|
export declare class AssociateAliasCommand extends $Command<AssociateAliasCommandInput, AssociateAliasCommandOutput, CloudFrontClientResolvedConfig> {
|
|
@@ -40,6 +40,342 @@ export interface CopyDistributionCommandOutput extends CopyDistributionResult, _
|
|
|
40
40
|
* };
|
|
41
41
|
* const command = new CopyDistributionCommand(input);
|
|
42
42
|
* const response = await client.send(command);
|
|
43
|
+
* // { // CopyDistributionResult
|
|
44
|
+
* // Distribution: { // Distribution
|
|
45
|
+
* // Id: "STRING_VALUE", // required
|
|
46
|
+
* // ARN: "STRING_VALUE", // required
|
|
47
|
+
* // Status: "STRING_VALUE", // required
|
|
48
|
+
* // LastModifiedTime: new Date("TIMESTAMP"), // required
|
|
49
|
+
* // InProgressInvalidationBatches: Number("int"), // required
|
|
50
|
+
* // DomainName: "STRING_VALUE", // required
|
|
51
|
+
* // ActiveTrustedSigners: { // ActiveTrustedSigners
|
|
52
|
+
* // Enabled: true || false, // required
|
|
53
|
+
* // Quantity: Number("int"), // required
|
|
54
|
+
* // Items: [ // SignerList
|
|
55
|
+
* // { // Signer
|
|
56
|
+
* // AwsAccountNumber: "STRING_VALUE",
|
|
57
|
+
* // KeyPairIds: { // KeyPairIds
|
|
58
|
+
* // Quantity: Number("int"), // required
|
|
59
|
+
* // Items: [ // KeyPairIdList
|
|
60
|
+
* // "STRING_VALUE",
|
|
61
|
+
* // ],
|
|
62
|
+
* // },
|
|
63
|
+
* // },
|
|
64
|
+
* // ],
|
|
65
|
+
* // },
|
|
66
|
+
* // ActiveTrustedKeyGroups: { // ActiveTrustedKeyGroups
|
|
67
|
+
* // Enabled: true || false, // required
|
|
68
|
+
* // Quantity: Number("int"), // required
|
|
69
|
+
* // Items: [ // KGKeyPairIdsList
|
|
70
|
+
* // { // KGKeyPairIds
|
|
71
|
+
* // KeyGroupId: "STRING_VALUE",
|
|
72
|
+
* // KeyPairIds: {
|
|
73
|
+
* // Quantity: Number("int"), // required
|
|
74
|
+
* // Items: [
|
|
75
|
+
* // "STRING_VALUE",
|
|
76
|
+
* // ],
|
|
77
|
+
* // },
|
|
78
|
+
* // },
|
|
79
|
+
* // ],
|
|
80
|
+
* // },
|
|
81
|
+
* // DistributionConfig: { // DistributionConfig
|
|
82
|
+
* // CallerReference: "STRING_VALUE", // required
|
|
83
|
+
* // Aliases: { // Aliases
|
|
84
|
+
* // Quantity: Number("int"), // required
|
|
85
|
+
* // Items: [ // AliasList
|
|
86
|
+
* // "STRING_VALUE",
|
|
87
|
+
* // ],
|
|
88
|
+
* // },
|
|
89
|
+
* // DefaultRootObject: "STRING_VALUE",
|
|
90
|
+
* // Origins: { // Origins
|
|
91
|
+
* // Quantity: Number("int"), // required
|
|
92
|
+
* // Items: [ // OriginList // required
|
|
93
|
+
* // { // Origin
|
|
94
|
+
* // Id: "STRING_VALUE", // required
|
|
95
|
+
* // DomainName: "STRING_VALUE", // required
|
|
96
|
+
* // OriginPath: "STRING_VALUE",
|
|
97
|
+
* // CustomHeaders: { // CustomHeaders
|
|
98
|
+
* // Quantity: Number("int"), // required
|
|
99
|
+
* // Items: [ // OriginCustomHeadersList
|
|
100
|
+
* // { // OriginCustomHeader
|
|
101
|
+
* // HeaderName: "STRING_VALUE", // required
|
|
102
|
+
* // HeaderValue: "STRING_VALUE", // required
|
|
103
|
+
* // },
|
|
104
|
+
* // ],
|
|
105
|
+
* // },
|
|
106
|
+
* // S3OriginConfig: { // S3OriginConfig
|
|
107
|
+
* // OriginAccessIdentity: "STRING_VALUE", // required
|
|
108
|
+
* // },
|
|
109
|
+
* // CustomOriginConfig: { // CustomOriginConfig
|
|
110
|
+
* // HTTPPort: Number("int"), // required
|
|
111
|
+
* // HTTPSPort: Number("int"), // required
|
|
112
|
+
* // OriginProtocolPolicy: "http-only" || "match-viewer" || "https-only", // required
|
|
113
|
+
* // OriginSslProtocols: { // OriginSslProtocols
|
|
114
|
+
* // Quantity: Number("int"), // required
|
|
115
|
+
* // Items: [ // SslProtocolsList // required
|
|
116
|
+
* // "SSLv3" || "TLSv1" || "TLSv1.1" || "TLSv1.2",
|
|
117
|
+
* // ],
|
|
118
|
+
* // },
|
|
119
|
+
* // OriginReadTimeout: Number("int"),
|
|
120
|
+
* // OriginKeepaliveTimeout: Number("int"),
|
|
121
|
+
* // },
|
|
122
|
+
* // ConnectionAttempts: Number("int"),
|
|
123
|
+
* // ConnectionTimeout: Number("int"),
|
|
124
|
+
* // OriginShield: { // OriginShield
|
|
125
|
+
* // Enabled: true || false, // required
|
|
126
|
+
* // OriginShieldRegion: "STRING_VALUE",
|
|
127
|
+
* // },
|
|
128
|
+
* // OriginAccessControlId: "STRING_VALUE",
|
|
129
|
+
* // },
|
|
130
|
+
* // ],
|
|
131
|
+
* // },
|
|
132
|
+
* // OriginGroups: { // OriginGroups
|
|
133
|
+
* // Quantity: Number("int"), // required
|
|
134
|
+
* // Items: [ // OriginGroupList
|
|
135
|
+
* // { // OriginGroup
|
|
136
|
+
* // Id: "STRING_VALUE", // required
|
|
137
|
+
* // FailoverCriteria: { // OriginGroupFailoverCriteria
|
|
138
|
+
* // StatusCodes: { // StatusCodes
|
|
139
|
+
* // Quantity: Number("int"), // required
|
|
140
|
+
* // Items: [ // StatusCodeList // required
|
|
141
|
+
* // Number("int"),
|
|
142
|
+
* // ],
|
|
143
|
+
* // },
|
|
144
|
+
* // },
|
|
145
|
+
* // Members: { // OriginGroupMembers
|
|
146
|
+
* // Quantity: Number("int"), // required
|
|
147
|
+
* // Items: [ // OriginGroupMemberList // required
|
|
148
|
+
* // { // OriginGroupMember
|
|
149
|
+
* // OriginId: "STRING_VALUE", // required
|
|
150
|
+
* // },
|
|
151
|
+
* // ],
|
|
152
|
+
* // },
|
|
153
|
+
* // },
|
|
154
|
+
* // ],
|
|
155
|
+
* // },
|
|
156
|
+
* // DefaultCacheBehavior: { // DefaultCacheBehavior
|
|
157
|
+
* // TargetOriginId: "STRING_VALUE", // required
|
|
158
|
+
* // TrustedSigners: { // TrustedSigners
|
|
159
|
+
* // Enabled: true || false, // required
|
|
160
|
+
* // Quantity: Number("int"), // required
|
|
161
|
+
* // Items: [ // AwsAccountNumberList
|
|
162
|
+
* // "STRING_VALUE",
|
|
163
|
+
* // ],
|
|
164
|
+
* // },
|
|
165
|
+
* // TrustedKeyGroups: { // TrustedKeyGroups
|
|
166
|
+
* // Enabled: true || false, // required
|
|
167
|
+
* // Quantity: Number("int"), // required
|
|
168
|
+
* // Items: [ // TrustedKeyGroupIdList
|
|
169
|
+
* // "STRING_VALUE",
|
|
170
|
+
* // ],
|
|
171
|
+
* // },
|
|
172
|
+
* // ViewerProtocolPolicy: "allow-all" || "https-only" || "redirect-to-https", // required
|
|
173
|
+
* // AllowedMethods: { // AllowedMethods
|
|
174
|
+
* // Quantity: Number("int"), // required
|
|
175
|
+
* // Items: [ // MethodsList // required
|
|
176
|
+
* // "GET" || "HEAD" || "POST" || "PUT" || "PATCH" || "OPTIONS" || "DELETE",
|
|
177
|
+
* // ],
|
|
178
|
+
* // CachedMethods: { // CachedMethods
|
|
179
|
+
* // Quantity: Number("int"), // required
|
|
180
|
+
* // Items: [ // required
|
|
181
|
+
* // "GET" || "HEAD" || "POST" || "PUT" || "PATCH" || "OPTIONS" || "DELETE",
|
|
182
|
+
* // ],
|
|
183
|
+
* // },
|
|
184
|
+
* // },
|
|
185
|
+
* // SmoothStreaming: true || false,
|
|
186
|
+
* // Compress: true || false,
|
|
187
|
+
* // LambdaFunctionAssociations: { // LambdaFunctionAssociations
|
|
188
|
+
* // Quantity: Number("int"), // required
|
|
189
|
+
* // Items: [ // LambdaFunctionAssociationList
|
|
190
|
+
* // { // LambdaFunctionAssociation
|
|
191
|
+
* // LambdaFunctionARN: "STRING_VALUE", // required
|
|
192
|
+
* // EventType: "viewer-request" || "viewer-response" || "origin-request" || "origin-response", // required
|
|
193
|
+
* // IncludeBody: true || false,
|
|
194
|
+
* // },
|
|
195
|
+
* // ],
|
|
196
|
+
* // },
|
|
197
|
+
* // FunctionAssociations: { // FunctionAssociations
|
|
198
|
+
* // Quantity: Number("int"), // required
|
|
199
|
+
* // Items: [ // FunctionAssociationList
|
|
200
|
+
* // { // FunctionAssociation
|
|
201
|
+
* // FunctionARN: "STRING_VALUE", // required
|
|
202
|
+
* // EventType: "viewer-request" || "viewer-response" || "origin-request" || "origin-response", // required
|
|
203
|
+
* // },
|
|
204
|
+
* // ],
|
|
205
|
+
* // },
|
|
206
|
+
* // FieldLevelEncryptionId: "STRING_VALUE",
|
|
207
|
+
* // RealtimeLogConfigArn: "STRING_VALUE",
|
|
208
|
+
* // CachePolicyId: "STRING_VALUE",
|
|
209
|
+
* // OriginRequestPolicyId: "STRING_VALUE",
|
|
210
|
+
* // ResponseHeadersPolicyId: "STRING_VALUE",
|
|
211
|
+
* // ForwardedValues: { // ForwardedValues
|
|
212
|
+
* // QueryString: true || false, // required
|
|
213
|
+
* // Cookies: { // CookiePreference
|
|
214
|
+
* // Forward: "none" || "whitelist" || "all", // required
|
|
215
|
+
* // WhitelistedNames: { // CookieNames
|
|
216
|
+
* // Quantity: Number("int"), // required
|
|
217
|
+
* // Items: [ // CookieNameList
|
|
218
|
+
* // "STRING_VALUE",
|
|
219
|
+
* // ],
|
|
220
|
+
* // },
|
|
221
|
+
* // },
|
|
222
|
+
* // Headers: { // Headers
|
|
223
|
+
* // Quantity: Number("int"), // required
|
|
224
|
+
* // Items: [ // HeaderList
|
|
225
|
+
* // "STRING_VALUE",
|
|
226
|
+
* // ],
|
|
227
|
+
* // },
|
|
228
|
+
* // QueryStringCacheKeys: { // QueryStringCacheKeys
|
|
229
|
+
* // Quantity: Number("int"), // required
|
|
230
|
+
* // Items: [ // QueryStringCacheKeysList
|
|
231
|
+
* // "STRING_VALUE",
|
|
232
|
+
* // ],
|
|
233
|
+
* // },
|
|
234
|
+
* // },
|
|
235
|
+
* // MinTTL: Number("long"),
|
|
236
|
+
* // DefaultTTL: Number("long"),
|
|
237
|
+
* // MaxTTL: Number("long"),
|
|
238
|
+
* // },
|
|
239
|
+
* // CacheBehaviors: { // CacheBehaviors
|
|
240
|
+
* // Quantity: Number("int"), // required
|
|
241
|
+
* // Items: [ // CacheBehaviorList
|
|
242
|
+
* // { // CacheBehavior
|
|
243
|
+
* // PathPattern: "STRING_VALUE", // required
|
|
244
|
+
* // TargetOriginId: "STRING_VALUE", // required
|
|
245
|
+
* // TrustedSigners: {
|
|
246
|
+
* // Enabled: true || false, // required
|
|
247
|
+
* // Quantity: Number("int"), // required
|
|
248
|
+
* // Items: [
|
|
249
|
+
* // "STRING_VALUE",
|
|
250
|
+
* // ],
|
|
251
|
+
* // },
|
|
252
|
+
* // TrustedKeyGroups: {
|
|
253
|
+
* // Enabled: true || false, // required
|
|
254
|
+
* // Quantity: Number("int"), // required
|
|
255
|
+
* // Items: [
|
|
256
|
+
* // "STRING_VALUE",
|
|
257
|
+
* // ],
|
|
258
|
+
* // },
|
|
259
|
+
* // ViewerProtocolPolicy: "allow-all" || "https-only" || "redirect-to-https", // required
|
|
260
|
+
* // AllowedMethods: {
|
|
261
|
+
* // Quantity: Number("int"), // required
|
|
262
|
+
* // Items: "<MethodsList>", // required
|
|
263
|
+
* // CachedMethods: {
|
|
264
|
+
* // Quantity: Number("int"), // required
|
|
265
|
+
* // Items: "<MethodsList>", // required
|
|
266
|
+
* // },
|
|
267
|
+
* // },
|
|
268
|
+
* // SmoothStreaming: true || false,
|
|
269
|
+
* // Compress: true || false,
|
|
270
|
+
* // LambdaFunctionAssociations: {
|
|
271
|
+
* // Quantity: Number("int"), // required
|
|
272
|
+
* // Items: [
|
|
273
|
+
* // {
|
|
274
|
+
* // LambdaFunctionARN: "STRING_VALUE", // required
|
|
275
|
+
* // EventType: "viewer-request" || "viewer-response" || "origin-request" || "origin-response", // required
|
|
276
|
+
* // IncludeBody: true || false,
|
|
277
|
+
* // },
|
|
278
|
+
* // ],
|
|
279
|
+
* // },
|
|
280
|
+
* // FunctionAssociations: {
|
|
281
|
+
* // Quantity: Number("int"), // required
|
|
282
|
+
* // Items: [
|
|
283
|
+
* // {
|
|
284
|
+
* // FunctionARN: "STRING_VALUE", // required
|
|
285
|
+
* // EventType: "viewer-request" || "viewer-response" || "origin-request" || "origin-response", // required
|
|
286
|
+
* // },
|
|
287
|
+
* // ],
|
|
288
|
+
* // },
|
|
289
|
+
* // FieldLevelEncryptionId: "STRING_VALUE",
|
|
290
|
+
* // RealtimeLogConfigArn: "STRING_VALUE",
|
|
291
|
+
* // CachePolicyId: "STRING_VALUE",
|
|
292
|
+
* // OriginRequestPolicyId: "STRING_VALUE",
|
|
293
|
+
* // ResponseHeadersPolicyId: "STRING_VALUE",
|
|
294
|
+
* // ForwardedValues: {
|
|
295
|
+
* // QueryString: true || false, // required
|
|
296
|
+
* // Cookies: {
|
|
297
|
+
* // Forward: "none" || "whitelist" || "all", // required
|
|
298
|
+
* // WhitelistedNames: {
|
|
299
|
+
* // Quantity: Number("int"), // required
|
|
300
|
+
* // Items: [
|
|
301
|
+
* // "STRING_VALUE",
|
|
302
|
+
* // ],
|
|
303
|
+
* // },
|
|
304
|
+
* // },
|
|
305
|
+
* // Headers: {
|
|
306
|
+
* // Quantity: Number("int"), // required
|
|
307
|
+
* // Items: [
|
|
308
|
+
* // "STRING_VALUE",
|
|
309
|
+
* // ],
|
|
310
|
+
* // },
|
|
311
|
+
* // QueryStringCacheKeys: {
|
|
312
|
+
* // Quantity: Number("int"), // required
|
|
313
|
+
* // Items: [
|
|
314
|
+
* // "STRING_VALUE",
|
|
315
|
+
* // ],
|
|
316
|
+
* // },
|
|
317
|
+
* // },
|
|
318
|
+
* // MinTTL: Number("long"),
|
|
319
|
+
* // DefaultTTL: Number("long"),
|
|
320
|
+
* // MaxTTL: Number("long"),
|
|
321
|
+
* // },
|
|
322
|
+
* // ],
|
|
323
|
+
* // },
|
|
324
|
+
* // CustomErrorResponses: { // CustomErrorResponses
|
|
325
|
+
* // Quantity: Number("int"), // required
|
|
326
|
+
* // Items: [ // CustomErrorResponseList
|
|
327
|
+
* // { // CustomErrorResponse
|
|
328
|
+
* // ErrorCode: Number("int"), // required
|
|
329
|
+
* // ResponsePagePath: "STRING_VALUE",
|
|
330
|
+
* // ResponseCode: "STRING_VALUE",
|
|
331
|
+
* // ErrorCachingMinTTL: Number("long"),
|
|
332
|
+
* // },
|
|
333
|
+
* // ],
|
|
334
|
+
* // },
|
|
335
|
+
* // Comment: "STRING_VALUE", // required
|
|
336
|
+
* // Logging: { // LoggingConfig
|
|
337
|
+
* // Enabled: true || false, // required
|
|
338
|
+
* // IncludeCookies: true || false, // required
|
|
339
|
+
* // Bucket: "STRING_VALUE", // required
|
|
340
|
+
* // Prefix: "STRING_VALUE", // required
|
|
341
|
+
* // },
|
|
342
|
+
* // PriceClass: "PriceClass_100" || "PriceClass_200" || "PriceClass_All",
|
|
343
|
+
* // Enabled: true || false, // required
|
|
344
|
+
* // ViewerCertificate: { // ViewerCertificate
|
|
345
|
+
* // CloudFrontDefaultCertificate: true || false,
|
|
346
|
+
* // IAMCertificateId: "STRING_VALUE",
|
|
347
|
+
* // ACMCertificateArn: "STRING_VALUE",
|
|
348
|
+
* // SSLSupportMethod: "sni-only" || "vip" || "static-ip",
|
|
349
|
+
* // MinimumProtocolVersion: "SSLv3" || "TLSv1" || "TLSv1_2016" || "TLSv1.1_2016" || "TLSv1.2_2018" || "TLSv1.2_2019" || "TLSv1.2_2021",
|
|
350
|
+
* // Certificate: "STRING_VALUE",
|
|
351
|
+
* // CertificateSource: "cloudfront" || "iam" || "acm",
|
|
352
|
+
* // },
|
|
353
|
+
* // Restrictions: { // Restrictions
|
|
354
|
+
* // GeoRestriction: { // GeoRestriction
|
|
355
|
+
* // RestrictionType: "blacklist" || "whitelist" || "none", // required
|
|
356
|
+
* // Quantity: Number("int"), // required
|
|
357
|
+
* // Items: [ // LocationList
|
|
358
|
+
* // "STRING_VALUE",
|
|
359
|
+
* // ],
|
|
360
|
+
* // },
|
|
361
|
+
* // },
|
|
362
|
+
* // WebACLId: "STRING_VALUE",
|
|
363
|
+
* // HttpVersion: "http1.1" || "http2" || "http3" || "http2and3",
|
|
364
|
+
* // IsIPV6Enabled: true || false,
|
|
365
|
+
* // ContinuousDeploymentPolicyId: "STRING_VALUE",
|
|
366
|
+
* // Staging: true || false,
|
|
367
|
+
* // },
|
|
368
|
+
* // AliasICPRecordals: [ // AliasICPRecordals
|
|
369
|
+
* // { // AliasICPRecordal
|
|
370
|
+
* // CNAME: "STRING_VALUE",
|
|
371
|
+
* // ICPRecordalStatus: "APPROVED" || "SUSPENDED" || "PENDING",
|
|
372
|
+
* // },
|
|
373
|
+
* // ],
|
|
374
|
+
* // },
|
|
375
|
+
* // Location: "STRING_VALUE",
|
|
376
|
+
* // ETag: "STRING_VALUE",
|
|
377
|
+
* // };
|
|
378
|
+
*
|
|
43
379
|
* ```
|
|
44
380
|
*
|
|
45
381
|
* @param CopyDistributionCommandInput - {@link CopyDistributionCommandInput}
|
|
@@ -274,6 +610,8 @@ export interface CopyDistributionCommandOutput extends CopyDistributionResult, _
|
|
|
274
610
|
* @throws {@link TrustedSignerDoesNotExist} (client fault)
|
|
275
611
|
* <p>One or more of your trusted signers don't exist.</p>
|
|
276
612
|
*
|
|
613
|
+
* @throws {@link CloudFrontServiceException}
|
|
614
|
+
* <p>Base exception class for all service exceptions from CloudFront service.</p>
|
|
277
615
|
*
|
|
278
616
|
*/
|
|
279
617
|
export declare class CopyDistributionCommand extends $Command<CopyDistributionCommandInput, CopyDistributionCommandOutput, CloudFrontClientResolvedConfig> {
|
|
@@ -90,6 +90,53 @@ export interface CreateCachePolicyCommandOutput extends CreateCachePolicyResult,
|
|
|
90
90
|
* };
|
|
91
91
|
* const command = new CreateCachePolicyCommand(input);
|
|
92
92
|
* const response = await client.send(command);
|
|
93
|
+
* // { // CreateCachePolicyResult
|
|
94
|
+
* // CachePolicy: { // CachePolicy
|
|
95
|
+
* // Id: "STRING_VALUE", // required
|
|
96
|
+
* // LastModifiedTime: new Date("TIMESTAMP"), // required
|
|
97
|
+
* // CachePolicyConfig: { // CachePolicyConfig
|
|
98
|
+
* // Comment: "STRING_VALUE",
|
|
99
|
+
* // Name: "STRING_VALUE", // required
|
|
100
|
+
* // DefaultTTL: Number("long"),
|
|
101
|
+
* // MaxTTL: Number("long"),
|
|
102
|
+
* // MinTTL: Number("long"), // required
|
|
103
|
+
* // ParametersInCacheKeyAndForwardedToOrigin: { // ParametersInCacheKeyAndForwardedToOrigin
|
|
104
|
+
* // EnableAcceptEncodingGzip: true || false, // required
|
|
105
|
+
* // EnableAcceptEncodingBrotli: true || false,
|
|
106
|
+
* // HeadersConfig: { // CachePolicyHeadersConfig
|
|
107
|
+
* // HeaderBehavior: "none" || "whitelist", // required
|
|
108
|
+
* // Headers: { // Headers
|
|
109
|
+
* // Quantity: Number("int"), // required
|
|
110
|
+
* // Items: [ // HeaderList
|
|
111
|
+
* // "STRING_VALUE",
|
|
112
|
+
* // ],
|
|
113
|
+
* // },
|
|
114
|
+
* // },
|
|
115
|
+
* // CookiesConfig: { // CachePolicyCookiesConfig
|
|
116
|
+
* // CookieBehavior: "none" || "whitelist" || "allExcept" || "all", // required
|
|
117
|
+
* // Cookies: { // CookieNames
|
|
118
|
+
* // Quantity: Number("int"), // required
|
|
119
|
+
* // Items: [ // CookieNameList
|
|
120
|
+
* // "STRING_VALUE",
|
|
121
|
+
* // ],
|
|
122
|
+
* // },
|
|
123
|
+
* // },
|
|
124
|
+
* // QueryStringsConfig: { // CachePolicyQueryStringsConfig
|
|
125
|
+
* // QueryStringBehavior: "none" || "whitelist" || "allExcept" || "all", // required
|
|
126
|
+
* // QueryStrings: { // QueryStringNames
|
|
127
|
+
* // Quantity: Number("int"), // required
|
|
128
|
+
* // Items: [ // QueryStringNamesList
|
|
129
|
+
* // "STRING_VALUE",
|
|
130
|
+
* // ],
|
|
131
|
+
* // },
|
|
132
|
+
* // },
|
|
133
|
+
* // },
|
|
134
|
+
* // },
|
|
135
|
+
* // },
|
|
136
|
+
* // Location: "STRING_VALUE",
|
|
137
|
+
* // ETag: "STRING_VALUE",
|
|
138
|
+
* // };
|
|
139
|
+
*
|
|
93
140
|
* ```
|
|
94
141
|
*
|
|
95
142
|
* @param CreateCachePolicyCommandInput - {@link CreateCachePolicyCommandInput}
|
|
@@ -132,6 +179,8 @@ export interface CreateCachePolicyCommandOutput extends CreateCachePolicyResult,
|
|
|
132
179
|
* information, see <a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/cloudfront-limits.html">Quotas</a> (formerly known as limits) in the
|
|
133
180
|
* <i>Amazon CloudFront Developer Guide</i>.</p>
|
|
134
181
|
*
|
|
182
|
+
* @throws {@link CloudFrontServiceException}
|
|
183
|
+
* <p>Base exception class for all service exceptions from CloudFront service.</p>
|
|
135
184
|
*
|
|
136
185
|
*/
|
|
137
186
|
export declare class CreateCachePolicyCommand extends $Command<CreateCachePolicyCommandInput, CreateCachePolicyCommandOutput, CloudFrontClientResolvedConfig> {
|
|
@@ -38,6 +38,19 @@ export interface CreateCloudFrontOriginAccessIdentityCommandOutput extends Creat
|
|
|
38
38
|
* };
|
|
39
39
|
* const command = new CreateCloudFrontOriginAccessIdentityCommand(input);
|
|
40
40
|
* const response = await client.send(command);
|
|
41
|
+
* // { // CreateCloudFrontOriginAccessIdentityResult
|
|
42
|
+
* // CloudFrontOriginAccessIdentity: { // CloudFrontOriginAccessIdentity
|
|
43
|
+
* // Id: "STRING_VALUE", // required
|
|
44
|
+
* // S3CanonicalUserId: "STRING_VALUE", // required
|
|
45
|
+
* // CloudFrontOriginAccessIdentityConfig: { // CloudFrontOriginAccessIdentityConfig
|
|
46
|
+
* // CallerReference: "STRING_VALUE", // required
|
|
47
|
+
* // Comment: "STRING_VALUE", // required
|
|
48
|
+
* // },
|
|
49
|
+
* // },
|
|
50
|
+
* // Location: "STRING_VALUE",
|
|
51
|
+
* // ETag: "STRING_VALUE",
|
|
52
|
+
* // };
|
|
53
|
+
*
|
|
41
54
|
* ```
|
|
42
55
|
*
|
|
43
56
|
* @param CreateCloudFrontOriginAccessIdentityCommandInput - {@link CreateCloudFrontOriginAccessIdentityCommandInput}
|
|
@@ -68,6 +81,8 @@ export interface CreateCloudFrontOriginAccessIdentityCommandOutput extends Creat
|
|
|
68
81
|
* <p>Processing your request would cause you to exceed the maximum number of origin access
|
|
69
82
|
* identities allowed.</p>
|
|
70
83
|
*
|
|
84
|
+
* @throws {@link CloudFrontServiceException}
|
|
85
|
+
* <p>Base exception class for all service exceptions from CloudFront service.</p>
|
|
71
86
|
*
|
|
72
87
|
*/
|
|
73
88
|
export declare class CreateCloudFrontOriginAccessIdentityCommand extends $Command<CreateCloudFrontOriginAccessIdentityCommandInput, CreateCloudFrontOriginAccessIdentityCommandOutput, CloudFrontClientResolvedConfig> {
|
|
@@ -61,6 +61,38 @@ export interface CreateContinuousDeploymentPolicyCommandOutput extends CreateCon
|
|
|
61
61
|
* };
|
|
62
62
|
* const command = new CreateContinuousDeploymentPolicyCommand(input);
|
|
63
63
|
* const response = await client.send(command);
|
|
64
|
+
* // { // CreateContinuousDeploymentPolicyResult
|
|
65
|
+
* // ContinuousDeploymentPolicy: { // ContinuousDeploymentPolicy
|
|
66
|
+
* // Id: "STRING_VALUE", // required
|
|
67
|
+
* // LastModifiedTime: new Date("TIMESTAMP"), // required
|
|
68
|
+
* // ContinuousDeploymentPolicyConfig: { // ContinuousDeploymentPolicyConfig
|
|
69
|
+
* // StagingDistributionDnsNames: { // StagingDistributionDnsNames
|
|
70
|
+
* // Quantity: Number("int"), // required
|
|
71
|
+
* // Items: [ // StagingDistributionDnsNameList
|
|
72
|
+
* // "STRING_VALUE",
|
|
73
|
+
* // ],
|
|
74
|
+
* // },
|
|
75
|
+
* // Enabled: true || false, // required
|
|
76
|
+
* // TrafficConfig: { // TrafficConfig
|
|
77
|
+
* // SingleWeightConfig: { // ContinuousDeploymentSingleWeightConfig
|
|
78
|
+
* // Weight: Number("float"), // required
|
|
79
|
+
* // SessionStickinessConfig: { // SessionStickinessConfig
|
|
80
|
+
* // IdleTTL: Number("int"), // required
|
|
81
|
+
* // MaximumTTL: Number("int"), // required
|
|
82
|
+
* // },
|
|
83
|
+
* // },
|
|
84
|
+
* // SingleHeaderConfig: { // ContinuousDeploymentSingleHeaderConfig
|
|
85
|
+
* // Header: "STRING_VALUE", // required
|
|
86
|
+
* // Value: "STRING_VALUE", // required
|
|
87
|
+
* // },
|
|
88
|
+
* // Type: "SingleWeight" || "SingleHeader", // required
|
|
89
|
+
* // },
|
|
90
|
+
* // },
|
|
91
|
+
* // },
|
|
92
|
+
* // Location: "STRING_VALUE",
|
|
93
|
+
* // ETag: "STRING_VALUE",
|
|
94
|
+
* // };
|
|
95
|
+
*
|
|
64
96
|
* ```
|
|
65
97
|
*
|
|
66
98
|
* @param CreateContinuousDeploymentPolicyCommandInput - {@link CreateContinuousDeploymentPolicyCommandInput}
|
|
@@ -89,6 +121,8 @@ export interface CreateContinuousDeploymentPolicyCommandOutput extends CreateCon
|
|
|
89
121
|
* <p>You have reached the maximum number of continuous deployment policies for this
|
|
90
122
|
* Amazon Web Services account.</p>
|
|
91
123
|
*
|
|
124
|
+
* @throws {@link CloudFrontServiceException}
|
|
125
|
+
* <p>Base exception class for all service exceptions from CloudFront service.</p>
|
|
92
126
|
*
|
|
93
127
|
*/
|
|
94
128
|
export declare class CreateContinuousDeploymentPolicyCommand extends $Command<CreateContinuousDeploymentPolicyCommandInput, CreateContinuousDeploymentPolicyCommandOutput, CloudFrontClientResolvedConfig> {
|