@aws-sdk/client-cloudfront 3.922.0 → 3.925.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/README.md +40 -0
- package/dist-cjs/index.js +329 -16
- package/dist-es/CloudFront.js +10 -0
- package/dist-es/commands/DeleteResourcePolicyCommand.js +22 -0
- package/dist-es/commands/GetResourcePolicyCommand.js +22 -0
- package/dist-es/commands/ListDistributionsByOwnedResourceCommand.js +22 -0
- package/dist-es/commands/PutResourcePolicyCommand.js +22 -0
- package/dist-es/commands/UpdateAnycastIpListCommand.js +22 -0
- package/dist-es/commands/index.js +6 -1
- package/dist-es/models/models_0.js +5 -5
- package/dist-es/models/models_1.js +0 -4
- package/dist-es/models/models_2.js +4 -0
- package/dist-es/protocols/Aws_restXml.js +225 -7
- package/dist-types/CloudFront.d.ts +35 -0
- package/dist-types/CloudFrontClient.d.ts +7 -2
- package/dist-types/auth/httpAuthSchemeProvider.d.ts +1 -1
- package/dist-types/commands/CopyDistributionCommand.d.ts +1 -0
- package/dist-types/commands/CreateAnycastIpListCommand.d.ts +2 -0
- package/dist-types/commands/CreateDistributionCommand.d.ts +2 -0
- package/dist-types/commands/CreateDistributionWithTagsCommand.d.ts +2 -0
- package/dist-types/commands/CreateVpcOriginCommand.d.ts +1 -0
- package/dist-types/commands/DeleteDistributionCommand.d.ts +1 -1
- package/dist-types/commands/DeleteResourcePolicyCommand.d.ts +90 -0
- package/dist-types/commands/DeleteVpcOriginCommand.d.ts +1 -0
- package/dist-types/commands/GetAnycastIpListCommand.d.ts +1 -0
- package/dist-types/commands/GetDistributionCommand.d.ts +1 -0
- package/dist-types/commands/GetDistributionConfigCommand.d.ts +1 -0
- package/dist-types/commands/GetResourcePolicyCommand.d.ts +87 -0
- package/dist-types/commands/GetVpcOriginCommand.d.ts +1 -0
- package/dist-types/commands/ListAnycastIpListsCommand.d.ts +2 -0
- package/dist-types/commands/ListDistributionsByAnycastIpListIdCommand.d.ts +1 -0
- package/dist-types/commands/ListDistributionsByConnectionModeCommand.d.ts +1 -0
- package/dist-types/commands/ListDistributionsByOwnedResourceCommand.d.ts +100 -0
- package/dist-types/commands/ListDistributionsByRealtimeLogConfigCommand.d.ts +1 -0
- package/dist-types/commands/ListDistributionsByWebACLIdCommand.d.ts +1 -0
- package/dist-types/commands/ListDistributionsCommand.d.ts +1 -0
- package/dist-types/commands/ListRealtimeLogConfigsCommand.d.ts +2 -1
- package/dist-types/commands/ListResponseHeadersPoliciesCommand.d.ts +1 -1
- package/dist-types/commands/ListStreamingDistributionsCommand.d.ts +1 -2
- package/dist-types/commands/ListVpcOriginsCommand.d.ts +1 -0
- package/dist-types/commands/PutResourcePolicyCommand.d.ts +93 -0
- package/dist-types/commands/UpdateAnycastIpListCommand.d.ts +106 -0
- package/dist-types/commands/UpdateDistributionCommand.d.ts +2 -0
- package/dist-types/commands/UpdateDistributionWithStagingConfigCommand.d.ts +1 -0
- package/dist-types/commands/UpdateVpcOriginCommand.d.ts +1 -0
- package/dist-types/commands/index.d.ts +6 -1
- package/dist-types/models/models_0.d.ts +38 -13
- package/dist-types/models/models_1.d.ts +122 -110
- package/dist-types/models/models_2.d.ts +177 -2
- package/dist-types/protocols/Aws_restXml.d.ts +45 -0
- package/dist-types/ts3.4/CloudFront.d.ts +85 -0
- package/dist-types/ts3.4/CloudFrontClient.d.ts +30 -0
- package/dist-types/ts3.4/commands/DeleteResourcePolicyCommand.d.ts +46 -0
- package/dist-types/ts3.4/commands/GetResourcePolicyCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListDistributionsByOwnedResourceCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListRealtimeLogConfigsCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/ListResponseHeadersPoliciesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListStreamingDistributionsCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/PutResourcePolicyCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/UpdateAnycastIpListCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/index.d.ts +6 -1
- package/dist-types/ts3.4/models/models_0.d.ts +11 -6
- package/dist-types/ts3.4/models/models_1.d.ts +31 -31
- package/dist-types/ts3.4/models/models_2.d.ts +51 -0
- package/dist-types/ts3.4/protocols/Aws_restXml.d.ts +60 -0
- package/package.json +5 -5
package/dist-es/CloudFront.js
CHANGED
|
@@ -45,6 +45,7 @@ import { DeleteOriginAccessControlCommand, } from "./commands/DeleteOriginAccess
|
|
|
45
45
|
import { DeleteOriginRequestPolicyCommand, } from "./commands/DeleteOriginRequestPolicyCommand";
|
|
46
46
|
import { DeletePublicKeyCommand, } from "./commands/DeletePublicKeyCommand";
|
|
47
47
|
import { DeleteRealtimeLogConfigCommand, } from "./commands/DeleteRealtimeLogConfigCommand";
|
|
48
|
+
import { DeleteResourcePolicyCommand, } from "./commands/DeleteResourcePolicyCommand";
|
|
48
49
|
import { DeleteResponseHeadersPolicyCommand, } from "./commands/DeleteResponseHeadersPolicyCommand";
|
|
49
50
|
import { DeleteStreamingDistributionCommand, } from "./commands/DeleteStreamingDistributionCommand";
|
|
50
51
|
import { DeleteVpcOriginCommand, } from "./commands/DeleteVpcOriginCommand";
|
|
@@ -83,6 +84,7 @@ import { GetOriginRequestPolicyConfigCommand, } from "./commands/GetOriginReques
|
|
|
83
84
|
import { GetPublicKeyCommand, } from "./commands/GetPublicKeyCommand";
|
|
84
85
|
import { GetPublicKeyConfigCommand, } from "./commands/GetPublicKeyConfigCommand";
|
|
85
86
|
import { GetRealtimeLogConfigCommand, } from "./commands/GetRealtimeLogConfigCommand";
|
|
87
|
+
import { GetResourcePolicyCommand, } from "./commands/GetResourcePolicyCommand";
|
|
86
88
|
import { GetResponseHeadersPolicyCommand, } from "./commands/GetResponseHeadersPolicyCommand";
|
|
87
89
|
import { GetResponseHeadersPolicyConfigCommand, } from "./commands/GetResponseHeadersPolicyConfigCommand";
|
|
88
90
|
import { GetStreamingDistributionCommand, } from "./commands/GetStreamingDistributionCommand";
|
|
@@ -99,6 +101,7 @@ import { ListDistributionsByCachePolicyIdCommand, } from "./commands/ListDistrib
|
|
|
99
101
|
import { ListDistributionsByConnectionModeCommand, } from "./commands/ListDistributionsByConnectionModeCommand";
|
|
100
102
|
import { ListDistributionsByKeyGroupCommand, } from "./commands/ListDistributionsByKeyGroupCommand";
|
|
101
103
|
import { ListDistributionsByOriginRequestPolicyIdCommand, } from "./commands/ListDistributionsByOriginRequestPolicyIdCommand";
|
|
104
|
+
import { ListDistributionsByOwnedResourceCommand, } from "./commands/ListDistributionsByOwnedResourceCommand";
|
|
102
105
|
import { ListDistributionsByRealtimeLogConfigCommand, } from "./commands/ListDistributionsByRealtimeLogConfigCommand";
|
|
103
106
|
import { ListDistributionsByResponseHeadersPolicyIdCommand, } from "./commands/ListDistributionsByResponseHeadersPolicyIdCommand";
|
|
104
107
|
import { ListDistributionsByVpcOriginIdCommand, } from "./commands/ListDistributionsByVpcOriginIdCommand";
|
|
@@ -123,9 +126,11 @@ import { ListStreamingDistributionsCommand, } from "./commands/ListStreamingDist
|
|
|
123
126
|
import { ListTagsForResourceCommand, } from "./commands/ListTagsForResourceCommand";
|
|
124
127
|
import { ListVpcOriginsCommand, } from "./commands/ListVpcOriginsCommand";
|
|
125
128
|
import { PublishFunctionCommand, } from "./commands/PublishFunctionCommand";
|
|
129
|
+
import { PutResourcePolicyCommand, } from "./commands/PutResourcePolicyCommand";
|
|
126
130
|
import { TagResourceCommand } from "./commands/TagResourceCommand";
|
|
127
131
|
import { TestFunctionCommand, } from "./commands/TestFunctionCommand";
|
|
128
132
|
import { UntagResourceCommand, } from "./commands/UntagResourceCommand";
|
|
133
|
+
import { UpdateAnycastIpListCommand, } from "./commands/UpdateAnycastIpListCommand";
|
|
129
134
|
import { UpdateCachePolicyCommand, } from "./commands/UpdateCachePolicyCommand";
|
|
130
135
|
import { UpdateCloudFrontOriginAccessIdentityCommand, } from "./commands/UpdateCloudFrontOriginAccessIdentityCommand";
|
|
131
136
|
import { UpdateConnectionGroupCommand, } from "./commands/UpdateConnectionGroupCommand";
|
|
@@ -193,6 +198,7 @@ const commands = {
|
|
|
193
198
|
DeleteOriginRequestPolicyCommand,
|
|
194
199
|
DeletePublicKeyCommand,
|
|
195
200
|
DeleteRealtimeLogConfigCommand,
|
|
201
|
+
DeleteResourcePolicyCommand,
|
|
196
202
|
DeleteResponseHeadersPolicyCommand,
|
|
197
203
|
DeleteStreamingDistributionCommand,
|
|
198
204
|
DeleteVpcOriginCommand,
|
|
@@ -231,6 +237,7 @@ const commands = {
|
|
|
231
237
|
GetPublicKeyCommand,
|
|
232
238
|
GetPublicKeyConfigCommand,
|
|
233
239
|
GetRealtimeLogConfigCommand,
|
|
240
|
+
GetResourcePolicyCommand,
|
|
234
241
|
GetResponseHeadersPolicyCommand,
|
|
235
242
|
GetResponseHeadersPolicyConfigCommand,
|
|
236
243
|
GetStreamingDistributionCommand,
|
|
@@ -248,6 +255,7 @@ const commands = {
|
|
|
248
255
|
ListDistributionsByConnectionModeCommand,
|
|
249
256
|
ListDistributionsByKeyGroupCommand,
|
|
250
257
|
ListDistributionsByOriginRequestPolicyIdCommand,
|
|
258
|
+
ListDistributionsByOwnedResourceCommand,
|
|
251
259
|
ListDistributionsByRealtimeLogConfigCommand,
|
|
252
260
|
ListDistributionsByResponseHeadersPolicyIdCommand,
|
|
253
261
|
ListDistributionsByVpcOriginIdCommand,
|
|
@@ -271,9 +279,11 @@ const commands = {
|
|
|
271
279
|
ListTagsForResourceCommand,
|
|
272
280
|
ListVpcOriginsCommand,
|
|
273
281
|
PublishFunctionCommand,
|
|
282
|
+
PutResourcePolicyCommand,
|
|
274
283
|
TagResourceCommand,
|
|
275
284
|
TestFunctionCommand,
|
|
276
285
|
UntagResourceCommand,
|
|
286
|
+
UpdateAnycastIpListCommand,
|
|
277
287
|
UpdateCachePolicyCommand,
|
|
278
288
|
UpdateCloudFrontOriginAccessIdentityCommand,
|
|
279
289
|
UpdateConnectionGroupCommand,
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { de_DeleteResourcePolicyCommand, se_DeleteResourcePolicyCommand } from "../protocols/Aws_restXml";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class DeleteResourcePolicyCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep(commonParams)
|
|
10
|
+
.m(function (Command, cs, config, o) {
|
|
11
|
+
return [
|
|
12
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
+
];
|
|
15
|
+
})
|
|
16
|
+
.s("Cloudfront2020_05_31", "DeleteResourcePolicy", {})
|
|
17
|
+
.n("CloudFrontClient", "DeleteResourcePolicyCommand")
|
|
18
|
+
.f(void 0, void 0)
|
|
19
|
+
.ser(se_DeleteResourcePolicyCommand)
|
|
20
|
+
.de(de_DeleteResourcePolicyCommand)
|
|
21
|
+
.build() {
|
|
22
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { de_GetResourcePolicyCommand, se_GetResourcePolicyCommand } from "../protocols/Aws_restXml";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class GetResourcePolicyCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep(commonParams)
|
|
10
|
+
.m(function (Command, cs, config, o) {
|
|
11
|
+
return [
|
|
12
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
+
];
|
|
15
|
+
})
|
|
16
|
+
.s("Cloudfront2020_05_31", "GetResourcePolicy", {})
|
|
17
|
+
.n("CloudFrontClient", "GetResourcePolicyCommand")
|
|
18
|
+
.f(void 0, void 0)
|
|
19
|
+
.ser(se_GetResourcePolicyCommand)
|
|
20
|
+
.de(de_GetResourcePolicyCommand)
|
|
21
|
+
.build() {
|
|
22
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { de_ListDistributionsByOwnedResourceCommand, se_ListDistributionsByOwnedResourceCommand, } from "../protocols/Aws_restXml";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class ListDistributionsByOwnedResourceCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep(commonParams)
|
|
10
|
+
.m(function (Command, cs, config, o) {
|
|
11
|
+
return [
|
|
12
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
+
];
|
|
15
|
+
})
|
|
16
|
+
.s("Cloudfront2020_05_31", "ListDistributionsByOwnedResource", {})
|
|
17
|
+
.n("CloudFrontClient", "ListDistributionsByOwnedResourceCommand")
|
|
18
|
+
.f(void 0, void 0)
|
|
19
|
+
.ser(se_ListDistributionsByOwnedResourceCommand)
|
|
20
|
+
.de(de_ListDistributionsByOwnedResourceCommand)
|
|
21
|
+
.build() {
|
|
22
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { de_PutResourcePolicyCommand, se_PutResourcePolicyCommand } from "../protocols/Aws_restXml";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class PutResourcePolicyCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep(commonParams)
|
|
10
|
+
.m(function (Command, cs, config, o) {
|
|
11
|
+
return [
|
|
12
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
+
];
|
|
15
|
+
})
|
|
16
|
+
.s("Cloudfront2020_05_31", "PutResourcePolicy", {})
|
|
17
|
+
.n("CloudFrontClient", "PutResourcePolicyCommand")
|
|
18
|
+
.f(void 0, void 0)
|
|
19
|
+
.ser(se_PutResourcePolicyCommand)
|
|
20
|
+
.de(de_PutResourcePolicyCommand)
|
|
21
|
+
.build() {
|
|
22
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { de_UpdateAnycastIpListCommand, se_UpdateAnycastIpListCommand } from "../protocols/Aws_restXml";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class UpdateAnycastIpListCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep(commonParams)
|
|
10
|
+
.m(function (Command, cs, config, o) {
|
|
11
|
+
return [
|
|
12
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
+
];
|
|
15
|
+
})
|
|
16
|
+
.s("Cloudfront2020_05_31", "UpdateAnycastIpList", {})
|
|
17
|
+
.n("CloudFrontClient", "UpdateAnycastIpListCommand")
|
|
18
|
+
.f(void 0, void 0)
|
|
19
|
+
.ser(se_UpdateAnycastIpListCommand)
|
|
20
|
+
.de(de_UpdateAnycastIpListCommand)
|
|
21
|
+
.build() {
|
|
22
|
+
}
|
|
@@ -43,6 +43,7 @@ export * from "./DeleteOriginAccessControlCommand";
|
|
|
43
43
|
export * from "./DeleteOriginRequestPolicyCommand";
|
|
44
44
|
export * from "./DeletePublicKeyCommand";
|
|
45
45
|
export * from "./DeleteRealtimeLogConfigCommand";
|
|
46
|
+
export * from "./DeleteResourcePolicyCommand";
|
|
46
47
|
export * from "./DeleteResponseHeadersPolicyCommand";
|
|
47
48
|
export * from "./DeleteStreamingDistributionCommand";
|
|
48
49
|
export * from "./DeleteVpcOriginCommand";
|
|
@@ -81,6 +82,7 @@ export * from "./GetOriginRequestPolicyConfigCommand";
|
|
|
81
82
|
export * from "./GetPublicKeyCommand";
|
|
82
83
|
export * from "./GetPublicKeyConfigCommand";
|
|
83
84
|
export * from "./GetRealtimeLogConfigCommand";
|
|
85
|
+
export * from "./GetResourcePolicyCommand";
|
|
84
86
|
export * from "./GetResponseHeadersPolicyCommand";
|
|
85
87
|
export * from "./GetResponseHeadersPolicyConfigCommand";
|
|
86
88
|
export * from "./GetStreamingDistributionCommand";
|
|
@@ -99,10 +101,11 @@ export * from "./ListDistributionTenantsByCustomizationCommand";
|
|
|
99
101
|
export * from "./ListDistributionsByConnectionModeCommand";
|
|
100
102
|
export * from "./ListDistributionsByKeyGroupCommand";
|
|
101
103
|
export * from "./ListDistributionsByOriginRequestPolicyIdCommand";
|
|
104
|
+
export * from "./ListDistributionsByOwnedResourceCommand";
|
|
102
105
|
export * from "./ListDistributionsByRealtimeLogConfigCommand";
|
|
103
106
|
export * from "./ListDistributionsByResponseHeadersPolicyIdCommand";
|
|
104
|
-
export * from "./ListDistributionsByVpcOriginIdCommand";
|
|
105
107
|
export * from "./ListDistributionsCommand";
|
|
108
|
+
export * from "./ListDistributionsByVpcOriginIdCommand";
|
|
106
109
|
export * from "./ListDistributionsByWebACLIdCommand";
|
|
107
110
|
export * from "./ListDomainConflictsCommand";
|
|
108
111
|
export * from "./ListFieldLevelEncryptionConfigsCommand";
|
|
@@ -121,9 +124,11 @@ export * from "./ListStreamingDistributionsCommand";
|
|
|
121
124
|
export * from "./ListTagsForResourceCommand";
|
|
122
125
|
export * from "./ListVpcOriginsCommand";
|
|
123
126
|
export * from "./PublishFunctionCommand";
|
|
127
|
+
export * from "./PutResourcePolicyCommand";
|
|
124
128
|
export * from "./TagResourceCommand";
|
|
125
129
|
export * from "./TestFunctionCommand";
|
|
126
130
|
export * from "./UntagResourceCommand";
|
|
131
|
+
export * from "./UpdateAnycastIpListCommand";
|
|
127
132
|
export * from "./UpdateCachePolicyCommand";
|
|
128
133
|
export * from "./UpdateCloudFrontOriginAccessIdentityCommand";
|
|
129
134
|
export * from "./UpdateConnectionGroupCommand";
|
|
@@ -38,6 +38,11 @@ export const Method = {
|
|
|
38
38
|
POST: "POST",
|
|
39
39
|
PUT: "PUT",
|
|
40
40
|
};
|
|
41
|
+
export const IpAddressType = {
|
|
42
|
+
DualStack: "dualstack",
|
|
43
|
+
Ipv4: "ipv4",
|
|
44
|
+
Ipv6: "ipv6",
|
|
45
|
+
};
|
|
41
46
|
export class IllegalUpdate extends __BaseException {
|
|
42
47
|
name = "IllegalUpdate";
|
|
43
48
|
$fault = "client";
|
|
@@ -293,11 +298,6 @@ export const OriginGroupSelectionCriteria = {
|
|
|
293
298
|
Default: "default",
|
|
294
299
|
MediaQualityBased: "media-quality-based",
|
|
295
300
|
};
|
|
296
|
-
export const IpAddressType = {
|
|
297
|
-
DualStack: "dualstack",
|
|
298
|
-
Ipv4: "ipv4",
|
|
299
|
-
Ipv6: "ipv6",
|
|
300
|
-
};
|
|
301
301
|
export const OriginProtocolPolicy = {
|
|
302
302
|
http_only: "http-only",
|
|
303
303
|
https_only: "https-only",
|
|
@@ -611,10 +611,6 @@ export const OriginRequestPolicyType = {
|
|
|
611
611
|
custom: "custom",
|
|
612
612
|
managed: "managed",
|
|
613
613
|
};
|
|
614
|
-
export const ResponseHeadersPolicyType = {
|
|
615
|
-
custom: "custom",
|
|
616
|
-
managed: "managed",
|
|
617
|
-
};
|
|
618
614
|
export const GetDistributionResultFilterSensitiveLog = (obj) => ({
|
|
619
615
|
...obj,
|
|
620
616
|
...(obj.Distribution && { Distribution: DistributionFilterSensitiveLog(obj.Distribution) }),
|
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
import { SENSITIVE_STRING } from "@smithy/smithy-client";
|
|
2
2
|
import { CloudFrontServiceException as __BaseException } from "./CloudFrontServiceException";
|
|
3
3
|
import { DistributionConfigFilterSensitiveLog, DistributionFilterSensitiveLog, } from "./models_0";
|
|
4
|
+
export const ResponseHeadersPolicyType = {
|
|
5
|
+
custom: "custom",
|
|
6
|
+
managed: "managed",
|
|
7
|
+
};
|
|
4
8
|
export class TestFunctionFailed extends __BaseException {
|
|
5
9
|
name = "TestFunctionFailed";
|
|
6
10
|
$fault = "server";
|