@aws-sdk/client-cloudfront 3.937.0 → 3.940.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 (112) hide show
  1. package/README.md +120 -0
  2. package/dist-cjs/index.js +977 -63
  3. package/dist-es/CloudFront.js +30 -0
  4. package/dist-es/commands/CreateConnectionFunctionCommand.js +16 -0
  5. package/dist-es/commands/CreateTrustStoreCommand.js +16 -0
  6. package/dist-es/commands/DeleteConnectionFunctionCommand.js +16 -0
  7. package/dist-es/commands/DeleteTrustStoreCommand.js +16 -0
  8. package/dist-es/commands/DescribeConnectionFunctionCommand.js +16 -0
  9. package/dist-es/commands/GetConnectionFunctionCommand.js +16 -0
  10. package/dist-es/commands/GetTrustStoreCommand.js +16 -0
  11. package/dist-es/commands/ListConnectionFunctionsCommand.js +16 -0
  12. package/dist-es/commands/ListDistributionsByConnectionFunctionCommand.js +16 -0
  13. package/dist-es/commands/ListDistributionsByTrustStoreCommand.js +16 -0
  14. package/dist-es/commands/ListTrustStoresCommand.js +16 -0
  15. package/dist-es/commands/PublishConnectionFunctionCommand.js +16 -0
  16. package/dist-es/commands/TestConnectionFunctionCommand.js +16 -0
  17. package/dist-es/commands/UpdateConnectionFunctionCommand.js +16 -0
  18. package/dist-es/commands/UpdateTrustStoreCommand.js +16 -0
  19. package/dist-es/commands/index.js +18 -3
  20. package/dist-es/models/enums.js +17 -8
  21. package/dist-es/models/errors.js +14 -14
  22. package/dist-es/pagination/ListConnectionFunctionsPaginator.js +4 -0
  23. package/dist-es/pagination/ListDistributionsByConnectionFunctionPaginator.js +4 -0
  24. package/dist-es/pagination/ListDistributionsByTrustStorePaginator.js +4 -0
  25. package/dist-es/pagination/ListTrustStoresPaginator.js +4 -0
  26. package/dist-es/pagination/index.js +4 -0
  27. package/dist-es/schemas/schemas_0.js +708 -27
  28. package/dist-types/CloudFront.d.ts +107 -0
  29. package/dist-types/CloudFrontClient.d.ts +17 -2
  30. package/dist-types/commands/CopyDistributionCommand.d.ts +11 -0
  31. package/dist-types/commands/CreateConnectionFunctionCommand.d.ts +138 -0
  32. package/dist-types/commands/CreateDistributionCommand.d.ts +22 -0
  33. package/dist-types/commands/CreateDistributionWithTagsCommand.d.ts +22 -0
  34. package/dist-types/commands/CreateTrustStoreCommand.d.ts +117 -0
  35. package/dist-types/commands/DeleteConnectionFunctionCommand.d.ts +94 -0
  36. package/dist-types/commands/DeleteTrustStoreCommand.d.ts +91 -0
  37. package/dist-types/commands/DescribeConnectionFunctionCommand.d.ts +108 -0
  38. package/dist-types/commands/GetConnectionFunctionCommand.d.ts +93 -0
  39. package/dist-types/commands/GetDistributionCommand.d.ts +11 -0
  40. package/dist-types/commands/GetDistributionConfigCommand.d.ts +11 -0
  41. package/dist-types/commands/GetManagedCertificateDetailsCommand.d.ts +2 -1
  42. package/dist-types/commands/GetMonitoringSubscriptionCommand.d.ts +1 -1
  43. package/dist-types/commands/GetOriginAccessControlCommand.d.ts +1 -1
  44. package/dist-types/commands/GetOriginAccessControlConfigCommand.d.ts +1 -1
  45. package/dist-types/commands/GetOriginRequestPolicyCommand.d.ts +1 -1
  46. package/dist-types/commands/GetOriginRequestPolicyConfigCommand.d.ts +1 -1
  47. package/dist-types/commands/GetPublicKeyCommand.d.ts +1 -1
  48. package/dist-types/commands/GetPublicKeyConfigCommand.d.ts +1 -1
  49. package/dist-types/commands/GetTrustStoreCommand.d.ts +92 -0
  50. package/dist-types/commands/ListConnectionFunctionsCommand.d.ts +108 -0
  51. package/dist-types/commands/ListDistributionsByAnycastIpListIdCommand.d.ts +11 -0
  52. package/dist-types/commands/ListDistributionsByConnectionFunctionCommand.d.ts +412 -0
  53. package/dist-types/commands/ListDistributionsByConnectionModeCommand.d.ts +11 -0
  54. package/dist-types/commands/ListDistributionsByRealtimeLogConfigCommand.d.ts +11 -0
  55. package/dist-types/commands/ListDistributionsByTrustStoreCommand.d.ts +412 -0
  56. package/dist-types/commands/ListDistributionsByWebACLIdCommand.d.ts +11 -0
  57. package/dist-types/commands/ListDistributionsCommand.d.ts +11 -0
  58. package/dist-types/commands/ListTrustStoresCommand.d.ts +96 -0
  59. package/dist-types/commands/PublishConnectionFunctionCommand.d.ts +113 -0
  60. package/dist-types/commands/TestConnectionFunctionCommand.d.ts +123 -0
  61. package/dist-types/commands/UpdateConnectionFunctionCommand.d.ts +130 -0
  62. package/dist-types/commands/UpdateDistributionCommand.d.ts +22 -0
  63. package/dist-types/commands/UpdateDistributionWithStagingConfigCommand.d.ts +11 -0
  64. package/dist-types/commands/UpdateTrustStoreCommand.d.ts +107 -0
  65. package/dist-types/commands/index.d.ts +18 -3
  66. package/dist-types/models/enums.d.ts +49 -24
  67. package/dist-types/models/errors.d.ts +13 -13
  68. package/dist-types/models/models_0.d.ts +440 -288
  69. package/dist-types/models/models_1.d.ts +601 -2
  70. package/dist-types/pagination/ListConnectionFunctionsPaginator.d.ts +7 -0
  71. package/dist-types/pagination/ListDistributionsByConnectionFunctionPaginator.d.ts +7 -0
  72. package/dist-types/pagination/ListDistributionsByTrustStorePaginator.d.ts +7 -0
  73. package/dist-types/pagination/ListTrustStoresPaginator.d.ts +7 -0
  74. package/dist-types/pagination/index.d.ts +4 -0
  75. package/dist-types/schemas/schemas_0.d.ts +54 -0
  76. package/dist-types/ts3.4/CloudFront.d.ts +263 -0
  77. package/dist-types/ts3.4/CloudFrontClient.d.ts +90 -0
  78. package/dist-types/ts3.4/commands/CreateConnectionFunctionCommand.d.ts +51 -0
  79. package/dist-types/ts3.4/commands/CreateTrustStoreCommand.d.ts +50 -0
  80. package/dist-types/ts3.4/commands/DeleteConnectionFunctionCommand.d.ts +47 -0
  81. package/dist-types/ts3.4/commands/DeleteTrustStoreCommand.d.ts +45 -0
  82. package/dist-types/ts3.4/commands/DescribeConnectionFunctionCommand.d.ts +51 -0
  83. package/dist-types/ts3.4/commands/GetConnectionFunctionCommand.d.ts +58 -0
  84. package/dist-types/ts3.4/commands/GetManagedCertificateDetailsCommand.d.ts +2 -4
  85. package/dist-types/ts3.4/commands/GetMonitoringSubscriptionCommand.d.ts +1 -1
  86. package/dist-types/ts3.4/commands/GetOriginAccessControlCommand.d.ts +1 -1
  87. package/dist-types/ts3.4/commands/GetOriginAccessControlConfigCommand.d.ts +1 -1
  88. package/dist-types/ts3.4/commands/GetOriginRequestPolicyCommand.d.ts +1 -1
  89. package/dist-types/ts3.4/commands/GetOriginRequestPolicyConfigCommand.d.ts +1 -1
  90. package/dist-types/ts3.4/commands/GetPublicKeyCommand.d.ts +1 -1
  91. package/dist-types/ts3.4/commands/GetPublicKeyConfigCommand.d.ts +1 -1
  92. package/dist-types/ts3.4/commands/GetTrustStoreCommand.d.ts +47 -0
  93. package/dist-types/ts3.4/commands/ListConnectionFunctionsCommand.d.ts +51 -0
  94. package/dist-types/ts3.4/commands/ListDistributionsByConnectionFunctionCommand.d.ts +51 -0
  95. package/dist-types/ts3.4/commands/ListDistributionsByTrustStoreCommand.d.ts +51 -0
  96. package/dist-types/ts3.4/commands/ListTrustStoresCommand.d.ts +50 -0
  97. package/dist-types/ts3.4/commands/PublishConnectionFunctionCommand.d.ts +51 -0
  98. package/dist-types/ts3.4/commands/TestConnectionFunctionCommand.d.ts +51 -0
  99. package/dist-types/ts3.4/commands/UpdateConnectionFunctionCommand.d.ts +51 -0
  100. package/dist-types/ts3.4/commands/UpdateTrustStoreCommand.d.ts +50 -0
  101. package/dist-types/ts3.4/commands/index.d.ts +18 -3
  102. package/dist-types/ts3.4/models/enums.d.ts +24 -11
  103. package/dist-types/ts3.4/models/errors.d.ts +8 -8
  104. package/dist-types/ts3.4/models/models_0.d.ts +117 -75
  105. package/dist-types/ts3.4/models/models_1.d.ts +165 -0
  106. package/dist-types/ts3.4/pagination/ListConnectionFunctionsPaginator.d.ts +11 -0
  107. package/dist-types/ts3.4/pagination/ListDistributionsByConnectionFunctionPaginator.d.ts +11 -0
  108. package/dist-types/ts3.4/pagination/ListDistributionsByTrustStorePaginator.d.ts +11 -0
  109. package/dist-types/ts3.4/pagination/ListTrustStoresPaginator.d.ts +11 -0
  110. package/dist-types/ts3.4/pagination/index.d.ts +4 -0
  111. package/dist-types/ts3.4/schemas/schemas_0.d.ts +54 -0
  112. package/package.json +5 -5
