@aws-sdk/client-cloudtrail-data 3.378.0 → 3.382.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.
@@ -1,4 +1,7 @@
1
1
  import { Endpoint, EndpointParameters as __EndpointParameters, EndpointV2, Provider } from "@smithy/types";
2
+ /**
3
+ * @public
4
+ */
2
5
  export interface ClientInputEndpointParameters {
3
6
  region?: string | Provider<string>;
4
7
  useDualstackEndpoint?: boolean | Provider<boolean>;
@@ -10,6 +10,7 @@
10
10
  */
11
11
  export * from "./CloudTrailDataClient";
12
12
  export * from "./CloudTrailData";
13
+ export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters";
13
14
  export * from "./commands";
14
15
  export * from "./models";
15
16
  export { CloudTrailDataServiceException } from "./models/CloudTrailDataServiceException";
@@ -7,15 +7,18 @@ import { CloudTrailDataServiceException as __BaseException } from "./CloudTrailD
7
7
  */
8
8
  export interface AuditEvent {
9
9
  /**
10
+ * @public
10
11
  * <p>The original event ID from the source event.</p>
11
12
  */
12
13
  id: string | undefined;
13
14
  /**
15
+ * @public
14
16
  * <p>The content of an audit event that comes from the event, such as <code>userIdentity</code>,
15
17
  * <code>userAgent</code>, and <code>eventSource</code>.</p>
16
18
  */
17
19
  eventData: string | undefined;
18
20
  /**
21
+ * @public
19
22
  * <p>A checksum is a base64-SHA256 algorithm that helps you verify that CloudTrail receives the event that matches
20
23
  * with the checksum. Calculate the checksum by running a command like the following:</p>
21
24
  * <p>
@@ -30,10 +33,12 @@ export interface AuditEvent {
30
33
  */
31
34
  export interface AuditEventResultEntry {
32
35
  /**
36
+ * @public
33
37
  * <p>The original event ID from the source event.</p>
34
38
  */
35
39
  id: string | undefined;
36
40
  /**
41
+ * @public
37
42
  * <p>The event ID assigned by CloudTrail.</p>
38
43
  */
39
44
  eventID: string | undefined;
@@ -104,15 +109,18 @@ export declare class InvalidChannelARN extends __BaseException {
104
109
  */
105
110
  export interface PutAuditEventsRequest {
106
111
  /**
112
+ * @public
107
113
  * <p>The JSON payload of events that you want to ingest. You can also point to the JSON event
108
114
  * payload in a file.</p>
109
115
  */
110
116
  auditEvents: AuditEvent[] | undefined;
111
117
  /**
118
+ * @public
112
119
  * <p>The ARN or ID (the ARN suffix) of a channel.</p>
113
120
  */
114
121
  channelArn: string | undefined;
115
122
  /**
123
+ * @public
116
124
  * <p>A unique identifier that is conditionally required when the channel's resource policy includes an external
117
125
  * ID. This value can be any string,
118
126
  * such as a passphrase or account number.</p>
@@ -125,16 +133,19 @@ export interface PutAuditEventsRequest {
125
133
  */
126
134
  export interface ResultErrorEntry {
127
135
  /**
136
+ * @public
128
137
  * <p>The original event ID from the source event that could not be ingested by CloudTrail.</p>
129
138
  */
130
139
  id: string | undefined;
131
140
  /**
141
+ * @public
132
142
  * <p>The error code for events that could not be ingested by CloudTrail. Possible error codes include: <code>FieldTooLong</code>, <code>FieldNotFound</code>,
133
143
  * <code>InvalidChecksum</code>, <code>InvalidData</code>, <code>InvalidRecipient</code>, <code>InvalidEventSource</code>, <code>AccountNotSubscribed</code>,
134
144
  * <code>Throttling</code>, and <code>InternalFailure</code>.</p>
135
145
  */
136
146
  errorCode: string | undefined;
137
147
  /**
148
+ * @public
138
149
  * <p>The message that describes the error for events that could not be ingested by CloudTrail.</p>
139
150
  */
140
151
  errorMessage: string | undefined;
@@ -144,11 +155,13 @@ export interface ResultErrorEntry {
144
155
  */
145
156
  export interface PutAuditEventsResponse {
146
157
  /**
158
+ * @public
147
159
  * <p>Lists events in the provided event payload that were successfully ingested
148
160
  * into CloudTrail.</p>
149
161
  */
150
162
  successful: AuditEventResultEntry[] | undefined;
151
163
  /**
164
+ * @public
152
165
  * <p>Lists events in the provided event payload that could not be
153
166
  * ingested into CloudTrail, and includes the error code and error message
154
167
  * returned for events that could not be ingested.</p>
@@ -1,5 +1,6 @@
1
1
  export * from "./CloudTrailDataClient";
2
2
  export * from "./CloudTrailData";
3
+ export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters";
3
4
  export * from "./commands";
4
5
  export * from "./models";
5
6
  export { CloudTrailDataServiceException } from "./models/CloudTrailDataServiceException";
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.378.0",
4
+ "version": "3.382.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,15 +21,15 @@
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.378.0",
25
- "@aws-sdk/credential-provider-node": "3.378.0",
26
- "@aws-sdk/middleware-host-header": "3.378.0",
24
+ "@aws-sdk/client-sts": "3.382.0",
25
+ "@aws-sdk/credential-provider-node": "3.382.0",
26
+ "@aws-sdk/middleware-host-header": "3.379.1",
27
27
  "@aws-sdk/middleware-logger": "3.378.0",
28
28
  "@aws-sdk/middleware-recursion-detection": "3.378.0",
29
- "@aws-sdk/middleware-signing": "3.378.0",
30
- "@aws-sdk/middleware-user-agent": "3.378.0",
29
+ "@aws-sdk/middleware-signing": "3.379.1",
30
+ "@aws-sdk/middleware-user-agent": "3.382.0",
31
31
  "@aws-sdk/types": "3.378.0",
32
- "@aws-sdk/util-endpoints": "3.378.0",
32
+ "@aws-sdk/util-endpoints": "3.382.0",
33
33
  "@aws-sdk/util-user-agent-browser": "3.378.0",
34
34
  "@aws-sdk/util-user-agent-node": "3.378.0",
35
35
  "@smithy/config-resolver": "^2.0.1",