@aws-sdk/client-cloudfront 3.1173.0 → 3.1174.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 +11 -5
- package/dist-es/models/enums.js +4 -0
- package/dist-es/schemas/schemas_0.js +5 -4
- package/dist-types/commands/CopyDistributionCommand.d.ts +2 -0
- package/dist-types/commands/CreateDistributionCommand.d.ts +4 -0
- package/dist-types/commands/CreateDistributionWithTagsCommand.d.ts +4 -0
- package/dist-types/commands/GetDistributionCommand.d.ts +2 -0
- package/dist-types/commands/GetDistributionConfigCommand.d.ts +2 -0
- package/dist-types/commands/ListDistributionsByAnycastIpListIdCommand.d.ts +2 -0
- package/dist-types/commands/ListDistributionsByConnectionFunctionCommand.d.ts +2 -0
- package/dist-types/commands/ListDistributionsByConnectionModeCommand.d.ts +2 -0
- package/dist-types/commands/ListDistributionsByRealtimeLogConfigCommand.d.ts +2 -0
- package/dist-types/commands/ListDistributionsByTrustStoreCommand.d.ts +2 -0
- package/dist-types/commands/ListDistributionsByWebACLIdCommand.d.ts +2 -0
- package/dist-types/commands/ListDistributionsCommand.d.ts +2 -0
- package/dist-types/commands/UpdateDistributionCommand.d.ts +4 -0
- package/dist-types/commands/UpdateDistributionWithStagingConfigCommand.d.ts +2 -0
- package/dist-types/models/enums.d.ts +12 -0
- package/dist-types/models/models_0.d.ts +11 -1
- package/dist-types/ts3.4/models/enums.d.ts +5 -0
- package/dist-types/ts3.4/models/models_0.d.ts +3 -0
- package/package.json +1 -1
package/dist-cjs/index.js
CHANGED
|
@@ -69,7 +69,7 @@ const commonParams = {
|
|
|
69
69
|
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
70
70
|
};
|
|
71
71
|
|
|
72
|
-
var version = "3.
|
|
72
|
+
var version = "3.1173.0";
|
|
73
73
|
var packageInfo = {
|
|
74
74
|
version: version};
|
|
75
75
|
|
|
@@ -3232,6 +3232,7 @@ const _OGM = "OriginGroupMember";
|
|
|
3232
3232
|
const _OGML = "OriginGroupMemberList";
|
|
3233
3233
|
const _OGMr = "OriginGroupMembers";
|
|
3234
3234
|
const _OGr = "OriginGroup";
|
|
3235
|
+
const _OHV = "OriginHttpVersion";
|
|
3235
3236
|
const _OI = "OriginId";
|
|
3236
3237
|
const _OKT = "OriginKeepaliveTimeout";
|
|
3237
3238
|
const _OL = "OriginList";
|
|
@@ -5071,8 +5072,8 @@ var Customizations$ = [3, n0, _Cu,
|
|
|
5071
5072
|
];
|
|
5072
5073
|
var CustomOriginConfig$ = [3, n0, _COC,
|
|
5073
5074
|
0,
|
|
5074
|
-
[_HTTPP, _HTTPSP, _OPP, _OSP, _ORT, _OKT, _IAT, _OMC],
|
|
5075
|
-
[1, 1, 0, [() => OriginSslProtocols$, 0], 1, 1, 0, () => OriginMtlsConfig
|
|
5075
|
+
[_HTTPP, _HTTPSP, _OPP, _OSP, _ORT, _OKT, _IAT, _OMC, _OHV],
|
|
5076
|
+
[1, 1, 0, [() => OriginSslProtocols$, 0], 1, 1, 0, () => OriginMtlsConfig$, 0], 3
|
|
5076
5077
|
];
|
|
5077
5078
|
var DefaultCacheBehavior$ = [3, n0, _DCB,
|
|
5078
5079
|
0,
|
|
@@ -7101,8 +7102,8 @@ var VpcOrigin$ = [3, n0, _VO,
|
|
|
7101
7102
|
];
|
|
7102
7103
|
var VpcOriginConfig$ = [3, n0, _VOC,
|
|
7103
7104
|
0,
|
|
7104
|
-
[_VOI, _OAI, _ORT, _OKT],
|
|
7105
|
-
[0, 0, 1, 1], 1
|
|
7105
|
+
[_VOI, _OAI, _ORT, _OKT, _OHV],
|
|
7106
|
+
[0, 0, 1, 1, 0], 1
|
|
7106
7107
|
];
|
|
7107
7108
|
var VpcOriginEndpointConfig$ = [3, n0, _VOEC,
|
|
7108
7109
|
0,
|
|
@@ -9037,6 +9038,10 @@ const OriginGroupSelectionCriteria = {
|
|
|
9037
9038
|
Default: "default",
|
|
9038
9039
|
MediaQualityBased: "media-quality-based",
|
|
9039
9040
|
};
|
|
9041
|
+
const OriginHttpVersion = {
|
|
9042
|
+
Http1_1: "http1.1",
|
|
9043
|
+
Http2: "http2",
|
|
9044
|
+
};
|
|
9040
9045
|
const OriginProtocolPolicy = {
|
|
9041
9046
|
http_only: "http-only",
|
|
9042
9047
|
https_only: "https-only",
|
|
@@ -10050,6 +10055,7 @@ exports.OriginGroupMember$ = OriginGroupMember$;
|
|
|
10050
10055
|
exports.OriginGroupMembers$ = OriginGroupMembers$;
|
|
10051
10056
|
exports.OriginGroupSelectionCriteria = OriginGroupSelectionCriteria;
|
|
10052
10057
|
exports.OriginGroups$ = OriginGroups$;
|
|
10058
|
+
exports.OriginHttpVersion = OriginHttpVersion;
|
|
10053
10059
|
exports.OriginMtlsConfig$ = OriginMtlsConfig$;
|
|
10054
10060
|
exports.OriginProtocolPolicy = OriginProtocolPolicy;
|
|
10055
10061
|
exports.OriginRequestPolicy$ = OriginRequestPolicy$;
|
package/dist-es/models/enums.js
CHANGED
|
@@ -100,6 +100,10 @@ export const OriginGroupSelectionCriteria = {
|
|
|
100
100
|
Default: "default",
|
|
101
101
|
MediaQualityBased: "media-quality-based",
|
|
102
102
|
};
|
|
103
|
+
export const OriginHttpVersion = {
|
|
104
|
+
Http1_1: "http1.1",
|
|
105
|
+
Http2: "http2",
|
|
106
|
+
};
|
|
103
107
|
export const OriginProtocolPolicy = {
|
|
104
108
|
http_only: "http-only",
|
|
105
109
|
https_only: "https-only",
|
|
@@ -800,6 +800,7 @@ const _OGM = "OriginGroupMember";
|
|
|
800
800
|
const _OGML = "OriginGroupMemberList";
|
|
801
801
|
const _OGMr = "OriginGroupMembers";
|
|
802
802
|
const _OGr = "OriginGroup";
|
|
803
|
+
const _OHV = "OriginHttpVersion";
|
|
803
804
|
const _OI = "OriginId";
|
|
804
805
|
const _OKT = "OriginKeepaliveTimeout";
|
|
805
806
|
const _OL = "OriginList";
|
|
@@ -2642,8 +2643,8 @@ export var Customizations$ = [3, n0, _Cu,
|
|
|
2642
2643
|
];
|
|
2643
2644
|
export var CustomOriginConfig$ = [3, n0, _COC,
|
|
2644
2645
|
0,
|
|
2645
|
-
[_HTTPP, _HTTPSP, _OPP, _OSP, _ORT, _OKT, _IAT, _OMC],
|
|
2646
|
-
[1, 1, 0, [() => OriginSslProtocols$, 0], 1, 1, 0, () => OriginMtlsConfig
|
|
2646
|
+
[_HTTPP, _HTTPSP, _OPP, _OSP, _ORT, _OKT, _IAT, _OMC, _OHV],
|
|
2647
|
+
[1, 1, 0, [() => OriginSslProtocols$, 0], 1, 1, 0, () => OriginMtlsConfig$, 0], 3
|
|
2647
2648
|
];
|
|
2648
2649
|
export var DefaultCacheBehavior$ = [3, n0, _DCB,
|
|
2649
2650
|
0,
|
|
@@ -4672,8 +4673,8 @@ export var VpcOrigin$ = [3, n0, _VO,
|
|
|
4672
4673
|
];
|
|
4673
4674
|
export var VpcOriginConfig$ = [3, n0, _VOC,
|
|
4674
4675
|
0,
|
|
4675
|
-
[_VOI, _OAI, _ORT, _OKT],
|
|
4676
|
-
[0, 0, 1, 1], 1
|
|
4676
|
+
[_VOI, _OAI, _ORT, _OKT, _OHV],
|
|
4677
|
+
[0, 0, 1, 1, 0], 1
|
|
4677
4678
|
];
|
|
4678
4679
|
export var VpcOriginEndpointConfig$ = [3, n0, _VOEC,
|
|
4679
4680
|
0,
|
|
@@ -125,12 +125,14 @@ declare const CopyDistributionCommand_base: {
|
|
|
125
125
|
* // OriginMtlsConfig: { // OriginMtlsConfig
|
|
126
126
|
* // ClientCertificateArn: "STRING_VALUE", // required
|
|
127
127
|
* // },
|
|
128
|
+
* // OriginHttpVersion: "http1.1" || "http2",
|
|
128
129
|
* // },
|
|
129
130
|
* // VpcOriginConfig: { // VpcOriginConfig
|
|
130
131
|
* // VpcOriginId: "STRING_VALUE", // required
|
|
131
132
|
* // OwnerAccountId: "STRING_VALUE",
|
|
132
133
|
* // OriginReadTimeout: Number("int"),
|
|
133
134
|
* // OriginKeepaliveTimeout: Number("int"),
|
|
135
|
+
* // OriginHttpVersion: "http1.1" || "http2",
|
|
134
136
|
* // },
|
|
135
137
|
* // ConnectionAttempts: Number("int"),
|
|
136
138
|
* // ConnectionTimeout: Number("int"),
|
|
@@ -79,12 +79,14 @@ declare const CreateDistributionCommand_base: {
|
|
|
79
79
|
* OriginMtlsConfig: { // OriginMtlsConfig
|
|
80
80
|
* ClientCertificateArn: "STRING_VALUE", // required
|
|
81
81
|
* },
|
|
82
|
+
* OriginHttpVersion: "http1.1" || "http2",
|
|
82
83
|
* },
|
|
83
84
|
* VpcOriginConfig: { // VpcOriginConfig
|
|
84
85
|
* VpcOriginId: "STRING_VALUE", // required
|
|
85
86
|
* OwnerAccountId: "STRING_VALUE",
|
|
86
87
|
* OriginReadTimeout: Number("int"),
|
|
87
88
|
* OriginKeepaliveTimeout: Number("int"),
|
|
89
|
+
* OriginHttpVersion: "http1.1" || "http2",
|
|
88
90
|
* },
|
|
89
91
|
* ConnectionAttempts: Number("int"),
|
|
90
92
|
* ConnectionTimeout: Number("int"),
|
|
@@ -456,12 +458,14 @@ declare const CreateDistributionCommand_base: {
|
|
|
456
458
|
* // OriginMtlsConfig: { // OriginMtlsConfig
|
|
457
459
|
* // ClientCertificateArn: "STRING_VALUE", // required
|
|
458
460
|
* // },
|
|
461
|
+
* // OriginHttpVersion: "http1.1" || "http2",
|
|
459
462
|
* // },
|
|
460
463
|
* // VpcOriginConfig: { // VpcOriginConfig
|
|
461
464
|
* // VpcOriginId: "STRING_VALUE", // required
|
|
462
465
|
* // OwnerAccountId: "STRING_VALUE",
|
|
463
466
|
* // OriginReadTimeout: Number("int"),
|
|
464
467
|
* // OriginKeepaliveTimeout: Number("int"),
|
|
468
|
+
* // OriginHttpVersion: "http1.1" || "http2",
|
|
465
469
|
* // },
|
|
466
470
|
* // ConnectionAttempts: Number("int"),
|
|
467
471
|
* // ConnectionTimeout: Number("int"),
|
|
@@ -80,12 +80,14 @@ declare const CreateDistributionWithTagsCommand_base: {
|
|
|
80
80
|
* OriginMtlsConfig: { // OriginMtlsConfig
|
|
81
81
|
* ClientCertificateArn: "STRING_VALUE", // required
|
|
82
82
|
* },
|
|
83
|
+
* OriginHttpVersion: "http1.1" || "http2",
|
|
83
84
|
* },
|
|
84
85
|
* VpcOriginConfig: { // VpcOriginConfig
|
|
85
86
|
* VpcOriginId: "STRING_VALUE", // required
|
|
86
87
|
* OwnerAccountId: "STRING_VALUE",
|
|
87
88
|
* OriginReadTimeout: Number("int"),
|
|
88
89
|
* OriginKeepaliveTimeout: Number("int"),
|
|
90
|
+
* OriginHttpVersion: "http1.1" || "http2",
|
|
89
91
|
* },
|
|
90
92
|
* ConnectionAttempts: Number("int"),
|
|
91
93
|
* ConnectionTimeout: Number("int"),
|
|
@@ -466,12 +468,14 @@ declare const CreateDistributionWithTagsCommand_base: {
|
|
|
466
468
|
* // OriginMtlsConfig: { // OriginMtlsConfig
|
|
467
469
|
* // ClientCertificateArn: "STRING_VALUE", // required
|
|
468
470
|
* // },
|
|
471
|
+
* // OriginHttpVersion: "http1.1" || "http2",
|
|
469
472
|
* // },
|
|
470
473
|
* // VpcOriginConfig: { // VpcOriginConfig
|
|
471
474
|
* // VpcOriginId: "STRING_VALUE", // required
|
|
472
475
|
* // OwnerAccountId: "STRING_VALUE",
|
|
473
476
|
* // OriginReadTimeout: Number("int"),
|
|
474
477
|
* // OriginKeepaliveTimeout: Number("int"),
|
|
478
|
+
* // OriginHttpVersion: "http1.1" || "http2",
|
|
475
479
|
* // },
|
|
476
480
|
* // ConnectionAttempts: Number("int"),
|
|
477
481
|
* // ConnectionTimeout: Number("int"),
|
|
@@ -121,12 +121,14 @@ declare const GetDistributionCommand_base: {
|
|
|
121
121
|
* // OriginMtlsConfig: { // OriginMtlsConfig
|
|
122
122
|
* // ClientCertificateArn: "STRING_VALUE", // required
|
|
123
123
|
* // },
|
|
124
|
+
* // OriginHttpVersion: "http1.1" || "http2",
|
|
124
125
|
* // },
|
|
125
126
|
* // VpcOriginConfig: { // VpcOriginConfig
|
|
126
127
|
* // VpcOriginId: "STRING_VALUE", // required
|
|
127
128
|
* // OwnerAccountId: "STRING_VALUE",
|
|
128
129
|
* // OriginReadTimeout: Number("int"),
|
|
129
130
|
* // OriginKeepaliveTimeout: Number("int"),
|
|
131
|
+
* // OriginHttpVersion: "http1.1" || "http2",
|
|
130
132
|
* // },
|
|
131
133
|
* // ConnectionAttempts: Number("int"),
|
|
132
134
|
* // ConnectionTimeout: Number("int"),
|
|
@@ -84,12 +84,14 @@ declare const GetDistributionConfigCommand_base: {
|
|
|
84
84
|
* // OriginMtlsConfig: { // OriginMtlsConfig
|
|
85
85
|
* // ClientCertificateArn: "STRING_VALUE", // required
|
|
86
86
|
* // },
|
|
87
|
+
* // OriginHttpVersion: "http1.1" || "http2",
|
|
87
88
|
* // },
|
|
88
89
|
* // VpcOriginConfig: { // VpcOriginConfig
|
|
89
90
|
* // VpcOriginId: "STRING_VALUE", // required
|
|
90
91
|
* // OwnerAccountId: "STRING_VALUE",
|
|
91
92
|
* // OriginReadTimeout: Number("int"),
|
|
92
93
|
* // OriginKeepaliveTimeout: Number("int"),
|
|
94
|
+
* // OriginHttpVersion: "http1.1" || "http2",
|
|
93
95
|
* // },
|
|
94
96
|
* // ConnectionAttempts: Number("int"),
|
|
95
97
|
* // ConnectionTimeout: Number("int"),
|
|
@@ -97,12 +97,14 @@ declare const ListDistributionsByAnycastIpListIdCommand_base: {
|
|
|
97
97
|
* // OriginMtlsConfig: { // OriginMtlsConfig
|
|
98
98
|
* // ClientCertificateArn: "STRING_VALUE", // required
|
|
99
99
|
* // },
|
|
100
|
+
* // OriginHttpVersion: "http1.1" || "http2",
|
|
100
101
|
* // },
|
|
101
102
|
* // VpcOriginConfig: { // VpcOriginConfig
|
|
102
103
|
* // VpcOriginId: "STRING_VALUE", // required
|
|
103
104
|
* // OwnerAccountId: "STRING_VALUE",
|
|
104
105
|
* // OriginReadTimeout: Number("int"),
|
|
105
106
|
* // OriginKeepaliveTimeout: Number("int"),
|
|
107
|
+
* // OriginHttpVersion: "http1.1" || "http2",
|
|
106
108
|
* // },
|
|
107
109
|
* // ConnectionAttempts: Number("int"),
|
|
108
110
|
* // ConnectionTimeout: Number("int"),
|
|
@@ -97,12 +97,14 @@ declare const ListDistributionsByConnectionFunctionCommand_base: {
|
|
|
97
97
|
* // OriginMtlsConfig: { // OriginMtlsConfig
|
|
98
98
|
* // ClientCertificateArn: "STRING_VALUE", // required
|
|
99
99
|
* // },
|
|
100
|
+
* // OriginHttpVersion: "http1.1" || "http2",
|
|
100
101
|
* // },
|
|
101
102
|
* // VpcOriginConfig: { // VpcOriginConfig
|
|
102
103
|
* // VpcOriginId: "STRING_VALUE", // required
|
|
103
104
|
* // OwnerAccountId: "STRING_VALUE",
|
|
104
105
|
* // OriginReadTimeout: Number("int"),
|
|
105
106
|
* // OriginKeepaliveTimeout: Number("int"),
|
|
107
|
+
* // OriginHttpVersion: "http1.1" || "http2",
|
|
106
108
|
* // },
|
|
107
109
|
* // ConnectionAttempts: Number("int"),
|
|
108
110
|
* // ConnectionTimeout: Number("int"),
|
|
@@ -97,12 +97,14 @@ declare const ListDistributionsByConnectionModeCommand_base: {
|
|
|
97
97
|
* // OriginMtlsConfig: { // OriginMtlsConfig
|
|
98
98
|
* // ClientCertificateArn: "STRING_VALUE", // required
|
|
99
99
|
* // },
|
|
100
|
+
* // OriginHttpVersion: "http1.1" || "http2",
|
|
100
101
|
* // },
|
|
101
102
|
* // VpcOriginConfig: { // VpcOriginConfig
|
|
102
103
|
* // VpcOriginId: "STRING_VALUE", // required
|
|
103
104
|
* // OwnerAccountId: "STRING_VALUE",
|
|
104
105
|
* // OriginReadTimeout: Number("int"),
|
|
105
106
|
* // OriginKeepaliveTimeout: Number("int"),
|
|
107
|
+
* // OriginHttpVersion: "http1.1" || "http2",
|
|
106
108
|
* // },
|
|
107
109
|
* // ConnectionAttempts: Number("int"),
|
|
108
110
|
* // ConnectionTimeout: Number("int"),
|
|
@@ -98,12 +98,14 @@ declare const ListDistributionsByRealtimeLogConfigCommand_base: {
|
|
|
98
98
|
* // OriginMtlsConfig: { // OriginMtlsConfig
|
|
99
99
|
* // ClientCertificateArn: "STRING_VALUE", // required
|
|
100
100
|
* // },
|
|
101
|
+
* // OriginHttpVersion: "http1.1" || "http2",
|
|
101
102
|
* // },
|
|
102
103
|
* // VpcOriginConfig: { // VpcOriginConfig
|
|
103
104
|
* // VpcOriginId: "STRING_VALUE", // required
|
|
104
105
|
* // OwnerAccountId: "STRING_VALUE",
|
|
105
106
|
* // OriginReadTimeout: Number("int"),
|
|
106
107
|
* // OriginKeepaliveTimeout: Number("int"),
|
|
108
|
+
* // OriginHttpVersion: "http1.1" || "http2",
|
|
107
109
|
* // },
|
|
108
110
|
* // ConnectionAttempts: Number("int"),
|
|
109
111
|
* // ConnectionTimeout: Number("int"),
|
|
@@ -97,12 +97,14 @@ declare const ListDistributionsByTrustStoreCommand_base: {
|
|
|
97
97
|
* // OriginMtlsConfig: { // OriginMtlsConfig
|
|
98
98
|
* // ClientCertificateArn: "STRING_VALUE", // required
|
|
99
99
|
* // },
|
|
100
|
+
* // OriginHttpVersion: "http1.1" || "http2",
|
|
100
101
|
* // },
|
|
101
102
|
* // VpcOriginConfig: { // VpcOriginConfig
|
|
102
103
|
* // VpcOriginId: "STRING_VALUE", // required
|
|
103
104
|
* // OwnerAccountId: "STRING_VALUE",
|
|
104
105
|
* // OriginReadTimeout: Number("int"),
|
|
105
106
|
* // OriginKeepaliveTimeout: Number("int"),
|
|
107
|
+
* // OriginHttpVersion: "http1.1" || "http2",
|
|
106
108
|
* // },
|
|
107
109
|
* // ConnectionAttempts: Number("int"),
|
|
108
110
|
* // ConnectionTimeout: Number("int"),
|
|
@@ -97,12 +97,14 @@ declare const ListDistributionsByWebACLIdCommand_base: {
|
|
|
97
97
|
* // OriginMtlsConfig: { // OriginMtlsConfig
|
|
98
98
|
* // ClientCertificateArn: "STRING_VALUE", // required
|
|
99
99
|
* // },
|
|
100
|
+
* // OriginHttpVersion: "http1.1" || "http2",
|
|
100
101
|
* // },
|
|
101
102
|
* // VpcOriginConfig: { // VpcOriginConfig
|
|
102
103
|
* // VpcOriginId: "STRING_VALUE", // required
|
|
103
104
|
* // OwnerAccountId: "STRING_VALUE",
|
|
104
105
|
* // OriginReadTimeout: Number("int"),
|
|
105
106
|
* // OriginKeepaliveTimeout: Number("int"),
|
|
107
|
+
* // OriginHttpVersion: "http1.1" || "http2",
|
|
106
108
|
* // },
|
|
107
109
|
* // ConnectionAttempts: Number("int"),
|
|
108
110
|
* // ConnectionTimeout: Number("int"),
|
|
@@ -96,12 +96,14 @@ declare const ListDistributionsCommand_base: {
|
|
|
96
96
|
* // OriginMtlsConfig: { // OriginMtlsConfig
|
|
97
97
|
* // ClientCertificateArn: "STRING_VALUE", // required
|
|
98
98
|
* // },
|
|
99
|
+
* // OriginHttpVersion: "http1.1" || "http2",
|
|
99
100
|
* // },
|
|
100
101
|
* // VpcOriginConfig: { // VpcOriginConfig
|
|
101
102
|
* // VpcOriginId: "STRING_VALUE", // required
|
|
102
103
|
* // OwnerAccountId: "STRING_VALUE",
|
|
103
104
|
* // OriginReadTimeout: Number("int"),
|
|
104
105
|
* // OriginKeepaliveTimeout: Number("int"),
|
|
106
|
+
* // OriginHttpVersion: "http1.1" || "http2",
|
|
105
107
|
* // },
|
|
106
108
|
* // ConnectionAttempts: Number("int"),
|
|
107
109
|
* // ConnectionTimeout: Number("int"),
|
|
@@ -79,12 +79,14 @@ declare const UpdateDistributionCommand_base: {
|
|
|
79
79
|
* OriginMtlsConfig: { // OriginMtlsConfig
|
|
80
80
|
* ClientCertificateArn: "STRING_VALUE", // required
|
|
81
81
|
* },
|
|
82
|
+
* OriginHttpVersion: "http1.1" || "http2",
|
|
82
83
|
* },
|
|
83
84
|
* VpcOriginConfig: { // VpcOriginConfig
|
|
84
85
|
* VpcOriginId: "STRING_VALUE", // required
|
|
85
86
|
* OwnerAccountId: "STRING_VALUE",
|
|
86
87
|
* OriginReadTimeout: Number("int"),
|
|
87
88
|
* OriginKeepaliveTimeout: Number("int"),
|
|
89
|
+
* OriginHttpVersion: "http1.1" || "http2",
|
|
88
90
|
* },
|
|
89
91
|
* ConnectionAttempts: Number("int"),
|
|
90
92
|
* ConnectionTimeout: Number("int"),
|
|
@@ -458,12 +460,14 @@ declare const UpdateDistributionCommand_base: {
|
|
|
458
460
|
* // OriginMtlsConfig: { // OriginMtlsConfig
|
|
459
461
|
* // ClientCertificateArn: "STRING_VALUE", // required
|
|
460
462
|
* // },
|
|
463
|
+
* // OriginHttpVersion: "http1.1" || "http2",
|
|
461
464
|
* // },
|
|
462
465
|
* // VpcOriginConfig: { // VpcOriginConfig
|
|
463
466
|
* // VpcOriginId: "STRING_VALUE", // required
|
|
464
467
|
* // OwnerAccountId: "STRING_VALUE",
|
|
465
468
|
* // OriginReadTimeout: Number("int"),
|
|
466
469
|
* // OriginKeepaliveTimeout: Number("int"),
|
|
470
|
+
* // OriginHttpVersion: "http1.1" || "http2",
|
|
467
471
|
* // },
|
|
468
472
|
* // ConnectionAttempts: Number("int"),
|
|
469
473
|
* // ConnectionTimeout: Number("int"),
|
|
@@ -123,12 +123,14 @@ declare const UpdateDistributionWithStagingConfigCommand_base: {
|
|
|
123
123
|
* // OriginMtlsConfig: { // OriginMtlsConfig
|
|
124
124
|
* // ClientCertificateArn: "STRING_VALUE", // required
|
|
125
125
|
* // },
|
|
126
|
+
* // OriginHttpVersion: "http1.1" || "http2",
|
|
126
127
|
* // },
|
|
127
128
|
* // VpcOriginConfig: { // VpcOriginConfig
|
|
128
129
|
* // VpcOriginId: "STRING_VALUE", // required
|
|
129
130
|
* // OwnerAccountId: "STRING_VALUE",
|
|
130
131
|
* // OriginReadTimeout: Number("int"),
|
|
131
132
|
* // OriginKeepaliveTimeout: Number("int"),
|
|
133
|
+
* // OriginHttpVersion: "http1.1" || "http2",
|
|
132
134
|
* // },
|
|
133
135
|
* // ConnectionAttempts: Number("int"),
|
|
134
136
|
* // ConnectionTimeout: Number("int"),
|
|
@@ -236,6 +236,18 @@ export declare const OriginGroupSelectionCriteria: {
|
|
|
236
236
|
* @public
|
|
237
237
|
*/
|
|
238
238
|
export type OriginGroupSelectionCriteria = (typeof OriginGroupSelectionCriteria)[keyof typeof OriginGroupSelectionCriteria];
|
|
239
|
+
/**
|
|
240
|
+
* @public
|
|
241
|
+
* @enum
|
|
242
|
+
*/
|
|
243
|
+
export declare const OriginHttpVersion: {
|
|
244
|
+
readonly Http1_1: "http1.1";
|
|
245
|
+
readonly Http2: "http2";
|
|
246
|
+
};
|
|
247
|
+
/**
|
|
248
|
+
* @public
|
|
249
|
+
*/
|
|
250
|
+
export type OriginHttpVersion = (typeof OriginHttpVersion)[keyof typeof OriginHttpVersion];
|
|
239
251
|
/**
|
|
240
252
|
* @public
|
|
241
253
|
* @enum
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { CachePolicyCookieBehavior, CachePolicyHeaderBehavior, CachePolicyQueryStringBehavior, CachePolicyType, CertificateSource, CertificateTransparencyLoggingPreference, ConnectionMode, ContinuousDeploymentPolicyType, CustomizationActionType, DomainStatus, EventType, Format, FrameOptionsList, FunctionRuntime, FunctionStage, GeoRestrictionType, HttpVersion, ICPRecordalStatus, ImportSourceType, IpAddressType, IpamCidrStatus, ItemSelection, Method, MinimumProtocolVersion, OnDomainTakeover, OriginAccessControlOriginTypes, OriginAccessControlSigningBehaviors, OriginAccessControlSigningProtocols, OriginGroupSelectionCriteria, OriginProtocolPolicy, OriginRequestPolicyCookieBehavior, OriginRequestPolicyHeaderBehavior, OriginRequestPolicyQueryStringBehavior, PriceClass, RealtimeMetricsSubscriptionStatus, ReferrerPolicyList, ResponseHeadersPolicyAccessControlAllowMethodsValues, ServeOn, SslProtocol, SSLSupportMethod, TrustStoreStatus, ValidationTokenHost, ViewerMtlsMode, ViewerProtocolPolicy, VpcIpAddressType } from "./enums";
|
|
1
|
+
import type { CachePolicyCookieBehavior, CachePolicyHeaderBehavior, CachePolicyQueryStringBehavior, CachePolicyType, CertificateSource, CertificateTransparencyLoggingPreference, ConnectionMode, ContinuousDeploymentPolicyType, CustomizationActionType, DomainStatus, EventType, Format, FrameOptionsList, FunctionRuntime, FunctionStage, GeoRestrictionType, HttpVersion, ICPRecordalStatus, ImportSourceType, IpAddressType, IpamCidrStatus, ItemSelection, Method, MinimumProtocolVersion, OnDomainTakeover, OriginAccessControlOriginTypes, OriginAccessControlSigningBehaviors, OriginAccessControlSigningProtocols, OriginGroupSelectionCriteria, OriginHttpVersion, OriginProtocolPolicy, OriginRequestPolicyCookieBehavior, OriginRequestPolicyHeaderBehavior, OriginRequestPolicyQueryStringBehavior, PriceClass, RealtimeMetricsSubscriptionStatus, ReferrerPolicyList, ResponseHeadersPolicyAccessControlAllowMethodsValues, ServeOn, SslProtocol, SSLSupportMethod, TrustStoreStatus, ValidationTokenHost, ViewerMtlsMode, ViewerProtocolPolicy, VpcIpAddressType } from "./enums";
|
|
2
2
|
/**
|
|
3
3
|
* <p>A list of CloudFront key pair identifiers.</p>
|
|
4
4
|
* @public
|
|
@@ -1468,6 +1468,11 @@ export interface CustomOriginConfig {
|
|
|
1468
1468
|
* @public
|
|
1469
1469
|
*/
|
|
1470
1470
|
OriginMtlsConfig?: OriginMtlsConfig | undefined;
|
|
1471
|
+
/**
|
|
1472
|
+
* <p>The HTTP version that CloudFront uses for requests to your custom origin. Valid values are <code>http1.1</code> and <code>http2</code>. If you don't specify a value, CloudFront uses HTTP/1.1.</p> <p>When you specify <code>http2</code>, CloudFront offers HTTP/2 to the origin by using ALPN. If the origin doesn't negotiate HTTP/2, CloudFront uses HTTP/1.1. CloudFront uses HTTP/2 only over Transport Layer Security (TLS) 1.2 or later. Otherwise, it uses HTTP/1.1.</p> <p>If you use a version of an AWS SDK or the AWS CLI that doesn't support this field, an update that sends back a configuration you got from CloudFront removes the value, and CloudFront then uses HTTP/1.1.</p> <p>For more information, see <a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/DownloadDistValuesOrigin.html#DownloadDistValuesOriginHttpVersion">Origin HTTP version</a> in the <i>Amazon CloudFront Developer Guide</i>.</p>
|
|
1473
|
+
* @public
|
|
1474
|
+
*/
|
|
1475
|
+
OriginHttpVersion?: OriginHttpVersion | undefined;
|
|
1471
1476
|
}
|
|
1472
1477
|
/**
|
|
1473
1478
|
* <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>
|
|
@@ -1526,6 +1531,11 @@ export interface VpcOriginConfig {
|
|
|
1526
1531
|
* @public
|
|
1527
1532
|
*/
|
|
1528
1533
|
OriginKeepaliveTimeout?: number | undefined;
|
|
1534
|
+
/**
|
|
1535
|
+
* <p>The HTTP version that CloudFront uses for requests to the VPC origin for this distribution. Valid values are <code>http1.1</code> and <code>http2</code>. If you don't specify a value, CloudFront uses HTTP/1.1.</p> <p>When you specify <code>http2</code>, CloudFront offers HTTP/2 to the origin by using ALPN. If the origin doesn't negotiate HTTP/2, CloudFront uses HTTP/1.1. CloudFront uses HTTP/2 only over Transport Layer Security (TLS) 1.2 or later. Otherwise, it uses HTTP/1.1.</p> <p>If you use a version of an AWS SDK or the AWS CLI that doesn't support this field, an update that sends back a configuration you got from CloudFront removes the value, and CloudFront then uses HTTP/1.1.</p> <p>For more information, see <a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/DownloadDistValuesOrigin.html#DownloadDistValuesOriginHttpVersion">Origin HTTP version</a> in the <i>Amazon CloudFront Developer Guide</i>.</p>
|
|
1536
|
+
* @public
|
|
1537
|
+
*/
|
|
1538
|
+
OriginHttpVersion?: OriginHttpVersion | undefined;
|
|
1529
1539
|
}
|
|
1530
1540
|
/**
|
|
1531
1541
|
* <p>An origin.</p> <p>An origin is the location where content is stored, and from which CloudFront gets content to serve to viewers. To specify an origin:</p> <ul> <li> <p>Use <code>S3OriginConfig</code> to specify an Amazon S3 bucket that is not configured with static website hosting.</p> </li> <li> <p>Use <code>VpcOriginConfig</code> to specify a VPC origin.</p> </li> <li> <p>Use <code>CustomOriginConfig</code> to specify all other kinds of origins, including:</p> <ul> <li> <p>An Amazon S3 bucket that is configured with static website hosting</p> </li> <li> <p>An Elastic Load Balancing load balancer</p> </li> <li> <p>An Elemental MediaPackage endpoint</p> </li> <li> <p>An Elemental MediaStore container</p> </li> <li> <p>Any other HTTP server, running on an Amazon EC2 instance or any other kind of host</p> </li> </ul> </li> </ul> <p>For the current maximum number of origins that you can specify per distribution, see <a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/cloudfront-limits.html#limits-web-distributions">General Quotas on Web Distributions</a> in the <i>Amazon CloudFront Developer Guide</i> (quotas were formerly referred to as limits).</p>
|
|
@@ -123,6 +123,11 @@ export declare const OriginGroupSelectionCriteria: {
|
|
|
123
123
|
};
|
|
124
124
|
export type OriginGroupSelectionCriteria =
|
|
125
125
|
(typeof OriginGroupSelectionCriteria)[keyof typeof OriginGroupSelectionCriteria];
|
|
126
|
+
export declare const OriginHttpVersion: {
|
|
127
|
+
readonly Http1_1: "http1.1";
|
|
128
|
+
readonly Http2: "http2";
|
|
129
|
+
};
|
|
130
|
+
export type OriginHttpVersion = (typeof OriginHttpVersion)[keyof typeof OriginHttpVersion];
|
|
126
131
|
export declare const OriginProtocolPolicy: {
|
|
127
132
|
readonly http_only: "http-only";
|
|
128
133
|
readonly https_only: "https-only";
|
|
@@ -28,6 +28,7 @@ import {
|
|
|
28
28
|
OriginAccessControlSigningBehaviors,
|
|
29
29
|
OriginAccessControlSigningProtocols,
|
|
30
30
|
OriginGroupSelectionCriteria,
|
|
31
|
+
OriginHttpVersion,
|
|
31
32
|
OriginProtocolPolicy,
|
|
32
33
|
OriginRequestPolicyCookieBehavior,
|
|
33
34
|
OriginRequestPolicyHeaderBehavior,
|
|
@@ -396,6 +397,7 @@ export interface CustomOriginConfig {
|
|
|
396
397
|
OriginKeepaliveTimeout?: number | undefined;
|
|
397
398
|
IpAddressType?: IpAddressType | undefined;
|
|
398
399
|
OriginMtlsConfig?: OriginMtlsConfig | undefined;
|
|
400
|
+
OriginHttpVersion?: OriginHttpVersion | undefined;
|
|
399
401
|
}
|
|
400
402
|
export interface OriginShield {
|
|
401
403
|
Enabled: boolean | undefined;
|
|
@@ -410,6 +412,7 @@ export interface VpcOriginConfig {
|
|
|
410
412
|
OwnerAccountId?: string | undefined;
|
|
411
413
|
OriginReadTimeout?: number | undefined;
|
|
412
414
|
OriginKeepaliveTimeout?: number | undefined;
|
|
415
|
+
OriginHttpVersion?: OriginHttpVersion | undefined;
|
|
413
416
|
}
|
|
414
417
|
export interface Origin {
|
|
415
418
|
Id: string | undefined;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-cloudfront",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.1174.0",
|
|
4
4
|
"description": "AWS SDK for JavaScript Cloudfront Client for Node.js, Browser and React Native",
|
|
5
5
|
"homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-cloudfront",
|
|
6
6
|
"license": "Apache-2.0",
|