@aws-sdk/client-cloudtrail 3.29.0 → 3.33.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/CHANGELOG.md +32 -0
- package/dist/cjs/CloudTrailClient.js +13 -13
- package/dist/cjs/CloudTrailClient.js.map +1 -1
- package/dist/cjs/commands/AddTagsCommand.js +3 -3
- package/dist/cjs/commands/AddTagsCommand.js.map +1 -1
- package/dist/cjs/commands/CreateTrailCommand.js +3 -3
- package/dist/cjs/commands/CreateTrailCommand.js.map +1 -1
- package/dist/cjs/commands/DeleteTrailCommand.js +3 -3
- package/dist/cjs/commands/DeleteTrailCommand.js.map +1 -1
- package/dist/cjs/commands/DescribeTrailsCommand.js +3 -3
- package/dist/cjs/commands/DescribeTrailsCommand.js.map +1 -1
- package/dist/cjs/commands/GetEventSelectorsCommand.js +3 -3
- package/dist/cjs/commands/GetEventSelectorsCommand.js.map +1 -1
- package/dist/cjs/commands/GetInsightSelectorsCommand.js +3 -3
- package/dist/cjs/commands/GetInsightSelectorsCommand.js.map +1 -1
- package/dist/cjs/commands/GetTrailCommand.js +3 -3
- package/dist/cjs/commands/GetTrailCommand.js.map +1 -1
- package/dist/cjs/commands/GetTrailStatusCommand.js +3 -3
- package/dist/cjs/commands/GetTrailStatusCommand.js.map +1 -1
- package/dist/cjs/commands/ListPublicKeysCommand.js +3 -3
- package/dist/cjs/commands/ListPublicKeysCommand.js.map +1 -1
- package/dist/cjs/commands/ListTagsCommand.js +3 -3
- package/dist/cjs/commands/ListTagsCommand.js.map +1 -1
- package/dist/cjs/commands/ListTrailsCommand.js +3 -3
- package/dist/cjs/commands/ListTrailsCommand.js.map +1 -1
- package/dist/cjs/commands/LookupEventsCommand.js +3 -3
- package/dist/cjs/commands/LookupEventsCommand.js.map +1 -1
- package/dist/cjs/commands/PutEventSelectorsCommand.js +3 -3
- package/dist/cjs/commands/PutEventSelectorsCommand.js.map +1 -1
- package/dist/cjs/commands/PutInsightSelectorsCommand.js +3 -3
- package/dist/cjs/commands/PutInsightSelectorsCommand.js.map +1 -1
- package/dist/cjs/commands/RemoveTagsCommand.js +3 -3
- package/dist/cjs/commands/RemoveTagsCommand.js.map +1 -1
- package/dist/cjs/commands/StartLoggingCommand.js +3 -3
- package/dist/cjs/commands/StartLoggingCommand.js.map +1 -1
- package/dist/cjs/commands/StopLoggingCommand.js +3 -3
- package/dist/cjs/commands/StopLoggingCommand.js.map +1 -1
- package/dist/cjs/commands/UpdateTrailCommand.js +3 -3
- package/dist/cjs/commands/UpdateTrailCommand.js.map +1 -1
- package/dist/cjs/endpoints.js +1 -1
- package/dist/cjs/endpoints.js.map +1 -1
- package/dist/cjs/index.js +26 -26
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/models/index.js +1 -1
- package/dist/cjs/models/index.js.map +1 -1
- package/dist/cjs/package.json +31 -31
- package/dist/cjs/protocols/Aws_json1_1.js +139 -139
- package/dist/cjs/protocols/Aws_json1_1.js.map +1 -1
- package/dist/cjs/runtimeConfig.browser.js +4 -4
- package/dist/cjs/runtimeConfig.browser.js.map +1 -1
- package/dist/cjs/runtimeConfig.js +8 -8
- package/dist/cjs/runtimeConfig.js.map +1 -1
- package/dist/cjs/runtimeConfig.native.js +1 -1
- package/dist/cjs/runtimeConfig.native.js.map +1 -1
- package/dist/es/package.json +31 -31
- package/dist/es/pagination/ListPublicKeysPaginator.js +4 -4
- package/dist/es/pagination/ListPublicKeysPaginator.js.map +1 -1
- package/dist/es/pagination/ListTagsPaginator.js +4 -4
- package/dist/es/pagination/ListTagsPaginator.js.map +1 -1
- package/dist/es/pagination/ListTrailsPaginator.js +4 -4
- package/dist/es/pagination/ListTrailsPaginator.js.map +1 -1
- package/dist/es/pagination/LookupEventsPaginator.js +4 -4
- package/dist/es/pagination/LookupEventsPaginator.js.map +1 -1
- package/dist/es/protocols/Aws_json1_1.js +10 -10
- package/dist/es/protocols/Aws_json1_1.js.map +1 -1
- package/package.json +31 -31
- package/protocols/Aws_json1_1.ts +16 -10
- package/tsconfig.json +1 -2
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-cloudtrail",
|
|
3
3
|
"description": "AWS SDK for JavaScript Cloudtrail Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.33.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation",
|
|
7
7
|
"build-documentation": "yarn remove-documentation && typedoc ./",
|
|
@@ -27,45 +27,45 @@
|
|
|
27
27
|
"dependencies": {
|
|
28
28
|
"@aws-crypto/sha256-browser": "^1.0.0",
|
|
29
29
|
"@aws-crypto/sha256-js": "^1.0.0",
|
|
30
|
-
"@aws-sdk/client-sts": "3.
|
|
31
|
-
"@aws-sdk/config-resolver": "3.
|
|
32
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
33
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
34
|
-
"@aws-sdk/hash-node": "3.
|
|
35
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
36
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
37
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
38
|
-
"@aws-sdk/middleware-logger": "3.
|
|
39
|
-
"@aws-sdk/middleware-retry": "3.
|
|
40
|
-
"@aws-sdk/middleware-serde": "3.
|
|
41
|
-
"@aws-sdk/middleware-signing": "3.
|
|
42
|
-
"@aws-sdk/middleware-stack": "3.
|
|
43
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
44
|
-
"@aws-sdk/node-config-provider": "3.
|
|
45
|
-
"@aws-sdk/node-http-handler": "3.
|
|
46
|
-
"@aws-sdk/protocol-http": "3.
|
|
47
|
-
"@aws-sdk/smithy-client": "3.
|
|
48
|
-
"@aws-sdk/types": "3.
|
|
49
|
-
"@aws-sdk/url-parser": "3.
|
|
50
|
-
"@aws-sdk/util-base64-browser": "3.
|
|
51
|
-
"@aws-sdk/util-base64-node": "3.
|
|
52
|
-
"@aws-sdk/util-body-length-browser": "3.
|
|
53
|
-
"@aws-sdk/util-body-length-node": "3.
|
|
54
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
55
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
56
|
-
"@aws-sdk/util-utf8-browser": "3.
|
|
57
|
-
"@aws-sdk/util-utf8-node": "3.
|
|
30
|
+
"@aws-sdk/client-sts": "3.33.0",
|
|
31
|
+
"@aws-sdk/config-resolver": "3.33.0",
|
|
32
|
+
"@aws-sdk/credential-provider-node": "3.33.0",
|
|
33
|
+
"@aws-sdk/fetch-http-handler": "3.32.0",
|
|
34
|
+
"@aws-sdk/hash-node": "3.32.0",
|
|
35
|
+
"@aws-sdk/invalid-dependency": "3.32.0",
|
|
36
|
+
"@aws-sdk/middleware-content-length": "3.32.0",
|
|
37
|
+
"@aws-sdk/middleware-host-header": "3.32.0",
|
|
38
|
+
"@aws-sdk/middleware-logger": "3.32.0",
|
|
39
|
+
"@aws-sdk/middleware-retry": "3.32.0",
|
|
40
|
+
"@aws-sdk/middleware-serde": "3.32.0",
|
|
41
|
+
"@aws-sdk/middleware-signing": "3.33.0",
|
|
42
|
+
"@aws-sdk/middleware-stack": "3.32.0",
|
|
43
|
+
"@aws-sdk/middleware-user-agent": "3.32.0",
|
|
44
|
+
"@aws-sdk/node-config-provider": "3.32.0",
|
|
45
|
+
"@aws-sdk/node-http-handler": "3.32.0",
|
|
46
|
+
"@aws-sdk/protocol-http": "3.32.0",
|
|
47
|
+
"@aws-sdk/smithy-client": "3.32.0",
|
|
48
|
+
"@aws-sdk/types": "3.32.0",
|
|
49
|
+
"@aws-sdk/url-parser": "3.32.0",
|
|
50
|
+
"@aws-sdk/util-base64-browser": "3.32.0",
|
|
51
|
+
"@aws-sdk/util-base64-node": "3.32.0",
|
|
52
|
+
"@aws-sdk/util-body-length-browser": "3.32.0",
|
|
53
|
+
"@aws-sdk/util-body-length-node": "3.32.0",
|
|
54
|
+
"@aws-sdk/util-user-agent-browser": "3.32.0",
|
|
55
|
+
"@aws-sdk/util-user-agent-node": "3.33.0",
|
|
56
|
+
"@aws-sdk/util-utf8-browser": "3.32.0",
|
|
57
|
+
"@aws-sdk/util-utf8-node": "3.32.0",
|
|
58
58
|
"tslib": "^2.3.0"
|
|
59
59
|
},
|
|
60
60
|
"devDependencies": {
|
|
61
|
-
"@aws-sdk/client-documentation-generator": "3.
|
|
61
|
+
"@aws-sdk/client-documentation-generator": "3.32.0",
|
|
62
62
|
"@types/node": "^12.7.5",
|
|
63
63
|
"downlevel-dts": "0.7.0",
|
|
64
64
|
"jest": "^26.1.0",
|
|
65
65
|
"rimraf": "^3.0.0",
|
|
66
66
|
"ts-jest": "^26.4.1",
|
|
67
67
|
"typedoc": "^0.19.2",
|
|
68
|
-
"typescript": "~4.
|
|
68
|
+
"typescript": "~4.3.5"
|
|
69
69
|
},
|
|
70
70
|
"engines": {
|
|
71
71
|
"node": ">=10.0.0"
|
package/protocols/Aws_json1_1.ts
CHANGED
|
@@ -118,7 +118,13 @@ import {
|
|
|
118
118
|
UpdateTrailResponse,
|
|
119
119
|
} from "../models/models_0";
|
|
120
120
|
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
121
|
-
import {
|
|
121
|
+
import {
|
|
122
|
+
expectBoolean as __expectBoolean,
|
|
123
|
+
expectNonNull as __expectNonNull,
|
|
124
|
+
expectNumber as __expectNumber,
|
|
125
|
+
expectString as __expectString,
|
|
126
|
+
parseEpochTimestamp as __parseEpochTimestamp,
|
|
127
|
+
} from "@aws-sdk/smithy-client";
|
|
122
128
|
import {
|
|
123
129
|
Endpoint as __Endpoint,
|
|
124
130
|
HeaderBag as __HeaderBag,
|
|
@@ -3687,7 +3693,7 @@ const deserializeAws_json1_1Event = (output: any, context: __SerdeContext): Even
|
|
|
3687
3693
|
EventSource: __expectString(output.EventSource),
|
|
3688
3694
|
EventTime:
|
|
3689
3695
|
output.EventTime !== undefined && output.EventTime !== null
|
|
3690
|
-
?
|
|
3696
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.EventTime)))
|
|
3691
3697
|
: undefined,
|
|
3692
3698
|
ReadOnly: __expectString(output.ReadOnly),
|
|
3693
3699
|
Resources:
|
|
@@ -3791,34 +3797,34 @@ const deserializeAws_json1_1GetTrailStatusResponse = (output: any, context: __Se
|
|
|
3791
3797
|
LatestCloudWatchLogsDeliveryError: __expectString(output.LatestCloudWatchLogsDeliveryError),
|
|
3792
3798
|
LatestCloudWatchLogsDeliveryTime:
|
|
3793
3799
|
output.LatestCloudWatchLogsDeliveryTime !== undefined && output.LatestCloudWatchLogsDeliveryTime !== null
|
|
3794
|
-
?
|
|
3800
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LatestCloudWatchLogsDeliveryTime)))
|
|
3795
3801
|
: undefined,
|
|
3796
3802
|
LatestDeliveryAttemptSucceeded: __expectString(output.LatestDeliveryAttemptSucceeded),
|
|
3797
3803
|
LatestDeliveryAttemptTime: __expectString(output.LatestDeliveryAttemptTime),
|
|
3798
3804
|
LatestDeliveryError: __expectString(output.LatestDeliveryError),
|
|
3799
3805
|
LatestDeliveryTime:
|
|
3800
3806
|
output.LatestDeliveryTime !== undefined && output.LatestDeliveryTime !== null
|
|
3801
|
-
?
|
|
3807
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LatestDeliveryTime)))
|
|
3802
3808
|
: undefined,
|
|
3803
3809
|
LatestDigestDeliveryError: __expectString(output.LatestDigestDeliveryError),
|
|
3804
3810
|
LatestDigestDeliveryTime:
|
|
3805
3811
|
output.LatestDigestDeliveryTime !== undefined && output.LatestDigestDeliveryTime !== null
|
|
3806
|
-
?
|
|
3812
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LatestDigestDeliveryTime)))
|
|
3807
3813
|
: undefined,
|
|
3808
3814
|
LatestNotificationAttemptSucceeded: __expectString(output.LatestNotificationAttemptSucceeded),
|
|
3809
3815
|
LatestNotificationAttemptTime: __expectString(output.LatestNotificationAttemptTime),
|
|
3810
3816
|
LatestNotificationError: __expectString(output.LatestNotificationError),
|
|
3811
3817
|
LatestNotificationTime:
|
|
3812
3818
|
output.LatestNotificationTime !== undefined && output.LatestNotificationTime !== null
|
|
3813
|
-
?
|
|
3819
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LatestNotificationTime)))
|
|
3814
3820
|
: undefined,
|
|
3815
3821
|
StartLoggingTime:
|
|
3816
3822
|
output.StartLoggingTime !== undefined && output.StartLoggingTime !== null
|
|
3817
|
-
?
|
|
3823
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.StartLoggingTime)))
|
|
3818
3824
|
: undefined,
|
|
3819
3825
|
StopLoggingTime:
|
|
3820
3826
|
output.StopLoggingTime !== undefined && output.StopLoggingTime !== null
|
|
3821
|
-
?
|
|
3827
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.StopLoggingTime)))
|
|
3822
3828
|
: undefined,
|
|
3823
3829
|
TimeLoggingStarted: __expectString(output.TimeLoggingStarted),
|
|
3824
3830
|
TimeLoggingStopped: __expectString(output.TimeLoggingStopped),
|
|
@@ -4171,11 +4177,11 @@ const deserializeAws_json1_1PublicKey = (output: any, context: __SerdeContext):
|
|
|
4171
4177
|
Fingerprint: __expectString(output.Fingerprint),
|
|
4172
4178
|
ValidityEndTime:
|
|
4173
4179
|
output.ValidityEndTime !== undefined && output.ValidityEndTime !== null
|
|
4174
|
-
?
|
|
4180
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.ValidityEndTime)))
|
|
4175
4181
|
: undefined,
|
|
4176
4182
|
ValidityStartTime:
|
|
4177
4183
|
output.ValidityStartTime !== undefined && output.ValidityStartTime !== null
|
|
4178
|
-
?
|
|
4184
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.ValidityStartTime)))
|
|
4179
4185
|
: undefined,
|
|
4180
4186
|
Value: output.Value !== undefined && output.Value !== null ? context.base64Decoder(output.Value) : undefined,
|
|
4181
4187
|
} as any;
|
package/tsconfig.json
CHANGED
|
@@ -13,8 +13,7 @@
|
|
|
13
13
|
"resolveJsonModule": true,
|
|
14
14
|
"esModuleInterop": true,
|
|
15
15
|
"declarationDir": "./dist/types",
|
|
16
|
-
"outDir": "dist/cjs"
|
|
17
|
-
"useUnknownInCatchVariables": false
|
|
16
|
+
"outDir": "dist/cjs"
|
|
18
17
|
},
|
|
19
18
|
"typedocOptions": {
|
|
20
19
|
"exclude": ["**/node_modules/**", "**/*.spec.ts", "**/protocols/*.ts", "**/e2e/*.ts", "**/endpoints.ts"],
|