@aws-sdk/client-cloudtrail-data 3.1087.0 → 3.1089.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 CHANGED
@@ -69,7 +69,7 @@ const commonParams = {
69
69
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
70
70
  };
71
71
 
72
- var version = "3.1086.0";
72
+ var version = "3.1088.0";
73
73
  var packageInfo = {
74
74
  version: version};
75
75
 
@@ -7,18 +7,16 @@ import {
7
7
  export interface CloudTrailData {
8
8
  putAuditEvents(
9
9
  args: PutAuditEventsCommandInput,
10
- options?: __HttpHandlerOptions
10
+ options?: __HttpHandlerOptions,
11
11
  ): Promise<PutAuditEventsCommandOutput>;
12
12
  putAuditEvents(
13
13
  args: PutAuditEventsCommandInput,
14
- cb: (err: any, data?: PutAuditEventsCommandOutput) => void
14
+ cb: (err: any, data?: PutAuditEventsCommandOutput) => void,
15
15
  ): void;
16
16
  putAuditEvents(
17
17
  args: PutAuditEventsCommandInput,
18
18
  options: __HttpHandlerOptions,
19
- cb: (err: any, data?: PutAuditEventsCommandOutput) => void
19
+ cb: (err: any, data?: PutAuditEventsCommandOutput) => void,
20
20
  ): void;
21
21
  }
22
- export declare class CloudTrailData
23
- extends CloudTrailDataClient
24
- implements CloudTrailData {}
22
+ export declare class CloudTrailData extends CloudTrailDataClient implements CloudTrailData {}
@@ -11,10 +11,7 @@ import {
11
11
  Client as __Client,
12
12
  } from "@smithy/core/client";
13
13
  import { RegionInputConfig, RegionResolvedConfig } from "@smithy/core/config";
14
- import {
15
- EndpointInputConfig,
16
- EndpointResolvedConfig,
17
- } from "@smithy/core/endpoints";
14
+ import { EndpointInputConfig, EndpointResolvedConfig } from "@smithy/core/endpoints";
18
15
  import { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/core/protocols";
19
16
  import { RetryInputConfig, RetryResolvedConfig } from "@smithy/core/retry";
20
17
  import {
@@ -49,8 +46,7 @@ import { RuntimeExtension, RuntimeExtensionsConfig } from "./runtimeExtensions";
49
46
  export { __Client };
50
47
  export type ServiceInputTypes = PutAuditEventsCommandInput;
51
48
  export type ServiceOutputTypes = PutAuditEventsCommandOutput;
52
- export interface ClientDefaults
53
- extends Partial<__SmithyConfiguration<__HttpHandlerOptions>> {
49
+ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHandlerOptions>> {
54
50
  requestHandler?: __HttpHandlerUserInput;
55
51
  sha256?: __ChecksumConstructor | __HashConstructor;
56
52
  urlParser?: __UrlParser;
@@ -75,9 +71,7 @@ export interface ClientDefaults
75
71
  extensions?: RuntimeExtension[];
76
72
  defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>;
77
73
  }
78
- export type CloudTrailDataClientConfigType = Partial<
79
- __SmithyConfiguration<__HttpHandlerOptions>
80
- > &
74
+ export type CloudTrailDataClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> &
81
75
  ClientDefaults &
82
76
  UserAgentInputConfig &
83
77
  RetryInputConfig &
@@ -86,8 +80,7 @@ export type CloudTrailDataClientConfigType = Partial<
86
80
  EndpointInputConfig<EndpointParameters> &
87
81
  HttpAuthSchemeInputConfig &
88
82
  ClientInputEndpointParameters;
89
- export interface CloudTrailDataClientConfig
90
- extends CloudTrailDataClientConfigType {}
83
+ export interface CloudTrailDataClientConfig extends CloudTrailDataClientConfigType {}
91
84
  export type CloudTrailDataClientResolvedConfigType =
92
85
  __SmithyResolvedConfiguration<__HttpHandlerOptions> &
93
86
  Required<ClientDefaults> &
@@ -99,8 +92,7 @@ export type CloudTrailDataClientResolvedConfigType =
99
92
  EndpointResolvedConfig<EndpointParameters> &
100
93
  HttpAuthSchemeResolvedConfig &
101
94
  ClientResolvedEndpointParameters;
102
- export interface CloudTrailDataClientResolvedConfig
103
- extends CloudTrailDataClientResolvedConfigType {}
95
+ export interface CloudTrailDataClientResolvedConfig extends CloudTrailDataClientResolvedConfigType {}
104
96
  export declare class CloudTrailDataClient extends __Client<
105
97
  __HttpHandlerOptions,
106
98
  ServiceInputTypes,
@@ -108,8 +100,6 @@ export declare class CloudTrailDataClient extends __Client<
108
100
  CloudTrailDataClientResolvedConfig
109
101
  > {
110
102
  readonly config: CloudTrailDataClientResolvedConfig;
111
- constructor(
112
- ...[configuration]: __CheckOptionalClientConfig<CloudTrailDataClientConfig>
113
- );
103
+ constructor(...[configuration]: __CheckOptionalClientConfig<CloudTrailDataClientConfig>);
114
104
  destroy(): void;
115
105
  }
@@ -7,17 +7,10 @@ import { CloudTrailDataHttpAuthSchemeProvider } from "./httpAuthSchemeProvider";
7
7
  export interface HttpAuthExtensionConfiguration {
8
8
  setHttpAuthScheme(httpAuthScheme: HttpAuthScheme): void;
9
9
  httpAuthSchemes(): HttpAuthScheme[];
10
- setHttpAuthSchemeProvider(
11
- httpAuthSchemeProvider: CloudTrailDataHttpAuthSchemeProvider
12
- ): void;
10
+ setHttpAuthSchemeProvider(httpAuthSchemeProvider: CloudTrailDataHttpAuthSchemeProvider): void;
13
11
  httpAuthSchemeProvider(): CloudTrailDataHttpAuthSchemeProvider;
14
- setCredentials(
15
- credentials: AwsCredentialIdentity | AwsCredentialIdentityProvider
16
- ): void;
17
- credentials():
18
- | AwsCredentialIdentity
19
- | AwsCredentialIdentityProvider
20
- | undefined;
12
+ setCredentials(credentials: AwsCredentialIdentity | AwsCredentialIdentityProvider): void;
13
+ credentials(): AwsCredentialIdentity | AwsCredentialIdentityProvider | undefined;
21
14
  }
22
15
  export type HttpAuthRuntimeConfig = Partial<{
23
16
  httpAuthSchemes: HttpAuthScheme[];
@@ -25,8 +18,8 @@ export type HttpAuthRuntimeConfig = Partial<{
25
18
  credentials: AwsCredentialIdentity | AwsCredentialIdentityProvider;
26
19
  }>;
27
20
  export declare const getHttpAuthExtensionConfiguration: (
28
- runtimeConfig: HttpAuthRuntimeConfig
21
+ runtimeConfig: HttpAuthRuntimeConfig,
29
22
  ) => HttpAuthExtensionConfiguration;
30
23
  export declare const resolveHttpAuthRuntimeConfig: (
31
- config: HttpAuthExtensionConfiguration
24
+ config: HttpAuthExtensionConfiguration,
32
25
  ) => HttpAuthRuntimeConfig;
@@ -12,36 +12,32 @@ import {
12
12
  Provider,
13
13
  } from "@smithy/types";
14
14
  import { CloudTrailDataClientResolvedConfig } from "../CloudTrailDataClient";
15
- export interface CloudTrailDataHttpAuthSchemeParameters
16
- extends HttpAuthSchemeParameters {
15
+ export interface CloudTrailDataHttpAuthSchemeParameters extends HttpAuthSchemeParameters {
17
16
  region?: string;
18
17
  }
19
- export interface CloudTrailDataHttpAuthSchemeParametersProvider
20
- extends HttpAuthSchemeParametersProvider<
21
- CloudTrailDataClientResolvedConfig,
22
- HandlerExecutionContext,
23
- CloudTrailDataHttpAuthSchemeParameters,
24
- object
25
- > {}
18
+ export interface CloudTrailDataHttpAuthSchemeParametersProvider extends HttpAuthSchemeParametersProvider<
19
+ CloudTrailDataClientResolvedConfig,
20
+ HandlerExecutionContext,
21
+ CloudTrailDataHttpAuthSchemeParameters,
22
+ object
23
+ > {}
26
24
  export declare const defaultCloudTrailDataHttpAuthSchemeParametersProvider: (
27
25
  config: CloudTrailDataClientResolvedConfig,
28
26
  context: HandlerExecutionContext,
29
- input: object
27
+ input: object,
30
28
  ) => Promise<CloudTrailDataHttpAuthSchemeParameters>;
31
- export interface CloudTrailDataHttpAuthSchemeProvider
32
- extends HttpAuthSchemeProvider<CloudTrailDataHttpAuthSchemeParameters> {}
29
+ export interface CloudTrailDataHttpAuthSchemeProvider extends HttpAuthSchemeProvider<CloudTrailDataHttpAuthSchemeParameters> {}
33
30
  export declare const defaultCloudTrailDataHttpAuthSchemeProvider: CloudTrailDataHttpAuthSchemeProvider;
34
31
  export interface HttpAuthSchemeInputConfig extends AwsSdkSigV4AuthInputConfig {
35
32
  authSchemePreference?: string[] | Provider<string[]>;
36
33
  httpAuthSchemes?: HttpAuthScheme[];
37
34
  httpAuthSchemeProvider?: CloudTrailDataHttpAuthSchemeProvider;
38
35
  }
39
- export interface HttpAuthSchemeResolvedConfig
40
- extends AwsSdkSigV4AuthResolvedConfig {
36
+ export interface HttpAuthSchemeResolvedConfig extends AwsSdkSigV4AuthResolvedConfig {
41
37
  readonly authSchemePreference: Provider<string[]>;
42
38
  readonly httpAuthSchemes: HttpAuthScheme[];
43
39
  readonly httpAuthSchemeProvider: CloudTrailDataHttpAuthSchemeProvider;
44
40
  }
45
41
  export declare const resolveHttpAuthSchemeConfig: <T>(
46
- config: T & HttpAuthSchemeInputConfig & AwsSdkSigV4PreviouslyResolved
42
+ config: T & HttpAuthSchemeInputConfig & AwsSdkSigV4PreviouslyResolved,
47
43
  ) => T & HttpAuthSchemeResolvedConfig;
@@ -2,20 +2,22 @@ import { EndpointParameterInstructions } from "@smithy/types";
2
2
  import { CloudTrailDataClientResolvedConfig } from "./CloudTrailDataClient";
3
3
  export declare const command: <
4
4
  I extends import("./commands").PutAuditEventsCommandInput,
5
- O extends import("./commands").PutAuditEventsCommandOutput
5
+ O extends import("./commands").PutAuditEventsCommandOutput,
6
6
  >(
7
7
  added: EndpointParameterInstructions,
8
8
  plugins: (
9
9
  CommandCtor: any,
10
10
  clientStack: any,
11
11
  config: any,
12
- options: any
12
+ options: any,
13
13
  ) => import("@smithy/types").Pluggable<any, any>[],
14
14
  op: string,
15
15
  $: import("@smithy/types").StaticOperationSchema,
16
- smithyContext?: Record<string, unknown>
16
+ smithyContext?: Record<string, unknown>,
17
17
  ) => {
18
- new (input: I): import("@smithy/core/client").CommandImpl<
18
+ new (
19
+ input: I,
20
+ ): import("@smithy/core/client").CommandImpl<
19
21
  I,
20
22
  O,
21
23
  CloudTrailDataClientResolvedConfig,
@@ -34,9 +36,4 @@ export declare const command: <
34
36
  getEndpointParameterInstructions(): EndpointParameterInstructions;
35
37
  };
36
38
  export declare const _ep0: EndpointParameterInstructions;
37
- export declare const _mw0: (
38
- Command: any,
39
- cs: any,
40
- config: any,
41
- o: any
42
- ) => never[];
39
+ export declare const _mw0: (Command: any, cs: any, config: any, o: any) => never[];
@@ -1,16 +1,11 @@
1
1
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
- import {
3
- PutAuditEventsRequest,
4
- PutAuditEventsResponse,
5
- } from "../models/models_0";
2
+ import { PutAuditEventsRequest, PutAuditEventsResponse } from "../models/models_0";
6
3
  export { __MetadataBearer };
7
4
  export interface PutAuditEventsCommandInput extends PutAuditEventsRequest {}
8
- export interface PutAuditEventsCommandOutput
9
- extends PutAuditEventsResponse,
10
- __MetadataBearer {}
5
+ export interface PutAuditEventsCommandOutput extends PutAuditEventsResponse, __MetadataBearer {}
11
6
  declare const PutAuditEventsCommand_base: {
12
7
  new (
13
- input: PutAuditEventsCommandInput
8
+ input: PutAuditEventsCommandInput,
14
9
  ): import("@smithy/core/client").CommandImpl<
15
10
  PutAuditEventsCommandInput,
16
11
  PutAuditEventsCommandOutput,
@@ -19,7 +14,7 @@ declare const PutAuditEventsCommand_base: {
19
14
  PutAuditEventsCommandOutput
20
15
  >;
21
16
  new (
22
- input: PutAuditEventsCommandInput
17
+ input: PutAuditEventsCommandInput,
23
18
  ): import("@smithy/core/client").CommandImpl<
24
19
  PutAuditEventsCommandInput,
25
20
  PutAuditEventsCommandOutput,
@@ -23,7 +23,7 @@ export type ClientResolvedEndpointParameters = Pick<
23
23
  defaultSigningName: string;
24
24
  };
25
25
  export declare const resolveClientEndpointParameters: <T>(
26
- options: T & ClientInputEndpointParameters
26
+ options: T & ClientInputEndpointParameters,
27
27
  ) => T & ClientResolvedEndpointParameters;
28
28
  export declare const commonParams: {
29
29
  readonly UseFIPS: {
@@ -4,5 +4,5 @@ export declare const defaultEndpointResolver: (
4
4
  endpointParams: EndpointParameters,
5
5
  context?: {
6
6
  logger?: Logger;
7
- }
7
+ },
8
8
  ) => EndpointV2;
@@ -3,7 +3,8 @@ import { HttpHandlerExtensionConfiguration } from "@smithy/core/protocols";
3
3
  import { DefaultExtensionConfiguration } from "@smithy/types";
4
4
  import { HttpAuthExtensionConfiguration } from "./auth/httpAuthExtensionConfiguration";
5
5
  export interface CloudTrailDataExtensionConfiguration
6
- extends HttpHandlerExtensionConfiguration,
6
+ extends
7
+ HttpHandlerExtensionConfiguration,
7
8
  DefaultExtensionConfiguration,
8
9
  AwsRegionExtensionConfiguration,
9
10
  HttpAuthExtensionConfiguration {}
@@ -3,9 +3,7 @@ import { CloudTrailDataServiceException as __BaseException } from "./CloudTrailD
3
3
  export declare class ChannelInsufficientPermission extends __BaseException {
4
4
  readonly name: "ChannelInsufficientPermission";
5
5
  readonly $fault: "client";
6
- constructor(
7
- opts: __ExceptionOptionType<ChannelInsufficientPermission, __BaseException>
8
- );
6
+ constructor(opts: __ExceptionOptionType<ChannelInsufficientPermission, __BaseException>);
9
7
  }
10
8
  export declare class ChannelNotFound extends __BaseException {
11
9
  readonly name: "ChannelNotFound";
@@ -15,16 +13,12 @@ export declare class ChannelNotFound extends __BaseException {
15
13
  export declare class ChannelUnsupportedSchema extends __BaseException {
16
14
  readonly name: "ChannelUnsupportedSchema";
17
15
  readonly $fault: "client";
18
- constructor(
19
- opts: __ExceptionOptionType<ChannelUnsupportedSchema, __BaseException>
20
- );
16
+ constructor(opts: __ExceptionOptionType<ChannelUnsupportedSchema, __BaseException>);
21
17
  }
22
18
  export declare class DuplicatedAuditEventId extends __BaseException {
23
19
  readonly name: "DuplicatedAuditEventId";
24
20
  readonly $fault: "client";
25
- constructor(
26
- opts: __ExceptionOptionType<DuplicatedAuditEventId, __BaseException>
27
- );
21
+ constructor(opts: __ExceptionOptionType<DuplicatedAuditEventId, __BaseException>);
28
22
  }
29
23
  export declare class InvalidChannelARN extends __BaseException {
30
24
  readonly name: "InvalidChannelARN";
@@ -34,7 +28,5 @@ export declare class InvalidChannelARN extends __BaseException {
34
28
  export declare class UnsupportedOperationException extends __BaseException {
35
29
  readonly name: "UnsupportedOperationException";
36
30
  readonly $fault: "client";
37
- constructor(
38
- opts: __ExceptionOptionType<UnsupportedOperationException, __BaseException>
39
- );
31
+ constructor(opts: __ExceptionOptionType<UnsupportedOperationException, __BaseException>);
40
32
  }
@@ -8,24 +8,16 @@ export declare const getRuntimeConfig: (config: CloudTrailDataClientConfig) => {
8
8
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
9
9
  credentialDefaultProvider:
10
10
  | ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
11
- | ((
12
- _: unknown
13
- ) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
11
+ | ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
14
12
  defaultUserAgentProvider: (
15
- config?: import("@aws-sdk/core/client").PreviouslyResolved
13
+ config?: import("@aws-sdk/core/client").PreviouslyResolved,
16
14
  ) => Promise<import("@smithy/types").UserAgent>;
17
15
  maxAttempts: number | import("@smithy/types").Provider<number>;
18
16
  region: string | import("@smithy/types").Provider<any>;
19
- requestHandler:
20
- | import("@smithy/core/protocols").HttpHandler<any>
21
- | RequestHandler;
17
+ requestHandler: import("@smithy/core/protocols").HttpHandler<any> | RequestHandler;
22
18
  retryMode: string | import("@smithy/types").Provider<string>;
23
19
  streamCollector: (
24
- stream:
25
- | import("stream").Readable
26
- | import("stream/web").ReadableStream
27
- | ReadableStream
28
- | Blob
20
+ stream: import("stream").Readable | import("stream/web").ReadableStream | ReadableStream | Blob,
29
21
  ) => Promise<Uint8Array>;
30
22
  useDualstackEndpoint: (boolean | import("@smithy/types").Provider<boolean>) &
31
23
  (boolean | import("@smithy/types").Provider<boolean | undefined>);
@@ -53,13 +45,8 @@ export declare const getRuntimeConfig: (config: CloudTrailDataClientConfig) => {
53
45
  logger: import("@smithy/types").Logger;
54
46
  extensions: import("./runtimeExtensions").RuntimeExtension[];
55
47
  customUserAgent?: string | import("@smithy/types").UserAgent;
56
- userAgentAppId?:
57
- | string
58
- | undefined
59
- | import("@smithy/types").Provider<string | undefined>;
60
- retryStrategy?:
61
- | import("@smithy/types").RetryStrategy
62
- | import("@smithy/types").RetryStrategyV2;
48
+ userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
49
+ retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
63
50
  endpoint?:
64
51
  | ((
65
52
  | string
@@ -81,7 +68,7 @@ export declare const getRuntimeConfig: (config: CloudTrailDataClientConfig) => {
81
68
  endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
82
69
  context?: {
83
70
  logger?: import("@smithy/types").Logger;
84
- }
71
+ },
85
72
  ) => import("@smithy/types").EndpointV2;
86
73
  tls?: boolean;
87
74
  serviceConfiguredEndpoint?: never;
@@ -94,13 +81,13 @@ export declare const getRuntimeConfig: (config: CloudTrailDataClientConfig) => {
94
81
  signer?:
95
82
  | import("@smithy/types").RequestSigner
96
83
  | ((
97
- authScheme?: import("@smithy/types").AuthScheme
84
+ authScheme?: import("@smithy/types").AuthScheme,
98
85
  ) => Promise<import("@smithy/types").RequestSigner>);
99
86
  signingEscapePath?: boolean;
100
87
  systemClockOffset?: number;
101
88
  signingRegion?: string;
102
89
  signerConstructor?: new (
103
90
  options: import("@smithy/signature-v4").SignatureV4Init &
104
- import("@smithy/signature-v4").SignatureV4CryptoInit
91
+ import("@smithy/signature-v4").SignatureV4CryptoInit,
105
92
  ) => import("@smithy/types").RequestSigner;
106
93
  };
@@ -10,23 +10,17 @@ export declare const getRuntimeConfig: (config: CloudTrailDataClientConfig) => {
10
10
  credentialDefaultProvider:
11
11
  | ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
12
12
  | ((
13
- init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit
13
+ init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit,
14
14
  ) => import("@aws-sdk/credential-provider-node").MemoizedRuntimeConfigAwsCredentialIdentityProvider);
15
15
  defaultUserAgentProvider: (
16
- config?: import("@aws-sdk/core/client").PreviouslyResolved
16
+ config?: import("@aws-sdk/core/client").PreviouslyResolved,
17
17
  ) => Promise<import("@smithy/types").UserAgent>;
18
18
  maxAttempts: number | import("@smithy/types").Provider<number>;
19
19
  region: string | import("@smithy/types").Provider<string>;
20
- requestHandler:
21
- | RequestHandler
22
- | import("@smithy/core/protocols").HttpHandler<any>;
20
+ requestHandler: RequestHandler | import("@smithy/core/protocols").HttpHandler<any>;
23
21
  retryMode: string | import("@smithy/types").Provider<string>;
24
22
  streamCollector: (
25
- stream:
26
- | import("stream").Readable
27
- | import("stream/web").ReadableStream
28
- | ReadableStream
29
- | Blob
23
+ stream: import("stream").Readable | import("stream/web").ReadableStream | ReadableStream | Blob,
30
24
  ) => Promise<Uint8Array>;
31
25
  useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
32
26
  useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
@@ -53,9 +47,7 @@ export declare const getRuntimeConfig: (config: CloudTrailDataClientConfig) => {
53
47
  logger: import("@smithy/types").Logger;
54
48
  extensions: import("./runtimeExtensions").RuntimeExtension[];
55
49
  customUserAgent?: string | import("@smithy/types").UserAgent;
56
- retryStrategy?:
57
- | import("@smithy/types").RetryStrategy
58
- | import("@smithy/types").RetryStrategyV2;
50
+ retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
59
51
  endpoint?:
60
52
  | ((
61
53
  | string
@@ -77,7 +69,7 @@ export declare const getRuntimeConfig: (config: CloudTrailDataClientConfig) => {
77
69
  endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
78
70
  context?: {
79
71
  logger?: import("@smithy/types").Logger;
80
- }
72
+ },
81
73
  ) => import("@smithy/types").EndpointV2;
82
74
  tls?: boolean;
83
75
  serviceConfiguredEndpoint?: never;
@@ -89,13 +81,13 @@ export declare const getRuntimeConfig: (config: CloudTrailDataClientConfig) => {
89
81
  signer?:
90
82
  | import("@smithy/types").RequestSigner
91
83
  | ((
92
- authScheme?: import("@smithy/types").AuthScheme
84
+ authScheme?: import("@smithy/types").AuthScheme,
93
85
  ) => Promise<import("@smithy/types").RequestSigner>);
94
86
  signingEscapePath?: boolean;
95
87
  systemClockOffset?: number;
96
88
  signingRegion?: string;
97
89
  signerConstructor?: new (
98
90
  options: import("@smithy/signature-v4").SignatureV4Init &
99
- import("@smithy/signature-v4").SignatureV4CryptoInit
91
+ import("@smithy/signature-v4").SignatureV4CryptoInit,
100
92
  ) => import("@smithy/types").RequestSigner;
101
93
  };
@@ -21,11 +21,7 @@ export declare const getRuntimeConfig: (config: CloudTrailDataClientConfig) => {
21
21
  urlParser: import("@smithy/types").UrlParser;
22
22
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
23
23
  streamCollector: (
24
- stream:
25
- | import("stream").Readable
26
- | import("stream/web").ReadableStream
27
- | ReadableStream
28
- | Blob
24
+ stream: import("stream").Readable | import("stream/web").ReadableStream | ReadableStream | Blob,
29
25
  ) => Promise<Uint8Array>;
30
26
  base64Decoder: import("@smithy/types").Decoder;
31
27
  base64Encoder: (_input: Uint8Array | string) => string;
@@ -40,30 +36,21 @@ export declare const getRuntimeConfig: (config: CloudTrailDataClientConfig) => {
40
36
  region: string | import("@smithy/types").Provider<any>;
41
37
  profile?: string;
42
38
  defaultUserAgentProvider: (
43
- config?: import("@aws-sdk/core/client").PreviouslyResolved
39
+ config?: import("@aws-sdk/core/client").PreviouslyResolved,
44
40
  ) => Promise<import("@smithy/types").UserAgent>;
45
41
  credentialDefaultProvider:
46
42
  | ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
47
- | ((
48
- _: unknown
49
- ) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
43
+ | ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
50
44
  maxAttempts: number | import("@smithy/types").Provider<number>;
51
45
  retryMode: string | import("@smithy/types").Provider<string>;
52
46
  logger: import("@smithy/types").Logger;
53
47
  extensions: import("./runtimeExtensions").RuntimeExtension[];
54
48
  defaultsMode:
55
49
  | import("@smithy/core/client").DefaultsMode
56
- | import("@smithy/types").Provider<
57
- import("@smithy/core/client").DefaultsMode
58
- >;
50
+ | import("@smithy/types").Provider<import("@smithy/core/client").DefaultsMode>;
59
51
  customUserAgent?: string | import("@smithy/types").UserAgent;
60
- userAgentAppId?:
61
- | string
62
- | undefined
63
- | import("@smithy/types").Provider<string | undefined>;
64
- retryStrategy?:
65
- | import("@smithy/types").RetryStrategy
66
- | import("@smithy/types").RetryStrategyV2;
52
+ userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
53
+ retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
67
54
  endpoint?:
68
55
  | ((
69
56
  | string
@@ -85,7 +72,7 @@ export declare const getRuntimeConfig: (config: CloudTrailDataClientConfig) => {
85
72
  endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
86
73
  context?: {
87
74
  logger?: import("@smithy/types").Logger;
88
- }
75
+ },
89
76
  ) => import("@smithy/types").EndpointV2;
90
77
  tls?: boolean;
91
78
  serviceConfiguredEndpoint?: never;
@@ -98,13 +85,13 @@ export declare const getRuntimeConfig: (config: CloudTrailDataClientConfig) => {
98
85
  signer?:
99
86
  | import("@smithy/types").RequestSigner
100
87
  | ((
101
- authScheme?: import("@smithy/types").AuthScheme
88
+ authScheme?: import("@smithy/types").AuthScheme,
102
89
  ) => Promise<import("@smithy/types").RequestSigner>);
103
90
  signingEscapePath?: boolean;
104
91
  systemClockOffset?: number;
105
92
  signingRegion?: string;
106
93
  signerConstructor?: new (
107
94
  options: import("@smithy/signature-v4").SignatureV4Init &
108
- import("@smithy/signature-v4").SignatureV4CryptoInit
95
+ import("@smithy/signature-v4").SignatureV4CryptoInit,
109
96
  ) => import("@smithy/types").RequestSigner;
110
97
  };
@@ -9,7 +9,7 @@ export declare const getRuntimeConfig: (config: CloudTrailDataClientConfig) => {
9
9
  endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
10
10
  context?: {
11
11
  logger?: import("@smithy/types").Logger;
12
- }
12
+ },
13
13
  ) => import("@smithy/types").EndpointV2;
14
14
  extensions: import("./runtimeExtensions").RuntimeExtension[];
15
15
  httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").CloudTrailDataHttpAuthSchemeProvider;
@@ -7,5 +7,5 @@ export interface RuntimeExtensionsConfig {
7
7
  }
8
8
  export declare const resolveRuntimeExtensions: (
9
9
  runtimeConfig: any,
10
- extensions: RuntimeExtension[]
10
+ extensions: RuntimeExtension[],
11
11
  ) => any;
@@ -1,9 +1,5 @@
1
1
  import { TypeRegistry } from "@smithy/core/schema";
2
- import {
3
- StaticErrorSchema,
4
- StaticOperationSchema,
5
- StaticStructureSchema,
6
- } from "@smithy/types";
2
+ import { StaticErrorSchema, StaticOperationSchema, StaticStructureSchema } from "@smithy/types";
7
3
  export declare var CloudTrailDataServiceException$: StaticErrorSchema;
8
4
  export declare var ChannelInsufficientPermission$: StaticErrorSchema;
9
5
  export declare var ChannelNotFound$: StaticErrorSchema;
package/package.json CHANGED
@@ -1,7 +1,38 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-cloudtrail-data",
3
+ "version": "3.1089.0",
3
4
  "description": "AWS SDK for JavaScript Cloudtrail Data Client for Node.js, Browser and React Native",
4
- "version": "3.1087.0",
5
+ "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-cloudtrail-data",
6
+ "license": "Apache-2.0",
7
+ "author": {
8
+ "name": "AWS SDK for JavaScript Team",
9
+ "url": "https://aws.amazon.com/sdk-for-javascript/"
10
+ },
11
+ "repository": {
12
+ "type": "git",
13
+ "url": "https://github.com/aws/aws-sdk-js-v3.git",
14
+ "directory": "clients/client-cloudtrail-data"
15
+ },
16
+ "files": [
17
+ "dist-*/**"
18
+ ],
19
+ "sideEffects": false,
20
+ "main": "./dist-cjs/index.js",
21
+ "module": "./dist-es/index.js",
22
+ "browser": {
23
+ "./dist-es/runtimeConfig": "./dist-es/runtimeConfig.browser"
24
+ },
25
+ "types": "./dist-types/index.d.ts",
26
+ "typesVersions": {
27
+ "<4.5": {
28
+ "dist-types/*": [
29
+ "dist-types/ts3.4/*"
30
+ ]
31
+ }
32
+ },
33
+ "react-native": {
34
+ "./dist-es/runtimeConfig": "./dist-es/runtimeConfig.native"
35
+ },
5
36
  "scripts": {
6
37
  "build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
7
38
  "build:cjs": "node ../../scripts/compilation/inline",
@@ -14,17 +45,13 @@
14
45
  "generate:client": "node ../../scripts/generate-clients/single-service",
15
46
  "test:index": "tsc --noEmit ./test/index-types.ts && node ./test/index-objects.spec.mjs"
16
47
  },
17
- "main": "./dist-cjs/index.js",
18
- "types": "./dist-types/index.d.ts",
19
- "module": "./dist-es/index.js",
20
- "sideEffects": false,
21
48
  "dependencies": {
22
- "@aws-sdk/core": "^3.975.2",
23
- "@aws-sdk/credential-provider-node": "^3.972.68",
24
- "@aws-sdk/types": "^3.974.1",
25
- "@smithy/core": "^3.29.3",
26
- "@smithy/fetch-http-handler": "^5.6.5",
27
- "@smithy/node-http-handler": "^4.9.5",
49
+ "@aws-sdk/core": "^3.975.3",
50
+ "@aws-sdk/credential-provider-node": "^3.972.70",
51
+ "@aws-sdk/types": "^3.974.2",
52
+ "@smithy/core": "^3.29.4",
53
+ "@smithy/fetch-http-handler": "^5.6.6",
54
+ "@smithy/node-http-handler": "^4.9.6",
28
55
  "@smithy/types": "^4.16.1",
29
56
  "tslib": "^2.6.2"
30
57
  },
@@ -38,32 +65,5 @@
38
65
  },
39
66
  "engines": {
40
67
  "node": ">=20.0.0"
41
- },
42
- "typesVersions": {
43
- "<4.5": {
44
- "dist-types/*": [
45
- "dist-types/ts3.4/*"
46
- ]
47
- }
48
- },
49
- "files": [
50
- "dist-*/**"
51
- ],
52
- "author": {
53
- "name": "AWS SDK for JavaScript Team",
54
- "url": "https://aws.amazon.com/sdk-for-javascript/"
55
- },
56
- "license": "Apache-2.0",
57
- "browser": {
58
- "./dist-es/runtimeConfig": "./dist-es/runtimeConfig.browser"
59
- },
60
- "react-native": {
61
- "./dist-es/runtimeConfig": "./dist-es/runtimeConfig.native"
62
- },
63
- "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-cloudtrail-data",
64
- "repository": {
65
- "type": "git",
66
- "url": "https://github.com/aws/aws-sdk-js-v3.git",
67
- "directory": "clients/client-cloudtrail-data"
68
68
  }
69
69
  }