@aws-sdk/client-cloudfront 3.965.0 → 3.966.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/index.js +14 -14
- package/dist-es/models/errors.js +14 -14
- package/dist-types/commands/AssociateDistributionTenantWebACLCommand.d.ts +3 -0
- package/dist-types/commands/AssociateDistributionWebACLCommand.d.ts +3 -0
- package/dist-types/commands/UpdateDistributionWithStagingConfigCommand.d.ts +3 -0
- package/dist-types/models/errors.d.ts +13 -13
- package/dist-types/ts3.4/models/errors.d.ts +8 -8
- package/package.json +11 -11
package/dist-cjs/index.js
CHANGED
|
@@ -188,6 +188,20 @@ class TooManyDistributionCNAMEs extends CloudFrontServiceException {
|
|
|
188
188
|
this.Message = opts.Message;
|
|
189
189
|
}
|
|
190
190
|
}
|
|
191
|
+
class EntityLimitExceeded extends CloudFrontServiceException {
|
|
192
|
+
name = "EntityLimitExceeded";
|
|
193
|
+
$fault = "client";
|
|
194
|
+
Message;
|
|
195
|
+
constructor(opts) {
|
|
196
|
+
super({
|
|
197
|
+
name: "EntityLimitExceeded",
|
|
198
|
+
$fault: "client",
|
|
199
|
+
...opts,
|
|
200
|
+
});
|
|
201
|
+
Object.setPrototypeOf(this, EntityLimitExceeded.prototype);
|
|
202
|
+
this.Message = opts.Message;
|
|
203
|
+
}
|
|
204
|
+
}
|
|
191
205
|
class EntityNotFound extends CloudFrontServiceException {
|
|
192
206
|
name = "EntityNotFound";
|
|
193
207
|
$fault = "client";
|
|
@@ -1140,20 +1154,6 @@ class EntityAlreadyExists extends CloudFrontServiceException {
|
|
|
1140
1154
|
this.Message = opts.Message;
|
|
1141
1155
|
}
|
|
1142
1156
|
}
|
|
1143
|
-
class EntityLimitExceeded extends CloudFrontServiceException {
|
|
1144
|
-
name = "EntityLimitExceeded";
|
|
1145
|
-
$fault = "client";
|
|
1146
|
-
Message;
|
|
1147
|
-
constructor(opts) {
|
|
1148
|
-
super({
|
|
1149
|
-
name: "EntityLimitExceeded",
|
|
1150
|
-
$fault: "client",
|
|
1151
|
-
...opts,
|
|
1152
|
-
});
|
|
1153
|
-
Object.setPrototypeOf(this, EntityLimitExceeded.prototype);
|
|
1154
|
-
this.Message = opts.Message;
|
|
1155
|
-
}
|
|
1156
|
-
}
|
|
1157
1157
|
class InvalidTagging extends CloudFrontServiceException {
|
|
1158
1158
|
name = "InvalidTagging";
|
|
1159
1159
|
$fault = "client";
|
package/dist-es/models/errors.js
CHANGED
|
@@ -69,6 +69,20 @@ export class TooManyDistributionCNAMEs extends __BaseException {
|
|
|
69
69
|
this.Message = opts.Message;
|
|
70
70
|
}
|
|
71
71
|
}
|
|
72
|
+
export class EntityLimitExceeded extends __BaseException {
|
|
73
|
+
name = "EntityLimitExceeded";
|
|
74
|
+
$fault = "client";
|
|
75
|
+
Message;
|
|
76
|
+
constructor(opts) {
|
|
77
|
+
super({
|
|
78
|
+
name: "EntityLimitExceeded",
|
|
79
|
+
$fault: "client",
|
|
80
|
+
...opts,
|
|
81
|
+
});
|
|
82
|
+
Object.setPrototypeOf(this, EntityLimitExceeded.prototype);
|
|
83
|
+
this.Message = opts.Message;
|
|
84
|
+
}
|
|
85
|
+
}
|
|
72
86
|
export class EntityNotFound extends __BaseException {
|
|
73
87
|
name = "EntityNotFound";
|
|
74
88
|
$fault = "client";
|
|
@@ -1021,20 +1035,6 @@ export class EntityAlreadyExists extends __BaseException {
|
|
|
1021
1035
|
this.Message = opts.Message;
|
|
1022
1036
|
}
|
|
1023
1037
|
}
|
|
1024
|
-
export class EntityLimitExceeded extends __BaseException {
|
|
1025
|
-
name = "EntityLimitExceeded";
|
|
1026
|
-
$fault = "client";
|
|
1027
|
-
Message;
|
|
1028
|
-
constructor(opts) {
|
|
1029
|
-
super({
|
|
1030
|
-
name: "EntityLimitExceeded",
|
|
1031
|
-
$fault: "client",
|
|
1032
|
-
...opts,
|
|
1033
|
-
});
|
|
1034
|
-
Object.setPrototypeOf(this, EntityLimitExceeded.prototype);
|
|
1035
|
-
this.Message = opts.Message;
|
|
1036
|
-
}
|
|
1037
|
-
}
|
|
1038
1038
|
export class InvalidTagging extends __BaseException {
|
|
1039
1039
|
name = "InvalidTagging";
|
|
1040
1040
|
$fault = "client";
|
|
@@ -60,6 +60,9 @@ declare const AssociateDistributionTenantWebACLCommand_base: {
|
|
|
60
60
|
* @throws {@link AccessDenied} (client fault)
|
|
61
61
|
* <p>Access denied.</p>
|
|
62
62
|
*
|
|
63
|
+
* @throws {@link EntityLimitExceeded} (client fault)
|
|
64
|
+
* <p>The entity limit has been exceeded.</p>
|
|
65
|
+
*
|
|
63
66
|
* @throws {@link EntityNotFound} (client fault)
|
|
64
67
|
* <p>The entity was not found.</p>
|
|
65
68
|
*
|
|
@@ -60,6 +60,9 @@ declare const AssociateDistributionWebACLCommand_base: {
|
|
|
60
60
|
* @throws {@link AccessDenied} (client fault)
|
|
61
61
|
* <p>Access denied.</p>
|
|
62
62
|
*
|
|
63
|
+
* @throws {@link EntityLimitExceeded} (client fault)
|
|
64
|
+
* <p>The entity limit has been exceeded.</p>
|
|
65
|
+
*
|
|
63
66
|
* @throws {@link EntityNotFound} (client fault)
|
|
64
67
|
* <p>The entity was not found.</p>
|
|
65
68
|
*
|
|
@@ -435,6 +435,9 @@ declare const UpdateDistributionWithStagingConfigCommand_base: {
|
|
|
435
435
|
* @throws {@link CNAMEAlreadyExists} (client fault)
|
|
436
436
|
* <p>The CNAME specified is already defined for CloudFront.</p>
|
|
437
437
|
*
|
|
438
|
+
* @throws {@link EntityLimitExceeded} (client fault)
|
|
439
|
+
* <p>The entity limit has been exceeded.</p>
|
|
440
|
+
*
|
|
438
441
|
* @throws {@link EntityNotFound} (client fault)
|
|
439
442
|
* <p>The entity was not found.</p>
|
|
440
443
|
*
|
|
@@ -65,6 +65,19 @@ export declare class TooManyDistributionCNAMEs extends __BaseException {
|
|
|
65
65
|
*/
|
|
66
66
|
constructor(opts: __ExceptionOptionType<TooManyDistributionCNAMEs, __BaseException>);
|
|
67
67
|
}
|
|
68
|
+
/**
|
|
69
|
+
* <p>The entity limit has been exceeded.</p>
|
|
70
|
+
* @public
|
|
71
|
+
*/
|
|
72
|
+
export declare class EntityLimitExceeded extends __BaseException {
|
|
73
|
+
readonly name: "EntityLimitExceeded";
|
|
74
|
+
readonly $fault: "client";
|
|
75
|
+
Message?: string | undefined;
|
|
76
|
+
/**
|
|
77
|
+
* @internal
|
|
78
|
+
*/
|
|
79
|
+
constructor(opts: __ExceptionOptionType<EntityLimitExceeded, __BaseException>);
|
|
80
|
+
}
|
|
68
81
|
/**
|
|
69
82
|
* <p>The entity was not found.</p>
|
|
70
83
|
* @public
|
|
@@ -949,19 +962,6 @@ export declare class EntityAlreadyExists extends __BaseException {
|
|
|
949
962
|
*/
|
|
950
963
|
constructor(opts: __ExceptionOptionType<EntityAlreadyExists, __BaseException>);
|
|
951
964
|
}
|
|
952
|
-
/**
|
|
953
|
-
* <p>The entity limit has been exceeded.</p>
|
|
954
|
-
* @public
|
|
955
|
-
*/
|
|
956
|
-
export declare class EntityLimitExceeded extends __BaseException {
|
|
957
|
-
readonly name: "EntityLimitExceeded";
|
|
958
|
-
readonly $fault: "client";
|
|
959
|
-
Message?: string | undefined;
|
|
960
|
-
/**
|
|
961
|
-
* @internal
|
|
962
|
-
*/
|
|
963
|
-
constructor(opts: __ExceptionOptionType<EntityLimitExceeded, __BaseException>);
|
|
964
|
-
}
|
|
965
965
|
/**
|
|
966
966
|
* <p>The tagging specified is not valid.</p>
|
|
967
967
|
* @public
|
|
@@ -32,6 +32,14 @@ export declare class TooManyDistributionCNAMEs extends __BaseException {
|
|
|
32
32
|
opts: __ExceptionOptionType<TooManyDistributionCNAMEs, __BaseException>
|
|
33
33
|
);
|
|
34
34
|
}
|
|
35
|
+
export declare class EntityLimitExceeded extends __BaseException {
|
|
36
|
+
readonly name: "EntityLimitExceeded";
|
|
37
|
+
readonly $fault: "client";
|
|
38
|
+
Message?: string | undefined;
|
|
39
|
+
constructor(
|
|
40
|
+
opts: __ExceptionOptionType<EntityLimitExceeded, __BaseException>
|
|
41
|
+
);
|
|
42
|
+
}
|
|
35
43
|
export declare class EntityNotFound extends __BaseException {
|
|
36
44
|
readonly name: "EntityNotFound";
|
|
37
45
|
readonly $fault: "client";
|
|
@@ -601,14 +609,6 @@ export declare class EntityAlreadyExists extends __BaseException {
|
|
|
601
609
|
opts: __ExceptionOptionType<EntityAlreadyExists, __BaseException>
|
|
602
610
|
);
|
|
603
611
|
}
|
|
604
|
-
export declare class EntityLimitExceeded extends __BaseException {
|
|
605
|
-
readonly name: "EntityLimitExceeded";
|
|
606
|
-
readonly $fault: "client";
|
|
607
|
-
Message?: string | undefined;
|
|
608
|
-
constructor(
|
|
609
|
-
opts: __ExceptionOptionType<EntityLimitExceeded, __BaseException>
|
|
610
|
-
);
|
|
611
|
-
}
|
|
612
612
|
export declare class InvalidTagging extends __BaseException {
|
|
613
613
|
readonly name: "InvalidTagging";
|
|
614
614
|
readonly $fault: "client";
|
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.966.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-cloudfront",
|
|
@@ -23,38 +23,38 @@
|
|
|
23
23
|
"dependencies": {
|
|
24
24
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
25
25
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
26
|
-
"@aws-sdk/core": "3.
|
|
27
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
+
"@aws-sdk/core": "3.966.0",
|
|
27
|
+
"@aws-sdk/credential-provider-node": "3.966.0",
|
|
28
28
|
"@aws-sdk/middleware-host-header": "3.965.0",
|
|
29
29
|
"@aws-sdk/middleware-logger": "3.965.0",
|
|
30
30
|
"@aws-sdk/middleware-recursion-detection": "3.965.0",
|
|
31
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
31
|
+
"@aws-sdk/middleware-user-agent": "3.966.0",
|
|
32
32
|
"@aws-sdk/region-config-resolver": "3.965.0",
|
|
33
33
|
"@aws-sdk/types": "3.965.0",
|
|
34
34
|
"@aws-sdk/util-endpoints": "3.965.0",
|
|
35
35
|
"@aws-sdk/util-user-agent-browser": "3.965.0",
|
|
36
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
36
|
+
"@aws-sdk/util-user-agent-node": "3.966.0",
|
|
37
37
|
"@smithy/config-resolver": "^4.4.5",
|
|
38
|
-
"@smithy/core": "^3.20.
|
|
38
|
+
"@smithy/core": "^3.20.1",
|
|
39
39
|
"@smithy/fetch-http-handler": "^5.3.8",
|
|
40
40
|
"@smithy/hash-node": "^4.2.7",
|
|
41
41
|
"@smithy/invalid-dependency": "^4.2.7",
|
|
42
42
|
"@smithy/middleware-content-length": "^4.2.7",
|
|
43
|
-
"@smithy/middleware-endpoint": "^4.4.
|
|
44
|
-
"@smithy/middleware-retry": "^4.4.
|
|
43
|
+
"@smithy/middleware-endpoint": "^4.4.2",
|
|
44
|
+
"@smithy/middleware-retry": "^4.4.18",
|
|
45
45
|
"@smithy/middleware-serde": "^4.2.8",
|
|
46
46
|
"@smithy/middleware-stack": "^4.2.7",
|
|
47
47
|
"@smithy/node-config-provider": "^4.3.7",
|
|
48
48
|
"@smithy/node-http-handler": "^4.4.7",
|
|
49
49
|
"@smithy/protocol-http": "^5.3.7",
|
|
50
|
-
"@smithy/smithy-client": "^4.10.
|
|
50
|
+
"@smithy/smithy-client": "^4.10.3",
|
|
51
51
|
"@smithy/types": "^4.11.0",
|
|
52
52
|
"@smithy/url-parser": "^4.2.7",
|
|
53
53
|
"@smithy/util-base64": "^4.3.0",
|
|
54
54
|
"@smithy/util-body-length-browser": "^4.2.0",
|
|
55
55
|
"@smithy/util-body-length-node": "^4.2.1",
|
|
56
|
-
"@smithy/util-defaults-mode-browser": "^4.3.
|
|
57
|
-
"@smithy/util-defaults-mode-node": "^4.2.
|
|
56
|
+
"@smithy/util-defaults-mode-browser": "^4.3.17",
|
|
57
|
+
"@smithy/util-defaults-mode-node": "^4.2.20",
|
|
58
58
|
"@smithy/util-endpoints": "^3.2.7",
|
|
59
59
|
"@smithy/util-middleware": "^4.2.7",
|
|
60
60
|
"@smithy/util-retry": "^4.2.7",
|