@aws-sdk/client-cloudfront 3.50.0 → 3.53.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 +27 -0
- package/dist-cjs/index.js +3 -0
- package/dist-cjs/models/CloudFrontServiceException.js +11 -0
- package/dist-cjs/models/models_0.js +1673 -4
- package/dist-cjs/models/models_1.js +117 -4
- package/dist-cjs/protocols/Aws_restXml.js +1685 -5116
- package/dist-es/index.js +1 -0
- package/dist-es/models/CloudFrontServiceException.js +12 -0
- package/dist-es/models/models_0.js +1549 -1
- package/dist-es/models/models_1.js +106 -1
- package/dist-es/protocols/Aws_restXml.js +2718 -5611
- package/dist-types/index.d.ts +1 -0
- package/dist-types/models/CloudFrontServiceException.d.ts +10 -0
- package/dist-types/models/models_0.d.ts +835 -358
- package/dist-types/models/models_1.d.ts +58 -25
- package/dist-types/ts3.4/CloudFront.d.ts +465 -0
- package/dist-types/ts3.4/CloudFrontClient.d.ts +165 -0
- package/dist-types/ts3.4/commands/AssociateAliasCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/CreateCachePolicyCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/CreateCloudFrontOriginAccessIdentityCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/CreateDistributionCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/CreateDistributionWithTagsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/CreateFieldLevelEncryptionConfigCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/CreateFieldLevelEncryptionProfileCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/CreateFunctionCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/CreateInvalidationCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/CreateKeyGroupCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/CreateMonitoringSubscriptionCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/CreateOriginRequestPolicyCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/CreatePublicKeyCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/CreateRealtimeLogConfigCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/CreateResponseHeadersPolicyCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/CreateStreamingDistributionCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/CreateStreamingDistributionWithTagsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteCachePolicyCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteCloudFrontOriginAccessIdentityCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteDistributionCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteFieldLevelEncryptionConfigCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteFieldLevelEncryptionProfileCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteFunctionCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteKeyGroupCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteMonitoringSubscriptionCommand.d.ts +18 -0
- package/dist-types/ts3.4/commands/DeleteOriginRequestPolicyCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeletePublicKeyCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteRealtimeLogConfigCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteResponseHeadersPolicyCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteStreamingDistributionCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DescribeFunctionCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetCachePolicyCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetCachePolicyConfigCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetCloudFrontOriginAccessIdentityCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetCloudFrontOriginAccessIdentityConfigCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetDistributionCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetDistributionConfigCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetFieldLevelEncryptionCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetFieldLevelEncryptionConfigCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetFieldLevelEncryptionProfileCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetFieldLevelEncryptionProfileConfigCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetFunctionCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetInvalidationCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetKeyGroupCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetKeyGroupConfigCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetMonitoringSubscriptionCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetOriginRequestPolicyCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetOriginRequestPolicyConfigCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetPublicKeyCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetPublicKeyConfigCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetRealtimeLogConfigCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetResponseHeadersPolicyCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetResponseHeadersPolicyConfigCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetStreamingDistributionCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetStreamingDistributionConfigCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListCachePoliciesCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListCloudFrontOriginAccessIdentitiesCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListConflictingAliasesCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListDistributionsByCachePolicyIdCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListDistributionsByKeyGroupCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListDistributionsByOriginRequestPolicyIdCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListDistributionsByRealtimeLogConfigCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListDistributionsByResponseHeadersPolicyIdCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListDistributionsByWebACLIdCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListDistributionsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListFieldLevelEncryptionConfigsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListFieldLevelEncryptionProfilesCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListFunctionsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListInvalidationsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListKeyGroupsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListOriginRequestPoliciesCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListPublicKeysCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListRealtimeLogConfigsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListResponseHeadersPoliciesCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListStreamingDistributionsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/PublishFunctionCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/TestFunctionCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UpdateCachePolicyCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UpdateCloudFrontOriginAccessIdentityCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UpdateDistributionCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UpdateFieldLevelEncryptionConfigCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UpdateFieldLevelEncryptionProfileCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UpdateFunctionCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UpdateKeyGroupCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UpdateOriginRequestPolicyCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UpdatePublicKeyCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UpdateRealtimeLogConfigCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UpdateResponseHeadersPolicyCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UpdateStreamingDistributionCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/index.d.ts +92 -0
- package/dist-types/ts3.4/endpoints.d.ts +2 -0
- package/dist-types/ts3.4/index.d.ts +7 -0
- package/dist-types/ts3.4/models/CloudFrontServiceException.d.ts +6 -0
- package/dist-types/ts3.4/models/index.d.ts +2 -0
- package/dist-types/ts3.4/models/models_0.d.ts +314 -0
- package/dist-types/ts3.4/models/models_1.d.ts +1804 -0
- package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
- package/dist-types/ts3.4/pagination/ListCloudFrontOriginAccessIdentitiesPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/ListDistributionsPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/ListInvalidationsPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/ListStreamingDistributionsPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/index.d.ts +5 -0
- package/dist-types/ts3.4/protocols/Aws_restXml.d.ts +278 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +38 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +38 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +37 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +11 -0
- package/dist-types/ts3.4/waiters/index.d.ts +3 -0
- package/dist-types/ts3.4/waiters/waitForDistributionDeployed.d.ts +7 -0
- package/dist-types/ts3.4/waiters/waitForInvalidationCompleted.d.ts +7 -0
- package/dist-types/ts3.4/waiters/waitForStreamingDistributionDeployed.d.ts +7 -0
- package/package.json +35 -35
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { CloudFrontServiceException as __BaseException } from "./CloudFrontServiceException";
|
|
2
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
4
|
export interface DeleteMonitoringSubscriptionResult {
|
|
4
5
|
}
|
|
@@ -32,10 +33,14 @@ export declare namespace DeleteOriginRequestPolicyRequest {
|
|
|
32
33
|
* <p>Cannot delete the origin request policy because it is attached to one or more cache
|
|
33
34
|
* behaviors.</p>
|
|
34
35
|
*/
|
|
35
|
-
export
|
|
36
|
-
name: "OriginRequestPolicyInUse";
|
|
37
|
-
$fault: "client";
|
|
36
|
+
export declare class OriginRequestPolicyInUse extends __BaseException {
|
|
37
|
+
readonly name: "OriginRequestPolicyInUse";
|
|
38
|
+
readonly $fault: "client";
|
|
38
39
|
Message?: string;
|
|
40
|
+
/**
|
|
41
|
+
* @internal
|
|
42
|
+
*/
|
|
43
|
+
constructor(opts: __ExceptionOptionType<OriginRequestPolicyInUse, __BaseException>);
|
|
39
44
|
}
|
|
40
45
|
export interface DeletePublicKeyRequest {
|
|
41
46
|
/**
|
|
@@ -57,10 +62,14 @@ export declare namespace DeletePublicKeyRequest {
|
|
|
57
62
|
/**
|
|
58
63
|
* <p>The specified public key is in use. </p>
|
|
59
64
|
*/
|
|
60
|
-
export
|
|
61
|
-
name: "PublicKeyInUse";
|
|
62
|
-
$fault: "client";
|
|
65
|
+
export declare class PublicKeyInUse extends __BaseException {
|
|
66
|
+
readonly name: "PublicKeyInUse";
|
|
67
|
+
readonly $fault: "client";
|
|
63
68
|
Message?: string;
|
|
69
|
+
/**
|
|
70
|
+
* @internal
|
|
71
|
+
*/
|
|
72
|
+
constructor(opts: __ExceptionOptionType<PublicKeyInUse, __BaseException>);
|
|
64
73
|
}
|
|
65
74
|
export interface DeleteRealtimeLogConfigRequest {
|
|
66
75
|
/**
|
|
@@ -82,10 +91,14 @@ export declare namespace DeleteRealtimeLogConfigRequest {
|
|
|
82
91
|
* <p>Cannot delete the real-time log configuration because it is attached to one or more cache
|
|
83
92
|
* behaviors.</p>
|
|
84
93
|
*/
|
|
85
|
-
export
|
|
86
|
-
name: "RealtimeLogConfigInUse";
|
|
87
|
-
$fault: "client";
|
|
94
|
+
export declare class RealtimeLogConfigInUse extends __BaseException {
|
|
95
|
+
readonly name: "RealtimeLogConfigInUse";
|
|
96
|
+
readonly $fault: "client";
|
|
88
97
|
Message?: string;
|
|
98
|
+
/**
|
|
99
|
+
* @internal
|
|
100
|
+
*/
|
|
101
|
+
constructor(opts: __ExceptionOptionType<RealtimeLogConfigInUse, __BaseException>);
|
|
89
102
|
}
|
|
90
103
|
export interface DeleteResponseHeadersPolicyRequest {
|
|
91
104
|
/**
|
|
@@ -112,10 +125,14 @@ export declare namespace DeleteResponseHeadersPolicyRequest {
|
|
|
112
125
|
* <p>Cannot delete the response headers policy because it is attached to one or more cache
|
|
113
126
|
* behaviors in a CloudFront distribution. </p>
|
|
114
127
|
*/
|
|
115
|
-
export
|
|
116
|
-
name: "ResponseHeadersPolicyInUse";
|
|
117
|
-
$fault: "client";
|
|
128
|
+
export declare class ResponseHeadersPolicyInUse extends __BaseException {
|
|
129
|
+
readonly name: "ResponseHeadersPolicyInUse";
|
|
130
|
+
readonly $fault: "client";
|
|
118
131
|
Message?: string;
|
|
132
|
+
/**
|
|
133
|
+
* @internal
|
|
134
|
+
*/
|
|
135
|
+
constructor(opts: __ExceptionOptionType<ResponseHeadersPolicyInUse, __BaseException>);
|
|
119
136
|
}
|
|
120
137
|
/**
|
|
121
138
|
* <p>The request to delete a streaming distribution.</p>
|
|
@@ -140,19 +157,27 @@ export declare namespace DeleteStreamingDistributionRequest {
|
|
|
140
157
|
/**
|
|
141
158
|
* <p>The specified streaming distribution does not exist.</p>
|
|
142
159
|
*/
|
|
143
|
-
export
|
|
144
|
-
name: "NoSuchStreamingDistribution";
|
|
145
|
-
$fault: "client";
|
|
160
|
+
export declare class NoSuchStreamingDistribution extends __BaseException {
|
|
161
|
+
readonly name: "NoSuchStreamingDistribution";
|
|
162
|
+
readonly $fault: "client";
|
|
146
163
|
Message?: string;
|
|
164
|
+
/**
|
|
165
|
+
* @internal
|
|
166
|
+
*/
|
|
167
|
+
constructor(opts: __ExceptionOptionType<NoSuchStreamingDistribution, __BaseException>);
|
|
147
168
|
}
|
|
148
169
|
/**
|
|
149
170
|
* <p>The specified CloudFront distribution is not disabled. You must disable
|
|
150
171
|
* the distribution before you can delete it.</p>
|
|
151
172
|
*/
|
|
152
|
-
export
|
|
153
|
-
name: "StreamingDistributionNotDisabled";
|
|
154
|
-
$fault: "client";
|
|
173
|
+
export declare class StreamingDistributionNotDisabled extends __BaseException {
|
|
174
|
+
readonly name: "StreamingDistributionNotDisabled";
|
|
175
|
+
readonly $fault: "client";
|
|
155
176
|
Message?: string;
|
|
177
|
+
/**
|
|
178
|
+
* @internal
|
|
179
|
+
*/
|
|
180
|
+
constructor(opts: __ExceptionOptionType<StreamingDistributionNotDisabled, __BaseException>);
|
|
156
181
|
}
|
|
157
182
|
export interface DescribeFunctionRequest {
|
|
158
183
|
/**
|
|
@@ -577,10 +602,14 @@ export declare namespace GetInvalidationResult {
|
|
|
577
602
|
/**
|
|
578
603
|
* <p>The specified invalidation does not exist.</p>
|
|
579
604
|
*/
|
|
580
|
-
export
|
|
581
|
-
name: "NoSuchInvalidation";
|
|
582
|
-
$fault: "client";
|
|
605
|
+
export declare class NoSuchInvalidation extends __BaseException {
|
|
606
|
+
readonly name: "NoSuchInvalidation";
|
|
607
|
+
readonly $fault: "client";
|
|
583
608
|
Message?: string;
|
|
609
|
+
/**
|
|
610
|
+
* @internal
|
|
611
|
+
*/
|
|
612
|
+
constructor(opts: __ExceptionOptionType<NoSuchInvalidation, __BaseException>);
|
|
584
613
|
}
|
|
585
614
|
export interface GetKeyGroupRequest {
|
|
586
615
|
/**
|
|
@@ -2690,10 +2719,14 @@ export declare namespace TagResourceRequest {
|
|
|
2690
2719
|
/**
|
|
2691
2720
|
* <p>The CloudFront function failed.</p>
|
|
2692
2721
|
*/
|
|
2693
|
-
export
|
|
2694
|
-
name: "TestFunctionFailed";
|
|
2695
|
-
$fault: "server";
|
|
2722
|
+
export declare class TestFunctionFailed extends __BaseException {
|
|
2723
|
+
readonly name: "TestFunctionFailed";
|
|
2724
|
+
readonly $fault: "server";
|
|
2696
2725
|
Message?: string;
|
|
2726
|
+
/**
|
|
2727
|
+
* @internal
|
|
2728
|
+
*/
|
|
2729
|
+
constructor(opts: __ExceptionOptionType<TestFunctionFailed, __BaseException>);
|
|
2697
2730
|
}
|
|
2698
2731
|
export interface TestFunctionRequest {
|
|
2699
2732
|
/**
|