@aws-sdk/client-cloudtrail 3.687.0 → 3.691.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/README.md +8 -0
- package/dist-cjs/index.js +69 -0
- package/dist-es/CloudTrail.js +2 -0
- package/dist-es/commands/GenerateQueryCommand.js +22 -0
- package/dist-es/commands/index.js +1 -0
- package/dist-es/models/models_0.js +13 -0
- package/dist-es/protocols/Aws_json1_1.js +33 -1
- package/dist-types/CloudTrail.d.ts +7 -0
- package/dist-types/CloudTrailClient.d.ts +3 -2
- package/dist-types/commands/DescribeQueryCommand.d.ts +1 -0
- package/dist-types/commands/GenerateQueryCommand.d.ts +118 -0
- package/dist-types/commands/RemoveTagsCommand.d.ts +6 -0
- package/dist-types/commands/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +641 -864
- package/dist-types/protocols/Aws_json1_1.d.ts +9 -0
- package/dist-types/ts3.4/CloudTrail.d.ts +17 -0
- package/dist-types/ts3.4/CloudTrailClient.d.ts +6 -0
- package/dist-types/ts3.4/commands/GenerateQueryCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +495 -478
- package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +12 -0
- package/package.json +7 -7
package/README.md
CHANGED
|
@@ -330,6 +330,14 @@ EnableFederation
|
|
|
330
330
|
|
|
331
331
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/cloudtrail/command/EnableFederationCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-cloudtrail/Interface/EnableFederationCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-cloudtrail/Interface/EnableFederationCommandOutput/)
|
|
332
332
|
|
|
333
|
+
</details>
|
|
334
|
+
<details>
|
|
335
|
+
<summary>
|
|
336
|
+
GenerateQuery
|
|
337
|
+
</summary>
|
|
338
|
+
|
|
339
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/cloudtrail/command/GenerateQueryCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-cloudtrail/Interface/GenerateQueryCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-cloudtrail/Interface/GenerateQueryCommandOutput/)
|
|
340
|
+
|
|
333
341
|
</details>
|
|
334
342
|
<details>
|
|
335
343
|
<summary>
|
package/dist-cjs/index.js
CHANGED
|
@@ -69,6 +69,8 @@ __export(src_exports, {
|
|
|
69
69
|
EventDataStoreStatus: () => EventDataStoreStatus,
|
|
70
70
|
EventDataStoreTerminationProtectedException: () => EventDataStoreTerminationProtectedException,
|
|
71
71
|
FederationStatus: () => FederationStatus,
|
|
72
|
+
GenerateQueryCommand: () => GenerateQueryCommand,
|
|
73
|
+
GenerateResponseException: () => GenerateResponseException,
|
|
72
74
|
GetChannelCommand: () => GetChannelCommand,
|
|
73
75
|
GetEventDataStoreCommand: () => GetEventDataStoreCommand,
|
|
74
76
|
GetEventSelectorsCommand: () => GetEventSelectorsCommand,
|
|
@@ -1578,6 +1580,24 @@ var FederationStatus = {
|
|
|
1578
1580
|
ENABLED: "ENABLED",
|
|
1579
1581
|
ENABLING: "ENABLING"
|
|
1580
1582
|
};
|
|
1583
|
+
var _GenerateResponseException = class _GenerateResponseException extends CloudTrailServiceException {
|
|
1584
|
+
/**
|
|
1585
|
+
* @internal
|
|
1586
|
+
*/
|
|
1587
|
+
constructor(opts) {
|
|
1588
|
+
super({
|
|
1589
|
+
name: "GenerateResponseException",
|
|
1590
|
+
$fault: "client",
|
|
1591
|
+
...opts
|
|
1592
|
+
});
|
|
1593
|
+
this.name = "GenerateResponseException";
|
|
1594
|
+
this.$fault = "client";
|
|
1595
|
+
Object.setPrototypeOf(this, _GenerateResponseException.prototype);
|
|
1596
|
+
this.Message = opts.Message;
|
|
1597
|
+
}
|
|
1598
|
+
};
|
|
1599
|
+
__name(_GenerateResponseException, "GenerateResponseException");
|
|
1600
|
+
var GenerateResponseException = _GenerateResponseException;
|
|
1581
1601
|
var ReadWriteType = {
|
|
1582
1602
|
All: "All",
|
|
1583
1603
|
ReadOnly: "ReadOnly",
|
|
@@ -2008,6 +2028,12 @@ var se_EnableFederationCommand = /* @__PURE__ */ __name(async (input, context) =
|
|
|
2008
2028
|
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
2009
2029
|
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
2010
2030
|
}, "se_EnableFederationCommand");
|
|
2031
|
+
var se_GenerateQueryCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
2032
|
+
const headers = sharedHeaders("GenerateQuery");
|
|
2033
|
+
let body;
|
|
2034
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
2035
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
2036
|
+
}, "se_GenerateQueryCommand");
|
|
2011
2037
|
var se_GetChannelCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
2012
2038
|
const headers = sharedHeaders("GetChannel");
|
|
2013
2039
|
let body;
|
|
@@ -2400,6 +2426,19 @@ var de_EnableFederationCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
2400
2426
|
};
|
|
2401
2427
|
return response;
|
|
2402
2428
|
}, "de_EnableFederationCommand");
|
|
2429
|
+
var de_GenerateQueryCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2430
|
+
if (output.statusCode >= 300) {
|
|
2431
|
+
return de_CommandError(output, context);
|
|
2432
|
+
}
|
|
2433
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
2434
|
+
let contents = {};
|
|
2435
|
+
contents = (0, import_smithy_client._json)(data);
|
|
2436
|
+
const response = {
|
|
2437
|
+
$metadata: deserializeMetadata(output),
|
|
2438
|
+
...contents
|
|
2439
|
+
};
|
|
2440
|
+
return response;
|
|
2441
|
+
}, "de_GenerateQueryCommand");
|
|
2403
2442
|
var de_GetChannelCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2404
2443
|
if (output.statusCode >= 300) {
|
|
2405
2444
|
return de_CommandError(output, context);
|
|
@@ -3051,6 +3090,9 @@ var de_CommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
3051
3090
|
case "ConcurrentModificationException":
|
|
3052
3091
|
case "com.amazonaws.cloudtrail#ConcurrentModificationException":
|
|
3053
3092
|
throw await de_ConcurrentModificationExceptionRes(parsedOutput, context);
|
|
3093
|
+
case "GenerateResponseException":
|
|
3094
|
+
case "com.amazonaws.cloudtrail#GenerateResponseException":
|
|
3095
|
+
throw await de_GenerateResponseExceptionRes(parsedOutput, context);
|
|
3054
3096
|
case "ImportNotFoundException":
|
|
3055
3097
|
case "com.amazonaws.cloudtrail#ImportNotFoundException":
|
|
3056
3098
|
throw await de_ImportNotFoundExceptionRes(parsedOutput, context);
|
|
@@ -3345,6 +3387,15 @@ var de_EventDataStoreTerminationProtectedExceptionRes = /* @__PURE__ */ __name(a
|
|
|
3345
3387
|
});
|
|
3346
3388
|
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
3347
3389
|
}, "de_EventDataStoreTerminationProtectedExceptionRes");
|
|
3390
|
+
var de_GenerateResponseExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
3391
|
+
const body = parsedOutput.body;
|
|
3392
|
+
const deserialized = (0, import_smithy_client._json)(body);
|
|
3393
|
+
const exception = new GenerateResponseException({
|
|
3394
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
3395
|
+
...deserialized
|
|
3396
|
+
});
|
|
3397
|
+
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
3398
|
+
}, "de_GenerateResponseExceptionRes");
|
|
3348
3399
|
var de_ImportNotFoundExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
3349
3400
|
const body = parsedOutput.body;
|
|
3350
3401
|
const deserialized = (0, import_smithy_client._json)(body);
|
|
@@ -3939,6 +3990,7 @@ var de_DescribeQueryResponse = /* @__PURE__ */ __name((output, context) => {
|
|
|
3939
3990
|
DeliveryS3Uri: import_smithy_client.expectString,
|
|
3940
3991
|
DeliveryStatus: import_smithy_client.expectString,
|
|
3941
3992
|
ErrorMessage: import_smithy_client.expectString,
|
|
3993
|
+
Prompt: import_smithy_client.expectString,
|
|
3942
3994
|
QueryId: import_smithy_client.expectString,
|
|
3943
3995
|
QueryStatistics: (_) => de_QueryStatisticsForDescribeQuery(_, context),
|
|
3944
3996
|
QueryStatus: import_smithy_client.expectString,
|
|
@@ -4466,6 +4518,20 @@ var _EnableFederationCommand = class _EnableFederationCommand extends import_smi
|
|
|
4466
4518
|
__name(_EnableFederationCommand, "EnableFederationCommand");
|
|
4467
4519
|
var EnableFederationCommand = _EnableFederationCommand;
|
|
4468
4520
|
|
|
4521
|
+
// src/commands/GenerateQueryCommand.ts
|
|
4522
|
+
|
|
4523
|
+
|
|
4524
|
+
|
|
4525
|
+
var _GenerateQueryCommand = class _GenerateQueryCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
4526
|
+
return [
|
|
4527
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
4528
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
4529
|
+
];
|
|
4530
|
+
}).s("CloudTrail_20131101", "GenerateQuery", {}).n("CloudTrailClient", "GenerateQueryCommand").f(void 0, void 0).ser(se_GenerateQueryCommand).de(de_GenerateQueryCommand).build() {
|
|
4531
|
+
};
|
|
4532
|
+
__name(_GenerateQueryCommand, "GenerateQueryCommand");
|
|
4533
|
+
var GenerateQueryCommand = _GenerateQueryCommand;
|
|
4534
|
+
|
|
4469
4535
|
// src/commands/GetChannelCommand.ts
|
|
4470
4536
|
|
|
4471
4537
|
|
|
@@ -4972,6 +5038,7 @@ var commands = {
|
|
|
4972
5038
|
DescribeTrailsCommand,
|
|
4973
5039
|
DisableFederationCommand,
|
|
4974
5040
|
EnableFederationCommand,
|
|
5041
|
+
GenerateQueryCommand,
|
|
4975
5042
|
GetChannelCommand,
|
|
4976
5043
|
GetEventDataStoreCommand,
|
|
4977
5044
|
GetEventSelectorsCommand,
|
|
@@ -5079,6 +5146,7 @@ var paginateLookupEvents = (0, import_core.createPaginator)(CloudTrailClient, Lo
|
|
|
5079
5146
|
DescribeTrailsCommand,
|
|
5080
5147
|
DisableFederationCommand,
|
|
5081
5148
|
EnableFederationCommand,
|
|
5149
|
+
GenerateQueryCommand,
|
|
5082
5150
|
GetChannelCommand,
|
|
5083
5151
|
GetEventDataStoreCommand,
|
|
5084
5152
|
GetEventSelectorsCommand,
|
|
@@ -5197,6 +5265,7 @@ var paginateLookupEvents = (0, import_core.createPaginator)(CloudTrailClient, Lo
|
|
|
5197
5265
|
DeliveryStatus,
|
|
5198
5266
|
ConcurrentModificationException,
|
|
5199
5267
|
FederationStatus,
|
|
5268
|
+
GenerateResponseException,
|
|
5200
5269
|
ReadWriteType,
|
|
5201
5270
|
ImportStatus,
|
|
5202
5271
|
ImportNotFoundException,
|
package/dist-es/CloudTrail.js
CHANGED
|
@@ -14,6 +14,7 @@ import { DescribeQueryCommand, } from "./commands/DescribeQueryCommand";
|
|
|
14
14
|
import { DescribeTrailsCommand, } from "./commands/DescribeTrailsCommand";
|
|
15
15
|
import { DisableFederationCommand, } from "./commands/DisableFederationCommand";
|
|
16
16
|
import { EnableFederationCommand, } from "./commands/EnableFederationCommand";
|
|
17
|
+
import { GenerateQueryCommand, } from "./commands/GenerateQueryCommand";
|
|
17
18
|
import { GetChannelCommand } from "./commands/GetChannelCommand";
|
|
18
19
|
import { GetEventDataStoreCommand, } from "./commands/GetEventDataStoreCommand";
|
|
19
20
|
import { GetEventSelectorsCommand, } from "./commands/GetEventSelectorsCommand";
|
|
@@ -64,6 +65,7 @@ const commands = {
|
|
|
64
65
|
DescribeTrailsCommand,
|
|
65
66
|
DisableFederationCommand,
|
|
66
67
|
EnableFederationCommand,
|
|
68
|
+
GenerateQueryCommand,
|
|
67
69
|
GetChannelCommand,
|
|
68
70
|
GetEventDataStoreCommand,
|
|
69
71
|
GetEventSelectorsCommand,
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { de_GenerateQueryCommand, se_GenerateQueryCommand } from "../protocols/Aws_json1_1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class GenerateQueryCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep(commonParams)
|
|
10
|
+
.m(function (Command, cs, config, o) {
|
|
11
|
+
return [
|
|
12
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
+
];
|
|
15
|
+
})
|
|
16
|
+
.s("CloudTrail_20131101", "GenerateQuery", {})
|
|
17
|
+
.n("CloudTrailClient", "GenerateQueryCommand")
|
|
18
|
+
.f(void 0, void 0)
|
|
19
|
+
.ser(se_GenerateQueryCommand)
|
|
20
|
+
.de(de_GenerateQueryCommand)
|
|
21
|
+
.build() {
|
|
22
|
+
}
|
|
@@ -12,6 +12,7 @@ export * from "./DescribeQueryCommand";
|
|
|
12
12
|
export * from "./DescribeTrailsCommand";
|
|
13
13
|
export * from "./DisableFederationCommand";
|
|
14
14
|
export * from "./EnableFederationCommand";
|
|
15
|
+
export * from "./GenerateQueryCommand";
|
|
15
16
|
export * from "./GetChannelCommand";
|
|
16
17
|
export * from "./GetEventDataStoreCommand";
|
|
17
18
|
export * from "./GetEventSelectorsCommand";
|
|
@@ -898,6 +898,19 @@ export const FederationStatus = {
|
|
|
898
898
|
ENABLED: "ENABLED",
|
|
899
899
|
ENABLING: "ENABLING",
|
|
900
900
|
};
|
|
901
|
+
export class GenerateResponseException extends __BaseException {
|
|
902
|
+
constructor(opts) {
|
|
903
|
+
super({
|
|
904
|
+
name: "GenerateResponseException",
|
|
905
|
+
$fault: "client",
|
|
906
|
+
...opts,
|
|
907
|
+
});
|
|
908
|
+
this.name = "GenerateResponseException";
|
|
909
|
+
this.$fault = "client";
|
|
910
|
+
Object.setPrototypeOf(this, GenerateResponseException.prototype);
|
|
911
|
+
this.Message = opts.Message;
|
|
912
|
+
}
|
|
913
|
+
}
|
|
901
914
|
export const ReadWriteType = {
|
|
902
915
|
All: "All",
|
|
903
916
|
ReadOnly: "ReadOnly",
|
|
@@ -2,7 +2,7 @@ import { loadRestJsonErrorCode, parseJsonBody as parseBody, parseJsonErrorBody a
|
|
|
2
2
|
import { HttpRequest as __HttpRequest } from "@smithy/protocol-http";
|
|
3
3
|
import { _json, collectBody, decorateServiceException as __decorateServiceException, expectBoolean as __expectBoolean, expectInt32 as __expectInt32, expectLong as __expectLong, expectNonNull as __expectNonNull, expectNumber as __expectNumber, expectString as __expectString, limitedParseDouble as __limitedParseDouble, parseEpochTimestamp as __parseEpochTimestamp, take, withBaseException, } from "@smithy/smithy-client";
|
|
4
4
|
import { CloudTrailServiceException as __BaseException } from "../models/CloudTrailServiceException";
|
|
5
|
-
import { AccessDeniedException, AccountHasOngoingImportException, AccountNotFoundException, AccountNotRegisteredException, AccountRegisteredException, CannotDelegateManagementAccountException, ChannelAlreadyExistsException, ChannelARNInvalidException, ChannelExistsForEDSException, ChannelMaxLimitExceededException, ChannelNotFoundException, CloudTrailAccessNotEnabledException, CloudTrailARNInvalidException, CloudTrailInvalidClientTokenIdException, CloudWatchLogsDeliveryUnavailableException, ConcurrentModificationException, ConflictException, DelegatedAdminAccountLimitExceededException, EventDataStoreAlreadyExistsException, EventDataStoreARNInvalidException, EventDataStoreFederationEnabledException, EventDataStoreHasOngoingImportException, EventDataStoreMaxLimitExceededException, EventDataStoreNotFoundException, EventDataStoreTerminationProtectedException, ImportNotFoundException, InactiveEventDataStoreException, InactiveQueryException, InsightNotEnabledException, InsufficientDependencyServiceAccessPermissionException, InsufficientEncryptionPolicyException, InsufficientS3BucketPolicyException, InsufficientSnsTopicPolicyException, InvalidCloudWatchLogsLogGroupArnException, InvalidCloudWatchLogsRoleArnException, InvalidDateRangeException, InvalidEventCategoryException, InvalidEventDataStoreCategoryException, InvalidEventDataStoreStatusException, InvalidEventSelectorsException, InvalidHomeRegionException, InvalidImportSourceException, InvalidInsightSelectorsException, InvalidKmsKeyIdException, InvalidLookupAttributesException, InvalidMaxResultsException, InvalidNextTokenException, InvalidParameterCombinationException, InvalidParameterException, InvalidQueryStatementException, InvalidQueryStatusException, InvalidS3BucketNameException, InvalidS3PrefixException, InvalidSnsTopicNameException, InvalidSourceException, InvalidTagParameterException, InvalidTimeRangeException, InvalidTokenException, InvalidTrailNameException, KmsException, KmsKeyDisabledException, KmsKeyNotFoundException, MaxConcurrentQueriesException, MaximumNumberOfTrailsExceededException, NoManagementAccountSLRExistsException, NotOrganizationManagementAccountException, NotOrganizationMasterAccountException, OperationNotPermittedException, OrganizationNotInAllFeaturesModeException, OrganizationsNotInUseException, QueryIdNotFoundException, ResourceARNNotValidException, ResourceNotFoundException, ResourcePolicyNotFoundException, ResourcePolicyNotValidException, ResourceTypeNotSupportedException, S3BucketDoesNotExistException, TagsLimitExceededException, ThrottlingException, TrailAlreadyExistsException, TrailNotFoundException, TrailNotProvidedException, UnsupportedOperationException, } from "../models/models_0";
|
|
5
|
+
import { AccessDeniedException, AccountHasOngoingImportException, AccountNotFoundException, AccountNotRegisteredException, AccountRegisteredException, CannotDelegateManagementAccountException, ChannelAlreadyExistsException, ChannelARNInvalidException, ChannelExistsForEDSException, ChannelMaxLimitExceededException, ChannelNotFoundException, CloudTrailAccessNotEnabledException, CloudTrailARNInvalidException, CloudTrailInvalidClientTokenIdException, CloudWatchLogsDeliveryUnavailableException, ConcurrentModificationException, ConflictException, DelegatedAdminAccountLimitExceededException, EventDataStoreAlreadyExistsException, EventDataStoreARNInvalidException, EventDataStoreFederationEnabledException, EventDataStoreHasOngoingImportException, EventDataStoreMaxLimitExceededException, EventDataStoreNotFoundException, EventDataStoreTerminationProtectedException, GenerateResponseException, ImportNotFoundException, InactiveEventDataStoreException, InactiveQueryException, InsightNotEnabledException, InsufficientDependencyServiceAccessPermissionException, InsufficientEncryptionPolicyException, InsufficientS3BucketPolicyException, InsufficientSnsTopicPolicyException, InvalidCloudWatchLogsLogGroupArnException, InvalidCloudWatchLogsRoleArnException, InvalidDateRangeException, InvalidEventCategoryException, InvalidEventDataStoreCategoryException, InvalidEventDataStoreStatusException, InvalidEventSelectorsException, InvalidHomeRegionException, InvalidImportSourceException, InvalidInsightSelectorsException, InvalidKmsKeyIdException, InvalidLookupAttributesException, InvalidMaxResultsException, InvalidNextTokenException, InvalidParameterCombinationException, InvalidParameterException, InvalidQueryStatementException, InvalidQueryStatusException, InvalidS3BucketNameException, InvalidS3PrefixException, InvalidSnsTopicNameException, InvalidSourceException, InvalidTagParameterException, InvalidTimeRangeException, InvalidTokenException, InvalidTrailNameException, KmsException, KmsKeyDisabledException, KmsKeyNotFoundException, MaxConcurrentQueriesException, MaximumNumberOfTrailsExceededException, NoManagementAccountSLRExistsException, NotOrganizationManagementAccountException, NotOrganizationMasterAccountException, OperationNotPermittedException, OrganizationNotInAllFeaturesModeException, OrganizationsNotInUseException, QueryIdNotFoundException, ResourceARNNotValidException, ResourceNotFoundException, ResourcePolicyNotFoundException, ResourcePolicyNotValidException, ResourceTypeNotSupportedException, S3BucketDoesNotExistException, TagsLimitExceededException, ThrottlingException, TrailAlreadyExistsException, TrailNotFoundException, TrailNotProvidedException, UnsupportedOperationException, } from "../models/models_0";
|
|
6
6
|
export const se_AddTagsCommand = async (input, context) => {
|
|
7
7
|
const headers = sharedHeaders("AddTags");
|
|
8
8
|
let body;
|
|
@@ -87,6 +87,12 @@ export const se_EnableFederationCommand = async (input, context) => {
|
|
|
87
87
|
body = JSON.stringify(_json(input));
|
|
88
88
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
89
89
|
};
|
|
90
|
+
export const se_GenerateQueryCommand = async (input, context) => {
|
|
91
|
+
const headers = sharedHeaders("GenerateQuery");
|
|
92
|
+
let body;
|
|
93
|
+
body = JSON.stringify(_json(input));
|
|
94
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
95
|
+
};
|
|
90
96
|
export const se_GetChannelCommand = async (input, context) => {
|
|
91
97
|
const headers = sharedHeaders("GetChannel");
|
|
92
98
|
let body;
|
|
@@ -479,6 +485,19 @@ export const de_EnableFederationCommand = async (output, context) => {
|
|
|
479
485
|
};
|
|
480
486
|
return response;
|
|
481
487
|
};
|
|
488
|
+
export const de_GenerateQueryCommand = async (output, context) => {
|
|
489
|
+
if (output.statusCode >= 300) {
|
|
490
|
+
return de_CommandError(output, context);
|
|
491
|
+
}
|
|
492
|
+
const data = await parseBody(output.body, context);
|
|
493
|
+
let contents = {};
|
|
494
|
+
contents = _json(data);
|
|
495
|
+
const response = {
|
|
496
|
+
$metadata: deserializeMetadata(output),
|
|
497
|
+
...contents,
|
|
498
|
+
};
|
|
499
|
+
return response;
|
|
500
|
+
};
|
|
482
501
|
export const de_GetChannelCommand = async (output, context) => {
|
|
483
502
|
if (output.statusCode >= 300) {
|
|
484
503
|
return de_CommandError(output, context);
|
|
@@ -1130,6 +1149,9 @@ const de_CommandError = async (output, context) => {
|
|
|
1130
1149
|
case "ConcurrentModificationException":
|
|
1131
1150
|
case "com.amazonaws.cloudtrail#ConcurrentModificationException":
|
|
1132
1151
|
throw await de_ConcurrentModificationExceptionRes(parsedOutput, context);
|
|
1152
|
+
case "GenerateResponseException":
|
|
1153
|
+
case "com.amazonaws.cloudtrail#GenerateResponseException":
|
|
1154
|
+
throw await de_GenerateResponseExceptionRes(parsedOutput, context);
|
|
1133
1155
|
case "ImportNotFoundException":
|
|
1134
1156
|
case "com.amazonaws.cloudtrail#ImportNotFoundException":
|
|
1135
1157
|
throw await de_ImportNotFoundExceptionRes(parsedOutput, context);
|
|
@@ -1424,6 +1446,15 @@ const de_EventDataStoreTerminationProtectedExceptionRes = async (parsedOutput, c
|
|
|
1424
1446
|
});
|
|
1425
1447
|
return __decorateServiceException(exception, body);
|
|
1426
1448
|
};
|
|
1449
|
+
const de_GenerateResponseExceptionRes = async (parsedOutput, context) => {
|
|
1450
|
+
const body = parsedOutput.body;
|
|
1451
|
+
const deserialized = _json(body);
|
|
1452
|
+
const exception = new GenerateResponseException({
|
|
1453
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1454
|
+
...deserialized,
|
|
1455
|
+
});
|
|
1456
|
+
return __decorateServiceException(exception, body);
|
|
1457
|
+
};
|
|
1427
1458
|
const de_ImportNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
1428
1459
|
const body = parsedOutput.body;
|
|
1429
1460
|
const deserialized = _json(body);
|
|
@@ -2018,6 +2049,7 @@ const de_DescribeQueryResponse = (output, context) => {
|
|
|
2018
2049
|
DeliveryS3Uri: __expectString,
|
|
2019
2050
|
DeliveryStatus: __expectString,
|
|
2020
2051
|
ErrorMessage: __expectString,
|
|
2052
|
+
Prompt: __expectString,
|
|
2021
2053
|
QueryId: __expectString,
|
|
2022
2054
|
QueryStatistics: (_) => de_QueryStatisticsForDescribeQuery(_, context),
|
|
2023
2055
|
QueryStatus: __expectString,
|
|
@@ -14,6 +14,7 @@ import { DescribeQueryCommandInput, DescribeQueryCommandOutput } from "./command
|
|
|
14
14
|
import { DescribeTrailsCommandInput, DescribeTrailsCommandOutput } from "./commands/DescribeTrailsCommand";
|
|
15
15
|
import { DisableFederationCommandInput, DisableFederationCommandOutput } from "./commands/DisableFederationCommand";
|
|
16
16
|
import { EnableFederationCommandInput, EnableFederationCommandOutput } from "./commands/EnableFederationCommand";
|
|
17
|
+
import { GenerateQueryCommandInput, GenerateQueryCommandOutput } from "./commands/GenerateQueryCommand";
|
|
17
18
|
import { GetChannelCommandInput, GetChannelCommandOutput } from "./commands/GetChannelCommand";
|
|
18
19
|
import { GetEventDataStoreCommandInput, GetEventDataStoreCommandOutput } from "./commands/GetEventDataStoreCommand";
|
|
19
20
|
import { GetEventSelectorsCommandInput, GetEventSelectorsCommandOutput } from "./commands/GetEventSelectorsCommand";
|
|
@@ -136,6 +137,12 @@ export interface CloudTrail {
|
|
|
136
137
|
enableFederation(args: EnableFederationCommandInput, options?: __HttpHandlerOptions): Promise<EnableFederationCommandOutput>;
|
|
137
138
|
enableFederation(args: EnableFederationCommandInput, cb: (err: any, data?: EnableFederationCommandOutput) => void): void;
|
|
138
139
|
enableFederation(args: EnableFederationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: EnableFederationCommandOutput) => void): void;
|
|
140
|
+
/**
|
|
141
|
+
* @see {@link GenerateQueryCommand}
|
|
142
|
+
*/
|
|
143
|
+
generateQuery(args: GenerateQueryCommandInput, options?: __HttpHandlerOptions): Promise<GenerateQueryCommandOutput>;
|
|
144
|
+
generateQuery(args: GenerateQueryCommandInput, cb: (err: any, data?: GenerateQueryCommandOutput) => void): void;
|
|
145
|
+
generateQuery(args: GenerateQueryCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GenerateQueryCommandOutput) => void): void;
|
|
139
146
|
/**
|
|
140
147
|
* @see {@link GetChannelCommand}
|
|
141
148
|
*/
|
|
@@ -21,6 +21,7 @@ import { DescribeQueryCommandInput, DescribeQueryCommandOutput } from "./command
|
|
|
21
21
|
import { DescribeTrailsCommandInput, DescribeTrailsCommandOutput } from "./commands/DescribeTrailsCommand";
|
|
22
22
|
import { DisableFederationCommandInput, DisableFederationCommandOutput } from "./commands/DisableFederationCommand";
|
|
23
23
|
import { EnableFederationCommandInput, EnableFederationCommandOutput } from "./commands/EnableFederationCommand";
|
|
24
|
+
import { GenerateQueryCommandInput, GenerateQueryCommandOutput } from "./commands/GenerateQueryCommand";
|
|
24
25
|
import { GetChannelCommandInput, GetChannelCommandOutput } from "./commands/GetChannelCommand";
|
|
25
26
|
import { GetEventDataStoreCommandInput, GetEventDataStoreCommandOutput } from "./commands/GetEventDataStoreCommand";
|
|
26
27
|
import { GetEventSelectorsCommandInput, GetEventSelectorsCommandOutput } from "./commands/GetEventSelectorsCommand";
|
|
@@ -62,11 +63,11 @@ export { __Client };
|
|
|
62
63
|
/**
|
|
63
64
|
* @public
|
|
64
65
|
*/
|
|
65
|
-
export type ServiceInputTypes = AddTagsCommandInput | CancelQueryCommandInput | CreateChannelCommandInput | CreateEventDataStoreCommandInput | CreateTrailCommandInput | DeleteChannelCommandInput | DeleteEventDataStoreCommandInput | DeleteResourcePolicyCommandInput | DeleteTrailCommandInput | DeregisterOrganizationDelegatedAdminCommandInput | DescribeQueryCommandInput | DescribeTrailsCommandInput | DisableFederationCommandInput | EnableFederationCommandInput | GetChannelCommandInput | GetEventDataStoreCommandInput | GetEventSelectorsCommandInput | GetImportCommandInput | GetInsightSelectorsCommandInput | GetQueryResultsCommandInput | GetResourcePolicyCommandInput | GetTrailCommandInput | GetTrailStatusCommandInput | ListChannelsCommandInput | ListEventDataStoresCommandInput | ListImportFailuresCommandInput | ListImportsCommandInput | ListInsightsMetricDataCommandInput | ListPublicKeysCommandInput | ListQueriesCommandInput | ListTagsCommandInput | ListTrailsCommandInput | LookupEventsCommandInput | PutEventSelectorsCommandInput | PutInsightSelectorsCommandInput | PutResourcePolicyCommandInput | RegisterOrganizationDelegatedAdminCommandInput | RemoveTagsCommandInput | RestoreEventDataStoreCommandInput | StartEventDataStoreIngestionCommandInput | StartImportCommandInput | StartLoggingCommandInput | StartQueryCommandInput | StopEventDataStoreIngestionCommandInput | StopImportCommandInput | StopLoggingCommandInput | UpdateChannelCommandInput | UpdateEventDataStoreCommandInput | UpdateTrailCommandInput;
|
|
66
|
+
export type ServiceInputTypes = AddTagsCommandInput | CancelQueryCommandInput | CreateChannelCommandInput | CreateEventDataStoreCommandInput | CreateTrailCommandInput | DeleteChannelCommandInput | DeleteEventDataStoreCommandInput | DeleteResourcePolicyCommandInput | DeleteTrailCommandInput | DeregisterOrganizationDelegatedAdminCommandInput | DescribeQueryCommandInput | DescribeTrailsCommandInput | DisableFederationCommandInput | EnableFederationCommandInput | GenerateQueryCommandInput | GetChannelCommandInput | GetEventDataStoreCommandInput | GetEventSelectorsCommandInput | GetImportCommandInput | GetInsightSelectorsCommandInput | GetQueryResultsCommandInput | GetResourcePolicyCommandInput | GetTrailCommandInput | GetTrailStatusCommandInput | ListChannelsCommandInput | ListEventDataStoresCommandInput | ListImportFailuresCommandInput | ListImportsCommandInput | ListInsightsMetricDataCommandInput | ListPublicKeysCommandInput | ListQueriesCommandInput | ListTagsCommandInput | ListTrailsCommandInput | LookupEventsCommandInput | PutEventSelectorsCommandInput | PutInsightSelectorsCommandInput | PutResourcePolicyCommandInput | RegisterOrganizationDelegatedAdminCommandInput | RemoveTagsCommandInput | RestoreEventDataStoreCommandInput | StartEventDataStoreIngestionCommandInput | StartImportCommandInput | StartLoggingCommandInput | StartQueryCommandInput | StopEventDataStoreIngestionCommandInput | StopImportCommandInput | StopLoggingCommandInput | UpdateChannelCommandInput | UpdateEventDataStoreCommandInput | UpdateTrailCommandInput;
|
|
66
67
|
/**
|
|
67
68
|
* @public
|
|
68
69
|
*/
|
|
69
|
-
export type ServiceOutputTypes = AddTagsCommandOutput | CancelQueryCommandOutput | CreateChannelCommandOutput | CreateEventDataStoreCommandOutput | CreateTrailCommandOutput | DeleteChannelCommandOutput | DeleteEventDataStoreCommandOutput | DeleteResourcePolicyCommandOutput | DeleteTrailCommandOutput | DeregisterOrganizationDelegatedAdminCommandOutput | DescribeQueryCommandOutput | DescribeTrailsCommandOutput | DisableFederationCommandOutput | EnableFederationCommandOutput | GetChannelCommandOutput | GetEventDataStoreCommandOutput | GetEventSelectorsCommandOutput | GetImportCommandOutput | GetInsightSelectorsCommandOutput | GetQueryResultsCommandOutput | GetResourcePolicyCommandOutput | GetTrailCommandOutput | GetTrailStatusCommandOutput | ListChannelsCommandOutput | ListEventDataStoresCommandOutput | ListImportFailuresCommandOutput | ListImportsCommandOutput | ListInsightsMetricDataCommandOutput | ListPublicKeysCommandOutput | ListQueriesCommandOutput | ListTagsCommandOutput | ListTrailsCommandOutput | LookupEventsCommandOutput | PutEventSelectorsCommandOutput | PutInsightSelectorsCommandOutput | PutResourcePolicyCommandOutput | RegisterOrganizationDelegatedAdminCommandOutput | RemoveTagsCommandOutput | RestoreEventDataStoreCommandOutput | StartEventDataStoreIngestionCommandOutput | StartImportCommandOutput | StartLoggingCommandOutput | StartQueryCommandOutput | StopEventDataStoreIngestionCommandOutput | StopImportCommandOutput | StopLoggingCommandOutput | UpdateChannelCommandOutput | UpdateEventDataStoreCommandOutput | UpdateTrailCommandOutput;
|
|
70
|
+
export type ServiceOutputTypes = AddTagsCommandOutput | CancelQueryCommandOutput | CreateChannelCommandOutput | CreateEventDataStoreCommandOutput | CreateTrailCommandOutput | DeleteChannelCommandOutput | DeleteEventDataStoreCommandOutput | DeleteResourcePolicyCommandOutput | DeleteTrailCommandOutput | DeregisterOrganizationDelegatedAdminCommandOutput | DescribeQueryCommandOutput | DescribeTrailsCommandOutput | DisableFederationCommandOutput | EnableFederationCommandOutput | GenerateQueryCommandOutput | GetChannelCommandOutput | GetEventDataStoreCommandOutput | GetEventSelectorsCommandOutput | GetImportCommandOutput | GetInsightSelectorsCommandOutput | GetQueryResultsCommandOutput | GetResourcePolicyCommandOutput | GetTrailCommandOutput | GetTrailStatusCommandOutput | ListChannelsCommandOutput | ListEventDataStoresCommandOutput | ListImportFailuresCommandOutput | ListImportsCommandOutput | ListInsightsMetricDataCommandOutput | ListPublicKeysCommandOutput | ListQueriesCommandOutput | ListTagsCommandOutput | ListTrailsCommandOutput | LookupEventsCommandOutput | PutEventSelectorsCommandOutput | PutInsightSelectorsCommandOutput | PutResourcePolicyCommandOutput | RegisterOrganizationDelegatedAdminCommandOutput | RemoveTagsCommandOutput | RestoreEventDataStoreCommandOutput | StartEventDataStoreIngestionCommandOutput | StartImportCommandOutput | StartLoggingCommandOutput | StartQueryCommandOutput | StopEventDataStoreIngestionCommandOutput | StopImportCommandOutput | StopLoggingCommandOutput | UpdateChannelCommandOutput | UpdateEventDataStoreCommandOutput | UpdateTrailCommandOutput;
|
|
70
71
|
/**
|
|
71
72
|
* @public
|
|
72
73
|
*/
|
|
@@ -60,6 +60,7 @@ declare const DescribeQueryCommand_base: {
|
|
|
60
60
|
* // ErrorMessage: "STRING_VALUE",
|
|
61
61
|
* // DeliveryS3Uri: "STRING_VALUE",
|
|
62
62
|
* // DeliveryStatus: "SUCCESS" || "FAILED" || "FAILED_SIGNING_FILE" || "PENDING" || "RESOURCE_NOT_FOUND" || "ACCESS_DENIED" || "ACCESS_DENIED_SIGNING_FILE" || "CANCELLED" || "UNKNOWN",
|
|
63
|
+
* // Prompt: "STRING_VALUE",
|
|
63
64
|
* // };
|
|
64
65
|
*
|
|
65
66
|
* ```
|
|
@@ -0,0 +1,118 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { CloudTrailClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudTrailClient";
|
|
4
|
+
import { GenerateQueryRequest, GenerateQueryResponse } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link GenerateQueryCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface GenerateQueryCommandInput extends GenerateQueryRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link GenerateQueryCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface GenerateQueryCommandOutput extends GenerateQueryResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const GenerateQueryCommand_base: {
|
|
25
|
+
new (input: GenerateQueryCommandInput): import("@smithy/smithy-client").CommandImpl<GenerateQueryCommandInput, GenerateQueryCommandOutput, CloudTrailClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (__0_0: GenerateQueryCommandInput): import("@smithy/smithy-client").CommandImpl<GenerateQueryCommandInput, GenerateQueryCommandOutput, CloudTrailClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>
|
|
31
|
+
* Generates a query from a natural language prompt. This operation uses generative artificial intelligence
|
|
32
|
+
* (generative AI) to produce a ready-to-use SQL query from the prompt.
|
|
33
|
+
* </p>
|
|
34
|
+
* <p>The prompt can be a question or a statement about the event data
|
|
35
|
+
* in your event data store. For example, you can enter prompts like "What are my
|
|
36
|
+
* top errors in the past month?" and “Give me a list of users that used SNS.”</p>
|
|
37
|
+
* <p>The prompt must be in English. For information about limitations, permissions, and supported Regions, see
|
|
38
|
+
* <a href="https://docs.aws.amazon.com/awscloudtrail/latest/userguide/lake-query-generator.html">Create CloudTrail Lake queries from natural language prompts</a>
|
|
39
|
+
* in the <i>CloudTrail </i> user guide.</p>
|
|
40
|
+
* <note>
|
|
41
|
+
* <p>Do not include any personally identifying, confidential, or sensitive information
|
|
42
|
+
* in your prompts.</p>
|
|
43
|
+
* <p>This feature uses generative AI large language models (LLMs); we recommend double-checking the
|
|
44
|
+
* LLM response.</p>
|
|
45
|
+
* </note>
|
|
46
|
+
* @example
|
|
47
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
48
|
+
* ```javascript
|
|
49
|
+
* import { CloudTrailClient, GenerateQueryCommand } from "@aws-sdk/client-cloudtrail"; // ES Modules import
|
|
50
|
+
* // const { CloudTrailClient, GenerateQueryCommand } = require("@aws-sdk/client-cloudtrail"); // CommonJS import
|
|
51
|
+
* const client = new CloudTrailClient(config);
|
|
52
|
+
* const input = { // GenerateQueryRequest
|
|
53
|
+
* EventDataStores: [ // EventDataStoreList // required
|
|
54
|
+
* "STRING_VALUE",
|
|
55
|
+
* ],
|
|
56
|
+
* Prompt: "STRING_VALUE", // required
|
|
57
|
+
* };
|
|
58
|
+
* const command = new GenerateQueryCommand(input);
|
|
59
|
+
* const response = await client.send(command);
|
|
60
|
+
* // { // GenerateQueryResponse
|
|
61
|
+
* // QueryStatement: "STRING_VALUE",
|
|
62
|
+
* // QueryAlias: "STRING_VALUE",
|
|
63
|
+
* // };
|
|
64
|
+
*
|
|
65
|
+
* ```
|
|
66
|
+
*
|
|
67
|
+
* @param GenerateQueryCommandInput - {@link GenerateQueryCommandInput}
|
|
68
|
+
* @returns {@link GenerateQueryCommandOutput}
|
|
69
|
+
* @see {@link GenerateQueryCommandInput} for command's `input` shape.
|
|
70
|
+
* @see {@link GenerateQueryCommandOutput} for command's `response` shape.
|
|
71
|
+
* @see {@link CloudTrailClientResolvedConfig | config} for CloudTrailClient's `config` shape.
|
|
72
|
+
*
|
|
73
|
+
* @throws {@link EventDataStoreARNInvalidException} (client fault)
|
|
74
|
+
* <p>The specified event data store ARN is not valid or does not map to an event data store
|
|
75
|
+
* in your account.</p>
|
|
76
|
+
*
|
|
77
|
+
* @throws {@link EventDataStoreNotFoundException} (client fault)
|
|
78
|
+
* <p>The specified event data store was not found.</p>
|
|
79
|
+
*
|
|
80
|
+
* @throws {@link GenerateResponseException} (client fault)
|
|
81
|
+
* <p>
|
|
82
|
+
* This exception is thrown when a valid query could not be generated for the provided prompt.
|
|
83
|
+
* </p>
|
|
84
|
+
*
|
|
85
|
+
* @throws {@link InactiveEventDataStoreException} (client fault)
|
|
86
|
+
* <p>The event data store is inactive.</p>
|
|
87
|
+
*
|
|
88
|
+
* @throws {@link InvalidParameterException} (client fault)
|
|
89
|
+
* <p>The request includes a parameter that is not valid.</p>
|
|
90
|
+
*
|
|
91
|
+
* @throws {@link NoManagementAccountSLRExistsException} (client fault)
|
|
92
|
+
* <p> This exception is thrown when the management account does not have a service-linked
|
|
93
|
+
* role. </p>
|
|
94
|
+
*
|
|
95
|
+
* @throws {@link OperationNotPermittedException} (client fault)
|
|
96
|
+
* <p>This exception is thrown when the requested operation is not permitted.</p>
|
|
97
|
+
*
|
|
98
|
+
* @throws {@link UnsupportedOperationException} (client fault)
|
|
99
|
+
* <p>This exception is thrown when the requested operation is not supported.</p>
|
|
100
|
+
*
|
|
101
|
+
* @throws {@link CloudTrailServiceException}
|
|
102
|
+
* <p>Base exception class for all service exceptions from CloudTrail service.</p>
|
|
103
|
+
*
|
|
104
|
+
* @public
|
|
105
|
+
*/
|
|
106
|
+
export declare class GenerateQueryCommand extends GenerateQueryCommand_base {
|
|
107
|
+
/** @internal type navigation helper, not in runtime. */
|
|
108
|
+
protected static __types: {
|
|
109
|
+
api: {
|
|
110
|
+
input: GenerateQueryRequest;
|
|
111
|
+
output: GenerateQueryResponse;
|
|
112
|
+
};
|
|
113
|
+
sdk: {
|
|
114
|
+
input: GenerateQueryCommandInput;
|
|
115
|
+
output: GenerateQueryCommandOutput;
|
|
116
|
+
};
|
|
117
|
+
};
|
|
118
|
+
}
|
|
@@ -73,6 +73,12 @@ declare const RemoveTagsCommand_base: {
|
|
|
73
73
|
* <code>arn:aws:cloudtrail:us-east-2:123456789012:channel/01234567890</code>
|
|
74
74
|
* </p>
|
|
75
75
|
*
|
|
76
|
+
* @throws {@link ConflictException} (client fault)
|
|
77
|
+
* <p>This exception is thrown when the specified resource is not ready for an operation. This
|
|
78
|
+
* can occur when you try to run an operation on a resource before CloudTrail has time
|
|
79
|
+
* to fully load the resource, or because another operation is modifying the resource. If this exception occurs, wait a few minutes, and then try the
|
|
80
|
+
* operation again.</p>
|
|
81
|
+
*
|
|
76
82
|
* @throws {@link EventDataStoreARNInvalidException} (client fault)
|
|
77
83
|
* <p>The specified event data store ARN is not valid or does not map to an event data store
|
|
78
84
|
* in your account.</p>
|
|
@@ -12,6 +12,7 @@ export * from "./DescribeQueryCommand";
|
|
|
12
12
|
export * from "./DescribeTrailsCommand";
|
|
13
13
|
export * from "./DisableFederationCommand";
|
|
14
14
|
export * from "./EnableFederationCommand";
|
|
15
|
+
export * from "./GenerateQueryCommand";
|
|
15
16
|
export * from "./GetChannelCommand";
|
|
16
17
|
export * from "./GetEventDataStoreCommand";
|
|
17
18
|
export * from "./GetEventSelectorsCommand";
|