@aws-sdk/client-securitylake 3.353.0 → 3.357.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.
|
@@ -758,7 +758,7 @@ const de_CreateDataLakeExceptionSubscriptionCommand = async (output, context) =>
|
|
|
758
758
|
const contents = (0, smithy_client_1.map)({
|
|
759
759
|
$metadata: deserializeMetadata(output),
|
|
760
760
|
});
|
|
761
|
-
await collectBody(output.body, context);
|
|
761
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
762
762
|
return contents;
|
|
763
763
|
};
|
|
764
764
|
exports.de_CreateDataLakeExceptionSubscriptionCommand = de_CreateDataLakeExceptionSubscriptionCommand;
|
|
@@ -803,7 +803,7 @@ const de_CreateDataLakeOrganizationConfigurationCommand = async (output, context
|
|
|
803
803
|
const contents = (0, smithy_client_1.map)({
|
|
804
804
|
$metadata: deserializeMetadata(output),
|
|
805
805
|
});
|
|
806
|
-
await collectBody(output.body, context);
|
|
806
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
807
807
|
return contents;
|
|
808
808
|
};
|
|
809
809
|
exports.de_CreateDataLakeOrganizationConfigurationCommand = de_CreateDataLakeOrganizationConfigurationCommand;
|
|
@@ -995,7 +995,7 @@ const de_DeleteCustomLogSourceCommand = async (output, context) => {
|
|
|
995
995
|
const contents = (0, smithy_client_1.map)({
|
|
996
996
|
$metadata: deserializeMetadata(output),
|
|
997
997
|
});
|
|
998
|
-
await collectBody(output.body, context);
|
|
998
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
999
999
|
return contents;
|
|
1000
1000
|
};
|
|
1001
1001
|
exports.de_DeleteCustomLogSourceCommand = de_DeleteCustomLogSourceCommand;
|
|
@@ -1040,7 +1040,7 @@ const de_DeleteDataLakeCommand = async (output, context) => {
|
|
|
1040
1040
|
const contents = (0, smithy_client_1.map)({
|
|
1041
1041
|
$metadata: deserializeMetadata(output),
|
|
1042
1042
|
});
|
|
1043
|
-
await collectBody(output.body, context);
|
|
1043
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
1044
1044
|
return contents;
|
|
1045
1045
|
};
|
|
1046
1046
|
exports.de_DeleteDataLakeCommand = de_DeleteDataLakeCommand;
|
|
@@ -1085,7 +1085,7 @@ const de_DeleteDataLakeExceptionSubscriptionCommand = async (output, context) =>
|
|
|
1085
1085
|
const contents = (0, smithy_client_1.map)({
|
|
1086
1086
|
$metadata: deserializeMetadata(output),
|
|
1087
1087
|
});
|
|
1088
|
-
await collectBody(output.body, context);
|
|
1088
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
1089
1089
|
return contents;
|
|
1090
1090
|
};
|
|
1091
1091
|
exports.de_DeleteDataLakeExceptionSubscriptionCommand = de_DeleteDataLakeExceptionSubscriptionCommand;
|
|
@@ -1130,7 +1130,7 @@ const de_DeleteDataLakeOrganizationConfigurationCommand = async (output, context
|
|
|
1130
1130
|
const contents = (0, smithy_client_1.map)({
|
|
1131
1131
|
$metadata: deserializeMetadata(output),
|
|
1132
1132
|
});
|
|
1133
|
-
await collectBody(output.body, context);
|
|
1133
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
1134
1134
|
return contents;
|
|
1135
1135
|
};
|
|
1136
1136
|
exports.de_DeleteDataLakeOrganizationConfigurationCommand = de_DeleteDataLakeOrganizationConfigurationCommand;
|
|
@@ -1175,7 +1175,7 @@ const de_DeleteSubscriberCommand = async (output, context) => {
|
|
|
1175
1175
|
const contents = (0, smithy_client_1.map)({
|
|
1176
1176
|
$metadata: deserializeMetadata(output),
|
|
1177
1177
|
});
|
|
1178
|
-
await collectBody(output.body, context);
|
|
1178
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
1179
1179
|
return contents;
|
|
1180
1180
|
};
|
|
1181
1181
|
exports.de_DeleteSubscriberCommand = de_DeleteSubscriberCommand;
|
|
@@ -1220,7 +1220,7 @@ const de_DeleteSubscriberNotificationCommand = async (output, context) => {
|
|
|
1220
1220
|
const contents = (0, smithy_client_1.map)({
|
|
1221
1221
|
$metadata: deserializeMetadata(output),
|
|
1222
1222
|
});
|
|
1223
|
-
await collectBody(output.body, context);
|
|
1223
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
1224
1224
|
return contents;
|
|
1225
1225
|
};
|
|
1226
1226
|
exports.de_DeleteSubscriberNotificationCommand = de_DeleteSubscriberNotificationCommand;
|
|
@@ -1265,7 +1265,7 @@ const de_DeregisterDataLakeDelegatedAdministratorCommand = async (output, contex
|
|
|
1265
1265
|
const contents = (0, smithy_client_1.map)({
|
|
1266
1266
|
$metadata: deserializeMetadata(output),
|
|
1267
1267
|
});
|
|
1268
|
-
await collectBody(output.body, context);
|
|
1268
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
1269
1269
|
return contents;
|
|
1270
1270
|
};
|
|
1271
1271
|
exports.de_DeregisterDataLakeDelegatedAdministratorCommand = de_DeregisterDataLakeDelegatedAdministratorCommand;
|
|
@@ -1709,7 +1709,7 @@ const de_RegisterDataLakeDelegatedAdministratorCommand = async (output, context)
|
|
|
1709
1709
|
const contents = (0, smithy_client_1.map)({
|
|
1710
1710
|
$metadata: deserializeMetadata(output),
|
|
1711
1711
|
});
|
|
1712
|
-
await collectBody(output.body, context);
|
|
1712
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
1713
1713
|
return contents;
|
|
1714
1714
|
};
|
|
1715
1715
|
exports.de_RegisterDataLakeDelegatedAdministratorCommand = de_RegisterDataLakeDelegatedAdministratorCommand;
|
|
@@ -1803,7 +1803,7 @@ const de_UpdateDataLakeExceptionSubscriptionCommand = async (output, context) =>
|
|
|
1803
1803
|
const contents = (0, smithy_client_1.map)({
|
|
1804
1804
|
$metadata: deserializeMetadata(output),
|
|
1805
1805
|
});
|
|
1806
|
-
await collectBody(output.body, context);
|
|
1806
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
1807
1807
|
return contents;
|
|
1808
1808
|
};
|
|
1809
1809
|
exports.de_UpdateDataLakeExceptionSubscriptionCommand = de_UpdateDataLakeExceptionSubscriptionCommand;
|
|
@@ -2079,13 +2079,7 @@ const deserializeMetadata = (output) => ({
|
|
|
2079
2079
|
extendedRequestId: output.headers["x-amz-id-2"],
|
|
2080
2080
|
cfId: output.headers["x-amz-cf-id"],
|
|
2081
2081
|
});
|
|
2082
|
-
const
|
|
2083
|
-
if (streamBody instanceof Uint8Array) {
|
|
2084
|
-
return Promise.resolve(streamBody);
|
|
2085
|
-
}
|
|
2086
|
-
return context.streamCollector(streamBody) || Promise.resolve(new Uint8Array());
|
|
2087
|
-
};
|
|
2088
|
-
const collectBodyString = (streamBody, context) => collectBody(streamBody, context).then((body) => context.utf8Encoder(body));
|
|
2082
|
+
const collectBodyString = (streamBody, context) => (0, smithy_client_1.collectBody)(streamBody, context).then((body) => context.utf8Encoder(body));
|
|
2089
2083
|
const isSerializableHeaderValue = (value) => value !== undefined &&
|
|
2090
2084
|
value !== null &&
|
|
2091
2085
|
value !== "" &&
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _json, decorateServiceException as __decorateServiceException, expectLong as __expectLong, expectNonNull as __expectNonNull, expectObject as __expectObject, expectString as __expectString, map, parseRfc3339DateTimeWithOffset as __parseRfc3339DateTimeWithOffset, resolvedPath as __resolvedPath, strictParseInt32 as __strictParseInt32, take, withBaseException, } from "@aws-sdk/smithy-client";
|
|
1
|
+
import { _json, collectBody, decorateServiceException as __decorateServiceException, expectLong as __expectLong, expectNonNull as __expectNonNull, expectObject as __expectObject, expectString as __expectString, map, parseRfc3339DateTimeWithOffset as __parseRfc3339DateTimeWithOffset, resolvedPath as __resolvedPath, strictParseInt32 as __strictParseInt32, take, withBaseException, } from "@aws-sdk/smithy-client";
|
|
2
2
|
import { HttpRequest as __HttpRequest } from "@smithy/protocol-http";
|
|
3
3
|
import { AccessDeniedException, BadRequestException, ConflictException, InternalServerException, ResourceNotFoundException, ThrottlingException, } from "../models/models_0";
|
|
4
4
|
import { SecurityLakeServiceException as __BaseException } from "../models/SecurityLakeServiceException";
|
|
@@ -2019,12 +2019,6 @@ const deserializeMetadata = (output) => ({
|
|
|
2019
2019
|
extendedRequestId: output.headers["x-amz-id-2"],
|
|
2020
2020
|
cfId: output.headers["x-amz-cf-id"],
|
|
2021
2021
|
});
|
|
2022
|
-
const collectBody = (streamBody = new Uint8Array(), context) => {
|
|
2023
|
-
if (streamBody instanceof Uint8Array) {
|
|
2024
|
-
return Promise.resolve(streamBody);
|
|
2025
|
-
}
|
|
2026
|
-
return context.streamCollector(streamBody) || Promise.resolve(new Uint8Array());
|
|
2027
|
-
};
|
|
2028
2022
|
const collectBodyString = (streamBody, context) => collectBody(streamBody, context).then((body) => context.utf8Encoder(body));
|
|
2029
2023
|
const isSerializableHeaderValue = (value) => value !== undefined &&
|
|
2030
2024
|
value !== null &&
|
|
@@ -101,7 +101,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
|
|
|
101
101
|
*/
|
|
102
102
|
runtime?: string;
|
|
103
103
|
/**
|
|
104
|
-
* Disable
|
|
104
|
+
* Disable dynamically changing the endpoint of the client based on the hostPrefix
|
|
105
105
|
* trait of an operation.
|
|
106
106
|
*/
|
|
107
107
|
disableHostPrefix?: boolean;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-securitylake",
|
|
3
3
|
"description": "AWS SDK for JavaScript Securitylake Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.357.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",
|
|
@@ -21,36 +21,36 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
-
"@aws-sdk/config-resolver": "3.
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
27
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
28
|
-
"@aws-sdk/hash-node": "3.
|
|
29
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
30
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
31
|
-
"@aws-sdk/middleware-endpoint": "3.
|
|
32
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
33
|
-
"@aws-sdk/middleware-logger": "3.
|
|
34
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
35
|
-
"@aws-sdk/middleware-retry": "3.
|
|
36
|
-
"@aws-sdk/middleware-serde": "3.
|
|
37
|
-
"@aws-sdk/middleware-signing": "3.
|
|
38
|
-
"@aws-sdk/middleware-stack": "3.
|
|
39
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
40
|
-
"@aws-sdk/node-config-provider": "3.
|
|
41
|
-
"@aws-sdk/node-http-handler": "3.
|
|
42
|
-
"@aws-sdk/smithy-client": "3.
|
|
43
|
-
"@aws-sdk/types": "3.
|
|
44
|
-
"@aws-sdk/url-parser": "3.
|
|
24
|
+
"@aws-sdk/client-sts": "3.357.0",
|
|
25
|
+
"@aws-sdk/config-resolver": "3.357.0",
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.357.0",
|
|
27
|
+
"@aws-sdk/fetch-http-handler": "3.357.0",
|
|
28
|
+
"@aws-sdk/hash-node": "3.357.0",
|
|
29
|
+
"@aws-sdk/invalid-dependency": "3.357.0",
|
|
30
|
+
"@aws-sdk/middleware-content-length": "3.357.0",
|
|
31
|
+
"@aws-sdk/middleware-endpoint": "3.357.0",
|
|
32
|
+
"@aws-sdk/middleware-host-header": "3.357.0",
|
|
33
|
+
"@aws-sdk/middleware-logger": "3.357.0",
|
|
34
|
+
"@aws-sdk/middleware-recursion-detection": "3.357.0",
|
|
35
|
+
"@aws-sdk/middleware-retry": "3.357.0",
|
|
36
|
+
"@aws-sdk/middleware-serde": "3.357.0",
|
|
37
|
+
"@aws-sdk/middleware-signing": "3.357.0",
|
|
38
|
+
"@aws-sdk/middleware-stack": "3.357.0",
|
|
39
|
+
"@aws-sdk/middleware-user-agent": "3.357.0",
|
|
40
|
+
"@aws-sdk/node-config-provider": "3.357.0",
|
|
41
|
+
"@aws-sdk/node-http-handler": "3.357.0",
|
|
42
|
+
"@aws-sdk/smithy-client": "3.357.0",
|
|
43
|
+
"@aws-sdk/types": "3.357.0",
|
|
44
|
+
"@aws-sdk/url-parser": "3.357.0",
|
|
45
45
|
"@aws-sdk/util-base64": "3.310.0",
|
|
46
46
|
"@aws-sdk/util-body-length-browser": "3.310.0",
|
|
47
47
|
"@aws-sdk/util-body-length-node": "3.310.0",
|
|
48
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
49
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
50
|
-
"@aws-sdk/util-endpoints": "3.
|
|
51
|
-
"@aws-sdk/util-retry": "3.
|
|
52
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
53
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
48
|
+
"@aws-sdk/util-defaults-mode-browser": "3.357.0",
|
|
49
|
+
"@aws-sdk/util-defaults-mode-node": "3.357.0",
|
|
50
|
+
"@aws-sdk/util-endpoints": "3.357.0",
|
|
51
|
+
"@aws-sdk/util-retry": "3.357.0",
|
|
52
|
+
"@aws-sdk/util-user-agent-browser": "3.357.0",
|
|
53
|
+
"@aws-sdk/util-user-agent-node": "3.357.0",
|
|
54
54
|
"@aws-sdk/util-utf8": "3.310.0",
|
|
55
55
|
"@smithy/protocol-http": "^1.0.1",
|
|
56
56
|
"@smithy/types": "^1.0.0",
|