@aws-sdk/client-cloudtrail 3.53.0 → 3.54.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/CHANGELOG.md CHANGED
@@ -3,6 +3,17 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [3.54.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.53.1...v3.54.0) (2022-03-11)
7
+
8
+
9
+ ### Features
10
+
11
+ * **clients:** update clients as of 2022/03/10 ([#3411](https://github.com/aws/aws-sdk-js-v3/issues/3411)) ([8fa517a](https://github.com/aws/aws-sdk-js-v3/commit/8fa517a2c56d2f98a2e4a9c4ea6fd99b6ce61a71))
12
+
13
+
14
+
15
+
16
+
6
17
  # [3.53.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.52.0...v3.53.0) (2022-02-24)
7
18
 
8
19
 
@@ -23,19 +23,17 @@ const regionHash = {
23
23
  variants: [
24
24
  {
25
25
  hostname: "cloudtrail.us-gov-east-1.amazonaws.com",
26
- tags: [],
26
+ tags: ["fips"],
27
27
  },
28
28
  ],
29
- signingRegion: "us-gov-east-1",
30
29
  },
31
30
  "us-gov-west-1": {
32
31
  variants: [
33
32
  {
34
33
  hostname: "cloudtrail.us-gov-west-1.amazonaws.com",
35
- tags: [],
34
+ tags: ["fips"],
36
35
  },
37
36
  ],
38
- signingRegion: "us-gov-west-1",
39
37
  },
40
38
  "us-west-1": {
41
39
  variants: [
@@ -155,7 +153,7 @@ const partitionHash = {
155
153
  ],
156
154
  },
157
155
  "aws-us-gov": {
158
- regions: ["us-gov-east-1", "us-gov-west-1"],
156
+ regions: ["fips-us-gov-east-1", "fips-us-gov-west-1", "us-gov-east-1", "us-gov-west-1"],
159
157
  regionRegex: "^us\\-gov\\-\\w+\\-\\d+$",
160
158
  variants: [
161
159
  {
@@ -215,6 +215,7 @@ var QueryStatus;
215
215
  QueryStatus["FINISHED"] = "FINISHED";
216
216
  QueryStatus["QUEUED"] = "QUEUED";
217
217
  QueryStatus["RUNNING"] = "RUNNING";
218
+ QueryStatus["TIMED_OUT"] = "TIMED_OUT";
218
219
  })(QueryStatus = exports.QueryStatus || (exports.QueryStatus = {}));
219
220
  var CancelQueryResponse;
220
221
  (function (CancelQueryResponse) {
@@ -3767,12 +3767,14 @@ const deserializeAws_json1_1QueryResultRows = (output, context) => {
3767
3767
  };
3768
3768
  const deserializeAws_json1_1QueryStatistics = (output, context) => {
3769
3769
  return {
3770
+ BytesScanned: smithy_client_1.expectLong(output.BytesScanned),
3770
3771
  ResultsCount: smithy_client_1.expectInt32(output.ResultsCount),
3771
3772
  TotalResultsCount: smithy_client_1.expectInt32(output.TotalResultsCount),
3772
3773
  };
3773
3774
  };
3774
3775
  const deserializeAws_json1_1QueryStatisticsForDescribeQuery = (output, context) => {
3775
3776
  return {
3777
+ BytesScanned: smithy_client_1.expectLong(output.BytesScanned),
3776
3778
  CreationTime: output.CreationTime !== undefined && output.CreationTime !== null
3777
3779
  ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreationTime)))
3778
3780
  : undefined,
@@ -21,19 +21,17 @@ var regionHash = {
21
21
  variants: [
22
22
  {
23
23
  hostname: "cloudtrail.us-gov-east-1.amazonaws.com",
24
- tags: [],
24
+ tags: ["fips"],
25
25
  },
26
26
  ],
27
- signingRegion: "us-gov-east-1",
28
27
  },
29
28
  "us-gov-west-1": {
30
29
  variants: [
31
30
  {
32
31
  hostname: "cloudtrail.us-gov-west-1.amazonaws.com",
33
- tags: [],
32
+ tags: ["fips"],
34
33
  },
35
34
  ],
36
- signingRegion: "us-gov-west-1",
37
35
  },
38
36
  "us-west-1": {
39
37
  variants: [
@@ -153,7 +151,7 @@ var partitionHash = {
153
151
  ],
154
152
  },
155
153
  "aws-us-gov": {
156
- regions: ["us-gov-east-1", "us-gov-west-1"],
154
+ regions: ["fips-us-gov-east-1", "fips-us-gov-west-1", "us-gov-east-1", "us-gov-west-1"],
157
155
  regionRegex: "^us\\-gov\\-\\w+\\-\\d+$",
158
156
  variants: [
159
157
  {
@@ -187,6 +187,7 @@ export var QueryStatus;
187
187
  QueryStatus["FINISHED"] = "FINISHED";
188
188
  QueryStatus["QUEUED"] = "QUEUED";
189
189
  QueryStatus["RUNNING"] = "RUNNING";
190
+ QueryStatus["TIMED_OUT"] = "TIMED_OUT";
190
191
  })(QueryStatus || (QueryStatus = {}));
191
192
  export var CancelQueryResponse;
192
193
  (function (CancelQueryResponse) {
@@ -4283,12 +4283,14 @@ var deserializeAws_json1_1QueryResultRows = function (output, context) {
4283
4283
  };
4284
4284
  var deserializeAws_json1_1QueryStatistics = function (output, context) {
4285
4285
  return {
4286
+ BytesScanned: __expectLong(output.BytesScanned),
4286
4287
  ResultsCount: __expectInt32(output.ResultsCount),
4287
4288
  TotalResultsCount: __expectInt32(output.TotalResultsCount),
4288
4289
  };
4289
4290
  };
4290
4291
  var deserializeAws_json1_1QueryStatisticsForDescribeQuery = function (output, context) {
4291
4292
  return {
4293
+ BytesScanned: __expectLong(output.BytesScanned),
4292
4294
  CreationTime: output.CreationTime !== undefined && output.CreationTime !== null
4293
4295
  ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreationTime)))
4294
4296
  : undefined,
@@ -58,7 +58,7 @@ export declare class CloudTrail extends CloudTrailClient {
58
58
  addTags(args: AddTagsCommandInput, cb: (err: any, data?: AddTagsCommandOutput) => void): void;
59
59
  addTags(args: AddTagsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: AddTagsCommandOutput) => void): void;
60
60
  /**
61
- * <p>Cancels a query if the query is not in a terminated state, such as <code>CANCELLED</code>, <code>FAILED</code> or <code>FINISHED</code>. You must specify an ARN value for <code>EventDataStore</code>.
61
+ * <p>Cancels a query if the query is not in a terminated state, such as <code>CANCELLED</code>, <code>FAILED</code>, <code>TIMED_OUT</code>, or <code>FINISHED</code>. You must specify an ARN value for <code>EventDataStore</code>.
62
62
  * The ID of the query that you want to cancel is also required. When you run <code>CancelQuery</code>, the query status might
63
63
  * show as <code>CANCELLED</code> even if the operation is not yet finished.</p>
64
64
  */
@@ -192,7 +192,7 @@ export declare class CloudTrail extends CloudTrailClient {
192
192
  * <code>EventDataStore</code>. Optionally, to shorten the list of results, you can specify a time range,
193
193
  * formatted as timestamps, by adding <code>StartTime</code> and <code>EndTime</code> parameters, and a
194
194
  * <code>QueryStatus</code> value. Valid values for <code>QueryStatus</code> include <code>QUEUED</code>, <code>RUNNING</code>,
195
- * <code>FINISHED</code>, <code>FAILED</code>, or <code>CANCELLED</code>.</p>
195
+ * <code>FINISHED</code>, <code>FAILED</code>, <code>TIMED_OUT</code>, or <code>CANCELLED</code>.</p>
196
196
  */
197
197
  listQueries(args: ListQueriesCommandInput, options?: __HttpHandlerOptions): Promise<ListQueriesCommandOutput>;
198
198
  listQueries(args: ListQueriesCommandInput, cb: (err: any, data?: ListQueriesCommandOutput) => void): void;
@@ -5,7 +5,7 @@ import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-s
5
5
  import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
6
6
  import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
7
7
  import { Client as __Client, DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
8
- import { Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
8
+ import { BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
9
9
  import { AddTagsCommandInput, AddTagsCommandOutput } from "./commands/AddTagsCommand";
10
10
  import { CancelQueryCommandInput, CancelQueryCommandOutput } from "./commands/CancelQueryCommand";
11
11
  import { CreateEventDataStoreCommandInput, CreateEventDataStoreCommandOutput } from "./commands/CreateEventDataStoreCommand";
@@ -57,7 +57,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
57
57
  * A function that can calculate the length of a request body.
58
58
  * @internal
59
59
  */
60
- bodyLengthChecker?: (body: any) => number | undefined;
60
+ bodyLengthChecker?: __BodyLengthCalculator;
61
61
  /**
62
62
  * A function that converts a stream into an array of bytes.
63
63
  * @internal
@@ -7,7 +7,7 @@ export interface CancelQueryCommandInput extends CancelQueryRequest {
7
7
  export interface CancelQueryCommandOutput extends CancelQueryResponse, __MetadataBearer {
8
8
  }
9
9
  /**
10
- * <p>Cancels a query if the query is not in a terminated state, such as <code>CANCELLED</code>, <code>FAILED</code> or <code>FINISHED</code>. You must specify an ARN value for <code>EventDataStore</code>.
10
+ * <p>Cancels a query if the query is not in a terminated state, such as <code>CANCELLED</code>, <code>FAILED</code>, <code>TIMED_OUT</code>, or <code>FINISHED</code>. You must specify an ARN value for <code>EventDataStore</code>.
11
11
  * The ID of the query that you want to cancel is also required. When you run <code>CancelQuery</code>, the query status might
12
12
  * show as <code>CANCELLED</code> even if the operation is not yet finished.</p>
13
13
  * @example
@@ -11,7 +11,7 @@ export interface ListQueriesCommandOutput extends ListQueriesResponse, __Metadat
11
11
  * <code>EventDataStore</code>. Optionally, to shorten the list of results, you can specify a time range,
12
12
  * formatted as timestamps, by adding <code>StartTime</code> and <code>EndTime</code> parameters, and a
13
13
  * <code>QueryStatus</code> value. Valid values for <code>QueryStatus</code> include <code>QUEUED</code>, <code>RUNNING</code>,
14
- * <code>FINISHED</code>, <code>FAILED</code>, or <code>CANCELLED</code>.</p>
14
+ * <code>FINISHED</code>, <code>FAILED</code>, <code>TIMED_OUT</code>, or <code>CANCELLED</code>.</p>
15
15
  * @example
16
16
  * Use a bare-bones client and the command you need to make an API call.
17
17
  * ```javascript
@@ -606,7 +606,8 @@ export declare enum QueryStatus {
606
606
  FAILED = "FAILED",
607
607
  FINISHED = "FINISHED",
608
608
  QUEUED = "QUEUED",
609
- RUNNING = "RUNNING"
609
+ RUNNING = "RUNNING",
610
+ TIMED_OUT = "TIMED_OUT"
610
611
  }
611
612
  export interface CancelQueryResponse {
612
613
  /**
@@ -641,7 +642,7 @@ export declare class EventDataStoreARNInvalidException extends __BaseException {
641
642
  constructor(opts: __ExceptionOptionType<EventDataStoreARNInvalidException, __BaseException>);
642
643
  }
643
644
  /**
644
- * <p>The specified query cannot be canceled because it is in the <code>FINISHED</code>, <code>FAILED</code>, or
645
+ * <p>The specified query cannot be canceled because it is in the <code>FINISHED</code>, <code>FAILED</code>, <code>TIMED_OUT</code>, or
645
646
  * <code>CANCELLED</code> state.</p>
646
647
  */
647
648
  export declare class InactiveQueryException extends __BaseException {
@@ -1481,6 +1482,11 @@ export interface QueryStatisticsForDescribeQuery {
1481
1482
  * <p>The number of events that the query scanned in the event data store.</p>
1482
1483
  */
1483
1484
  EventsScanned?: number;
1485
+ /**
1486
+ * <p>The total bytes that the query scanned in the event data store. This value matches the number of
1487
+ * bytes for which your account is billed for the query, unless the query is still running.</p>
1488
+ */
1489
+ BytesScanned?: number;
1484
1490
  /**
1485
1491
  * <p>The query's run time, in milliseconds.</p>
1486
1492
  */
@@ -1507,7 +1513,7 @@ export interface DescribeQueryResponse {
1507
1513
  QueryString?: string;
1508
1514
  /**
1509
1515
  * <p>The status of a query. Values for <code>QueryStatus</code> include <code>QUEUED</code>, <code>RUNNING</code>,
1510
- * <code>FINISHED</code>, <code>FAILED</code>, or <code>CANCELLED</code>
1516
+ * <code>FINISHED</code>, <code>FAILED</code>, <code>TIMED_OUT</code>, or <code>CANCELLED</code>
1511
1517
  * </p>
1512
1518
  */
1513
1519
  QueryStatus?: QueryStatus | string;
@@ -2143,6 +2149,11 @@ export interface QueryStatistics {
2143
2149
  * <p>The total number of results returned by a query.</p>
2144
2150
  */
2145
2151
  TotalResultsCount?: number;
2152
+ /**
2153
+ * <p>The total bytes that the query scanned in the event data store. This value matches the number of
2154
+ * bytes for which your account is billed for the query, unless the query is still running.</p>
2155
+ */
2156
+ BytesScanned?: number;
2146
2157
  }
2147
2158
  export declare namespace QueryStatistics {
2148
2159
  /**
@@ -2153,7 +2164,7 @@ export declare namespace QueryStatistics {
2153
2164
  export interface GetQueryResultsResponse {
2154
2165
  /**
2155
2166
  * <p>The status of the query. Values include <code>QUEUED</code>, <code>RUNNING</code>, <code>FINISHED</code>, <code>FAILED</code>,
2156
- * or <code>CANCELLED</code>.</p>
2167
+ * <code>TIMED_OUT</code>, or <code>CANCELLED</code>.</p>
2157
2168
  */
2158
2169
  QueryStatus?: QueryStatus | string;
2159
2170
  /**
@@ -2598,7 +2609,7 @@ export interface ListQueriesRequest {
2598
2609
  EndTime?: Date;
2599
2610
  /**
2600
2611
  * <p>The status of queries that you want to return in results. Valid values for <code>QueryStatus</code> include <code>QUEUED</code>, <code>RUNNING</code>,
2601
- * <code>FINISHED</code>, <code>FAILED</code>, or <code>CANCELLED</code>.</p>
2612
+ * <code>FINISHED</code>, <code>FAILED</code>, <code>TIMED_OUT</code>, or <code>CANCELLED</code>.</p>
2602
2613
  */
2603
2614
  QueryStatus?: QueryStatus | string;
2604
2615
  }
@@ -2618,7 +2629,7 @@ export interface Query {
2618
2629
  QueryId?: string;
2619
2630
  /**
2620
2631
  * <p>The status of the query. This can be <code>QUEUED</code>, <code>RUNNING</code>, <code>FINISHED</code>, <code>FAILED</code>,
2621
- * or <code>CANCELLED</code>.</p>
2632
+ * <code>TIMED_OUT</code>, or <code>CANCELLED</code>.</p>
2622
2633
  */
2623
2634
  QueryStatus?: QueryStatus | string;
2624
2635
  /**
@@ -8,7 +8,7 @@ export declare const getRuntimeConfig: (config: CloudTrailClientConfig) => {
8
8
  defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
9
9
  base64Decoder: import("@aws-sdk/types").Decoder;
10
10
  base64Encoder: import("@aws-sdk/types").Encoder;
11
- bodyLengthChecker: (body: any) => number | undefined;
11
+ bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
12
12
  credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
13
13
  defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
14
14
  maxAttempts: number | import("@aws-sdk/types").Provider<number>;
@@ -8,7 +8,7 @@ export declare const getRuntimeConfig: (config: CloudTrailClientConfig) => {
8
8
  defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
9
9
  base64Decoder: import("@aws-sdk/types").Decoder;
10
10
  base64Encoder: import("@aws-sdk/types").Encoder;
11
- bodyLengthChecker: (body: any) => number | undefined;
11
+ bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
12
12
  credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
13
13
  defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
14
14
  maxAttempts: number | import("@aws-sdk/types").Provider<number>;
@@ -8,7 +8,7 @@ export declare const getRuntimeConfig: (config: CloudTrailClientConfig) => {
8
8
  requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | import("@aws-sdk/fetch-http-handler").FetchHttpHandler;
9
9
  apiVersion: string;
10
10
  urlParser: import("@aws-sdk/types").UrlParser;
11
- bodyLengthChecker: (body: any) => number | undefined;
11
+ bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
12
12
  streamCollector: import("@aws-sdk/types").StreamCollector;
13
13
  base64Decoder: import("@aws-sdk/types").Decoder;
14
14
  base64Encoder: import("@aws-sdk/types").Encoder;
@@ -5,7 +5,7 @@ import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-s
5
5
  import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
6
6
  import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
7
7
  import { Client as __Client, DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
8
- import { Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
8
+ import { BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
9
9
  import { AddTagsCommandInput, AddTagsCommandOutput } from "./commands/AddTagsCommand";
10
10
  import { CancelQueryCommandInput, CancelQueryCommandOutput } from "./commands/CancelQueryCommand";
11
11
  import { CreateEventDataStoreCommandInput, CreateEventDataStoreCommandOutput } from "./commands/CreateEventDataStoreCommand";
@@ -45,7 +45,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
45
45
 
46
46
  urlParser?: __UrlParser;
47
47
 
48
- bodyLengthChecker?: (body: any) => number | undefined;
48
+ bodyLengthChecker?: __BodyLengthCalculator;
49
49
 
50
50
  streamCollector?: __StreamCollector;
51
51
 
@@ -184,7 +184,8 @@ export declare enum QueryStatus {
184
184
  FAILED = "FAILED",
185
185
  FINISHED = "FINISHED",
186
186
  QUEUED = "QUEUED",
187
- RUNNING = "RUNNING"
187
+ RUNNING = "RUNNING",
188
+ TIMED_OUT = "TIMED_OUT"
188
189
  }
189
190
  export interface CancelQueryResponse {
190
191
 
@@ -648,6 +649,8 @@ export interface QueryStatisticsForDescribeQuery {
648
649
 
649
650
  EventsScanned?: number;
650
651
 
652
+ BytesScanned?: number;
653
+
651
654
  ExecutionTimeInMillis?: number;
652
655
 
653
656
  CreationTime?: Date;
@@ -876,6 +879,8 @@ export interface QueryStatistics {
876
879
  ResultsCount?: number;
877
880
 
878
881
  TotalResultsCount?: number;
882
+
883
+ BytesScanned?: number;
879
884
  }
880
885
  export declare namespace QueryStatistics {
881
886
 
@@ -6,7 +6,7 @@ export declare const getRuntimeConfig: (config: CloudTrailClientConfig) => {
6
6
  defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
7
7
  base64Decoder: import("@aws-sdk/types").Decoder;
8
8
  base64Encoder: import("@aws-sdk/types").Encoder;
9
- bodyLengthChecker: (body: any) => number | undefined;
9
+ bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
10
10
  credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
11
11
  defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
12
12
  maxAttempts: number | import("@aws-sdk/types").Provider<number>;
@@ -6,7 +6,7 @@ export declare const getRuntimeConfig: (config: CloudTrailClientConfig) => {
6
6
  defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
7
7
  base64Decoder: import("@aws-sdk/types").Decoder;
8
8
  base64Encoder: import("@aws-sdk/types").Encoder;
9
- bodyLengthChecker: (body: any) => number | undefined;
9
+ bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
10
10
  credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
11
11
  defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
12
12
  maxAttempts: number | import("@aws-sdk/types").Provider<number>;
@@ -6,7 +6,7 @@ export declare const getRuntimeConfig: (config: CloudTrailClientConfig) => {
6
6
  requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | import("@aws-sdk/fetch-http-handler").FetchHttpHandler;
7
7
  apiVersion: string;
8
8
  urlParser: import("@aws-sdk/types").UrlParser;
9
- bodyLengthChecker: (body: any) => number | undefined;
9
+ bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
10
10
  streamCollector: import("@aws-sdk/types").StreamCollector;
11
11
  base64Decoder: import("@aws-sdk/types").Decoder;
12
12
  base64Encoder: import("@aws-sdk/types").Encoder;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-cloudtrail",
3
3
  "description": "AWS SDK for JavaScript Cloudtrail Client for Node.js, Browser and React Native",
4
- "version": "3.53.0",
4
+ "version": "3.54.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",
@@ -18,34 +18,34 @@
18
18
  "dependencies": {
19
19
  "@aws-crypto/sha256-browser": "2.0.0",
20
20
  "@aws-crypto/sha256-js": "2.0.0",
21
- "@aws-sdk/client-sts": "3.53.0",
22
- "@aws-sdk/config-resolver": "3.53.0",
23
- "@aws-sdk/credential-provider-node": "3.53.0",
24
- "@aws-sdk/fetch-http-handler": "3.53.0",
25
- "@aws-sdk/hash-node": "3.53.0",
26
- "@aws-sdk/invalid-dependency": "3.53.0",
27
- "@aws-sdk/middleware-content-length": "3.53.0",
28
- "@aws-sdk/middleware-host-header": "3.53.0",
29
- "@aws-sdk/middleware-logger": "3.53.0",
30
- "@aws-sdk/middleware-retry": "3.53.0",
31
- "@aws-sdk/middleware-serde": "3.53.0",
32
- "@aws-sdk/middleware-signing": "3.53.0",
33
- "@aws-sdk/middleware-stack": "3.53.0",
34
- "@aws-sdk/middleware-user-agent": "3.53.0",
35
- "@aws-sdk/node-config-provider": "3.53.0",
36
- "@aws-sdk/node-http-handler": "3.53.0",
37
- "@aws-sdk/protocol-http": "3.53.0",
38
- "@aws-sdk/smithy-client": "3.53.0",
39
- "@aws-sdk/types": "3.53.0",
40
- "@aws-sdk/url-parser": "3.53.0",
21
+ "@aws-sdk/client-sts": "3.54.0",
22
+ "@aws-sdk/config-resolver": "3.54.0",
23
+ "@aws-sdk/credential-provider-node": "3.54.0",
24
+ "@aws-sdk/fetch-http-handler": "3.54.0",
25
+ "@aws-sdk/hash-node": "3.54.0",
26
+ "@aws-sdk/invalid-dependency": "3.54.0",
27
+ "@aws-sdk/middleware-content-length": "3.54.0",
28
+ "@aws-sdk/middleware-host-header": "3.54.0",
29
+ "@aws-sdk/middleware-logger": "3.54.0",
30
+ "@aws-sdk/middleware-retry": "3.54.0",
31
+ "@aws-sdk/middleware-serde": "3.54.0",
32
+ "@aws-sdk/middleware-signing": "3.54.0",
33
+ "@aws-sdk/middleware-stack": "3.54.0",
34
+ "@aws-sdk/middleware-user-agent": "3.54.0",
35
+ "@aws-sdk/node-config-provider": "3.54.0",
36
+ "@aws-sdk/node-http-handler": "3.54.0",
37
+ "@aws-sdk/protocol-http": "3.54.0",
38
+ "@aws-sdk/smithy-client": "3.54.0",
39
+ "@aws-sdk/types": "3.54.0",
40
+ "@aws-sdk/url-parser": "3.54.0",
41
41
  "@aws-sdk/util-base64-browser": "3.52.0",
42
42
  "@aws-sdk/util-base64-node": "3.52.0",
43
- "@aws-sdk/util-body-length-browser": "3.52.0",
44
- "@aws-sdk/util-body-length-node": "3.52.0",
45
- "@aws-sdk/util-defaults-mode-browser": "3.53.0",
46
- "@aws-sdk/util-defaults-mode-node": "3.53.0",
47
- "@aws-sdk/util-user-agent-browser": "3.53.0",
48
- "@aws-sdk/util-user-agent-node": "3.53.0",
43
+ "@aws-sdk/util-body-length-browser": "3.54.0",
44
+ "@aws-sdk/util-body-length-node": "3.54.0",
45
+ "@aws-sdk/util-defaults-mode-browser": "3.54.0",
46
+ "@aws-sdk/util-defaults-mode-node": "3.54.0",
47
+ "@aws-sdk/util-user-agent-browser": "3.54.0",
48
+ "@aws-sdk/util-user-agent-node": "3.54.0",
49
49
  "@aws-sdk/util-utf8-browser": "3.52.0",
50
50
  "@aws-sdk/util-utf8-node": "3.52.0",
51
51
  "tslib": "^2.3.0"