@aws-sdk/client-cloudfront 3.216.0 → 3.218.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.
|
@@ -19,7 +19,7 @@ const serializeAws_restXmlAssociateAliasCommand = async (input, context) => {
|
|
|
19
19
|
"/2020-05-31/distribution/{TargetDistributionId}/associate-alias";
|
|
20
20
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "TargetDistributionId", () => input.TargetDistributionId, "{TargetDistributionId}", false);
|
|
21
21
|
const query = map({
|
|
22
|
-
Alias: [, input.Alias],
|
|
22
|
+
Alias: [, (0, smithy_client_1.expectNonNull)(input.Alias, `Alias`)],
|
|
23
23
|
});
|
|
24
24
|
let body;
|
|
25
25
|
return new protocol_http_1.HttpRequest({
|
|
@@ -1481,8 +1481,8 @@ const serializeAws_restXmlListConflictingAliasesCommand = async (input, context)
|
|
|
1481
1481
|
const headers = {};
|
|
1482
1482
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/2020-05-31/conflicting-alias";
|
|
1483
1483
|
const query = map({
|
|
1484
|
-
DistributionId: [, input.DistributionId],
|
|
1485
|
-
Alias: [, input.Alias],
|
|
1484
|
+
DistributionId: [, (0, smithy_client_1.expectNonNull)(input.DistributionId, `DistributionId`)],
|
|
1485
|
+
Alias: [, (0, smithy_client_1.expectNonNull)(input.Alias, `Alias`)],
|
|
1486
1486
|
Marker: [, input.Marker],
|
|
1487
1487
|
MaxItems: [() => input.MaxItems !== void 0, () => input.MaxItems.toString()],
|
|
1488
1488
|
});
|
|
@@ -1937,7 +1937,7 @@ const serializeAws_restXmlListTagsForResourceCommand = async (input, context) =>
|
|
|
1937
1937
|
const headers = {};
|
|
1938
1938
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/2020-05-31/tagging";
|
|
1939
1939
|
const query = map({
|
|
1940
|
-
Resource: [, input.Resource],
|
|
1940
|
+
Resource: [, (0, smithy_client_1.expectNonNull)(input.Resource, `Resource`)],
|
|
1941
1941
|
});
|
|
1942
1942
|
let body;
|
|
1943
1943
|
return new protocol_http_1.HttpRequest({
|
|
@@ -1979,7 +1979,7 @@ const serializeAws_restXmlTagResourceCommand = async (input, context) => {
|
|
|
1979
1979
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/2020-05-31/tagging";
|
|
1980
1980
|
const query = map({
|
|
1981
1981
|
Operation: [, "Tag"],
|
|
1982
|
-
Resource: [, input.Resource],
|
|
1982
|
+
Resource: [, (0, smithy_client_1.expectNonNull)(input.Resource, `Resource`)],
|
|
1983
1983
|
});
|
|
1984
1984
|
let body;
|
|
1985
1985
|
if (input.Tags !== undefined) {
|
|
@@ -2044,7 +2044,7 @@ const serializeAws_restXmlUntagResourceCommand = async (input, context) => {
|
|
|
2044
2044
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/2020-05-31/tagging";
|
|
2045
2045
|
const query = map({
|
|
2046
2046
|
Operation: [, "Untag"],
|
|
2047
|
-
Resource: [, input.Resource],
|
|
2047
|
+
Resource: [, (0, smithy_client_1.expectNonNull)(input.Resource, `Resource`)],
|
|
2048
2048
|
});
|
|
2049
2049
|
let body;
|
|
2050
2050
|
if (input.TagKeys !== undefined) {
|
|
@@ -12,7 +12,7 @@ export const serializeAws_restXmlAssociateAliasCommand = async (input, context)
|
|
|
12
12
|
"/2020-05-31/distribution/{TargetDistributionId}/associate-alias";
|
|
13
13
|
resolvedPath = __resolvedPath(resolvedPath, input, "TargetDistributionId", () => input.TargetDistributionId, "{TargetDistributionId}", false);
|
|
14
14
|
const query = map({
|
|
15
|
-
Alias: [, input.Alias],
|
|
15
|
+
Alias: [, __expectNonNull(input.Alias, `Alias`)],
|
|
16
16
|
});
|
|
17
17
|
let body;
|
|
18
18
|
return new __HttpRequest({
|
|
@@ -1408,8 +1408,8 @@ export const serializeAws_restXmlListConflictingAliasesCommand = async (input, c
|
|
|
1408
1408
|
const headers = {};
|
|
1409
1409
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/2020-05-31/conflicting-alias";
|
|
1410
1410
|
const query = map({
|
|
1411
|
-
DistributionId: [, input.DistributionId],
|
|
1412
|
-
Alias: [, input.Alias],
|
|
1411
|
+
DistributionId: [, __expectNonNull(input.DistributionId, `DistributionId`)],
|
|
1412
|
+
Alias: [, __expectNonNull(input.Alias, `Alias`)],
|
|
1413
1413
|
Marker: [, input.Marker],
|
|
1414
1414
|
MaxItems: [() => input.MaxItems !== void 0, () => input.MaxItems.toString()],
|
|
1415
1415
|
});
|
|
@@ -1844,7 +1844,7 @@ export const serializeAws_restXmlListTagsForResourceCommand = async (input, cont
|
|
|
1844
1844
|
const headers = {};
|
|
1845
1845
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/2020-05-31/tagging";
|
|
1846
1846
|
const query = map({
|
|
1847
|
-
Resource: [, input.Resource],
|
|
1847
|
+
Resource: [, __expectNonNull(input.Resource, `Resource`)],
|
|
1848
1848
|
});
|
|
1849
1849
|
let body;
|
|
1850
1850
|
return new __HttpRequest({
|
|
@@ -1884,7 +1884,7 @@ export const serializeAws_restXmlTagResourceCommand = async (input, context) =>
|
|
|
1884
1884
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/2020-05-31/tagging";
|
|
1885
1885
|
const query = map({
|
|
1886
1886
|
Operation: [, "Tag"],
|
|
1887
|
-
Resource: [, input.Resource],
|
|
1887
|
+
Resource: [, __expectNonNull(input.Resource, `Resource`)],
|
|
1888
1888
|
});
|
|
1889
1889
|
let body;
|
|
1890
1890
|
if (input.Tags !== undefined) {
|
|
@@ -1947,7 +1947,7 @@ export const serializeAws_restXmlUntagResourceCommand = async (input, context) =
|
|
|
1947
1947
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/2020-05-31/tagging";
|
|
1948
1948
|
const query = map({
|
|
1949
1949
|
Operation: [, "Untag"],
|
|
1950
|
-
Resource: [, input.Resource],
|
|
1950
|
+
Resource: [, __expectNonNull(input.Resource, `Resource`)],
|
|
1951
1951
|
});
|
|
1952
1952
|
let body;
|
|
1953
1953
|
if (input.TagKeys !== 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.218.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",
|
|
@@ -19,9 +19,9 @@
|
|
|
19
19
|
"dependencies": {
|
|
20
20
|
"@aws-crypto/sha256-browser": "2.0.0",
|
|
21
21
|
"@aws-crypto/sha256-js": "2.0.0",
|
|
22
|
-
"@aws-sdk/client-sts": "3.
|
|
22
|
+
"@aws-sdk/client-sts": "3.218.0",
|
|
23
23
|
"@aws-sdk/config-resolver": "3.215.0",
|
|
24
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
24
|
+
"@aws-sdk/credential-provider-node": "3.218.0",
|
|
25
25
|
"@aws-sdk/fetch-http-handler": "3.215.0",
|
|
26
26
|
"@aws-sdk/hash-node": "3.215.0",
|
|
27
27
|
"@aws-sdk/invalid-dependency": "3.215.0",
|