@aws-sdk/client-cloudtrail 3.165.0 → 3.168.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 +11 -0
- package/dist-cjs/CloudTrail.js +30 -0
- package/dist-cjs/commands/GetChannelCommand.js +36 -0
- package/dist-cjs/commands/ListChannelsCommand.js +36 -0
- package/dist-cjs/commands/index.js +2 -0
- package/dist-cjs/models/models_0.js +64 -3
- package/dist-cjs/pagination/ListChannelsPaginator.js +36 -0
- package/dist-cjs/pagination/index.js +1 -0
- package/dist-cjs/protocols/Aws_json1_1.js +201 -2
- package/dist-es/CloudTrail.js +30 -0
- package/dist-es/commands/GetChannelCommand.js +39 -0
- package/dist-es/commands/ListChannelsCommand.js +39 -0
- package/dist-es/commands/index.js +2 -0
- package/dist-es/models/models_0.js +38 -0
- package/dist-es/pagination/ListChannelsPaginator.js +75 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/protocols/Aws_json1_1.js +236 -1
- package/dist-types/CloudTrail.d.ts +19 -1
- package/dist-types/CloudTrailClient.d.ts +4 -2
- package/dist-types/commands/GetChannelCommand.d.ts +37 -0
- package/dist-types/commands/ListChannelsCommand.d.ts +37 -0
- package/dist-types/commands/UpdateEventDataStoreCommand.d.ts +1 -1
- package/dist-types/commands/index.d.ts +2 -0
- package/dist-types/models/models_0.d.ts +199 -5
- package/dist-types/pagination/ListChannelsPaginator.d.ts +4 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/protocols/Aws_json1_1.d.ts +6 -0
- package/dist-types/ts3.4/CloudTrail.d.ts +10 -0
- package/dist-types/ts3.4/CloudTrailClient.d.ts +4 -2
- package/dist-types/ts3.4/commands/GetChannelCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListChannelsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/index.d.ts +2 -0
- package/dist-types/ts3.4/models/models_0.d.ts +85 -0
- package/dist-types/ts3.4/pagination/ListChannelsPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/index.d.ts +1 -0
- package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +6 -0
- package/package.json +34 -33
|
@@ -8,12 +8,14 @@ import { DeleteEventDataStoreCommandInput, DeleteEventDataStoreCommandOutput } f
|
|
|
8
8
|
import { DeleteTrailCommandInput, DeleteTrailCommandOutput } from "./commands/DeleteTrailCommand";
|
|
9
9
|
import { DescribeQueryCommandInput, DescribeQueryCommandOutput } from "./commands/DescribeQueryCommand";
|
|
10
10
|
import { DescribeTrailsCommandInput, DescribeTrailsCommandOutput } from "./commands/DescribeTrailsCommand";
|
|
11
|
+
import { GetChannelCommandInput, GetChannelCommandOutput } from "./commands/GetChannelCommand";
|
|
11
12
|
import { GetEventDataStoreCommandInput, GetEventDataStoreCommandOutput } from "./commands/GetEventDataStoreCommand";
|
|
12
13
|
import { GetEventSelectorsCommandInput, GetEventSelectorsCommandOutput } from "./commands/GetEventSelectorsCommand";
|
|
13
14
|
import { GetInsightSelectorsCommandInput, GetInsightSelectorsCommandOutput } from "./commands/GetInsightSelectorsCommand";
|
|
14
15
|
import { GetQueryResultsCommandInput, GetQueryResultsCommandOutput } from "./commands/GetQueryResultsCommand";
|
|
15
16
|
import { GetTrailCommandInput, GetTrailCommandOutput } from "./commands/GetTrailCommand";
|
|
16
17
|
import { GetTrailStatusCommandInput, GetTrailStatusCommandOutput } from "./commands/GetTrailStatusCommand";
|
|
18
|
+
import { ListChannelsCommandInput, ListChannelsCommandOutput } from "./commands/ListChannelsCommand";
|
|
17
19
|
import { ListEventDataStoresCommandInput, ListEventDataStoresCommandOutput } from "./commands/ListEventDataStoresCommand";
|
|
18
20
|
import { ListPublicKeysCommandInput, ListPublicKeysCommandOutput } from "./commands/ListPublicKeysCommand";
|
|
19
21
|
import { ListQueriesCommandInput, ListQueriesCommandOutput } from "./commands/ListQueriesCommand";
|
|
@@ -116,6 +118,14 @@ export declare class CloudTrail extends CloudTrailClient {
|
|
|
116
118
|
describeTrails(args: DescribeTrailsCommandInput, options?: __HttpHandlerOptions): Promise<DescribeTrailsCommandOutput>;
|
|
117
119
|
describeTrails(args: DescribeTrailsCommandInput, cb: (err: any, data?: DescribeTrailsCommandOutput) => void): void;
|
|
118
120
|
describeTrails(args: DescribeTrailsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeTrailsCommandOutput) => void): void;
|
|
121
|
+
/**
|
|
122
|
+
* <p>
|
|
123
|
+
* Returns the specified CloudTrail service-linked channel. Amazon Web Services services create service-linked channels to view CloudTrail events.
|
|
124
|
+
* </p>
|
|
125
|
+
*/
|
|
126
|
+
getChannel(args: GetChannelCommandInput, options?: __HttpHandlerOptions): Promise<GetChannelCommandOutput>;
|
|
127
|
+
getChannel(args: GetChannelCommandInput, cb: (err: any, data?: GetChannelCommandOutput) => void): void;
|
|
128
|
+
getChannel(args: GetChannelCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetChannelCommandOutput) => void): void;
|
|
119
129
|
/**
|
|
120
130
|
* <p>Returns information about an event data store specified as either an ARN or the ID portion of the ARN.</p>
|
|
121
131
|
*/
|
|
@@ -175,6 +185,14 @@ export declare class CloudTrail extends CloudTrailClient {
|
|
|
175
185
|
getTrailStatus(args: GetTrailStatusCommandInput, options?: __HttpHandlerOptions): Promise<GetTrailStatusCommandOutput>;
|
|
176
186
|
getTrailStatus(args: GetTrailStatusCommandInput, cb: (err: any, data?: GetTrailStatusCommandOutput) => void): void;
|
|
177
187
|
getTrailStatus(args: GetTrailStatusCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetTrailStatusCommandOutput) => void): void;
|
|
188
|
+
/**
|
|
189
|
+
* <p>
|
|
190
|
+
* Returns all CloudTrail channels.
|
|
191
|
+
* </p>
|
|
192
|
+
*/
|
|
193
|
+
listChannels(args: ListChannelsCommandInput, options?: __HttpHandlerOptions): Promise<ListChannelsCommandOutput>;
|
|
194
|
+
listChannels(args: ListChannelsCommandInput, cb: (err: any, data?: ListChannelsCommandOutput) => void): void;
|
|
195
|
+
listChannels(args: ListChannelsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListChannelsCommandOutput) => void): void;
|
|
178
196
|
/**
|
|
179
197
|
* <p>Returns information about all event data stores in the account, in the current region.</p>
|
|
180
198
|
*/
|
|
@@ -368,7 +386,7 @@ export declare class CloudTrail extends CloudTrailClient {
|
|
|
368
386
|
/**
|
|
369
387
|
* <p>Updates an event data store. The required <code>EventDataStore</code> value is an ARN or the ID portion of the ARN.
|
|
370
388
|
* Other parameters are optional, but at least one optional parameter must be specified, or CloudTrail throws an error.
|
|
371
|
-
* <code>RetentionPeriod</code> is in days, and valid values are integers between 90 and
|
|
389
|
+
* <code>RetentionPeriod</code> is in days, and valid values are integers between 90 and 2557.
|
|
372
390
|
* By default, <code>TerminationProtection</code> is enabled. <code>AdvancedEventSelectors</code> includes or excludes management
|
|
373
391
|
* and data events in your event data store; for more information about <code>AdvancedEventSelectors</code>, see
|
|
374
392
|
* <a>PutEventSelectorsRequest$AdvancedEventSelectors</a>.</p>
|
|
@@ -14,12 +14,14 @@ import { DeleteEventDataStoreCommandInput, DeleteEventDataStoreCommandOutput } f
|
|
|
14
14
|
import { DeleteTrailCommandInput, DeleteTrailCommandOutput } from "./commands/DeleteTrailCommand";
|
|
15
15
|
import { DescribeQueryCommandInput, DescribeQueryCommandOutput } from "./commands/DescribeQueryCommand";
|
|
16
16
|
import { DescribeTrailsCommandInput, DescribeTrailsCommandOutput } from "./commands/DescribeTrailsCommand";
|
|
17
|
+
import { GetChannelCommandInput, GetChannelCommandOutput } from "./commands/GetChannelCommand";
|
|
17
18
|
import { GetEventDataStoreCommandInput, GetEventDataStoreCommandOutput } from "./commands/GetEventDataStoreCommand";
|
|
18
19
|
import { GetEventSelectorsCommandInput, GetEventSelectorsCommandOutput } from "./commands/GetEventSelectorsCommand";
|
|
19
20
|
import { GetInsightSelectorsCommandInput, GetInsightSelectorsCommandOutput } from "./commands/GetInsightSelectorsCommand";
|
|
20
21
|
import { GetQueryResultsCommandInput, GetQueryResultsCommandOutput } from "./commands/GetQueryResultsCommand";
|
|
21
22
|
import { GetTrailCommandInput, GetTrailCommandOutput } from "./commands/GetTrailCommand";
|
|
22
23
|
import { GetTrailStatusCommandInput, GetTrailStatusCommandOutput } from "./commands/GetTrailStatusCommand";
|
|
24
|
+
import { ListChannelsCommandInput, ListChannelsCommandOutput } from "./commands/ListChannelsCommand";
|
|
23
25
|
import { ListEventDataStoresCommandInput, ListEventDataStoresCommandOutput } from "./commands/ListEventDataStoresCommand";
|
|
24
26
|
import { ListPublicKeysCommandInput, ListPublicKeysCommandOutput } from "./commands/ListPublicKeysCommand";
|
|
25
27
|
import { ListQueriesCommandInput, ListQueriesCommandOutput } from "./commands/ListQueriesCommand";
|
|
@@ -35,8 +37,8 @@ import { StartQueryCommandInput, StartQueryCommandOutput } from "./commands/Star
|
|
|
35
37
|
import { StopLoggingCommandInput, StopLoggingCommandOutput } from "./commands/StopLoggingCommand";
|
|
36
38
|
import { UpdateEventDataStoreCommandInput, UpdateEventDataStoreCommandOutput } from "./commands/UpdateEventDataStoreCommand";
|
|
37
39
|
import { UpdateTrailCommandInput, UpdateTrailCommandOutput } from "./commands/UpdateTrailCommand";
|
|
38
|
-
export declare type ServiceInputTypes = AddTagsCommandInput | CancelQueryCommandInput | CreateEventDataStoreCommandInput | CreateTrailCommandInput | DeleteEventDataStoreCommandInput | DeleteTrailCommandInput | DescribeQueryCommandInput | DescribeTrailsCommandInput | GetEventDataStoreCommandInput | GetEventSelectorsCommandInput | GetInsightSelectorsCommandInput | GetQueryResultsCommandInput | GetTrailCommandInput | GetTrailStatusCommandInput | ListEventDataStoresCommandInput | ListPublicKeysCommandInput | ListQueriesCommandInput | ListTagsCommandInput | ListTrailsCommandInput | LookupEventsCommandInput | PutEventSelectorsCommandInput | PutInsightSelectorsCommandInput | RemoveTagsCommandInput | RestoreEventDataStoreCommandInput | StartLoggingCommandInput | StartQueryCommandInput | StopLoggingCommandInput | UpdateEventDataStoreCommandInput | UpdateTrailCommandInput;
|
|
39
|
-
export declare type ServiceOutputTypes = AddTagsCommandOutput | CancelQueryCommandOutput | CreateEventDataStoreCommandOutput | CreateTrailCommandOutput | DeleteEventDataStoreCommandOutput | DeleteTrailCommandOutput | DescribeQueryCommandOutput | DescribeTrailsCommandOutput | GetEventDataStoreCommandOutput | GetEventSelectorsCommandOutput | GetInsightSelectorsCommandOutput | GetQueryResultsCommandOutput | GetTrailCommandOutput | GetTrailStatusCommandOutput | ListEventDataStoresCommandOutput | ListPublicKeysCommandOutput | ListQueriesCommandOutput | ListTagsCommandOutput | ListTrailsCommandOutput | LookupEventsCommandOutput | PutEventSelectorsCommandOutput | PutInsightSelectorsCommandOutput | RemoveTagsCommandOutput | RestoreEventDataStoreCommandOutput | StartLoggingCommandOutput | StartQueryCommandOutput | StopLoggingCommandOutput | UpdateEventDataStoreCommandOutput | UpdateTrailCommandOutput;
|
|
40
|
+
export declare type ServiceInputTypes = AddTagsCommandInput | CancelQueryCommandInput | CreateEventDataStoreCommandInput | CreateTrailCommandInput | DeleteEventDataStoreCommandInput | DeleteTrailCommandInput | DescribeQueryCommandInput | DescribeTrailsCommandInput | GetChannelCommandInput | GetEventDataStoreCommandInput | GetEventSelectorsCommandInput | GetInsightSelectorsCommandInput | GetQueryResultsCommandInput | GetTrailCommandInput | GetTrailStatusCommandInput | ListChannelsCommandInput | ListEventDataStoresCommandInput | ListPublicKeysCommandInput | ListQueriesCommandInput | ListTagsCommandInput | ListTrailsCommandInput | LookupEventsCommandInput | PutEventSelectorsCommandInput | PutInsightSelectorsCommandInput | RemoveTagsCommandInput | RestoreEventDataStoreCommandInput | StartLoggingCommandInput | StartQueryCommandInput | StopLoggingCommandInput | UpdateEventDataStoreCommandInput | UpdateTrailCommandInput;
|
|
41
|
+
export declare type ServiceOutputTypes = AddTagsCommandOutput | CancelQueryCommandOutput | CreateEventDataStoreCommandOutput | CreateTrailCommandOutput | DeleteEventDataStoreCommandOutput | DeleteTrailCommandOutput | DescribeQueryCommandOutput | DescribeTrailsCommandOutput | GetChannelCommandOutput | GetEventDataStoreCommandOutput | GetEventSelectorsCommandOutput | GetInsightSelectorsCommandOutput | GetQueryResultsCommandOutput | GetTrailCommandOutput | GetTrailStatusCommandOutput | ListChannelsCommandOutput | ListEventDataStoresCommandOutput | ListPublicKeysCommandOutput | ListQueriesCommandOutput | ListTagsCommandOutput | ListTrailsCommandOutput | LookupEventsCommandOutput | PutEventSelectorsCommandOutput | PutInsightSelectorsCommandOutput | RemoveTagsCommandOutput | RestoreEventDataStoreCommandOutput | StartLoggingCommandOutput | StartQueryCommandOutput | StopLoggingCommandOutput | UpdateEventDataStoreCommandOutput | UpdateTrailCommandOutput;
|
|
40
42
|
export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
|
|
41
43
|
/**
|
|
42
44
|
* The HTTP handler to use. Fetch in browser and Https in Nodejs.
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { CloudTrailClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudTrailClient";
|
|
4
|
+
import { GetChannelRequest, GetChannelResponse } from "../models/models_0";
|
|
5
|
+
export interface GetChannelCommandInput extends GetChannelRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface GetChannelCommandOutput extends GetChannelResponse, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* <p>
|
|
11
|
+
* Returns the specified CloudTrail service-linked channel. Amazon Web Services services create service-linked channels to view CloudTrail events.
|
|
12
|
+
* </p>
|
|
13
|
+
* @example
|
|
14
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
15
|
+
* ```javascript
|
|
16
|
+
* import { CloudTrailClient, GetChannelCommand } from "@aws-sdk/client-cloudtrail"; // ES Modules import
|
|
17
|
+
* // const { CloudTrailClient, GetChannelCommand } = require("@aws-sdk/client-cloudtrail"); // CommonJS import
|
|
18
|
+
* const client = new CloudTrailClient(config);
|
|
19
|
+
* const command = new GetChannelCommand(input);
|
|
20
|
+
* const response = await client.send(command);
|
|
21
|
+
* ```
|
|
22
|
+
*
|
|
23
|
+
* @see {@link GetChannelCommandInput} for command's `input` shape.
|
|
24
|
+
* @see {@link GetChannelCommandOutput} for command's `response` shape.
|
|
25
|
+
* @see {@link CloudTrailClientResolvedConfig | config} for CloudTrailClient's `config` shape.
|
|
26
|
+
*
|
|
27
|
+
*/
|
|
28
|
+
export declare class GetChannelCommand extends $Command<GetChannelCommandInput, GetChannelCommandOutput, CloudTrailClientResolvedConfig> {
|
|
29
|
+
readonly input: GetChannelCommandInput;
|
|
30
|
+
constructor(input: GetChannelCommandInput);
|
|
31
|
+
/**
|
|
32
|
+
* @internal
|
|
33
|
+
*/
|
|
34
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CloudTrailClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetChannelCommandInput, GetChannelCommandOutput>;
|
|
35
|
+
private serialize;
|
|
36
|
+
private deserialize;
|
|
37
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { CloudTrailClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudTrailClient";
|
|
4
|
+
import { ListChannelsRequest, ListChannelsResponse } from "../models/models_0";
|
|
5
|
+
export interface ListChannelsCommandInput extends ListChannelsRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface ListChannelsCommandOutput extends ListChannelsResponse, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* <p>
|
|
11
|
+
* Returns all CloudTrail channels.
|
|
12
|
+
* </p>
|
|
13
|
+
* @example
|
|
14
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
15
|
+
* ```javascript
|
|
16
|
+
* import { CloudTrailClient, ListChannelsCommand } from "@aws-sdk/client-cloudtrail"; // ES Modules import
|
|
17
|
+
* // const { CloudTrailClient, ListChannelsCommand } = require("@aws-sdk/client-cloudtrail"); // CommonJS import
|
|
18
|
+
* const client = new CloudTrailClient(config);
|
|
19
|
+
* const command = new ListChannelsCommand(input);
|
|
20
|
+
* const response = await client.send(command);
|
|
21
|
+
* ```
|
|
22
|
+
*
|
|
23
|
+
* @see {@link ListChannelsCommandInput} for command's `input` shape.
|
|
24
|
+
* @see {@link ListChannelsCommandOutput} for command's `response` shape.
|
|
25
|
+
* @see {@link CloudTrailClientResolvedConfig | config} for CloudTrailClient's `config` shape.
|
|
26
|
+
*
|
|
27
|
+
*/
|
|
28
|
+
export declare class ListChannelsCommand extends $Command<ListChannelsCommandInput, ListChannelsCommandOutput, CloudTrailClientResolvedConfig> {
|
|
29
|
+
readonly input: ListChannelsCommandInput;
|
|
30
|
+
constructor(input: ListChannelsCommandInput);
|
|
31
|
+
/**
|
|
32
|
+
* @internal
|
|
33
|
+
*/
|
|
34
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CloudTrailClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListChannelsCommandInput, ListChannelsCommandOutput>;
|
|
35
|
+
private serialize;
|
|
36
|
+
private deserialize;
|
|
37
|
+
}
|
|
@@ -9,7 +9,7 @@ export interface UpdateEventDataStoreCommandOutput extends UpdateEventDataStoreR
|
|
|
9
9
|
/**
|
|
10
10
|
* <p>Updates an event data store. The required <code>EventDataStore</code> value is an ARN or the ID portion of the ARN.
|
|
11
11
|
* Other parameters are optional, but at least one optional parameter must be specified, or CloudTrail throws an error.
|
|
12
|
-
* <code>RetentionPeriod</code> is in days, and valid values are integers between 90 and
|
|
12
|
+
* <code>RetentionPeriod</code> is in days, and valid values are integers between 90 and 2557.
|
|
13
13
|
* By default, <code>TerminationProtection</code> is enabled. <code>AdvancedEventSelectors</code> includes or excludes management
|
|
14
14
|
* and data events in your event data store; for more information about <code>AdvancedEventSelectors</code>, see
|
|
15
15
|
* <a>PutEventSelectorsRequest$AdvancedEventSelectors</a>.</p>
|
|
@@ -6,12 +6,14 @@ export * from "./DeleteEventDataStoreCommand";
|
|
|
6
6
|
export * from "./DeleteTrailCommand";
|
|
7
7
|
export * from "./DescribeQueryCommand";
|
|
8
8
|
export * from "./DescribeTrailsCommand";
|
|
9
|
+
export * from "./GetChannelCommand";
|
|
9
10
|
export * from "./GetEventDataStoreCommand";
|
|
10
11
|
export * from "./GetEventSelectorsCommand";
|
|
11
12
|
export * from "./GetInsightSelectorsCommand";
|
|
12
13
|
export * from "./GetQueryResultsCommand";
|
|
13
14
|
export * from "./GetTrailCommand";
|
|
14
15
|
export * from "./GetTrailStatusCommand";
|
|
16
|
+
export * from "./ListChannelsCommand";
|
|
15
17
|
export * from "./ListEventDataStoresCommand";
|
|
16
18
|
export * from "./ListPublicKeysCommand";
|
|
17
19
|
export * from "./ListQueriesCommand";
|
|
@@ -257,7 +257,7 @@ export interface AdvancedFieldSelector {
|
|
|
257
257
|
* <b>
|
|
258
258
|
* <code>readOnly</code>
|
|
259
259
|
* </b> - Optional. Can be set to <code>Equals</code> a value of <code>true</code>
|
|
260
|
-
* or <code>false</code>. If you do not add this field, CloudTrail logs both
|
|
260
|
+
* or <code>false</code>. If you do not add this field, CloudTrail logs both <code>read</code> and
|
|
261
261
|
* <code>write</code> events. A value of <code>true</code> logs only <code>read</code> events. A value of <code>false</code>
|
|
262
262
|
* logs only <code>write</code> events.</p>
|
|
263
263
|
* </li>
|
|
@@ -646,6 +646,60 @@ export declare class QueryIdNotFoundException extends __BaseException {
|
|
|
646
646
|
*/
|
|
647
647
|
constructor(opts: __ExceptionOptionType<QueryIdNotFoundException, __BaseException>);
|
|
648
648
|
}
|
|
649
|
+
/**
|
|
650
|
+
* <p>
|
|
651
|
+
* Contains information about a returned CloudTrail channel.
|
|
652
|
+
* </p>
|
|
653
|
+
*/
|
|
654
|
+
export interface Channel {
|
|
655
|
+
/**
|
|
656
|
+
* <p>
|
|
657
|
+
* The Amazon Resource Name (ARN) of the channel.
|
|
658
|
+
* </p>
|
|
659
|
+
*/
|
|
660
|
+
ChannelArn?: string;
|
|
661
|
+
/**
|
|
662
|
+
* <p>
|
|
663
|
+
* The name of the CloudTrail channel. For service-linked channels, the name is <code>aws-service-channel/service-name/custom-suffix</code> where <code>service-name</code> represents the name of the
|
|
664
|
+
* Amazon Web Services service that created the channel and <code>custom-suffix</code> represents the suffix created by the Amazon Web Services service.
|
|
665
|
+
* </p>
|
|
666
|
+
*/
|
|
667
|
+
Name?: string;
|
|
668
|
+
}
|
|
669
|
+
/**
|
|
670
|
+
* <p>
|
|
671
|
+
* The specified channel ARN is not valid or does not map to a channel in your account.
|
|
672
|
+
* </p>
|
|
673
|
+
*/
|
|
674
|
+
export declare class ChannelARNInvalidException extends __BaseException {
|
|
675
|
+
readonly name: "ChannelARNInvalidException";
|
|
676
|
+
readonly $fault: "client";
|
|
677
|
+
/**
|
|
678
|
+
* <p>Brief description of the exception returned by the request.</p>
|
|
679
|
+
*/
|
|
680
|
+
Message?: string;
|
|
681
|
+
/**
|
|
682
|
+
* @internal
|
|
683
|
+
*/
|
|
684
|
+
constructor(opts: __ExceptionOptionType<ChannelARNInvalidException, __BaseException>);
|
|
685
|
+
}
|
|
686
|
+
/**
|
|
687
|
+
* <p>
|
|
688
|
+
* The specified channel was not found.
|
|
689
|
+
* </p>
|
|
690
|
+
*/
|
|
691
|
+
export declare class ChannelNotFoundException extends __BaseException {
|
|
692
|
+
readonly name: "ChannelNotFoundException";
|
|
693
|
+
readonly $fault: "client";
|
|
694
|
+
/**
|
|
695
|
+
* <p>Brief description of the exception returned by the request.</p>
|
|
696
|
+
*/
|
|
697
|
+
Message?: string;
|
|
698
|
+
/**
|
|
699
|
+
* @internal
|
|
700
|
+
*/
|
|
701
|
+
constructor(opts: __ExceptionOptionType<ChannelNotFoundException, __BaseException>);
|
|
702
|
+
}
|
|
649
703
|
/**
|
|
650
704
|
* <p>This exception is thrown when trusted access has not been enabled between CloudTrail and Organizations. For more information,
|
|
651
705
|
* see <a href="https://docs.aws.amazon.com/organizations/latest/userguide/orgs_integrate_services.html">Enabling Trusted Access with Other Amazon Web Services Services</a>
|
|
@@ -684,7 +738,7 @@ export interface CreateEventDataStoreRequest {
|
|
|
684
738
|
*/
|
|
685
739
|
OrganizationEnabled?: boolean;
|
|
686
740
|
/**
|
|
687
|
-
* <p>The retention period of the event data store, in days. You can set a retention period of up to
|
|
741
|
+
* <p>The retention period of the event data store, in days. You can set a retention period of up to 2557 days,
|
|
688
742
|
* the equivalent of seven years.</p>
|
|
689
743
|
*/
|
|
690
744
|
RetentionPeriod?: number;
|
|
@@ -1555,6 +1609,90 @@ export interface DescribeTrailsResponse {
|
|
|
1555
1609
|
*/
|
|
1556
1610
|
trailList?: Trail[];
|
|
1557
1611
|
}
|
|
1612
|
+
export interface GetChannelRequest {
|
|
1613
|
+
/**
|
|
1614
|
+
* <p>
|
|
1615
|
+
* The Amazon Resource Name (ARN) of the CloudTrail service-linked channel.
|
|
1616
|
+
* </p>
|
|
1617
|
+
*/
|
|
1618
|
+
Channel: string | undefined;
|
|
1619
|
+
}
|
|
1620
|
+
export declare enum DestinationType {
|
|
1621
|
+
AWS_SERVICE = "AWS_SERVICE",
|
|
1622
|
+
EVENT_DATA_STORE = "EVENT_DATA_STORE"
|
|
1623
|
+
}
|
|
1624
|
+
/**
|
|
1625
|
+
* <p>
|
|
1626
|
+
* Contains information about the service where CloudTrail delivers events.
|
|
1627
|
+
* </p>
|
|
1628
|
+
*/
|
|
1629
|
+
export interface Destination {
|
|
1630
|
+
/**
|
|
1631
|
+
* <p>
|
|
1632
|
+
* The type of service. For service-linked channels, the value is <code>AWS_SERVICE</code>.
|
|
1633
|
+
* </p>
|
|
1634
|
+
*/
|
|
1635
|
+
Type: DestinationType | string | undefined;
|
|
1636
|
+
/**
|
|
1637
|
+
* <p>
|
|
1638
|
+
* The location of the service. For service-linked channels, this is the name of the Amazon Web Services service.
|
|
1639
|
+
* </p>
|
|
1640
|
+
*/
|
|
1641
|
+
Location: string | undefined;
|
|
1642
|
+
}
|
|
1643
|
+
/**
|
|
1644
|
+
* <p>
|
|
1645
|
+
* Contains configuration information about the service-linked channel.
|
|
1646
|
+
* </p>
|
|
1647
|
+
*/
|
|
1648
|
+
export interface SourceConfig {
|
|
1649
|
+
/**
|
|
1650
|
+
* <p>
|
|
1651
|
+
* Specifies whether the service-linked channel applies to one region or all regions.
|
|
1652
|
+
* </p>
|
|
1653
|
+
*/
|
|
1654
|
+
ApplyToAllRegions?: boolean;
|
|
1655
|
+
/**
|
|
1656
|
+
* <p>
|
|
1657
|
+
* The advanced event selectors configured for the service-linked channel.
|
|
1658
|
+
* </p>
|
|
1659
|
+
*/
|
|
1660
|
+
AdvancedEventSelectors?: AdvancedEventSelector[];
|
|
1661
|
+
}
|
|
1662
|
+
export interface GetChannelResponse {
|
|
1663
|
+
/**
|
|
1664
|
+
* <p>
|
|
1665
|
+
* The ARN of the CloudTrail service-linked channel.
|
|
1666
|
+
* </p>
|
|
1667
|
+
*/
|
|
1668
|
+
ChannelArn?: string;
|
|
1669
|
+
/**
|
|
1670
|
+
* <p>
|
|
1671
|
+
* The name of the CloudTrail service-linked channel. For service-linked channels, the value is <code>aws-service-channel/service-name/custom-suffix</code>
|
|
1672
|
+
* where <code>service-name</code> represents the name of the
|
|
1673
|
+
* Amazon Web Services service that created the channel and <code>custom-suffix</code> represents the suffix generated by the Amazon Web Services service.
|
|
1674
|
+
* </p>
|
|
1675
|
+
*/
|
|
1676
|
+
Name?: string;
|
|
1677
|
+
/**
|
|
1678
|
+
* <p>
|
|
1679
|
+
* The trail or event data store for the CloudTrail service-linked channel.
|
|
1680
|
+
* </p>
|
|
1681
|
+
*/
|
|
1682
|
+
Source?: string;
|
|
1683
|
+
/**
|
|
1684
|
+
* <p>
|
|
1685
|
+
* Provides information about the advanced event selectors configured for the service-linked channel, and whether the service-linked channel applies to all regions or one region.
|
|
1686
|
+
* </p>
|
|
1687
|
+
*/
|
|
1688
|
+
SourceConfig?: SourceConfig;
|
|
1689
|
+
/**
|
|
1690
|
+
* <p>
|
|
1691
|
+
* The Amazon Web Services service that created the CloudTrail service-linked channel.
|
|
1692
|
+
* </p>
|
|
1693
|
+
*/
|
|
1694
|
+
Destinations?: Destination[];
|
|
1695
|
+
}
|
|
1558
1696
|
export interface GetEventDataStoreRequest {
|
|
1559
1697
|
/**
|
|
1560
1698
|
* <p>The ARN (or ID suffix of the ARN) of the event data store about which you want information.</p>
|
|
@@ -2139,6 +2277,34 @@ export interface GetTrailStatusResponse {
|
|
|
2139
2277
|
*/
|
|
2140
2278
|
TimeLoggingStopped?: string;
|
|
2141
2279
|
}
|
|
2280
|
+
export interface ListChannelsRequest {
|
|
2281
|
+
/**
|
|
2282
|
+
* <p>
|
|
2283
|
+
* The maximum number of CloudTrail channels to display on a single page.
|
|
2284
|
+
* </p>
|
|
2285
|
+
*/
|
|
2286
|
+
MaxResults?: number;
|
|
2287
|
+
/**
|
|
2288
|
+
* <p>
|
|
2289
|
+
* A token you can use to get the next page of results.
|
|
2290
|
+
* </p>
|
|
2291
|
+
*/
|
|
2292
|
+
NextToken?: string;
|
|
2293
|
+
}
|
|
2294
|
+
export interface ListChannelsResponse {
|
|
2295
|
+
/**
|
|
2296
|
+
* <p>
|
|
2297
|
+
* The list of CloudTrail channels.
|
|
2298
|
+
* </p>
|
|
2299
|
+
*/
|
|
2300
|
+
Channels?: Channel[];
|
|
2301
|
+
/**
|
|
2302
|
+
* <p>
|
|
2303
|
+
* A token used to get the next page of results.
|
|
2304
|
+
* </p>
|
|
2305
|
+
*/
|
|
2306
|
+
NextToken?: string;
|
|
2307
|
+
}
|
|
2142
2308
|
export interface ListEventDataStoresRequest {
|
|
2143
2309
|
/**
|
|
2144
2310
|
* <p>A token you can use to get the next page of event data store results.</p>
|
|
@@ -2151,7 +2317,7 @@ export interface ListEventDataStoresRequest {
|
|
|
2151
2317
|
}
|
|
2152
2318
|
/**
|
|
2153
2319
|
* <p>A storage lake of event data against which you can run complex SQL-based queries. An event data store can include events
|
|
2154
|
-
* that you have logged on your account from the last 90 to
|
|
2320
|
+
* that you have logged on your account from the last 90 to 2557 days
|
|
2155
2321
|
* (about three months to up to seven years). To select events for an event data store,
|
|
2156
2322
|
* use <a href="https://docs.aws.amazon.com/awscloudtrail/latest/userguide/logging-data-events-with-cloudtrail.html#creating-data-event-selectors-advanced">advanced event selectors</a>.</p>
|
|
2157
2323
|
*/
|
|
@@ -2442,7 +2608,7 @@ export interface ListTagsResponse {
|
|
|
2442
2608
|
export interface ListTrailsRequest {
|
|
2443
2609
|
/**
|
|
2444
2610
|
* <p>The token to use to get the next page of results after a previous API call. This token must be passed
|
|
2445
|
-
* in with the same parameters that were specified in the
|
|
2611
|
+
* in with the same parameters that were specified in the original call. For example, if the original
|
|
2446
2612
|
* call specified an AttributeKey of 'Username' with a value of 'root', the call with NextToken should
|
|
2447
2613
|
* include those same parameters.</p>
|
|
2448
2614
|
*/
|
|
@@ -2560,7 +2726,7 @@ export interface LookupEventsRequest {
|
|
|
2560
2726
|
*/
|
|
2561
2727
|
MaxResults?: number;
|
|
2562
2728
|
/**
|
|
2563
|
-
* <p>The token to use to get the next page of results after a previous API call. This token must be passed in with the same parameters that were specified in the
|
|
2729
|
+
* <p>The token to use to get the next page of results after a previous API call. This token must be passed in with the same parameters that were specified in the original call.
|
|
2564
2730
|
* For example, if the original call specified an AttributeKey of 'Username' with a value of 'root', the call with NextToken should include those same parameters.</p>
|
|
2565
2731
|
*/
|
|
2566
2732
|
NextToken?: string;
|
|
@@ -3224,6 +3390,10 @@ export declare const CancelQueryRequestFilterSensitiveLog: (obj: CancelQueryRequ
|
|
|
3224
3390
|
* @internal
|
|
3225
3391
|
*/
|
|
3226
3392
|
export declare const CancelQueryResponseFilterSensitiveLog: (obj: CancelQueryResponse) => any;
|
|
3393
|
+
/**
|
|
3394
|
+
* @internal
|
|
3395
|
+
*/
|
|
3396
|
+
export declare const ChannelFilterSensitiveLog: (obj: Channel) => any;
|
|
3227
3397
|
/**
|
|
3228
3398
|
* @internal
|
|
3229
3399
|
*/
|
|
@@ -3280,6 +3450,22 @@ export declare const TrailFilterSensitiveLog: (obj: Trail) => any;
|
|
|
3280
3450
|
* @internal
|
|
3281
3451
|
*/
|
|
3282
3452
|
export declare const DescribeTrailsResponseFilterSensitiveLog: (obj: DescribeTrailsResponse) => any;
|
|
3453
|
+
/**
|
|
3454
|
+
* @internal
|
|
3455
|
+
*/
|
|
3456
|
+
export declare const GetChannelRequestFilterSensitiveLog: (obj: GetChannelRequest) => any;
|
|
3457
|
+
/**
|
|
3458
|
+
* @internal
|
|
3459
|
+
*/
|
|
3460
|
+
export declare const DestinationFilterSensitiveLog: (obj: Destination) => any;
|
|
3461
|
+
/**
|
|
3462
|
+
* @internal
|
|
3463
|
+
*/
|
|
3464
|
+
export declare const SourceConfigFilterSensitiveLog: (obj: SourceConfig) => any;
|
|
3465
|
+
/**
|
|
3466
|
+
* @internal
|
|
3467
|
+
*/
|
|
3468
|
+
export declare const GetChannelResponseFilterSensitiveLog: (obj: GetChannelResponse) => any;
|
|
3283
3469
|
/**
|
|
3284
3470
|
* @internal
|
|
3285
3471
|
*/
|
|
@@ -3344,6 +3530,14 @@ export declare const GetTrailStatusRequestFilterSensitiveLog: (obj: GetTrailStat
|
|
|
3344
3530
|
* @internal
|
|
3345
3531
|
*/
|
|
3346
3532
|
export declare const GetTrailStatusResponseFilterSensitiveLog: (obj: GetTrailStatusResponse) => any;
|
|
3533
|
+
/**
|
|
3534
|
+
* @internal
|
|
3535
|
+
*/
|
|
3536
|
+
export declare const ListChannelsRequestFilterSensitiveLog: (obj: ListChannelsRequest) => any;
|
|
3537
|
+
/**
|
|
3538
|
+
* @internal
|
|
3539
|
+
*/
|
|
3540
|
+
export declare const ListChannelsResponseFilterSensitiveLog: (obj: ListChannelsResponse) => any;
|
|
3347
3541
|
/**
|
|
3348
3542
|
* @internal
|
|
3349
3543
|
*/
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { Paginator } from "@aws-sdk/types";
|
|
2
|
+
import { ListChannelsCommandInput, ListChannelsCommandOutput } from "../commands/ListChannelsCommand";
|
|
3
|
+
import { CloudTrailPaginationConfiguration } from "./Interfaces";
|
|
4
|
+
export declare function paginateListChannels(config: CloudTrailPaginationConfiguration, input: ListChannelsCommandInput, ...additionalArguments: any): Paginator<ListChannelsCommandOutput>;
|
|
@@ -8,12 +8,14 @@ import { DeleteEventDataStoreCommandInput, DeleteEventDataStoreCommandOutput } f
|
|
|
8
8
|
import { DeleteTrailCommandInput, DeleteTrailCommandOutput } from "../commands/DeleteTrailCommand";
|
|
9
9
|
import { DescribeQueryCommandInput, DescribeQueryCommandOutput } from "../commands/DescribeQueryCommand";
|
|
10
10
|
import { DescribeTrailsCommandInput, DescribeTrailsCommandOutput } from "../commands/DescribeTrailsCommand";
|
|
11
|
+
import { GetChannelCommandInput, GetChannelCommandOutput } from "../commands/GetChannelCommand";
|
|
11
12
|
import { GetEventDataStoreCommandInput, GetEventDataStoreCommandOutput } from "../commands/GetEventDataStoreCommand";
|
|
12
13
|
import { GetEventSelectorsCommandInput, GetEventSelectorsCommandOutput } from "../commands/GetEventSelectorsCommand";
|
|
13
14
|
import { GetInsightSelectorsCommandInput, GetInsightSelectorsCommandOutput } from "../commands/GetInsightSelectorsCommand";
|
|
14
15
|
import { GetQueryResultsCommandInput, GetQueryResultsCommandOutput } from "../commands/GetQueryResultsCommand";
|
|
15
16
|
import { GetTrailCommandInput, GetTrailCommandOutput } from "../commands/GetTrailCommand";
|
|
16
17
|
import { GetTrailStatusCommandInput, GetTrailStatusCommandOutput } from "../commands/GetTrailStatusCommand";
|
|
18
|
+
import { ListChannelsCommandInput, ListChannelsCommandOutput } from "../commands/ListChannelsCommand";
|
|
17
19
|
import { ListEventDataStoresCommandInput, ListEventDataStoresCommandOutput } from "../commands/ListEventDataStoresCommand";
|
|
18
20
|
import { ListPublicKeysCommandInput, ListPublicKeysCommandOutput } from "../commands/ListPublicKeysCommand";
|
|
19
21
|
import { ListQueriesCommandInput, ListQueriesCommandOutput } from "../commands/ListQueriesCommand";
|
|
@@ -37,12 +39,14 @@ export declare const serializeAws_json1_1DeleteEventDataStoreCommand: (input: De
|
|
|
37
39
|
export declare const serializeAws_json1_1DeleteTrailCommand: (input: DeleteTrailCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
38
40
|
export declare const serializeAws_json1_1DescribeQueryCommand: (input: DescribeQueryCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
39
41
|
export declare const serializeAws_json1_1DescribeTrailsCommand: (input: DescribeTrailsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
42
|
+
export declare const serializeAws_json1_1GetChannelCommand: (input: GetChannelCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
40
43
|
export declare const serializeAws_json1_1GetEventDataStoreCommand: (input: GetEventDataStoreCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
41
44
|
export declare const serializeAws_json1_1GetEventSelectorsCommand: (input: GetEventSelectorsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
42
45
|
export declare const serializeAws_json1_1GetInsightSelectorsCommand: (input: GetInsightSelectorsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
43
46
|
export declare const serializeAws_json1_1GetQueryResultsCommand: (input: GetQueryResultsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
44
47
|
export declare const serializeAws_json1_1GetTrailCommand: (input: GetTrailCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
45
48
|
export declare const serializeAws_json1_1GetTrailStatusCommand: (input: GetTrailStatusCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
49
|
+
export declare const serializeAws_json1_1ListChannelsCommand: (input: ListChannelsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
46
50
|
export declare const serializeAws_json1_1ListEventDataStoresCommand: (input: ListEventDataStoresCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
47
51
|
export declare const serializeAws_json1_1ListPublicKeysCommand: (input: ListPublicKeysCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
48
52
|
export declare const serializeAws_json1_1ListQueriesCommand: (input: ListQueriesCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
@@ -66,12 +70,14 @@ export declare const deserializeAws_json1_1DeleteEventDataStoreCommand: (output:
|
|
|
66
70
|
export declare const deserializeAws_json1_1DeleteTrailCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DeleteTrailCommandOutput>;
|
|
67
71
|
export declare const deserializeAws_json1_1DescribeQueryCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DescribeQueryCommandOutput>;
|
|
68
72
|
export declare const deserializeAws_json1_1DescribeTrailsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DescribeTrailsCommandOutput>;
|
|
73
|
+
export declare const deserializeAws_json1_1GetChannelCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetChannelCommandOutput>;
|
|
69
74
|
export declare const deserializeAws_json1_1GetEventDataStoreCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetEventDataStoreCommandOutput>;
|
|
70
75
|
export declare const deserializeAws_json1_1GetEventSelectorsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetEventSelectorsCommandOutput>;
|
|
71
76
|
export declare const deserializeAws_json1_1GetInsightSelectorsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetInsightSelectorsCommandOutput>;
|
|
72
77
|
export declare const deserializeAws_json1_1GetQueryResultsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetQueryResultsCommandOutput>;
|
|
73
78
|
export declare const deserializeAws_json1_1GetTrailCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetTrailCommandOutput>;
|
|
74
79
|
export declare const deserializeAws_json1_1GetTrailStatusCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetTrailStatusCommandOutput>;
|
|
80
|
+
export declare const deserializeAws_json1_1ListChannelsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListChannelsCommandOutput>;
|
|
75
81
|
export declare const deserializeAws_json1_1ListEventDataStoresCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListEventDataStoresCommandOutput>;
|
|
76
82
|
export declare const deserializeAws_json1_1ListPublicKeysCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListPublicKeysCommandOutput>;
|
|
77
83
|
export declare const deserializeAws_json1_1ListQueriesCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListQueriesCommandOutput>;
|
|
@@ -8,12 +8,14 @@ import { DeleteEventDataStoreCommandInput, DeleteEventDataStoreCommandOutput } f
|
|
|
8
8
|
import { DeleteTrailCommandInput, DeleteTrailCommandOutput } from "./commands/DeleteTrailCommand";
|
|
9
9
|
import { DescribeQueryCommandInput, DescribeQueryCommandOutput } from "./commands/DescribeQueryCommand";
|
|
10
10
|
import { DescribeTrailsCommandInput, DescribeTrailsCommandOutput } from "./commands/DescribeTrailsCommand";
|
|
11
|
+
import { GetChannelCommandInput, GetChannelCommandOutput } from "./commands/GetChannelCommand";
|
|
11
12
|
import { GetEventDataStoreCommandInput, GetEventDataStoreCommandOutput } from "./commands/GetEventDataStoreCommand";
|
|
12
13
|
import { GetEventSelectorsCommandInput, GetEventSelectorsCommandOutput } from "./commands/GetEventSelectorsCommand";
|
|
13
14
|
import { GetInsightSelectorsCommandInput, GetInsightSelectorsCommandOutput } from "./commands/GetInsightSelectorsCommand";
|
|
14
15
|
import { GetQueryResultsCommandInput, GetQueryResultsCommandOutput } from "./commands/GetQueryResultsCommand";
|
|
15
16
|
import { GetTrailCommandInput, GetTrailCommandOutput } from "./commands/GetTrailCommand";
|
|
16
17
|
import { GetTrailStatusCommandInput, GetTrailStatusCommandOutput } from "./commands/GetTrailStatusCommand";
|
|
18
|
+
import { ListChannelsCommandInput, ListChannelsCommandOutput } from "./commands/ListChannelsCommand";
|
|
17
19
|
import { ListEventDataStoresCommandInput, ListEventDataStoresCommandOutput } from "./commands/ListEventDataStoresCommand";
|
|
18
20
|
import { ListPublicKeysCommandInput, ListPublicKeysCommandOutput } from "./commands/ListPublicKeysCommand";
|
|
19
21
|
import { ListQueriesCommandInput, ListQueriesCommandOutput } from "./commands/ListQueriesCommand";
|
|
@@ -64,6 +66,10 @@ export declare class CloudTrail extends CloudTrailClient {
|
|
|
64
66
|
describeTrails(args: DescribeTrailsCommandInput, cb: (err: any, data?: DescribeTrailsCommandOutput) => void): void;
|
|
65
67
|
describeTrails(args: DescribeTrailsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeTrailsCommandOutput) => void): void;
|
|
66
68
|
|
|
69
|
+
getChannel(args: GetChannelCommandInput, options?: __HttpHandlerOptions): Promise<GetChannelCommandOutput>;
|
|
70
|
+
getChannel(args: GetChannelCommandInput, cb: (err: any, data?: GetChannelCommandOutput) => void): void;
|
|
71
|
+
getChannel(args: GetChannelCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetChannelCommandOutput) => void): void;
|
|
72
|
+
|
|
67
73
|
getEventDataStore(args: GetEventDataStoreCommandInput, options?: __HttpHandlerOptions): Promise<GetEventDataStoreCommandOutput>;
|
|
68
74
|
getEventDataStore(args: GetEventDataStoreCommandInput, cb: (err: any, data?: GetEventDataStoreCommandOutput) => void): void;
|
|
69
75
|
getEventDataStore(args: GetEventDataStoreCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetEventDataStoreCommandOutput) => void): void;
|
|
@@ -88,6 +94,10 @@ export declare class CloudTrail extends CloudTrailClient {
|
|
|
88
94
|
getTrailStatus(args: GetTrailStatusCommandInput, cb: (err: any, data?: GetTrailStatusCommandOutput) => void): void;
|
|
89
95
|
getTrailStatus(args: GetTrailStatusCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetTrailStatusCommandOutput) => void): void;
|
|
90
96
|
|
|
97
|
+
listChannels(args: ListChannelsCommandInput, options?: __HttpHandlerOptions): Promise<ListChannelsCommandOutput>;
|
|
98
|
+
listChannels(args: ListChannelsCommandInput, cb: (err: any, data?: ListChannelsCommandOutput) => void): void;
|
|
99
|
+
listChannels(args: ListChannelsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListChannelsCommandOutput) => void): void;
|
|
100
|
+
|
|
91
101
|
listEventDataStores(args: ListEventDataStoresCommandInput, options?: __HttpHandlerOptions): Promise<ListEventDataStoresCommandOutput>;
|
|
92
102
|
listEventDataStores(args: ListEventDataStoresCommandInput, cb: (err: any, data?: ListEventDataStoresCommandOutput) => void): void;
|
|
93
103
|
listEventDataStores(args: ListEventDataStoresCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListEventDataStoresCommandOutput) => void): void;
|
|
@@ -14,12 +14,14 @@ import { DeleteEventDataStoreCommandInput, DeleteEventDataStoreCommandOutput } f
|
|
|
14
14
|
import { DeleteTrailCommandInput, DeleteTrailCommandOutput } from "./commands/DeleteTrailCommand";
|
|
15
15
|
import { DescribeQueryCommandInput, DescribeQueryCommandOutput } from "./commands/DescribeQueryCommand";
|
|
16
16
|
import { DescribeTrailsCommandInput, DescribeTrailsCommandOutput } from "./commands/DescribeTrailsCommand";
|
|
17
|
+
import { GetChannelCommandInput, GetChannelCommandOutput } from "./commands/GetChannelCommand";
|
|
17
18
|
import { GetEventDataStoreCommandInput, GetEventDataStoreCommandOutput } from "./commands/GetEventDataStoreCommand";
|
|
18
19
|
import { GetEventSelectorsCommandInput, GetEventSelectorsCommandOutput } from "./commands/GetEventSelectorsCommand";
|
|
19
20
|
import { GetInsightSelectorsCommandInput, GetInsightSelectorsCommandOutput } from "./commands/GetInsightSelectorsCommand";
|
|
20
21
|
import { GetQueryResultsCommandInput, GetQueryResultsCommandOutput } from "./commands/GetQueryResultsCommand";
|
|
21
22
|
import { GetTrailCommandInput, GetTrailCommandOutput } from "./commands/GetTrailCommand";
|
|
22
23
|
import { GetTrailStatusCommandInput, GetTrailStatusCommandOutput } from "./commands/GetTrailStatusCommand";
|
|
24
|
+
import { ListChannelsCommandInput, ListChannelsCommandOutput } from "./commands/ListChannelsCommand";
|
|
23
25
|
import { ListEventDataStoresCommandInput, ListEventDataStoresCommandOutput } from "./commands/ListEventDataStoresCommand";
|
|
24
26
|
import { ListPublicKeysCommandInput, ListPublicKeysCommandOutput } from "./commands/ListPublicKeysCommand";
|
|
25
27
|
import { ListQueriesCommandInput, ListQueriesCommandOutput } from "./commands/ListQueriesCommand";
|
|
@@ -35,8 +37,8 @@ import { StartQueryCommandInput, StartQueryCommandOutput } from "./commands/Star
|
|
|
35
37
|
import { StopLoggingCommandInput, StopLoggingCommandOutput } from "./commands/StopLoggingCommand";
|
|
36
38
|
import { UpdateEventDataStoreCommandInput, UpdateEventDataStoreCommandOutput } from "./commands/UpdateEventDataStoreCommand";
|
|
37
39
|
import { UpdateTrailCommandInput, UpdateTrailCommandOutput } from "./commands/UpdateTrailCommand";
|
|
38
|
-
export declare type ServiceInputTypes = AddTagsCommandInput | CancelQueryCommandInput | CreateEventDataStoreCommandInput | CreateTrailCommandInput | DeleteEventDataStoreCommandInput | DeleteTrailCommandInput | DescribeQueryCommandInput | DescribeTrailsCommandInput | GetEventDataStoreCommandInput | GetEventSelectorsCommandInput | GetInsightSelectorsCommandInput | GetQueryResultsCommandInput | GetTrailCommandInput | GetTrailStatusCommandInput | ListEventDataStoresCommandInput | ListPublicKeysCommandInput | ListQueriesCommandInput | ListTagsCommandInput | ListTrailsCommandInput | LookupEventsCommandInput | PutEventSelectorsCommandInput | PutInsightSelectorsCommandInput | RemoveTagsCommandInput | RestoreEventDataStoreCommandInput | StartLoggingCommandInput | StartQueryCommandInput | StopLoggingCommandInput | UpdateEventDataStoreCommandInput | UpdateTrailCommandInput;
|
|
39
|
-
export declare type ServiceOutputTypes = AddTagsCommandOutput | CancelQueryCommandOutput | CreateEventDataStoreCommandOutput | CreateTrailCommandOutput | DeleteEventDataStoreCommandOutput | DeleteTrailCommandOutput | DescribeQueryCommandOutput | DescribeTrailsCommandOutput | GetEventDataStoreCommandOutput | GetEventSelectorsCommandOutput | GetInsightSelectorsCommandOutput | GetQueryResultsCommandOutput | GetTrailCommandOutput | GetTrailStatusCommandOutput | ListEventDataStoresCommandOutput | ListPublicKeysCommandOutput | ListQueriesCommandOutput | ListTagsCommandOutput | ListTrailsCommandOutput | LookupEventsCommandOutput | PutEventSelectorsCommandOutput | PutInsightSelectorsCommandOutput | RemoveTagsCommandOutput | RestoreEventDataStoreCommandOutput | StartLoggingCommandOutput | StartQueryCommandOutput | StopLoggingCommandOutput | UpdateEventDataStoreCommandOutput | UpdateTrailCommandOutput;
|
|
40
|
+
export declare type ServiceInputTypes = AddTagsCommandInput | CancelQueryCommandInput | CreateEventDataStoreCommandInput | CreateTrailCommandInput | DeleteEventDataStoreCommandInput | DeleteTrailCommandInput | DescribeQueryCommandInput | DescribeTrailsCommandInput | GetChannelCommandInput | GetEventDataStoreCommandInput | GetEventSelectorsCommandInput | GetInsightSelectorsCommandInput | GetQueryResultsCommandInput | GetTrailCommandInput | GetTrailStatusCommandInput | ListChannelsCommandInput | ListEventDataStoresCommandInput | ListPublicKeysCommandInput | ListQueriesCommandInput | ListTagsCommandInput | ListTrailsCommandInput | LookupEventsCommandInput | PutEventSelectorsCommandInput | PutInsightSelectorsCommandInput | RemoveTagsCommandInput | RestoreEventDataStoreCommandInput | StartLoggingCommandInput | StartQueryCommandInput | StopLoggingCommandInput | UpdateEventDataStoreCommandInput | UpdateTrailCommandInput;
|
|
41
|
+
export declare type ServiceOutputTypes = AddTagsCommandOutput | CancelQueryCommandOutput | CreateEventDataStoreCommandOutput | CreateTrailCommandOutput | DeleteEventDataStoreCommandOutput | DeleteTrailCommandOutput | DescribeQueryCommandOutput | DescribeTrailsCommandOutput | GetChannelCommandOutput | GetEventDataStoreCommandOutput | GetEventSelectorsCommandOutput | GetInsightSelectorsCommandOutput | GetQueryResultsCommandOutput | GetTrailCommandOutput | GetTrailStatusCommandOutput | ListChannelsCommandOutput | ListEventDataStoresCommandOutput | ListPublicKeysCommandOutput | ListQueriesCommandOutput | ListTagsCommandOutput | ListTrailsCommandOutput | LookupEventsCommandOutput | PutEventSelectorsCommandOutput | PutInsightSelectorsCommandOutput | RemoveTagsCommandOutput | RestoreEventDataStoreCommandOutput | StartLoggingCommandOutput | StartQueryCommandOutput | StopLoggingCommandOutput | UpdateEventDataStoreCommandOutput | UpdateTrailCommandOutput;
|
|
40
42
|
export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
|
|
41
43
|
|
|
42
44
|
requestHandler?: __HttpHandler;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { CloudTrailClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudTrailClient";
|
|
4
|
+
import { GetChannelRequest, GetChannelResponse } from "../models/models_0";
|
|
5
|
+
export interface GetChannelCommandInput extends GetChannelRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface GetChannelCommandOutput extends GetChannelResponse, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
export declare class GetChannelCommand extends $Command<GetChannelCommandInput, GetChannelCommandOutput, CloudTrailClientResolvedConfig> {
|
|
11
|
+
readonly input: GetChannelCommandInput;
|
|
12
|
+
constructor(input: GetChannelCommandInput);
|
|
13
|
+
|
|
14
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CloudTrailClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetChannelCommandInput, GetChannelCommandOutput>;
|
|
15
|
+
private serialize;
|
|
16
|
+
private deserialize;
|
|
17
|
+
}
|