@aws-sdk/client-mediastore-data 3.654.0 → 3.658.1
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 +2 -3
- package/dist-es/protocols/Aws_restJson1.js +1 -6
- package/package.json +13 -13
package/dist-cjs/index.js
CHANGED
|
@@ -319,7 +319,7 @@ var se_DescribeObjectCommand = /* @__PURE__ */ __name(async (input, context) =>
|
|
|
319
319
|
}, "se_DescribeObjectCommand");
|
|
320
320
|
var se_GetObjectCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
321
321
|
const b = (0, import_core.requestBuilder)(input, context);
|
|
322
|
-
const headers = (0, import_smithy_client.map)({}, isSerializableHeaderValue, {
|
|
322
|
+
const headers = (0, import_smithy_client.map)({}, import_smithy_client.isSerializableHeaderValue, {
|
|
323
323
|
[_r]: input[_R]
|
|
324
324
|
});
|
|
325
325
|
b.bp("/{Path+}");
|
|
@@ -343,7 +343,7 @@ var se_ListItemsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
|
343
343
|
}, "se_ListItemsCommand");
|
|
344
344
|
var se_PutObjectCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
345
345
|
const b = (0, import_core.requestBuilder)(input, context);
|
|
346
|
-
const headers = (0, import_smithy_client.map)({}, isSerializableHeaderValue, {
|
|
346
|
+
const headers = (0, import_smithy_client.map)({}, import_smithy_client.isSerializableHeaderValue, {
|
|
347
347
|
"x-amz-content-sha256": "UNSIGNED-PAYLOAD",
|
|
348
348
|
[_ct]: input[_CT] || "application/octet-stream",
|
|
349
349
|
[_cc]: input[_CC],
|
|
@@ -539,7 +539,6 @@ var deserializeMetadata = /* @__PURE__ */ __name((output) => ({
|
|
|
539
539
|
extendedRequestId: output.headers["x-amz-id-2"],
|
|
540
540
|
cfId: output.headers["x-amz-cf-id"]
|
|
541
541
|
}), "deserializeMetadata");
|
|
542
|
-
var isSerializableHeaderValue = /* @__PURE__ */ __name((value) => value !== void 0 && value !== null && value !== "" && (!Object.getOwnPropertyNames(value).includes("length") || value.length != 0) && (!Object.getOwnPropertyNames(value).includes("size") || value.size != 0), "isSerializableHeaderValue");
|
|
543
542
|
var _CC = "CacheControl";
|
|
544
543
|
var _CL = "ContentLength";
|
|
545
544
|
var _CR = "ContentRange";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { loadRestJsonErrorCode, parseJsonBody as parseBody, parseJsonErrorBody as parseErrorBody } from "@aws-sdk/core";
|
|
2
2
|
import { requestBuilder as rb } from "@smithy/core";
|
|
3
|
-
import { collectBody, decorateServiceException as __decorateServiceException, expectLong as __expectLong, expectNonNull as __expectNonNull, expectNumber as __expectNumber, expectObject as __expectObject, expectString as __expectString, map, parseEpochTimestamp as __parseEpochTimestamp, parseRfc7231DateTime as __parseRfc7231DateTime, strictParseLong as __strictParseLong, take, withBaseException, } from "@smithy/smithy-client";
|
|
3
|
+
import { collectBody, decorateServiceException as __decorateServiceException, expectLong as __expectLong, expectNonNull as __expectNonNull, expectNumber as __expectNumber, expectObject as __expectObject, expectString as __expectString, isSerializableHeaderValue, map, parseEpochTimestamp as __parseEpochTimestamp, parseRfc7231DateTime as __parseRfc7231DateTime, strictParseLong as __strictParseLong, take, withBaseException, } from "@smithy/smithy-client";
|
|
4
4
|
import { MediaStoreDataServiceException as __BaseException } from "../models/MediaStoreDataServiceException";
|
|
5
5
|
import { ContainerNotFoundException, InternalServerError, ObjectNotFoundException, RequestedRangeNotSatisfiableException, } from "../models/models_0";
|
|
6
6
|
export const se_DeleteObjectCommand = async (input, context) => {
|
|
@@ -246,11 +246,6 @@ const deserializeMetadata = (output) => ({
|
|
|
246
246
|
cfId: output.headers["x-amz-cf-id"],
|
|
247
247
|
});
|
|
248
248
|
const collectBodyString = (streamBody, context) => collectBody(streamBody, context).then((body) => context.utf8Encoder(body));
|
|
249
|
-
const isSerializableHeaderValue = (value) => value !== undefined &&
|
|
250
|
-
value !== null &&
|
|
251
|
-
value !== "" &&
|
|
252
|
-
(!Object.getOwnPropertyNames(value).includes("length") || value.length != 0) &&
|
|
253
|
-
(!Object.getOwnPropertyNames(value).includes("size") || value.size != 0);
|
|
254
249
|
const _CC = "CacheControl";
|
|
255
250
|
const _CL = "ContentLength";
|
|
256
251
|
const _CR = "ContentRange";
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-mediastore-data",
|
|
3
3
|
"description": "AWS SDK for JavaScript Mediastore Data Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.658.1",
|
|
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-mediastore-data",
|
|
@@ -22,10 +22,10 @@
|
|
|
22
22
|
"dependencies": {
|
|
23
23
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
24
24
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
25
|
-
"@aws-sdk/client-sso-oidc": "3.
|
|
26
|
-
"@aws-sdk/client-sts": "3.
|
|
27
|
-
"@aws-sdk/core": "3.
|
|
28
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
25
|
+
"@aws-sdk/client-sso-oidc": "3.658.1",
|
|
26
|
+
"@aws-sdk/client-sts": "3.658.1",
|
|
27
|
+
"@aws-sdk/core": "3.658.1",
|
|
28
|
+
"@aws-sdk/credential-provider-node": "3.658.1",
|
|
29
29
|
"@aws-sdk/middleware-host-header": "3.654.0",
|
|
30
30
|
"@aws-sdk/middleware-logger": "3.654.0",
|
|
31
31
|
"@aws-sdk/middleware-recursion-detection": "3.654.0",
|
|
@@ -36,30 +36,30 @@
|
|
|
36
36
|
"@aws-sdk/util-user-agent-browser": "3.654.0",
|
|
37
37
|
"@aws-sdk/util-user-agent-node": "3.654.0",
|
|
38
38
|
"@smithy/config-resolver": "^3.0.8",
|
|
39
|
-
"@smithy/core": "^2.4.
|
|
40
|
-
"@smithy/fetch-http-handler": "^3.2.
|
|
39
|
+
"@smithy/core": "^2.4.6",
|
|
40
|
+
"@smithy/fetch-http-handler": "^3.2.8",
|
|
41
41
|
"@smithy/hash-node": "^3.0.6",
|
|
42
42
|
"@smithy/invalid-dependency": "^3.0.6",
|
|
43
43
|
"@smithy/middleware-content-length": "^3.0.8",
|
|
44
44
|
"@smithy/middleware-endpoint": "^3.1.3",
|
|
45
|
-
"@smithy/middleware-retry": "^3.0.
|
|
45
|
+
"@smithy/middleware-retry": "^3.0.21",
|
|
46
46
|
"@smithy/middleware-serde": "^3.0.6",
|
|
47
47
|
"@smithy/middleware-stack": "^3.0.6",
|
|
48
48
|
"@smithy/node-config-provider": "^3.1.7",
|
|
49
|
-
"@smithy/node-http-handler": "^3.2.
|
|
49
|
+
"@smithy/node-http-handler": "^3.2.3",
|
|
50
50
|
"@smithy/protocol-http": "^4.1.3",
|
|
51
|
-
"@smithy/smithy-client": "^3.3.
|
|
51
|
+
"@smithy/smithy-client": "^3.3.5",
|
|
52
52
|
"@smithy/types": "^3.4.2",
|
|
53
53
|
"@smithy/url-parser": "^3.0.6",
|
|
54
54
|
"@smithy/util-base64": "^3.0.0",
|
|
55
55
|
"@smithy/util-body-length-browser": "^3.0.0",
|
|
56
56
|
"@smithy/util-body-length-node": "^3.0.0",
|
|
57
|
-
"@smithy/util-defaults-mode-browser": "^3.0.
|
|
58
|
-
"@smithy/util-defaults-mode-node": "^3.0.
|
|
57
|
+
"@smithy/util-defaults-mode-browser": "^3.0.21",
|
|
58
|
+
"@smithy/util-defaults-mode-node": "^3.0.21",
|
|
59
59
|
"@smithy/util-endpoints": "^2.1.2",
|
|
60
60
|
"@smithy/util-middleware": "^3.0.6",
|
|
61
61
|
"@smithy/util-retry": "^3.0.6",
|
|
62
|
-
"@smithy/util-stream": "^3.1.
|
|
62
|
+
"@smithy/util-stream": "^3.1.8",
|
|
63
63
|
"@smithy/util-utf8": "^3.0.0",
|
|
64
64
|
"tslib": "^2.6.2"
|
|
65
65
|
},
|