@aws-sdk/client-cloudfront 3.154.0 → 3.157.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +11 -0
- package/dist-cjs/CloudFront.js +90 -0
- package/dist-cjs/commands/CreateOriginAccessControlCommand.js +36 -0
- package/dist-cjs/commands/DeleteCloudFrontOriginAccessIdentityCommand.js +2 -2
- package/dist-cjs/commands/DeleteDistributionCommand.js +2 -2
- package/dist-cjs/commands/DeleteFieldLevelEncryptionConfigCommand.js +2 -2
- package/dist-cjs/commands/DeleteFieldLevelEncryptionProfileCommand.js +2 -2
- package/dist-cjs/commands/DeleteFunctionCommand.js +2 -2
- package/dist-cjs/commands/DeleteKeyGroupCommand.js +2 -2
- package/dist-cjs/commands/DeleteOriginAccessControlCommand.js +36 -0
- package/dist-cjs/commands/GetOriginAccessControlCommand.js +36 -0
- package/dist-cjs/commands/GetOriginAccessControlConfigCommand.js +36 -0
- package/dist-cjs/commands/ListOriginAccessControlsCommand.js +36 -0
- package/dist-cjs/commands/UpdateOriginAccessControlCommand.js +36 -0
- package/dist-cjs/commands/index.js +6 -0
- package/dist-cjs/models/models_0.js +134 -142
- package/dist-cjs/models/models_1.js +226 -4
- package/dist-cjs/protocols/Aws_restXml.js +697 -20
- package/dist-es/CloudFront.js +90 -0
- package/dist-es/commands/CreateOriginAccessControlCommand.js +39 -0
- package/dist-es/commands/DeleteCloudFrontOriginAccessIdentityCommand.js +1 -1
- package/dist-es/commands/DeleteDistributionCommand.js +1 -1
- package/dist-es/commands/DeleteFieldLevelEncryptionConfigCommand.js +1 -1
- package/dist-es/commands/DeleteFieldLevelEncryptionProfileCommand.js +1 -1
- package/dist-es/commands/DeleteFunctionCommand.js +1 -1
- package/dist-es/commands/DeleteKeyGroupCommand.js +1 -1
- package/dist-es/commands/DeleteOriginAccessControlCommand.js +39 -0
- package/dist-es/commands/GetOriginAccessControlCommand.js +39 -0
- package/dist-es/commands/GetOriginAccessControlConfigCommand.js +39 -0
- package/dist-es/commands/ListOriginAccessControlsCommand.js +39 -0
- package/dist-es/commands/UpdateOriginAccessControlCommand.js +39 -0
- package/dist-es/commands/index.js +6 -0
- package/dist-es/models/models_0.js +109 -110
- package/dist-es/models/models_1.js +160 -0
- package/dist-es/protocols/Aws_restXml.js +1488 -629
- package/dist-types/CloudFront.d.ts +56 -0
- package/dist-types/CloudFrontClient.d.ts +8 -2
- package/dist-types/commands/CreateOriginAccessControlCommand.d.ts +41 -0
- package/dist-types/commands/DeleteCloudFrontOriginAccessIdentityCommand.d.ts +1 -1
- package/dist-types/commands/DeleteDistributionCommand.d.ts +1 -1
- package/dist-types/commands/DeleteFieldLevelEncryptionConfigCommand.d.ts +1 -1
- package/dist-types/commands/DeleteFieldLevelEncryptionProfileCommand.d.ts +1 -1
- package/dist-types/commands/DeleteFunctionCommand.d.ts +1 -1
- package/dist-types/commands/DeleteKeyGroupCommand.d.ts +1 -1
- package/dist-types/commands/DeleteOriginAccessControlCommand.d.ts +38 -0
- package/dist-types/commands/GetOriginAccessControlCommand.d.ts +35 -0
- package/dist-types/commands/GetOriginAccessControlConfigCommand.d.ts +35 -0
- package/dist-types/commands/ListOriginAccessControlsCommand.d.ts +40 -0
- package/dist-types/commands/UpdateOriginAccessControlCommand.d.ts +35 -0
- package/dist-types/commands/index.d.ts +6 -0
- package/dist-types/models/models_0.d.ts +217 -246
- package/dist-types/models/models_1.d.ts +494 -1
- package/dist-types/protocols/Aws_restXml.d.ts +18 -0
- package/dist-types/ts3.4/CloudFront.d.ts +30 -0
- package/dist-types/ts3.4/CloudFrontClient.d.ts +8 -2
- package/dist-types/ts3.4/commands/CreateOriginAccessControlCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteCloudFrontOriginAccessIdentityCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DeleteDistributionCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DeleteFieldLevelEncryptionConfigCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DeleteFieldLevelEncryptionProfileCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DeleteFunctionCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DeleteKeyGroupCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DeleteOriginAccessControlCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetOriginAccessControlCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetOriginAccessControlConfigCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListOriginAccessControlsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UpdateOriginAccessControlCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/index.d.ts +6 -0
- package/dist-types/ts3.4/models/models_1.d.ts +241 -1
- package/dist-types/ts3.4/protocols/Aws_restXml.d.ts +18 -0
- package/package.json +1 -1
|
@@ -1,6 +1,224 @@
|
|
|
1
1
|
import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
|
|
2
2
|
import { CloudFrontServiceException as __BaseException } from "./CloudFrontServiceException";
|
|
3
|
-
import { Aliases, AliasICPRecordal, CacheBehaviors, CachePolicy, CachePolicyConfig, CachePolicyList, CachePolicyType, CloudFrontOriginAccessIdentity, CloudFrontOriginAccessIdentityConfig, ContentTypeProfileConfig, CustomErrorResponses, DefaultCacheBehavior, Distribution, DistributionConfig, EncryptionEntities, EndPoint, FieldLevelEncryption, FieldLevelEncryptionConfig, FieldLevelEncryptionProfile, FieldLevelEncryptionProfileConfig, FunctionConfig, FunctionStage, FunctionSummary, HttpVersion, Invalidation, KeyGroup, KeyGroupConfig, MonitoringSubscription, OriginGroups, OriginRequestPolicy, OriginRequestPolicyConfig, Origins, PriceClass, PublicKey, PublicKeyConfig, QueryArgProfileConfig, RealtimeLogConfig, ResponseHeadersPolicy, ResponseHeadersPolicyConfig, Restrictions, S3Origin, StreamingDistribution, StreamingDistributionConfig, Tags, TrustedSigners, ViewerCertificate } from "./models_0";
|
|
3
|
+
import { Aliases, AliasICPRecordal, CacheBehaviors, CachePolicy, CachePolicyConfig, CachePolicyList, CachePolicyType, CloudFrontOriginAccessIdentity, CloudFrontOriginAccessIdentityConfig, ContentTypeProfileConfig, CustomErrorResponses, DefaultCacheBehavior, Distribution, DistributionConfig, EncryptionEntities, EndPoint, FieldLevelEncryption, FieldLevelEncryptionConfig, FieldLevelEncryptionProfile, FieldLevelEncryptionProfileConfig, FunctionConfig, FunctionStage, FunctionSummary, HttpVersion, Invalidation, KeyGroup, KeyGroupConfig, MonitoringSubscription, OriginAccessControl, OriginAccessControlConfig, OriginAccessControlOriginTypes, OriginAccessControlSigningBehaviors, OriginAccessControlSigningProtocols, OriginGroups, OriginRequestPolicy, OriginRequestPolicyConfig, Origins, PriceClass, PublicKey, PublicKeyConfig, QueryArgProfileConfig, RealtimeLogConfig, ResponseHeadersPolicy, ResponseHeadersPolicyConfig, Restrictions, S3Origin, StreamingDistribution, StreamingDistributionConfig, Tags, TrustedSigners, ViewerCertificate } from "./models_0";
|
|
4
|
+
/**
|
|
5
|
+
* <p>The Origin Access Identity specified is already in use.</p>
|
|
6
|
+
*/
|
|
7
|
+
export declare class CloudFrontOriginAccessIdentityInUse extends __BaseException {
|
|
8
|
+
readonly name: "CloudFrontOriginAccessIdentityInUse";
|
|
9
|
+
readonly $fault: "client";
|
|
10
|
+
Message?: string;
|
|
11
|
+
/**
|
|
12
|
+
* @internal
|
|
13
|
+
*/
|
|
14
|
+
constructor(opts: __ExceptionOptionType<CloudFrontOriginAccessIdentityInUse, __BaseException>);
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* <p>Deletes a origin access identity.</p>
|
|
18
|
+
*/
|
|
19
|
+
export interface DeleteCloudFrontOriginAccessIdentityRequest {
|
|
20
|
+
/**
|
|
21
|
+
* <p>The origin access identity's ID.</p>
|
|
22
|
+
*/
|
|
23
|
+
Id: string | undefined;
|
|
24
|
+
/**
|
|
25
|
+
* <p>The value of the <code>ETag</code> header you received from a previous <code>GET</code>
|
|
26
|
+
* or <code>PUT</code> request. For example: <code>E2QWRUHAPOMQZL</code>.</p>
|
|
27
|
+
*/
|
|
28
|
+
IfMatch?: string;
|
|
29
|
+
}
|
|
30
|
+
/**
|
|
31
|
+
* <p>The specified origin access identity does not exist.</p>
|
|
32
|
+
*/
|
|
33
|
+
export declare class NoSuchCloudFrontOriginAccessIdentity extends __BaseException {
|
|
34
|
+
readonly name: "NoSuchCloudFrontOriginAccessIdentity";
|
|
35
|
+
readonly $fault: "client";
|
|
36
|
+
Message?: string;
|
|
37
|
+
/**
|
|
38
|
+
* @internal
|
|
39
|
+
*/
|
|
40
|
+
constructor(opts: __ExceptionOptionType<NoSuchCloudFrontOriginAccessIdentity, __BaseException>);
|
|
41
|
+
}
|
|
42
|
+
/**
|
|
43
|
+
* <p>This action deletes a web distribution. To delete a web distribution using the CloudFront
|
|
44
|
+
* API, perform the following steps.</p>
|
|
45
|
+
* <p>
|
|
46
|
+
* <b>To delete a web distribution using the CloudFront API:</b>
|
|
47
|
+
* </p>
|
|
48
|
+
* <ol>
|
|
49
|
+
* <li>
|
|
50
|
+
* <p>Disable the web distribution </p>
|
|
51
|
+
* </li>
|
|
52
|
+
* <li>
|
|
53
|
+
* <p>Submit a <code>GET Distribution Config</code> request to get the current
|
|
54
|
+
* configuration and the <code>Etag</code> header for the distribution.</p>
|
|
55
|
+
* </li>
|
|
56
|
+
* <li>
|
|
57
|
+
* <p>Update the XML document that was returned in the response to your <code>GET
|
|
58
|
+
* Distribution Config</code> request to change the value of <code>Enabled</code> to
|
|
59
|
+
* <code>false</code>.</p>
|
|
60
|
+
* </li>
|
|
61
|
+
* <li>
|
|
62
|
+
* <p>Submit a <code>PUT Distribution Config</code> request to update the configuration
|
|
63
|
+
* for your distribution. In the request body, include the XML document that you updated in
|
|
64
|
+
* Step 3. Set the value of the HTTP <code>If-Match</code> header to the value of the
|
|
65
|
+
* <code>ETag</code> header that CloudFront returned when you submitted the <code>GET
|
|
66
|
+
* Distribution Config</code> request in Step 2.</p>
|
|
67
|
+
* </li>
|
|
68
|
+
* <li>
|
|
69
|
+
* <p>Review the response to the <code>PUT Distribution Config</code> request to confirm
|
|
70
|
+
* that the distribution was successfully disabled.</p>
|
|
71
|
+
* </li>
|
|
72
|
+
* <li>
|
|
73
|
+
* <p>Submit a <code>GET Distribution</code> request to confirm that your changes have
|
|
74
|
+
* propagated. When propagation is complete, the value of <code>Status</code> is
|
|
75
|
+
* <code>Deployed</code>.</p>
|
|
76
|
+
* </li>
|
|
77
|
+
* <li>
|
|
78
|
+
* <p>Submit a <code>DELETE Distribution</code> request. Set the value of the HTTP
|
|
79
|
+
* <code>If-Match</code> header to the value of the <code>ETag</code> header that CloudFront
|
|
80
|
+
* returned when you submitted the <code>GET Distribution Config</code> request in Step
|
|
81
|
+
* 6.</p>
|
|
82
|
+
* </li>
|
|
83
|
+
* <li>
|
|
84
|
+
* <p>Review the response to your <code>DELETE Distribution</code> request to confirm
|
|
85
|
+
* that the distribution was successfully deleted.</p>
|
|
86
|
+
* </li>
|
|
87
|
+
* </ol>
|
|
88
|
+
* <p>For information about deleting a distribution using the CloudFront console, see <a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/HowToDeleteDistribution.html">Deleting a Distribution</a> in the
|
|
89
|
+
* <i>Amazon CloudFront Developer Guide</i>.</p>
|
|
90
|
+
*/
|
|
91
|
+
export interface DeleteDistributionRequest {
|
|
92
|
+
/**
|
|
93
|
+
* <p>The distribution ID. </p>
|
|
94
|
+
*/
|
|
95
|
+
Id: string | undefined;
|
|
96
|
+
/**
|
|
97
|
+
* <p>The value of the <code>ETag</code> header that you received when you disabled the
|
|
98
|
+
* distribution. For example: <code>E2QWRUHAPOMQZL</code>. </p>
|
|
99
|
+
*/
|
|
100
|
+
IfMatch?: string;
|
|
101
|
+
}
|
|
102
|
+
/**
|
|
103
|
+
* <p>The specified CloudFront distribution is not disabled. You must disable
|
|
104
|
+
* the distribution before you can delete it.</p>
|
|
105
|
+
*/
|
|
106
|
+
export declare class DistributionNotDisabled extends __BaseException {
|
|
107
|
+
readonly name: "DistributionNotDisabled";
|
|
108
|
+
readonly $fault: "client";
|
|
109
|
+
Message?: string;
|
|
110
|
+
/**
|
|
111
|
+
* @internal
|
|
112
|
+
*/
|
|
113
|
+
constructor(opts: __ExceptionOptionType<DistributionNotDisabled, __BaseException>);
|
|
114
|
+
}
|
|
115
|
+
export interface DeleteFieldLevelEncryptionConfigRequest {
|
|
116
|
+
/**
|
|
117
|
+
* <p>The ID of the configuration you want to delete from CloudFront.</p>
|
|
118
|
+
*/
|
|
119
|
+
Id: string | undefined;
|
|
120
|
+
/**
|
|
121
|
+
* <p>The value of the <code>ETag</code> header that you received when retrieving the
|
|
122
|
+
* configuration identity to delete. For example: <code>E2QWRUHAPOMQZL</code>.</p>
|
|
123
|
+
*/
|
|
124
|
+
IfMatch?: string;
|
|
125
|
+
}
|
|
126
|
+
/**
|
|
127
|
+
* <p>The specified configuration for field-level encryption is in use.</p>
|
|
128
|
+
*/
|
|
129
|
+
export declare class FieldLevelEncryptionConfigInUse extends __BaseException {
|
|
130
|
+
readonly name: "FieldLevelEncryptionConfigInUse";
|
|
131
|
+
readonly $fault: "client";
|
|
132
|
+
Message?: string;
|
|
133
|
+
/**
|
|
134
|
+
* @internal
|
|
135
|
+
*/
|
|
136
|
+
constructor(opts: __ExceptionOptionType<FieldLevelEncryptionConfigInUse, __BaseException>);
|
|
137
|
+
}
|
|
138
|
+
export interface DeleteFieldLevelEncryptionProfileRequest {
|
|
139
|
+
/**
|
|
140
|
+
* <p>Request the ID of the profile you want to delete from CloudFront.</p>
|
|
141
|
+
*/
|
|
142
|
+
Id: string | undefined;
|
|
143
|
+
/**
|
|
144
|
+
* <p>The value of the <code>ETag</code> header that you received when retrieving the
|
|
145
|
+
* profile to delete. For example: <code>E2QWRUHAPOMQZL</code>.</p>
|
|
146
|
+
*/
|
|
147
|
+
IfMatch?: string;
|
|
148
|
+
}
|
|
149
|
+
/**
|
|
150
|
+
* <p>The specified profile for field-level encryption is in use.</p>
|
|
151
|
+
*/
|
|
152
|
+
export declare class FieldLevelEncryptionProfileInUse extends __BaseException {
|
|
153
|
+
readonly name: "FieldLevelEncryptionProfileInUse";
|
|
154
|
+
readonly $fault: "client";
|
|
155
|
+
Message?: string;
|
|
156
|
+
/**
|
|
157
|
+
* @internal
|
|
158
|
+
*/
|
|
159
|
+
constructor(opts: __ExceptionOptionType<FieldLevelEncryptionProfileInUse, __BaseException>);
|
|
160
|
+
}
|
|
161
|
+
export interface DeleteFunctionRequest {
|
|
162
|
+
/**
|
|
163
|
+
* <p>The name of the function that you are deleting.</p>
|
|
164
|
+
*/
|
|
165
|
+
Name: string | undefined;
|
|
166
|
+
/**
|
|
167
|
+
* <p>The current version (<code>ETag</code> value) of the function that you are deleting, which
|
|
168
|
+
* you can get using <code>DescribeFunction</code>.</p>
|
|
169
|
+
*/
|
|
170
|
+
IfMatch: string | undefined;
|
|
171
|
+
}
|
|
172
|
+
/**
|
|
173
|
+
* <p>Cannot delete the function because it’s attached to one or more cache
|
|
174
|
+
* behaviors.</p>
|
|
175
|
+
*/
|
|
176
|
+
export declare class FunctionInUse extends __BaseException {
|
|
177
|
+
readonly name: "FunctionInUse";
|
|
178
|
+
readonly $fault: "client";
|
|
179
|
+
Message?: string;
|
|
180
|
+
/**
|
|
181
|
+
* @internal
|
|
182
|
+
*/
|
|
183
|
+
constructor(opts: __ExceptionOptionType<FunctionInUse, __BaseException>);
|
|
184
|
+
}
|
|
185
|
+
/**
|
|
186
|
+
* <p>The function does not exist.</p>
|
|
187
|
+
*/
|
|
188
|
+
export declare class NoSuchFunctionExists extends __BaseException {
|
|
189
|
+
readonly name: "NoSuchFunctionExists";
|
|
190
|
+
readonly $fault: "client";
|
|
191
|
+
Message?: string;
|
|
192
|
+
/**
|
|
193
|
+
* @internal
|
|
194
|
+
*/
|
|
195
|
+
constructor(opts: __ExceptionOptionType<NoSuchFunctionExists, __BaseException>);
|
|
196
|
+
}
|
|
197
|
+
export interface DeleteKeyGroupRequest {
|
|
198
|
+
/**
|
|
199
|
+
* <p>The identifier of the key group that you are deleting. To get the identifier, use
|
|
200
|
+
* <code>ListKeyGroups</code>.</p>
|
|
201
|
+
*/
|
|
202
|
+
Id: string | undefined;
|
|
203
|
+
/**
|
|
204
|
+
* <p>The version of the key group that you are deleting. The version is the key group’s
|
|
205
|
+
* <code>ETag</code> value. To get the <code>ETag</code>, use <code>GetKeyGroup</code> or
|
|
206
|
+
* <code>GetKeyGroupConfig</code>.</p>
|
|
207
|
+
*/
|
|
208
|
+
IfMatch?: string;
|
|
209
|
+
}
|
|
210
|
+
/**
|
|
211
|
+
* <p>A resource that was specified is not valid.</p>
|
|
212
|
+
*/
|
|
213
|
+
export declare class NoSuchResource extends __BaseException {
|
|
214
|
+
readonly name: "NoSuchResource";
|
|
215
|
+
readonly $fault: "client";
|
|
216
|
+
Message?: string;
|
|
217
|
+
/**
|
|
218
|
+
* @internal
|
|
219
|
+
*/
|
|
220
|
+
constructor(opts: __ExceptionOptionType<NoSuchResource, __BaseException>);
|
|
221
|
+
}
|
|
4
222
|
/**
|
|
5
223
|
* <p>Cannot delete this resource because it is in use.</p>
|
|
6
224
|
*/
|
|
@@ -21,6 +239,54 @@ export interface DeleteMonitoringSubscriptionRequest {
|
|
|
21
239
|
}
|
|
22
240
|
export interface DeleteMonitoringSubscriptionResult {
|
|
23
241
|
}
|
|
242
|
+
/**
|
|
243
|
+
* <p>A monitoring subscription does not exist for the specified distribution.</p>
|
|
244
|
+
*/
|
|
245
|
+
export declare class NoSuchMonitoringSubscription extends __BaseException {
|
|
246
|
+
readonly name: "NoSuchMonitoringSubscription";
|
|
247
|
+
readonly $fault: "client";
|
|
248
|
+
Message?: string;
|
|
249
|
+
/**
|
|
250
|
+
* @internal
|
|
251
|
+
*/
|
|
252
|
+
constructor(opts: __ExceptionOptionType<NoSuchMonitoringSubscription, __BaseException>);
|
|
253
|
+
}
|
|
254
|
+
export interface DeleteOriginAccessControlRequest {
|
|
255
|
+
/**
|
|
256
|
+
* <p>The unique identifier of the origin access control that you are deleting.</p>
|
|
257
|
+
*/
|
|
258
|
+
Id: string | undefined;
|
|
259
|
+
/**
|
|
260
|
+
* <p>The current version (<code>ETag</code> value) of the origin access control that you are
|
|
261
|
+
* deleting.</p>
|
|
262
|
+
*/
|
|
263
|
+
IfMatch?: string;
|
|
264
|
+
}
|
|
265
|
+
/**
|
|
266
|
+
* <p>The origin access control does not exist.</p>
|
|
267
|
+
*/
|
|
268
|
+
export declare class NoSuchOriginAccessControl extends __BaseException {
|
|
269
|
+
readonly name: "NoSuchOriginAccessControl";
|
|
270
|
+
readonly $fault: "client";
|
|
271
|
+
Message?: string;
|
|
272
|
+
/**
|
|
273
|
+
* @internal
|
|
274
|
+
*/
|
|
275
|
+
constructor(opts: __ExceptionOptionType<NoSuchOriginAccessControl, __BaseException>);
|
|
276
|
+
}
|
|
277
|
+
/**
|
|
278
|
+
* <p>Cannot delete the origin access control because it's in use by one or more
|
|
279
|
+
* distributions.</p>
|
|
280
|
+
*/
|
|
281
|
+
export declare class OriginAccessControlInUse extends __BaseException {
|
|
282
|
+
readonly name: "OriginAccessControlInUse";
|
|
283
|
+
readonly $fault: "client";
|
|
284
|
+
Message?: string;
|
|
285
|
+
/**
|
|
286
|
+
* @internal
|
|
287
|
+
*/
|
|
288
|
+
constructor(opts: __ExceptionOptionType<OriginAccessControlInUse, __BaseException>);
|
|
289
|
+
}
|
|
24
290
|
export interface DeleteOriginRequestPolicyRequest {
|
|
25
291
|
/**
|
|
26
292
|
* <p>The unique identifier for the origin request policy that you are deleting. To get the
|
|
@@ -484,6 +750,38 @@ export interface GetMonitoringSubscriptionResult {
|
|
|
484
750
|
*/
|
|
485
751
|
MonitoringSubscription?: MonitoringSubscription;
|
|
486
752
|
}
|
|
753
|
+
export interface GetOriginAccessControlRequest {
|
|
754
|
+
/**
|
|
755
|
+
* <p>The unique identifier of the origin access control.</p>
|
|
756
|
+
*/
|
|
757
|
+
Id: string | undefined;
|
|
758
|
+
}
|
|
759
|
+
export interface GetOriginAccessControlResult {
|
|
760
|
+
/**
|
|
761
|
+
* <p>Contains an origin access control.</p>
|
|
762
|
+
*/
|
|
763
|
+
OriginAccessControl?: OriginAccessControl;
|
|
764
|
+
/**
|
|
765
|
+
* <p>The version identifier for the current version of the origin access control.</p>
|
|
766
|
+
*/
|
|
767
|
+
ETag?: string;
|
|
768
|
+
}
|
|
769
|
+
export interface GetOriginAccessControlConfigRequest {
|
|
770
|
+
/**
|
|
771
|
+
* <p>The unique identifier of the origin access control.</p>
|
|
772
|
+
*/
|
|
773
|
+
Id: string | undefined;
|
|
774
|
+
}
|
|
775
|
+
export interface GetOriginAccessControlConfigResult {
|
|
776
|
+
/**
|
|
777
|
+
* <p>Contains an origin access control.</p>
|
|
778
|
+
*/
|
|
779
|
+
OriginAccessControlConfig?: OriginAccessControlConfig;
|
|
780
|
+
/**
|
|
781
|
+
* <p>The version identifier for the current version of the origin access control.</p>
|
|
782
|
+
*/
|
|
783
|
+
ETag?: string;
|
|
784
|
+
}
|
|
487
785
|
export interface GetOriginRequestPolicyRequest {
|
|
488
786
|
/**
|
|
489
787
|
* <p>The unique identifier for the origin request policy. If the origin request policy is
|
|
@@ -1541,6 +1839,108 @@ export interface ListKeyGroupsResult {
|
|
|
1541
1839
|
*/
|
|
1542
1840
|
KeyGroupList?: KeyGroupList;
|
|
1543
1841
|
}
|
|
1842
|
+
export interface ListOriginAccessControlsRequest {
|
|
1843
|
+
/**
|
|
1844
|
+
* <p>Use this field when paginating results to indicate where to begin in your list of origin
|
|
1845
|
+
* access controls. The response includes the items in the list that occur after the
|
|
1846
|
+
* marker. To get the next page of the list, set this field's value to the value of
|
|
1847
|
+
* <code>NextMarker</code> from the current page's response.</p>
|
|
1848
|
+
*/
|
|
1849
|
+
Marker?: string;
|
|
1850
|
+
/**
|
|
1851
|
+
* <p>The maximum number of origin access controls that you want in the response.</p>
|
|
1852
|
+
*/
|
|
1853
|
+
MaxItems?: number;
|
|
1854
|
+
}
|
|
1855
|
+
/**
|
|
1856
|
+
* <p>A CloudFront origin access control.</p>
|
|
1857
|
+
*/
|
|
1858
|
+
export interface OriginAccessControlSummary {
|
|
1859
|
+
/**
|
|
1860
|
+
* <p>The unique identifier of the origin access control.</p>
|
|
1861
|
+
*/
|
|
1862
|
+
Id: string | undefined;
|
|
1863
|
+
/**
|
|
1864
|
+
* <p>A description of the origin access control.</p>
|
|
1865
|
+
*/
|
|
1866
|
+
Description: string | undefined;
|
|
1867
|
+
/**
|
|
1868
|
+
* <p>A unique name that identifies the origin access control.</p>
|
|
1869
|
+
*/
|
|
1870
|
+
Name: string | undefined;
|
|
1871
|
+
/**
|
|
1872
|
+
* <p>The signing protocol of the origin access control. The signing protocol determines how
|
|
1873
|
+
* CloudFront signs (authenticates) requests. The only valid value is <code>sigv4</code>.</p>
|
|
1874
|
+
*/
|
|
1875
|
+
SigningProtocol: OriginAccessControlSigningProtocols | string | undefined;
|
|
1876
|
+
/**
|
|
1877
|
+
* <p>A value that specifies which requests CloudFront signs (adds authentication information to).
|
|
1878
|
+
* This field can have one of the following values:</p>
|
|
1879
|
+
* <ul>
|
|
1880
|
+
* <li>
|
|
1881
|
+
* <p>
|
|
1882
|
+
* <code>never</code> – CloudFront doesn't sign any origin requests.</p>
|
|
1883
|
+
* </li>
|
|
1884
|
+
* <li>
|
|
1885
|
+
* <p>
|
|
1886
|
+
* <code>always</code> – CloudFront signs all origin requests, overwriting the
|
|
1887
|
+
* <code>Authorization</code> header from the viewer request if necessary.</p>
|
|
1888
|
+
* </li>
|
|
1889
|
+
* <li>
|
|
1890
|
+
* <p>
|
|
1891
|
+
* <code>no-override</code> – If the viewer request doesn't contain the
|
|
1892
|
+
* <code>Authorization</code> header, CloudFront signs the origin request. If the viewer
|
|
1893
|
+
* request contains the <code>Authorization</code> header, CloudFront doesn't sign the
|
|
1894
|
+
* origin request, but instead passes along the <code>Authorization</code> header
|
|
1895
|
+
* that it received in the viewer request.</p>
|
|
1896
|
+
* </li>
|
|
1897
|
+
* </ul>
|
|
1898
|
+
*/
|
|
1899
|
+
SigningBehavior: OriginAccessControlSigningBehaviors | string | undefined;
|
|
1900
|
+
/**
|
|
1901
|
+
* <p>The type of origin that this origin access control is for. The only valid value is
|
|
1902
|
+
* <code>s3</code>.</p>
|
|
1903
|
+
*/
|
|
1904
|
+
OriginAccessControlOriginType: OriginAccessControlOriginTypes | string | undefined;
|
|
1905
|
+
}
|
|
1906
|
+
/**
|
|
1907
|
+
* <p>A list of CloudFront origin access controls.</p>
|
|
1908
|
+
*/
|
|
1909
|
+
export interface OriginAccessControlList {
|
|
1910
|
+
/**
|
|
1911
|
+
* <p>The value of the <code>Marker</code> field that was provided in the request.</p>
|
|
1912
|
+
*/
|
|
1913
|
+
Marker: string | undefined;
|
|
1914
|
+
/**
|
|
1915
|
+
* <p>If there are more items in the list than are in this response, this element is present. It
|
|
1916
|
+
* contains the value to use in the <code>Marker</code> field of another request to
|
|
1917
|
+
* continue listing origin access controls.</p>
|
|
1918
|
+
*/
|
|
1919
|
+
NextMarker?: string;
|
|
1920
|
+
/**
|
|
1921
|
+
* <p>The maximum number of origin access controls requested.</p>
|
|
1922
|
+
*/
|
|
1923
|
+
MaxItems: number | undefined;
|
|
1924
|
+
/**
|
|
1925
|
+
* <p>If there are more items in the list than are in this response, this value is
|
|
1926
|
+
* <code>true</code>.</p>
|
|
1927
|
+
*/
|
|
1928
|
+
IsTruncated: boolean | undefined;
|
|
1929
|
+
/**
|
|
1930
|
+
* <p>The number of origin access controls returned in the response.</p>
|
|
1931
|
+
*/
|
|
1932
|
+
Quantity: number | undefined;
|
|
1933
|
+
/**
|
|
1934
|
+
* <p>Contains the origin access controls in the list.</p>
|
|
1935
|
+
*/
|
|
1936
|
+
Items?: OriginAccessControlSummary[];
|
|
1937
|
+
}
|
|
1938
|
+
export interface ListOriginAccessControlsResult {
|
|
1939
|
+
/**
|
|
1940
|
+
* <p>A list of origin access controls.</p>
|
|
1941
|
+
*/
|
|
1942
|
+
OriginAccessControlList?: OriginAccessControlList;
|
|
1943
|
+
}
|
|
1544
1944
|
export declare type OriginRequestPolicyType = "custom" | "managed";
|
|
1545
1945
|
export interface ListOriginRequestPoliciesRequest {
|
|
1546
1946
|
/**
|
|
@@ -2269,6 +2669,31 @@ export interface UpdateKeyGroupResult {
|
|
|
2269
2669
|
*/
|
|
2270
2670
|
ETag?: string;
|
|
2271
2671
|
}
|
|
2672
|
+
export interface UpdateOriginAccessControlRequest {
|
|
2673
|
+
/**
|
|
2674
|
+
* <p>An origin access control.</p>
|
|
2675
|
+
*/
|
|
2676
|
+
OriginAccessControlConfig: OriginAccessControlConfig | undefined;
|
|
2677
|
+
/**
|
|
2678
|
+
* <p>The unique identifier of the origin access control that you are updating.</p>
|
|
2679
|
+
*/
|
|
2680
|
+
Id: string | undefined;
|
|
2681
|
+
/**
|
|
2682
|
+
* <p>The current version (<code>ETag</code> value) of the origin access control that you are
|
|
2683
|
+
* updating.</p>
|
|
2684
|
+
*/
|
|
2685
|
+
IfMatch?: string;
|
|
2686
|
+
}
|
|
2687
|
+
export interface UpdateOriginAccessControlResult {
|
|
2688
|
+
/**
|
|
2689
|
+
* <p>The origin access control after it has been updated.</p>
|
|
2690
|
+
*/
|
|
2691
|
+
OriginAccessControl?: OriginAccessControl;
|
|
2692
|
+
/**
|
|
2693
|
+
* <p>The new version of the origin access control after it has been updated.</p>
|
|
2694
|
+
*/
|
|
2695
|
+
ETag?: string;
|
|
2696
|
+
}
|
|
2272
2697
|
export interface UpdateOriginRequestPolicyRequest {
|
|
2273
2698
|
/**
|
|
2274
2699
|
* <p>An origin request policy configuration.</p>
|
|
@@ -2413,6 +2838,30 @@ export interface UpdateStreamingDistributionResult {
|
|
|
2413
2838
|
*/
|
|
2414
2839
|
ETag?: string;
|
|
2415
2840
|
}
|
|
2841
|
+
/**
|
|
2842
|
+
* @internal
|
|
2843
|
+
*/
|
|
2844
|
+
export declare const DeleteCloudFrontOriginAccessIdentityRequestFilterSensitiveLog: (obj: DeleteCloudFrontOriginAccessIdentityRequest) => any;
|
|
2845
|
+
/**
|
|
2846
|
+
* @internal
|
|
2847
|
+
*/
|
|
2848
|
+
export declare const DeleteDistributionRequestFilterSensitiveLog: (obj: DeleteDistributionRequest) => any;
|
|
2849
|
+
/**
|
|
2850
|
+
* @internal
|
|
2851
|
+
*/
|
|
2852
|
+
export declare const DeleteFieldLevelEncryptionConfigRequestFilterSensitiveLog: (obj: DeleteFieldLevelEncryptionConfigRequest) => any;
|
|
2853
|
+
/**
|
|
2854
|
+
* @internal
|
|
2855
|
+
*/
|
|
2856
|
+
export declare const DeleteFieldLevelEncryptionProfileRequestFilterSensitiveLog: (obj: DeleteFieldLevelEncryptionProfileRequest) => any;
|
|
2857
|
+
/**
|
|
2858
|
+
* @internal
|
|
2859
|
+
*/
|
|
2860
|
+
export declare const DeleteFunctionRequestFilterSensitiveLog: (obj: DeleteFunctionRequest) => any;
|
|
2861
|
+
/**
|
|
2862
|
+
* @internal
|
|
2863
|
+
*/
|
|
2864
|
+
export declare const DeleteKeyGroupRequestFilterSensitiveLog: (obj: DeleteKeyGroupRequest) => any;
|
|
2416
2865
|
/**
|
|
2417
2866
|
* @internal
|
|
2418
2867
|
*/
|
|
@@ -2421,6 +2870,10 @@ export declare const DeleteMonitoringSubscriptionRequestFilterSensitiveLog: (obj
|
|
|
2421
2870
|
* @internal
|
|
2422
2871
|
*/
|
|
2423
2872
|
export declare const DeleteMonitoringSubscriptionResultFilterSensitiveLog: (obj: DeleteMonitoringSubscriptionResult) => any;
|
|
2873
|
+
/**
|
|
2874
|
+
* @internal
|
|
2875
|
+
*/
|
|
2876
|
+
export declare const DeleteOriginAccessControlRequestFilterSensitiveLog: (obj: DeleteOriginAccessControlRequest) => any;
|
|
2424
2877
|
/**
|
|
2425
2878
|
* @internal
|
|
2426
2879
|
*/
|
|
@@ -2569,6 +3022,22 @@ export declare const GetMonitoringSubscriptionRequestFilterSensitiveLog: (obj: G
|
|
|
2569
3022
|
* @internal
|
|
2570
3023
|
*/
|
|
2571
3024
|
export declare const GetMonitoringSubscriptionResultFilterSensitiveLog: (obj: GetMonitoringSubscriptionResult) => any;
|
|
3025
|
+
/**
|
|
3026
|
+
* @internal
|
|
3027
|
+
*/
|
|
3028
|
+
export declare const GetOriginAccessControlRequestFilterSensitiveLog: (obj: GetOriginAccessControlRequest) => any;
|
|
3029
|
+
/**
|
|
3030
|
+
* @internal
|
|
3031
|
+
*/
|
|
3032
|
+
export declare const GetOriginAccessControlResultFilterSensitiveLog: (obj: GetOriginAccessControlResult) => any;
|
|
3033
|
+
/**
|
|
3034
|
+
* @internal
|
|
3035
|
+
*/
|
|
3036
|
+
export declare const GetOriginAccessControlConfigRequestFilterSensitiveLog: (obj: GetOriginAccessControlConfigRequest) => any;
|
|
3037
|
+
/**
|
|
3038
|
+
* @internal
|
|
3039
|
+
*/
|
|
3040
|
+
export declare const GetOriginAccessControlConfigResultFilterSensitiveLog: (obj: GetOriginAccessControlConfigResult) => any;
|
|
2572
3041
|
/**
|
|
2573
3042
|
* @internal
|
|
2574
3043
|
*/
|
|
@@ -2825,6 +3294,22 @@ export declare const KeyGroupListFilterSensitiveLog: (obj: KeyGroupList) => any;
|
|
|
2825
3294
|
* @internal
|
|
2826
3295
|
*/
|
|
2827
3296
|
export declare const ListKeyGroupsResultFilterSensitiveLog: (obj: ListKeyGroupsResult) => any;
|
|
3297
|
+
/**
|
|
3298
|
+
* @internal
|
|
3299
|
+
*/
|
|
3300
|
+
export declare const ListOriginAccessControlsRequestFilterSensitiveLog: (obj: ListOriginAccessControlsRequest) => any;
|
|
3301
|
+
/**
|
|
3302
|
+
* @internal
|
|
3303
|
+
*/
|
|
3304
|
+
export declare const OriginAccessControlSummaryFilterSensitiveLog: (obj: OriginAccessControlSummary) => any;
|
|
3305
|
+
/**
|
|
3306
|
+
* @internal
|
|
3307
|
+
*/
|
|
3308
|
+
export declare const OriginAccessControlListFilterSensitiveLog: (obj: OriginAccessControlList) => any;
|
|
3309
|
+
/**
|
|
3310
|
+
* @internal
|
|
3311
|
+
*/
|
|
3312
|
+
export declare const ListOriginAccessControlsResultFilterSensitiveLog: (obj: ListOriginAccessControlsResult) => any;
|
|
2828
3313
|
/**
|
|
2829
3314
|
* @internal
|
|
2830
3315
|
*/
|
|
@@ -2997,6 +3482,14 @@ export declare const UpdateKeyGroupRequestFilterSensitiveLog: (obj: UpdateKeyGro
|
|
|
2997
3482
|
* @internal
|
|
2998
3483
|
*/
|
|
2999
3484
|
export declare const UpdateKeyGroupResultFilterSensitiveLog: (obj: UpdateKeyGroupResult) => any;
|
|
3485
|
+
/**
|
|
3486
|
+
* @internal
|
|
3487
|
+
*/
|
|
3488
|
+
export declare const UpdateOriginAccessControlRequestFilterSensitiveLog: (obj: UpdateOriginAccessControlRequest) => any;
|
|
3489
|
+
/**
|
|
3490
|
+
* @internal
|
|
3491
|
+
*/
|
|
3492
|
+
export declare const UpdateOriginAccessControlResultFilterSensitiveLog: (obj: UpdateOriginAccessControlResult) => any;
|
|
3000
3493
|
/**
|
|
3001
3494
|
* @internal
|
|
3002
3495
|
*/
|