@aws-sdk/client-cloudtrail-data 3.335.0 → 3.338.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/CloudTrailDataClient.js +2 -1
- package/dist-cjs/commands/PutAuditEventsCommand.js +2 -1
- package/dist-cjs/index.js +1 -1
- package/dist-cjs/models/CloudTrailDataServiceException.js +2 -1
- package/dist-es/CloudTrailDataClient.js +1 -0
- package/dist-es/commands/PutAuditEventsCommand.js +1 -0
- package/dist-es/index.js +1 -1
- package/dist-es/models/CloudTrailDataServiceException.js +1 -0
- package/dist-types/CloudTrailDataClient.d.ts +3 -3
- package/dist-types/commands/PutAuditEventsCommand.d.ts +4 -0
- package/dist-types/index.d.ts +11 -1
- package/dist-types/models/CloudTrailDataServiceException.d.ts +1 -0
- package/dist-types/ts3.4/CloudTrailDataClient.d.ts +3 -3
- package/dist-types/ts3.4/commands/PutAuditEventsCommand.d.ts +1 -0
- package/dist-types/ts3.4/index.d.ts +1 -1
- package/dist-types/ts3.4/models/CloudTrailDataServiceException.d.ts +1 -0
- package/package.json +28 -28
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.CloudTrailDataClient = void 0;
|
|
3
|
+
exports.CloudTrailDataClient = exports.__Client = void 0;
|
|
4
4
|
const config_resolver_1 = require("@aws-sdk/config-resolver");
|
|
5
5
|
const middleware_content_length_1 = require("@aws-sdk/middleware-content-length");
|
|
6
6
|
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
@@ -11,6 +11,7 @@ const middleware_retry_1 = require("@aws-sdk/middleware-retry");
|
|
|
11
11
|
const middleware_signing_1 = require("@aws-sdk/middleware-signing");
|
|
12
12
|
const middleware_user_agent_1 = require("@aws-sdk/middleware-user-agent");
|
|
13
13
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
14
|
+
Object.defineProperty(exports, "__Client", { enumerable: true, get: function () { return smithy_client_1.Client; } });
|
|
14
15
|
const EndpointParameters_1 = require("./endpoint/EndpointParameters");
|
|
15
16
|
const runtimeConfig_1 = require("./runtimeConfig");
|
|
16
17
|
class CloudTrailDataClient extends smithy_client_1.Client {
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.PutAuditEventsCommand = void 0;
|
|
3
|
+
exports.PutAuditEventsCommand = exports.$Command = void 0;
|
|
4
4
|
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
5
5
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
7
8
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
9
|
class PutAuditEventsCommand extends smithy_client_1.Command {
|
|
9
10
|
static getEndpointParameterInstructions() {
|
package/dist-cjs/index.js
CHANGED
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.CloudTrailDataServiceException = void 0;
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
|
-
tslib_1.__exportStar(require("./CloudTrailData"), exports);
|
|
6
5
|
tslib_1.__exportStar(require("./CloudTrailDataClient"), exports);
|
|
6
|
+
tslib_1.__exportStar(require("./CloudTrailData"), exports);
|
|
7
7
|
tslib_1.__exportStar(require("./commands"), exports);
|
|
8
8
|
tslib_1.__exportStar(require("./models"), exports);
|
|
9
9
|
var CloudTrailDataServiceException_1 = require("./models/CloudTrailDataServiceException");
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.CloudTrailDataServiceException = void 0;
|
|
3
|
+
exports.CloudTrailDataServiceException = exports.__ServiceException = void 0;
|
|
4
4
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
5
|
+
Object.defineProperty(exports, "__ServiceException", { enumerable: true, get: function () { return smithy_client_1.ServiceException; } });
|
|
5
6
|
class CloudTrailDataServiceException extends smithy_client_1.ServiceException {
|
|
6
7
|
constructor(options) {
|
|
7
8
|
super(options);
|
|
@@ -10,6 +10,7 @@ import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware
|
|
|
10
10
|
import { Client as __Client, } from "@aws-sdk/smithy-client";
|
|
11
11
|
import { resolveClientEndpointParameters, } from "./endpoint/EndpointParameters";
|
|
12
12
|
import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
|
|
13
|
+
export { __Client };
|
|
13
14
|
export class CloudTrailDataClient extends __Client {
|
|
14
15
|
constructor(configuration) {
|
|
15
16
|
const _config_0 = __getRuntimeConfig(configuration);
|
|
@@ -2,6 +2,7 @@ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
4
|
import { de_PutAuditEventsCommand, se_PutAuditEventsCommand } from "../protocols/Aws_restJson1";
|
|
5
|
+
export { $Command };
|
|
5
6
|
export class PutAuditEventsCommand extends $Command {
|
|
6
7
|
static getEndpointParameterInstructions() {
|
|
7
8
|
return {
|
package/dist-es/index.js
CHANGED
|
@@ -10,6 +10,7 @@ import { HttpHandler as __HttpHandler } from "@smithy/protocol-http";
|
|
|
10
10
|
import { Decoder as __Decoder, Encoder as __Encoder, Provider as __Provider, StreamCollector as __StreamCollector } from "@smithy/types";
|
|
11
11
|
import { PutAuditEventsCommandInput, PutAuditEventsCommandOutput } from "./commands/PutAuditEventsCommand";
|
|
12
12
|
import { ClientInputEndpointParameters, ClientResolvedEndpointParameters, EndpointParameters } from "./endpoint/EndpointParameters";
|
|
13
|
+
export { __Client };
|
|
13
14
|
/**
|
|
14
15
|
* @public
|
|
15
16
|
*/
|
|
@@ -124,7 +125,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
|
|
|
124
125
|
/**
|
|
125
126
|
* @public
|
|
126
127
|
*/
|
|
127
|
-
type CloudTrailDataClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointInputConfig<EndpointParameters> & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig & ClientInputEndpointParameters;
|
|
128
|
+
export type CloudTrailDataClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointInputConfig<EndpointParameters> & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig & ClientInputEndpointParameters;
|
|
128
129
|
/**
|
|
129
130
|
* @public
|
|
130
131
|
*
|
|
@@ -135,7 +136,7 @@ export interface CloudTrailDataClientConfig extends CloudTrailDataClientConfigTy
|
|
|
135
136
|
/**
|
|
136
137
|
* @public
|
|
137
138
|
*/
|
|
138
|
-
type CloudTrailDataClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RegionResolvedConfig & EndpointResolvedConfig<EndpointParameters> & RetryResolvedConfig & HostHeaderResolvedConfig & AwsAuthResolvedConfig & UserAgentResolvedConfig & ClientResolvedEndpointParameters;
|
|
139
|
+
export type CloudTrailDataClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RegionResolvedConfig & EndpointResolvedConfig<EndpointParameters> & RetryResolvedConfig & HostHeaderResolvedConfig & AwsAuthResolvedConfig & UserAgentResolvedConfig & ClientResolvedEndpointParameters;
|
|
139
140
|
/**
|
|
140
141
|
* @public
|
|
141
142
|
*
|
|
@@ -165,4 +166,3 @@ export declare class CloudTrailDataClient extends __Client<__HttpHandlerOptions,
|
|
|
165
166
|
*/
|
|
166
167
|
destroy(): void;
|
|
167
168
|
}
|
|
168
|
-
export {};
|
|
@@ -3,6 +3,10 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
|
3
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
4
|
import { CloudTrailDataClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudTrailDataClient";
|
|
5
5
|
import { PutAuditEventsRequest, PutAuditEventsResponse } from "../models/models_0";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
export { __MetadataBearer, $Command };
|
|
6
10
|
/**
|
|
7
11
|
* @public
|
|
8
12
|
*
|
package/dist-types/index.d.ts
CHANGED
|
@@ -1,5 +1,15 @@
|
|
|
1
|
-
|
|
1
|
+
/**
|
|
2
|
+
* <p>The CloudTrail Data Service lets you ingest events into CloudTrail from any source in your
|
|
3
|
+
* hybrid environments, such as in-house or SaaS applications hosted on-premises or in the cloud,
|
|
4
|
+
* virtual machines, or containers. You can store, access, analyze, troubleshoot and take action on
|
|
5
|
+
* this data without maintaining multiple log aggregators and reporting tools. After you run
|
|
6
|
+
* <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
|
|
7
|
+
* from your applications.</p>
|
|
8
|
+
*
|
|
9
|
+
* @packageDocumentation
|
|
10
|
+
*/
|
|
2
11
|
export * from "./CloudTrailDataClient";
|
|
12
|
+
export * from "./CloudTrailData";
|
|
3
13
|
export * from "./commands";
|
|
4
14
|
export * from "./models";
|
|
5
15
|
export { CloudTrailDataServiceException } from "./models/CloudTrailDataServiceException";
|
|
@@ -55,6 +55,7 @@ import {
|
|
|
55
55
|
ClientResolvedEndpointParameters,
|
|
56
56
|
EndpointParameters,
|
|
57
57
|
} from "./endpoint/EndpointParameters";
|
|
58
|
+
export { __Client };
|
|
58
59
|
export type ServiceInputTypes = PutAuditEventsCommandInput;
|
|
59
60
|
export type ServiceOutputTypes = PutAuditEventsCommandOutput;
|
|
60
61
|
export interface ClientDefaults
|
|
@@ -81,7 +82,7 @@ export interface ClientDefaults
|
|
|
81
82
|
logger?: __Logger;
|
|
82
83
|
defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>;
|
|
83
84
|
}
|
|
84
|
-
type CloudTrailDataClientConfigType = Partial<
|
|
85
|
+
export type CloudTrailDataClientConfigType = Partial<
|
|
85
86
|
__SmithyConfiguration<__HttpHandlerOptions>
|
|
86
87
|
> &
|
|
87
88
|
ClientDefaults &
|
|
@@ -94,7 +95,7 @@ type CloudTrailDataClientConfigType = Partial<
|
|
|
94
95
|
ClientInputEndpointParameters;
|
|
95
96
|
export interface CloudTrailDataClientConfig
|
|
96
97
|
extends CloudTrailDataClientConfigType {}
|
|
97
|
-
type CloudTrailDataClientResolvedConfigType =
|
|
98
|
+
export type CloudTrailDataClientResolvedConfigType =
|
|
98
99
|
__SmithyResolvedConfiguration<__HttpHandlerOptions> &
|
|
99
100
|
Required<ClientDefaults> &
|
|
100
101
|
RegionResolvedConfig &
|
|
@@ -116,4 +117,3 @@ export declare class CloudTrailDataClient extends __Client<
|
|
|
116
117
|
constructor(configuration: CloudTrailDataClientConfig);
|
|
117
118
|
destroy(): void;
|
|
118
119
|
}
|
|
119
|
-
export {};
|
|
@@ -15,6 +15,7 @@ import {
|
|
|
15
15
|
PutAuditEventsRequest,
|
|
16
16
|
PutAuditEventsResponse,
|
|
17
17
|
} from "../models/models_0";
|
|
18
|
+
export { __MetadataBearer, $Command };
|
|
18
19
|
export interface PutAuditEventsCommandInput extends PutAuditEventsRequest {}
|
|
19
20
|
export interface PutAuditEventsCommandOutput
|
|
20
21
|
extends PutAuditEventsResponse,
|
|
@@ -2,6 +2,7 @@ import {
|
|
|
2
2
|
ServiceException as __ServiceException,
|
|
3
3
|
ServiceExceptionOptions as __ServiceExceptionOptions,
|
|
4
4
|
} from "@aws-sdk/smithy-client";
|
|
5
|
+
export { __ServiceException, __ServiceExceptionOptions };
|
|
5
6
|
export declare class CloudTrailDataServiceException extends __ServiceException {
|
|
6
7
|
constructor(options: __ServiceExceptionOptions);
|
|
7
8
|
}
|
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.338.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.338.0",
|
|
25
|
+
"@aws-sdk/config-resolver": "3.338.0",
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.338.0",
|
|
27
|
+
"@aws-sdk/fetch-http-handler": "3.338.0",
|
|
28
|
+
"@aws-sdk/hash-node": "3.338.0",
|
|
29
|
+
"@aws-sdk/invalid-dependency": "3.338.0",
|
|
30
|
+
"@aws-sdk/middleware-content-length": "3.338.0",
|
|
31
|
+
"@aws-sdk/middleware-endpoint": "3.338.0",
|
|
32
|
+
"@aws-sdk/middleware-host-header": "3.338.0",
|
|
33
|
+
"@aws-sdk/middleware-logger": "3.338.0",
|
|
34
|
+
"@aws-sdk/middleware-recursion-detection": "3.338.0",
|
|
35
|
+
"@aws-sdk/middleware-retry": "3.338.0",
|
|
36
|
+
"@aws-sdk/middleware-serde": "3.338.0",
|
|
37
|
+
"@aws-sdk/middleware-signing": "3.338.0",
|
|
38
|
+
"@aws-sdk/middleware-stack": "3.338.0",
|
|
39
|
+
"@aws-sdk/middleware-user-agent": "3.338.0",
|
|
40
|
+
"@aws-sdk/node-config-provider": "3.338.0",
|
|
41
|
+
"@aws-sdk/node-http-handler": "3.338.0",
|
|
42
|
+
"@aws-sdk/smithy-client": "3.338.0",
|
|
43
|
+
"@aws-sdk/types": "3.338.0",
|
|
44
|
+
"@aws-sdk/url-parser": "3.338.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.338.0",
|
|
49
|
+
"@aws-sdk/util-defaults-mode-node": "3.338.0",
|
|
50
|
+
"@aws-sdk/util-endpoints": "3.338.0",
|
|
51
|
+
"@aws-sdk/util-retry": "3.338.0",
|
|
52
|
+
"@aws-sdk/util-user-agent-browser": "3.338.0",
|
|
53
|
+
"@aws-sdk/util-user-agent-node": "3.338.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",
|