@aws-sdk/client-cloudtrail 3.53.0 → 3.55.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 +27 -0
- package/dist-cjs/CloudTrailClient.js +13 -13
- package/dist-cjs/commands/AddTagsCommand.js +3 -3
- package/dist-cjs/commands/CancelQueryCommand.js +3 -3
- package/dist-cjs/commands/CreateEventDataStoreCommand.js +3 -3
- package/dist-cjs/commands/CreateTrailCommand.js +3 -3
- package/dist-cjs/commands/DeleteEventDataStoreCommand.js +3 -3
- package/dist-cjs/commands/DeleteTrailCommand.js +3 -3
- package/dist-cjs/commands/DescribeQueryCommand.js +3 -3
- package/dist-cjs/commands/DescribeTrailsCommand.js +3 -3
- package/dist-cjs/commands/GetEventDataStoreCommand.js +3 -3
- package/dist-cjs/commands/GetEventSelectorsCommand.js +3 -3
- package/dist-cjs/commands/GetInsightSelectorsCommand.js +3 -3
- package/dist-cjs/commands/GetQueryResultsCommand.js +3 -3
- package/dist-cjs/commands/GetTrailCommand.js +3 -3
- package/dist-cjs/commands/GetTrailStatusCommand.js +3 -3
- package/dist-cjs/commands/ListEventDataStoresCommand.js +3 -3
- package/dist-cjs/commands/ListPublicKeysCommand.js +3 -3
- package/dist-cjs/commands/ListQueriesCommand.js +3 -3
- package/dist-cjs/commands/ListTagsCommand.js +3 -3
- package/dist-cjs/commands/ListTrailsCommand.js +3 -3
- package/dist-cjs/commands/LookupEventsCommand.js +3 -3
- package/dist-cjs/commands/PutEventSelectorsCommand.js +3 -3
- package/dist-cjs/commands/PutInsightSelectorsCommand.js +3 -3
- package/dist-cjs/commands/RemoveTagsCommand.js +3 -3
- package/dist-cjs/commands/RestoreEventDataStoreCommand.js +3 -3
- package/dist-cjs/commands/StartLoggingCommand.js +3 -3
- package/dist-cjs/commands/StartQueryCommand.js +3 -3
- package/dist-cjs/commands/StopLoggingCommand.js +3 -3
- package/dist-cjs/commands/UpdateEventDataStoreCommand.js +3 -3
- package/dist-cjs/commands/UpdateTrailCommand.js +3 -3
- package/dist-cjs/endpoints.js +4 -6
- package/dist-cjs/models/models_0.js +1 -0
- package/dist-cjs/protocols/Aws_json1_1.js +309 -307
- package/dist-cjs/runtimeConfig.browser.js +4 -4
- package/dist-cjs/runtimeConfig.js +9 -9
- package/dist-cjs/runtimeConfig.native.js +1 -1
- package/dist-es/CloudTrail.js +29 -29
- package/dist-es/endpoints.js +3 -5
- package/dist-es/models/models_0.js +1 -0
- package/dist-es/pagination/GetQueryResultsPaginator.js +4 -4
- package/dist-es/pagination/ListEventDataStoresPaginator.js +4 -4
- package/dist-es/pagination/ListPublicKeysPaginator.js +4 -4
- package/dist-es/pagination/ListQueriesPaginator.js +4 -4
- package/dist-es/pagination/ListTagsPaginator.js +4 -4
- package/dist-es/pagination/ListTrailsPaginator.js +4 -4
- package/dist-es/pagination/LookupEventsPaginator.js +4 -4
- package/dist-es/protocols/Aws_json1_1.js +2 -0
- package/dist-types/CloudTrail.d.ts +2 -2
- package/dist-types/CloudTrailClient.d.ts +2 -2
- package/dist-types/commands/CancelQueryCommand.d.ts +1 -1
- package/dist-types/commands/ListQueriesCommand.d.ts +1 -1
- package/dist-types/models/models_0.d.ts +17 -6
- package/dist-types/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/runtimeConfig.d.ts +1 -1
- package/dist-types/runtimeConfig.native.d.ts +3 -3
- package/dist-types/ts3.4/CloudTrailClient.d.ts +2 -2
- package/dist-types/ts3.4/models/models_0.d.ts +6 -1
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +3 -3
- package/package.json +34 -34
|
@@ -11,7 +11,7 @@ class StartLoggingCommand extends smithy_client_1.Command {
|
|
|
11
11
|
this.input = input;
|
|
12
12
|
}
|
|
13
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
-
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
14
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
15
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
16
16
|
const { logger } = configuration;
|
|
17
17
|
const clientName = "CloudTrailClient";
|
|
@@ -27,10 +27,10 @@ class StartLoggingCommand extends smithy_client_1.Command {
|
|
|
27
27
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
28
|
}
|
|
29
29
|
serialize(input, context) {
|
|
30
|
-
return Aws_json1_1_1.serializeAws_json1_1StartLoggingCommand(input, context);
|
|
30
|
+
return (0, Aws_json1_1_1.serializeAws_json1_1StartLoggingCommand)(input, context);
|
|
31
31
|
}
|
|
32
32
|
deserialize(output, context) {
|
|
33
|
-
return Aws_json1_1_1.deserializeAws_json1_1StartLoggingCommand(output, context);
|
|
33
|
+
return (0, Aws_json1_1_1.deserializeAws_json1_1StartLoggingCommand)(output, context);
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
36
|
exports.StartLoggingCommand = StartLoggingCommand;
|
|
@@ -11,7 +11,7 @@ class StartQueryCommand extends smithy_client_1.Command {
|
|
|
11
11
|
this.input = input;
|
|
12
12
|
}
|
|
13
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
-
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
14
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
15
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
16
16
|
const { logger } = configuration;
|
|
17
17
|
const clientName = "CloudTrailClient";
|
|
@@ -27,10 +27,10 @@ class StartQueryCommand extends smithy_client_1.Command {
|
|
|
27
27
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
28
|
}
|
|
29
29
|
serialize(input, context) {
|
|
30
|
-
return Aws_json1_1_1.serializeAws_json1_1StartQueryCommand(input, context);
|
|
30
|
+
return (0, Aws_json1_1_1.serializeAws_json1_1StartQueryCommand)(input, context);
|
|
31
31
|
}
|
|
32
32
|
deserialize(output, context) {
|
|
33
|
-
return Aws_json1_1_1.deserializeAws_json1_1StartQueryCommand(output, context);
|
|
33
|
+
return (0, Aws_json1_1_1.deserializeAws_json1_1StartQueryCommand)(output, context);
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
36
|
exports.StartQueryCommand = StartQueryCommand;
|
|
@@ -11,7 +11,7 @@ class StopLoggingCommand extends smithy_client_1.Command {
|
|
|
11
11
|
this.input = input;
|
|
12
12
|
}
|
|
13
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
-
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
14
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
15
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
16
16
|
const { logger } = configuration;
|
|
17
17
|
const clientName = "CloudTrailClient";
|
|
@@ -27,10 +27,10 @@ class StopLoggingCommand extends smithy_client_1.Command {
|
|
|
27
27
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
28
|
}
|
|
29
29
|
serialize(input, context) {
|
|
30
|
-
return Aws_json1_1_1.serializeAws_json1_1StopLoggingCommand(input, context);
|
|
30
|
+
return (0, Aws_json1_1_1.serializeAws_json1_1StopLoggingCommand)(input, context);
|
|
31
31
|
}
|
|
32
32
|
deserialize(output, context) {
|
|
33
|
-
return Aws_json1_1_1.deserializeAws_json1_1StopLoggingCommand(output, context);
|
|
33
|
+
return (0, Aws_json1_1_1.deserializeAws_json1_1StopLoggingCommand)(output, context);
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
36
|
exports.StopLoggingCommand = StopLoggingCommand;
|
|
@@ -11,7 +11,7 @@ class UpdateEventDataStoreCommand extends smithy_client_1.Command {
|
|
|
11
11
|
this.input = input;
|
|
12
12
|
}
|
|
13
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
-
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
14
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
15
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
16
16
|
const { logger } = configuration;
|
|
17
17
|
const clientName = "CloudTrailClient";
|
|
@@ -27,10 +27,10 @@ class UpdateEventDataStoreCommand extends smithy_client_1.Command {
|
|
|
27
27
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
28
|
}
|
|
29
29
|
serialize(input, context) {
|
|
30
|
-
return Aws_json1_1_1.serializeAws_json1_1UpdateEventDataStoreCommand(input, context);
|
|
30
|
+
return (0, Aws_json1_1_1.serializeAws_json1_1UpdateEventDataStoreCommand)(input, context);
|
|
31
31
|
}
|
|
32
32
|
deserialize(output, context) {
|
|
33
|
-
return Aws_json1_1_1.deserializeAws_json1_1UpdateEventDataStoreCommand(output, context);
|
|
33
|
+
return (0, Aws_json1_1_1.deserializeAws_json1_1UpdateEventDataStoreCommand)(output, context);
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
36
|
exports.UpdateEventDataStoreCommand = UpdateEventDataStoreCommand;
|
|
@@ -11,7 +11,7 @@ class UpdateTrailCommand extends smithy_client_1.Command {
|
|
|
11
11
|
this.input = input;
|
|
12
12
|
}
|
|
13
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
-
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
14
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
15
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
16
16
|
const { logger } = configuration;
|
|
17
17
|
const clientName = "CloudTrailClient";
|
|
@@ -27,10 +27,10 @@ class UpdateTrailCommand extends smithy_client_1.Command {
|
|
|
27
27
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
28
|
}
|
|
29
29
|
serialize(input, context) {
|
|
30
|
-
return Aws_json1_1_1.serializeAws_json1_1UpdateTrailCommand(input, context);
|
|
30
|
+
return (0, Aws_json1_1_1.serializeAws_json1_1UpdateTrailCommand)(input, context);
|
|
31
31
|
}
|
|
32
32
|
deserialize(output, context) {
|
|
33
|
-
return Aws_json1_1_1.deserializeAws_json1_1UpdateTrailCommand(output, context);
|
|
33
|
+
return (0, Aws_json1_1_1.deserializeAws_json1_1UpdateTrailCommand)(output, context);
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
36
|
exports.UpdateTrailCommand = UpdateTrailCommand;
|
package/dist-cjs/endpoints.js
CHANGED
|
@@ -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
|
{
|
|
@@ -177,7 +175,7 @@ const partitionHash = {
|
|
|
177
175
|
],
|
|
178
176
|
},
|
|
179
177
|
};
|
|
180
|
-
const defaultRegionInfoProvider = async (region, options) => config_resolver_1.getRegionInfo(region, {
|
|
178
|
+
const defaultRegionInfoProvider = async (region, options) => (0, config_resolver_1.getRegionInfo)(region, {
|
|
181
179
|
...options,
|
|
182
180
|
signingService: "cloudtrail",
|
|
183
181
|
regionHash,
|
|
@@ -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) {
|