@aws-sdk/client-cloudfront 3.454.0 → 3.456.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 +40 -0
- package/dist-cjs/CloudFront.js +10 -0
- package/dist-cjs/commands/CreateKeyValueStoreCommand.js +51 -0
- package/dist-cjs/commands/DeleteKeyValueStoreCommand.js +51 -0
- package/dist-cjs/commands/DescribeKeyValueStoreCommand.js +51 -0
- package/dist-cjs/commands/ListKeyValueStoresCommand.js +51 -0
- package/dist-cjs/commands/UpdateKeyValueStoreCommand.js +51 -0
- package/dist-cjs/commands/index.js +5 -0
- package/dist-cjs/models/models_0.js +63 -18
- package/dist-cjs/models/models_1.js +29 -1
- package/dist-cjs/pagination/ListKeyValueStoresPaginator.js +29 -0
- package/dist-cjs/pagination/index.js +1 -0
- package/dist-cjs/protocols/Aws_restXml.js +514 -5
- package/dist-es/CloudFront.js +10 -0
- package/dist-es/commands/CreateKeyValueStoreCommand.js +47 -0
- package/dist-es/commands/DeleteKeyValueStoreCommand.js +47 -0
- package/dist-es/commands/DescribeKeyValueStoreCommand.js +47 -0
- package/dist-es/commands/ListKeyValueStoresCommand.js +47 -0
- package/dist-es/commands/UpdateKeyValueStoreCommand.js +47 -0
- package/dist-es/commands/index.js +5 -0
- package/dist-es/models/models_0.js +55 -14
- package/dist-es/models/models_1.js +27 -0
- package/dist-es/pagination/ListKeyValueStoresPaginator.js +25 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/protocols/Aws_restXml.js +501 -2
- package/dist-types/CloudFront.d.ts +35 -0
- package/dist-types/CloudFrontClient.d.ts +7 -2
- package/dist-types/commands/CreateFunctionCommand.d.ts +16 -0
- package/dist-types/commands/CreateKeyValueStoreCommand.d.ts +103 -0
- package/dist-types/commands/CreateResponseHeadersPolicyCommand.d.ts +1 -2
- package/dist-types/commands/DeleteKeyValueStoreCommand.d.ts +88 -0
- package/dist-types/commands/DescribeFunctionCommand.d.ts +8 -0
- package/dist-types/commands/DescribeKeyValueStoreCommand.d.ts +90 -0
- package/dist-types/commands/ListFunctionsCommand.d.ts +8 -0
- package/dist-types/commands/ListKeyValueStoresCommand.d.ts +95 -0
- package/dist-types/commands/PublishFunctionCommand.d.ts +8 -0
- package/dist-types/commands/TestFunctionCommand.d.ts +8 -0
- package/dist-types/commands/UpdateFunctionCommand.d.ts +16 -0
- package/dist-types/commands/UpdateKeyValueStoreCommand.d.ts +99 -0
- package/dist-types/commands/index.d.ts +5 -0
- package/dist-types/models/models_0.d.ts +198 -380
- package/dist-types/models/models_1.d.ts +518 -3
- package/dist-types/pagination/ListKeyValueStoresPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/protocols/Aws_restXml.d.ts +45 -0
- package/dist-types/ts3.4/CloudFront.d.ts +85 -0
- package/dist-types/ts3.4/CloudFrontClient.d.ts +30 -0
- package/dist-types/ts3.4/commands/CreateKeyValueStoreCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/CreateResponseHeadersPolicyCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/DeleteKeyValueStoreCommand.d.ts +34 -0
- package/dist-types/ts3.4/commands/DescribeKeyValueStoreCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/ListKeyValueStoresCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/UpdateKeyValueStoreCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/index.d.ts +5 -0
- package/dist-types/ts3.4/models/models_0.d.ts +67 -67
- package/dist-types/ts3.4/models/models_1.d.ts +113 -2
- package/dist-types/ts3.4/pagination/ListKeyValueStoresPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +1 -0
- package/dist-types/ts3.4/protocols/Aws_restXml.d.ts +60 -0
- package/package.json +1 -1
|
@@ -10,6 +10,7 @@ export * from "./CreateFieldLevelEncryptionProfileCommand";
|
|
|
10
10
|
export * from "./CreateFunctionCommand";
|
|
11
11
|
export * from "./CreateInvalidationCommand";
|
|
12
12
|
export * from "./CreateKeyGroupCommand";
|
|
13
|
+
export * from "./CreateKeyValueStoreCommand";
|
|
13
14
|
export * from "./CreateMonitoringSubscriptionCommand";
|
|
14
15
|
export * from "./CreateOriginAccessControlCommand";
|
|
15
16
|
export * from "./CreateOriginRequestPolicyCommand";
|
|
@@ -26,6 +27,7 @@ export * from "./DeleteFieldLevelEncryptionConfigCommand";
|
|
|
26
27
|
export * from "./DeleteFieldLevelEncryptionProfileCommand";
|
|
27
28
|
export * from "./DeleteFunctionCommand";
|
|
28
29
|
export * from "./DeleteKeyGroupCommand";
|
|
30
|
+
export * from "./DeleteKeyValueStoreCommand";
|
|
29
31
|
export * from "./DeleteMonitoringSubscriptionCommand";
|
|
30
32
|
export * from "./DeleteOriginAccessControlCommand";
|
|
31
33
|
export * from "./DeleteOriginRequestPolicyCommand";
|
|
@@ -34,6 +36,7 @@ export * from "./DeleteRealtimeLogConfigCommand";
|
|
|
34
36
|
export * from "./DeleteResponseHeadersPolicyCommand";
|
|
35
37
|
export * from "./DeleteStreamingDistributionCommand";
|
|
36
38
|
export * from "./DescribeFunctionCommand";
|
|
39
|
+
export * from "./DescribeKeyValueStoreCommand";
|
|
37
40
|
export * from "./GetCachePolicyCommand";
|
|
38
41
|
export * from "./GetCachePolicyConfigCommand";
|
|
39
42
|
export * from "./GetCloudFrontOriginAccessIdentityCommand";
|
|
@@ -78,6 +81,7 @@ export * from "./ListFieldLevelEncryptionProfilesCommand";
|
|
|
78
81
|
export * from "./ListFunctionsCommand";
|
|
79
82
|
export * from "./ListInvalidationsCommand";
|
|
80
83
|
export * from "./ListKeyGroupsCommand";
|
|
84
|
+
export * from "./ListKeyValueStoresCommand";
|
|
81
85
|
export * from "./ListOriginAccessControlsCommand";
|
|
82
86
|
export * from "./ListOriginRequestPoliciesCommand";
|
|
83
87
|
export * from "./ListPublicKeysCommand";
|
|
@@ -98,6 +102,7 @@ export * from "./UpdateFieldLevelEncryptionConfigCommand";
|
|
|
98
102
|
export * from "./UpdateFieldLevelEncryptionProfileCommand";
|
|
99
103
|
export * from "./UpdateFunctionCommand";
|
|
100
104
|
export * from "./UpdateKeyGroupCommand";
|
|
105
|
+
export * from "./UpdateKeyValueStoreCommand";
|
|
101
106
|
export * from "./UpdateOriginAccessControlCommand";
|
|
102
107
|
export * from "./UpdateOriginRequestPolicyCommand";
|
|
103
108
|
export * from "./UpdatePublicKeyCommand";
|
|
@@ -303,6 +303,14 @@ export declare class CannotChangeImmutablePublicKeyFields extends __BaseExceptio
|
|
|
303
303
|
>
|
|
304
304
|
);
|
|
305
305
|
}
|
|
306
|
+
export declare class CannotDeleteEntityWhileInUse extends __BaseException {
|
|
307
|
+
readonly name: "CannotDeleteEntityWhileInUse";
|
|
308
|
+
readonly $fault: "client";
|
|
309
|
+
Message?: string;
|
|
310
|
+
constructor(
|
|
311
|
+
opts: __ExceptionOptionType<CannotDeleteEntityWhileInUse, __BaseException>
|
|
312
|
+
);
|
|
313
|
+
}
|
|
306
314
|
export declare const CertificateSource: {
|
|
307
315
|
readonly acm: "acm";
|
|
308
316
|
readonly cloudfront: "cloudfront";
|
|
@@ -1482,6 +1490,13 @@ export declare class TooManyFieldLevelEncryptionProfiles extends __BaseException
|
|
|
1482
1490
|
>
|
|
1483
1491
|
);
|
|
1484
1492
|
}
|
|
1493
|
+
export interface KeyValueStoreAssociation {
|
|
1494
|
+
KeyValueStoreARN: string | undefined;
|
|
1495
|
+
}
|
|
1496
|
+
export interface KeyValueStoreAssociations {
|
|
1497
|
+
Quantity: number | undefined;
|
|
1498
|
+
Items?: KeyValueStoreAssociation[];
|
|
1499
|
+
}
|
|
1485
1500
|
export declare const FunctionRuntime: {
|
|
1486
1501
|
readonly cloudfront_js_1_0: "cloudfront-js-1.0";
|
|
1487
1502
|
readonly cloudfront_js_2_0: "cloudfront-js-2.0";
|
|
@@ -1491,6 +1506,7 @@ export type FunctionRuntime =
|
|
|
1491
1506
|
export interface FunctionConfig {
|
|
1492
1507
|
Comment: string | undefined;
|
|
1493
1508
|
Runtime: FunctionRuntime | undefined;
|
|
1509
|
+
KeyValueStoreAssociations?: KeyValueStoreAssociations;
|
|
1494
1510
|
}
|
|
1495
1511
|
export interface CreateFunctionRequest {
|
|
1496
1512
|
Name: string | undefined;
|
|
@@ -1619,6 +1635,57 @@ export declare class TooManyPublicKeysInKeyGroup extends __BaseException {
|
|
|
1619
1635
|
opts: __ExceptionOptionType<TooManyPublicKeysInKeyGroup, __BaseException>
|
|
1620
1636
|
);
|
|
1621
1637
|
}
|
|
1638
|
+
export declare const ImportSourceType: {
|
|
1639
|
+
readonly S3: "S3";
|
|
1640
|
+
};
|
|
1641
|
+
export type ImportSourceType =
|
|
1642
|
+
(typeof ImportSourceType)[keyof typeof ImportSourceType];
|
|
1643
|
+
export interface ImportSource {
|
|
1644
|
+
SourceType: ImportSourceType | undefined;
|
|
1645
|
+
SourceARN: string | undefined;
|
|
1646
|
+
}
|
|
1647
|
+
export interface CreateKeyValueStoreRequest {
|
|
1648
|
+
Name: string | undefined;
|
|
1649
|
+
Comment?: string;
|
|
1650
|
+
ImportSource?: ImportSource;
|
|
1651
|
+
}
|
|
1652
|
+
export interface KeyValueStore {
|
|
1653
|
+
Name: string | undefined;
|
|
1654
|
+
Id: string | undefined;
|
|
1655
|
+
Comment: string | undefined;
|
|
1656
|
+
ARN: string | undefined;
|
|
1657
|
+
Status?: string;
|
|
1658
|
+
LastModifiedTime: Date | undefined;
|
|
1659
|
+
}
|
|
1660
|
+
export interface CreateKeyValueStoreResult {
|
|
1661
|
+
KeyValueStore?: KeyValueStore;
|
|
1662
|
+
ETag?: string;
|
|
1663
|
+
Location?: string;
|
|
1664
|
+
}
|
|
1665
|
+
export declare class EntityAlreadyExists extends __BaseException {
|
|
1666
|
+
readonly name: "EntityAlreadyExists";
|
|
1667
|
+
readonly $fault: "client";
|
|
1668
|
+
Message?: string;
|
|
1669
|
+
constructor(
|
|
1670
|
+
opts: __ExceptionOptionType<EntityAlreadyExists, __BaseException>
|
|
1671
|
+
);
|
|
1672
|
+
}
|
|
1673
|
+
export declare class EntityLimitExceeded extends __BaseException {
|
|
1674
|
+
readonly name: "EntityLimitExceeded";
|
|
1675
|
+
readonly $fault: "client";
|
|
1676
|
+
Message?: string;
|
|
1677
|
+
constructor(
|
|
1678
|
+
opts: __ExceptionOptionType<EntityLimitExceeded, __BaseException>
|
|
1679
|
+
);
|
|
1680
|
+
}
|
|
1681
|
+
export declare class EntitySizeLimitExceeded extends __BaseException {
|
|
1682
|
+
readonly name: "EntitySizeLimitExceeded";
|
|
1683
|
+
readonly $fault: "client";
|
|
1684
|
+
Message?: string;
|
|
1685
|
+
constructor(
|
|
1686
|
+
opts: __ExceptionOptionType<EntitySizeLimitExceeded, __BaseException>
|
|
1687
|
+
);
|
|
1688
|
+
}
|
|
1622
1689
|
export declare const RealtimeMetricsSubscriptionStatus: {
|
|
1623
1690
|
readonly Disabled: "Disabled";
|
|
1624
1691
|
readonly Enabled: "Enabled";
|
|
@@ -1943,73 +2010,6 @@ export interface ResponseHeadersPolicyContentSecurityPolicy {
|
|
|
1943
2010
|
export interface ResponseHeadersPolicyContentTypeOptions {
|
|
1944
2011
|
Override: boolean | undefined;
|
|
1945
2012
|
}
|
|
1946
|
-
export declare const FrameOptionsList: {
|
|
1947
|
-
readonly DENY: "DENY";
|
|
1948
|
-
readonly SAMEORIGIN: "SAMEORIGIN";
|
|
1949
|
-
};
|
|
1950
|
-
export type FrameOptionsList =
|
|
1951
|
-
(typeof FrameOptionsList)[keyof typeof FrameOptionsList];
|
|
1952
|
-
export interface ResponseHeadersPolicyFrameOptions {
|
|
1953
|
-
Override: boolean | undefined;
|
|
1954
|
-
FrameOption: FrameOptionsList | undefined;
|
|
1955
|
-
}
|
|
1956
|
-
export declare const ReferrerPolicyList: {
|
|
1957
|
-
readonly no_referrer: "no-referrer";
|
|
1958
|
-
readonly no_referrer_when_downgrade: "no-referrer-when-downgrade";
|
|
1959
|
-
readonly origin: "origin";
|
|
1960
|
-
readonly origin_when_cross_origin: "origin-when-cross-origin";
|
|
1961
|
-
readonly same_origin: "same-origin";
|
|
1962
|
-
readonly strict_origin: "strict-origin";
|
|
1963
|
-
readonly strict_origin_when_cross_origin: "strict-origin-when-cross-origin";
|
|
1964
|
-
readonly unsafe_url: "unsafe-url";
|
|
1965
|
-
};
|
|
1966
|
-
export type ReferrerPolicyList =
|
|
1967
|
-
(typeof ReferrerPolicyList)[keyof typeof ReferrerPolicyList];
|
|
1968
|
-
export interface ResponseHeadersPolicyReferrerPolicy {
|
|
1969
|
-
Override: boolean | undefined;
|
|
1970
|
-
ReferrerPolicy: ReferrerPolicyList | undefined;
|
|
1971
|
-
}
|
|
1972
|
-
export interface ResponseHeadersPolicyStrictTransportSecurity {
|
|
1973
|
-
Override: boolean | undefined;
|
|
1974
|
-
IncludeSubdomains?: boolean;
|
|
1975
|
-
Preload?: boolean;
|
|
1976
|
-
AccessControlMaxAgeSec: number | undefined;
|
|
1977
|
-
}
|
|
1978
|
-
export interface ResponseHeadersPolicyXSSProtection {
|
|
1979
|
-
Override: boolean | undefined;
|
|
1980
|
-
Protection: boolean | undefined;
|
|
1981
|
-
ModeBlock?: boolean;
|
|
1982
|
-
ReportUri?: string;
|
|
1983
|
-
}
|
|
1984
|
-
export interface ResponseHeadersPolicySecurityHeadersConfig {
|
|
1985
|
-
XSSProtection?: ResponseHeadersPolicyXSSProtection;
|
|
1986
|
-
FrameOptions?: ResponseHeadersPolicyFrameOptions;
|
|
1987
|
-
ReferrerPolicy?: ResponseHeadersPolicyReferrerPolicy;
|
|
1988
|
-
ContentSecurityPolicy?: ResponseHeadersPolicyContentSecurityPolicy;
|
|
1989
|
-
ContentTypeOptions?: ResponseHeadersPolicyContentTypeOptions;
|
|
1990
|
-
StrictTransportSecurity?: ResponseHeadersPolicyStrictTransportSecurity;
|
|
1991
|
-
}
|
|
1992
|
-
export interface ResponseHeadersPolicyServerTimingHeadersConfig {
|
|
1993
|
-
Enabled: boolean | undefined;
|
|
1994
|
-
SamplingRate?: number;
|
|
1995
|
-
}
|
|
1996
|
-
export interface ResponseHeadersPolicyConfig {
|
|
1997
|
-
Comment?: string;
|
|
1998
|
-
Name: string | undefined;
|
|
1999
|
-
CorsConfig?: ResponseHeadersPolicyCorsConfig;
|
|
2000
|
-
SecurityHeadersConfig?: ResponseHeadersPolicySecurityHeadersConfig;
|
|
2001
|
-
ServerTimingHeadersConfig?: ResponseHeadersPolicyServerTimingHeadersConfig;
|
|
2002
|
-
CustomHeadersConfig?: ResponseHeadersPolicyCustomHeadersConfig;
|
|
2003
|
-
RemoveHeadersConfig?: ResponseHeadersPolicyRemoveHeadersConfig;
|
|
2004
|
-
}
|
|
2005
|
-
export interface CreateResponseHeadersPolicyRequest {
|
|
2006
|
-
ResponseHeadersPolicyConfig: ResponseHeadersPolicyConfig | undefined;
|
|
2007
|
-
}
|
|
2008
|
-
export interface ResponseHeadersPolicy {
|
|
2009
|
-
Id: string | undefined;
|
|
2010
|
-
LastModifiedTime: Date | undefined;
|
|
2011
|
-
ResponseHeadersPolicyConfig: ResponseHeadersPolicyConfig | undefined;
|
|
2012
|
-
}
|
|
2013
2013
|
export declare const OriginCustomHeaderFilterSensitiveLog: (
|
|
2014
2014
|
obj: OriginCustomHeader
|
|
2015
2015
|
) => any;
|
|
@@ -31,6 +31,7 @@ import {
|
|
|
31
31
|
Invalidation,
|
|
32
32
|
KeyGroup,
|
|
33
33
|
KeyGroupConfig,
|
|
34
|
+
KeyValueStore,
|
|
34
35
|
MonitoringSubscription,
|
|
35
36
|
OriginAccessControl,
|
|
36
37
|
OriginAccessControlConfig,
|
|
@@ -46,13 +47,83 @@ import {
|
|
|
46
47
|
PublicKeyConfig,
|
|
47
48
|
QueryArgProfileConfig,
|
|
48
49
|
RealtimeLogConfig,
|
|
49
|
-
|
|
50
|
-
|
|
50
|
+
ResponseHeadersPolicyContentSecurityPolicy,
|
|
51
|
+
ResponseHeadersPolicyContentTypeOptions,
|
|
52
|
+
ResponseHeadersPolicyCorsConfig,
|
|
53
|
+
ResponseHeadersPolicyCustomHeadersConfig,
|
|
54
|
+
ResponseHeadersPolicyRemoveHeadersConfig,
|
|
51
55
|
Restrictions,
|
|
52
56
|
Tags,
|
|
53
57
|
TrustedSigners,
|
|
54
58
|
ViewerCertificate,
|
|
55
59
|
} from "./models_0";
|
|
60
|
+
export declare const FrameOptionsList: {
|
|
61
|
+
readonly DENY: "DENY";
|
|
62
|
+
readonly SAMEORIGIN: "SAMEORIGIN";
|
|
63
|
+
};
|
|
64
|
+
export type FrameOptionsList =
|
|
65
|
+
(typeof FrameOptionsList)[keyof typeof FrameOptionsList];
|
|
66
|
+
export interface ResponseHeadersPolicyFrameOptions {
|
|
67
|
+
Override: boolean | undefined;
|
|
68
|
+
FrameOption: FrameOptionsList | undefined;
|
|
69
|
+
}
|
|
70
|
+
export declare const ReferrerPolicyList: {
|
|
71
|
+
readonly no_referrer: "no-referrer";
|
|
72
|
+
readonly no_referrer_when_downgrade: "no-referrer-when-downgrade";
|
|
73
|
+
readonly origin: "origin";
|
|
74
|
+
readonly origin_when_cross_origin: "origin-when-cross-origin";
|
|
75
|
+
readonly same_origin: "same-origin";
|
|
76
|
+
readonly strict_origin: "strict-origin";
|
|
77
|
+
readonly strict_origin_when_cross_origin: "strict-origin-when-cross-origin";
|
|
78
|
+
readonly unsafe_url: "unsafe-url";
|
|
79
|
+
};
|
|
80
|
+
export type ReferrerPolicyList =
|
|
81
|
+
(typeof ReferrerPolicyList)[keyof typeof ReferrerPolicyList];
|
|
82
|
+
export interface ResponseHeadersPolicyReferrerPolicy {
|
|
83
|
+
Override: boolean | undefined;
|
|
84
|
+
ReferrerPolicy: ReferrerPolicyList | undefined;
|
|
85
|
+
}
|
|
86
|
+
export interface ResponseHeadersPolicyStrictTransportSecurity {
|
|
87
|
+
Override: boolean | undefined;
|
|
88
|
+
IncludeSubdomains?: boolean;
|
|
89
|
+
Preload?: boolean;
|
|
90
|
+
AccessControlMaxAgeSec: number | undefined;
|
|
91
|
+
}
|
|
92
|
+
export interface ResponseHeadersPolicyXSSProtection {
|
|
93
|
+
Override: boolean | undefined;
|
|
94
|
+
Protection: boolean | undefined;
|
|
95
|
+
ModeBlock?: boolean;
|
|
96
|
+
ReportUri?: string;
|
|
97
|
+
}
|
|
98
|
+
export interface ResponseHeadersPolicySecurityHeadersConfig {
|
|
99
|
+
XSSProtection?: ResponseHeadersPolicyXSSProtection;
|
|
100
|
+
FrameOptions?: ResponseHeadersPolicyFrameOptions;
|
|
101
|
+
ReferrerPolicy?: ResponseHeadersPolicyReferrerPolicy;
|
|
102
|
+
ContentSecurityPolicy?: ResponseHeadersPolicyContentSecurityPolicy;
|
|
103
|
+
ContentTypeOptions?: ResponseHeadersPolicyContentTypeOptions;
|
|
104
|
+
StrictTransportSecurity?: ResponseHeadersPolicyStrictTransportSecurity;
|
|
105
|
+
}
|
|
106
|
+
export interface ResponseHeadersPolicyServerTimingHeadersConfig {
|
|
107
|
+
Enabled: boolean | undefined;
|
|
108
|
+
SamplingRate?: number;
|
|
109
|
+
}
|
|
110
|
+
export interface ResponseHeadersPolicyConfig {
|
|
111
|
+
Comment?: string;
|
|
112
|
+
Name: string | undefined;
|
|
113
|
+
CorsConfig?: ResponseHeadersPolicyCorsConfig;
|
|
114
|
+
SecurityHeadersConfig?: ResponseHeadersPolicySecurityHeadersConfig;
|
|
115
|
+
ServerTimingHeadersConfig?: ResponseHeadersPolicyServerTimingHeadersConfig;
|
|
116
|
+
CustomHeadersConfig?: ResponseHeadersPolicyCustomHeadersConfig;
|
|
117
|
+
RemoveHeadersConfig?: ResponseHeadersPolicyRemoveHeadersConfig;
|
|
118
|
+
}
|
|
119
|
+
export interface CreateResponseHeadersPolicyRequest {
|
|
120
|
+
ResponseHeadersPolicyConfig: ResponseHeadersPolicyConfig | undefined;
|
|
121
|
+
}
|
|
122
|
+
export interface ResponseHeadersPolicy {
|
|
123
|
+
Id: string | undefined;
|
|
124
|
+
LastModifiedTime: Date | undefined;
|
|
125
|
+
ResponseHeadersPolicyConfig: ResponseHeadersPolicyConfig | undefined;
|
|
126
|
+
}
|
|
56
127
|
export interface CreateResponseHeadersPolicyResult {
|
|
57
128
|
ResponseHeadersPolicy?: ResponseHeadersPolicy;
|
|
58
129
|
Location?: string;
|
|
@@ -306,6 +377,16 @@ export declare class ResourceInUse extends __BaseException {
|
|
|
306
377
|
Message?: string;
|
|
307
378
|
constructor(opts: __ExceptionOptionType<ResourceInUse, __BaseException>);
|
|
308
379
|
}
|
|
380
|
+
export interface DeleteKeyValueStoreRequest {
|
|
381
|
+
Name: string | undefined;
|
|
382
|
+
IfMatch: string | undefined;
|
|
383
|
+
}
|
|
384
|
+
export declare class EntityNotFound extends __BaseException {
|
|
385
|
+
readonly name: "EntityNotFound";
|
|
386
|
+
readonly $fault: "client";
|
|
387
|
+
Message?: string;
|
|
388
|
+
constructor(opts: __ExceptionOptionType<EntityNotFound, __BaseException>);
|
|
389
|
+
}
|
|
309
390
|
export interface DeleteMonitoringSubscriptionRequest {
|
|
310
391
|
DistributionId: string | undefined;
|
|
311
392
|
}
|
|
@@ -415,6 +496,13 @@ export interface DescribeFunctionResult {
|
|
|
415
496
|
FunctionSummary?: FunctionSummary;
|
|
416
497
|
ETag?: string;
|
|
417
498
|
}
|
|
499
|
+
export interface DescribeKeyValueStoreRequest {
|
|
500
|
+
Name: string | undefined;
|
|
501
|
+
}
|
|
502
|
+
export interface DescribeKeyValueStoreResult {
|
|
503
|
+
KeyValueStore?: KeyValueStore;
|
|
504
|
+
ETag?: string;
|
|
505
|
+
}
|
|
418
506
|
export interface GetCachePolicyRequest {
|
|
419
507
|
Id: string | undefined;
|
|
420
508
|
}
|
|
@@ -868,6 +956,20 @@ export interface KeyGroupList {
|
|
|
868
956
|
export interface ListKeyGroupsResult {
|
|
869
957
|
KeyGroupList?: KeyGroupList;
|
|
870
958
|
}
|
|
959
|
+
export interface ListKeyValueStoresRequest {
|
|
960
|
+
Marker?: string;
|
|
961
|
+
MaxItems?: number;
|
|
962
|
+
Status?: string;
|
|
963
|
+
}
|
|
964
|
+
export interface KeyValueStoreList {
|
|
965
|
+
NextMarker?: string;
|
|
966
|
+
MaxItems: number | undefined;
|
|
967
|
+
Quantity: number | undefined;
|
|
968
|
+
Items?: KeyValueStore[];
|
|
969
|
+
}
|
|
970
|
+
export interface ListKeyValueStoresResult {
|
|
971
|
+
KeyValueStoreList?: KeyValueStoreList;
|
|
972
|
+
}
|
|
871
973
|
export interface ListOriginAccessControlsRequest {
|
|
872
974
|
Marker?: string;
|
|
873
975
|
MaxItems?: number;
|
|
@@ -1135,6 +1237,15 @@ export interface UpdateKeyGroupResult {
|
|
|
1135
1237
|
KeyGroup?: KeyGroup;
|
|
1136
1238
|
ETag?: string;
|
|
1137
1239
|
}
|
|
1240
|
+
export interface UpdateKeyValueStoreRequest {
|
|
1241
|
+
Name: string | undefined;
|
|
1242
|
+
Comment: string | undefined;
|
|
1243
|
+
IfMatch: string | undefined;
|
|
1244
|
+
}
|
|
1245
|
+
export interface UpdateKeyValueStoreResult {
|
|
1246
|
+
KeyValueStore?: KeyValueStore;
|
|
1247
|
+
ETag?: string;
|
|
1248
|
+
}
|
|
1138
1249
|
export interface UpdateOriginAccessControlRequest {
|
|
1139
1250
|
OriginAccessControlConfig: OriginAccessControlConfig | undefined;
|
|
1140
1251
|
Id: string | undefined;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Paginator } from "@smithy/types";
|
|
2
|
+
import {
|
|
3
|
+
ListKeyValueStoresCommandInput,
|
|
4
|
+
ListKeyValueStoresCommandOutput,
|
|
5
|
+
} from "../commands/ListKeyValueStoresCommand";
|
|
6
|
+
import { CloudFrontPaginationConfiguration } from "./Interfaces";
|
|
7
|
+
export declare function paginateListKeyValueStores(
|
|
8
|
+
config: CloudFrontPaginationConfiguration,
|
|
9
|
+
input: ListKeyValueStoresCommandInput,
|
|
10
|
+
...additionalArguments: any
|
|
11
|
+
): Paginator<ListKeyValueStoresCommandOutput>;
|
|
@@ -2,4 +2,5 @@ export * from "./Interfaces";
|
|
|
2
2
|
export * from "./ListCloudFrontOriginAccessIdentitiesPaginator";
|
|
3
3
|
export * from "./ListDistributionsPaginator";
|
|
4
4
|
export * from "./ListInvalidationsPaginator";
|
|
5
|
+
export * from "./ListKeyValueStoresPaginator";
|
|
5
6
|
export * from "./ListStreamingDistributionsPaginator";
|
|
@@ -51,6 +51,10 @@ import {
|
|
|
51
51
|
CreateKeyGroupCommandInput,
|
|
52
52
|
CreateKeyGroupCommandOutput,
|
|
53
53
|
} from "../commands/CreateKeyGroupCommand";
|
|
54
|
+
import {
|
|
55
|
+
CreateKeyValueStoreCommandInput,
|
|
56
|
+
CreateKeyValueStoreCommandOutput,
|
|
57
|
+
} from "../commands/CreateKeyValueStoreCommand";
|
|
54
58
|
import {
|
|
55
59
|
CreateMonitoringSubscriptionCommandInput,
|
|
56
60
|
CreateMonitoringSubscriptionCommandOutput,
|
|
@@ -115,6 +119,10 @@ import {
|
|
|
115
119
|
DeleteKeyGroupCommandInput,
|
|
116
120
|
DeleteKeyGroupCommandOutput,
|
|
117
121
|
} from "../commands/DeleteKeyGroupCommand";
|
|
122
|
+
import {
|
|
123
|
+
DeleteKeyValueStoreCommandInput,
|
|
124
|
+
DeleteKeyValueStoreCommandOutput,
|
|
125
|
+
} from "../commands/DeleteKeyValueStoreCommand";
|
|
118
126
|
import {
|
|
119
127
|
DeleteMonitoringSubscriptionCommandInput,
|
|
120
128
|
DeleteMonitoringSubscriptionCommandOutput,
|
|
@@ -147,6 +155,10 @@ import {
|
|
|
147
155
|
DescribeFunctionCommandInput,
|
|
148
156
|
DescribeFunctionCommandOutput,
|
|
149
157
|
} from "../commands/DescribeFunctionCommand";
|
|
158
|
+
import {
|
|
159
|
+
DescribeKeyValueStoreCommandInput,
|
|
160
|
+
DescribeKeyValueStoreCommandOutput,
|
|
161
|
+
} from "../commands/DescribeKeyValueStoreCommand";
|
|
150
162
|
import {
|
|
151
163
|
GetCachePolicyCommandInput,
|
|
152
164
|
GetCachePolicyCommandOutput,
|
|
@@ -323,6 +335,10 @@ import {
|
|
|
323
335
|
ListKeyGroupsCommandInput,
|
|
324
336
|
ListKeyGroupsCommandOutput,
|
|
325
337
|
} from "../commands/ListKeyGroupsCommand";
|
|
338
|
+
import {
|
|
339
|
+
ListKeyValueStoresCommandInput,
|
|
340
|
+
ListKeyValueStoresCommandOutput,
|
|
341
|
+
} from "../commands/ListKeyValueStoresCommand";
|
|
326
342
|
import {
|
|
327
343
|
ListOriginAccessControlsCommandInput,
|
|
328
344
|
ListOriginAccessControlsCommandOutput,
|
|
@@ -403,6 +419,10 @@ import {
|
|
|
403
419
|
UpdateKeyGroupCommandInput,
|
|
404
420
|
UpdateKeyGroupCommandOutput,
|
|
405
421
|
} from "../commands/UpdateKeyGroupCommand";
|
|
422
|
+
import {
|
|
423
|
+
UpdateKeyValueStoreCommandInput,
|
|
424
|
+
UpdateKeyValueStoreCommandOutput,
|
|
425
|
+
} from "../commands/UpdateKeyValueStoreCommand";
|
|
406
426
|
import {
|
|
407
427
|
UpdateOriginAccessControlCommandInput,
|
|
408
428
|
UpdateOriginAccessControlCommandOutput,
|
|
@@ -475,6 +495,10 @@ export declare const se_CreateKeyGroupCommand: (
|
|
|
475
495
|
input: CreateKeyGroupCommandInput,
|
|
476
496
|
context: __SerdeContext
|
|
477
497
|
) => Promise<__HttpRequest>;
|
|
498
|
+
export declare const se_CreateKeyValueStoreCommand: (
|
|
499
|
+
input: CreateKeyValueStoreCommandInput,
|
|
500
|
+
context: __SerdeContext
|
|
501
|
+
) => Promise<__HttpRequest>;
|
|
478
502
|
export declare const se_CreateMonitoringSubscriptionCommand: (
|
|
479
503
|
input: CreateMonitoringSubscriptionCommandInput,
|
|
480
504
|
context: __SerdeContext
|
|
@@ -539,6 +563,10 @@ export declare const se_DeleteKeyGroupCommand: (
|
|
|
539
563
|
input: DeleteKeyGroupCommandInput,
|
|
540
564
|
context: __SerdeContext
|
|
541
565
|
) => Promise<__HttpRequest>;
|
|
566
|
+
export declare const se_DeleteKeyValueStoreCommand: (
|
|
567
|
+
input: DeleteKeyValueStoreCommandInput,
|
|
568
|
+
context: __SerdeContext
|
|
569
|
+
) => Promise<__HttpRequest>;
|
|
542
570
|
export declare const se_DeleteMonitoringSubscriptionCommand: (
|
|
543
571
|
input: DeleteMonitoringSubscriptionCommandInput,
|
|
544
572
|
context: __SerdeContext
|
|
@@ -571,6 +599,10 @@ export declare const se_DescribeFunctionCommand: (
|
|
|
571
599
|
input: DescribeFunctionCommandInput,
|
|
572
600
|
context: __SerdeContext
|
|
573
601
|
) => Promise<__HttpRequest>;
|
|
602
|
+
export declare const se_DescribeKeyValueStoreCommand: (
|
|
603
|
+
input: DescribeKeyValueStoreCommandInput,
|
|
604
|
+
context: __SerdeContext
|
|
605
|
+
) => Promise<__HttpRequest>;
|
|
574
606
|
export declare const se_GetCachePolicyCommand: (
|
|
575
607
|
input: GetCachePolicyCommandInput,
|
|
576
608
|
context: __SerdeContext
|
|
@@ -747,6 +779,10 @@ export declare const se_ListKeyGroupsCommand: (
|
|
|
747
779
|
input: ListKeyGroupsCommandInput,
|
|
748
780
|
context: __SerdeContext
|
|
749
781
|
) => Promise<__HttpRequest>;
|
|
782
|
+
export declare const se_ListKeyValueStoresCommand: (
|
|
783
|
+
input: ListKeyValueStoresCommandInput,
|
|
784
|
+
context: __SerdeContext
|
|
785
|
+
) => Promise<__HttpRequest>;
|
|
750
786
|
export declare const se_ListOriginAccessControlsCommand: (
|
|
751
787
|
input: ListOriginAccessControlsCommandInput,
|
|
752
788
|
context: __SerdeContext
|
|
@@ -827,6 +863,10 @@ export declare const se_UpdateKeyGroupCommand: (
|
|
|
827
863
|
input: UpdateKeyGroupCommandInput,
|
|
828
864
|
context: __SerdeContext
|
|
829
865
|
) => Promise<__HttpRequest>;
|
|
866
|
+
export declare const se_UpdateKeyValueStoreCommand: (
|
|
867
|
+
input: UpdateKeyValueStoreCommandInput,
|
|
868
|
+
context: __SerdeContext
|
|
869
|
+
) => Promise<__HttpRequest>;
|
|
830
870
|
export declare const se_UpdateOriginAccessControlCommand: (
|
|
831
871
|
input: UpdateOriginAccessControlCommandInput,
|
|
832
872
|
context: __SerdeContext
|
|
@@ -899,6 +939,10 @@ export declare const de_CreateKeyGroupCommand: (
|
|
|
899
939
|
output: __HttpResponse,
|
|
900
940
|
context: __SerdeContext
|
|
901
941
|
) => Promise<CreateKeyGroupCommandOutput>;
|
|
942
|
+
export declare const de_CreateKeyValueStoreCommand: (
|
|
943
|
+
output: __HttpResponse,
|
|
944
|
+
context: __SerdeContext
|
|
945
|
+
) => Promise<CreateKeyValueStoreCommandOutput>;
|
|
902
946
|
export declare const de_CreateMonitoringSubscriptionCommand: (
|
|
903
947
|
output: __HttpResponse,
|
|
904
948
|
context: __SerdeContext
|
|
@@ -963,6 +1007,10 @@ export declare const de_DeleteKeyGroupCommand: (
|
|
|
963
1007
|
output: __HttpResponse,
|
|
964
1008
|
context: __SerdeContext
|
|
965
1009
|
) => Promise<DeleteKeyGroupCommandOutput>;
|
|
1010
|
+
export declare const de_DeleteKeyValueStoreCommand: (
|
|
1011
|
+
output: __HttpResponse,
|
|
1012
|
+
context: __SerdeContext
|
|
1013
|
+
) => Promise<DeleteKeyValueStoreCommandOutput>;
|
|
966
1014
|
export declare const de_DeleteMonitoringSubscriptionCommand: (
|
|
967
1015
|
output: __HttpResponse,
|
|
968
1016
|
context: __SerdeContext
|
|
@@ -995,6 +1043,10 @@ export declare const de_DescribeFunctionCommand: (
|
|
|
995
1043
|
output: __HttpResponse,
|
|
996
1044
|
context: __SerdeContext
|
|
997
1045
|
) => Promise<DescribeFunctionCommandOutput>;
|
|
1046
|
+
export declare const de_DescribeKeyValueStoreCommand: (
|
|
1047
|
+
output: __HttpResponse,
|
|
1048
|
+
context: __SerdeContext
|
|
1049
|
+
) => Promise<DescribeKeyValueStoreCommandOutput>;
|
|
998
1050
|
export declare const de_GetCachePolicyCommand: (
|
|
999
1051
|
output: __HttpResponse,
|
|
1000
1052
|
context: __SerdeContext
|
|
@@ -1171,6 +1223,10 @@ export declare const de_ListKeyGroupsCommand: (
|
|
|
1171
1223
|
output: __HttpResponse,
|
|
1172
1224
|
context: __SerdeContext
|
|
1173
1225
|
) => Promise<ListKeyGroupsCommandOutput>;
|
|
1226
|
+
export declare const de_ListKeyValueStoresCommand: (
|
|
1227
|
+
output: __HttpResponse,
|
|
1228
|
+
context: __SerdeContext
|
|
1229
|
+
) => Promise<ListKeyValueStoresCommandOutput>;
|
|
1174
1230
|
export declare const de_ListOriginAccessControlsCommand: (
|
|
1175
1231
|
output: __HttpResponse,
|
|
1176
1232
|
context: __SerdeContext
|
|
@@ -1251,6 +1307,10 @@ export declare const de_UpdateKeyGroupCommand: (
|
|
|
1251
1307
|
output: __HttpResponse,
|
|
1252
1308
|
context: __SerdeContext
|
|
1253
1309
|
) => Promise<UpdateKeyGroupCommandOutput>;
|
|
1310
|
+
export declare const de_UpdateKeyValueStoreCommand: (
|
|
1311
|
+
output: __HttpResponse,
|
|
1312
|
+
context: __SerdeContext
|
|
1313
|
+
) => Promise<UpdateKeyValueStoreCommandOutput>;
|
|
1254
1314
|
export declare const de_UpdateOriginAccessControlCommand: (
|
|
1255
1315
|
output: __HttpResponse,
|
|
1256
1316
|
context: __SerdeContext
|
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.456.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",
|