@aws-sdk/client-cloudfront 3.879.0 → 3.881.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 +33 -21
- package/dist-es/models/models_0.js +5 -14
- package/dist-es/models/models_1.js +14 -0
- package/dist-es/protocols/Aws_restXml.js +7 -2
- package/dist-types/commands/CopyDistributionCommand.d.ts +1 -0
- package/dist-types/commands/CreateDistributionCommand.d.ts +2 -0
- package/dist-types/commands/CreateDistributionWithTagsCommand.d.ts +2 -0
- package/dist-types/commands/GetDistributionCommand.d.ts +1 -0
- package/dist-types/commands/GetDistributionConfigCommand.d.ts +1 -0
- package/dist-types/commands/ListDistributionsByAnycastIpListIdCommand.d.ts +1 -0
- package/dist-types/commands/ListDistributionsByConnectionModeCommand.d.ts +1 -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/UpdateDistributionCommand.d.ts +2 -0
- package/dist-types/commands/UpdateDistributionWithStagingConfigCommand.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +18 -13
- package/dist-types/models/models_1.d.ts +13 -61
- package/dist-types/models/models_2.d.ts +63 -2
- package/dist-types/ts3.4/models/models_0.d.ts +7 -11
- package/dist-types/ts3.4/models/models_1.d.ts +11 -13
- package/dist-types/ts3.4/models/models_2.d.ts +17 -1
- package/package.json +1 -1
package/dist-cjs/index.js
CHANGED
|
@@ -206,6 +206,7 @@ __export(index_exports, {
|
|
|
206
206
|
InvalidTagging: () => InvalidTagging,
|
|
207
207
|
InvalidViewerCertificate: () => InvalidViewerCertificate,
|
|
208
208
|
InvalidWebACLId: () => InvalidWebACLId,
|
|
209
|
+
IpAddressType: () => IpAddressType,
|
|
209
210
|
ItemSelection: () => ItemSelection,
|
|
210
211
|
KeyGroupAlreadyExists: () => KeyGroupAlreadyExists,
|
|
211
212
|
ListAnycastIpListsCommand: () => ListAnycastIpListsCommand,
|
|
@@ -980,6 +981,11 @@ var OriginGroupSelectionCriteria = {
|
|
|
980
981
|
Default: "default",
|
|
981
982
|
MediaQualityBased: "media-quality-based"
|
|
982
983
|
};
|
|
984
|
+
var IpAddressType = {
|
|
985
|
+
DualStack: "dualstack",
|
|
986
|
+
Ipv4: "ipv4",
|
|
987
|
+
Ipv6: "ipv6"
|
|
988
|
+
};
|
|
983
989
|
var OriginProtocolPolicy = {
|
|
984
990
|
http_only: "http-only",
|
|
985
991
|
https_only: "https-only",
|
|
@@ -2985,26 +2991,6 @@ var OriginAccessControlSigningBehaviors = {
|
|
|
2985
2991
|
var OriginAccessControlSigningProtocols = {
|
|
2986
2992
|
sigv4: "sigv4"
|
|
2987
2993
|
};
|
|
2988
|
-
var OriginAccessControlAlreadyExists = class _OriginAccessControlAlreadyExists extends CloudFrontServiceException {
|
|
2989
|
-
static {
|
|
2990
|
-
__name(this, "OriginAccessControlAlreadyExists");
|
|
2991
|
-
}
|
|
2992
|
-
name = "OriginAccessControlAlreadyExists";
|
|
2993
|
-
$fault = "client";
|
|
2994
|
-
Message;
|
|
2995
|
-
/**
|
|
2996
|
-
* @internal
|
|
2997
|
-
*/
|
|
2998
|
-
constructor(opts) {
|
|
2999
|
-
super({
|
|
3000
|
-
name: "OriginAccessControlAlreadyExists",
|
|
3001
|
-
$fault: "client",
|
|
3002
|
-
...opts
|
|
3003
|
-
});
|
|
3004
|
-
Object.setPrototypeOf(this, _OriginAccessControlAlreadyExists.prototype);
|
|
3005
|
-
this.Message = opts.Message;
|
|
3006
|
-
}
|
|
3007
|
-
};
|
|
3008
2994
|
var OriginCustomHeaderFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
3009
2995
|
...obj,
|
|
3010
2996
|
...obj.HeaderValue && { HeaderValue: import_smithy_client.SENSITIVE_STRING }
|
|
@@ -3080,6 +3066,26 @@ var CreateFunctionRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
|
3080
3066
|
|
|
3081
3067
|
// src/models/models_1.ts
|
|
3082
3068
|
|
|
3069
|
+
var OriginAccessControlAlreadyExists = class _OriginAccessControlAlreadyExists extends CloudFrontServiceException {
|
|
3070
|
+
static {
|
|
3071
|
+
__name(this, "OriginAccessControlAlreadyExists");
|
|
3072
|
+
}
|
|
3073
|
+
name = "OriginAccessControlAlreadyExists";
|
|
3074
|
+
$fault = "client";
|
|
3075
|
+
Message;
|
|
3076
|
+
/**
|
|
3077
|
+
* @internal
|
|
3078
|
+
*/
|
|
3079
|
+
constructor(opts) {
|
|
3080
|
+
super({
|
|
3081
|
+
name: "OriginAccessControlAlreadyExists",
|
|
3082
|
+
$fault: "client",
|
|
3083
|
+
...opts
|
|
3084
|
+
});
|
|
3085
|
+
Object.setPrototypeOf(this, _OriginAccessControlAlreadyExists.prototype);
|
|
3086
|
+
this.Message = opts.Message;
|
|
3087
|
+
}
|
|
3088
|
+
};
|
|
3083
3089
|
var TooManyOriginAccessControls = class _TooManyOriginAccessControls extends CloudFrontServiceException {
|
|
3084
3090
|
static {
|
|
3085
3091
|
__name(this, "TooManyOriginAccessControls");
|
|
@@ -10589,6 +10595,7 @@ var se_CustomOriginConfig = /* @__PURE__ */ __name((input, context) => {
|
|
|
10589
10595
|
if (input[_OKT] != null) {
|
|
10590
10596
|
bn.c(import_xml_builder.XmlNode.of(_i, String(input[_OKT])).n(_OKT));
|
|
10591
10597
|
}
|
|
10598
|
+
bn.cc(input, _IAT);
|
|
10592
10599
|
return bn;
|
|
10593
10600
|
}, "se_CustomOriginConfig");
|
|
10594
10601
|
var se_DefaultCacheBehavior = /* @__PURE__ */ __name((input, context) => {
|
|
@@ -12732,6 +12739,9 @@ var de_CustomOriginConfig = /* @__PURE__ */ __name((output, context) => {
|
|
|
12732
12739
|
if (output[_OKT] != null) {
|
|
12733
12740
|
contents[_OKT] = (0, import_smithy_client.strictParseInt32)(output[_OKT]);
|
|
12734
12741
|
}
|
|
12742
|
+
if (output[_IAT] != null) {
|
|
12743
|
+
contents[_IAT] = (0, import_smithy_client.expectString)(output[_IAT]);
|
|
12744
|
+
}
|
|
12735
12745
|
return contents;
|
|
12736
12746
|
}, "de_CustomOriginConfig");
|
|
12737
12747
|
var de_DefaultCacheBehavior = /* @__PURE__ */ __name((output, context) => {
|
|
@@ -15482,6 +15492,7 @@ var _HVe = "HeaderValue";
|
|
|
15482
15492
|
var _He = "Headers";
|
|
15483
15493
|
var _I = "Identifier";
|
|
15484
15494
|
var _IAMCI = "IAMCertificateId";
|
|
15495
|
+
var _IAT = "IpAddressType";
|
|
15485
15496
|
var _IB = "InvalidationBatch";
|
|
15486
15497
|
var _IBn = "IncludeBody";
|
|
15487
15498
|
var _IC = "IpCount";
|
|
@@ -18494,6 +18505,7 @@ var waitUntilStreamingDistributionDeployed = /* @__PURE__ */ __name(async (param
|
|
|
18494
18505
|
ConnectionMode,
|
|
18495
18506
|
HttpVersion,
|
|
18496
18507
|
OriginGroupSelectionCriteria,
|
|
18508
|
+
IpAddressType,
|
|
18497
18509
|
OriginProtocolPolicy,
|
|
18498
18510
|
SslProtocol,
|
|
18499
18511
|
PriceClass,
|
|
@@ -18608,7 +18620,6 @@ var waitUntilStreamingDistributionDeployed = /* @__PURE__ */ __name(async (param
|
|
|
18608
18620
|
OriginAccessControlOriginTypes,
|
|
18609
18621
|
OriginAccessControlSigningBehaviors,
|
|
18610
18622
|
OriginAccessControlSigningProtocols,
|
|
18611
|
-
OriginAccessControlAlreadyExists,
|
|
18612
18623
|
OriginCustomHeaderFilterSensitiveLog,
|
|
18613
18624
|
CustomHeadersFilterSensitiveLog,
|
|
18614
18625
|
OriginFilterSensitiveLog,
|
|
@@ -18626,6 +18637,7 @@ var waitUntilStreamingDistributionDeployed = /* @__PURE__ */ __name(async (param
|
|
|
18626
18637
|
CreateDistributionWithTagsRequestFilterSensitiveLog,
|
|
18627
18638
|
CreateDistributionWithTagsResultFilterSensitiveLog,
|
|
18628
18639
|
CreateFunctionRequestFilterSensitiveLog,
|
|
18640
|
+
OriginAccessControlAlreadyExists,
|
|
18629
18641
|
TooManyOriginAccessControls,
|
|
18630
18642
|
OriginRequestPolicyCookieBehavior,
|
|
18631
18643
|
OriginRequestPolicyHeaderBehavior,
|
|
@@ -293,6 +293,11 @@ export const OriginGroupSelectionCriteria = {
|
|
|
293
293
|
Default: "default",
|
|
294
294
|
MediaQualityBased: "media-quality-based",
|
|
295
295
|
};
|
|
296
|
+
export const IpAddressType = {
|
|
297
|
+
DualStack: "dualstack",
|
|
298
|
+
Ipv4: "ipv4",
|
|
299
|
+
Ipv6: "ipv6",
|
|
300
|
+
};
|
|
296
301
|
export const OriginProtocolPolicy = {
|
|
297
302
|
http_only: "http-only",
|
|
298
303
|
https_only: "https-only",
|
|
@@ -1722,20 +1727,6 @@ export const OriginAccessControlSigningBehaviors = {
|
|
|
1722
1727
|
export const OriginAccessControlSigningProtocols = {
|
|
1723
1728
|
sigv4: "sigv4",
|
|
1724
1729
|
};
|
|
1725
|
-
export class OriginAccessControlAlreadyExists extends __BaseException {
|
|
1726
|
-
name = "OriginAccessControlAlreadyExists";
|
|
1727
|
-
$fault = "client";
|
|
1728
|
-
Message;
|
|
1729
|
-
constructor(opts) {
|
|
1730
|
-
super({
|
|
1731
|
-
name: "OriginAccessControlAlreadyExists",
|
|
1732
|
-
$fault: "client",
|
|
1733
|
-
...opts,
|
|
1734
|
-
});
|
|
1735
|
-
Object.setPrototypeOf(this, OriginAccessControlAlreadyExists.prototype);
|
|
1736
|
-
this.Message = opts.Message;
|
|
1737
|
-
}
|
|
1738
|
-
}
|
|
1739
1730
|
export const OriginCustomHeaderFilterSensitiveLog = (obj) => ({
|
|
1740
1731
|
...obj,
|
|
1741
1732
|
...(obj.HeaderValue && { HeaderValue: SENSITIVE_STRING }),
|
|
@@ -1,6 +1,20 @@
|
|
|
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 class OriginAccessControlAlreadyExists extends __BaseException {
|
|
5
|
+
name = "OriginAccessControlAlreadyExists";
|
|
6
|
+
$fault = "client";
|
|
7
|
+
Message;
|
|
8
|
+
constructor(opts) {
|
|
9
|
+
super({
|
|
10
|
+
name: "OriginAccessControlAlreadyExists",
|
|
11
|
+
$fault: "client",
|
|
12
|
+
...opts,
|
|
13
|
+
});
|
|
14
|
+
Object.setPrototypeOf(this, OriginAccessControlAlreadyExists.prototype);
|
|
15
|
+
this.Message = opts.Message;
|
|
16
|
+
}
|
|
17
|
+
}
|
|
4
18
|
export class TooManyOriginAccessControls extends __BaseException {
|
|
5
19
|
name = "TooManyOriginAccessControls";
|
|
6
20
|
$fault = "client";
|
|
@@ -3,8 +3,8 @@ import { XmlNode as __XmlNode } from "@aws-sdk/xml-builder";
|
|
|
3
3
|
import { requestBuilder as rb } from "@smithy/core";
|
|
4
4
|
import { collectBody, decorateServiceException as __decorateServiceException, expectNonNull as __expectNonNull, expectObject as __expectObject, expectString as __expectString, getArrayIfSingleItem as __getArrayIfSingleItem, isSerializableHeaderValue, map, parseBoolean as __parseBoolean, parseRfc3339DateTimeWithOffset as __parseRfc3339DateTimeWithOffset, strictParseFloat as __strictParseFloat, strictParseInt32 as __strictParseInt32, strictParseLong as __strictParseLong, withBaseException, } from "@smithy/smithy-client";
|
|
5
5
|
import { CloudFrontServiceException as __BaseException } from "../models/CloudFrontServiceException";
|
|
6
|
-
import { AccessDenied, BatchTooLarge, CachePolicyAlreadyExists, CachePolicyInUse, CannotChangeImmutablePublicKeyFields, CannotDeleteEntityWhileInUse, CannotUpdateEntityWhileInUse, CloudFrontOriginAccessIdentityAlreadyExists, CNAMEAlreadyExists, ContinuousDeploymentPolicyAlreadyExists, ContinuousDeploymentPolicyInUse, DistributionAlreadyExists, EntityAlreadyExists, EntityLimitExceeded, EntityNotFound, EntitySizeLimitExceeded, FieldLevelEncryptionConfigAlreadyExists, FieldLevelEncryptionProfileAlreadyExists, FieldLevelEncryptionProfileSizeExceeded, FunctionAlreadyExists, FunctionSizeLimitExceeded, IllegalFieldLevelEncryptionConfigAssociationWithCacheBehavior, IllegalOriginAccessConfiguration, IllegalUpdate, InconsistentQuantities, InvalidArgument, InvalidAssociation, InvalidDefaultRootObject, InvalidDomainNameForOriginAccessControl, InvalidErrorCode, InvalidForwardCookies, InvalidFunctionAssociation, InvalidGeoRestrictionParameter, InvalidHeadersForS3Origin, InvalidIfMatchVersion, InvalidLambdaFunctionAssociation, InvalidLocationCode, InvalidMinimumProtocolVersion, InvalidOrigin, InvalidOriginAccessControl, InvalidOriginAccessIdentity, InvalidOriginKeepaliveTimeout, InvalidOriginReadTimeout, InvalidProtocolSettings, InvalidQueryStringParameters, InvalidRelativePath, InvalidRequiredProtocol, InvalidResponseCode, InvalidTagging, InvalidTTLOrder, InvalidViewerCertificate, InvalidWebACLId, KeyGroupAlreadyExists, MissingBody, MonitoringSubscriptionAlreadyExists, NoSuchCachePolicy, NoSuchContinuousDeploymentPolicy, NoSuchDistribution, NoSuchFieldLevelEncryptionConfig, NoSuchFieldLevelEncryptionProfile, NoSuchOrigin, NoSuchOriginRequestPolicy, NoSuchPublicKey, NoSuchRealtimeLogConfig, NoSuchResponseHeadersPolicy,
|
|
7
|
-
import { CloudFrontOriginAccessIdentityInUse, DistributionNotDisabled, FieldLevelEncryptionConfigInUse, FieldLevelEncryptionProfileInUse, FunctionInUse, IllegalDelete, NoSuchCloudFrontOriginAccessIdentity, NoSuchFunctionExists, NoSuchInvalidation, NoSuchMonitoringSubscription, NoSuchOriginAccessControl, NoSuchResource, NoSuchStreamingDistribution, OriginAccessControlInUse, OriginRequestPolicyAlreadyExists, OriginRequestPolicyInUse, PublicKeyAlreadyExists, PublicKeyInUse, RealtimeLogConfigAlreadyExists, RealtimeLogConfigInUse, ResourceInUse, ResourceNotDisabled, ResponseHeadersPolicyAlreadyExists, ResponseHeadersPolicyInUse, StreamingDistributionAlreadyExists, StreamingDistributionNotDisabled, TooLongCSPInResponseHeadersPolicy, TooManyCookiesInOriginRequestPolicy, TooManyCustomHeadersInResponseHeadersPolicy, TooManyHeadersInOriginRequestPolicy, TooManyOriginAccessControls, TooManyOriginRequestPolicies, TooManyPublicKeys, TooManyQueryStringsInOriginRequestPolicy, TooManyRealtimeLogConfigs, TooManyRemoveHeadersInResponseHeadersPolicy, TooManyResponseHeadersPolicies, TooManyStreamingDistributionCNAMEs, TooManyStreamingDistributions, } from "../models/models_1";
|
|
6
|
+
import { AccessDenied, BatchTooLarge, CachePolicyAlreadyExists, CachePolicyInUse, CannotChangeImmutablePublicKeyFields, CannotDeleteEntityWhileInUse, CannotUpdateEntityWhileInUse, CloudFrontOriginAccessIdentityAlreadyExists, CNAMEAlreadyExists, ContinuousDeploymentPolicyAlreadyExists, ContinuousDeploymentPolicyInUse, DistributionAlreadyExists, EntityAlreadyExists, EntityLimitExceeded, EntityNotFound, EntitySizeLimitExceeded, FieldLevelEncryptionConfigAlreadyExists, FieldLevelEncryptionProfileAlreadyExists, FieldLevelEncryptionProfileSizeExceeded, FunctionAlreadyExists, FunctionSizeLimitExceeded, IllegalFieldLevelEncryptionConfigAssociationWithCacheBehavior, IllegalOriginAccessConfiguration, IllegalUpdate, InconsistentQuantities, InvalidArgument, InvalidAssociation, InvalidDefaultRootObject, InvalidDomainNameForOriginAccessControl, InvalidErrorCode, InvalidForwardCookies, InvalidFunctionAssociation, InvalidGeoRestrictionParameter, InvalidHeadersForS3Origin, InvalidIfMatchVersion, InvalidLambdaFunctionAssociation, InvalidLocationCode, InvalidMinimumProtocolVersion, InvalidOrigin, InvalidOriginAccessControl, InvalidOriginAccessIdentity, InvalidOriginKeepaliveTimeout, InvalidOriginReadTimeout, InvalidProtocolSettings, InvalidQueryStringParameters, InvalidRelativePath, InvalidRequiredProtocol, InvalidResponseCode, InvalidTagging, InvalidTTLOrder, InvalidViewerCertificate, InvalidWebACLId, KeyGroupAlreadyExists, MissingBody, MonitoringSubscriptionAlreadyExists, NoSuchCachePolicy, NoSuchContinuousDeploymentPolicy, NoSuchDistribution, NoSuchFieldLevelEncryptionConfig, NoSuchFieldLevelEncryptionProfile, NoSuchOrigin, NoSuchOriginRequestPolicy, NoSuchPublicKey, NoSuchRealtimeLogConfig, NoSuchResponseHeadersPolicy, PreconditionFailed, QueryArgProfileEmpty, RealtimeLogConfigOwnerMismatch, StagingDistributionInUse, TooManyCacheBehaviors, TooManyCachePolicies, TooManyCertificates, TooManyCloudFrontOriginAccessIdentities, TooManyContinuousDeploymentPolicies, TooManyCookieNamesInWhiteList, TooManyCookiesInCachePolicy, TooManyDistributionCNAMEs, TooManyDistributions, TooManyDistributionsAssociatedToCachePolicy, TooManyDistributionsAssociatedToFieldLevelEncryptionConfig, TooManyDistributionsAssociatedToKeyGroup, TooManyDistributionsAssociatedToOriginAccessControl, TooManyDistributionsAssociatedToOriginRequestPolicy, TooManyDistributionsAssociatedToResponseHeadersPolicy, TooManyDistributionsWithFunctionAssociations, TooManyDistributionsWithLambdaAssociations, TooManyDistributionsWithSingleFunctionARN, TooManyFieldLevelEncryptionConfigs, TooManyFieldLevelEncryptionContentTypeProfiles, TooManyFieldLevelEncryptionEncryptionEntities, TooManyFieldLevelEncryptionFieldPatterns, TooManyFieldLevelEncryptionProfiles, TooManyFieldLevelEncryptionQueryArgProfiles, TooManyFunctionAssociations, TooManyFunctions, TooManyHeadersInCachePolicy, TooManyHeadersInForwardedValues, TooManyInvalidationsInProgress, TooManyKeyGroups, TooManyKeyGroupsAssociatedToDistribution, TooManyLambdaFunctionAssociations, TooManyOriginCustomHeaders, TooManyOriginGroupsPerDistribution, TooManyOrigins, TooManyPublicKeysInKeyGroup, TooManyQueryStringParameters, TooManyQueryStringsInCachePolicy, TooManyTrustedSigners, TrustedKeyGroupDoesNotExist, TrustedSignerDoesNotExist, UnsupportedOperation, } from "../models/models_0";
|
|
7
|
+
import { CloudFrontOriginAccessIdentityInUse, DistributionNotDisabled, FieldLevelEncryptionConfigInUse, FieldLevelEncryptionProfileInUse, FunctionInUse, IllegalDelete, NoSuchCloudFrontOriginAccessIdentity, NoSuchFunctionExists, NoSuchInvalidation, NoSuchMonitoringSubscription, NoSuchOriginAccessControl, NoSuchResource, NoSuchStreamingDistribution, OriginAccessControlAlreadyExists, OriginAccessControlInUse, OriginRequestPolicyAlreadyExists, OriginRequestPolicyInUse, PublicKeyAlreadyExists, PublicKeyInUse, RealtimeLogConfigAlreadyExists, RealtimeLogConfigInUse, ResourceInUse, ResourceNotDisabled, ResponseHeadersPolicyAlreadyExists, ResponseHeadersPolicyInUse, StreamingDistributionAlreadyExists, StreamingDistributionNotDisabled, TooLongCSPInResponseHeadersPolicy, TooManyCookiesInOriginRequestPolicy, TooManyCustomHeadersInResponseHeadersPolicy, TooManyHeadersInOriginRequestPolicy, TooManyOriginAccessControls, TooManyOriginRequestPolicies, TooManyPublicKeys, TooManyQueryStringsInOriginRequestPolicy, TooManyRealtimeLogConfigs, TooManyRemoveHeadersInResponseHeadersPolicy, TooManyResponseHeadersPolicies, TooManyStreamingDistributionCNAMEs, TooManyStreamingDistributions, } from "../models/models_1";
|
|
8
8
|
import { TestFunctionFailed, } from "../models/models_2";
|
|
9
9
|
export const se_AssociateAliasCommand = async (input, context) => {
|
|
10
10
|
const b = rb(input, context);
|
|
@@ -6606,6 +6606,7 @@ const se_CustomOriginConfig = (input, context) => {
|
|
|
6606
6606
|
if (input[_OKT] != null) {
|
|
6607
6607
|
bn.c(__XmlNode.of(_i, String(input[_OKT])).n(_OKT));
|
|
6608
6608
|
}
|
|
6609
|
+
bn.cc(input, _IAT);
|
|
6609
6610
|
return bn;
|
|
6610
6611
|
};
|
|
6611
6612
|
const se_DefaultCacheBehavior = (input, context) => {
|
|
@@ -8861,6 +8862,9 @@ const de_CustomOriginConfig = (output, context) => {
|
|
|
8861
8862
|
if (output[_OKT] != null) {
|
|
8862
8863
|
contents[_OKT] = __strictParseInt32(output[_OKT]);
|
|
8863
8864
|
}
|
|
8865
|
+
if (output[_IAT] != null) {
|
|
8866
|
+
contents[_IAT] = __expectString(output[_IAT]);
|
|
8867
|
+
}
|
|
8864
8868
|
return contents;
|
|
8865
8869
|
};
|
|
8866
8870
|
const de_DefaultCacheBehavior = (output, context) => {
|
|
@@ -11770,6 +11774,7 @@ const _HVe = "HeaderValue";
|
|
|
11770
11774
|
const _He = "Headers";
|
|
11771
11775
|
const _I = "Identifier";
|
|
11772
11776
|
const _IAMCI = "IAMCertificateId";
|
|
11777
|
+
const _IAT = "IpAddressType";
|
|
11773
11778
|
const _IB = "InvalidationBatch";
|
|
11774
11779
|
const _IBn = "IncludeBody";
|
|
11775
11780
|
const _IC = "IpCount";
|
|
@@ -122,6 +122,7 @@ declare const CopyDistributionCommand_base: {
|
|
|
122
122
|
* // },
|
|
123
123
|
* // OriginReadTimeout: Number("int"),
|
|
124
124
|
* // OriginKeepaliveTimeout: Number("int"),
|
|
125
|
+
* // IpAddressType: "ipv4" || "ipv6" || "dualstack",
|
|
125
126
|
* // },
|
|
126
127
|
* // VpcOriginConfig: { // VpcOriginConfig
|
|
127
128
|
* // VpcOriginId: "STRING_VALUE", // required
|
|
@@ -76,6 +76,7 @@ declare const CreateDistributionCommand_base: {
|
|
|
76
76
|
* },
|
|
77
77
|
* OriginReadTimeout: Number("int"),
|
|
78
78
|
* OriginKeepaliveTimeout: Number("int"),
|
|
79
|
+
* IpAddressType: "ipv4" || "ipv6" || "dualstack",
|
|
79
80
|
* },
|
|
80
81
|
* VpcOriginConfig: { // VpcOriginConfig
|
|
81
82
|
* VpcOriginId: "STRING_VALUE", // required
|
|
@@ -434,6 +435,7 @@ declare const CreateDistributionCommand_base: {
|
|
|
434
435
|
* // },
|
|
435
436
|
* // OriginReadTimeout: Number("int"),
|
|
436
437
|
* // OriginKeepaliveTimeout: Number("int"),
|
|
438
|
+
* // IpAddressType: "ipv4" || "ipv6" || "dualstack",
|
|
437
439
|
* // },
|
|
438
440
|
* // VpcOriginConfig: { // VpcOriginConfig
|
|
439
441
|
* // VpcOriginId: "STRING_VALUE", // required
|
|
@@ -77,6 +77,7 @@ declare const CreateDistributionWithTagsCommand_base: {
|
|
|
77
77
|
* },
|
|
78
78
|
* OriginReadTimeout: Number("int"),
|
|
79
79
|
* OriginKeepaliveTimeout: Number("int"),
|
|
80
|
+
* IpAddressType: "ipv4" || "ipv6" || "dualstack",
|
|
80
81
|
* },
|
|
81
82
|
* VpcOriginConfig: { // VpcOriginConfig
|
|
82
83
|
* VpcOriginId: "STRING_VALUE", // required
|
|
@@ -444,6 +445,7 @@ declare const CreateDistributionWithTagsCommand_base: {
|
|
|
444
445
|
* // },
|
|
445
446
|
* // OriginReadTimeout: Number("int"),
|
|
446
447
|
* // OriginKeepaliveTimeout: Number("int"),
|
|
448
|
+
* // IpAddressType: "ipv4" || "ipv6" || "dualstack",
|
|
447
449
|
* // },
|
|
448
450
|
* // VpcOriginConfig: { // VpcOriginConfig
|
|
449
451
|
* // VpcOriginId: "STRING_VALUE", // required
|
|
@@ -118,6 +118,7 @@ declare const GetDistributionCommand_base: {
|
|
|
118
118
|
* // },
|
|
119
119
|
* // OriginReadTimeout: Number("int"),
|
|
120
120
|
* // OriginKeepaliveTimeout: Number("int"),
|
|
121
|
+
* // IpAddressType: "ipv4" || "ipv6" || "dualstack",
|
|
121
122
|
* // },
|
|
122
123
|
* // VpcOriginConfig: { // VpcOriginConfig
|
|
123
124
|
* // VpcOriginId: "STRING_VALUE", // required
|
|
@@ -81,6 +81,7 @@ declare const GetDistributionConfigCommand_base: {
|
|
|
81
81
|
* // },
|
|
82
82
|
* // OriginReadTimeout: Number("int"),
|
|
83
83
|
* // OriginKeepaliveTimeout: Number("int"),
|
|
84
|
+
* // IpAddressType: "ipv4" || "ipv6" || "dualstack",
|
|
84
85
|
* // },
|
|
85
86
|
* // VpcOriginConfig: { // VpcOriginConfig
|
|
86
87
|
* // VpcOriginId: "STRING_VALUE", // required
|
|
@@ -94,6 +94,7 @@ declare const ListDistributionsByAnycastIpListIdCommand_base: {
|
|
|
94
94
|
* // },
|
|
95
95
|
* // OriginReadTimeout: Number("int"),
|
|
96
96
|
* // OriginKeepaliveTimeout: Number("int"),
|
|
97
|
+
* // IpAddressType: "ipv4" || "ipv6" || "dualstack",
|
|
97
98
|
* // },
|
|
98
99
|
* // VpcOriginConfig: { // VpcOriginConfig
|
|
99
100
|
* // VpcOriginId: "STRING_VALUE", // required
|
|
@@ -94,6 +94,7 @@ declare const ListDistributionsByConnectionModeCommand_base: {
|
|
|
94
94
|
* // },
|
|
95
95
|
* // OriginReadTimeout: Number("int"),
|
|
96
96
|
* // OriginKeepaliveTimeout: Number("int"),
|
|
97
|
+
* // IpAddressType: "ipv4" || "ipv6" || "dualstack",
|
|
97
98
|
* // },
|
|
98
99
|
* // VpcOriginConfig: { // VpcOriginConfig
|
|
99
100
|
* // VpcOriginId: "STRING_VALUE", // required
|
|
@@ -95,6 +95,7 @@ declare const ListDistributionsByRealtimeLogConfigCommand_base: {
|
|
|
95
95
|
* // },
|
|
96
96
|
* // OriginReadTimeout: Number("int"),
|
|
97
97
|
* // OriginKeepaliveTimeout: Number("int"),
|
|
98
|
+
* // IpAddressType: "ipv4" || "ipv6" || "dualstack",
|
|
98
99
|
* // },
|
|
99
100
|
* // VpcOriginConfig: { // VpcOriginConfig
|
|
100
101
|
* // VpcOriginId: "STRING_VALUE", // required
|
|
@@ -94,6 +94,7 @@ declare const ListDistributionsByWebACLIdCommand_base: {
|
|
|
94
94
|
* // },
|
|
95
95
|
* // OriginReadTimeout: Number("int"),
|
|
96
96
|
* // OriginKeepaliveTimeout: Number("int"),
|
|
97
|
+
* // IpAddressType: "ipv4" || "ipv6" || "dualstack",
|
|
97
98
|
* // },
|
|
98
99
|
* // VpcOriginConfig: { // VpcOriginConfig
|
|
99
100
|
* // VpcOriginId: "STRING_VALUE", // required
|
|
@@ -93,6 +93,7 @@ declare const ListDistributionsCommand_base: {
|
|
|
93
93
|
* // },
|
|
94
94
|
* // OriginReadTimeout: Number("int"),
|
|
95
95
|
* // OriginKeepaliveTimeout: Number("int"),
|
|
96
|
+
* // IpAddressType: "ipv4" || "ipv6" || "dualstack",
|
|
96
97
|
* // },
|
|
97
98
|
* // VpcOriginConfig: { // VpcOriginConfig
|
|
98
99
|
* // VpcOriginId: "STRING_VALUE", // required
|
|
@@ -76,6 +76,7 @@ declare const UpdateDistributionCommand_base: {
|
|
|
76
76
|
* },
|
|
77
77
|
* OriginReadTimeout: Number("int"),
|
|
78
78
|
* OriginKeepaliveTimeout: Number("int"),
|
|
79
|
+
* IpAddressType: "ipv4" || "ipv6" || "dualstack",
|
|
79
80
|
* },
|
|
80
81
|
* VpcOriginConfig: { // VpcOriginConfig
|
|
81
82
|
* VpcOriginId: "STRING_VALUE", // required
|
|
@@ -436,6 +437,7 @@ declare const UpdateDistributionCommand_base: {
|
|
|
436
437
|
* // },
|
|
437
438
|
* // OriginReadTimeout: Number("int"),
|
|
438
439
|
* // OriginKeepaliveTimeout: Number("int"),
|
|
440
|
+
* // IpAddressType: "ipv4" || "ipv6" || "dualstack",
|
|
439
441
|
* // },
|
|
440
442
|
* // VpcOriginConfig: { // VpcOriginConfig
|
|
441
443
|
* // VpcOriginId: "STRING_VALUE", // required
|
|
@@ -120,6 +120,7 @@ declare const UpdateDistributionWithStagingConfigCommand_base: {
|
|
|
120
120
|
* // },
|
|
121
121
|
* // OriginReadTimeout: Number("int"),
|
|
122
122
|
* // OriginKeepaliveTimeout: Number("int"),
|
|
123
|
+
* // IpAddressType: "ipv4" || "ipv6" || "dualstack",
|
|
123
124
|
* // },
|
|
124
125
|
* // VpcOriginConfig: { // VpcOriginConfig
|
|
125
126
|
* // VpcOriginId: "STRING_VALUE", // required
|
|
@@ -1647,6 +1647,19 @@ export interface CustomHeaders {
|
|
|
1647
1647
|
*/
|
|
1648
1648
|
Items?: OriginCustomHeader[] | undefined;
|
|
1649
1649
|
}
|
|
1650
|
+
/**
|
|
1651
|
+
* @public
|
|
1652
|
+
* @enum
|
|
1653
|
+
*/
|
|
1654
|
+
export declare const IpAddressType: {
|
|
1655
|
+
readonly DualStack: "dualstack";
|
|
1656
|
+
readonly Ipv4: "ipv4";
|
|
1657
|
+
readonly Ipv6: "ipv6";
|
|
1658
|
+
};
|
|
1659
|
+
/**
|
|
1660
|
+
* @public
|
|
1661
|
+
*/
|
|
1662
|
+
export type IpAddressType = (typeof IpAddressType)[keyof typeof IpAddressType];
|
|
1650
1663
|
/**
|
|
1651
1664
|
* @public
|
|
1652
1665
|
* @enum
|
|
@@ -1725,6 +1738,11 @@ export interface CustomOriginConfig {
|
|
|
1725
1738
|
* @public
|
|
1726
1739
|
*/
|
|
1727
1740
|
OriginKeepaliveTimeout?: number | undefined;
|
|
1741
|
+
/**
|
|
1742
|
+
* <p>Specifies which IP protocol CloudFront uses when connecting to your origin. If your origin uses both IPv4 and IPv6 protocols, you can choose <code>dualstack</code> to help optimize reliability.</p>
|
|
1743
|
+
* @public
|
|
1744
|
+
*/
|
|
1745
|
+
IpAddressType?: IpAddressType | undefined;
|
|
1728
1746
|
}
|
|
1729
1747
|
/**
|
|
1730
1748
|
* <p>CloudFront Origin Shield.</p> <p>Using Origin Shield can help reduce the load on your origin. For more information, see <a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/origin-shield.html">Using Origin Shield</a> in the <i>Amazon CloudFront Developer Guide</i>.</p>
|
|
@@ -5257,19 +5275,6 @@ export interface CreateOriginAccessControlResult {
|
|
|
5257
5275
|
*/
|
|
5258
5276
|
ETag?: string | undefined;
|
|
5259
5277
|
}
|
|
5260
|
-
/**
|
|
5261
|
-
* <p>An origin access control with the specified parameters already exists.</p>
|
|
5262
|
-
* @public
|
|
5263
|
-
*/
|
|
5264
|
-
export declare class OriginAccessControlAlreadyExists extends __BaseException {
|
|
5265
|
-
readonly name: "OriginAccessControlAlreadyExists";
|
|
5266
|
-
readonly $fault: "client";
|
|
5267
|
-
Message?: string | undefined;
|
|
5268
|
-
/**
|
|
5269
|
-
* @internal
|
|
5270
|
-
*/
|
|
5271
|
-
constructor(opts: __ExceptionOptionType<OriginAccessControlAlreadyExists, __BaseException>);
|
|
5272
|
-
}
|
|
5273
5278
|
/**
|
|
5274
5279
|
* @internal
|
|
5275
5280
|
*/
|
|
@@ -1,6 +1,19 @@
|
|
|
1
1
|
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
2
|
import { CloudFrontServiceException as __BaseException } from "./CloudFrontServiceException";
|
|
3
3
|
import { ActiveTrustedSigners, Aliases, AliasICPRecordal, AnycastIpList, AnycastIpListCollection, CacheBehaviors, CachePolicy, CachePolicyConfig, CachePolicyList, CachePolicyType, CloudFrontOriginAccessIdentity, CloudFrontOriginAccessIdentityConfig, ConnectionGroup, ConnectionMode, ContentTypeProfileConfig, ContinuousDeploymentPolicy, ContinuousDeploymentPolicyConfig, CookieNames, CustomErrorResponses, Customizations, DefaultCacheBehavior, Distribution, DistributionConfig, DistributionTenant, DomainResult, EncryptionEntities, FieldLevelEncryption, FieldLevelEncryptionConfig, FieldLevelEncryptionProfile, FieldLevelEncryptionProfileConfig, FunctionStage, FunctionSummary, Headers, HttpVersion, Invalidation, KeyGroup, KeyGroupConfig, KeyValueStore, MonitoringSubscription, OriginAccessControl, OriginAccessControlConfig, OriginAccessControlOriginTypes, OriginAccessControlSigningBehaviors, OriginAccessControlSigningProtocols, OriginGroups, OriginProtocolPolicy, Origins, OriginSslProtocols, PriceClass, QueryArgProfileConfig, QueryStringNames, ResponseHeadersPolicyAccessControlAllowMethodsValues, Restrictions, Tags, TrustedSigners, ValidationTokenHost, ViewerCertificate } from "./models_0";
|
|
4
|
+
/**
|
|
5
|
+
* <p>An origin access control with the specified parameters already exists.</p>
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export declare class OriginAccessControlAlreadyExists extends __BaseException {
|
|
9
|
+
readonly name: "OriginAccessControlAlreadyExists";
|
|
10
|
+
readonly $fault: "client";
|
|
11
|
+
Message?: string | undefined;
|
|
12
|
+
/**
|
|
13
|
+
* @internal
|
|
14
|
+
*/
|
|
15
|
+
constructor(opts: __ExceptionOptionType<OriginAccessControlAlreadyExists, __BaseException>);
|
|
16
|
+
}
|
|
4
17
|
/**
|
|
5
18
|
* <p>The number of origin access controls in your Amazon Web Services account exceeds the maximum allowed.</p> <p>For more information, see <a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/cloudfront-limits.html">Quotas</a> (formerly known as limits) in the <i>Amazon CloudFront Developer Guide</i>.</p>
|
|
6
19
|
* @public
|
|
@@ -5051,67 +5064,6 @@ export interface ListStreamingDistributionsRequest {
|
|
|
5051
5064
|
*/
|
|
5052
5065
|
MaxItems?: number | undefined;
|
|
5053
5066
|
}
|
|
5054
|
-
/**
|
|
5055
|
-
* <p>A summary of the information for a CloudFront streaming distribution.</p>
|
|
5056
|
-
* @public
|
|
5057
|
-
*/
|
|
5058
|
-
export interface StreamingDistributionSummary {
|
|
5059
|
-
/**
|
|
5060
|
-
* <p>The identifier for the distribution, for example, <code>EDFDVBD632BHDS5</code>.</p>
|
|
5061
|
-
* @public
|
|
5062
|
-
*/
|
|
5063
|
-
Id: string | undefined;
|
|
5064
|
-
/**
|
|
5065
|
-
* <p>The ARN (Amazon Resource Name) for the streaming distribution. For example: <code>arn:aws:cloudfront::123456789012:streaming-distribution/EDFDVBD632BHDS5</code>, where <code>123456789012</code> is your Amazon Web Services account ID.</p>
|
|
5066
|
-
* @public
|
|
5067
|
-
*/
|
|
5068
|
-
ARN: string | undefined;
|
|
5069
|
-
/**
|
|
5070
|
-
* <p>Indicates the current status of the distribution. When the status is <code>Deployed</code>, the distribution's information is fully propagated throughout the Amazon CloudFront system.</p>
|
|
5071
|
-
* @public
|
|
5072
|
-
*/
|
|
5073
|
-
Status: string | undefined;
|
|
5074
|
-
/**
|
|
5075
|
-
* <p>The date and time the distribution was last modified.</p>
|
|
5076
|
-
* @public
|
|
5077
|
-
*/
|
|
5078
|
-
LastModifiedTime: Date | undefined;
|
|
5079
|
-
/**
|
|
5080
|
-
* <p>The domain name corresponding to the distribution, for example, <code>d111111abcdef8.cloudfront.net</code>.</p>
|
|
5081
|
-
* @public
|
|
5082
|
-
*/
|
|
5083
|
-
DomainName: string | undefined;
|
|
5084
|
-
/**
|
|
5085
|
-
* <p>A complex type that contains information about the Amazon S3 bucket from which you want CloudFront to get your media files for distribution.</p>
|
|
5086
|
-
* @public
|
|
5087
|
-
*/
|
|
5088
|
-
S3Origin: S3Origin | undefined;
|
|
5089
|
-
/**
|
|
5090
|
-
* <p>A complex type that contains information about CNAMEs (alternate domain names), if any, for this streaming distribution.</p>
|
|
5091
|
-
* @public
|
|
5092
|
-
*/
|
|
5093
|
-
Aliases: Aliases | undefined;
|
|
5094
|
-
/**
|
|
5095
|
-
* <p>A complex type that specifies the Amazon Web Services accounts, if any, that you want to allow to create signed URLs for private content. If you want to require signed URLs in requests for objects in the target origin that match the <code>PathPattern</code> for this cache behavior, specify <code>true</code> for <code>Enabled</code>, and specify the applicable values for <code>Quantity</code> and <code>Items</code>.If you don't want to require signed URLs in requests for objects that match <code>PathPattern</code>, specify <code>false</code> for <code>Enabled</code> and <code>0</code> for <code>Quantity</code>. Omit <code>Items</code>. To add, change, or remove one or more trusted signers, change <code>Enabled</code> to <code>true</code> (if it's currently <code>false</code>), change <code>Quantity</code> as applicable, and specify all of the trusted signers that you want to include in the updated distribution.</p> <p>For more information, see <a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/PrivateContent.html">Serving Private Content through CloudFront</a> in the <i>Amazon CloudFront Developer Guide</i>.</p>
|
|
5096
|
-
* @public
|
|
5097
|
-
*/
|
|
5098
|
-
TrustedSigners: TrustedSigners | undefined;
|
|
5099
|
-
/**
|
|
5100
|
-
* <p>The comment originally specified when this distribution was created.</p>
|
|
5101
|
-
* @public
|
|
5102
|
-
*/
|
|
5103
|
-
Comment: string | undefined;
|
|
5104
|
-
/**
|
|
5105
|
-
* <p>A complex type that contains information about price class for this streaming distribution.</p>
|
|
5106
|
-
* @public
|
|
5107
|
-
*/
|
|
5108
|
-
PriceClass: PriceClass | undefined;
|
|
5109
|
-
/**
|
|
5110
|
-
* <p>Whether the distribution is enabled to accept end user requests for content.</p>
|
|
5111
|
-
* @public
|
|
5112
|
-
*/
|
|
5113
|
-
Enabled: boolean | undefined;
|
|
5114
|
-
}
|
|
5115
5067
|
/**
|
|
5116
5068
|
* @internal
|
|
5117
5069
|
*/
|
|
@@ -1,7 +1,68 @@
|
|
|
1
1
|
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
2
|
import { CloudFrontServiceException as __BaseException } from "./CloudFrontServiceException";
|
|
3
|
-
import { CachePolicy, CachePolicyConfig, CloudFrontOriginAccessIdentity, CloudFrontOriginAccessIdentityConfig, ConnectionGroup, ContinuousDeploymentPolicy, ContinuousDeploymentPolicyConfig, Customizations, Distribution, DistributionConfig, DistributionTenant, DomainItem, FieldLevelEncryption, FieldLevelEncryptionConfig, FieldLevelEncryptionProfile, FieldLevelEncryptionProfileConfig, FunctionConfig, FunctionStage, FunctionSummary, KeyGroup, KeyGroupConfig, KeyValueStore, ManagedCertificateRequest, OriginAccessControl, OriginAccessControlConfig, Parameter, Tags } from "./models_0";
|
|
4
|
-
import { DistributionResourceId, EndPoint, OriginRequestPolicy, OriginRequestPolicyConfig, PublicKey, PublicKeyConfig, RealtimeLogConfig, ResponseHeadersPolicy, ResponseHeadersPolicyConfig, StreamingDistribution, StreamingDistributionConfig,
|
|
3
|
+
import { Aliases, CachePolicy, CachePolicyConfig, CloudFrontOriginAccessIdentity, CloudFrontOriginAccessIdentityConfig, ConnectionGroup, ContinuousDeploymentPolicy, ContinuousDeploymentPolicyConfig, Customizations, Distribution, DistributionConfig, DistributionTenant, DomainItem, FieldLevelEncryption, FieldLevelEncryptionConfig, FieldLevelEncryptionProfile, FieldLevelEncryptionProfileConfig, FunctionConfig, FunctionStage, FunctionSummary, KeyGroup, KeyGroupConfig, KeyValueStore, ManagedCertificateRequest, OriginAccessControl, OriginAccessControlConfig, Parameter, PriceClass, Tags, TrustedSigners } from "./models_0";
|
|
4
|
+
import { DistributionResourceId, EndPoint, OriginRequestPolicy, OriginRequestPolicyConfig, PublicKey, PublicKeyConfig, RealtimeLogConfig, ResponseHeadersPolicy, ResponseHeadersPolicyConfig, S3Origin, StreamingDistribution, StreamingDistributionConfig, VpcOrigin, VpcOriginEndpointConfig } from "./models_1";
|
|
5
|
+
/**
|
|
6
|
+
* <p>A summary of the information for a CloudFront streaming distribution.</p>
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
export interface StreamingDistributionSummary {
|
|
10
|
+
/**
|
|
11
|
+
* <p>The identifier for the distribution, for example, <code>EDFDVBD632BHDS5</code>.</p>
|
|
12
|
+
* @public
|
|
13
|
+
*/
|
|
14
|
+
Id: string | undefined;
|
|
15
|
+
/**
|
|
16
|
+
* <p>The ARN (Amazon Resource Name) for the streaming distribution. For example: <code>arn:aws:cloudfront::123456789012:streaming-distribution/EDFDVBD632BHDS5</code>, where <code>123456789012</code> is your Amazon Web Services account ID.</p>
|
|
17
|
+
* @public
|
|
18
|
+
*/
|
|
19
|
+
ARN: string | undefined;
|
|
20
|
+
/**
|
|
21
|
+
* <p>Indicates the current status of the distribution. When the status is <code>Deployed</code>, the distribution's information is fully propagated throughout the Amazon CloudFront system.</p>
|
|
22
|
+
* @public
|
|
23
|
+
*/
|
|
24
|
+
Status: string | undefined;
|
|
25
|
+
/**
|
|
26
|
+
* <p>The date and time the distribution was last modified.</p>
|
|
27
|
+
* @public
|
|
28
|
+
*/
|
|
29
|
+
LastModifiedTime: Date | undefined;
|
|
30
|
+
/**
|
|
31
|
+
* <p>The domain name corresponding to the distribution, for example, <code>d111111abcdef8.cloudfront.net</code>.</p>
|
|
32
|
+
* @public
|
|
33
|
+
*/
|
|
34
|
+
DomainName: string | undefined;
|
|
35
|
+
/**
|
|
36
|
+
* <p>A complex type that contains information about the Amazon S3 bucket from which you want CloudFront to get your media files for distribution.</p>
|
|
37
|
+
* @public
|
|
38
|
+
*/
|
|
39
|
+
S3Origin: S3Origin | undefined;
|
|
40
|
+
/**
|
|
41
|
+
* <p>A complex type that contains information about CNAMEs (alternate domain names), if any, for this streaming distribution.</p>
|
|
42
|
+
* @public
|
|
43
|
+
*/
|
|
44
|
+
Aliases: Aliases | undefined;
|
|
45
|
+
/**
|
|
46
|
+
* <p>A complex type that specifies the Amazon Web Services accounts, if any, that you want to allow to create signed URLs for private content. If you want to require signed URLs in requests for objects in the target origin that match the <code>PathPattern</code> for this cache behavior, specify <code>true</code> for <code>Enabled</code>, and specify the applicable values for <code>Quantity</code> and <code>Items</code>.If you don't want to require signed URLs in requests for objects that match <code>PathPattern</code>, specify <code>false</code> for <code>Enabled</code> and <code>0</code> for <code>Quantity</code>. Omit <code>Items</code>. To add, change, or remove one or more trusted signers, change <code>Enabled</code> to <code>true</code> (if it's currently <code>false</code>), change <code>Quantity</code> as applicable, and specify all of the trusted signers that you want to include in the updated distribution.</p> <p>For more information, see <a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/PrivateContent.html">Serving Private Content through CloudFront</a> in the <i>Amazon CloudFront Developer Guide</i>.</p>
|
|
47
|
+
* @public
|
|
48
|
+
*/
|
|
49
|
+
TrustedSigners: TrustedSigners | undefined;
|
|
50
|
+
/**
|
|
51
|
+
* <p>The comment originally specified when this distribution was created.</p>
|
|
52
|
+
* @public
|
|
53
|
+
*/
|
|
54
|
+
Comment: string | undefined;
|
|
55
|
+
/**
|
|
56
|
+
* <p>A complex type that contains information about price class for this streaming distribution.</p>
|
|
57
|
+
* @public
|
|
58
|
+
*/
|
|
59
|
+
PriceClass: PriceClass | undefined;
|
|
60
|
+
/**
|
|
61
|
+
* <p>Whether the distribution is enabled to accept end user requests for content.</p>
|
|
62
|
+
* @public
|
|
63
|
+
*/
|
|
64
|
+
Enabled: boolean | undefined;
|
|
65
|
+
}
|
|
5
66
|
/**
|
|
6
67
|
* <p>A streaming distribution list.</p>
|
|
7
68
|
* @public
|
|
@@ -507,6 +507,12 @@ export interface CustomHeaders {
|
|
|
507
507
|
Quantity: number | undefined;
|
|
508
508
|
Items?: OriginCustomHeader[] | undefined;
|
|
509
509
|
}
|
|
510
|
+
export declare const IpAddressType: {
|
|
511
|
+
readonly DualStack: "dualstack";
|
|
512
|
+
readonly Ipv4: "ipv4";
|
|
513
|
+
readonly Ipv6: "ipv6";
|
|
514
|
+
};
|
|
515
|
+
export type IpAddressType = (typeof IpAddressType)[keyof typeof IpAddressType];
|
|
510
516
|
export declare const OriginProtocolPolicy: {
|
|
511
517
|
readonly http_only: "http-only";
|
|
512
518
|
readonly https_only: "https-only";
|
|
@@ -532,6 +538,7 @@ export interface CustomOriginConfig {
|
|
|
532
538
|
OriginSslProtocols?: OriginSslProtocols | undefined;
|
|
533
539
|
OriginReadTimeout?: number | undefined;
|
|
534
540
|
OriginKeepaliveTimeout?: number | undefined;
|
|
541
|
+
IpAddressType?: IpAddressType | undefined;
|
|
535
542
|
}
|
|
536
543
|
export interface OriginShield {
|
|
537
544
|
Enabled: boolean | undefined;
|
|
@@ -2003,17 +2010,6 @@ export interface CreateOriginAccessControlResult {
|
|
|
2003
2010
|
Location?: string | undefined;
|
|
2004
2011
|
ETag?: string | undefined;
|
|
2005
2012
|
}
|
|
2006
|
-
export declare class OriginAccessControlAlreadyExists extends __BaseException {
|
|
2007
|
-
readonly name: "OriginAccessControlAlreadyExists";
|
|
2008
|
-
readonly $fault: "client";
|
|
2009
|
-
Message?: string | undefined;
|
|
2010
|
-
constructor(
|
|
2011
|
-
opts: __ExceptionOptionType<
|
|
2012
|
-
OriginAccessControlAlreadyExists,
|
|
2013
|
-
__BaseException
|
|
2014
|
-
>
|
|
2015
|
-
);
|
|
2016
|
-
}
|
|
2017
2013
|
export declare const OriginCustomHeaderFilterSensitiveLog: (
|
|
2018
2014
|
obj: OriginCustomHeader
|
|
2019
2015
|
) => any;
|
|
@@ -59,6 +59,17 @@ import {
|
|
|
59
59
|
ValidationTokenHost,
|
|
60
60
|
ViewerCertificate,
|
|
61
61
|
} from "./models_0";
|
|
62
|
+
export declare class OriginAccessControlAlreadyExists extends __BaseException {
|
|
63
|
+
readonly name: "OriginAccessControlAlreadyExists";
|
|
64
|
+
readonly $fault: "client";
|
|
65
|
+
Message?: string | undefined;
|
|
66
|
+
constructor(
|
|
67
|
+
opts: __ExceptionOptionType<
|
|
68
|
+
OriginAccessControlAlreadyExists,
|
|
69
|
+
__BaseException
|
|
70
|
+
>
|
|
71
|
+
);
|
|
72
|
+
}
|
|
62
73
|
export declare class TooManyOriginAccessControls extends __BaseException {
|
|
63
74
|
readonly name: "TooManyOriginAccessControls";
|
|
64
75
|
readonly $fault: "client";
|
|
@@ -1613,19 +1624,6 @@ export interface ListStreamingDistributionsRequest {
|
|
|
1613
1624
|
Marker?: string | undefined;
|
|
1614
1625
|
MaxItems?: number | undefined;
|
|
1615
1626
|
}
|
|
1616
|
-
export interface StreamingDistributionSummary {
|
|
1617
|
-
Id: string | undefined;
|
|
1618
|
-
ARN: string | undefined;
|
|
1619
|
-
Status: string | undefined;
|
|
1620
|
-
LastModifiedTime: Date | undefined;
|
|
1621
|
-
DomainName: string | undefined;
|
|
1622
|
-
S3Origin: S3Origin | undefined;
|
|
1623
|
-
Aliases: Aliases | undefined;
|
|
1624
|
-
TrustedSigners: TrustedSigners | undefined;
|
|
1625
|
-
Comment: string | undefined;
|
|
1626
|
-
PriceClass: PriceClass | undefined;
|
|
1627
|
-
Enabled: boolean | undefined;
|
|
1628
|
-
}
|
|
1629
1627
|
export declare const GetDistributionResultFilterSensitiveLog: (
|
|
1630
1628
|
obj: GetDistributionResult
|
|
1631
1629
|
) => any;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
2
|
import { CloudFrontServiceException as __BaseException } from "./CloudFrontServiceException";
|
|
3
3
|
import {
|
|
4
|
+
Aliases,
|
|
4
5
|
CachePolicy,
|
|
5
6
|
CachePolicyConfig,
|
|
6
7
|
CloudFrontOriginAccessIdentity,
|
|
@@ -27,7 +28,9 @@ import {
|
|
|
27
28
|
OriginAccessControl,
|
|
28
29
|
OriginAccessControlConfig,
|
|
29
30
|
Parameter,
|
|
31
|
+
PriceClass,
|
|
30
32
|
Tags,
|
|
33
|
+
TrustedSigners,
|
|
31
34
|
} from "./models_0";
|
|
32
35
|
import {
|
|
33
36
|
DistributionResourceId,
|
|
@@ -39,12 +42,25 @@ import {
|
|
|
39
42
|
RealtimeLogConfig,
|
|
40
43
|
ResponseHeadersPolicy,
|
|
41
44
|
ResponseHeadersPolicyConfig,
|
|
45
|
+
S3Origin,
|
|
42
46
|
StreamingDistribution,
|
|
43
47
|
StreamingDistributionConfig,
|
|
44
|
-
StreamingDistributionSummary,
|
|
45
48
|
VpcOrigin,
|
|
46
49
|
VpcOriginEndpointConfig,
|
|
47
50
|
} from "./models_1";
|
|
51
|
+
export interface StreamingDistributionSummary {
|
|
52
|
+
Id: string | undefined;
|
|
53
|
+
ARN: string | undefined;
|
|
54
|
+
Status: string | undefined;
|
|
55
|
+
LastModifiedTime: Date | undefined;
|
|
56
|
+
DomainName: string | undefined;
|
|
57
|
+
S3Origin: S3Origin | undefined;
|
|
58
|
+
Aliases: Aliases | undefined;
|
|
59
|
+
TrustedSigners: TrustedSigners | undefined;
|
|
60
|
+
Comment: string | undefined;
|
|
61
|
+
PriceClass: PriceClass | undefined;
|
|
62
|
+
Enabled: boolean | undefined;
|
|
63
|
+
}
|
|
48
64
|
export interface StreamingDistributionList {
|
|
49
65
|
Marker: string | undefined;
|
|
50
66
|
NextMarker?: string | undefined;
|
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.881.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-cloudfront",
|