@aws-sdk/client-cloudfront 3.696.0 → 3.698.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 (70) hide show
  1. package/README.md +88 -0
  2. package/dist-cjs/index.js +988 -197
  3. package/dist-es/CloudFront.js +22 -0
  4. package/dist-es/commands/CreateAnycastIpListCommand.js +22 -0
  5. package/dist-es/commands/CreateVpcOriginCommand.js +22 -0
  6. package/dist-es/commands/DeleteAnycastIpListCommand.js +22 -0
  7. package/dist-es/commands/DeleteVpcOriginCommand.js +22 -0
  8. package/dist-es/commands/GetAnycastIpListCommand.js +22 -0
  9. package/dist-es/commands/GetVpcOriginCommand.js +22 -0
  10. package/dist-es/commands/ListAnycastIpListsCommand.js +22 -0
  11. package/dist-es/commands/ListDistributionsByAnycastIpListIdCommand.js +23 -0
  12. package/dist-es/commands/ListDistributionsByVpcOriginIdCommand.js +22 -0
  13. package/dist-es/commands/ListVpcOriginsCommand.js +22 -0
  14. package/dist-es/commands/UpdateVpcOriginCommand.js +22 -0
  15. package/dist-es/commands/index.js +11 -0
  16. package/dist-es/models/models_0.js +82 -52
  17. package/dist-es/models/models_1.js +3 -13
  18. package/dist-es/protocols/Aws_restXml.js +648 -66
  19. package/dist-types/CloudFront.d.ts +79 -0
  20. package/dist-types/CloudFrontClient.d.ts +13 -2
  21. package/dist-types/commands/CopyDistributionCommand.d.ts +15 -4
  22. package/dist-types/commands/CreateAnycastIpListCommand.d.ts +110 -0
  23. package/dist-types/commands/CreateDistributionCommand.d.ts +33 -8
  24. package/dist-types/commands/CreateDistributionWithTagsCommand.d.ts +33 -8
  25. package/dist-types/commands/CreateKeyValueStoreCommand.d.ts +4 -4
  26. package/dist-types/commands/CreateVpcOriginCommand.d.ts +186 -0
  27. package/dist-types/commands/DeleteAnycastIpListCommand.d.ts +95 -0
  28. package/dist-types/commands/DeleteCachePolicyCommand.d.ts +1 -1
  29. package/dist-types/commands/DeleteKeyValueStoreCommand.d.ts +2 -2
  30. package/dist-types/commands/DeleteOriginRequestPolicyCommand.d.ts +1 -1
  31. package/dist-types/commands/DeleteResponseHeadersPolicyCommand.d.ts +1 -1
  32. package/dist-types/commands/DeleteVpcOriginCommand.d.ts +155 -0
  33. package/dist-types/commands/DescribeKeyValueStoreCommand.d.ts +1 -1
  34. package/dist-types/commands/GetAnycastIpListCommand.d.ts +94 -0
  35. package/dist-types/commands/GetDistributionCommand.d.ts +15 -4
  36. package/dist-types/commands/GetDistributionConfigCommand.d.ts +15 -4
  37. package/dist-types/commands/GetVpcOriginCommand.d.ts +140 -0
  38. package/dist-types/commands/ListAnycastIpListsCommand.d.ts +100 -0
  39. package/dist-types/commands/ListDistributionsByAnycastIpListIdCommand.d.ts +393 -0
  40. package/dist-types/commands/ListDistributionsByRealtimeLogConfigCommand.d.ts +11 -0
  41. package/dist-types/commands/ListDistributionsByVpcOriginIdCommand.d.ts +116 -0
  42. package/dist-types/commands/ListDistributionsByWebACLIdCommand.d.ts +11 -0
  43. package/dist-types/commands/ListDistributionsCommand.d.ts +11 -0
  44. package/dist-types/commands/ListVpcOriginsCommand.d.ts +131 -0
  45. package/dist-types/commands/UpdateDistributionCommand.d.ts +33 -8
  46. package/dist-types/commands/UpdateDistributionWithStagingConfigCommand.d.ts +18 -4
  47. package/dist-types/commands/UpdateKeyValueStoreCommand.d.ts +1 -1
  48. package/dist-types/commands/UpdateVpcOriginCommand.d.ts +193 -0
  49. package/dist-types/commands/index.d.ts +11 -0
  50. package/dist-types/models/models_0.d.ts +361 -383
  51. package/dist-types/models/models_1.d.ts +733 -25
  52. package/dist-types/protocols/Aws_restXml.d.ts +99 -0
  53. package/dist-types/ts3.4/CloudFront.d.ts +195 -0
  54. package/dist-types/ts3.4/CloudFrontClient.d.ts +68 -2
  55. package/dist-types/ts3.4/commands/CreateAnycastIpListCommand.d.ts +51 -0
  56. package/dist-types/ts3.4/commands/CreateVpcOriginCommand.d.ts +50 -0
  57. package/dist-types/ts3.4/commands/DeleteAnycastIpListCommand.d.ts +46 -0
  58. package/dist-types/ts3.4/commands/DeleteVpcOriginCommand.d.ts +50 -0
  59. package/dist-types/ts3.4/commands/GetAnycastIpListCommand.d.ts +50 -0
  60. package/dist-types/ts3.4/commands/GetVpcOriginCommand.d.ts +47 -0
  61. package/dist-types/ts3.4/commands/ListAnycastIpListsCommand.d.ts +51 -0
  62. package/dist-types/ts3.4/commands/ListDistributionsByAnycastIpListIdCommand.d.ts +51 -0
  63. package/dist-types/ts3.4/commands/ListDistributionsByVpcOriginIdCommand.d.ts +51 -0
  64. package/dist-types/ts3.4/commands/ListVpcOriginsCommand.d.ts +50 -0
  65. package/dist-types/ts3.4/commands/UpdateVpcOriginCommand.d.ts +50 -0
  66. package/dist-types/ts3.4/commands/index.d.ts +11 -0
  67. package/dist-types/ts3.4/models/models_0.d.ts +106 -93
  68. package/dist-types/ts3.4/models/models_1.d.ts +171 -13
  69. package/dist-types/ts3.4/protocols/Aws_restXml.d.ts +132 -0
  70. package/package.json +1 -1
