@aws-sdk/client-cloudfront 3.936.0 → 3.939.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 +120 -0
- package/dist-cjs/index.js +1018 -69
- package/dist-es/CloudFront.js +30 -0
- package/dist-es/commands/CreateConnectionFunctionCommand.js +16 -0
- package/dist-es/commands/CreateTrustStoreCommand.js +16 -0
- package/dist-es/commands/DeleteConnectionFunctionCommand.js +16 -0
- package/dist-es/commands/DeleteTrustStoreCommand.js +16 -0
- package/dist-es/commands/DescribeConnectionFunctionCommand.js +16 -0
- package/dist-es/commands/GetConnectionFunctionCommand.js +16 -0
- package/dist-es/commands/GetTrustStoreCommand.js +16 -0
- package/dist-es/commands/ListConnectionFunctionsCommand.js +16 -0
- package/dist-es/commands/ListDistributionsByConnectionFunctionCommand.js +16 -0
- package/dist-es/commands/ListDistributionsByTrustStoreCommand.js +16 -0
- package/dist-es/commands/ListTrustStoresCommand.js +16 -0
- package/dist-es/commands/PublishConnectionFunctionCommand.js +16 -0
- package/dist-es/commands/TestConnectionFunctionCommand.js +16 -0
- package/dist-es/commands/UpdateConnectionFunctionCommand.js +16 -0
- package/dist-es/commands/UpdateTrustStoreCommand.js +16 -0
- package/dist-es/commands/index.js +18 -3
- package/dist-es/models/enums.js +31 -8
- package/dist-es/models/errors.js +14 -14
- package/dist-es/pagination/ListConnectionFunctionsPaginator.js +4 -0
- package/dist-es/pagination/ListDistributionsByConnectionFunctionPaginator.js +4 -0
- package/dist-es/pagination/ListDistributionsByTrustStorePaginator.js +4 -0
- package/dist-es/pagination/ListTrustStoresPaginator.js +4 -0
- package/dist-es/pagination/index.js +4 -0
- package/dist-es/schemas/schemas_0.js +735 -34
- package/dist-types/CloudFront.d.ts +107 -0
- package/dist-types/CloudFrontClient.d.ts +17 -2
- package/dist-types/commands/CopyDistributionCommand.d.ts +11 -0
- package/dist-types/commands/CreateAnycastIpListCommand.d.ts +19 -0
- package/dist-types/commands/CreateConnectionFunctionCommand.d.ts +138 -0
- package/dist-types/commands/CreateDistributionCommand.d.ts +22 -0
- package/dist-types/commands/CreateDistributionWithTagsCommand.d.ts +22 -0
- package/dist-types/commands/CreateTrustStoreCommand.d.ts +117 -0
- package/dist-types/commands/DeleteConnectionFunctionCommand.d.ts +94 -0
- package/dist-types/commands/DeleteTrustStoreCommand.d.ts +91 -0
- package/dist-types/commands/DescribeConnectionFunctionCommand.d.ts +108 -0
- package/dist-types/commands/GetAnycastIpListCommand.d.ts +11 -0
- package/dist-types/commands/GetConnectionFunctionCommand.d.ts +93 -0
- package/dist-types/commands/GetDistributionCommand.d.ts +11 -0
- package/dist-types/commands/GetDistributionConfigCommand.d.ts +11 -0
- package/dist-types/commands/GetManagedCertificateDetailsCommand.d.ts +2 -1
- package/dist-types/commands/GetMonitoringSubscriptionCommand.d.ts +1 -1
- package/dist-types/commands/GetOriginAccessControlCommand.d.ts +1 -1
- package/dist-types/commands/GetOriginAccessControlConfigCommand.d.ts +1 -1
- package/dist-types/commands/GetOriginRequestPolicyCommand.d.ts +1 -1
- package/dist-types/commands/GetOriginRequestPolicyConfigCommand.d.ts +1 -1
- package/dist-types/commands/GetPublicKeyCommand.d.ts +1 -1
- package/dist-types/commands/GetPublicKeyConfigCommand.d.ts +1 -1
- package/dist-types/commands/GetRealtimeLogConfigCommand.d.ts +1 -1
- package/dist-types/commands/GetTrustStoreCommand.d.ts +92 -0
- package/dist-types/commands/ListAnycastIpListsCommand.d.ts +11 -0
- package/dist-types/commands/ListConnectionFunctionsCommand.d.ts +108 -0
- package/dist-types/commands/ListDistributionsByAnycastIpListIdCommand.d.ts +11 -0
- package/dist-types/commands/ListDistributionsByConnectionFunctionCommand.d.ts +412 -0
- package/dist-types/commands/ListDistributionsByConnectionModeCommand.d.ts +11 -0
- package/dist-types/commands/ListDistributionsByRealtimeLogConfigCommand.d.ts +11 -0
- package/dist-types/commands/ListDistributionsByTrustStoreCommand.d.ts +412 -0
- package/dist-types/commands/ListDistributionsByWebACLIdCommand.d.ts +11 -0
- package/dist-types/commands/ListDistributionsCommand.d.ts +11 -0
- package/dist-types/commands/ListTrustStoresCommand.d.ts +96 -0
- package/dist-types/commands/PublishConnectionFunctionCommand.d.ts +113 -0
- package/dist-types/commands/TestConnectionFunctionCommand.d.ts +123 -0
- package/dist-types/commands/UpdateAnycastIpListCommand.d.ts +11 -0
- package/dist-types/commands/UpdateConnectionFunctionCommand.d.ts +130 -0
- package/dist-types/commands/UpdateDistributionCommand.d.ts +22 -0
- package/dist-types/commands/UpdateDistributionWithStagingConfigCommand.d.ts +11 -0
- package/dist-types/commands/UpdateTrustStoreCommand.d.ts +107 -0
- package/dist-types/commands/index.d.ts +18 -3
- package/dist-types/models/enums.d.ts +71 -24
- package/dist-types/models/errors.d.ts +13 -13
- package/dist-types/models/models_0.d.ts +498 -314
- package/dist-types/models/models_1.d.ts +627 -3
- package/dist-types/pagination/ListConnectionFunctionsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListDistributionsByConnectionFunctionPaginator.d.ts +7 -0
- package/dist-types/pagination/ListDistributionsByTrustStorePaginator.d.ts +7 -0
- package/dist-types/pagination/ListTrustStoresPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +4 -0
- package/dist-types/schemas/schemas_0.d.ts +57 -0
- package/dist-types/ts3.4/CloudFront.d.ts +263 -0
- package/dist-types/ts3.4/CloudFrontClient.d.ts +90 -0
- package/dist-types/ts3.4/commands/CreateConnectionFunctionCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/CreateTrustStoreCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/DeleteConnectionFunctionCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/DeleteTrustStoreCommand.d.ts +45 -0
- package/dist-types/ts3.4/commands/DescribeConnectionFunctionCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetConnectionFunctionCommand.d.ts +58 -0
- package/dist-types/ts3.4/commands/GetManagedCertificateDetailsCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/GetMonitoringSubscriptionCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetOriginAccessControlCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetOriginAccessControlConfigCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetOriginRequestPolicyCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetOriginRequestPolicyConfigCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetPublicKeyCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetPublicKeyConfigCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetRealtimeLogConfigCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetTrustStoreCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/ListConnectionFunctionsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListDistributionsByConnectionFunctionCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListDistributionsByTrustStoreCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListTrustStoresCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/PublishConnectionFunctionCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/TestConnectionFunctionCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/UpdateConnectionFunctionCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/UpdateTrustStoreCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/index.d.ts +18 -3
- package/dist-types/ts3.4/models/enums.d.ts +40 -11
- package/dist-types/ts3.4/models/errors.d.ts +8 -8
- package/dist-types/ts3.4/models/models_0.d.ts +131 -82
- package/dist-types/ts3.4/models/models_1.d.ts +172 -0
- package/dist-types/ts3.4/pagination/ListConnectionFunctionsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListDistributionsByConnectionFunctionPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListDistributionsByTrustStorePaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListTrustStoresPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +4 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +57 -0
- package/package.json +2 -2
package/dist-es/models/errors.js
CHANGED
|
@@ -1147,6 +1147,20 @@ export class TooManyCloudFrontOriginAccessIdentities extends __BaseException {
|
|
|
1147
1147
|
this.Message = opts.Message;
|
|
1148
1148
|
}
|
|
1149
1149
|
}
|
|
1150
|
+
export class EntitySizeLimitExceeded extends __BaseException {
|
|
1151
|
+
name = "EntitySizeLimitExceeded";
|
|
1152
|
+
$fault = "client";
|
|
1153
|
+
Message;
|
|
1154
|
+
constructor(opts) {
|
|
1155
|
+
super({
|
|
1156
|
+
name: "EntitySizeLimitExceeded",
|
|
1157
|
+
$fault: "client",
|
|
1158
|
+
...opts,
|
|
1159
|
+
});
|
|
1160
|
+
Object.setPrototypeOf(this, EntitySizeLimitExceeded.prototype);
|
|
1161
|
+
this.Message = opts.Message;
|
|
1162
|
+
}
|
|
1163
|
+
}
|
|
1150
1164
|
export class ContinuousDeploymentPolicyAlreadyExists extends __BaseException {
|
|
1151
1165
|
name = "ContinuousDeploymentPolicyAlreadyExists";
|
|
1152
1166
|
$fault = "client";
|
|
@@ -1525,20 +1539,6 @@ export class TooManyPublicKeysInKeyGroup extends __BaseException {
|
|
|
1525
1539
|
this.Message = opts.Message;
|
|
1526
1540
|
}
|
|
1527
1541
|
}
|
|
1528
|
-
export class EntitySizeLimitExceeded extends __BaseException {
|
|
1529
|
-
name = "EntitySizeLimitExceeded";
|
|
1530
|
-
$fault = "client";
|
|
1531
|
-
Message;
|
|
1532
|
-
constructor(opts) {
|
|
1533
|
-
super({
|
|
1534
|
-
name: "EntitySizeLimitExceeded",
|
|
1535
|
-
$fault: "client",
|
|
1536
|
-
...opts,
|
|
1537
|
-
});
|
|
1538
|
-
Object.setPrototypeOf(this, EntitySizeLimitExceeded.prototype);
|
|
1539
|
-
this.Message = opts.Message;
|
|
1540
|
-
}
|
|
1541
|
-
}
|
|
1542
1542
|
export class MonitoringSubscriptionAlreadyExists extends __BaseException {
|
|
1543
1543
|
name = "MonitoringSubscriptionAlreadyExists";
|
|
1544
1544
|
$fault = "client";
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
2
|
+
import { CloudFrontClient } from "../CloudFrontClient";
|
|
3
|
+
import { ListConnectionFunctionsCommand, } from "../commands/ListConnectionFunctionsCommand";
|
|
4
|
+
export const paginateListConnectionFunctions = createPaginator(CloudFrontClient, ListConnectionFunctionsCommand, "Marker", "NextMarker", "MaxItems");
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
2
|
+
import { CloudFrontClient } from "../CloudFrontClient";
|
|
3
|
+
import { ListDistributionsByConnectionFunctionCommand, } from "../commands/ListDistributionsByConnectionFunctionCommand";
|
|
4
|
+
export const paginateListDistributionsByConnectionFunction = createPaginator(CloudFrontClient, ListDistributionsByConnectionFunctionCommand, "Marker", "DistributionList.NextMarker", "MaxItems");
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
2
|
+
import { CloudFrontClient } from "../CloudFrontClient";
|
|
3
|
+
import { ListDistributionsByTrustStoreCommand, } from "../commands/ListDistributionsByTrustStoreCommand";
|
|
4
|
+
export const paginateListDistributionsByTrustStore = createPaginator(CloudFrontClient, ListDistributionsByTrustStoreCommand, "Marker", "DistributionList.NextMarker", "MaxItems");
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
2
|
+
import { CloudFrontClient } from "../CloudFrontClient";
|
|
3
|
+
import { ListTrustStoresCommand, } from "../commands/ListTrustStoresCommand";
|
|
4
|
+
export const paginateListTrustStores = createPaginator(CloudFrontClient, ListTrustStoresCommand, "Marker", "NextMarker", "MaxItems");
|
|
@@ -1,9 +1,12 @@
|
|
|
1
1
|
export * from "./Interfaces";
|
|
2
2
|
export * from "./ListCloudFrontOriginAccessIdentitiesPaginator";
|
|
3
|
+
export * from "./ListConnectionFunctionsPaginator";
|
|
3
4
|
export * from "./ListConnectionGroupsPaginator";
|
|
4
5
|
export * from "./ListDistributionTenantsByCustomizationPaginator";
|
|
5
6
|
export * from "./ListDistributionTenantsPaginator";
|
|
7
|
+
export * from "./ListDistributionsByConnectionFunctionPaginator";
|
|
6
8
|
export * from "./ListDistributionsByConnectionModePaginator";
|
|
9
|
+
export * from "./ListDistributionsByTrustStorePaginator";
|
|
7
10
|
export * from "./ListDistributionsPaginator";
|
|
8
11
|
export * from "./ListDomainConflictsPaginator";
|
|
9
12
|
export * from "./ListInvalidationsForDistributionTenantPaginator";
|
|
@@ -12,3 +15,4 @@ export * from "./ListKeyValueStoresPaginator";
|
|
|
12
15
|
export * from "./ListOriginAccessControlsPaginator";
|
|
13
16
|
export * from "./ListPublicKeysPaginator";
|
|
14
17
|
export * from "./ListStreamingDistributionsPaginator";
|
|
18
|
+
export * from "./ListTrustStoresPaginator";
|