@aws-sdk/client-cloudtrail-data 3.262.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/LICENSE +201 -0
- package/README.md +210 -0
- package/dist-cjs/CloudTrailData.js +22 -0
- package/dist-cjs/CloudTrailDataClient.js +40 -0
- package/dist-cjs/commands/PutAuditEventsCommand.js +46 -0
- package/dist-cjs/commands/index.js +4 -0
- package/dist-cjs/endpoint/EndpointParameters.js +12 -0
- package/dist-cjs/endpoint/endpointResolver.js +12 -0
- package/dist-cjs/endpoint/ruleset.js +7 -0
- package/dist-cjs/index.js +10 -0
- package/dist-cjs/models/CloudTrailDataServiceException.js +11 -0
- package/dist-cjs/models/index.js +4 -0
- package/dist-cjs/models/models_0.js +102 -0
- package/dist-cjs/protocols/Aws_restJson1.js +265 -0
- package/dist-cjs/runtimeConfig.browser.js +39 -0
- package/dist-cjs/runtimeConfig.js +48 -0
- package/dist-cjs/runtimeConfig.native.js +15 -0
- package/dist-cjs/runtimeConfig.shared.js +21 -0
- package/dist-es/CloudTrailData.js +18 -0
- package/dist-es/CloudTrailDataClient.js +36 -0
- package/dist-es/commands/PutAuditEventsCommand.js +42 -0
- package/dist-es/commands/index.js +1 -0
- package/dist-es/endpoint/EndpointParameters.js +8 -0
- package/dist-es/endpoint/endpointResolver.js +8 -0
- package/dist-es/endpoint/ruleset.js +4 -0
- package/dist-es/index.js +5 -0
- package/dist-es/models/CloudTrailDataServiceException.js +7 -0
- package/dist-es/models/index.js +1 -0
- package/dist-es/models/models_0.js +88 -0
- package/dist-es/protocols/Aws_restJson1.js +260 -0
- package/dist-es/runtimeConfig.browser.js +34 -0
- package/dist-es/runtimeConfig.js +43 -0
- package/dist-es/runtimeConfig.native.js +11 -0
- package/dist-es/runtimeConfig.shared.js +17 -0
- package/dist-types/CloudTrailData.d.ts +23 -0
- package/dist-types/CloudTrailDataClient.d.ts +147 -0
- package/dist-types/commands/PutAuditEventsCommand.d.ts +41 -0
- package/dist-types/commands/index.d.ts +1 -0
- package/dist-types/endpoint/EndpointParameters.d.ts +19 -0
- package/dist-types/endpoint/endpointResolver.d.ts +5 -0
- package/dist-types/endpoint/ruleset.d.ts +2 -0
- package/dist-types/index.d.ts +5 -0
- package/dist-types/models/CloudTrailDataServiceException.d.ts +10 -0
- package/dist-types/models/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +174 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +5 -0
- package/dist-types/runtimeConfig.browser.d.ts +42 -0
- package/dist-types/runtimeConfig.d.ts +42 -0
- package/dist-types/runtimeConfig.native.d.ts +41 -0
- package/dist-types/runtimeConfig.shared.d.ts +18 -0
- package/dist-types/ts3.4/CloudTrailData.d.ts +21 -0
- package/dist-types/ts3.4/CloudTrailDataClient.d.ts +117 -0
- package/dist-types/ts3.4/commands/PutAuditEventsCommand.d.ts +37 -0
- package/dist-types/ts3.4/commands/index.d.ts +1 -0
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +34 -0
- package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
- package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
- package/dist-types/ts3.4/index.d.ts +5 -0
- package/dist-types/ts3.4/models/CloudTrailDataServiceException.d.ts +7 -0
- package/dist-types/ts3.4/models/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +76 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +17 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +91 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +91 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +80 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +18 -0
- package/package.json +102 -0
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { CloudTrailDataServiceException as __BaseException } from "./CloudTrailDataServiceException";
|
|
3
|
+
export interface AuditEvent {
|
|
4
|
+
id: string | undefined;
|
|
5
|
+
eventData: string | undefined;
|
|
6
|
+
eventDataChecksum?: string;
|
|
7
|
+
}
|
|
8
|
+
export interface AuditEventResultEntry {
|
|
9
|
+
id: string | undefined;
|
|
10
|
+
eventID: string | undefined;
|
|
11
|
+
}
|
|
12
|
+
export declare class ChannelInsufficientPermission extends __BaseException {
|
|
13
|
+
readonly name: "ChannelInsufficientPermission";
|
|
14
|
+
readonly $fault: "client";
|
|
15
|
+
constructor(
|
|
16
|
+
opts: __ExceptionOptionType<ChannelInsufficientPermission, __BaseException>
|
|
17
|
+
);
|
|
18
|
+
}
|
|
19
|
+
export declare class ChannelNotFound extends __BaseException {
|
|
20
|
+
readonly name: "ChannelNotFound";
|
|
21
|
+
readonly $fault: "client";
|
|
22
|
+
constructor(opts: __ExceptionOptionType<ChannelNotFound, __BaseException>);
|
|
23
|
+
}
|
|
24
|
+
export declare class ChannelUnsupportedSchema extends __BaseException {
|
|
25
|
+
readonly name: "ChannelUnsupportedSchema";
|
|
26
|
+
readonly $fault: "client";
|
|
27
|
+
constructor(
|
|
28
|
+
opts: __ExceptionOptionType<ChannelUnsupportedSchema, __BaseException>
|
|
29
|
+
);
|
|
30
|
+
}
|
|
31
|
+
export declare class DuplicatedAuditEventId extends __BaseException {
|
|
32
|
+
readonly name: "DuplicatedAuditEventId";
|
|
33
|
+
readonly $fault: "client";
|
|
34
|
+
constructor(
|
|
35
|
+
opts: __ExceptionOptionType<DuplicatedAuditEventId, __BaseException>
|
|
36
|
+
);
|
|
37
|
+
}
|
|
38
|
+
export declare class InvalidChannelARN extends __BaseException {
|
|
39
|
+
readonly name: "InvalidChannelARN";
|
|
40
|
+
readonly $fault: "client";
|
|
41
|
+
constructor(opts: __ExceptionOptionType<InvalidChannelARN, __BaseException>);
|
|
42
|
+
}
|
|
43
|
+
export interface PutAuditEventsRequest {
|
|
44
|
+
auditEvents: AuditEvent[] | undefined;
|
|
45
|
+
channelArn: string | undefined;
|
|
46
|
+
externalId?: string;
|
|
47
|
+
}
|
|
48
|
+
export interface ResultErrorEntry {
|
|
49
|
+
id: string | undefined;
|
|
50
|
+
errorCode: string | undefined;
|
|
51
|
+
errorMessage: string | undefined;
|
|
52
|
+
}
|
|
53
|
+
export interface PutAuditEventsResponse {
|
|
54
|
+
successful: AuditEventResultEntry[] | undefined;
|
|
55
|
+
failed: ResultErrorEntry[] | undefined;
|
|
56
|
+
}
|
|
57
|
+
export declare class UnsupportedOperationException extends __BaseException {
|
|
58
|
+
readonly name: "UnsupportedOperationException";
|
|
59
|
+
readonly $fault: "client";
|
|
60
|
+
constructor(
|
|
61
|
+
opts: __ExceptionOptionType<UnsupportedOperationException, __BaseException>
|
|
62
|
+
);
|
|
63
|
+
}
|
|
64
|
+
export declare const AuditEventFilterSensitiveLog: (obj: AuditEvent) => any;
|
|
65
|
+
export declare const AuditEventResultEntryFilterSensitiveLog: (
|
|
66
|
+
obj: AuditEventResultEntry
|
|
67
|
+
) => any;
|
|
68
|
+
export declare const PutAuditEventsRequestFilterSensitiveLog: (
|
|
69
|
+
obj: PutAuditEventsRequest
|
|
70
|
+
) => any;
|
|
71
|
+
export declare const ResultErrorEntryFilterSensitiveLog: (
|
|
72
|
+
obj: ResultErrorEntry
|
|
73
|
+
) => any;
|
|
74
|
+
export declare const PutAuditEventsResponseFilterSensitiveLog: (
|
|
75
|
+
obj: PutAuditEventsResponse
|
|
76
|
+
) => any;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import {
|
|
2
|
+
HttpRequest as __HttpRequest,
|
|
3
|
+
HttpResponse as __HttpResponse,
|
|
4
|
+
} from "@aws-sdk/protocol-http";
|
|
5
|
+
import { SerdeContext as __SerdeContext } from "@aws-sdk/types";
|
|
6
|
+
import {
|
|
7
|
+
PutAuditEventsCommandInput,
|
|
8
|
+
PutAuditEventsCommandOutput,
|
|
9
|
+
} from "../commands/PutAuditEventsCommand";
|
|
10
|
+
export declare const serializeAws_restJson1PutAuditEventsCommand: (
|
|
11
|
+
input: PutAuditEventsCommandInput,
|
|
12
|
+
context: __SerdeContext
|
|
13
|
+
) => Promise<__HttpRequest>;
|
|
14
|
+
export declare const deserializeAws_restJson1PutAuditEventsCommand: (
|
|
15
|
+
output: __HttpResponse,
|
|
16
|
+
context: __SerdeContext
|
|
17
|
+
) => Promise<PutAuditEventsCommandOutput>;
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
import { FetchHttpHandler as RequestHandler } from "@aws-sdk/fetch-http-handler";
|
|
2
|
+
import { CloudTrailDataClientConfig } from "./CloudTrailDataClient";
|
|
3
|
+
export declare const getRuntimeConfig: (config: CloudTrailDataClientConfig) => {
|
|
4
|
+
runtime: string;
|
|
5
|
+
defaultsMode: import("@aws-sdk/types").Provider<
|
|
6
|
+
import("@aws-sdk/smithy-client").ResolvedDefaultsMode
|
|
7
|
+
>;
|
|
8
|
+
bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
|
|
9
|
+
credentialDefaultProvider: (
|
|
10
|
+
input: any
|
|
11
|
+
) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
12
|
+
defaultUserAgentProvider: import("@aws-sdk/types").Provider<
|
|
13
|
+
import("@aws-sdk/types").UserAgent
|
|
14
|
+
>;
|
|
15
|
+
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
16
|
+
region: string | import("@aws-sdk/types").Provider<any>;
|
|
17
|
+
requestHandler:
|
|
18
|
+
| (import("@aws-sdk/types").RequestHandler<
|
|
19
|
+
any,
|
|
20
|
+
any,
|
|
21
|
+
import("@aws-sdk/types").HttpHandlerOptions
|
|
22
|
+
> &
|
|
23
|
+
import("@aws-sdk/protocol-http").HttpHandler)
|
|
24
|
+
| RequestHandler;
|
|
25
|
+
retryMode: string | import("@aws-sdk/types").Provider<string>;
|
|
26
|
+
sha256: import("@aws-sdk/types").HashConstructor;
|
|
27
|
+
streamCollector: import("@aws-sdk/types").StreamCollector;
|
|
28
|
+
useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
29
|
+
useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
30
|
+
apiVersion: string;
|
|
31
|
+
urlParser: import("@aws-sdk/types").UrlParser;
|
|
32
|
+
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
33
|
+
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
34
|
+
utf8Decoder: import("@aws-sdk/types").Decoder;
|
|
35
|
+
utf8Encoder: import("@aws-sdk/types").Encoder;
|
|
36
|
+
disableHostPrefix: boolean;
|
|
37
|
+
logger: import("@aws-sdk/types").Logger;
|
|
38
|
+
serviceId: string;
|
|
39
|
+
endpoint?:
|
|
40
|
+
| ((
|
|
41
|
+
| string
|
|
42
|
+
| import("@aws-sdk/types").Endpoint
|
|
43
|
+
| import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint>
|
|
44
|
+
| import("@aws-sdk/types").EndpointV2
|
|
45
|
+
| import("@aws-sdk/types").Provider<import("@aws-sdk/types").EndpointV2>
|
|
46
|
+
) &
|
|
47
|
+
(
|
|
48
|
+
| string
|
|
49
|
+
| import("@aws-sdk/types").Endpoint
|
|
50
|
+
| import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint>
|
|
51
|
+
| import("@aws-sdk/types").Provider<string>
|
|
52
|
+
| import("@aws-sdk/types").EndpointV2
|
|
53
|
+
| import("@aws-sdk/types").Provider<
|
|
54
|
+
import("@aws-sdk/types").EndpointV2
|
|
55
|
+
>
|
|
56
|
+
))
|
|
57
|
+
| undefined;
|
|
58
|
+
endpointProvider: (
|
|
59
|
+
endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
|
|
60
|
+
context?: {
|
|
61
|
+
logger?: import("@aws-sdk/types").Logger | undefined;
|
|
62
|
+
}
|
|
63
|
+
) => import("@aws-sdk/types").EndpointV2;
|
|
64
|
+
tls?: boolean | undefined;
|
|
65
|
+
retryStrategy?:
|
|
66
|
+
| import("@aws-sdk/types").RetryStrategy
|
|
67
|
+
| import("@aws-sdk/types").RetryStrategyV2
|
|
68
|
+
| undefined;
|
|
69
|
+
credentials?:
|
|
70
|
+
| import("@aws-sdk/types").AwsCredentialIdentity
|
|
71
|
+
| import("@aws-sdk/types").Provider<
|
|
72
|
+
import("@aws-sdk/types").AwsCredentialIdentity
|
|
73
|
+
>
|
|
74
|
+
| undefined;
|
|
75
|
+
signer?:
|
|
76
|
+
| import("@aws-sdk/types").RequestSigner
|
|
77
|
+
| ((
|
|
78
|
+
authScheme?: import("@aws-sdk/types").AuthScheme | undefined
|
|
79
|
+
) => Promise<import("@aws-sdk/types").RequestSigner>)
|
|
80
|
+
| undefined;
|
|
81
|
+
signingEscapePath?: boolean | undefined;
|
|
82
|
+
systemClockOffset?: number | undefined;
|
|
83
|
+
signingRegion?: string | undefined;
|
|
84
|
+
signerConstructor?:
|
|
85
|
+
| (new (
|
|
86
|
+
options: import("@aws-sdk/signature-v4").SignatureV4Init &
|
|
87
|
+
import("@aws-sdk/signature-v4").SignatureV4CryptoInit
|
|
88
|
+
) => import("@aws-sdk/types").RequestSigner)
|
|
89
|
+
| undefined;
|
|
90
|
+
customUserAgent?: string | import("@aws-sdk/types").UserAgent | undefined;
|
|
91
|
+
};
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
import { NodeHttpHandler as RequestHandler } from "@aws-sdk/node-http-handler";
|
|
2
|
+
import { CloudTrailDataClientConfig } from "./CloudTrailDataClient";
|
|
3
|
+
export declare const getRuntimeConfig: (config: CloudTrailDataClientConfig) => {
|
|
4
|
+
runtime: string;
|
|
5
|
+
defaultsMode: import("@aws-sdk/types").Provider<
|
|
6
|
+
import("@aws-sdk/smithy-client").ResolvedDefaultsMode
|
|
7
|
+
>;
|
|
8
|
+
bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
|
|
9
|
+
credentialDefaultProvider: (
|
|
10
|
+
input: any
|
|
11
|
+
) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
12
|
+
defaultUserAgentProvider: import("@aws-sdk/types").Provider<
|
|
13
|
+
import("@aws-sdk/types").UserAgent
|
|
14
|
+
>;
|
|
15
|
+
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
16
|
+
region: string | import("@aws-sdk/types").Provider<string>;
|
|
17
|
+
requestHandler:
|
|
18
|
+
| (import("@aws-sdk/types").RequestHandler<
|
|
19
|
+
any,
|
|
20
|
+
any,
|
|
21
|
+
import("@aws-sdk/types").HttpHandlerOptions
|
|
22
|
+
> &
|
|
23
|
+
import("@aws-sdk/protocol-http").HttpHandler)
|
|
24
|
+
| RequestHandler;
|
|
25
|
+
retryMode: string | import("@aws-sdk/types").Provider<string>;
|
|
26
|
+
sha256: import("@aws-sdk/types").HashConstructor;
|
|
27
|
+
streamCollector: import("@aws-sdk/types").StreamCollector;
|
|
28
|
+
useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
29
|
+
useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
30
|
+
apiVersion: string;
|
|
31
|
+
urlParser: import("@aws-sdk/types").UrlParser;
|
|
32
|
+
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
33
|
+
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
34
|
+
utf8Decoder: import("@aws-sdk/types").Decoder;
|
|
35
|
+
utf8Encoder: import("@aws-sdk/types").Encoder;
|
|
36
|
+
disableHostPrefix: boolean;
|
|
37
|
+
logger: import("@aws-sdk/types").Logger;
|
|
38
|
+
serviceId: string;
|
|
39
|
+
endpoint?:
|
|
40
|
+
| ((
|
|
41
|
+
| string
|
|
42
|
+
| import("@aws-sdk/types").Endpoint
|
|
43
|
+
| import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint>
|
|
44
|
+
| import("@aws-sdk/types").EndpointV2
|
|
45
|
+
| import("@aws-sdk/types").Provider<import("@aws-sdk/types").EndpointV2>
|
|
46
|
+
) &
|
|
47
|
+
(
|
|
48
|
+
| string
|
|
49
|
+
| import("@aws-sdk/types").Endpoint
|
|
50
|
+
| import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint>
|
|
51
|
+
| import("@aws-sdk/types").Provider<string>
|
|
52
|
+
| import("@aws-sdk/types").EndpointV2
|
|
53
|
+
| import("@aws-sdk/types").Provider<
|
|
54
|
+
import("@aws-sdk/types").EndpointV2
|
|
55
|
+
>
|
|
56
|
+
))
|
|
57
|
+
| undefined;
|
|
58
|
+
endpointProvider: (
|
|
59
|
+
endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
|
|
60
|
+
context?: {
|
|
61
|
+
logger?: import("@aws-sdk/types").Logger | undefined;
|
|
62
|
+
}
|
|
63
|
+
) => import("@aws-sdk/types").EndpointV2;
|
|
64
|
+
tls?: boolean | undefined;
|
|
65
|
+
retryStrategy?:
|
|
66
|
+
| import("@aws-sdk/types").RetryStrategy
|
|
67
|
+
| import("@aws-sdk/types").RetryStrategyV2
|
|
68
|
+
| undefined;
|
|
69
|
+
credentials?:
|
|
70
|
+
| import("@aws-sdk/types").AwsCredentialIdentity
|
|
71
|
+
| import("@aws-sdk/types").Provider<
|
|
72
|
+
import("@aws-sdk/types").AwsCredentialIdentity
|
|
73
|
+
>
|
|
74
|
+
| undefined;
|
|
75
|
+
signer?:
|
|
76
|
+
| import("@aws-sdk/types").RequestSigner
|
|
77
|
+
| ((
|
|
78
|
+
authScheme?: import("@aws-sdk/types").AuthScheme | undefined
|
|
79
|
+
) => Promise<import("@aws-sdk/types").RequestSigner>)
|
|
80
|
+
| undefined;
|
|
81
|
+
signingEscapePath?: boolean | undefined;
|
|
82
|
+
systemClockOffset?: number | undefined;
|
|
83
|
+
signingRegion?: string | undefined;
|
|
84
|
+
signerConstructor?:
|
|
85
|
+
| (new (
|
|
86
|
+
options: import("@aws-sdk/signature-v4").SignatureV4Init &
|
|
87
|
+
import("@aws-sdk/signature-v4").SignatureV4CryptoInit
|
|
88
|
+
) => import("@aws-sdk/types").RequestSigner)
|
|
89
|
+
| undefined;
|
|
90
|
+
customUserAgent?: string | import("@aws-sdk/types").UserAgent | undefined;
|
|
91
|
+
};
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
import { CloudTrailDataClientConfig } from "./CloudTrailDataClient";
|
|
2
|
+
export declare const getRuntimeConfig: (config: CloudTrailDataClientConfig) => {
|
|
3
|
+
runtime: string;
|
|
4
|
+
sha256: import("@aws-sdk/types").HashConstructor;
|
|
5
|
+
requestHandler:
|
|
6
|
+
| (import("@aws-sdk/types").RequestHandler<
|
|
7
|
+
any,
|
|
8
|
+
any,
|
|
9
|
+
import("@aws-sdk/types").HttpHandlerOptions
|
|
10
|
+
> &
|
|
11
|
+
import("@aws-sdk/protocol-http").HttpHandler)
|
|
12
|
+
| import("@aws-sdk/fetch-http-handler").FetchHttpHandler;
|
|
13
|
+
apiVersion: string;
|
|
14
|
+
urlParser: import("@aws-sdk/types").UrlParser;
|
|
15
|
+
bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
|
|
16
|
+
streamCollector: import("@aws-sdk/types").StreamCollector;
|
|
17
|
+
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
18
|
+
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
19
|
+
utf8Decoder: import("@aws-sdk/types").Decoder;
|
|
20
|
+
utf8Encoder: import("@aws-sdk/types").Encoder;
|
|
21
|
+
disableHostPrefix: boolean;
|
|
22
|
+
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
23
|
+
retryMode: string | import("@aws-sdk/types").Provider<string>;
|
|
24
|
+
logger: import("@aws-sdk/types").Logger;
|
|
25
|
+
useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
26
|
+
useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
27
|
+
serviceId: string;
|
|
28
|
+
region: string | import("@aws-sdk/types").Provider<any>;
|
|
29
|
+
credentialDefaultProvider: (
|
|
30
|
+
input: any
|
|
31
|
+
) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
32
|
+
defaultUserAgentProvider: import("@aws-sdk/types").Provider<
|
|
33
|
+
import("@aws-sdk/types").UserAgent
|
|
34
|
+
>;
|
|
35
|
+
defaultsMode:
|
|
36
|
+
| import("@aws-sdk/smithy-client").DefaultsMode
|
|
37
|
+
| import("@aws-sdk/types").Provider<
|
|
38
|
+
import("@aws-sdk/smithy-client").DefaultsMode
|
|
39
|
+
>;
|
|
40
|
+
endpoint?:
|
|
41
|
+
| string
|
|
42
|
+
| import("@aws-sdk/types").Endpoint
|
|
43
|
+
| import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint>
|
|
44
|
+
| import("@aws-sdk/types").EndpointV2
|
|
45
|
+
| import("@aws-sdk/types").Provider<import("@aws-sdk/types").EndpointV2>
|
|
46
|
+
| undefined;
|
|
47
|
+
endpointProvider: (
|
|
48
|
+
endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
|
|
49
|
+
context?: {
|
|
50
|
+
logger?: import("@aws-sdk/types").Logger | undefined;
|
|
51
|
+
}
|
|
52
|
+
) => import("@aws-sdk/types").EndpointV2;
|
|
53
|
+
tls?: boolean | undefined;
|
|
54
|
+
retryStrategy?:
|
|
55
|
+
| import("@aws-sdk/types").RetryStrategy
|
|
56
|
+
| import("@aws-sdk/types").RetryStrategyV2
|
|
57
|
+
| undefined;
|
|
58
|
+
credentials?:
|
|
59
|
+
| import("@aws-sdk/types").AwsCredentialIdentity
|
|
60
|
+
| import("@aws-sdk/types").Provider<
|
|
61
|
+
import("@aws-sdk/types").AwsCredentialIdentity
|
|
62
|
+
>
|
|
63
|
+
| undefined;
|
|
64
|
+
signer?:
|
|
65
|
+
| import("@aws-sdk/types").RequestSigner
|
|
66
|
+
| ((
|
|
67
|
+
authScheme?: import("@aws-sdk/types").AuthScheme | undefined
|
|
68
|
+
) => Promise<import("@aws-sdk/types").RequestSigner>)
|
|
69
|
+
| undefined;
|
|
70
|
+
signingEscapePath?: boolean | undefined;
|
|
71
|
+
systemClockOffset?: number | undefined;
|
|
72
|
+
signingRegion?: string | undefined;
|
|
73
|
+
signerConstructor?:
|
|
74
|
+
| (new (
|
|
75
|
+
options: import("@aws-sdk/signature-v4").SignatureV4Init &
|
|
76
|
+
import("@aws-sdk/signature-v4").SignatureV4CryptoInit
|
|
77
|
+
) => import("@aws-sdk/types").RequestSigner)
|
|
78
|
+
| undefined;
|
|
79
|
+
customUserAgent?: string | import("@aws-sdk/types").UserAgent | undefined;
|
|
80
|
+
};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { CloudTrailDataClientConfig } from "./CloudTrailDataClient";
|
|
2
|
+
export declare const getRuntimeConfig: (config: CloudTrailDataClientConfig) => {
|
|
3
|
+
apiVersion: string;
|
|
4
|
+
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
5
|
+
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
6
|
+
disableHostPrefix: boolean;
|
|
7
|
+
endpointProvider: (
|
|
8
|
+
endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
|
|
9
|
+
context?: {
|
|
10
|
+
logger?: import("@aws-sdk/types").Logger | undefined;
|
|
11
|
+
}
|
|
12
|
+
) => import("@aws-sdk/types").EndpointV2;
|
|
13
|
+
logger: import("@aws-sdk/types").Logger;
|
|
14
|
+
serviceId: string;
|
|
15
|
+
urlParser: import("@aws-sdk/types").UrlParser;
|
|
16
|
+
utf8Decoder: import("@aws-sdk/types").Decoder;
|
|
17
|
+
utf8Encoder: import("@aws-sdk/types").Encoder;
|
|
18
|
+
};
|
package/package.json
ADDED
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@aws-sdk/client-cloudtrail-data",
|
|
3
|
+
"description": "AWS SDK for JavaScript Cloudtrail Data Client for Node.js, Browser and React Native",
|
|
4
|
+
"version": "3.262.0",
|
|
5
|
+
"scripts": {
|
|
6
|
+
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
|
+
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
8
|
+
"build:docs": "typedoc",
|
|
9
|
+
"build:es": "tsc -p tsconfig.es.json",
|
|
10
|
+
"build:include:deps": "lerna run --scope $npm_package_name --include-dependencies build",
|
|
11
|
+
"build:types": "tsc -p tsconfig.types.json",
|
|
12
|
+
"build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
|
|
13
|
+
"clean": "rimraf ./dist-* && rimraf *.tsbuildinfo",
|
|
14
|
+
"generate:client": "node ../../scripts/generate-clients/single-service --solo cloudtrail-data"
|
|
15
|
+
},
|
|
16
|
+
"main": "./dist-cjs/index.js",
|
|
17
|
+
"types": "./dist-types/index.d.ts",
|
|
18
|
+
"module": "./dist-es/index.js",
|
|
19
|
+
"sideEffects": false,
|
|
20
|
+
"dependencies": {
|
|
21
|
+
"@aws-crypto/sha256-browser": "3.0.0",
|
|
22
|
+
"@aws-crypto/sha256-js": "3.0.0",
|
|
23
|
+
"@aws-sdk/client-sts": "3.262.0",
|
|
24
|
+
"@aws-sdk/config-resolver": "3.259.0",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "3.261.0",
|
|
26
|
+
"@aws-sdk/fetch-http-handler": "3.257.0",
|
|
27
|
+
"@aws-sdk/hash-node": "3.257.0",
|
|
28
|
+
"@aws-sdk/invalid-dependency": "3.257.0",
|
|
29
|
+
"@aws-sdk/middleware-content-length": "3.257.0",
|
|
30
|
+
"@aws-sdk/middleware-endpoint": "3.257.0",
|
|
31
|
+
"@aws-sdk/middleware-host-header": "3.257.0",
|
|
32
|
+
"@aws-sdk/middleware-logger": "3.257.0",
|
|
33
|
+
"@aws-sdk/middleware-recursion-detection": "3.257.0",
|
|
34
|
+
"@aws-sdk/middleware-retry": "3.259.0",
|
|
35
|
+
"@aws-sdk/middleware-serde": "3.257.0",
|
|
36
|
+
"@aws-sdk/middleware-signing": "3.257.0",
|
|
37
|
+
"@aws-sdk/middleware-stack": "3.257.0",
|
|
38
|
+
"@aws-sdk/middleware-user-agent": "3.257.0",
|
|
39
|
+
"@aws-sdk/node-config-provider": "3.259.0",
|
|
40
|
+
"@aws-sdk/node-http-handler": "3.257.0",
|
|
41
|
+
"@aws-sdk/protocol-http": "3.257.0",
|
|
42
|
+
"@aws-sdk/smithy-client": "3.261.0",
|
|
43
|
+
"@aws-sdk/types": "3.257.0",
|
|
44
|
+
"@aws-sdk/url-parser": "3.257.0",
|
|
45
|
+
"@aws-sdk/util-base64": "3.208.0",
|
|
46
|
+
"@aws-sdk/util-body-length-browser": "3.188.0",
|
|
47
|
+
"@aws-sdk/util-body-length-node": "3.208.0",
|
|
48
|
+
"@aws-sdk/util-defaults-mode-browser": "3.261.0",
|
|
49
|
+
"@aws-sdk/util-defaults-mode-node": "3.261.0",
|
|
50
|
+
"@aws-sdk/util-endpoints": "3.257.0",
|
|
51
|
+
"@aws-sdk/util-retry": "3.257.0",
|
|
52
|
+
"@aws-sdk/util-user-agent-browser": "3.257.0",
|
|
53
|
+
"@aws-sdk/util-user-agent-node": "3.259.0",
|
|
54
|
+
"@aws-sdk/util-utf8": "3.254.0",
|
|
55
|
+
"tslib": "^2.3.1"
|
|
56
|
+
},
|
|
57
|
+
"devDependencies": {
|
|
58
|
+
"@aws-sdk/service-client-documentation-generator": "3.208.0",
|
|
59
|
+
"@tsconfig/node14": "1.0.3",
|
|
60
|
+
"@types/node": "^14.14.31",
|
|
61
|
+
"concurrently": "7.0.0",
|
|
62
|
+
"downlevel-dts": "0.10.1",
|
|
63
|
+
"rimraf": "3.0.2",
|
|
64
|
+
"typedoc": "0.19.2",
|
|
65
|
+
"typescript": "~4.6.2"
|
|
66
|
+
},
|
|
67
|
+
"overrides": {
|
|
68
|
+
"typedoc": {
|
|
69
|
+
"typescript": "~4.6.2"
|
|
70
|
+
}
|
|
71
|
+
},
|
|
72
|
+
"engines": {
|
|
73
|
+
"node": ">=14.0.0"
|
|
74
|
+
},
|
|
75
|
+
"typesVersions": {
|
|
76
|
+
"<4.0": {
|
|
77
|
+
"dist-types/*": [
|
|
78
|
+
"dist-types/ts3.4/*"
|
|
79
|
+
]
|
|
80
|
+
}
|
|
81
|
+
},
|
|
82
|
+
"files": [
|
|
83
|
+
"dist-*"
|
|
84
|
+
],
|
|
85
|
+
"author": {
|
|
86
|
+
"name": "AWS SDK for JavaScript Team",
|
|
87
|
+
"url": "https://aws.amazon.com/javascript/"
|
|
88
|
+
},
|
|
89
|
+
"license": "Apache-2.0",
|
|
90
|
+
"browser": {
|
|
91
|
+
"./dist-es/runtimeConfig": "./dist-es/runtimeConfig.browser"
|
|
92
|
+
},
|
|
93
|
+
"react-native": {
|
|
94
|
+
"./dist-es/runtimeConfig": "./dist-es/runtimeConfig.native"
|
|
95
|
+
},
|
|
96
|
+
"homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-cloudtrail-data",
|
|
97
|
+
"repository": {
|
|
98
|
+
"type": "git",
|
|
99
|
+
"url": "https://github.com/aws/aws-sdk-js-v3.git",
|
|
100
|
+
"directory": "clients/client-cloudtrail-data"
|
|
101
|
+
}
|
|
102
|
+
}
|