@aws-sdk/client-cloudtrail-data 3.533.0 → 3.535.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-types/CloudTrailData.d.ts +1 -1
- package/dist-types/CloudTrailDataClient.d.ts +1 -1
- package/dist-types/commands/PutAuditEventsCommand.d.ts +2 -1
- package/dist-types/models/models_0.d.ts +22 -22
- package/dist-types/ts3.4/commands/PutAuditEventsCommand.d.ts +9 -0
- package/package.json +40 -40
|
@@ -10,13 +10,13 @@ export interface CloudTrailData {
|
|
|
10
10
|
putAuditEvents(args: PutAuditEventsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutAuditEventsCommandOutput) => void): void;
|
|
11
11
|
}
|
|
12
12
|
/**
|
|
13
|
-
* @public
|
|
14
13
|
* <p>The CloudTrail Data Service lets you ingest events into CloudTrail from any source in your
|
|
15
14
|
* hybrid environments, such as in-house or SaaS applications hosted on-premises or in the cloud,
|
|
16
15
|
* virtual machines, or containers. You can store, access, analyze, troubleshoot and take action on
|
|
17
16
|
* this data without maintaining multiple log aggregators and reporting tools. After you run
|
|
18
17
|
* <code>PutAuditEvents</code> to ingest your application activity into CloudTrail, you can use CloudTrail Lake to search, query, and analyze the data that is logged
|
|
19
18
|
* from your applications.</p>
|
|
19
|
+
* @public
|
|
20
20
|
*/
|
|
21
21
|
export declare class CloudTrailData extends CloudTrailDataClient implements CloudTrailData {
|
|
22
22
|
}
|
|
@@ -152,13 +152,13 @@ export type CloudTrailDataClientResolvedConfigType = __SmithyResolvedConfigurati
|
|
|
152
152
|
export interface CloudTrailDataClientResolvedConfig extends CloudTrailDataClientResolvedConfigType {
|
|
153
153
|
}
|
|
154
154
|
/**
|
|
155
|
-
* @public
|
|
156
155
|
* <p>The CloudTrail Data Service lets you ingest events into CloudTrail from any source in your
|
|
157
156
|
* hybrid environments, such as in-house or SaaS applications hosted on-premises or in the cloud,
|
|
158
157
|
* virtual machines, or containers. You can store, access, analyze, troubleshoot and take action on
|
|
159
158
|
* this data without maintaining multiple log aggregators and reporting tools. After you run
|
|
160
159
|
* <code>PutAuditEvents</code> to ingest your application activity into CloudTrail, you can use CloudTrail Lake to search, query, and analyze the data that is logged
|
|
161
160
|
* from your applications.</p>
|
|
161
|
+
* @public
|
|
162
162
|
*/
|
|
163
163
|
export declare class CloudTrailDataClient extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, CloudTrailDataClientResolvedConfig> {
|
|
164
164
|
/**
|
|
@@ -22,10 +22,10 @@ export interface PutAuditEventsCommandOutput extends PutAuditEventsResponse, __M
|
|
|
22
22
|
}
|
|
23
23
|
declare const PutAuditEventsCommand_base: {
|
|
24
24
|
new (input: PutAuditEventsCommandInput): import("@smithy/smithy-client").CommandImpl<PutAuditEventsCommandInput, PutAuditEventsCommandOutput, CloudTrailDataClientResolvedConfig, PutAuditEventsCommandInput, PutAuditEventsCommandOutput>;
|
|
25
|
+
new (__0_0: PutAuditEventsCommandInput): import("@smithy/smithy-client").CommandImpl<PutAuditEventsCommandInput, PutAuditEventsCommandOutput, CloudTrailDataClientResolvedConfig, PutAuditEventsCommandInput, PutAuditEventsCommandOutput>;
|
|
25
26
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
27
|
};
|
|
27
28
|
/**
|
|
28
|
-
* @public
|
|
29
29
|
* <p>Ingests your application events into CloudTrail Lake. A required parameter,
|
|
30
30
|
* <code>auditEvents</code>, accepts the JSON records (also called
|
|
31
31
|
* <i>payload</i>) of events that you want CloudTrail to ingest. You
|
|
@@ -96,6 +96,7 @@ declare const PutAuditEventsCommand_base: {
|
|
|
96
96
|
* @throws {@link CloudTrailDataServiceException}
|
|
97
97
|
* <p>Base exception class for all service exceptions from CloudTrailData service.</p>
|
|
98
98
|
*
|
|
99
|
+
* @public
|
|
99
100
|
*/
|
|
100
101
|
export declare class PutAuditEventsCommand extends PutAuditEventsCommand_base {
|
|
101
102
|
}
|
|
@@ -1,51 +1,51 @@
|
|
|
1
1
|
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
2
|
import { CloudTrailDataServiceException as __BaseException } from "./CloudTrailDataServiceException";
|
|
3
3
|
/**
|
|
4
|
-
* @public
|
|
5
4
|
* <p>An event from a source outside of Amazon Web Services that you want CloudTrail
|
|
6
5
|
* to log.</p>
|
|
6
|
+
* @public
|
|
7
7
|
*/
|
|
8
8
|
export interface AuditEvent {
|
|
9
9
|
/**
|
|
10
|
-
* @public
|
|
11
10
|
* <p>The original event ID from the source event.</p>
|
|
11
|
+
* @public
|
|
12
12
|
*/
|
|
13
13
|
id: string | undefined;
|
|
14
14
|
/**
|
|
15
|
-
* @public
|
|
16
15
|
* <p>The content of an audit event that comes from the event, such as <code>userIdentity</code>,
|
|
17
16
|
* <code>userAgent</code>, and <code>eventSource</code>.</p>
|
|
17
|
+
* @public
|
|
18
18
|
*/
|
|
19
19
|
eventData: string | undefined;
|
|
20
20
|
/**
|
|
21
|
-
* @public
|
|
22
21
|
* <p>A checksum is a base64-SHA256 algorithm that helps you verify that CloudTrail receives the event that matches
|
|
23
22
|
* with the checksum. Calculate the checksum by running a command like the following:</p>
|
|
24
23
|
* <p>
|
|
25
24
|
* <code>printf %s <i>$eventdata</i> | openssl dgst -binary -sha256 | base64</code>
|
|
26
25
|
* </p>
|
|
26
|
+
* @public
|
|
27
27
|
*/
|
|
28
28
|
eventDataChecksum?: string;
|
|
29
29
|
}
|
|
30
30
|
/**
|
|
31
|
-
* @public
|
|
32
31
|
* <p>A response that includes successful and failed event results.</p>
|
|
32
|
+
* @public
|
|
33
33
|
*/
|
|
34
34
|
export interface AuditEventResultEntry {
|
|
35
35
|
/**
|
|
36
|
-
* @public
|
|
37
36
|
* <p>The original event ID from the source event.</p>
|
|
37
|
+
* @public
|
|
38
38
|
*/
|
|
39
39
|
id: string | undefined;
|
|
40
40
|
/**
|
|
41
|
-
* @public
|
|
42
41
|
* <p>The event ID assigned by CloudTrail.</p>
|
|
42
|
+
* @public
|
|
43
43
|
*/
|
|
44
44
|
eventID: string | undefined;
|
|
45
45
|
}
|
|
46
46
|
/**
|
|
47
|
-
* @public
|
|
48
47
|
* <p>The caller's account ID must be the same as the channel owner's account ID.</p>
|
|
48
|
+
* @public
|
|
49
49
|
*/
|
|
50
50
|
export declare class ChannelInsufficientPermission extends __BaseException {
|
|
51
51
|
readonly name: "ChannelInsufficientPermission";
|
|
@@ -56,8 +56,8 @@ export declare class ChannelInsufficientPermission extends __BaseException {
|
|
|
56
56
|
constructor(opts: __ExceptionOptionType<ChannelInsufficientPermission, __BaseException>);
|
|
57
57
|
}
|
|
58
58
|
/**
|
|
59
|
-
* @public
|
|
60
59
|
* <p>The channel could not be found.</p>
|
|
60
|
+
* @public
|
|
61
61
|
*/
|
|
62
62
|
export declare class ChannelNotFound extends __BaseException {
|
|
63
63
|
readonly name: "ChannelNotFound";
|
|
@@ -68,8 +68,8 @@ export declare class ChannelNotFound extends __BaseException {
|
|
|
68
68
|
constructor(opts: __ExceptionOptionType<ChannelNotFound, __BaseException>);
|
|
69
69
|
}
|
|
70
70
|
/**
|
|
71
|
-
* @public
|
|
72
71
|
* <p>The schema type of the event is not supported.</p>
|
|
72
|
+
* @public
|
|
73
73
|
*/
|
|
74
74
|
export declare class ChannelUnsupportedSchema extends __BaseException {
|
|
75
75
|
readonly name: "ChannelUnsupportedSchema";
|
|
@@ -80,8 +80,8 @@ export declare class ChannelUnsupportedSchema extends __BaseException {
|
|
|
80
80
|
constructor(opts: __ExceptionOptionType<ChannelUnsupportedSchema, __BaseException>);
|
|
81
81
|
}
|
|
82
82
|
/**
|
|
83
|
-
* @public
|
|
84
83
|
* <p>Two or more entries in the request have the same event ID.</p>
|
|
84
|
+
* @public
|
|
85
85
|
*/
|
|
86
86
|
export declare class DuplicatedAuditEventId extends __BaseException {
|
|
87
87
|
readonly name: "DuplicatedAuditEventId";
|
|
@@ -92,9 +92,9 @@ export declare class DuplicatedAuditEventId extends __BaseException {
|
|
|
92
92
|
constructor(opts: __ExceptionOptionType<DuplicatedAuditEventId, __BaseException>);
|
|
93
93
|
}
|
|
94
94
|
/**
|
|
95
|
-
* @public
|
|
96
95
|
* <p>The specified channel ARN is not a valid
|
|
97
96
|
* channel ARN.</p>
|
|
97
|
+
* @public
|
|
98
98
|
*/
|
|
99
99
|
export declare class InvalidChannelARN extends __BaseException {
|
|
100
100
|
readonly name: "InvalidChannelARN";
|
|
@@ -109,44 +109,44 @@ export declare class InvalidChannelARN extends __BaseException {
|
|
|
109
109
|
*/
|
|
110
110
|
export interface PutAuditEventsRequest {
|
|
111
111
|
/**
|
|
112
|
-
* @public
|
|
113
112
|
* <p>The JSON payload of events that you want to ingest. You can also point to the JSON event
|
|
114
113
|
* payload in a file.</p>
|
|
114
|
+
* @public
|
|
115
115
|
*/
|
|
116
116
|
auditEvents: AuditEvent[] | undefined;
|
|
117
117
|
/**
|
|
118
|
-
* @public
|
|
119
118
|
* <p>The ARN or ID (the ARN suffix) of a channel.</p>
|
|
119
|
+
* @public
|
|
120
120
|
*/
|
|
121
121
|
channelArn: string | undefined;
|
|
122
122
|
/**
|
|
123
|
-
* @public
|
|
124
123
|
* <p>A unique identifier that is conditionally required when the channel's resource policy includes an external
|
|
125
124
|
* ID. This value can be any string,
|
|
126
125
|
* such as a passphrase or account number.</p>
|
|
126
|
+
* @public
|
|
127
127
|
*/
|
|
128
128
|
externalId?: string;
|
|
129
129
|
}
|
|
130
130
|
/**
|
|
131
|
-
* @public
|
|
132
131
|
* <p>Includes the error code and error message for events that could not be ingested by CloudTrail.</p>
|
|
132
|
+
* @public
|
|
133
133
|
*/
|
|
134
134
|
export interface ResultErrorEntry {
|
|
135
135
|
/**
|
|
136
|
-
* @public
|
|
137
136
|
* <p>The original event ID from the source event that could not be ingested by CloudTrail.</p>
|
|
137
|
+
* @public
|
|
138
138
|
*/
|
|
139
139
|
id: string | undefined;
|
|
140
140
|
/**
|
|
141
|
-
* @public
|
|
142
141
|
* <p>The error code for events that could not be ingested by CloudTrail. Possible error codes include: <code>FieldTooLong</code>, <code>FieldNotFound</code>,
|
|
143
142
|
* <code>InvalidChecksum</code>, <code>InvalidData</code>, <code>InvalidRecipient</code>, <code>InvalidEventSource</code>, <code>AccountNotSubscribed</code>,
|
|
144
143
|
* <code>Throttling</code>, and <code>InternalFailure</code>.</p>
|
|
144
|
+
* @public
|
|
145
145
|
*/
|
|
146
146
|
errorCode: string | undefined;
|
|
147
147
|
/**
|
|
148
|
-
* @public
|
|
149
148
|
* <p>The message that describes the error for events that could not be ingested by CloudTrail.</p>
|
|
149
|
+
* @public
|
|
150
150
|
*/
|
|
151
151
|
errorMessage: string | undefined;
|
|
152
152
|
}
|
|
@@ -155,22 +155,22 @@ export interface ResultErrorEntry {
|
|
|
155
155
|
*/
|
|
156
156
|
export interface PutAuditEventsResponse {
|
|
157
157
|
/**
|
|
158
|
-
* @public
|
|
159
158
|
* <p>Lists events in the provided event payload that were successfully ingested
|
|
160
159
|
* into CloudTrail.</p>
|
|
160
|
+
* @public
|
|
161
161
|
*/
|
|
162
162
|
successful: AuditEventResultEntry[] | undefined;
|
|
163
163
|
/**
|
|
164
|
-
* @public
|
|
165
164
|
* <p>Lists events in the provided event payload that could not be
|
|
166
165
|
* ingested into CloudTrail, and includes the error code and error message
|
|
167
166
|
* returned for events that could not be ingested.</p>
|
|
167
|
+
* @public
|
|
168
168
|
*/
|
|
169
169
|
failed: ResultErrorEntry[] | undefined;
|
|
170
170
|
}
|
|
171
171
|
/**
|
|
172
|
-
* @public
|
|
173
172
|
* <p>The operation requested is not supported in this region or account.</p>
|
|
173
|
+
* @public
|
|
174
174
|
*/
|
|
175
175
|
export declare class UnsupportedOperationException extends __BaseException {
|
|
176
176
|
readonly name: "UnsupportedOperationException";
|
|
@@ -20,6 +20,15 @@ declare const PutAuditEventsCommand_base: {
|
|
|
20
20
|
PutAuditEventsCommandInput,
|
|
21
21
|
PutAuditEventsCommandOutput
|
|
22
22
|
>;
|
|
23
|
+
new (
|
|
24
|
+
__0_0: PutAuditEventsCommandInput
|
|
25
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
26
|
+
PutAuditEventsCommandInput,
|
|
27
|
+
PutAuditEventsCommandOutput,
|
|
28
|
+
CloudTrailDataClientResolvedConfig,
|
|
29
|
+
PutAuditEventsCommandInput,
|
|
30
|
+
PutAuditEventsCommandOutput
|
|
31
|
+
>;
|
|
23
32
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
24
33
|
};
|
|
25
34
|
export declare class PutAuditEventsCommand extends PutAuditEventsCommand_base {}
|
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.535.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,47 +20,47 @@
|
|
|
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.
|
|
24
|
-
"@aws-sdk/core": "3.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
27
|
-
"@aws-sdk/middleware-logger": "3.
|
|
28
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
29
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
30
|
-
"@aws-sdk/region-config-resolver": "3.
|
|
31
|
-
"@aws-sdk/types": "3.
|
|
32
|
-
"@aws-sdk/util-endpoints": "3.
|
|
33
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
34
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
35
|
-
"@smithy/config-resolver": "^2.
|
|
36
|
-
"@smithy/core": "^1.
|
|
37
|
-
"@smithy/fetch-http-handler": "^2.
|
|
38
|
-
"@smithy/hash-node": "^2.
|
|
39
|
-
"@smithy/invalid-dependency": "^2.
|
|
40
|
-
"@smithy/middleware-content-length": "^2.
|
|
41
|
-
"@smithy/middleware-endpoint": "^2.
|
|
42
|
-
"@smithy/middleware-retry": "^2.
|
|
43
|
-
"@smithy/middleware-serde": "^2.
|
|
44
|
-
"@smithy/middleware-stack": "^2.
|
|
45
|
-
"@smithy/node-config-provider": "^2.
|
|
46
|
-
"@smithy/node-http-handler": "^2.
|
|
47
|
-
"@smithy/protocol-http": "^3.
|
|
48
|
-
"@smithy/smithy-client": "^2.
|
|
49
|
-
"@smithy/types": "^2.
|
|
50
|
-
"@smithy/url-parser": "^2.
|
|
51
|
-
"@smithy/util-base64": "^2.
|
|
52
|
-
"@smithy/util-body-length-browser": "^2.
|
|
53
|
-
"@smithy/util-body-length-node": "^2.
|
|
54
|
-
"@smithy/util-defaults-mode-browser": "^2.
|
|
55
|
-
"@smithy/util-defaults-mode-node": "^2.
|
|
56
|
-
"@smithy/util-endpoints": "^1.
|
|
57
|
-
"@smithy/util-middleware": "^2.
|
|
58
|
-
"@smithy/util-retry": "^2.
|
|
59
|
-
"@smithy/util-utf8": "^2.
|
|
60
|
-
"tslib": "^2.
|
|
23
|
+
"@aws-sdk/client-sts": "3.535.0",
|
|
24
|
+
"@aws-sdk/core": "3.535.0",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.535.0",
|
|
26
|
+
"@aws-sdk/middleware-host-header": "3.535.0",
|
|
27
|
+
"@aws-sdk/middleware-logger": "3.535.0",
|
|
28
|
+
"@aws-sdk/middleware-recursion-detection": "3.535.0",
|
|
29
|
+
"@aws-sdk/middleware-user-agent": "3.535.0",
|
|
30
|
+
"@aws-sdk/region-config-resolver": "3.535.0",
|
|
31
|
+
"@aws-sdk/types": "3.535.0",
|
|
32
|
+
"@aws-sdk/util-endpoints": "3.535.0",
|
|
33
|
+
"@aws-sdk/util-user-agent-browser": "3.535.0",
|
|
34
|
+
"@aws-sdk/util-user-agent-node": "3.535.0",
|
|
35
|
+
"@smithy/config-resolver": "^2.2.0",
|
|
36
|
+
"@smithy/core": "^1.4.0",
|
|
37
|
+
"@smithy/fetch-http-handler": "^2.5.0",
|
|
38
|
+
"@smithy/hash-node": "^2.2.0",
|
|
39
|
+
"@smithy/invalid-dependency": "^2.2.0",
|
|
40
|
+
"@smithy/middleware-content-length": "^2.2.0",
|
|
41
|
+
"@smithy/middleware-endpoint": "^2.5.0",
|
|
42
|
+
"@smithy/middleware-retry": "^2.2.0",
|
|
43
|
+
"@smithy/middleware-serde": "^2.3.0",
|
|
44
|
+
"@smithy/middleware-stack": "^2.2.0",
|
|
45
|
+
"@smithy/node-config-provider": "^2.3.0",
|
|
46
|
+
"@smithy/node-http-handler": "^2.5.0",
|
|
47
|
+
"@smithy/protocol-http": "^3.3.0",
|
|
48
|
+
"@smithy/smithy-client": "^2.5.0",
|
|
49
|
+
"@smithy/types": "^2.12.0",
|
|
50
|
+
"@smithy/url-parser": "^2.2.0",
|
|
51
|
+
"@smithy/util-base64": "^2.3.0",
|
|
52
|
+
"@smithy/util-body-length-browser": "^2.2.0",
|
|
53
|
+
"@smithy/util-body-length-node": "^2.3.0",
|
|
54
|
+
"@smithy/util-defaults-mode-browser": "^2.2.0",
|
|
55
|
+
"@smithy/util-defaults-mode-node": "^2.3.0",
|
|
56
|
+
"@smithy/util-endpoints": "^1.2.0",
|
|
57
|
+
"@smithy/util-middleware": "^2.2.0",
|
|
58
|
+
"@smithy/util-retry": "^2.2.0",
|
|
59
|
+
"@smithy/util-utf8": "^2.3.0",
|
|
60
|
+
"tslib": "^2.6.2"
|
|
61
61
|
},
|
|
62
62
|
"devDependencies": {
|
|
63
|
-
"@smithy/service-client-documentation-generator": "^2.
|
|
63
|
+
"@smithy/service-client-documentation-generator": "^2.2.0",
|
|
64
64
|
"@tsconfig/node14": "1.0.3",
|
|
65
65
|
"@types/node": "^14.14.31",
|
|
66
66
|
"concurrently": "7.0.0",
|