@@ -0,0 +1,412 @@
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 { ListDistributionsByTrustStoreRequest, ListDistributionsByTrustStoreResult } from "../models/models_1";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link ListDistributionsByTrustStoreCommand}.
14
+ */
15
+ export interface ListDistributionsByTrustStoreCommandInput extends ListDistributionsByTrustStoreRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link ListDistributionsByTrustStoreCommand}.
21
+ */
22
+ export interface ListDistributionsByTrustStoreCommandOutput extends ListDistributionsByTrustStoreResult, __MetadataBearer {
23
+ }
24
+ declare const ListDistributionsByTrustStoreCommand_base: {
25
+ new (input: ListDistributionsByTrustStoreCommandInput): import("@smithy/smithy-client").CommandImpl<ListDistributionsByTrustStoreCommandInput, ListDistributionsByTrustStoreCommandOutput, CloudFrontClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: ListDistributionsByTrustStoreCommandInput): import("@smithy/smithy-client").CommandImpl<ListDistributionsByTrustStoreCommandInput, ListDistributionsByTrustStoreCommandOutput, CloudFrontClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Lists distributions by trust store.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { CloudFrontClient, ListDistributionsByTrustStoreCommand } from "@aws-sdk/client-cloudfront"; // ES Modules import
35
+ * // const { CloudFrontClient, ListDistributionsByTrustStoreCommand } = require("@aws-sdk/client-cloudfront"); // CommonJS import
36
+ * // import type { CloudFrontClientConfig } from "@aws-sdk/client-cloudfront";
37
+ * const config = {}; // type is CloudFrontClientConfig
38
+ * const client = new CloudFrontClient(config);
39
+ * const input = { // ListDistributionsByTrustStoreRequest
40
+ * TrustStoreIdentifier: "STRING_VALUE", // required
41
+ * Marker: "STRING_VALUE",
42
+ * MaxItems: Number("int"),
43
+ * };
44
+ * const command = new ListDistributionsByTrustStoreCommand(input);
45
+ * const response = await client.send(command);
46
+ * // { // ListDistributionsByTrustStoreResult
47
+ * // DistributionList: { // DistributionList
48
+ * // Marker: "STRING_VALUE", // required
49
+ * // NextMarker: "STRING_VALUE",
50
+ * // MaxItems: Number("int"), // required
51
+ * // IsTruncated: true || false, // required
52
+ * // Quantity: Number("int"), // required
53
+ * // Items: [ // DistributionSummaryList
54
+ * // { // DistributionSummary
55
+ * // Id: "STRING_VALUE", // required
56
+ * // ARN: "STRING_VALUE", // required
57
+ * // ETag: "STRING_VALUE",
58
+ * // Status: "STRING_VALUE", // required
59
+ * // LastModifiedTime: new Date("TIMESTAMP"), // required
60
+ * // DomainName: "STRING_VALUE", // required
61
+ * // Aliases: { // Aliases
62
+ * // Quantity: Number("int"), // required
63
+ * // Items: [ // AliasList
64
+ * // "STRING_VALUE",
65
+ * // ],
66
+ * // },
67
+ * // Origins: { // Origins
68
+ * // Quantity: Number("int"), // required
69
+ * // Items: [ // OriginList // required
70
+ * // { // Origin
71
+ * // Id: "STRING_VALUE", // required
72
+ * // DomainName: "STRING_VALUE", // required
73
+ * // OriginPath: "STRING_VALUE",
74
+ * // CustomHeaders: { // CustomHeaders
75
+ * // Quantity: Number("int"), // required
76
+ * // Items: [ // OriginCustomHeadersList
77
+ * // { // OriginCustomHeader
78
+ * // HeaderName: "STRING_VALUE", // required
79
+ * // HeaderValue: "STRING_VALUE", // required
80
+ * // },
81
+ * // ],
82
+ * // },
83
+ * // S3OriginConfig: { // S3OriginConfig
84
+ * // OriginAccessIdentity: "STRING_VALUE", // required
85
+ * // OriginReadTimeout: Number("int"),
86
+ * // },
87
+ * // CustomOriginConfig: { // CustomOriginConfig
88
+ * // HTTPPort: Number("int"), // required
89
+ * // HTTPSPort: Number("int"), // required
90
+ * // OriginProtocolPolicy: "http-only" || "match-viewer" || "https-only", // required
91
+ * // OriginSslProtocols: { // OriginSslProtocols
92
+ * // Quantity: Number("int"), // required
93
+ * // Items: [ // SslProtocolsList // required
94
+ * // "SSLv3" || "TLSv1" || "TLSv1.1" || "TLSv1.2",
95
+ * // ],
96
+ * // },
97
+ * // OriginReadTimeout: Number("int"),
98
+ * // OriginKeepaliveTimeout: Number("int"),
99
+ * // IpAddressType: "ipv4" || "ipv6" || "dualstack",
100
+ * // },
101
+ * // VpcOriginConfig: { // VpcOriginConfig
102
+ * // VpcOriginId: "STRING_VALUE", // required
103
+ * // OwnerAccountId: "STRING_VALUE",
104
+ * // OriginReadTimeout: Number("int"),
105
+ * // OriginKeepaliveTimeout: Number("int"),
106
+ * // },
107
+ * // ConnectionAttempts: Number("int"),
108
+ * // ConnectionTimeout: Number("int"),
109
+ * // ResponseCompletionTimeout: Number("int"),
110
+ * // OriginShield: { // OriginShield
111
+ * // Enabled: true || false, // required
112
+ * // OriginShieldRegion: "STRING_VALUE",
113
+ * // },
114
+ * // OriginAccessControlId: "STRING_VALUE",
115
+ * // },
116
+ * // ],
117
+ * // },
118
+ * // OriginGroups: { // OriginGroups
119
+ * // Quantity: Number("int"), // required
120
+ * // Items: [ // OriginGroupList
121
+ * // { // OriginGroup
122
+ * // Id: "STRING_VALUE", // required
123
+ * // FailoverCriteria: { // OriginGroupFailoverCriteria
124
+ * // StatusCodes: { // StatusCodes
125
+ * // Quantity: Number("int"), // required
126
+ * // Items: [ // StatusCodeList // required
127
+ * // Number("int"),
128
+ * // ],
129
+ * // },
130
+ * // },
131
+ * // Members: { // OriginGroupMembers
132
+ * // Quantity: Number("int"), // required
133
+ * // Items: [ // OriginGroupMemberList // required
134
+ * // { // OriginGroupMember
135
+ * // OriginId: "STRING_VALUE", // required
136
+ * // },
137
+ * // ],
138
+ * // },
139
+ * // SelectionCriteria: "default" || "media-quality-based",
140
+ * // },
141
+ * // ],
142
+ * // },
143
+ * // DefaultCacheBehavior: { // DefaultCacheBehavior
144
+ * // TargetOriginId: "STRING_VALUE", // required
145
+ * // TrustedSigners: { // TrustedSigners
146
+ * // Enabled: true || false, // required
147
+ * // Quantity: Number("int"), // required
148
+ * // Items: [ // AwsAccountNumberList
149
+ * // "STRING_VALUE",
150
+ * // ],
151
+ * // },
152
+ * // TrustedKeyGroups: { // TrustedKeyGroups
153
+ * // Enabled: true || false, // required
154
+ * // Quantity: Number("int"), // required
155
+ * // Items: [ // TrustedKeyGroupIdList
156
+ * // "STRING_VALUE",
157
+ * // ],
158
+ * // },
159
+ * // ViewerProtocolPolicy: "allow-all" || "https-only" || "redirect-to-https", // required
160
+ * // AllowedMethods: { // AllowedMethods
161
+ * // Quantity: Number("int"), // required
162
+ * // Items: [ // MethodsList // required
163
+ * // "GET" || "HEAD" || "POST" || "PUT" || "PATCH" || "OPTIONS" || "DELETE",
164
+ * // ],
165
+ * // CachedMethods: { // CachedMethods
166
+ * // Quantity: Number("int"), // required
167
+ * // Items: [ // required
168
+ * // "GET" || "HEAD" || "POST" || "PUT" || "PATCH" || "OPTIONS" || "DELETE",
169
+ * // ],
170
+ * // },
171
+ * // },
172
+ * // SmoothStreaming: true || false,
173
+ * // Compress: true || false,
174
+ * // LambdaFunctionAssociations: { // LambdaFunctionAssociations
175
+ * // Quantity: Number("int"), // required
176
+ * // Items: [ // LambdaFunctionAssociationList
177
+ * // { // LambdaFunctionAssociation
178
+ * // LambdaFunctionARN: "STRING_VALUE", // required
179
+ * // EventType: "viewer-request" || "viewer-response" || "origin-request" || "origin-response", // required
180
+ * // IncludeBody: true || false,
181
+ * // },
182
+ * // ],
183
+ * // },
184
+ * // FunctionAssociations: { // FunctionAssociations
185
+ * // Quantity: Number("int"), // required
186
+ * // Items: [ // FunctionAssociationList
187
+ * // { // FunctionAssociation
188
+ * // FunctionARN: "STRING_VALUE", // required
189
+ * // EventType: "viewer-request" || "viewer-response" || "origin-request" || "origin-response", // required
190
+ * // },
191
+ * // ],
192
+ * // },
193
+ * // FieldLevelEncryptionId: "STRING_VALUE",
194
+ * // RealtimeLogConfigArn: "STRING_VALUE",
195
+ * // CachePolicyId: "STRING_VALUE",
196
+ * // OriginRequestPolicyId: "STRING_VALUE",
197
+ * // ResponseHeadersPolicyId: "STRING_VALUE",
198
+ * // GrpcConfig: { // GrpcConfig
199
+ * // Enabled: true || false, // required
200
+ * // },
201
+ * // ForwardedValues: { // ForwardedValues
202
+ * // QueryString: true || false, // required
203
+ * // Cookies: { // CookiePreference
204
+ * // Forward: "none" || "whitelist" || "all", // required
205
+ * // WhitelistedNames: { // CookieNames
206
+ * // Quantity: Number("int"), // required
207
+ * // Items: [ // CookieNameList
208
+ * // "STRING_VALUE",
209
+ * // ],
210
+ * // },
211
+ * // },
212
+ * // Headers: { // Headers
213
+ * // Quantity: Number("int"), // required
214
+ * // Items: [ // HeaderList
215
+ * // "STRING_VALUE",
216
+ * // ],
217
+ * // },
218
+ * // QueryStringCacheKeys: { // QueryStringCacheKeys
219
+ * // Quantity: Number("int"), // required
220
+ * // Items: [ // QueryStringCacheKeysList
221
+ * // "STRING_VALUE",
222
+ * // ],
223
+ * // },
224
+ * // },
225
+ * // MinTTL: Number("long"),
226
+ * // DefaultTTL: Number("long"),
227
+ * // MaxTTL: Number("long"),
228
+ * // },
229
+ * // CacheBehaviors: { // CacheBehaviors
230
+ * // Quantity: Number("int"), // required
231
+ * // Items: [ // CacheBehaviorList
232
+ * // { // CacheBehavior
233
+ * // PathPattern: "STRING_VALUE", // required
234
+ * // TargetOriginId: "STRING_VALUE", // required
235
+ * // TrustedSigners: {
236
+ * // Enabled: true || false, // required
237
+ * // Quantity: Number("int"), // required
238
+ * // Items: [
239
+ * // "STRING_VALUE",
240
+ * // ],
241
+ * // },
242
+ * // TrustedKeyGroups: {
243
+ * // Enabled: true || false, // required
244
+ * // Quantity: Number("int"), // required
245
+ * // Items: [
246
+ * // "STRING_VALUE",
247
+ * // ],
248
+ * // },
249
+ * // ViewerProtocolPolicy: "allow-all" || "https-only" || "redirect-to-https", // required
250
+ * // AllowedMethods: {
251
+ * // Quantity: Number("int"), // required
252
+ * // Items: "<MethodsList>", // required
253
+ * // CachedMethods: {
254
+ * // Quantity: Number("int"), // required
255
+ * // Items: "<MethodsList>", // required
256
+ * // },
257
+ * // },
258
+ * // SmoothStreaming: true || false,
259
+ * // Compress: true || false,
260
+ * // LambdaFunctionAssociations: {
261
+ * // Quantity: Number("int"), // required
262
+ * // Items: [
263
+ * // {
264
+ * // LambdaFunctionARN: "STRING_VALUE", // required
265
+ * // EventType: "viewer-request" || "viewer-response" || "origin-request" || "origin-response", // required
266
+ * // IncludeBody: true || false,
267
+ * // },
268
+ * // ],
269
+ * // },
270
+ * // FunctionAssociations: {
271
+ * // Quantity: Number("int"), // required
272
+ * // Items: [
273
+ * // {
274
+ * // FunctionARN: "STRING_VALUE", // required
275
+ * // EventType: "viewer-request" || "viewer-response" || "origin-request" || "origin-response", // required
276
+ * // },
277
+ * // ],
278
+ * // },
279
+ * // FieldLevelEncryptionId: "STRING_VALUE",
280
+ * // RealtimeLogConfigArn: "STRING_VALUE",
281
+ * // CachePolicyId: "STRING_VALUE",
282
+ * // OriginRequestPolicyId: "STRING_VALUE",
283
+ * // ResponseHeadersPolicyId: "STRING_VALUE",
284
+ * // GrpcConfig: {
285
+ * // Enabled: true || false, // required
286
+ * // },
287
+ * // ForwardedValues: {
288
+ * // QueryString: true || false, // required
289
+ * // Cookies: {
290
+ * // Forward: "none" || "whitelist" || "all", // required
291
+ * // WhitelistedNames: {
292
+ * // Quantity: Number("int"), // required
293
+ * // Items: [
294
+ * // "STRING_VALUE",
295
+ * // ],
296
+ * // },
297
+ * // },
298
+ * // Headers: {
299
+ * // Quantity: Number("int"), // required
300
+ * // Items: [
301
+ * // "STRING_VALUE",
302
+ * // ],
303
+ * // },
304
+ * // QueryStringCacheKeys: {
305
+ * // Quantity: Number("int"), // required
306
+ * // Items: [
307
+ * // "STRING_VALUE",
308
+ * // ],
309
+ * // },
310
+ * // },
311
+ * // MinTTL: Number("long"),
312
+ * // DefaultTTL: Number("long"),
313
+ * // MaxTTL: Number("long"),
314
+ * // },
315
+ * // ],
316
+ * // },
317
+ * // CustomErrorResponses: { // CustomErrorResponses
318
+ * // Quantity: Number("int"), // required
319
+ * // Items: [ // CustomErrorResponseList
320
+ * // { // CustomErrorResponse
321
+ * // ErrorCode: Number("int"), // required
322
+ * // ResponsePagePath: "STRING_VALUE",
323
+ * // ResponseCode: "STRING_VALUE",
324
+ * // ErrorCachingMinTTL: Number("long"),
325
+ * // },
326
+ * // ],
327
+ * // },
328
+ * // Comment: "STRING_VALUE", // required
329
+ * // PriceClass: "PriceClass_100" || "PriceClass_200" || "PriceClass_All" || "None", // required
330
+ * // Enabled: true || false, // required
331
+ * // ViewerCertificate: { // ViewerCertificate
332
+ * // CloudFrontDefaultCertificate: true || false,
333
+ * // IAMCertificateId: "STRING_VALUE",
334
+ * // ACMCertificateArn: "STRING_VALUE",
335
+ * // SSLSupportMethod: "sni-only" || "vip" || "static-ip",
336
+ * // MinimumProtocolVersion: "SSLv3" || "TLSv1" || "TLSv1_2016" || "TLSv1.1_2016" || "TLSv1.2_2018" || "TLSv1.2_2019" || "TLSv1.2_2021" || "TLSv1.3_2025" || "TLSv1.2_2025",
337
+ * // Certificate: "STRING_VALUE",
338
+ * // CertificateSource: "cloudfront" || "iam" || "acm",
339
+ * // },
340
+ * // Restrictions: { // Restrictions
341
+ * // GeoRestriction: { // GeoRestriction
342
+ * // RestrictionType: "blacklist" || "whitelist" || "none", // required
343
+ * // Quantity: Number("int"), // required
344
+ * // Items: [ // LocationList
345
+ * // "STRING_VALUE",
346
+ * // ],
347
+ * // },
348
+ * // },
349
+ * // WebACLId: "STRING_VALUE", // required
350
+ * // HttpVersion: "http1.1" || "http2" || "http3" || "http2and3", // required
351
+ * // IsIPV6Enabled: true || false, // required
352
+ * // AliasICPRecordals: [ // AliasICPRecordals
353
+ * // { // AliasICPRecordal
354
+ * // CNAME: "STRING_VALUE",
355
+ * // ICPRecordalStatus: "APPROVED" || "SUSPENDED" || "PENDING",
356
+ * // },
357
+ * // ],
358
+ * // Staging: true || false, // required
359
+ * // ConnectionMode: "direct" || "tenant-only",
360
+ * // AnycastIpListId: "STRING_VALUE",
361
+ * // ViewerMtlsConfig: { // ViewerMtlsConfig
362
+ * // Mode: "required" || "optional",
363
+ * // TrustStoreConfig: { // TrustStoreConfig
364
+ * // TrustStoreId: "STRING_VALUE", // required
365
+ * // AdvertiseTrustStoreCaNames: true || false,
366
+ * // IgnoreCertificateExpiry: true || false,
367
+ * // },
368
+ * // },
369
+ * // ConnectionFunctionAssociation: { // ConnectionFunctionAssociation
370
+ * // Id: "STRING_VALUE", // required
371
+ * // },
372
+ * // },
373
+ * // ],
374
+ * // },
375
+ * // };
376
+ *
377
+ * ```
378
+ *
379
+ * @param ListDistributionsByTrustStoreCommandInput - {@link ListDistributionsByTrustStoreCommandInput}
380
+ * @returns {@link ListDistributionsByTrustStoreCommandOutput}
381
+ * @see {@link ListDistributionsByTrustStoreCommandInput} for command's `input` shape.
382
+ * @see {@link ListDistributionsByTrustStoreCommandOutput} for command's `response` shape.
383
+ * @see {@link CloudFrontClientResolvedConfig | config} for CloudFrontClient's `config` shape.
384
+ *
385
+ * @throws {@link AccessDenied} (client fault)
386
+ * <p>Access denied.</p>
387
+ *
388
+ * @throws {@link EntityNotFound} (client fault)
389
+ * <p>The entity was not found.</p>
390
+ *
391
+ * @throws {@link InvalidArgument} (client fault)
392
+ * <p>An argument is invalid.</p>
393
+ *
394
+ * @throws {@link CloudFrontServiceException}
395
+ * <p>Base exception class for all service exceptions from CloudFront service.</p>
396
+ *
397
+ *
398
+ * @public
399
+ */
400
+ export declare class ListDistributionsByTrustStoreCommand extends ListDistributionsByTrustStoreCommand_base {
401
+ /** @internal type navigation helper, not in runtime. */
402
+ protected static __types: {
403
+ api: {
404
+ input: ListDistributionsByTrustStoreRequest;
405
+ output: ListDistributionsByTrustStoreResult;
406
+ };
407
+ sdk: {
408
+ input: ListDistributionsByTrustStoreCommandInput;
409
+ output: ListDistributionsByTrustStoreCommandOutput;
410
+ };
411
+ };
412
+ }
@@ -358,6 +358,17 @@ declare const ListDistributionsByWebACLIdCommand_base: {
358
358
  * // Staging: true || false, // required
359
359
  * // ConnectionMode: "direct" || "tenant-only",
360
360
  * // AnycastIpListId: "STRING_VALUE",
361
+ * // ViewerMtlsConfig: { // ViewerMtlsConfig
362
+ * // Mode: "required" || "optional",
363
+ * // TrustStoreConfig: { // TrustStoreConfig
364
+ * // TrustStoreId: "STRING_VALUE", // required
365
+ * // AdvertiseTrustStoreCaNames: true || false,
366
+ * // IgnoreCertificateExpiry: true || false,
367
+ * // },
368
+ * // },
369
+ * // ConnectionFunctionAssociation: { // ConnectionFunctionAssociation
370
+ * // Id: "STRING_VALUE", // required
371
+ * // },
361
372
  * // },
362
373
  * // ],
363
374
  * // },
@@ -357,6 +357,17 @@ declare const ListDistributionsCommand_base: {
357
357
  * // Staging: true || false, // required
358
358
  * // ConnectionMode: "direct" || "tenant-only",
359
359
  * // AnycastIpListId: "STRING_VALUE",
360
+ * // ViewerMtlsConfig: { // ViewerMtlsConfig
361
+ * // Mode: "required" || "optional",
362
+ * // TrustStoreConfig: { // TrustStoreConfig
363
+ * // TrustStoreId: "STRING_VALUE", // required
364
+ * // AdvertiseTrustStoreCaNames: true || false,
365
+ * // IgnoreCertificateExpiry: true || false,
366
+ * // },
367
+ * // },
368
+ * // ConnectionFunctionAssociation: { // ConnectionFunctionAssociation
369
+ * // Id: "STRING_VALUE", // required
370
+ * // },
360
371
  * // },
361
372
  * // ],
362
373
  * // },
@@ -0,0 +1,96 @@
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 { ListTrustStoresRequest, ListTrustStoresResult } from "../models/models_1";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link ListTrustStoresCommand}.
14
+ */
15
+ export interface ListTrustStoresCommandInput extends ListTrustStoresRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link ListTrustStoresCommand}.
21
+ */
22
+ export interface ListTrustStoresCommandOutput extends ListTrustStoresResult, __MetadataBearer {
23
+ }
24
+ declare const ListTrustStoresCommand_base: {
25
+ new (input: ListTrustStoresCommandInput): import("@smithy/smithy-client").CommandImpl<ListTrustStoresCommandInput, ListTrustStoresCommandOutput, CloudFrontClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (...[input]: [] | [ListTrustStoresCommandInput]): import("@smithy/smithy-client").CommandImpl<ListTrustStoresCommandInput, ListTrustStoresCommandOutput, CloudFrontClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Lists trust stores.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { CloudFrontClient, ListTrustStoresCommand } from "@aws-sdk/client-cloudfront"; // ES Modules import
35
+ * // const { CloudFrontClient, ListTrustStoresCommand } = require("@aws-sdk/client-cloudfront"); // CommonJS import
36
+ * // import type { CloudFrontClientConfig } from "@aws-sdk/client-cloudfront";
37
+ * const config = {}; // type is CloudFrontClientConfig
38
+ * const client = new CloudFrontClient(config);
39
+ * const input = { // ListTrustStoresRequest
40
+ * Marker: "STRING_VALUE",
41
+ * MaxItems: Number("int"),
42
+ * };
43
+ * const command = new ListTrustStoresCommand(input);
44
+ * const response = await client.send(command);
45
+ * // { // ListTrustStoresResult
46
+ * // NextMarker: "STRING_VALUE",
47
+ * // TrustStoreList: [ // TrustStoreList
48
+ * // { // TrustStoreSummary
49
+ * // Id: "STRING_VALUE", // required
50
+ * // Arn: "STRING_VALUE", // required
51
+ * // Name: "STRING_VALUE", // required
52
+ * // Status: "pending" || "active" || "failed", // required
53
+ * // NumberOfCaCertificates: Number("int"), // required
54
+ * // LastModifiedTime: new Date("TIMESTAMP"), // required
55
+ * // Reason: "STRING_VALUE",
56
+ * // ETag: "STRING_VALUE", // required
57
+ * // },
58
+ * // ],
59
+ * // };
60
+ *
61
+ * ```
62
+ *
63
+ * @param ListTrustStoresCommandInput - {@link ListTrustStoresCommandInput}
64
+ * @returns {@link ListTrustStoresCommandOutput}
65
+ * @see {@link ListTrustStoresCommandInput} for command's `input` shape.
66
+ * @see {@link ListTrustStoresCommandOutput} for command's `response` shape.
67
+ * @see {@link CloudFrontClientResolvedConfig | config} for CloudFrontClient's `config` shape.
68
+ *
69
+ * @throws {@link AccessDenied} (client fault)
70
+ * <p>Access denied.</p>
71
+ *
72
+ * @throws {@link EntityNotFound} (client fault)
73
+ * <p>The entity was not found.</p>
74
+ *
75
+ * @throws {@link InvalidArgument} (client fault)
76
+ * <p>An argument is invalid.</p>
77
+ *
78
+ * @throws {@link CloudFrontServiceException}
79
+ * <p>Base exception class for all service exceptions from CloudFront service.</p>
80
+ *
81
+ *
82
+ * @public
83
+ */
84
+ export declare class ListTrustStoresCommand extends ListTrustStoresCommand_base {
85
+ /** @internal type navigation helper, not in runtime. */
86
+ protected static __types: {
87
+ api: {
88
+ input: ListTrustStoresRequest;
89
+ output: ListTrustStoresResult;
90
+ };
91
+ sdk: {
92
+ input: ListTrustStoresCommandInput;
93
+ output: ListTrustStoresCommandOutput;
94
+ };
95
+ };
96
+ }
@@ -0,0 +1,113 @@
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 { PublishConnectionFunctionRequest, PublishConnectionFunctionResult } from "../models/models_1";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link PublishConnectionFunctionCommand}.
14
+ */
15
+ export interface PublishConnectionFunctionCommandInput extends PublishConnectionFunctionRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link PublishConnectionFunctionCommand}.
21
+ */
22
+ export interface PublishConnectionFunctionCommandOutput extends PublishConnectionFunctionResult, __MetadataBearer {
23
+ }
24
+ declare const PublishConnectionFunctionCommand_base: {
25
+ new (input: PublishConnectionFunctionCommandInput): import("@smithy/smithy-client").CommandImpl<PublishConnectionFunctionCommandInput, PublishConnectionFunctionCommandOutput, CloudFrontClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (input: PublishConnectionFunctionCommandInput): import("@smithy/smithy-client").CommandImpl<PublishConnectionFunctionCommandInput, PublishConnectionFunctionCommandOutput, CloudFrontClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Publishes a connection function.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { CloudFrontClient, PublishConnectionFunctionCommand } from "@aws-sdk/client-cloudfront"; // ES Modules import
35
+ * // const { CloudFrontClient, PublishConnectionFunctionCommand } = require("@aws-sdk/client-cloudfront"); // CommonJS import
36
+ * // import type { CloudFrontClientConfig } from "@aws-sdk/client-cloudfront";
37
+ * const config = {}; // type is CloudFrontClientConfig
38
+ * const client = new CloudFrontClient(config);
39
+ * const input = { // PublishConnectionFunctionRequest
40
+ * Id: "STRING_VALUE", // required
41
+ * IfMatch: "STRING_VALUE", // required
42
+ * };
43
+ * const command = new PublishConnectionFunctionCommand(input);
44
+ * const response = await client.send(command);
45
+ * // { // PublishConnectionFunctionResult
46
+ * // ConnectionFunctionSummary: { // ConnectionFunctionSummary
47
+ * // Name: "STRING_VALUE", // required
48
+ * // Id: "STRING_VALUE", // required
49
+ * // ConnectionFunctionConfig: { // FunctionConfig
50
+ * // Comment: "STRING_VALUE", // required
51
+ * // Runtime: "cloudfront-js-1.0" || "cloudfront-js-2.0", // required
52
+ * // KeyValueStoreAssociations: { // KeyValueStoreAssociations
53
+ * // Quantity: Number("int"), // required
54
+ * // Items: [ // KeyValueStoreAssociationList
55
+ * // { // KeyValueStoreAssociation
56
+ * // KeyValueStoreARN: "STRING_VALUE", // required
57
+ * // },
58
+ * // ],
59
+ * // },
60
+ * // },
61
+ * // ConnectionFunctionArn: "STRING_VALUE", // required
62
+ * // Status: "STRING_VALUE", // required
63
+ * // Stage: "DEVELOPMENT" || "LIVE", // required
64
+ * // CreatedTime: new Date("TIMESTAMP"), // required
65
+ * // LastModifiedTime: new Date("TIMESTAMP"), // required
66
+ * // },
67
+ * // };
68
+ *
69
+ * ```
70
+ *
71
+ * @param PublishConnectionFunctionCommandInput - {@link PublishConnectionFunctionCommandInput}
72
+ * @returns {@link PublishConnectionFunctionCommandOutput}
73
+ * @see {@link PublishConnectionFunctionCommandInput} for command's `input` shape.
74
+ * @see {@link PublishConnectionFunctionCommandOutput} for command's `response` shape.
75
+ * @see {@link CloudFrontClientResolvedConfig | config} for CloudFrontClient's `config` shape.
76
+ *
77
+ * @throws {@link AccessDenied} (client fault)
78
+ * <p>Access denied.</p>
79
+ *
80
+ * @throws {@link EntityNotFound} (client fault)
81
+ * <p>The entity was not found.</p>
82
+ *
83
+ * @throws {@link InvalidArgument} (client fault)
84
+ * <p>An argument is invalid.</p>
85
+ *
86
+ * @throws {@link InvalidIfMatchVersion} (client fault)
87
+ * <p>The <code>If-Match</code> version is missing or not valid.</p>
88
+ *
89
+ * @throws {@link PreconditionFailed} (client fault)
90
+ * <p>The precondition in one or more of the request fields evaluated to <code>false</code>.</p>
91
+ *
92
+ * @throws {@link UnsupportedOperation} (client fault)
93
+ * <p>This operation is not supported in this Amazon Web Services Region.</p>
94
+ *
95
+ * @throws {@link CloudFrontServiceException}
96
+ * <p>Base exception class for all service exceptions from CloudFront service.</p>
97
+ *
98
+ *
99
+ * @public
100
+ */
101
+ export declare class PublishConnectionFunctionCommand extends PublishConnectionFunctionCommand_base {
102
+ /** @internal type navigation helper, not in runtime. */
103
+ protected static __types: {
104
+ api: {
105
+ input: PublishConnectionFunctionRequest;
106
+ output: PublishConnectionFunctionResult;
107
+ };
108
+ sdk: {
109
+ input: PublishConnectionFunctionCommandInput;
110
+ output: PublishConnectionFunctionCommandOutput;
111
+ };
112
+ };
113
+ }