@aws-sdk/client-cloudfront 3.693.0 → 3.697.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 +976 -199
  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 +78 -52
  17. package/dist-es/models/models_1.js +3 -13
  18. package/dist-es/protocols/Aws_restXml.js +630 -56
  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 +14 -4
  22. package/dist-types/commands/CreateAnycastIpListCommand.d.ts +110 -0
  23. package/dist-types/commands/CreateDistributionCommand.d.ts +31 -8
  24. package/dist-types/commands/CreateDistributionWithTagsCommand.d.ts +31 -8
  25. package/dist-types/commands/CreateKeyValueStoreCommand.d.ts +3 -3
  26. package/dist-types/commands/CreateVpcOriginCommand.d.ts +135 -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 +117 -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 +14 -4
  36. package/dist-types/commands/GetDistributionConfigCommand.d.ts +14 -4
  37. package/dist-types/commands/GetVpcOriginCommand.d.ts +103 -0
  38. package/dist-types/commands/ListAnycastIpListsCommand.d.ts +100 -0
  39. package/dist-types/commands/ListDistributionsByAnycastIpListIdCommand.d.ts +392 -0
  40. package/dist-types/commands/ListDistributionsByRealtimeLogConfigCommand.d.ts +10 -0
  41. package/dist-types/commands/ListDistributionsByVpcOriginIdCommand.d.ts +94 -0
  42. package/dist-types/commands/ListDistributionsByWebACLIdCommand.d.ts +10 -0
  43. package/dist-types/commands/ListDistributionsCommand.d.ts +10 -0
  44. package/dist-types/commands/ListVpcOriginsCommand.d.ts +101 -0
  45. package/dist-types/commands/UpdateDistributionCommand.d.ts +31 -8
  46. package/dist-types/commands/UpdateDistributionWithStagingConfigCommand.d.ts +17 -4
  47. package/dist-types/commands/UpdateKeyValueStoreCommand.d.ts +1 -1
  48. package/dist-types/commands/UpdateVpcOriginCommand.d.ts +141 -0
  49. package/dist-types/commands/index.d.ts +11 -0
  50. package/dist-types/models/models_0.d.ts +337 -314
  51. package/dist-types/models/models_1.d.ts +668 -24
  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 +99 -89
  68. package/dist-types/ts3.4/models/models_1.d.ts +167 -13
  69. package/dist-types/ts3.4/protocols/Aws_restXml.d.ts +132 -0
  70. package/package.json +38 -38
