@aws-sdk/client-cloudtrail-data 3.504.0 → 3.509.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
CHANGED
|
@@ -275,7 +275,7 @@ var se_PutAuditEventsCommand = /* @__PURE__ */ __name(async (input, context) =>
|
|
|
275
275
|
}, "se_PutAuditEventsCommand");
|
|
276
276
|
var de_PutAuditEventsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
277
277
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
278
|
-
return
|
|
278
|
+
return de_CommandError(output, context);
|
|
279
279
|
}
|
|
280
280
|
const contents = (0, import_smithy_client.map)({
|
|
281
281
|
$metadata: deserializeMetadata(output)
|
|
@@ -288,7 +288,7 @@ var de_PutAuditEventsCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
288
288
|
Object.assign(contents, doc);
|
|
289
289
|
return contents;
|
|
290
290
|
}, "de_PutAuditEventsCommand");
|
|
291
|
-
var
|
|
291
|
+
var de_CommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
292
292
|
const parsedOutput = {
|
|
293
293
|
...output,
|
|
294
294
|
body: await parseErrorBody(output.body, context)
|
|
@@ -321,7 +321,7 @@ var de_PutAuditEventsCommandError = /* @__PURE__ */ __name(async (output, contex
|
|
|
321
321
|
errorCode
|
|
322
322
|
});
|
|
323
323
|
}
|
|
324
|
-
}, "
|
|
324
|
+
}, "de_CommandError");
|
|
325
325
|
var throwDefaultError = (0, import_smithy_client.withBaseException)(CloudTrailDataServiceException);
|
|
326
326
|
var de_ChannelInsufficientPermissionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
327
327
|
const contents = (0, import_smithy_client.map)({});
|
|
@@ -21,7 +21,7 @@ export const se_PutAuditEventsCommand = async (input, context) => {
|
|
|
21
21
|
};
|
|
22
22
|
export const de_PutAuditEventsCommand = async (output, context) => {
|
|
23
23
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
24
|
-
return
|
|
24
|
+
return de_CommandError(output, context);
|
|
25
25
|
}
|
|
26
26
|
const contents = map({
|
|
27
27
|
$metadata: deserializeMetadata(output),
|
|
@@ -34,7 +34,7 @@ export const de_PutAuditEventsCommand = async (output, context) => {
|
|
|
34
34
|
Object.assign(contents, doc);
|
|
35
35
|
return contents;
|
|
36
36
|
};
|
|
37
|
-
const
|
|
37
|
+
const de_CommandError = async (output, context) => {
|
|
38
38
|
const parsedOutput = {
|
|
39
39
|
...output,
|
|
40
40
|
body: await parseErrorBody(output.body, context),
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-cloudtrail-data",
|
|
3
3
|
"description": "AWS SDK for JavaScript Cloudtrail Data Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.509.0",
|
|
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-cloudtrail-data",
|
|
@@ -20,9 +20,9 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
23
|
-
"@aws-sdk/client-sts": "3.
|
|
23
|
+
"@aws-sdk/client-sts": "3.507.0",
|
|
24
24
|
"@aws-sdk/core": "3.496.0",
|
|
25
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.509.0",
|
|
26
26
|
"@aws-sdk/middleware-host-header": "3.502.0",
|
|
27
27
|
"@aws-sdk/middleware-logger": "3.502.0",
|
|
28
28
|
"@aws-sdk/middleware-recursion-detection": "3.502.0",
|