@@ -0,0 +1,393 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { CloudFrontClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudFrontClient";
4
+ import { ListDistributionsByAnycastIpListIdRequest, ListDistributionsByAnycastIpListIdResult } from "../models/models_1";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link ListDistributionsByAnycastIpListIdCommand}.
14
+ */
15
+ export interface ListDistributionsByAnycastIpListIdCommandInput extends ListDistributionsByAnycastIpListIdRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link ListDistributionsByAnycastIpListIdCommand}.
21
+ */
22
+ export interface ListDistributionsByAnycastIpListIdCommandOutput extends ListDistributionsByAnycastIpListIdResult, __MetadataBearer {
23
+ }
24
+ declare const ListDistributionsByAnycastIpListIdCommand_base: {
25
+ new (input: ListDistributionsByAnycastIpListIdCommandInput): import("@smithy/smithy-client").CommandImpl<ListDistributionsByAnycastIpListIdCommandInput, ListDistributionsByAnycastIpListIdCommandOutput, CloudFrontClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: ListDistributionsByAnycastIpListIdCommandInput): import("@smithy/smithy-client").CommandImpl<ListDistributionsByAnycastIpListIdCommandInput, ListDistributionsByAnycastIpListIdCommandOutput, CloudFrontClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Lists the distributions in your account that are associated with the specified <code>AnycastIpListId</code>.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { CloudFrontClient, ListDistributionsByAnycastIpListIdCommand } from "@aws-sdk/client-cloudfront"; // ES Modules import
35
+ * // const { CloudFrontClient, ListDistributionsByAnycastIpListIdCommand } = require("@aws-sdk/client-cloudfront"); // CommonJS import
36
+ * const client = new CloudFrontClient(config);
37
+ * const input = { // ListDistributionsByAnycastIpListIdRequest
38
+ * Marker: "STRING_VALUE",
39
+ * MaxItems: Number("int"),
40
+ * AnycastIpListId: "STRING_VALUE", // required
41
+ * };
42
+ * const command = new ListDistributionsByAnycastIpListIdCommand(input);
43
+ * const response = await client.send(command);
44
+ * // { // ListDistributionsByAnycastIpListIdResult
45
+ * // DistributionList: { // DistributionList
46
+ * // Marker: "STRING_VALUE", // required
47
+ * // NextMarker: "STRING_VALUE",
48
+ * // MaxItems: Number("int"), // required
49
+ * // IsTruncated: true || false, // required
50
+ * // Quantity: Number("int"), // required
51
+ * // Items: [ // DistributionSummaryList
52
+ * // { // DistributionSummary
53
+ * // Id: "STRING_VALUE", // required
54
+ * // ARN: "STRING_VALUE", // required
55
+ * // Status: "STRING_VALUE", // required
56
+ * // LastModifiedTime: new Date("TIMESTAMP"), // required
57
+ * // DomainName: "STRING_VALUE", // required
58
+ * // Aliases: { // Aliases
59
+ * // Quantity: Number("int"), // required
60
+ * // Items: [ // AliasList
61
+ * // "STRING_VALUE",
62
+ * // ],
63
+ * // },
64
+ * // Origins: { // Origins
65
+ * // Quantity: Number("int"), // required
66
+ * // Items: [ // OriginList // required
67
+ * // { // Origin
68
+ * // Id: "STRING_VALUE", // required
69
+ * // DomainName: "STRING_VALUE", // required
70
+ * // OriginPath: "STRING_VALUE",
71
+ * // CustomHeaders: { // CustomHeaders
72
+ * // Quantity: Number("int"), // required
73
+ * // Items: [ // OriginCustomHeadersList
74
+ * // { // OriginCustomHeader
75
+ * // HeaderName: "STRING_VALUE", // required
76
+ * // HeaderValue: "STRING_VALUE", // required
77
+ * // },
78
+ * // ],
79
+ * // },
80
+ * // S3OriginConfig: { // S3OriginConfig
81
+ * // OriginAccessIdentity: "STRING_VALUE", // required
82
+ * // },
83
+ * // CustomOriginConfig: { // CustomOriginConfig
84
+ * // HTTPPort: Number("int"), // required
85
+ * // HTTPSPort: Number("int"), // required
86
+ * // OriginProtocolPolicy: "http-only" || "match-viewer" || "https-only", // required
87
+ * // OriginSslProtocols: { // OriginSslProtocols
88
+ * // Quantity: Number("int"), // required
89
+ * // Items: [ // SslProtocolsList // required
90
+ * // "SSLv3" || "TLSv1" || "TLSv1.1" || "TLSv1.2",
91
+ * // ],
92
+ * // },
93
+ * // OriginReadTimeout: Number("int"),
94
+ * // OriginKeepaliveTimeout: Number("int"),
95
+ * // },
96
+ * // VpcOriginConfig: { // VpcOriginConfig
97
+ * // VpcOriginId: "STRING_VALUE", // required
98
+ * // },
99
+ * // ConnectionAttempts: Number("int"),
100
+ * // ConnectionTimeout: Number("int"),
101
+ * // OriginShield: { // OriginShield
102
+ * // Enabled: true || false, // required
103
+ * // OriginShieldRegion: "STRING_VALUE",
104
+ * // },
105
+ * // OriginAccessControlId: "STRING_VALUE",
106
+ * // },
107
+ * // ],
108
+ * // },
109
+ * // OriginGroups: { // OriginGroups
110
+ * // Quantity: Number("int"), // required
111
+ * // Items: [ // OriginGroupList
112
+ * // { // OriginGroup
113
+ * // Id: "STRING_VALUE", // required
114
+ * // FailoverCriteria: { // OriginGroupFailoverCriteria
115
+ * // StatusCodes: { // StatusCodes
116
+ * // Quantity: Number("int"), // required
117
+ * // Items: [ // StatusCodeList // required
118
+ * // Number("int"),
119
+ * // ],
120
+ * // },
121
+ * // },
122
+ * // Members: { // OriginGroupMembers
123
+ * // Quantity: Number("int"), // required
124
+ * // Items: [ // OriginGroupMemberList // required
125
+ * // { // OriginGroupMember
126
+ * // OriginId: "STRING_VALUE", // required
127
+ * // },
128
+ * // ],
129
+ * // },
130
+ * // SelectionCriteria: "default" || "media-quality-based",
131
+ * // },
132
+ * // ],
133
+ * // },
134
+ * // DefaultCacheBehavior: { // DefaultCacheBehavior
135
+ * // TargetOriginId: "STRING_VALUE", // required
136
+ * // TrustedSigners: { // TrustedSigners
137
+ * // Enabled: true || false, // required
138
+ * // Quantity: Number("int"), // required
139
+ * // Items: [ // AwsAccountNumberList
140
+ * // "STRING_VALUE",
141
+ * // ],
142
+ * // },
143
+ * // TrustedKeyGroups: { // TrustedKeyGroups
144
+ * // Enabled: true || false, // required
145
+ * // Quantity: Number("int"), // required
146
+ * // Items: [ // TrustedKeyGroupIdList
147
+ * // "STRING_VALUE",
148
+ * // ],
149
+ * // },
150
+ * // ViewerProtocolPolicy: "allow-all" || "https-only" || "redirect-to-https", // required
151
+ * // AllowedMethods: { // AllowedMethods
152
+ * // Quantity: Number("int"), // required
153
+ * // Items: [ // MethodsList // required
154
+ * // "GET" || "HEAD" || "POST" || "PUT" || "PATCH" || "OPTIONS" || "DELETE",
155
+ * // ],
156
+ * // CachedMethods: { // CachedMethods
157
+ * // Quantity: Number("int"), // required
158
+ * // Items: [ // required
159
+ * // "GET" || "HEAD" || "POST" || "PUT" || "PATCH" || "OPTIONS" || "DELETE",
160
+ * // ],
161
+ * // },
162
+ * // },
163
+ * // SmoothStreaming: true || false,
164
+ * // Compress: true || false,
165
+ * // LambdaFunctionAssociations: { // LambdaFunctionAssociations
166
+ * // Quantity: Number("int"), // required
167
+ * // Items: [ // LambdaFunctionAssociationList
168
+ * // { // LambdaFunctionAssociation
169
+ * // LambdaFunctionARN: "STRING_VALUE", // required
170
+ * // EventType: "viewer-request" || "viewer-response" || "origin-request" || "origin-response", // required
171
+ * // IncludeBody: true || false,
172
+ * // },
173
+ * // ],
174
+ * // },
175
+ * // FunctionAssociations: { // FunctionAssociations
176
+ * // Quantity: Number("int"), // required
177
+ * // Items: [ // FunctionAssociationList
178
+ * // { // FunctionAssociation
179
+ * // FunctionARN: "STRING_VALUE", // required
180
+ * // EventType: "viewer-request" || "viewer-response" || "origin-request" || "origin-response", // required
181
+ * // },
182
+ * // ],
183
+ * // },
184
+ * // FieldLevelEncryptionId: "STRING_VALUE",
185
+ * // RealtimeLogConfigArn: "STRING_VALUE",
186
+ * // CachePolicyId: "STRING_VALUE",
187
+ * // OriginRequestPolicyId: "STRING_VALUE",
188
+ * // ResponseHeadersPolicyId: "STRING_VALUE",
189
+ * // GrpcConfig: { // GrpcConfig
190
+ * // Enabled: true || false, // required
191
+ * // },
192
+ * // ForwardedValues: { // ForwardedValues
193
+ * // QueryString: true || false, // required
194
+ * // Cookies: { // CookiePreference
195
+ * // Forward: "none" || "whitelist" || "all", // required
196
+ * // WhitelistedNames: { // CookieNames
197
+ * // Quantity: Number("int"), // required
198
+ * // Items: [ // CookieNameList
199
+ * // "STRING_VALUE",
200
+ * // ],
201
+ * // },
202
+ * // },
203
+ * // Headers: { // Headers
204
+ * // Quantity: Number("int"), // required
205
+ * // Items: [ // HeaderList
206
+ * // "STRING_VALUE",
207
+ * // ],
208
+ * // },
209
+ * // QueryStringCacheKeys: { // QueryStringCacheKeys
210
+ * // Quantity: Number("int"), // required
211
+ * // Items: [ // QueryStringCacheKeysList
212
+ * // "STRING_VALUE",
213
+ * // ],
214
+ * // },
215
+ * // },
216
+ * // MinTTL: Number("long"),
217
+ * // DefaultTTL: Number("long"),
218
+ * // MaxTTL: Number("long"),
219
+ * // },
220
+ * // CacheBehaviors: { // CacheBehaviors
221
+ * // Quantity: Number("int"), // required
222
+ * // Items: [ // CacheBehaviorList
223
+ * // { // CacheBehavior
224
+ * // PathPattern: "STRING_VALUE", // required
225
+ * // TargetOriginId: "STRING_VALUE", // required
226
+ * // TrustedSigners: {
227
+ * // Enabled: true || false, // required
228
+ * // Quantity: Number("int"), // required
229
+ * // Items: [
230
+ * // "STRING_VALUE",
231
+ * // ],
232
+ * // },
233
+ * // TrustedKeyGroups: {
234
+ * // Enabled: true || false, // required
235
+ * // Quantity: Number("int"), // required
236
+ * // Items: [
237
+ * // "STRING_VALUE",
238
+ * // ],
239
+ * // },
240
+ * // ViewerProtocolPolicy: "allow-all" || "https-only" || "redirect-to-https", // required
241
+ * // AllowedMethods: {
242
+ * // Quantity: Number("int"), // required
243
+ * // Items: "<MethodsList>", // required
244
+ * // CachedMethods: {
245
+ * // Quantity: Number("int"), // required
246
+ * // Items: "<MethodsList>", // required
247
+ * // },
248
+ * // },
249
+ * // SmoothStreaming: true || false,
250
+ * // Compress: true || false,
251
+ * // LambdaFunctionAssociations: {
252
+ * // Quantity: Number("int"), // required
253
+ * // Items: [
254
+ * // {
255
+ * // LambdaFunctionARN: "STRING_VALUE", // required
256
+ * // EventType: "viewer-request" || "viewer-response" || "origin-request" || "origin-response", // required
257
+ * // IncludeBody: true || false,
258
+ * // },
259
+ * // ],
260
+ * // },
261
+ * // FunctionAssociations: {
262
+ * // Quantity: Number("int"), // required
263
+ * // Items: [
264
+ * // {
265
+ * // FunctionARN: "STRING_VALUE", // required
266
+ * // EventType: "viewer-request" || "viewer-response" || "origin-request" || "origin-response", // required
267
+ * // },
268
+ * // ],
269
+ * // },
270
+ * // FieldLevelEncryptionId: "STRING_VALUE",
271
+ * // RealtimeLogConfigArn: "STRING_VALUE",
272
+ * // CachePolicyId: "STRING_VALUE",
273
+ * // OriginRequestPolicyId: "STRING_VALUE",
274
+ * // ResponseHeadersPolicyId: "STRING_VALUE",
275
+ * // GrpcConfig: {
276
+ * // Enabled: true || false, // required
277
+ * // },
278
+ * // ForwardedValues: {
279
+ * // QueryString: true || false, // required
280
+ * // Cookies: {
281
+ * // Forward: "none" || "whitelist" || "all", // required
282
+ * // WhitelistedNames: {
283
+ * // Quantity: Number("int"), // required
284
+ * // Items: [
285
+ * // "STRING_VALUE",
286
+ * // ],
287
+ * // },
288
+ * // },
289
+ * // Headers: {
290
+ * // Quantity: Number("int"), // required
291
+ * // Items: [
292
+ * // "STRING_VALUE",
293
+ * // ],
294
+ * // },
295
+ * // QueryStringCacheKeys: {
296
+ * // Quantity: Number("int"), // required
297
+ * // Items: [
298
+ * // "STRING_VALUE",
299
+ * // ],
300
+ * // },
301
+ * // },
302
+ * // MinTTL: Number("long"),
303
+ * // DefaultTTL: Number("long"),
304
+ * // MaxTTL: Number("long"),
305
+ * // },
306
+ * // ],
307
+ * // },
308
+ * // CustomErrorResponses: { // CustomErrorResponses
309
+ * // Quantity: Number("int"), // required
310
+ * // Items: [ // CustomErrorResponseList
311
+ * // { // CustomErrorResponse
312
+ * // ErrorCode: Number("int"), // required
313
+ * // ResponsePagePath: "STRING_VALUE",
314
+ * // ResponseCode: "STRING_VALUE",
315
+ * // ErrorCachingMinTTL: Number("long"),
316
+ * // },
317
+ * // ],
318
+ * // },
319
+ * // Comment: "STRING_VALUE", // required
320
+ * // PriceClass: "PriceClass_100" || "PriceClass_200" || "PriceClass_All", // required
321
+ * // Enabled: true || false, // required
322
+ * // ViewerCertificate: { // ViewerCertificate
323
+ * // CloudFrontDefaultCertificate: true || false,
324
+ * // IAMCertificateId: "STRING_VALUE",
325
+ * // ACMCertificateArn: "STRING_VALUE",
326
+ * // SSLSupportMethod: "sni-only" || "vip" || "static-ip",
327
+ * // MinimumProtocolVersion: "SSLv3" || "TLSv1" || "TLSv1_2016" || "TLSv1.1_2016" || "TLSv1.2_2018" || "TLSv1.2_2019" || "TLSv1.2_2021",
328
+ * // Certificate: "STRING_VALUE",
329
+ * // CertificateSource: "cloudfront" || "iam" || "acm",
330
+ * // },
331
+ * // Restrictions: { // Restrictions
332
+ * // GeoRestriction: { // GeoRestriction
333
+ * // RestrictionType: "blacklist" || "whitelist" || "none", // required
334
+ * // Quantity: Number("int"), // required
335
+ * // Items: [ // LocationList
336
+ * // "STRING_VALUE",
337
+ * // ],
338
+ * // },
339
+ * // },
340
+ * // WebACLId: "STRING_VALUE", // required
341
+ * // HttpVersion: "http1.1" || "http2" || "http3" || "http2and3", // required
342
+ * // IsIPV6Enabled: true || false, // required
343
+ * // AliasICPRecordals: [ // AliasICPRecordals
344
+ * // { // AliasICPRecordal
345
+ * // CNAME: "STRING_VALUE",
346
+ * // ICPRecordalStatus: "APPROVED" || "SUSPENDED" || "PENDING",
347
+ * // },
348
+ * // ],
349
+ * // Staging: true || false, // required
350
+ * // AnycastIpListId: "STRING_VALUE",
351
+ * // },
352
+ * // ],
353
+ * // },
354
+ * // };
355
+ *
356
+ * ```
357
+ *
358
+ * @param ListDistributionsByAnycastIpListIdCommandInput - {@link ListDistributionsByAnycastIpListIdCommandInput}
359
+ * @returns {@link ListDistributionsByAnycastIpListIdCommandOutput}
360
+ * @see {@link ListDistributionsByAnycastIpListIdCommandInput} for command's `input` shape.
361
+ * @see {@link ListDistributionsByAnycastIpListIdCommandOutput} for command's `response` shape.
362
+ * @see {@link CloudFrontClientResolvedConfig | config} for CloudFrontClient's `config` shape.
363
+ *
364
+ * @throws {@link AccessDenied} (client fault)
365
+ * <p>Access denied.</p>
366
+ *
367
+ * @throws {@link EntityNotFound} (client fault)
368
+ * <p>The entity was not found.</p>
369
+ *
370
+ * @throws {@link InvalidArgument} (client fault)
371
+ * <p>An argument is invalid.</p>
372
+ *
373
+ * @throws {@link UnsupportedOperation} (client fault)
374
+ * <p>This operation is not supported in this region.</p>
375
+ *
376
+ * @throws {@link CloudFrontServiceException}
377
+ * <p>Base exception class for all service exceptions from CloudFront service.</p>
378
+ *
379
+ * @public
380
+ */
381
+ export declare class ListDistributionsByAnycastIpListIdCommand extends ListDistributionsByAnycastIpListIdCommand_base {
382
+ /** @internal type navigation helper, not in runtime. */
383
+ protected static __types: {
384
+ api: {
385
+ input: ListDistributionsByAnycastIpListIdRequest;
386
+ output: ListDistributionsByAnycastIpListIdResult;
387
+ };
388
+ sdk: {
389
+ input: ListDistributionsByAnycastIpListIdCommandInput;
390
+ output: ListDistributionsByAnycastIpListIdCommandOutput;
391
+ };
392
+ };
393
+ }
@@ -103,6 +103,9 @@ declare const ListDistributionsByRealtimeLogConfigCommand_base: {
103
103
  * // OriginReadTimeout: Number("int"),
104
104
  * // OriginKeepaliveTimeout: Number("int"),
105
105
  * // },
106
+ * // VpcOriginConfig: { // VpcOriginConfig
107
+ * // VpcOriginId: "STRING_VALUE", // required
108
+ * // },
106
109
  * // ConnectionAttempts: Number("int"),
107
110
  * // ConnectionTimeout: Number("int"),
108
111
  * // OriginShield: { // OriginShield
@@ -134,6 +137,7 @@ declare const ListDistributionsByRealtimeLogConfigCommand_base: {
134
137
  * // },
135
138
  * // ],
136
139
  * // },
140
+ * // SelectionCriteria: "default" || "media-quality-based",
137
141
  * // },
138
142
  * // ],
139
143
  * // },
@@ -192,6 +196,9 @@ declare const ListDistributionsByRealtimeLogConfigCommand_base: {
192
196
  * // CachePolicyId: "STRING_VALUE",
193
197
  * // OriginRequestPolicyId: "STRING_VALUE",
194
198
  * // ResponseHeadersPolicyId: "STRING_VALUE",
199
+ * // GrpcConfig: { // GrpcConfig
200
+ * // Enabled: true || false, // required
201
+ * // },
195
202
  * // ForwardedValues: { // ForwardedValues
196
203
  * // QueryString: true || false, // required
197
204
  * // Cookies: { // CookiePreference
@@ -275,6 +282,9 @@ declare const ListDistributionsByRealtimeLogConfigCommand_base: {
275
282
  * // CachePolicyId: "STRING_VALUE",
276
283
  * // OriginRequestPolicyId: "STRING_VALUE",
277
284
  * // ResponseHeadersPolicyId: "STRING_VALUE",
285
+ * // GrpcConfig: {
286
+ * // Enabled: true || false, // required
287
+ * // },
278
288
  * // ForwardedValues: {
279
289
  * // QueryString: true || false, // required
280
290
  * // Cookies: {
@@ -347,6 +357,7 @@ declare const ListDistributionsByRealtimeLogConfigCommand_base: {
347
357
  * // },
348
358
  * // ],
349
359
  * // Staging: true || false, // required
360
+ * // AnycastIpListId: "STRING_VALUE",
350
361
  * // },
351
362
  * // ],
352
363
  * // },
@@ -0,0 +1,116 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { CloudFrontClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudFrontClient";
4
+ import { ListDistributionsByVpcOriginIdRequest, ListDistributionsByVpcOriginIdResult } from "../models/models_1";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link ListDistributionsByVpcOriginIdCommand}.
14
+ */
15
+ export interface ListDistributionsByVpcOriginIdCommandInput extends ListDistributionsByVpcOriginIdRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link ListDistributionsByVpcOriginIdCommand}.
21
+ */
22
+ export interface ListDistributionsByVpcOriginIdCommandOutput extends ListDistributionsByVpcOriginIdResult, __MetadataBearer {
23
+ }
24
+ declare const ListDistributionsByVpcOriginIdCommand_base: {
25
+ new (input: ListDistributionsByVpcOriginIdCommandInput): import("@smithy/smithy-client").CommandImpl<ListDistributionsByVpcOriginIdCommandInput, ListDistributionsByVpcOriginIdCommandOutput, CloudFrontClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: ListDistributionsByVpcOriginIdCommandInput): import("@smithy/smithy-client").CommandImpl<ListDistributionsByVpcOriginIdCommandInput, ListDistributionsByVpcOriginIdCommandOutput, CloudFrontClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>List CloudFront distributions by their VPC origin ID.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { CloudFrontClient, ListDistributionsByVpcOriginIdCommand } from "@aws-sdk/client-cloudfront"; // ES Modules import
35
+ * // const { CloudFrontClient, ListDistributionsByVpcOriginIdCommand } = require("@aws-sdk/client-cloudfront"); // CommonJS import
36
+ * const client = new CloudFrontClient(config);
37
+ * const input = { // ListDistributionsByVpcOriginIdRequest
38
+ * Marker: "STRING_VALUE",
39
+ * MaxItems: Number("int"),
40
+ * VpcOriginId: "STRING_VALUE", // required
41
+ * };
42
+ * const command = new ListDistributionsByVpcOriginIdCommand(input);
43
+ * const response = await client.send(command);
44
+ * // { // ListDistributionsByVpcOriginIdResult
45
+ * // DistributionIdList: { // DistributionIdList
46
+ * // Marker: "STRING_VALUE", // required
47
+ * // NextMarker: "STRING_VALUE",
48
+ * // MaxItems: Number("int"), // required
49
+ * // IsTruncated: true || false, // required
50
+ * // Quantity: Number("int"), // required
51
+ * // Items: [ // DistributionIdListSummary
52
+ * // "STRING_VALUE",
53
+ * // ],
54
+ * // },
55
+ * // };
56
+ *
57
+ * ```
58
+ *
59
+ * @param ListDistributionsByVpcOriginIdCommandInput - {@link ListDistributionsByVpcOriginIdCommandInput}
60
+ * @returns {@link ListDistributionsByVpcOriginIdCommandOutput}
61
+ * @see {@link ListDistributionsByVpcOriginIdCommandInput} for command's `input` shape.
62
+ * @see {@link ListDistributionsByVpcOriginIdCommandOutput} for command's `response` shape.
63
+ * @see {@link CloudFrontClientResolvedConfig | config} for CloudFrontClient's `config` shape.
64
+ *
65
+ * @throws {@link AccessDenied} (client fault)
66
+ * <p>Access denied.</p>
67
+ *
68
+ * @throws {@link EntityNotFound} (client fault)
69
+ * <p>The entity was not found.</p>
70
+ *
71
+ * @throws {@link InvalidArgument} (client fault)
72
+ * <p>An argument is invalid.</p>
73
+ *
74
+ * @throws {@link UnsupportedOperation} (client fault)
75
+ * <p>This operation is not supported in this region.</p>
76
+ *
77
+ * @throws {@link CloudFrontServiceException}
78
+ * <p>Base exception class for all service exceptions from CloudFront service.</p>
79
+ *
80
+ * @public
81
+ * @example To list distributions by VPC origin ID
82
+ * ```javascript
83
+ * // The following command lists distributions by VPC origin ID:
84
+ * const input = {
85
+ * "VpcOriginId": "vo_BQwjxxQxjCaBcQLzJUFkDM"
86
+ * };
87
+ * const command = new ListDistributionsByVpcOriginIdCommand(input);
88
+ * const response = await client.send(command);
89
+ * /* response ==
90
+ * {
91
+ * "DistributionIdList": {
92
+ * "IsTruncated": false,
93
+ * "Items": [],
94
+ * "Marker": "a",
95
+ * "MaxItems": 100,
96
+ * "Quantity": 0
97
+ * }
98
+ * }
99
+ * *\/
100
+ * // example id: example-1
101
+ * ```
102
+ *
103
+ */
104
+ export declare class ListDistributionsByVpcOriginIdCommand extends ListDistributionsByVpcOriginIdCommand_base {
105
+ /** @internal type navigation helper, not in runtime. */
106
+ protected static __types: {
107
+ api: {
108
+ input: ListDistributionsByVpcOriginIdRequest;
109
+ output: ListDistributionsByVpcOriginIdResult;
110
+ };
111
+ sdk: {
112
+ input: ListDistributionsByVpcOriginIdCommandInput;
113
+ output: ListDistributionsByVpcOriginIdCommandOutput;
114
+ };
115
+ };
116
+ }
@@ -93,6 +93,9 @@ declare const ListDistributionsByWebACLIdCommand_base: {
93
93
  * // OriginReadTimeout: Number("int"),
94
94
  * // OriginKeepaliveTimeout: Number("int"),
95
95
  * // },
96
+ * // VpcOriginConfig: { // VpcOriginConfig
97
+ * // VpcOriginId: "STRING_VALUE", // required
98
+ * // },
96
99
  * // ConnectionAttempts: Number("int"),
97
100
  * // ConnectionTimeout: Number("int"),
98
101
  * // OriginShield: { // OriginShield
@@ -124,6 +127,7 @@ declare const ListDistributionsByWebACLIdCommand_base: {
124
127
  * // },
125
128
  * // ],
126
129
  * // },
130
+ * // SelectionCriteria: "default" || "media-quality-based",
127
131
  * // },
128
132
  * // ],
129
133
  * // },
@@ -182,6 +186,9 @@ declare const ListDistributionsByWebACLIdCommand_base: {
182
186
  * // CachePolicyId: "STRING_VALUE",
183
187
  * // OriginRequestPolicyId: "STRING_VALUE",
184
188
  * // ResponseHeadersPolicyId: "STRING_VALUE",
189
+ * // GrpcConfig: { // GrpcConfig
190
+ * // Enabled: true || false, // required
191
+ * // },
185
192
  * // ForwardedValues: { // ForwardedValues
186
193
  * // QueryString: true || false, // required
187
194
  * // Cookies: { // CookiePreference
@@ -265,6 +272,9 @@ declare const ListDistributionsByWebACLIdCommand_base: {
265
272
  * // CachePolicyId: "STRING_VALUE",
266
273
  * // OriginRequestPolicyId: "STRING_VALUE",
267
274
  * // ResponseHeadersPolicyId: "STRING_VALUE",
275
+ * // GrpcConfig: {
276
+ * // Enabled: true || false, // required
277
+ * // },
268
278
  * // ForwardedValues: {
269
279
  * // QueryString: true || false, // required
270
280
  * // Cookies: {
@@ -337,6 +347,7 @@ declare const ListDistributionsByWebACLIdCommand_base: {
337
347
  * // },
338
348
  * // ],
339
349
  * // Staging: true || false, // required
350
+ * // AnycastIpListId: "STRING_VALUE",
340
351
  * // },
341
352
  * // ],
342
353
  * // },
@@ -92,6 +92,9 @@ declare const ListDistributionsCommand_base: {
92
92
  * // OriginReadTimeout: Number("int"),
93
93
  * // OriginKeepaliveTimeout: Number("int"),
94
94
  * // },
95
+ * // VpcOriginConfig: { // VpcOriginConfig
96
+ * // VpcOriginId: "STRING_VALUE", // required
97
+ * // },
95
98
  * // ConnectionAttempts: Number("int"),
96
99
  * // ConnectionTimeout: Number("int"),
97
100
  * // OriginShield: { // OriginShield
@@ -123,6 +126,7 @@ declare const ListDistributionsCommand_base: {
123
126
  * // },
124
127
  * // ],
125
128
  * // },
129
+ * // SelectionCriteria: "default" || "media-quality-based",
126
130
  * // },
127
131
  * // ],
128
132
  * // },
@@ -181,6 +185,9 @@ declare const ListDistributionsCommand_base: {
181
185
  * // CachePolicyId: "STRING_VALUE",
182
186
  * // OriginRequestPolicyId: "STRING_VALUE",
183
187
  * // ResponseHeadersPolicyId: "STRING_VALUE",
188
+ * // GrpcConfig: { // GrpcConfig
189
+ * // Enabled: true || false, // required
190
+ * // },
184
191
  * // ForwardedValues: { // ForwardedValues
185
192
  * // QueryString: true || false, // required
186
193
  * // Cookies: { // CookiePreference
@@ -264,6 +271,9 @@ declare const ListDistributionsCommand_base: {
264
271
  * // CachePolicyId: "STRING_VALUE",
265
272
  * // OriginRequestPolicyId: "STRING_VALUE",
266
273
  * // ResponseHeadersPolicyId: "STRING_VALUE",
274
+ * // GrpcConfig: {
275
+ * // Enabled: true || false, // required
276
+ * // },
267
277
  * // ForwardedValues: {
268
278
  * // QueryString: true || false, // required
269
279
  * // Cookies: {
@@ -336,6 +346,7 @@ declare const ListDistributionsCommand_base: {
336
346
  * // },
337
347
  * // ],
338
348
  * // Staging: true || false, // required
349
+ * // AnycastIpListId: "STRING_VALUE",
339
350
  * // },
340
351
  * // ],
341
352
  * // },