@aws-sdk/client-cloudtrail-data 3.1077.0 → 3.1079.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 +9 -13
- package/dist-es/commandBuilder.js +6 -0
- package/dist-es/commands/PutAuditEventsCommand.js +2 -14
- package/dist-es/index.js +1 -0
- package/dist-types/commandBuilder.d.ts +18 -0
- package/dist-types/commands/PutAuditEventsCommand.d.ts +3 -8
- package/dist-types/index.d.ts +1 -0
- package/dist-types/ts3.4/commandBuilder.d.ts +42 -0
- package/dist-types/ts3.4/commands/PutAuditEventsCommand.d.ts +3 -8
- package/dist-types/ts3.4/index.d.ts +1 -0
- package/package.json +8 -8
package/dist-cjs/index.js
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
const { awsEndpointFunctions, emitWarningIfUnsupportedVersion: emitWarningIfUnsupportedVersion$1, createDefaultUserAgentProvider, NODE_APP_ID_CONFIG_OPTIONS, getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration, resolveUserAgentConfig, resolveHostHeaderConfig, getUserAgentPlugin, getHostHeaderPlugin, getLoggerPlugin, getRecursionDetectionPlugin } = require("@aws-sdk/core/client");
|
|
2
2
|
const { getHttpAuthSchemeEndpointRuleSetPlugin, DefaultIdentityProviderConfig, getHttpSigningPlugin } = require("@smithy/core");
|
|
3
|
-
const { normalizeProvider, getSmithyContext, ServiceException, NoOpLogger, emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode, getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client,
|
|
4
|
-
|
|
3
|
+
const { normalizeProvider, getSmithyContext, ServiceException, NoOpLogger, emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode, getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client, makeBuilder, createAggregatedClient } = require("@smithy/core/client");
|
|
4
|
+
const { Command: $Command } = require("@smithy/core/client");
|
|
5
|
+
exports.$Command = $Command;
|
|
5
6
|
exports.__Client = Client;
|
|
6
7
|
const { resolveDefaultsModeConfig, loadConfig, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS, resolveRegionConfig } = require("@smithy/core/config");
|
|
7
8
|
const { BinaryDecisionDiagram, EndpointCache, decideEndpoint, customEndpointFunctions, resolveEndpointConfig, getEndpointPlugin } = require("@smithy/core/endpoints");
|
|
@@ -68,7 +69,7 @@ const commonParams = {
|
|
|
68
69
|
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
69
70
|
};
|
|
70
71
|
|
|
71
|
-
var version = "3.
|
|
72
|
+
var version = "3.1078.0";
|
|
72
73
|
var packageInfo = {
|
|
73
74
|
version: version};
|
|
74
75
|
|
|
@@ -471,16 +472,11 @@ class CloudTrailDataClient extends Client {
|
|
|
471
472
|
}
|
|
472
473
|
}
|
|
473
474
|
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
})
|
|
480
|
-
.s("CloudTrailDataService", "PutAuditEvents", {})
|
|
481
|
-
.n("CloudTrailDataClient", "PutAuditEventsCommand")
|
|
482
|
-
.sc(PutAuditEvents$)
|
|
483
|
-
.build() {
|
|
475
|
+
const command = makeBuilder(commonParams, "CloudTrailDataService", "CloudTrailDataClient", getEndpointPlugin);
|
|
476
|
+
const _ep0 = {};
|
|
477
|
+
const _mw0 = (Command, cs, config, o) => [];
|
|
478
|
+
|
|
479
|
+
class PutAuditEventsCommand extends command(_ep0, _mw0, "PutAuditEvents", PutAuditEvents$) {
|
|
484
480
|
}
|
|
485
481
|
|
|
486
482
|
const commands = {
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { makeBuilder } from "@smithy/core/client";
|
|
2
|
+
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
+
import { commonParams } from "./endpoint/EndpointParameters";
|
|
4
|
+
export const command = makeBuilder(commonParams, "CloudTrailDataService", "CloudTrailDataClient", getEndpointPlugin);
|
|
5
|
+
export const _ep0 = {};
|
|
6
|
+
export const _mw0 = (Command, cs, config, o) => [];
|
|
@@ -1,16 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
|
-
import { commonParams } from "../endpoint/EndpointParameters";
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
4
2
|
import { PutAuditEvents$ } from "../schemas/schemas_0";
|
|
5
|
-
export
|
|
6
|
-
export class PutAuditEventsCommand extends $Command
|
|
7
|
-
.classBuilder()
|
|
8
|
-
.ep(commonParams)
|
|
9
|
-
.m(function (Command, cs, config, o) {
|
|
10
|
-
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
11
|
-
})
|
|
12
|
-
.s("CloudTrailDataService", "PutAuditEvents", {})
|
|
13
|
-
.n("CloudTrailDataClient", "PutAuditEventsCommand")
|
|
14
|
-
.sc(PutAuditEvents$)
|
|
15
|
-
.build() {
|
|
3
|
+
export class PutAuditEventsCommand extends command(_ep0, _mw0, "PutAuditEvents", PutAuditEvents$) {
|
|
16
4
|
}
|
package/dist-es/index.js
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
export * from "./CloudTrailDataClient";
|
|
2
2
|
export * from "./CloudTrailData";
|
|
3
3
|
export * from "./commands";
|
|
4
|
+
export { Command as $Command } from "@smithy/core/client";
|
|
4
5
|
export * from "./schemas/schemas_0";
|
|
5
6
|
export * from "./models/errors";
|
|
6
7
|
export * from "./models/models_0";
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import type { EndpointParameterInstructions } from "@smithy/types";
|
|
2
|
+
import type { CloudTrailDataClientResolvedConfig } from "./CloudTrailDataClient";
|
|
3
|
+
/**
|
|
4
|
+
* @internal
|
|
5
|
+
*/
|
|
6
|
+
export declare const command: <I extends import("./commands").PutAuditEventsCommandInput, O extends import("./commands").PutAuditEventsCommandOutput>(added: EndpointParameterInstructions, plugins: (CommandCtor: any, clientStack: any, config: any, options: any) => import("@smithy/types").Pluggable<any, any>[], op: string, $: import("@smithy/types").StaticOperationSchema, smithyContext?: Record<string, unknown>) => {
|
|
7
|
+
new (input: I): import("@smithy/core/client").CommandImpl<I, O, CloudTrailDataClientResolvedConfig, import("./commands").PutAuditEventsCommandInput, import("./commands").PutAuditEventsCommandOutput>;
|
|
8
|
+
new (...[input]: import("@smithy/types").OptionalParameter<I>): import("@smithy/core/client").CommandImpl<I, O, CloudTrailDataClientResolvedConfig, import("./commands").PutAuditEventsCommandInput, import("./commands").PutAuditEventsCommandOutput>;
|
|
9
|
+
getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
10
|
+
};
|
|
11
|
+
/**
|
|
12
|
+
* @internal
|
|
13
|
+
*/
|
|
14
|
+
export declare const _ep0: EndpointParameterInstructions;
|
|
15
|
+
/**
|
|
16
|
+
* @internal
|
|
17
|
+
*/
|
|
18
|
+
export declare const _mw0: (Command: any, cs: any, config: any, o: any) => never[];
|
|
@@ -1,12 +1,9 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/core/client";
|
|
2
1
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import type { CloudTrailDataClientResolvedConfig } from "../CloudTrailDataClient";
|
|
4
2
|
import type { PutAuditEventsRequest, PutAuditEventsResponse } from "../models/models_0";
|
|
5
3
|
/**
|
|
6
4
|
* @public
|
|
7
5
|
*/
|
|
8
6
|
export type { __MetadataBearer };
|
|
9
|
-
export { $Command };
|
|
10
7
|
/**
|
|
11
8
|
* @public
|
|
12
9
|
*
|
|
@@ -22,11 +19,9 @@ export interface PutAuditEventsCommandInput extends PutAuditEventsRequest {
|
|
|
22
19
|
export interface PutAuditEventsCommandOutput extends PutAuditEventsResponse, __MetadataBearer {
|
|
23
20
|
}
|
|
24
21
|
declare const PutAuditEventsCommand_base: {
|
|
25
|
-
new (input: PutAuditEventsCommandInput): import("@smithy/core/client").CommandImpl<PutAuditEventsCommandInput, PutAuditEventsCommandOutput, CloudTrailDataClientResolvedConfig, PutAuditEventsCommandInput, PutAuditEventsCommandOutput>;
|
|
26
|
-
new (input: PutAuditEventsCommandInput): import("@smithy/core/client").CommandImpl<PutAuditEventsCommandInput, PutAuditEventsCommandOutput, CloudTrailDataClientResolvedConfig, PutAuditEventsCommandInput, PutAuditEventsCommandOutput>;
|
|
27
|
-
getEndpointParameterInstructions():
|
|
28
|
-
[x: string]: unknown;
|
|
29
|
-
};
|
|
22
|
+
new (input: PutAuditEventsCommandInput): import("@smithy/core/client").CommandImpl<PutAuditEventsCommandInput, PutAuditEventsCommandOutput, import("..").CloudTrailDataClientResolvedConfig, PutAuditEventsCommandInput, PutAuditEventsCommandOutput>;
|
|
23
|
+
new (input: PutAuditEventsCommandInput): import("@smithy/core/client").CommandImpl<PutAuditEventsCommandInput, PutAuditEventsCommandOutput, import("..").CloudTrailDataClientResolvedConfig, PutAuditEventsCommandInput, PutAuditEventsCommandOutput>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
30
25
|
};
|
|
31
26
|
/**
|
|
32
27
|
* <p>Ingests your application events into CloudTrail Lake. A required parameter,
|
package/dist-types/index.d.ts
CHANGED
|
@@ -14,6 +14,7 @@ export type { ClientInputEndpointParameters } from "./endpoint/EndpointParameter
|
|
|
14
14
|
export type { RuntimeExtension } from "./runtimeExtensions";
|
|
15
15
|
export type { CloudTrailDataExtensionConfiguration } from "./extensionConfiguration";
|
|
16
16
|
export * from "./commands";
|
|
17
|
+
export { Command as $Command } from "@smithy/core/client";
|
|
17
18
|
export * from "./schemas/schemas_0";
|
|
18
19
|
export * from "./models/errors";
|
|
19
20
|
export * from "./models/models_0";
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@smithy/types";
|
|
2
|
+
import { CloudTrailDataClientResolvedConfig } from "./CloudTrailDataClient";
|
|
3
|
+
export declare const command: <
|
|
4
|
+
I extends import("./commands").PutAuditEventsCommandInput,
|
|
5
|
+
O extends import("./commands").PutAuditEventsCommandOutput
|
|
6
|
+
>(
|
|
7
|
+
added: EndpointParameterInstructions,
|
|
8
|
+
plugins: (
|
|
9
|
+
CommandCtor: any,
|
|
10
|
+
clientStack: any,
|
|
11
|
+
config: any,
|
|
12
|
+
options: any
|
|
13
|
+
) => import("@smithy/types").Pluggable<any, any>[],
|
|
14
|
+
op: string,
|
|
15
|
+
$: import("@smithy/types").StaticOperationSchema,
|
|
16
|
+
smithyContext?: Record<string, unknown>
|
|
17
|
+
) => {
|
|
18
|
+
new (input: I): import("@smithy/core/client").CommandImpl<
|
|
19
|
+
I,
|
|
20
|
+
O,
|
|
21
|
+
CloudTrailDataClientResolvedConfig,
|
|
22
|
+
import("./commands").PutAuditEventsCommandInput,
|
|
23
|
+
import("./commands").PutAuditEventsCommandOutput
|
|
24
|
+
>;
|
|
25
|
+
new (
|
|
26
|
+
...[input]: import("@smithy/types").OptionalParameter<I>
|
|
27
|
+
): import("@smithy/core/client").CommandImpl<
|
|
28
|
+
I,
|
|
29
|
+
O,
|
|
30
|
+
CloudTrailDataClientResolvedConfig,
|
|
31
|
+
import("./commands").PutAuditEventsCommandInput,
|
|
32
|
+
import("./commands").PutAuditEventsCommandOutput
|
|
33
|
+
>;
|
|
34
|
+
getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
35
|
+
};
|
|
36
|
+
export declare const _ep0: EndpointParameterInstructions;
|
|
37
|
+
export declare const _mw0: (
|
|
38
|
+
Command: any,
|
|
39
|
+
cs: any,
|
|
40
|
+
config: any,
|
|
41
|
+
o: any
|
|
42
|
+
) => never[];
|
|
@@ -1,12 +1,9 @@
|
|
|
1
|
-
import { Command as $Command } from "@smithy/core/client";
|
|
2
1
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import { CloudTrailDataClientResolvedConfig } from "../CloudTrailDataClient";
|
|
4
2
|
import {
|
|
5
3
|
PutAuditEventsRequest,
|
|
6
4
|
PutAuditEventsResponse,
|
|
7
5
|
} from "../models/models_0";
|
|
8
6
|
export { __MetadataBearer };
|
|
9
|
-
export { $Command };
|
|
10
7
|
export interface PutAuditEventsCommandInput extends PutAuditEventsRequest {}
|
|
11
8
|
export interface PutAuditEventsCommandOutput
|
|
12
9
|
extends PutAuditEventsResponse,
|
|
@@ -17,7 +14,7 @@ declare const PutAuditEventsCommand_base: {
|
|
|
17
14
|
): import("@smithy/core/client").CommandImpl<
|
|
18
15
|
PutAuditEventsCommandInput,
|
|
19
16
|
PutAuditEventsCommandOutput,
|
|
20
|
-
CloudTrailDataClientResolvedConfig,
|
|
17
|
+
import("..").CloudTrailDataClientResolvedConfig,
|
|
21
18
|
PutAuditEventsCommandInput,
|
|
22
19
|
PutAuditEventsCommandOutput
|
|
23
20
|
>;
|
|
@@ -26,13 +23,11 @@ declare const PutAuditEventsCommand_base: {
|
|
|
26
23
|
): import("@smithy/core/client").CommandImpl<
|
|
27
24
|
PutAuditEventsCommandInput,
|
|
28
25
|
PutAuditEventsCommandOutput,
|
|
29
|
-
CloudTrailDataClientResolvedConfig,
|
|
26
|
+
import("..").CloudTrailDataClientResolvedConfig,
|
|
30
27
|
PutAuditEventsCommandInput,
|
|
31
28
|
PutAuditEventsCommandOutput
|
|
32
29
|
>;
|
|
33
|
-
getEndpointParameterInstructions():
|
|
34
|
-
[x: string]: unknown;
|
|
35
|
-
};
|
|
30
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
36
31
|
};
|
|
37
32
|
export declare class PutAuditEventsCommand extends PutAuditEventsCommand_base {
|
|
38
33
|
protected static __types: {
|
|
@@ -4,6 +4,7 @@ export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters";
|
|
|
4
4
|
export { RuntimeExtension } from "./runtimeExtensions";
|
|
5
5
|
export { CloudTrailDataExtensionConfiguration } from "./extensionConfiguration";
|
|
6
6
|
export * from "./commands";
|
|
7
|
+
export { Command as $Command } from "@smithy/core/client";
|
|
7
8
|
export * from "./schemas/schemas_0";
|
|
8
9
|
export * from "./models/errors";
|
|
9
10
|
export * from "./models/models_0";
|
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.1079.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline",
|
|
@@ -19,13 +19,13 @@
|
|
|
19
19
|
"module": "./dist-es/index.js",
|
|
20
20
|
"sideEffects": false,
|
|
21
21
|
"dependencies": {
|
|
22
|
-
"@aws-sdk/core": "^3.974.
|
|
23
|
-
"@aws-sdk/credential-provider-node": "^3.972.
|
|
24
|
-
"@aws-sdk/types": "^3.973.
|
|
25
|
-
"@smithy/core": "^3.
|
|
26
|
-
"@smithy/fetch-http-handler": "^5.6.
|
|
27
|
-
"@smithy/node-http-handler": "^4.9.
|
|
28
|
-
"@smithy/types": "^4.15.
|
|
22
|
+
"@aws-sdk/core": "^3.974.27",
|
|
23
|
+
"@aws-sdk/credential-provider-node": "^3.972.62",
|
|
24
|
+
"@aws-sdk/types": "^3.973.15",
|
|
25
|
+
"@smithy/core": "^3.29.0",
|
|
26
|
+
"@smithy/fetch-http-handler": "^5.6.2",
|
|
27
|
+
"@smithy/node-http-handler": "^4.9.2",
|
|
28
|
+
"@smithy/types": "^4.15.1",
|
|
29
29
|
"tslib": "^2.6.2"
|
|
30
30
|
},
|
|
31
31
|
"devDependencies": {
|