@@ -0,0 +1,392 @@
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
+ * // },
131
+ * // ],
132
+ * // },
133
+ * // DefaultCacheBehavior: { // DefaultCacheBehavior
134
+ * // TargetOriginId: "STRING_VALUE", // required
135
+ * // TrustedSigners: { // TrustedSigners
136
+ * // Enabled: true || false, // required
137
+ * // Quantity: Number("int"), // required
138
+ * // Items: [ // AwsAccountNumberList
139
+ * // "STRING_VALUE",
140
+ * // ],
141
+ * // },
142
+ * // TrustedKeyGroups: { // TrustedKeyGroups
143
+ * // Enabled: true || false, // required
144
+ * // Quantity: Number("int"), // required
145
+ * // Items: [ // TrustedKeyGroupIdList
146
+ * // "STRING_VALUE",
147
+ * // ],
148
+ * // },
149
+ * // ViewerProtocolPolicy: "allow-all" || "https-only" || "redirect-to-https", // required
150
+ * // AllowedMethods: { // AllowedMethods
151
+ * // Quantity: Number("int"), // required
152
+ * // Items: [ // MethodsList // required
153
+ * // "GET" || "HEAD" || "POST" || "PUT" || "PATCH" || "OPTIONS" || "DELETE",
154
+ * // ],
155
+ * // CachedMethods: { // CachedMethods
156
+ * // Quantity: Number("int"), // required
157
+ * // Items: [ // required
158
+ * // "GET" || "HEAD" || "POST" || "PUT" || "PATCH" || "OPTIONS" || "DELETE",
159
+ * // ],
160
+ * // },
161
+ * // },
162
+ * // SmoothStreaming: true || false,
163
+ * // Compress: true || false,
164
+ * // LambdaFunctionAssociations: { // LambdaFunctionAssociations
165
+ * // Quantity: Number("int"), // required
166
+ * // Items: [ // LambdaFunctionAssociationList
167
+ * // { // LambdaFunctionAssociation
168
+ * // LambdaFunctionARN: "STRING_VALUE", // required
169
+ * // EventType: "viewer-request" || "viewer-response" || "origin-request" || "origin-response", // required
170
+ * // IncludeBody: true || false,
171
+ * // },
172
+ * // ],
173
+ * // },
174
+ * // FunctionAssociations: { // FunctionAssociations
175
+ * // Quantity: Number("int"), // required
176
+ * // Items: [ // FunctionAssociationList
177
+ * // { // FunctionAssociation
178
+ * // FunctionARN: "STRING_VALUE", // required
179
+ * // EventType: "viewer-request" || "viewer-response" || "origin-request" || "origin-response", // required
180
+ * // },
181
+ * // ],
182
+ * // },
183
+ * // FieldLevelEncryptionId: "STRING_VALUE",
184
+ * // RealtimeLogConfigArn: "STRING_VALUE",
185
+ * // CachePolicyId: "STRING_VALUE",
186
+ * // OriginRequestPolicyId: "STRING_VALUE",
187
+ * // ResponseHeadersPolicyId: "STRING_VALUE",
188
+ * // GrpcConfig: { // GrpcConfig
189
+ * // Enabled: true || false, // required
190
+ * // },
191
+ * // ForwardedValues: { // ForwardedValues
192
+ * // QueryString: true || false, // required
193
+ * // Cookies: { // CookiePreference
194
+ * // Forward: "none" || "whitelist" || "all", // required
195
+ * // WhitelistedNames: { // CookieNames
196
+ * // Quantity: Number("int"), // required
197
+ * // Items: [ // CookieNameList
198
+ * // "STRING_VALUE",
199
+ * // ],
200
+ * // },
201
+ * // },
202
+ * // Headers: { // Headers
203
+ * // Quantity: Number("int"), // required
204
+ * // Items: [ // HeaderList
205
+ * // "STRING_VALUE",
206
+ * // ],
207
+ * // },
208
+ * // QueryStringCacheKeys: { // QueryStringCacheKeys
209
+ * // Quantity: Number("int"), // required
210
+ * // Items: [ // QueryStringCacheKeysList
211
+ * // "STRING_VALUE",
212
+ * // ],
213
+ * // },
214
+ * // },
215
+ * // MinTTL: Number("long"),
216
+ * // DefaultTTL: Number("long"),
217
+ * // MaxTTL: Number("long"),
218
+ * // },
219
+ * // CacheBehaviors: { // CacheBehaviors
220
+ * // Quantity: Number("int"), // required
221
+ * // Items: [ // CacheBehaviorList
222
+ * // { // CacheBehavior
223
+ * // PathPattern: "STRING_VALUE", // required
224
+ * // TargetOriginId: "STRING_VALUE", // required
225
+ * // TrustedSigners: {
226
+ * // Enabled: true || false, // required
227
+ * // Quantity: Number("int"), // required
228
+ * // Items: [
229
+ * // "STRING_VALUE",
230
+ * // ],
231
+ * // },
232
+ * // TrustedKeyGroups: {
233
+ * // Enabled: true || false, // required
234
+ * // Quantity: Number("int"), // required
235
+ * // Items: [
236
+ * // "STRING_VALUE",
237
+ * // ],
238
+ * // },
239
+ * // ViewerProtocolPolicy: "allow-all" || "https-only" || "redirect-to-https", // required
240
+ * // AllowedMethods: {
241
+ * // Quantity: Number("int"), // required
242
+ * // Items: "<MethodsList>", // required
243
+ * // CachedMethods: {
244
+ * // Quantity: Number("int"), // required
245
+ * // Items: "<MethodsList>", // required
246
+ * // },
247
+ * // },
248
+ * // SmoothStreaming: true || false,
249
+ * // Compress: true || false,
250
+ * // LambdaFunctionAssociations: {
251
+ * // Quantity: Number("int"), // required
252
+ * // Items: [
253
+ * // {
254
+ * // LambdaFunctionARN: "STRING_VALUE", // required
255
+ * // EventType: "viewer-request" || "viewer-response" || "origin-request" || "origin-response", // required
256
+ * // IncludeBody: true || false,
257
+ * // },
258
+ * // ],
259
+ * // },
260
+ * // FunctionAssociations: {
261
+ * // Quantity: Number("int"), // required
262
+ * // Items: [
263
+ * // {
264
+ * // FunctionARN: "STRING_VALUE", // required
265
+ * // EventType: "viewer-request" || "viewer-response" || "origin-request" || "origin-response", // required
266
+ * // },
267
+ * // ],
268
+ * // },
269
+ * // FieldLevelEncryptionId: "STRING_VALUE",
270
+ * // RealtimeLogConfigArn: "STRING_VALUE",
271
+ * // CachePolicyId: "STRING_VALUE",
272
+ * // OriginRequestPolicyId: "STRING_VALUE",
273
+ * // ResponseHeadersPolicyId: "STRING_VALUE",
274
+ * // GrpcConfig: {
275
+ * // Enabled: true || false, // required
276
+ * // },
277
+ * // ForwardedValues: {
278
+ * // QueryString: true || false, // required
279
+ * // Cookies: {
280
+ * // Forward: "none" || "whitelist" || "all", // required
281
+ * // WhitelistedNames: {
282
+ * // Quantity: Number("int"), // required
283
+ * // Items: [
284
+ * // "STRING_VALUE",
285
+ * // ],
286
+ * // },
287
+ * // },
288
+ * // Headers: {
289
+ * // Quantity: Number("int"), // required
290
+ * // Items: [
291
+ * // "STRING_VALUE",
292
+ * // ],
293
+ * // },
294
+ * // QueryStringCacheKeys: {
295
+ * // Quantity: Number("int"), // required
296
+ * // Items: [
297
+ * // "STRING_VALUE",
298
+ * // ],
299
+ * // },
300
+ * // },
301
+ * // MinTTL: Number("long"),
302
+ * // DefaultTTL: Number("long"),
303
+ * // MaxTTL: Number("long"),
304
+ * // },
305
+ * // ],
306
+ * // },
307
+ * // CustomErrorResponses: { // CustomErrorResponses
308
+ * // Quantity: Number("int"), // required
309
+ * // Items: [ // CustomErrorResponseList
310
+ * // { // CustomErrorResponse
311
+ * // ErrorCode: Number("int"), // required
312
+ * // ResponsePagePath: "STRING_VALUE",
313
+ * // ResponseCode: "STRING_VALUE",
314
+ * // ErrorCachingMinTTL: Number("long"),
315
+ * // },
316
+ * // ],
317
+ * // },
318
+ * // Comment: "STRING_VALUE", // required
319
+ * // PriceClass: "PriceClass_100" || "PriceClass_200" || "PriceClass_All", // required
320
+ * // Enabled: true || false, // required
321
+ * // ViewerCertificate: { // ViewerCertificate
322
+ * // CloudFrontDefaultCertificate: true || false,
323
+ * // IAMCertificateId: "STRING_VALUE",
324
+ * // ACMCertificateArn: "STRING_VALUE",
325
+ * // SSLSupportMethod: "sni-only" || "vip" || "static-ip",
326
+ * // MinimumProtocolVersion: "SSLv3" || "TLSv1" || "TLSv1_2016" || "TLSv1.1_2016" || "TLSv1.2_2018" || "TLSv1.2_2019" || "TLSv1.2_2021",
327
+ * // Certificate: "STRING_VALUE",
328
+ * // CertificateSource: "cloudfront" || "iam" || "acm",
329
+ * // },
330
+ * // Restrictions: { // Restrictions
331
+ * // GeoRestriction: { // GeoRestriction
332
+ * // RestrictionType: "blacklist" || "whitelist" || "none", // required
333
+ * // Quantity: Number("int"), // required
334
+ * // Items: [ // LocationList
335
+ * // "STRING_VALUE",
336
+ * // ],
337
+ * // },
338
+ * // },
339
+ * // WebACLId: "STRING_VALUE", // required
340
+ * // HttpVersion: "http1.1" || "http2" || "http3" || "http2and3", // required
341
+ * // IsIPV6Enabled: true || false, // required
342
+ * // AliasICPRecordals: [ // AliasICPRecordals
343
+ * // { // AliasICPRecordal
344
+ * // CNAME: "STRING_VALUE",
345
+ * // ICPRecordalStatus: "APPROVED" || "SUSPENDED" || "PENDING",
346
+ * // },
347
+ * // ],
348
+ * // Staging: true || false, // required
349
+ * // AnycastIpListId: "STRING_VALUE",
350
+ * // },
351
+ * // ],
352
+ * // },
353
+ * // };
354
+ *
355
+ * ```
356
+ *
357
+ * @param ListDistributionsByAnycastIpListIdCommandInput - {@link ListDistributionsByAnycastIpListIdCommandInput}
358
+ * @returns {@link ListDistributionsByAnycastIpListIdCommandOutput}
359
+ * @see {@link ListDistributionsByAnycastIpListIdCommandInput} for command's `input` shape.
360
+ * @see {@link ListDistributionsByAnycastIpListIdCommandOutput} for command's `response` shape.
361
+ * @see {@link CloudFrontClientResolvedConfig | config} for CloudFrontClient's `config` shape.
362
+ *
363
+ * @throws {@link AccessDenied} (client fault)
364
+ * <p>Access denied.</p>
365
+ *
366
+ * @throws {@link EntityNotFound} (client fault)
367
+ * <p>The entity was not found.</p>
368
+ *
369
+ * @throws {@link InvalidArgument} (client fault)
370
+ * <p>An argument is invalid.</p>
371
+ *
372
+ * @throws {@link UnsupportedOperation} (client fault)
373
+ * <p>This operation is not supported in this region.</p>
374
+ *
375
+ * @throws {@link CloudFrontServiceException}
376
+ * <p>Base exception class for all service exceptions from CloudFront service.</p>
377
+ *
378
+ * @public
379
+ */
380
+ export declare class ListDistributionsByAnycastIpListIdCommand extends ListDistributionsByAnycastIpListIdCommand_base {
381
+ /** @internal type navigation helper, not in runtime. */
382
+ protected static __types: {
383
+ api: {
384
+ input: ListDistributionsByAnycastIpListIdRequest;
385
+ output: ListDistributionsByAnycastIpListIdResult;
386
+ };
387
+ sdk: {
388
+ input: ListDistributionsByAnycastIpListIdCommandInput;
389
+ output: ListDistributionsByAnycastIpListIdCommandOutput;
390
+ };
391
+ };
392
+ }
@@ -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
@@ -192,6 +195,9 @@ declare const ListDistributionsByRealtimeLogConfigCommand_base: {
192
195
  * // CachePolicyId: "STRING_VALUE",
193
196
  * // OriginRequestPolicyId: "STRING_VALUE",
194
197
  * // ResponseHeadersPolicyId: "STRING_VALUE",
198
+ * // GrpcConfig: { // GrpcConfig
199
+ * // Enabled: true || false, // required
200
+ * // },
195
201
  * // ForwardedValues: { // ForwardedValues
196
202
  * // QueryString: true || false, // required
197
203
  * // Cookies: { // CookiePreference
@@ -275,6 +281,9 @@ declare const ListDistributionsByRealtimeLogConfigCommand_base: {
275
281
  * // CachePolicyId: "STRING_VALUE",
276
282
  * // OriginRequestPolicyId: "STRING_VALUE",
277
283
  * // ResponseHeadersPolicyId: "STRING_VALUE",
284
+ * // GrpcConfig: {
285
+ * // Enabled: true || false, // required
286
+ * // },
278
287
  * // ForwardedValues: {
279
288
  * // QueryString: true || false, // required
280
289
  * // Cookies: {
@@ -347,6 +356,7 @@ declare const ListDistributionsByRealtimeLogConfigCommand_base: {
347
356
  * // },
348
357
  * // ],
349
358
  * // Staging: true || false, // required
359
+ * // AnycastIpListId: "STRING_VALUE",
350
360
  * // },
351
361
  * // ],
352
362
  * // },
@@ -0,0 +1,94 @@
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
+ */
82
+ export declare class ListDistributionsByVpcOriginIdCommand extends ListDistributionsByVpcOriginIdCommand_base {
83
+ /** @internal type navigation helper, not in runtime. */
84
+ protected static __types: {
85
+ api: {
86
+ input: ListDistributionsByVpcOriginIdRequest;
87
+ output: ListDistributionsByVpcOriginIdResult;
88
+ };
89
+ sdk: {
90
+ input: ListDistributionsByVpcOriginIdCommandInput;
91
+ output: ListDistributionsByVpcOriginIdCommandOutput;
92
+ };
93
+ };
94
+ }
@@ -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
@@ -182,6 +185,9 @@ declare const ListDistributionsByWebACLIdCommand_base: {
182
185
  * // CachePolicyId: "STRING_VALUE",
183
186
  * // OriginRequestPolicyId: "STRING_VALUE",
184
187
  * // ResponseHeadersPolicyId: "STRING_VALUE",
188
+ * // GrpcConfig: { // GrpcConfig
189
+ * // Enabled: true || false, // required
190
+ * // },
185
191
  * // ForwardedValues: { // ForwardedValues
186
192
  * // QueryString: true || false, // required
187
193
  * // Cookies: { // CookiePreference
@@ -265,6 +271,9 @@ declare const ListDistributionsByWebACLIdCommand_base: {
265
271
  * // CachePolicyId: "STRING_VALUE",
266
272
  * // OriginRequestPolicyId: "STRING_VALUE",
267
273
  * // ResponseHeadersPolicyId: "STRING_VALUE",
274
+ * // GrpcConfig: {
275
+ * // Enabled: true || false, // required
276
+ * // },
268
277
  * // ForwardedValues: {
269
278
  * // QueryString: true || false, // required
270
279
  * // Cookies: {
@@ -337,6 +346,7 @@ declare const ListDistributionsByWebACLIdCommand_base: {
337
346
  * // },
338
347
  * // ],
339
348
  * // Staging: true || false, // required
349
+ * // AnycastIpListId: "STRING_VALUE",
340
350
  * // },
341
351
  * // ],
342
352
  * // },
@@ -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
@@ -181,6 +184,9 @@ declare const ListDistributionsCommand_base: {
181
184
  * // CachePolicyId: "STRING_VALUE",
182
185
  * // OriginRequestPolicyId: "STRING_VALUE",
183
186
  * // ResponseHeadersPolicyId: "STRING_VALUE",
187
+ * // GrpcConfig: { // GrpcConfig
188
+ * // Enabled: true || false, // required
189
+ * // },
184
190
  * // ForwardedValues: { // ForwardedValues
185
191
  * // QueryString: true || false, // required
186
192
  * // Cookies: { // CookiePreference
@@ -264,6 +270,9 @@ declare const ListDistributionsCommand_base: {
264
270
  * // CachePolicyId: "STRING_VALUE",
265
271
  * // OriginRequestPolicyId: "STRING_VALUE",
266
272
  * // ResponseHeadersPolicyId: "STRING_VALUE",
273
+ * // GrpcConfig: {
274
+ * // Enabled: true || false, // required
275
+ * // },
267
276
  * // ForwardedValues: {
268
277
  * // QueryString: true || false, // required
269
278
  * // Cookies: {
@@ -336,6 +345,7 @@ declare const ListDistributionsCommand_base: {
336
345
  * // },
337
346
  * // ],
338
347
  * // Staging: true || false, // required
348
+ * // AnycastIpListId: "STRING_VALUE",
339
349
  * // },
340
350
  * // ],
341
351
  * // },