@aws-sdk/client-cloudfront 3.379.1 → 3.382.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/dist-cjs/endpoint/ruleset.js +3 -3
- package/dist-cjs/models/models_0.js +17 -16
- package/dist-cjs/protocols/Aws_restXml.js +19 -0
- package/dist-es/endpoint/ruleset.js +3 -3
- package/dist-es/models/models_0.js +14 -13
- package/dist-es/protocols/Aws_restXml.js +19 -0
- package/dist-types/commands/CopyDistributionCommand.d.ts +25 -0
- package/dist-types/commands/CreateDistributionWithTagsCommand.d.ts +24 -1
- package/dist-types/commands/CreateFunctionCommand.d.ts +2 -2
- package/dist-types/commands/DescribeFunctionCommand.d.ts +1 -1
- package/dist-types/commands/ListFunctionsCommand.d.ts +1 -1
- package/dist-types/commands/PublishFunctionCommand.d.ts +1 -1
- package/dist-types/commands/TestFunctionCommand.d.ts +1 -1
- package/dist-types/commands/UpdateDistributionCommand.d.ts +6 -0
- package/dist-types/commands/UpdateDistributionWithStagingConfigCommand.d.ts +19 -0
- package/dist-types/commands/UpdateFunctionCommand.d.ts +2 -2
- package/dist-types/models/models_0.d.ts +486 -24
- package/dist-types/models/models_1.d.ts +473 -0
- package/dist-types/ts3.4/models/models_0.d.ts +13 -11
- package/package.json +5 -5
|
@@ -321,6 +321,7 @@ export interface CopyDistributionRequest {
|
|
|
321
321
|
Staging?: boolean;
|
|
322
322
|
IfMatch?: string;
|
|
323
323
|
CallerReference: string | undefined;
|
|
324
|
+
Enabled?: boolean;
|
|
324
325
|
}
|
|
325
326
|
export interface CustomErrorResponse {
|
|
326
327
|
ErrorCode: number | undefined;
|
|
@@ -869,6 +870,17 @@ export declare class TooManyDistributionsAssociatedToKeyGroup extends __BaseExce
|
|
|
869
870
|
>
|
|
870
871
|
);
|
|
871
872
|
}
|
|
873
|
+
export declare class TooManyDistributionsAssociatedToOriginAccessControl extends __BaseException {
|
|
874
|
+
readonly name: "TooManyDistributionsAssociatedToOriginAccessControl";
|
|
875
|
+
readonly $fault: "client";
|
|
876
|
+
Message?: string;
|
|
877
|
+
constructor(
|
|
878
|
+
opts: __ExceptionOptionType<
|
|
879
|
+
TooManyDistributionsAssociatedToOriginAccessControl,
|
|
880
|
+
__BaseException
|
|
881
|
+
>
|
|
882
|
+
);
|
|
883
|
+
}
|
|
872
884
|
export declare class TooManyDistributionsAssociatedToOriginRequestPolicy extends __BaseException {
|
|
873
885
|
readonly name: "TooManyDistributionsAssociatedToOriginRequestPolicy";
|
|
874
886
|
readonly $fault: "client";
|
|
@@ -1237,17 +1249,6 @@ export declare class NoSuchContinuousDeploymentPolicy extends __BaseException {
|
|
|
1237
1249
|
>
|
|
1238
1250
|
);
|
|
1239
1251
|
}
|
|
1240
|
-
export declare class TooManyDistributionsAssociatedToOriginAccessControl extends __BaseException {
|
|
1241
|
-
readonly name: "TooManyDistributionsAssociatedToOriginAccessControl";
|
|
1242
|
-
readonly $fault: "client";
|
|
1243
|
-
Message?: string;
|
|
1244
|
-
constructor(
|
|
1245
|
-
opts: __ExceptionOptionType<
|
|
1246
|
-
TooManyDistributionsAssociatedToOriginAccessControl,
|
|
1247
|
-
__BaseException
|
|
1248
|
-
>
|
|
1249
|
-
);
|
|
1250
|
-
}
|
|
1251
1252
|
export interface Tag {
|
|
1252
1253
|
Key: string | undefined;
|
|
1253
1254
|
Value?: string;
|
|
@@ -1483,6 +1484,7 @@ export declare class TooManyFieldLevelEncryptionProfiles extends __BaseException
|
|
|
1483
1484
|
}
|
|
1484
1485
|
export declare const FunctionRuntime: {
|
|
1485
1486
|
readonly cloudfront_js_1_0: "cloudfront-js-1.0";
|
|
1487
|
+
readonly cloudfront_js_2_0: "cloudfront-js-2.0";
|
|
1486
1488
|
};
|
|
1487
1489
|
export type FunctionRuntime =
|
|
1488
1490
|
(typeof FunctionRuntime)[keyof typeof FunctionRuntime];
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-cloudfront",
|
|
3
3
|
"description": "AWS SDK for JavaScript Cloudfront Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.382.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -21,15 +21,15 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
24
|
+
"@aws-sdk/client-sts": "3.382.0",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.382.0",
|
|
26
26
|
"@aws-sdk/middleware-host-header": "3.379.1",
|
|
27
27
|
"@aws-sdk/middleware-logger": "3.378.0",
|
|
28
28
|
"@aws-sdk/middleware-recursion-detection": "3.378.0",
|
|
29
29
|
"@aws-sdk/middleware-signing": "3.379.1",
|
|
30
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
30
|
+
"@aws-sdk/middleware-user-agent": "3.382.0",
|
|
31
31
|
"@aws-sdk/types": "3.378.0",
|
|
32
|
-
"@aws-sdk/util-endpoints": "3.
|
|
32
|
+
"@aws-sdk/util-endpoints": "3.382.0",
|
|
33
33
|
"@aws-sdk/util-user-agent-browser": "3.378.0",
|
|
34
34
|
"@aws-sdk/util-user-agent-node": "3.378.0",
|
|
35
35
|
"@aws-sdk/xml-builder": "3.310.0",
|