@aws-sdk/client-cloudtrail 3.477.0 → 3.481.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/commands/AddTagsCommand.js +18 -41
- package/dist-cjs/commands/CancelQueryCommand.js +18 -41
- package/dist-cjs/commands/CreateChannelCommand.js +18 -41
- package/dist-cjs/commands/CreateEventDataStoreCommand.js +18 -41
- package/dist-cjs/commands/CreateTrailCommand.js +18 -41
- package/dist-cjs/commands/DeleteChannelCommand.js +18 -41
- package/dist-cjs/commands/DeleteEventDataStoreCommand.js +18 -41
- package/dist-cjs/commands/DeleteResourcePolicyCommand.js +18 -41
- package/dist-cjs/commands/DeleteTrailCommand.js +18 -41
- package/dist-cjs/commands/DeregisterOrganizationDelegatedAdminCommand.js +18 -41
- package/dist-cjs/commands/DescribeQueryCommand.js +18 -41
- package/dist-cjs/commands/DescribeTrailsCommand.js +18 -41
- package/dist-cjs/commands/DisableFederationCommand.js +18 -41
- package/dist-cjs/commands/EnableFederationCommand.js +18 -41
- package/dist-cjs/commands/GetChannelCommand.js +18 -41
- package/dist-cjs/commands/GetEventDataStoreCommand.js +18 -41
- package/dist-cjs/commands/GetEventSelectorsCommand.js +18 -41
- package/dist-cjs/commands/GetImportCommand.js +18 -41
- package/dist-cjs/commands/GetInsightSelectorsCommand.js +18 -41
- package/dist-cjs/commands/GetQueryResultsCommand.js +18 -41
- package/dist-cjs/commands/GetResourcePolicyCommand.js +18 -41
- package/dist-cjs/commands/GetTrailCommand.js +18 -41
- package/dist-cjs/commands/GetTrailStatusCommand.js +18 -41
- package/dist-cjs/commands/ListChannelsCommand.js +18 -41
- package/dist-cjs/commands/ListEventDataStoresCommand.js +18 -41
- package/dist-cjs/commands/ListImportFailuresCommand.js +18 -41
- package/dist-cjs/commands/ListImportsCommand.js +18 -41
- package/dist-cjs/commands/ListPublicKeysCommand.js +18 -41
- package/dist-cjs/commands/ListQueriesCommand.js +18 -41
- package/dist-cjs/commands/ListTagsCommand.js +18 -41
- package/dist-cjs/commands/ListTrailsCommand.js +18 -41
- package/dist-cjs/commands/LookupEventsCommand.js +18 -41
- package/dist-cjs/commands/PutEventSelectorsCommand.js +18 -41
- package/dist-cjs/commands/PutInsightSelectorsCommand.js +18 -41
- package/dist-cjs/commands/PutResourcePolicyCommand.js +18 -41
- package/dist-cjs/commands/RegisterOrganizationDelegatedAdminCommand.js +18 -41
- package/dist-cjs/commands/RemoveTagsCommand.js +18 -41
- package/dist-cjs/commands/RestoreEventDataStoreCommand.js +18 -41
- package/dist-cjs/commands/StartEventDataStoreIngestionCommand.js +18 -41
- package/dist-cjs/commands/StartImportCommand.js +18 -41
- package/dist-cjs/commands/StartLoggingCommand.js +18 -41
- package/dist-cjs/commands/StartQueryCommand.js +18 -41
- package/dist-cjs/commands/StopEventDataStoreIngestionCommand.js +18 -41
- package/dist-cjs/commands/StopImportCommand.js +18 -41
- package/dist-cjs/commands/StopLoggingCommand.js +18 -41
- package/dist-cjs/commands/UpdateChannelCommand.js +18 -41
- package/dist-cjs/commands/UpdateEventDataStoreCommand.js +18 -41
- package/dist-cjs/commands/UpdateTrailCommand.js +18 -41
- package/dist-cjs/endpoint/EndpointParameters.js +7 -1
- package/dist-cjs/pagination/GetQueryResultsPaginator.js +2 -23
- package/dist-cjs/pagination/ListChannelsPaginator.js +2 -24
- package/dist-cjs/pagination/ListEventDataStoresPaginator.js +2 -24
- package/dist-cjs/pagination/ListImportFailuresPaginator.js +2 -24
- package/dist-cjs/pagination/ListImportsPaginator.js +2 -24
- package/dist-cjs/pagination/ListPublicKeysPaginator.js +2 -23
- package/dist-cjs/pagination/ListQueriesPaginator.js +2 -24
- package/dist-cjs/pagination/ListTagsPaginator.js +2 -23
- package/dist-cjs/pagination/ListTrailsPaginator.js +2 -23
- package/dist-cjs/pagination/LookupEventsPaginator.js +2 -24
- package/dist-es/commands/AddTagsCommand.js +18 -41
- package/dist-es/commands/CancelQueryCommand.js +18 -41
- package/dist-es/commands/CreateChannelCommand.js +18 -41
- package/dist-es/commands/CreateEventDataStoreCommand.js +18 -41
- package/dist-es/commands/CreateTrailCommand.js +18 -41
- package/dist-es/commands/DeleteChannelCommand.js +18 -41
- package/dist-es/commands/DeleteEventDataStoreCommand.js +18 -41
- package/dist-es/commands/DeleteResourcePolicyCommand.js +18 -41
- package/dist-es/commands/DeleteTrailCommand.js +18 -41
- package/dist-es/commands/DeregisterOrganizationDelegatedAdminCommand.js +18 -41
- package/dist-es/commands/DescribeQueryCommand.js +18 -41
- package/dist-es/commands/DescribeTrailsCommand.js +18 -41
- package/dist-es/commands/DisableFederationCommand.js +18 -41
- package/dist-es/commands/EnableFederationCommand.js +18 -41
- package/dist-es/commands/GetChannelCommand.js +18 -41
- package/dist-es/commands/GetEventDataStoreCommand.js +18 -41
- package/dist-es/commands/GetEventSelectorsCommand.js +18 -41
- package/dist-es/commands/GetImportCommand.js +18 -41
- package/dist-es/commands/GetInsightSelectorsCommand.js +18 -41
- package/dist-es/commands/GetQueryResultsCommand.js +18 -41
- package/dist-es/commands/GetResourcePolicyCommand.js +18 -41
- package/dist-es/commands/GetTrailCommand.js +18 -41
- package/dist-es/commands/GetTrailStatusCommand.js +18 -41
- package/dist-es/commands/ListChannelsCommand.js +18 -41
- package/dist-es/commands/ListEventDataStoresCommand.js +18 -41
- package/dist-es/commands/ListImportFailuresCommand.js +18 -41
- package/dist-es/commands/ListImportsCommand.js +18 -41
- package/dist-es/commands/ListPublicKeysCommand.js +18 -41
- package/dist-es/commands/ListQueriesCommand.js +18 -41
- package/dist-es/commands/ListTagsCommand.js +18 -41
- package/dist-es/commands/ListTrailsCommand.js +18 -41
- package/dist-es/commands/LookupEventsCommand.js +18 -41
- package/dist-es/commands/PutEventSelectorsCommand.js +18 -41
- package/dist-es/commands/PutInsightSelectorsCommand.js +18 -41
- package/dist-es/commands/PutResourcePolicyCommand.js +18 -41
- package/dist-es/commands/RegisterOrganizationDelegatedAdminCommand.js +18 -41
- package/dist-es/commands/RemoveTagsCommand.js +18 -41
- package/dist-es/commands/RestoreEventDataStoreCommand.js +18 -41
- package/dist-es/commands/StartEventDataStoreIngestionCommand.js +18 -41
- package/dist-es/commands/StartImportCommand.js +18 -41
- package/dist-es/commands/StartLoggingCommand.js +18 -41
- package/dist-es/commands/StartQueryCommand.js +18 -41
- package/dist-es/commands/StopEventDataStoreIngestionCommand.js +18 -41
- package/dist-es/commands/StopImportCommand.js +18 -41
- package/dist-es/commands/StopLoggingCommand.js +18 -41
- package/dist-es/commands/UpdateChannelCommand.js +18 -41
- package/dist-es/commands/UpdateEventDataStoreCommand.js +18 -41
- package/dist-es/commands/UpdateTrailCommand.js +18 -41
- package/dist-es/endpoint/EndpointParameters.js +6 -0
- package/dist-es/pagination/GetQueryResultsPaginator.js +2 -22
- package/dist-es/pagination/ListChannelsPaginator.js +2 -23
- package/dist-es/pagination/ListEventDataStoresPaginator.js +2 -23
- package/dist-es/pagination/ListImportFailuresPaginator.js +2 -23
- package/dist-es/pagination/ListImportsPaginator.js +2 -23
- package/dist-es/pagination/ListPublicKeysPaginator.js +2 -22
- package/dist-es/pagination/ListQueriesPaginator.js +2 -23
- package/dist-es/pagination/ListTagsPaginator.js +2 -22
- package/dist-es/pagination/ListTrailsPaginator.js +2 -22
- package/dist-es/pagination/LookupEventsPaginator.js +2 -23
- package/dist-types/commands/AddTagsCommand.d.ts +6 -21
- package/dist-types/commands/CancelQueryCommand.d.ts +6 -21
- package/dist-types/commands/CreateChannelCommand.d.ts +6 -21
- package/dist-types/commands/CreateEventDataStoreCommand.d.ts +6 -21
- package/dist-types/commands/CreateTrailCommand.d.ts +6 -21
- package/dist-types/commands/DeleteChannelCommand.d.ts +6 -21
- package/dist-types/commands/DeleteEventDataStoreCommand.d.ts +6 -21
- package/dist-types/commands/DeleteResourcePolicyCommand.d.ts +6 -21
- package/dist-types/commands/DeleteTrailCommand.d.ts +6 -21
- package/dist-types/commands/DeregisterOrganizationDelegatedAdminCommand.d.ts +6 -21
- package/dist-types/commands/DescribeQueryCommand.d.ts +6 -21
- package/dist-types/commands/DescribeTrailsCommand.d.ts +6 -21
- package/dist-types/commands/DisableFederationCommand.d.ts +6 -21
- package/dist-types/commands/EnableFederationCommand.d.ts +6 -21
- package/dist-types/commands/GetChannelCommand.d.ts +6 -21
- package/dist-types/commands/GetEventDataStoreCommand.d.ts +6 -21
- package/dist-types/commands/GetEventSelectorsCommand.d.ts +6 -21
- package/dist-types/commands/GetImportCommand.d.ts +6 -21
- package/dist-types/commands/GetInsightSelectorsCommand.d.ts +6 -21
- package/dist-types/commands/GetQueryResultsCommand.d.ts +6 -21
- package/dist-types/commands/GetResourcePolicyCommand.d.ts +6 -21
- package/dist-types/commands/GetTrailCommand.d.ts +6 -21
- package/dist-types/commands/GetTrailStatusCommand.d.ts +6 -21
- package/dist-types/commands/ListChannelsCommand.d.ts +6 -21
- package/dist-types/commands/ListEventDataStoresCommand.d.ts +6 -21
- package/dist-types/commands/ListImportFailuresCommand.d.ts +6 -21
- package/dist-types/commands/ListImportsCommand.d.ts +6 -21
- package/dist-types/commands/ListPublicKeysCommand.d.ts +6 -21
- package/dist-types/commands/ListQueriesCommand.d.ts +6 -21
- package/dist-types/commands/ListTagsCommand.d.ts +6 -21
- package/dist-types/commands/ListTrailsCommand.d.ts +6 -21
- package/dist-types/commands/LookupEventsCommand.d.ts +6 -21
- package/dist-types/commands/PutEventSelectorsCommand.d.ts +6 -21
- package/dist-types/commands/PutInsightSelectorsCommand.d.ts +6 -21
- package/dist-types/commands/PutResourcePolicyCommand.d.ts +6 -21
- package/dist-types/commands/RegisterOrganizationDelegatedAdminCommand.d.ts +6 -21
- package/dist-types/commands/RemoveTagsCommand.d.ts +6 -21
- package/dist-types/commands/RestoreEventDataStoreCommand.d.ts +6 -21
- package/dist-types/commands/StartEventDataStoreIngestionCommand.d.ts +6 -21
- package/dist-types/commands/StartImportCommand.d.ts +6 -21
- package/dist-types/commands/StartLoggingCommand.d.ts +6 -21
- package/dist-types/commands/StartQueryCommand.d.ts +6 -21
- package/dist-types/commands/StopEventDataStoreIngestionCommand.d.ts +6 -21
- package/dist-types/commands/StopImportCommand.d.ts +6 -21
- package/dist-types/commands/StopLoggingCommand.d.ts +6 -21
- package/dist-types/commands/UpdateChannelCommand.d.ts +6 -21
- package/dist-types/commands/UpdateEventDataStoreCommand.d.ts +6 -21
- package/dist-types/commands/UpdateTrailCommand.d.ts +6 -21
- package/dist-types/endpoint/EndpointParameters.d.ts +18 -0
- package/dist-types/pagination/GetQueryResultsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListChannelsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListEventDataStoresPaginator.d.ts +1 -1
- package/dist-types/pagination/ListImportFailuresPaginator.d.ts +1 -1
- package/dist-types/pagination/ListImportsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListPublicKeysPaginator.d.ts +1 -1
- package/dist-types/pagination/ListQueriesPaginator.d.ts +1 -1
- package/dist-types/pagination/ListTagsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListTrailsPaginator.d.ts +1 -1
- package/dist-types/pagination/LookupEventsPaginator.d.ts +1 -1
- package/dist-types/ts3.4/commands/AddTagsCommand.d.ts +12 -23
- package/dist-types/ts3.4/commands/CancelQueryCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/CreateChannelCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/CreateEventDataStoreCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/CreateTrailCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DeleteChannelCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DeleteEventDataStoreCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DeleteResourcePolicyCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DeleteTrailCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DeregisterOrganizationDelegatedAdminCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DescribeQueryCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DescribeTrailsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DisableFederationCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/EnableFederationCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/GetChannelCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/GetEventDataStoreCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/GetEventSelectorsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/GetImportCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/GetInsightSelectorsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/GetQueryResultsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/GetResourcePolicyCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/GetTrailCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/GetTrailStatusCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListChannelsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListEventDataStoresCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListImportFailuresCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListImportsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListPublicKeysCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListQueriesCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListTagsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListTrailsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/LookupEventsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/PutEventSelectorsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/PutInsightSelectorsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/PutResourcePolicyCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/RegisterOrganizationDelegatedAdminCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/RemoveTagsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/RestoreEventDataStoreCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/StartEventDataStoreIngestionCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/StartImportCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/StartLoggingCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/StartQueryCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/StopEventDataStoreIngestionCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/StopImportCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/StopLoggingCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/UpdateChannelCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/UpdateEventDataStoreCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/UpdateTrailCommand.d.ts +14 -23
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +18 -0
- package/dist-types/ts3.4/pagination/GetQueryResultsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListChannelsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListEventDataStoresPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListImportFailuresPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListImportsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListPublicKeysPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListQueriesPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListTagsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListTrailsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/LookupEventsPaginator.d.ts +3 -3
- package/package.json +11 -10
|
@@ -1,47 +1,24 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_UpdateEventDataStoreCommand, se_UpdateEventDataStoreCommand } from "../protocols/Aws_json1_1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class UpdateEventDataStoreCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const { logger } = configuration;
|
|
25
|
-
const clientName = "CloudTrailClient";
|
|
26
|
-
const commandName = "UpdateEventDataStoreCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "CloudTrail_20131101",
|
|
35
|
-
operation: "UpdateEventDataStore",
|
|
36
|
-
},
|
|
37
|
-
};
|
|
38
|
-
const { requestHandler } = configuration;
|
|
39
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
-
}
|
|
41
|
-
serialize(input, context) {
|
|
42
|
-
return se_UpdateEventDataStoreCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_UpdateEventDataStoreCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class UpdateEventDataStoreCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("CloudTrail_20131101", "UpdateEventDataStore", {})
|
|
19
|
+
.n("CloudTrailClient", "UpdateEventDataStoreCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_UpdateEventDataStoreCommand)
|
|
22
|
+
.de(de_UpdateEventDataStoreCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|
|
@@ -1,47 +1,24 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
2
|
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { de_UpdateTrailCommand, se_UpdateTrailCommand } from "../protocols/Aws_json1_1";
|
|
6
6
|
export { $Command };
|
|
7
|
-
export class UpdateTrailCommand extends $Command
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
const { logger } = configuration;
|
|
25
|
-
const clientName = "CloudTrailClient";
|
|
26
|
-
const commandName = "UpdateTrailCommand";
|
|
27
|
-
const handlerExecutionContext = {
|
|
28
|
-
logger,
|
|
29
|
-
clientName,
|
|
30
|
-
commandName,
|
|
31
|
-
inputFilterSensitiveLog: (_) => _,
|
|
32
|
-
outputFilterSensitiveLog: (_) => _,
|
|
33
|
-
[SMITHY_CONTEXT_KEY]: {
|
|
34
|
-
service: "CloudTrail_20131101",
|
|
35
|
-
operation: "UpdateTrail",
|
|
36
|
-
},
|
|
37
|
-
};
|
|
38
|
-
const { requestHandler } = configuration;
|
|
39
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
40
|
-
}
|
|
41
|
-
serialize(input, context) {
|
|
42
|
-
return se_UpdateTrailCommand(input, context);
|
|
43
|
-
}
|
|
44
|
-
deserialize(output, context) {
|
|
45
|
-
return de_UpdateTrailCommand(output, context);
|
|
46
|
-
}
|
|
7
|
+
export class UpdateTrailCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep({
|
|
10
|
+
...commonParams,
|
|
11
|
+
})
|
|
12
|
+
.m(function (Command, cs, config, o) {
|
|
13
|
+
return [
|
|
14
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
15
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
16
|
+
];
|
|
17
|
+
})
|
|
18
|
+
.s("CloudTrail_20131101", "UpdateTrail", {})
|
|
19
|
+
.n("CloudTrailClient", "UpdateTrailCommand")
|
|
20
|
+
.f(void 0, void 0)
|
|
21
|
+
.ser(se_UpdateTrailCommand)
|
|
22
|
+
.de(de_UpdateTrailCommand)
|
|
23
|
+
.build() {
|
|
47
24
|
}
|
|
@@ -6,3 +6,9 @@ export const resolveClientEndpointParameters = (options) => {
|
|
|
6
6
|
defaultSigningName: "cloudtrail",
|
|
7
7
|
};
|
|
8
8
|
};
|
|
9
|
+
export const commonParams = {
|
|
10
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
11
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
12
|
+
Region: { type: "builtInParams", name: "region" },
|
|
13
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
14
|
+
};
|
|
@@ -1,24 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { CloudTrailClient } from "../CloudTrailClient";
|
|
2
3
|
import { GetQueryResultsCommand, } from "../commands/GetQueryResultsCommand";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new GetQueryResultsCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateGetQueryResults(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.NextToken = token;
|
|
12
|
-
if (config.client instanceof CloudTrailClient) {
|
|
13
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
14
|
-
}
|
|
15
|
-
else {
|
|
16
|
-
throw new Error("Invalid client, expected CloudTrail | CloudTrailClient");
|
|
17
|
-
}
|
|
18
|
-
yield page;
|
|
19
|
-
const prevToken = token;
|
|
20
|
-
token = page.NextToken;
|
|
21
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
22
|
-
}
|
|
23
|
-
return undefined;
|
|
24
|
-
}
|
|
4
|
+
export const paginateGetQueryResults = createPaginator(CloudTrailClient, GetQueryResultsCommand, "NextToken", "NextToken", "");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { CloudTrailClient } from "../CloudTrailClient";
|
|
2
3
|
import { ListChannelsCommand, } from "../commands/ListChannelsCommand";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListChannelsCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListChannels(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.NextToken = token;
|
|
12
|
-
input["MaxResults"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof CloudTrailClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected CloudTrail | CloudTrailClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.NextToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateListChannels = createPaginator(CloudTrailClient, ListChannelsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { CloudTrailClient } from "../CloudTrailClient";
|
|
2
3
|
import { ListEventDataStoresCommand, } from "../commands/ListEventDataStoresCommand";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListEventDataStoresCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListEventDataStores(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.NextToken = token;
|
|
12
|
-
input["MaxResults"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof CloudTrailClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected CloudTrail | CloudTrailClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.NextToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateListEventDataStores = createPaginator(CloudTrailClient, ListEventDataStoresCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { CloudTrailClient } from "../CloudTrailClient";
|
|
2
3
|
import { ListImportFailuresCommand, } from "../commands/ListImportFailuresCommand";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListImportFailuresCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListImportFailures(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.NextToken = token;
|
|
12
|
-
input["MaxResults"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof CloudTrailClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected CloudTrail | CloudTrailClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.NextToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateListImportFailures = createPaginator(CloudTrailClient, ListImportFailuresCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { CloudTrailClient } from "../CloudTrailClient";
|
|
2
3
|
import { ListImportsCommand } from "../commands/ListImportsCommand";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListImportsCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListImports(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.NextToken = token;
|
|
12
|
-
input["MaxResults"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof CloudTrailClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected CloudTrail | CloudTrailClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.NextToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateListImports = createPaginator(CloudTrailClient, ListImportsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,24 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { CloudTrailClient } from "../CloudTrailClient";
|
|
2
3
|
import { ListPublicKeysCommand, } from "../commands/ListPublicKeysCommand";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListPublicKeysCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListPublicKeys(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.NextToken = token;
|
|
12
|
-
if (config.client instanceof CloudTrailClient) {
|
|
13
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
14
|
-
}
|
|
15
|
-
else {
|
|
16
|
-
throw new Error("Invalid client, expected CloudTrail | CloudTrailClient");
|
|
17
|
-
}
|
|
18
|
-
yield page;
|
|
19
|
-
const prevToken = token;
|
|
20
|
-
token = page.NextToken;
|
|
21
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
22
|
-
}
|
|
23
|
-
return undefined;
|
|
24
|
-
}
|
|
4
|
+
export const paginateListPublicKeys = createPaginator(CloudTrailClient, ListPublicKeysCommand, "NextToken", "NextToken", "");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { CloudTrailClient } from "../CloudTrailClient";
|
|
2
3
|
import { ListQueriesCommand } from "../commands/ListQueriesCommand";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListQueriesCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListQueries(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.NextToken = token;
|
|
12
|
-
input["MaxResults"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof CloudTrailClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected CloudTrail | CloudTrailClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.NextToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateListQueries = createPaginator(CloudTrailClient, ListQueriesCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,24 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { CloudTrailClient } from "../CloudTrailClient";
|
|
2
3
|
import { ListTagsCommand } from "../commands/ListTagsCommand";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListTagsCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListTags(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.NextToken = token;
|
|
12
|
-
if (config.client instanceof CloudTrailClient) {
|
|
13
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
14
|
-
}
|
|
15
|
-
else {
|
|
16
|
-
throw new Error("Invalid client, expected CloudTrail | CloudTrailClient");
|
|
17
|
-
}
|
|
18
|
-
yield page;
|
|
19
|
-
const prevToken = token;
|
|
20
|
-
token = page.NextToken;
|
|
21
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
22
|
-
}
|
|
23
|
-
return undefined;
|
|
24
|
-
}
|
|
4
|
+
export const paginateListTags = createPaginator(CloudTrailClient, ListTagsCommand, "NextToken", "NextToken", "");
|
|
@@ -1,24 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { CloudTrailClient } from "../CloudTrailClient";
|
|
2
3
|
import { ListTrailsCommand } from "../commands/ListTrailsCommand";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new ListTrailsCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateListTrails(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.NextToken = token;
|
|
12
|
-
if (config.client instanceof CloudTrailClient) {
|
|
13
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
14
|
-
}
|
|
15
|
-
else {
|
|
16
|
-
throw new Error("Invalid client, expected CloudTrail | CloudTrailClient");
|
|
17
|
-
}
|
|
18
|
-
yield page;
|
|
19
|
-
const prevToken = token;
|
|
20
|
-
token = page.NextToken;
|
|
21
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
22
|
-
}
|
|
23
|
-
return undefined;
|
|
24
|
-
}
|
|
4
|
+
export const paginateListTrails = createPaginator(CloudTrailClient, ListTrailsCommand, "NextToken", "NextToken", "");
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
1
2
|
import { CloudTrailClient } from "../CloudTrailClient";
|
|
2
3
|
import { LookupEventsCommand, } from "../commands/LookupEventsCommand";
|
|
3
|
-
const
|
|
4
|
-
return await client.send(new LookupEventsCommand(input), ...args);
|
|
5
|
-
};
|
|
6
|
-
export async function* paginateLookupEvents(config, input, ...additionalArguments) {
|
|
7
|
-
let token = config.startingToken || undefined;
|
|
8
|
-
let hasNext = true;
|
|
9
|
-
let page;
|
|
10
|
-
while (hasNext) {
|
|
11
|
-
input.NextToken = token;
|
|
12
|
-
input["MaxResults"] = config.pageSize;
|
|
13
|
-
if (config.client instanceof CloudTrailClient) {
|
|
14
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
15
|
-
}
|
|
16
|
-
else {
|
|
17
|
-
throw new Error("Invalid client, expected CloudTrail | CloudTrailClient");
|
|
18
|
-
}
|
|
19
|
-
yield page;
|
|
20
|
-
const prevToken = token;
|
|
21
|
-
token = page.NextToken;
|
|
22
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
23
|
-
}
|
|
24
|
-
return undefined;
|
|
25
|
-
}
|
|
4
|
+
export const paginateLookupEvents = createPaginator(CloudTrailClient, LookupEventsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
-
import {
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
4
3
|
import { CloudTrailClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudTrailClient";
|
|
5
4
|
import { AddTagsRequest, AddTagsResponse } from "../models/models_0";
|
|
6
5
|
/**
|
|
@@ -21,6 +20,10 @@ export interface AddTagsCommandInput extends AddTagsRequest {
|
|
|
21
20
|
*/
|
|
22
21
|
export interface AddTagsCommandOutput extends AddTagsResponse, __MetadataBearer {
|
|
23
22
|
}
|
|
23
|
+
declare const AddTagsCommand_base: {
|
|
24
|
+
new (input: AddTagsCommandInput): import("@smithy/smithy-client").CommandImpl<AddTagsCommandInput, AddTagsCommandOutput, CloudTrailClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
|
+
};
|
|
24
27
|
/**
|
|
25
28
|
* @public
|
|
26
29
|
* <p>Adds one or more tags to a trail, event data store, or channel, up to a limit of 50. Overwrites an
|
|
@@ -147,23 +150,5 @@ export interface AddTagsCommandOutput extends AddTagsResponse, __MetadataBearer
|
|
|
147
150
|
* <p>Base exception class for all service exceptions from CloudTrail service.</p>
|
|
148
151
|
*
|
|
149
152
|
*/
|
|
150
|
-
export declare class AddTagsCommand extends
|
|
151
|
-
readonly input: AddTagsCommandInput;
|
|
152
|
-
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
153
|
-
/**
|
|
154
|
-
* @public
|
|
155
|
-
*/
|
|
156
|
-
constructor(input: AddTagsCommandInput);
|
|
157
|
-
/**
|
|
158
|
-
* @internal
|
|
159
|
-
*/
|
|
160
|
-
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CloudTrailClientResolvedConfig, options?: __HttpHandlerOptions): Handler<AddTagsCommandInput, AddTagsCommandOutput>;
|
|
161
|
-
/**
|
|
162
|
-
* @internal
|
|
163
|
-
*/
|
|
164
|
-
private serialize;
|
|
165
|
-
/**
|
|
166
|
-
* @internal
|
|
167
|
-
*/
|
|
168
|
-
private deserialize;
|
|
153
|
+
export declare class AddTagsCommand extends AddTagsCommand_base {
|
|
169
154
|
}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
-
import {
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
4
3
|
import { CloudTrailClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudTrailClient";
|
|
5
4
|
import { CancelQueryRequest, CancelQueryResponse } from "../models/models_0";
|
|
6
5
|
/**
|
|
@@ -21,6 +20,10 @@ export interface CancelQueryCommandInput extends CancelQueryRequest {
|
|
|
21
20
|
*/
|
|
22
21
|
export interface CancelQueryCommandOutput extends CancelQueryResponse, __MetadataBearer {
|
|
23
22
|
}
|
|
23
|
+
declare const CancelQueryCommand_base: {
|
|
24
|
+
new (input: CancelQueryCommandInput): import("@smithy/smithy-client").CommandImpl<CancelQueryCommandInput, CancelQueryCommandOutput, CloudTrailClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
|
+
};
|
|
24
27
|
/**
|
|
25
28
|
* @public
|
|
26
29
|
* <p>Cancels a query if the query is not in a terminated state, such as
|
|
@@ -94,23 +97,5 @@ export interface CancelQueryCommandOutput extends CancelQueryResponse, __Metadat
|
|
|
94
97
|
* <p>Base exception class for all service exceptions from CloudTrail service.</p>
|
|
95
98
|
*
|
|
96
99
|
*/
|
|
97
|
-
export declare class CancelQueryCommand extends
|
|
98
|
-
readonly input: CancelQueryCommandInput;
|
|
99
|
-
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
100
|
-
/**
|
|
101
|
-
* @public
|
|
102
|
-
*/
|
|
103
|
-
constructor(input: CancelQueryCommandInput);
|
|
104
|
-
/**
|
|
105
|
-
* @internal
|
|
106
|
-
*/
|
|
107
|
-
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CloudTrailClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CancelQueryCommandInput, CancelQueryCommandOutput>;
|
|
108
|
-
/**
|
|
109
|
-
* @internal
|
|
110
|
-
*/
|
|
111
|
-
private serialize;
|
|
112
|
-
/**
|
|
113
|
-
* @internal
|
|
114
|
-
*/
|
|
115
|
-
private deserialize;
|
|
100
|
+
export declare class CancelQueryCommand extends CancelQueryCommand_base {
|
|
116
101
|
}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
-
import {
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
4
3
|
import { CloudTrailClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudTrailClient";
|
|
5
4
|
import { CreateChannelRequest, CreateChannelResponse } from "../models/models_0";
|
|
6
5
|
/**
|
|
@@ -21,6 +20,10 @@ export interface CreateChannelCommandInput extends CreateChannelRequest {
|
|
|
21
20
|
*/
|
|
22
21
|
export interface CreateChannelCommandOutput extends CreateChannelResponse, __MetadataBearer {
|
|
23
22
|
}
|
|
23
|
+
declare const CreateChannelCommand_base: {
|
|
24
|
+
new (input: CreateChannelCommandInput): import("@smithy/smithy-client").CommandImpl<CreateChannelCommandInput, CreateChannelCommandOutput, CloudTrailClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
|
+
};
|
|
24
27
|
/**
|
|
25
28
|
* @public
|
|
26
29
|
* <p>Creates a channel for CloudTrail to ingest events from a partner or external source.
|
|
@@ -124,23 +127,5 @@ export interface CreateChannelCommandOutput extends CreateChannelResponse, __Met
|
|
|
124
127
|
* <p>Base exception class for all service exceptions from CloudTrail service.</p>
|
|
125
128
|
*
|
|
126
129
|
*/
|
|
127
|
-
export declare class CreateChannelCommand extends
|
|
128
|
-
readonly input: CreateChannelCommandInput;
|
|
129
|
-
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
130
|
-
/**
|
|
131
|
-
* @public
|
|
132
|
-
*/
|
|
133
|
-
constructor(input: CreateChannelCommandInput);
|
|
134
|
-
/**
|
|
135
|
-
* @internal
|
|
136
|
-
*/
|
|
137
|
-
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CloudTrailClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateChannelCommandInput, CreateChannelCommandOutput>;
|
|
138
|
-
/**
|
|
139
|
-
* @internal
|
|
140
|
-
*/
|
|
141
|
-
private serialize;
|
|
142
|
-
/**
|
|
143
|
-
* @internal
|
|
144
|
-
*/
|
|
145
|
-
private deserialize;
|
|
130
|
+
export declare class CreateChannelCommand extends CreateChannelCommand_base {
|
|
146
131
|
}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
-
import {
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
4
3
|
import { CloudTrailClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudTrailClient";
|
|
5
4
|
import { CreateEventDataStoreRequest, CreateEventDataStoreResponse } from "../models/models_0";
|
|
6
5
|
/**
|
|
@@ -21,6 +20,10 @@ export interface CreateEventDataStoreCommandInput extends CreateEventDataStoreRe
|
|
|
21
20
|
*/
|
|
22
21
|
export interface CreateEventDataStoreCommandOutput extends CreateEventDataStoreResponse, __MetadataBearer {
|
|
23
22
|
}
|
|
23
|
+
declare const CreateEventDataStoreCommand_base: {
|
|
24
|
+
new (input: CreateEventDataStoreCommandInput): import("@smithy/smithy-client").CommandImpl<CreateEventDataStoreCommandInput, CreateEventDataStoreCommandOutput, CloudTrailClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
|
+
};
|
|
24
27
|
/**
|
|
25
28
|
* @public
|
|
26
29
|
* <p>Creates a new event data store.</p>
|
|
@@ -230,23 +233,5 @@ export interface CreateEventDataStoreCommandOutput extends CreateEventDataStoreR
|
|
|
230
233
|
* <p>Base exception class for all service exceptions from CloudTrail service.</p>
|
|
231
234
|
*
|
|
232
235
|
*/
|
|
233
|
-
export declare class CreateEventDataStoreCommand extends
|
|
234
|
-
readonly input: CreateEventDataStoreCommandInput;
|
|
235
|
-
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
236
|
-
/**
|
|
237
|
-
* @public
|
|
238
|
-
*/
|
|
239
|
-
constructor(input: CreateEventDataStoreCommandInput);
|
|
240
|
-
/**
|
|
241
|
-
* @internal
|
|
242
|
-
*/
|
|
243
|
-
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CloudTrailClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateEventDataStoreCommandInput, CreateEventDataStoreCommandOutput>;
|
|
244
|
-
/**
|
|
245
|
-
* @internal
|
|
246
|
-
*/
|
|
247
|
-
private serialize;
|
|
248
|
-
/**
|
|
249
|
-
* @internal
|
|
250
|
-
*/
|
|
251
|
-
private deserialize;
|
|
236
|
+
export declare class CreateEventDataStoreCommand extends CreateEventDataStoreCommand_base {
|
|
252
237
|
}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
-
import {
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
4
3
|
import { CloudTrailClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudTrailClient";
|
|
5
4
|
import { CreateTrailRequest, CreateTrailResponse } from "../models/models_0";
|
|
6
5
|
/**
|
|
@@ -21,6 +20,10 @@ export interface CreateTrailCommandInput extends CreateTrailRequest {
|
|
|
21
20
|
*/
|
|
22
21
|
export interface CreateTrailCommandOutput extends CreateTrailResponse, __MetadataBearer {
|
|
23
22
|
}
|
|
23
|
+
declare const CreateTrailCommand_base: {
|
|
24
|
+
new (input: CreateTrailCommandInput): import("@smithy/smithy-client").CommandImpl<CreateTrailCommandInput, CreateTrailCommandOutput, CloudTrailClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
|
+
};
|
|
24
27
|
/**
|
|
25
28
|
* @public
|
|
26
29
|
* <p>Creates a trail that specifies the settings for delivery of log data to an Amazon S3 bucket.
|
|
@@ -221,23 +224,5 @@ export interface CreateTrailCommandOutput extends CreateTrailResponse, __Metadat
|
|
|
221
224
|
* <p>Base exception class for all service exceptions from CloudTrail service.</p>
|
|
222
225
|
*
|
|
223
226
|
*/
|
|
224
|
-
export declare class CreateTrailCommand extends
|
|
225
|
-
readonly input: CreateTrailCommandInput;
|
|
226
|
-
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
227
|
-
/**
|
|
228
|
-
* @public
|
|
229
|
-
*/
|
|
230
|
-
constructor(input: CreateTrailCommandInput);
|
|
231
|
-
/**
|
|
232
|
-
* @internal
|
|
233
|
-
*/
|
|
234
|
-
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CloudTrailClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateTrailCommandInput, CreateTrailCommandOutput>;
|
|
235
|
-
/**
|
|
236
|
-
* @internal
|
|
237
|
-
*/
|
|
238
|
-
private serialize;
|
|
239
|
-
/**
|
|
240
|
-
* @internal
|
|
241
|
-
*/
|
|
242
|
-
private deserialize;
|
|
227
|
+
export declare class CreateTrailCommand extends CreateTrailCommand_base {
|
|
243
228
|
}
|