@aws-sdk/client-cloudtrail 3.261.0 → 3.262.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.
Files changed (79) hide show
  1. package/README.md +13 -12
  2. package/dist-cjs/CloudTrail.js +90 -0
  3. package/dist-cjs/commands/CreateChannelCommand.js +46 -0
  4. package/dist-cjs/commands/DeleteChannelCommand.js +46 -0
  5. package/dist-cjs/commands/DeleteResourcePolicyCommand.js +46 -0
  6. package/dist-cjs/commands/GetResourcePolicyCommand.js +46 -0
  7. package/dist-cjs/commands/PutResourcePolicyCommand.js +46 -0
  8. package/dist-cjs/commands/UpdateChannelCommand.js +46 -0
  9. package/dist-cjs/commands/index.js +6 -0
  10. package/dist-cjs/endpoint/ruleset.js +1 -1
  11. package/dist-cjs/models/models_0.js +181 -30
  12. package/dist-cjs/protocols/Aws_json1_1.js +602 -2
  13. package/dist-es/CloudTrail.js +90 -0
  14. package/dist-es/commands/CreateChannelCommand.js +42 -0
  15. package/dist-es/commands/DeleteChannelCommand.js +42 -0
  16. package/dist-es/commands/DeleteResourcePolicyCommand.js +42 -0
  17. package/dist-es/commands/GetResourcePolicyCommand.js +42 -0
  18. package/dist-es/commands/PutResourcePolicyCommand.js +42 -0
  19. package/dist-es/commands/UpdateChannelCommand.js +42 -0
  20. package/dist-es/commands/index.js +6 -0
  21. package/dist-es/endpoint/ruleset.js +1 -1
  22. package/dist-es/models/models_0.js +152 -22
  23. package/dist-es/protocols/Aws_json1_1.js +589 -1
  24. package/dist-types/CloudTrail.d.ts +238 -164
  25. package/dist-types/CloudTrailClient.d.ts +21 -14
  26. package/dist-types/commands/AddTagsCommand.d.ts +7 -9
  27. package/dist-types/commands/CancelQueryCommand.d.ts +6 -3
  28. package/dist-types/commands/CreateChannelCommand.d.ts +39 -0
  29. package/dist-types/commands/DeleteChannelCommand.d.ts +37 -0
  30. package/dist-types/commands/DeleteEventDataStoreCommand.d.ts +10 -7
  31. package/dist-types/commands/DeleteResourcePolicyCommand.d.ts +39 -0
  32. package/dist-types/commands/DeregisterOrganizationDelegatedAdminCommand.d.ts +2 -1
  33. package/dist-types/commands/DescribeQueryCommand.d.ts +3 -2
  34. package/dist-types/commands/DescribeTrailsCommand.d.ts +2 -1
  35. package/dist-types/commands/GetChannelCommand.d.ts +1 -3
  36. package/dist-types/commands/GetEventDataStoreCommand.d.ts +2 -1
  37. package/dist-types/commands/GetEventSelectorsCommand.d.ts +10 -11
  38. package/dist-types/commands/GetImportCommand.d.ts +1 -3
  39. package/dist-types/commands/GetInsightSelectorsCommand.d.ts +6 -6
  40. package/dist-types/commands/GetQueryResultsCommand.d.ts +3 -2
  41. package/dist-types/commands/GetResourcePolicyCommand.d.ts +39 -0
  42. package/dist-types/commands/GetTrailStatusCommand.d.ts +5 -1
  43. package/dist-types/commands/ListChannelsCommand.d.ts +1 -3
  44. package/dist-types/commands/ListEventDataStoresCommand.d.ts +2 -1
  45. package/dist-types/commands/ListImportFailuresCommand.d.ts +1 -3
  46. package/dist-types/commands/ListImportsCommand.d.ts +2 -3
  47. package/dist-types/commands/ListPublicKeysCommand.d.ts +7 -4
  48. package/dist-types/commands/ListQueriesCommand.d.ts +7 -5
  49. package/dist-types/commands/ListTagsCommand.d.ts +1 -1
  50. package/dist-types/commands/LookupEventsCommand.d.ts +5 -5
  51. package/dist-types/commands/PutEventSelectorsCommand.d.ts +28 -31
  52. package/dist-types/commands/PutInsightSelectorsCommand.d.ts +5 -4
  53. package/dist-types/commands/PutResourcePolicyCommand.d.ts +41 -0
  54. package/dist-types/commands/RegisterOrganizationDelegatedAdminCommand.d.ts +2 -1
  55. package/dist-types/commands/RemoveTagsCommand.d.ts +1 -1
  56. package/dist-types/commands/RestoreEventDataStoreCommand.d.ts +4 -3
  57. package/dist-types/commands/StartImportCommand.d.ts +17 -13
  58. package/dist-types/commands/StartLoggingCommand.d.ts +4 -1
  59. package/dist-types/commands/StartQueryCommand.d.ts +3 -1
  60. package/dist-types/commands/StopImportCommand.d.ts +1 -3
  61. package/dist-types/commands/StopLoggingCommand.d.ts +7 -7
  62. package/dist-types/commands/UpdateChannelCommand.d.ts +37 -0
  63. package/dist-types/commands/UpdateEventDataStoreCommand.d.ts +11 -6
  64. package/dist-types/commands/UpdateTrailCommand.d.ts +6 -6
  65. package/dist-types/commands/index.d.ts +6 -0
  66. package/dist-types/models/models_0.d.ts +1428 -835
  67. package/dist-types/protocols/Aws_json1_1.d.ts +18 -0
  68. package/dist-types/ts3.4/CloudTrail.d.ts +102 -0
  69. package/dist-types/ts3.4/CloudTrailClient.d.ts +36 -0
  70. package/dist-types/ts3.4/commands/CreateChannelCommand.d.ts +37 -0
  71. package/dist-types/ts3.4/commands/DeleteChannelCommand.d.ts +37 -0
  72. package/dist-types/ts3.4/commands/DeleteResourcePolicyCommand.d.ts +41 -0
  73. package/dist-types/ts3.4/commands/GetResourcePolicyCommand.d.ts +38 -0
  74. package/dist-types/ts3.4/commands/PutResourcePolicyCommand.d.ts +38 -0
  75. package/dist-types/ts3.4/commands/UpdateChannelCommand.d.ts +37 -0
  76. package/dist-types/ts3.4/commands/index.d.ts +6 -0
  77. package/dist-types/ts3.4/models/models_0.d.ts +181 -22
  78. package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +72 -0
  79. package/package.json +2 -2
@@ -9,9 +9,12 @@ import { Client as __Client, DefaultsMode as __DefaultsMode, SmithyConfiguration
9
9
  import { BodyLengthCalculator as __BodyLengthCalculator, ChecksumConstructor as __ChecksumConstructor, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
10
10
  import { AddTagsCommandInput, AddTagsCommandOutput } from "./commands/AddTagsCommand";
11
11
  import { CancelQueryCommandInput, CancelQueryCommandOutput } from "./commands/CancelQueryCommand";
12
+ import { CreateChannelCommandInput, CreateChannelCommandOutput } from "./commands/CreateChannelCommand";
12
13
  import { CreateEventDataStoreCommandInput, CreateEventDataStoreCommandOutput } from "./commands/CreateEventDataStoreCommand";
13
14
  import { CreateTrailCommandInput, CreateTrailCommandOutput } from "./commands/CreateTrailCommand";
15
+ import { DeleteChannelCommandInput, DeleteChannelCommandOutput } from "./commands/DeleteChannelCommand";
14
16
  import { DeleteEventDataStoreCommandInput, DeleteEventDataStoreCommandOutput } from "./commands/DeleteEventDataStoreCommand";
17
+ import { DeleteResourcePolicyCommandInput, DeleteResourcePolicyCommandOutput } from "./commands/DeleteResourcePolicyCommand";
15
18
  import { DeleteTrailCommandInput, DeleteTrailCommandOutput } from "./commands/DeleteTrailCommand";
16
19
  import { DeregisterOrganizationDelegatedAdminCommandInput, DeregisterOrganizationDelegatedAdminCommandOutput } from "./commands/DeregisterOrganizationDelegatedAdminCommand";
17
20
  import { DescribeQueryCommandInput, DescribeQueryCommandOutput } from "./commands/DescribeQueryCommand";
@@ -22,6 +25,7 @@ import { GetEventSelectorsCommandInput, GetEventSelectorsCommandOutput } from ".
22
25
  import { GetImportCommandInput, GetImportCommandOutput } from "./commands/GetImportCommand";
23
26
  import { GetInsightSelectorsCommandInput, GetInsightSelectorsCommandOutput } from "./commands/GetInsightSelectorsCommand";
24
27
  import { GetQueryResultsCommandInput, GetQueryResultsCommandOutput } from "./commands/GetQueryResultsCommand";
28
+ import { GetResourcePolicyCommandInput, GetResourcePolicyCommandOutput } from "./commands/GetResourcePolicyCommand";
25
29
  import { GetTrailCommandInput, GetTrailCommandOutput } from "./commands/GetTrailCommand";
26
30
  import { GetTrailStatusCommandInput, GetTrailStatusCommandOutput } from "./commands/GetTrailStatusCommand";
27
31
  import { ListChannelsCommandInput, ListChannelsCommandOutput } from "./commands/ListChannelsCommand";
@@ -35,6 +39,7 @@ import { ListTrailsCommandInput, ListTrailsCommandOutput } from "./commands/List
35
39
  import { LookupEventsCommandInput, LookupEventsCommandOutput } from "./commands/LookupEventsCommand";
36
40
  import { PutEventSelectorsCommandInput, PutEventSelectorsCommandOutput } from "./commands/PutEventSelectorsCommand";
37
41
  import { PutInsightSelectorsCommandInput, PutInsightSelectorsCommandOutput } from "./commands/PutInsightSelectorsCommand";
42
+ import { PutResourcePolicyCommandInput, PutResourcePolicyCommandOutput } from "./commands/PutResourcePolicyCommand";
38
43
  import { RegisterOrganizationDelegatedAdminCommandInput, RegisterOrganizationDelegatedAdminCommandOutput } from "./commands/RegisterOrganizationDelegatedAdminCommand";
39
44
  import { RemoveTagsCommandInput, RemoveTagsCommandOutput } from "./commands/RemoveTagsCommand";
40
45
  import { RestoreEventDataStoreCommandInput, RestoreEventDataStoreCommandOutput } from "./commands/RestoreEventDataStoreCommand";
@@ -43,11 +48,12 @@ import { StartLoggingCommandInput, StartLoggingCommandOutput } from "./commands/
43
48
  import { StartQueryCommandInput, StartQueryCommandOutput } from "./commands/StartQueryCommand";
44
49
  import { StopImportCommandInput, StopImportCommandOutput } from "./commands/StopImportCommand";
45
50
  import { StopLoggingCommandInput, StopLoggingCommandOutput } from "./commands/StopLoggingCommand";
51
+ import { UpdateChannelCommandInput, UpdateChannelCommandOutput } from "./commands/UpdateChannelCommand";
46
52
  import { UpdateEventDataStoreCommandInput, UpdateEventDataStoreCommandOutput } from "./commands/UpdateEventDataStoreCommand";
47
53
  import { UpdateTrailCommandInput, UpdateTrailCommandOutput } from "./commands/UpdateTrailCommand";
48
54
  import { ClientInputEndpointParameters, ClientResolvedEndpointParameters, EndpointParameters } from "./endpoint/EndpointParameters";
49
- export declare type ServiceInputTypes = AddTagsCommandInput | CancelQueryCommandInput | CreateEventDataStoreCommandInput | CreateTrailCommandInput | DeleteEventDataStoreCommandInput | DeleteTrailCommandInput | DeregisterOrganizationDelegatedAdminCommandInput | DescribeQueryCommandInput | DescribeTrailsCommandInput | GetChannelCommandInput | GetEventDataStoreCommandInput | GetEventSelectorsCommandInput | GetImportCommandInput | GetInsightSelectorsCommandInput | GetQueryResultsCommandInput | GetTrailCommandInput | GetTrailStatusCommandInput | ListChannelsCommandInput | ListEventDataStoresCommandInput | ListImportFailuresCommandInput | ListImportsCommandInput | ListPublicKeysCommandInput | ListQueriesCommandInput | ListTagsCommandInput | ListTrailsCommandInput | LookupEventsCommandInput | PutEventSelectorsCommandInput | PutInsightSelectorsCommandInput | RegisterOrganizationDelegatedAdminCommandInput | RemoveTagsCommandInput | RestoreEventDataStoreCommandInput | StartImportCommandInput | StartLoggingCommandInput | StartQueryCommandInput | StopImportCommandInput | StopLoggingCommandInput | UpdateEventDataStoreCommandInput | UpdateTrailCommandInput;
50
- export declare type ServiceOutputTypes = AddTagsCommandOutput | CancelQueryCommandOutput | CreateEventDataStoreCommandOutput | CreateTrailCommandOutput | DeleteEventDataStoreCommandOutput | DeleteTrailCommandOutput | DeregisterOrganizationDelegatedAdminCommandOutput | DescribeQueryCommandOutput | DescribeTrailsCommandOutput | GetChannelCommandOutput | GetEventDataStoreCommandOutput | GetEventSelectorsCommandOutput | GetImportCommandOutput | GetInsightSelectorsCommandOutput | GetQueryResultsCommandOutput | GetTrailCommandOutput | GetTrailStatusCommandOutput | ListChannelsCommandOutput | ListEventDataStoresCommandOutput | ListImportFailuresCommandOutput | ListImportsCommandOutput | ListPublicKeysCommandOutput | ListQueriesCommandOutput | ListTagsCommandOutput | ListTrailsCommandOutput | LookupEventsCommandOutput | PutEventSelectorsCommandOutput | PutInsightSelectorsCommandOutput | RegisterOrganizationDelegatedAdminCommandOutput | RemoveTagsCommandOutput | RestoreEventDataStoreCommandOutput | StartImportCommandOutput | StartLoggingCommandOutput | StartQueryCommandOutput | StopImportCommandOutput | StopLoggingCommandOutput | UpdateEventDataStoreCommandOutput | UpdateTrailCommandOutput;
55
+ export declare type ServiceInputTypes = AddTagsCommandInput | CancelQueryCommandInput | CreateChannelCommandInput | CreateEventDataStoreCommandInput | CreateTrailCommandInput | DeleteChannelCommandInput | DeleteEventDataStoreCommandInput | DeleteResourcePolicyCommandInput | DeleteTrailCommandInput | DeregisterOrganizationDelegatedAdminCommandInput | DescribeQueryCommandInput | DescribeTrailsCommandInput | GetChannelCommandInput | GetEventDataStoreCommandInput | GetEventSelectorsCommandInput | GetImportCommandInput | GetInsightSelectorsCommandInput | GetQueryResultsCommandInput | GetResourcePolicyCommandInput | GetTrailCommandInput | GetTrailStatusCommandInput | ListChannelsCommandInput | ListEventDataStoresCommandInput | ListImportFailuresCommandInput | ListImportsCommandInput | ListPublicKeysCommandInput | ListQueriesCommandInput | ListTagsCommandInput | ListTrailsCommandInput | LookupEventsCommandInput | PutEventSelectorsCommandInput | PutInsightSelectorsCommandInput | PutResourcePolicyCommandInput | RegisterOrganizationDelegatedAdminCommandInput | RemoveTagsCommandInput | RestoreEventDataStoreCommandInput | StartImportCommandInput | StartLoggingCommandInput | StartQueryCommandInput | StopImportCommandInput | StopLoggingCommandInput | UpdateChannelCommandInput | UpdateEventDataStoreCommandInput | UpdateTrailCommandInput;
56
+ export declare type ServiceOutputTypes = AddTagsCommandOutput | CancelQueryCommandOutput | CreateChannelCommandOutput | CreateEventDataStoreCommandOutput | CreateTrailCommandOutput | DeleteChannelCommandOutput | DeleteEventDataStoreCommandOutput | DeleteResourcePolicyCommandOutput | DeleteTrailCommandOutput | DeregisterOrganizationDelegatedAdminCommandOutput | DescribeQueryCommandOutput | DescribeTrailsCommandOutput | GetChannelCommandOutput | GetEventDataStoreCommandOutput | GetEventSelectorsCommandOutput | GetImportCommandOutput | GetInsightSelectorsCommandOutput | GetQueryResultsCommandOutput | GetResourcePolicyCommandOutput | GetTrailCommandOutput | GetTrailStatusCommandOutput | ListChannelsCommandOutput | ListEventDataStoresCommandOutput | ListImportFailuresCommandOutput | ListImportsCommandOutput | ListPublicKeysCommandOutput | ListQueriesCommandOutput | ListTagsCommandOutput | ListTrailsCommandOutput | LookupEventsCommandOutput | PutEventSelectorsCommandOutput | PutInsightSelectorsCommandOutput | PutResourcePolicyCommandOutput | RegisterOrganizationDelegatedAdminCommandOutput | RemoveTagsCommandOutput | RestoreEventDataStoreCommandOutput | StartImportCommandOutput | StartLoggingCommandOutput | StartQueryCommandOutput | StopImportCommandOutput | StopLoggingCommandOutput | UpdateChannelCommandOutput | UpdateEventDataStoreCommandOutput | UpdateTrailCommandOutput;
51
57
  export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
52
58
  /**
53
59
  * The HTTP handler to use. Fetch in browser and Https in Nodejs.
@@ -162,20 +168,21 @@ export interface CloudTrailClientResolvedConfig extends CloudTrailClientResolved
162
168
  }
163
169
  /**
164
170
  * <fullname>CloudTrail</fullname>
165
- * <p>This is the CloudTrail API Reference. It provides descriptions of actions, data types, common parameters, and common errors for CloudTrail.</p>
166
- * <p>CloudTrail is a web service that records Amazon Web Services API calls for your Amazon Web Services account and delivers log files to an Amazon S3 bucket.
167
- * The recorded information includes the identity of the user, the start time of the Amazon Web Services API call, the source IP address, the request parameters, and the response elements returned by the service.</p>
171
+ * <p>This is the CloudTrail API Reference. It provides descriptions of actions, data
172
+ * types, common parameters, and common errors for CloudTrail.</p>
173
+ * <p>CloudTrail is a web service that records Amazon Web Services API calls for your
174
+ * Amazon Web Services account and delivers log files to an Amazon S3 bucket. The
175
+ * recorded information includes the identity of the user, the start time of the Amazon Web Services API call, the source IP address, the request parameters, and the response
176
+ * elements returned by the service.</p>
168
177
  * <note>
169
- * <p>As an alternative to the API,
170
- * you can use one of the Amazon Web Services SDKs, which consist of libraries and sample code for various
171
- * programming languages and platforms (Java, Ruby, .NET, iOS, Android, etc.). The SDKs
172
- * provide programmatic access to CloudTrail. For example, the SDKs
173
- * handle cryptographically signing requests, managing errors, and retrying requests
174
- * automatically. For more information about the Amazon Web Services SDKs, including how to download and install
175
- * them, see <a href="http://aws.amazon.com/tools/">Tools to Build on Amazon Web Services</a>.</p>
178
+ * <p>As an alternative to the API, you can use one of the Amazon Web Services SDKs, which
179
+ * consist of libraries and sample code for various programming languages and platforms
180
+ * (Java, Ruby, .NET, iOS, Android, etc.). The SDKs provide programmatic access to CloudTrail. For example, the SDKs handle cryptographically signing requests,
181
+ * managing errors, and retrying requests automatically. For more information about the
182
+ * Amazon Web Services SDKs, including how to download and install them, see <a href="http://aws.amazon.com/tools/">Tools to Build on Amazon Web Services</a>.</p>
176
183
  * </note>
177
- * <p>See the <a href="https://docs.aws.amazon.com/awscloudtrail/latest/userguide/cloudtrail-user-guide.html">CloudTrail User
178
- * Guide</a> for information about the data that is included with each Amazon Web Services API call listed in the log files.</p>
184
+ * <p>See the <a href="https://docs.aws.amazon.com/awscloudtrail/latest/userguide/cloudtrail-user-guide.html">CloudTrail
185
+ * User Guide</a> for information about the data that is included with each Amazon Web Services API call listed in the log files.</p>
179
186
  */
180
187
  export declare class CloudTrailClient extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, CloudTrailClientResolvedConfig> {
181
188
  /**
@@ -8,15 +8,13 @@ export interface AddTagsCommandInput extends AddTagsRequest {
8
8
  export interface AddTagsCommandOutput extends AddTagsResponse, __MetadataBearer {
9
9
  }
10
10
  /**
11
- * <p>Adds one or more tags to a trail or event data store, up to a limit of 50. Overwrites an
12
- * existing tag's value when a new value is specified for an existing tag key.
13
- * Tag key names must be unique for a trail; you cannot have two keys with the same name but
14
- * different values.
15
- * If you specify a key without a value, the tag will be created with the specified key and a
16
- * value of null.
17
- * You can tag a trail or event data store that applies to all Amazon Web Services Regions
18
- * only from the Region in which the trail or event data store was created (also known as its
19
- * home region).</p>
11
+ * <p>Adds one or more tags to a trail, event data store, or channel, up to a limit of 50. Overwrites an
12
+ * existing tag's value when a new value is specified for an existing tag key. Tag key names
13
+ * must be unique; you cannot have two keys with the same name but different
14
+ * values. If you specify a key without a value, the tag will be created with the specified
15
+ * key and a value of null. You can tag a trail or event data store that applies to all
16
+ * Amazon Web Services Regions only from the Region in which the trail or event data store
17
+ * was created (also known as its home region).</p>
20
18
  * @example
21
19
  * Use a bare-bones client and the command you need to make an API call.
22
20
  * ```javascript
@@ -8,9 +8,12 @@ export interface CancelQueryCommandInput extends CancelQueryRequest {
8
8
  export interface CancelQueryCommandOutput extends CancelQueryResponse, __MetadataBearer {
9
9
  }
10
10
  /**
11
- * <p>Cancels a query if the query is not in a terminated state, such as <code>CANCELLED</code>, <code>FAILED</code>, <code>TIMED_OUT</code>, or <code>FINISHED</code>. You must specify an ARN value for <code>EventDataStore</code>.
12
- * The ID of the query that you want to cancel is also required. When you run <code>CancelQuery</code>, the query status might
13
- * show as <code>CANCELLED</code> even if the operation is not yet finished.</p>
11
+ * <p>Cancels a query if the query is not in a terminated state, such as
12
+ * <code>CANCELLED</code>, <code>FAILED</code>, <code>TIMED_OUT</code>, or
13
+ * <code>FINISHED</code>. You must specify an ARN value for <code>EventDataStore</code>.
14
+ * The ID of the query that you want to cancel is also required. When you run
15
+ * <code>CancelQuery</code>, the query status might show as <code>CANCELLED</code> even if
16
+ * the operation is not yet finished.</p>
14
17
  * @example
15
18
  * Use a bare-bones client and the command you need to make an API call.
16
19
  * ```javascript
@@ -0,0 +1,39 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
+ import { Command as $Command } from "@aws-sdk/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
+ import { CloudTrailClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudTrailClient";
5
+ import { CreateChannelRequest, CreateChannelResponse } from "../models/models_0";
6
+ export interface CreateChannelCommandInput extends CreateChannelRequest {
7
+ }
8
+ export interface CreateChannelCommandOutput extends CreateChannelResponse, __MetadataBearer {
9
+ }
10
+ /**
11
+ * <p>Creates a channel for CloudTrail to ingest events from a partner or external source.
12
+ * After you create a channel, a CloudTrail Lake event data store can log events
13
+ * from the partner or source that you specify.</p>
14
+ * @example
15
+ * Use a bare-bones client and the command you need to make an API call.
16
+ * ```javascript
17
+ * import { CloudTrailClient, CreateChannelCommand } from "@aws-sdk/client-cloudtrail"; // ES Modules import
18
+ * // const { CloudTrailClient, CreateChannelCommand } = require("@aws-sdk/client-cloudtrail"); // CommonJS import
19
+ * const client = new CloudTrailClient(config);
20
+ * const command = new CreateChannelCommand(input);
21
+ * const response = await client.send(command);
22
+ * ```
23
+ *
24
+ * @see {@link CreateChannelCommandInput} for command's `input` shape.
25
+ * @see {@link CreateChannelCommandOutput} for command's `response` shape.
26
+ * @see {@link CloudTrailClientResolvedConfig | config} for CloudTrailClient's `config` shape.
27
+ *
28
+ */
29
+ export declare class CreateChannelCommand extends $Command<CreateChannelCommandInput, CreateChannelCommandOutput, CloudTrailClientResolvedConfig> {
30
+ readonly input: CreateChannelCommandInput;
31
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
32
+ constructor(input: CreateChannelCommandInput);
33
+ /**
34
+ * @internal
35
+ */
36
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CloudTrailClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateChannelCommandInput, CreateChannelCommandOutput>;
37
+ private serialize;
38
+ private deserialize;
39
+ }
@@ -0,0 +1,37 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
+ import { Command as $Command } from "@aws-sdk/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
+ import { CloudTrailClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudTrailClient";
5
+ import { DeleteChannelRequest, DeleteChannelResponse } from "../models/models_0";
6
+ export interface DeleteChannelCommandInput extends DeleteChannelRequest {
7
+ }
8
+ export interface DeleteChannelCommandOutput extends DeleteChannelResponse, __MetadataBearer {
9
+ }
10
+ /**
11
+ * <p>Deletes a channel.</p>
12
+ * @example
13
+ * Use a bare-bones client and the command you need to make an API call.
14
+ * ```javascript
15
+ * import { CloudTrailClient, DeleteChannelCommand } from "@aws-sdk/client-cloudtrail"; // ES Modules import
16
+ * // const { CloudTrailClient, DeleteChannelCommand } = require("@aws-sdk/client-cloudtrail"); // CommonJS import
17
+ * const client = new CloudTrailClient(config);
18
+ * const command = new DeleteChannelCommand(input);
19
+ * const response = await client.send(command);
20
+ * ```
21
+ *
22
+ * @see {@link DeleteChannelCommandInput} for command's `input` shape.
23
+ * @see {@link DeleteChannelCommandOutput} for command's `response` shape.
24
+ * @see {@link CloudTrailClientResolvedConfig | config} for CloudTrailClient's `config` shape.
25
+ *
26
+ */
27
+ export declare class DeleteChannelCommand extends $Command<DeleteChannelCommandInput, DeleteChannelCommandOutput, CloudTrailClientResolvedConfig> {
28
+ readonly input: DeleteChannelCommandInput;
29
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
30
+ constructor(input: DeleteChannelCommandInput);
31
+ /**
32
+ * @internal
33
+ */
34
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CloudTrailClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteChannelCommandInput, DeleteChannelCommandOutput>;
35
+ private serialize;
36
+ private deserialize;
37
+ }
@@ -8,13 +8,16 @@ export interface DeleteEventDataStoreCommandInput extends DeleteEventDataStoreRe
8
8
  export interface DeleteEventDataStoreCommandOutput extends DeleteEventDataStoreResponse, __MetadataBearer {
9
9
  }
10
10
  /**
11
- * <p>Disables the event data store specified by <code>EventDataStore</code>, which accepts an event data store ARN.
12
- * After you run <code>DeleteEventDataStore</code>, the event data store enters a <code>PENDING_DELETION</code> state, and is automatically deleted after a wait period of
13
- * seven days. <code>TerminationProtectionEnabled</code> must be set to <code>False</code> on the event data store; this
14
- * operation cannot work if <code>TerminationProtectionEnabled</code> is <code>True</code>.</p>
15
- * <p>After you run <code>DeleteEventDataStore</code> on an event data store, you cannot run <code>ListQueries</code>,
16
- * <code>DescribeQuery</code>, or <code>GetQueryResults</code> on queries that are using an event data store in a
17
- * <code>PENDING_DELETION</code> state. An event data store in the <code>PENDING_DELETION</code> state does not incur costs.</p>
11
+ * <p>Disables the event data store specified by <code>EventDataStore</code>, which accepts an
12
+ * event data store ARN. After you run <code>DeleteEventDataStore</code>, the event data store
13
+ * enters a <code>PENDING_DELETION</code> state, and is automatically deleted after a wait
14
+ * period of seven days. <code>TerminationProtectionEnabled</code> must be set to
15
+ * <code>False</code> on the event data store; this operation cannot work if
16
+ * <code>TerminationProtectionEnabled</code> is <code>True</code>.</p>
17
+ * <p>After you run <code>DeleteEventDataStore</code> on an event data store, you cannot run
18
+ * <code>ListQueries</code>, <code>DescribeQuery</code>, or <code>GetQueryResults</code> on
19
+ * queries that are using an event data store in a <code>PENDING_DELETION</code> state. An
20
+ * event data store in the <code>PENDING_DELETION</code> state does not incur costs.</p>
18
21
  * @example
19
22
  * Use a bare-bones client and the command you need to make an API call.
20
23
  * ```javascript
@@ -0,0 +1,39 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
+ import { Command as $Command } from "@aws-sdk/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
+ import { CloudTrailClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudTrailClient";
5
+ import { DeleteResourcePolicyRequest, DeleteResourcePolicyResponse } from "../models/models_0";
6
+ export interface DeleteResourcePolicyCommandInput extends DeleteResourcePolicyRequest {
7
+ }
8
+ export interface DeleteResourcePolicyCommandOutput extends DeleteResourcePolicyResponse, __MetadataBearer {
9
+ }
10
+ /**
11
+ * <p>
12
+ * Deletes the resource-based policy attached to the CloudTrail channel.
13
+ * </p>
14
+ * @example
15
+ * Use a bare-bones client and the command you need to make an API call.
16
+ * ```javascript
17
+ * import { CloudTrailClient, DeleteResourcePolicyCommand } from "@aws-sdk/client-cloudtrail"; // ES Modules import
18
+ * // const { CloudTrailClient, DeleteResourcePolicyCommand } = require("@aws-sdk/client-cloudtrail"); // CommonJS import
19
+ * const client = new CloudTrailClient(config);
20
+ * const command = new DeleteResourcePolicyCommand(input);
21
+ * const response = await client.send(command);
22
+ * ```
23
+ *
24
+ * @see {@link DeleteResourcePolicyCommandInput} for command's `input` shape.
25
+ * @see {@link DeleteResourcePolicyCommandOutput} for command's `response` shape.
26
+ * @see {@link CloudTrailClientResolvedConfig | config} for CloudTrailClient's `config` shape.
27
+ *
28
+ */
29
+ export declare class DeleteResourcePolicyCommand extends $Command<DeleteResourcePolicyCommandInput, DeleteResourcePolicyCommandOutput, CloudTrailClientResolvedConfig> {
30
+ readonly input: DeleteResourcePolicyCommandInput;
31
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
32
+ constructor(input: DeleteResourcePolicyCommandInput);
33
+ /**
34
+ * @internal
35
+ */
36
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CloudTrailClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteResourcePolicyCommandInput, DeleteResourcePolicyCommandOutput>;
37
+ private serialize;
38
+ private deserialize;
39
+ }
@@ -8,7 +8,8 @@ export interface DeregisterOrganizationDelegatedAdminCommandInput extends Deregi
8
8
  export interface DeregisterOrganizationDelegatedAdminCommandOutput extends DeregisterOrganizationDelegatedAdminResponse, __MetadataBearer {
9
9
  }
10
10
  /**
11
- * <p>Removes CloudTrail delegated administrator permissions from a member account in an organization.</p>
11
+ * <p>Removes CloudTrail delegated administrator permissions from a member account in
12
+ * an organization.</p>
12
13
  * @example
13
14
  * Use a bare-bones client and the command you need to make an API call.
14
15
  * ```javascript
@@ -8,8 +8,9 @@ export interface DescribeQueryCommandInput extends DescribeQueryRequest {
8
8
  export interface DescribeQueryCommandOutput extends DescribeQueryResponse, __MetadataBearer {
9
9
  }
10
10
  /**
11
- * <p>Returns metadata about a query, including query run time in milliseconds, number of events scanned and matched, and query
12
- * status. You must specify an ARN for <code>EventDataStore</code>, and a value for <code>QueryID</code>.</p>
11
+ * <p>Returns metadata about a query, including query run time in milliseconds, number of
12
+ * events scanned and matched, and query status. You must specify an ARN for
13
+ * <code>EventDataStore</code>, and a value for <code>QueryID</code>.</p>
13
14
  * @example
14
15
  * Use a bare-bones client and the command you need to make an API call.
15
16
  * ```javascript
@@ -8,7 +8,8 @@ export interface DescribeTrailsCommandInput extends DescribeTrailsRequest {
8
8
  export interface DescribeTrailsCommandOutput extends DescribeTrailsResponse, __MetadataBearer {
9
9
  }
10
10
  /**
11
- * <p>Retrieves settings for one or more trails associated with the current region for your account.</p>
11
+ * <p>Retrieves settings for one or more trails associated with the current region for your
12
+ * account.</p>
12
13
  * @example
13
14
  * Use a bare-bones client and the command you need to make an API call.
14
15
  * ```javascript
@@ -8,9 +8,7 @@ export interface GetChannelCommandInput extends GetChannelRequest {
8
8
  export interface GetChannelCommandOutput extends GetChannelResponse, __MetadataBearer {
9
9
  }
10
10
  /**
11
- * <p>
12
- * Returns information about a specific channel. Amazon Web Services services create service-linked channels to get information about CloudTrail events on your behalf. For more information about
13
- * service-linked channels, see <a href="https://docs.aws.amazon.com/awscloudtrail/latest/userguide/viewing-service-linked-channels.html">Viewing service-linked channels for CloudTrail by using the CLI</a>.
11
+ * <p> Returns information about a specific channel.
14
12
  * </p>
15
13
  * @example
16
14
  * Use a bare-bones client and the command you need to make an API call.
@@ -8,7 +8,8 @@ export interface GetEventDataStoreCommandInput extends GetEventDataStoreRequest
8
8
  export interface GetEventDataStoreCommandOutput extends GetEventDataStoreResponse, __MetadataBearer {
9
9
  }
10
10
  /**
11
- * <p>Returns information about an event data store specified as either an ARN or the ID portion of the ARN.</p>
11
+ * <p>Returns information about an event data store specified as either an ARN or the ID
12
+ * portion of the ARN.</p>
12
13
  * @example
13
14
  * Use a bare-bones client and the command you need to make an API call.
14
15
  * ```javascript
@@ -8,33 +8,32 @@ export interface GetEventSelectorsCommandInput extends GetEventSelectorsRequest
8
8
  export interface GetEventSelectorsCommandOutput extends GetEventSelectorsResponse, __MetadataBearer {
9
9
  }
10
10
  /**
11
- * <p>Describes the settings for the event selectors that you configured for your trail.
12
- * The information returned for your event selectors includes the following:</p>
11
+ * <p>Describes the settings for the event selectors that you configured for your trail. The
12
+ * information returned for your event selectors includes the following:</p>
13
13
  * <ul>
14
14
  * <li>
15
- * <p>If your event selector includes read-only events, write-only events, or
16
- * all events. This applies to both management events and data events.</p>
15
+ * <p>If your event selector includes read-only events, write-only events, or all
16
+ * events. This applies to both management events and data events.</p>
17
17
  * </li>
18
18
  * <li>
19
19
  * <p>If your event selector includes management events.</p>
20
20
  * </li>
21
21
  * <li>
22
- * <p>If your event selector includes data events, the resources on which you are logging data
23
- * events.</p>
22
+ * <p>If your event selector includes data events, the resources on which you are
23
+ * logging data events.</p>
24
24
  * </li>
25
25
  * </ul>
26
- * <p>For more information about logging management and data events, see the following topics in the <i>CloudTrail User Guide</i>:</p>
26
+ * <p>For more information about logging management and data events, see the following topics
27
+ * in the <i>CloudTrail User Guide</i>:</p>
27
28
  * <ul>
28
29
  * <li>
29
30
  * <p>
30
- * <a href="https://docs.aws.amazon.com/awscloudtrail/latest/userguide/logging-management-events-with-cloudtrail.html">Logging management events for trails
31
- * </a>
31
+ * <a href="https://docs.aws.amazon.com/awscloudtrail/latest/userguide/logging-management-events-with-cloudtrail.html">Logging management events for trails </a>
32
32
  * </p>
33
33
  * </li>
34
34
  * <li>
35
35
  * <p>
36
- * <a href="https://docs.aws.amazon.com/awscloudtrail/latest/userguide/logging-data-events-with-cloudtrail.html">Logging data events for trails
37
- * </a>
36
+ * <a href="https://docs.aws.amazon.com/awscloudtrail/latest/userguide/logging-data-events-with-cloudtrail.html">Logging data events for trails </a>
38
37
  * </p>
39
38
  * </li>
40
39
  * </ul>
@@ -8,9 +8,7 @@ export interface GetImportCommandInput extends GetImportRequest {
8
8
  export interface GetImportCommandOutput extends GetImportResponse, __MetadataBearer {
9
9
  }
10
10
  /**
11
- * <p>
12
- * Returns information about a specific import.
13
- * </p>
11
+ * <p> Returns information about a specific import. </p>
14
12
  * @example
15
13
  * Use a bare-bones client and the command you need to make an API call.
16
14
  * ```javascript
@@ -8,13 +8,13 @@ export interface GetInsightSelectorsCommandInput extends GetInsightSelectorsRequ
8
8
  export interface GetInsightSelectorsCommandOutput extends GetInsightSelectorsResponse, __MetadataBearer {
9
9
  }
10
10
  /**
11
- * <p>Describes the settings for the Insights event selectors that you configured for your trail. <code>GetInsightSelectors</code> shows
12
- * if CloudTrail Insights event logging is enabled on the trail, and if it is, which insight types are enabled.
13
- * If you run <code>GetInsightSelectors</code> on a trail that does not have Insights events enabled, the operation throws the exception
14
- * <code>InsightNotEnabledException</code>
11
+ * <p>Describes the settings for the Insights event selectors that you configured for your
12
+ * trail. <code>GetInsightSelectors</code> shows if CloudTrail Insights event logging
13
+ * is enabled on the trail, and if it is, which insight types are enabled. If you run
14
+ * <code>GetInsightSelectors</code> on a trail that does not have Insights events enabled,
15
+ * the operation throws the exception <code>InsightNotEnabledException</code>
15
16
  * </p>
16
- * <p>For more information, see <a href="https://docs.aws.amazon.com/awscloudtrail/latest/userguide/logging-insights-events-with-cloudtrail.html">Logging CloudTrail Insights Events for Trails
17
- * </a> in the <i>CloudTrail User Guide</i>.</p>
17
+ * <p>For more information, see <a href="https://docs.aws.amazon.com/awscloudtrail/latest/userguide/logging-insights-events-with-cloudtrail.html">Logging CloudTrail Insights Events for Trails </a> in the <i>CloudTrail User Guide</i>.</p>
18
18
  * @example
19
19
  * Use a bare-bones client and the command you need to make an API call.
20
20
  * ```javascript
@@ -8,8 +8,9 @@ export interface GetQueryResultsCommandInput extends GetQueryResultsRequest {
8
8
  export interface GetQueryResultsCommandOutput extends GetQueryResultsResponse, __MetadataBearer {
9
9
  }
10
10
  /**
11
- * <p>Gets event data results of a query. You must specify the <code>QueryID</code> value returned by the <code>StartQuery</code>
12
- * operation, and an ARN for <code>EventDataStore</code>.</p>
11
+ * <p>Gets event data results of a query. You must specify the <code>QueryID</code> value
12
+ * returned by the <code>StartQuery</code> operation, and an ARN for
13
+ * <code>EventDataStore</code>.</p>
13
14
  * @example
14
15
  * Use a bare-bones client and the command you need to make an API call.
15
16
  * ```javascript
@@ -0,0 +1,39 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
+ import { Command as $Command } from "@aws-sdk/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
+ import { CloudTrailClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudTrailClient";
5
+ import { GetResourcePolicyRequest, GetResourcePolicyResponse } from "../models/models_0";
6
+ export interface GetResourcePolicyCommandInput extends GetResourcePolicyRequest {
7
+ }
8
+ export interface GetResourcePolicyCommandOutput extends GetResourcePolicyResponse, __MetadataBearer {
9
+ }
10
+ /**
11
+ * <p>
12
+ * Retrieves the JSON text of the resource-based policy document attached to the CloudTrail channel.
13
+ * </p>
14
+ * @example
15
+ * Use a bare-bones client and the command you need to make an API call.
16
+ * ```javascript
17
+ * import { CloudTrailClient, GetResourcePolicyCommand } from "@aws-sdk/client-cloudtrail"; // ES Modules import
18
+ * // const { CloudTrailClient, GetResourcePolicyCommand } = require("@aws-sdk/client-cloudtrail"); // CommonJS import
19
+ * const client = new CloudTrailClient(config);
20
+ * const command = new GetResourcePolicyCommand(input);
21
+ * const response = await client.send(command);
22
+ * ```
23
+ *
24
+ * @see {@link GetResourcePolicyCommandInput} for command's `input` shape.
25
+ * @see {@link GetResourcePolicyCommandOutput} for command's `response` shape.
26
+ * @see {@link CloudTrailClientResolvedConfig | config} for CloudTrailClient's `config` shape.
27
+ *
28
+ */
29
+ export declare class GetResourcePolicyCommand extends $Command<GetResourcePolicyCommandInput, GetResourcePolicyCommandOutput, CloudTrailClientResolvedConfig> {
30
+ readonly input: GetResourcePolicyCommandInput;
31
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
32
+ constructor(input: GetResourcePolicyCommandInput);
33
+ /**
34
+ * @internal
35
+ */
36
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CloudTrailClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetResourcePolicyCommandInput, GetResourcePolicyCommandOutput>;
37
+ private serialize;
38
+ private deserialize;
39
+ }
@@ -8,7 +8,11 @@ export interface GetTrailStatusCommandInput extends GetTrailStatusRequest {
8
8
  export interface GetTrailStatusCommandOutput extends GetTrailStatusResponse, __MetadataBearer {
9
9
  }
10
10
  /**
11
- * <p>Returns a JSON-formatted list of information about the specified trail. Fields include information on delivery errors, Amazon SNS and Amazon S3 errors, and start and stop logging times for each trail. This operation returns trail status from a single region. To return trail status from all regions, you must call the operation on each region.</p>
11
+ * <p>Returns a JSON-formatted list of information about the specified trail. Fields include
12
+ * information on delivery errors, Amazon SNS and Amazon S3 errors, and start
13
+ * and stop logging times for each trail. This operation returns trail status from a single
14
+ * region. To return trail status from all regions, you must call the operation on each
15
+ * region.</p>
12
16
  * @example
13
17
  * Use a bare-bones client and the command you need to make an API call.
14
18
  * ```javascript
@@ -8,9 +8,7 @@ export interface ListChannelsCommandInput extends ListChannelsRequest {
8
8
  export interface ListChannelsCommandOutput extends ListChannelsResponse, __MetadataBearer {
9
9
  }
10
10
  /**
11
- * <p>
12
- * Lists the channels in the current account, and their source names. Amazon Web Services services create service-linked channels get information about CloudTrail events on your behalf. For more information about
13
- * service-linked channels, see <a href="https://docs.aws.amazon.com/awscloudtrail/latest/userguide/viewing-service-linked-channels.html">Viewing service-linked channels for CloudTrail by using the CLI</a>.
11
+ * <p> Lists the channels in the current account, and their source names.
14
12
  * </p>
15
13
  * @example
16
14
  * Use a bare-bones client and the command you need to make an API call.
@@ -8,7 +8,8 @@ export interface ListEventDataStoresCommandInput extends ListEventDataStoresRequ
8
8
  export interface ListEventDataStoresCommandOutput extends ListEventDataStoresResponse, __MetadataBearer {
9
9
  }
10
10
  /**
11
- * <p>Returns information about all event data stores in the account, in the current region.</p>
11
+ * <p>Returns information about all event data stores in the account, in the current
12
+ * region.</p>
12
13
  * @example
13
14
  * Use a bare-bones client and the command you need to make an API call.
14
15
  * ```javascript
@@ -8,9 +8,7 @@ export interface ListImportFailuresCommandInput extends ListImportFailuresReques
8
8
  export interface ListImportFailuresCommandOutput extends ListImportFailuresResponse, __MetadataBearer {
9
9
  }
10
10
  /**
11
- * <p>
12
- * Returns a list of failures for the specified import.
13
- * </p>
11
+ * <p> Returns a list of failures for the specified import. </p>
14
12
  * @example
15
13
  * Use a bare-bones client and the command you need to make an API call.
16
14
  * ```javascript
@@ -8,9 +8,8 @@ export interface ListImportsCommandInput extends ListImportsRequest {
8
8
  export interface ListImportsCommandOutput extends ListImportsResponse, __MetadataBearer {
9
9
  }
10
10
  /**
11
- * <p>
12
- * Returns information on all imports, or a select set of imports by <code>ImportStatus</code> or <code>Destination</code>.
13
- * </p>
11
+ * <p> Returns information on all imports, or a select set of imports by
12
+ * <code>ImportStatus</code> or <code>Destination</code>. </p>
14
13
  * @example
15
14
  * Use a bare-bones client and the command you need to make an API call.
16
15
  * ```javascript
@@ -8,11 +8,14 @@ export interface ListPublicKeysCommandInput extends ListPublicKeysRequest {
8
8
  export interface ListPublicKeysCommandOutput extends ListPublicKeysResponse, __MetadataBearer {
9
9
  }
10
10
  /**
11
- * <p>Returns all public keys whose private keys were used to sign the digest files within the specified time range. The public key is needed to validate digest files that were signed with its corresponding private key.</p>
11
+ * <p>Returns all public keys whose private keys were used to sign the digest files within the
12
+ * specified time range. The public key is needed to validate digest files that were signed
13
+ * with its corresponding private key.</p>
12
14
  * <note>
13
- * <p>CloudTrail uses different private and public key pairs per region. Each digest file is signed with a private key
14
- * unique to its region. When you validate a digest file from a specific region, you must look in the same region for its
15
- * corresponding public key.</p>
15
+ * <p>CloudTrail uses different private and public key pairs per region. Each digest
16
+ * file is signed with a private key unique to its region. When you validate a digest file
17
+ * from a specific region, you must look in the same region for its corresponding public
18
+ * key.</p>
16
19
  * </note>
17
20
  * @example
18
21
  * Use a bare-bones client and the command you need to make an API call.
@@ -8,11 +8,13 @@ export interface ListQueriesCommandInput extends ListQueriesRequest {
8
8
  export interface ListQueriesCommandOutput extends ListQueriesResponse, __MetadataBearer {
9
9
  }
10
10
  /**
11
- * <p>Returns a list of queries and query statuses for the past seven days. You must specify an ARN value for
12
- * <code>EventDataStore</code>. Optionally, to shorten the list of results, you can specify a time range,
13
- * formatted as timestamps, by adding <code>StartTime</code> and <code>EndTime</code> parameters, and a
14
- * <code>QueryStatus</code> value. Valid values for <code>QueryStatus</code> include <code>QUEUED</code>, <code>RUNNING</code>,
15
- * <code>FINISHED</code>, <code>FAILED</code>, <code>TIMED_OUT</code>, or <code>CANCELLED</code>.</p>
11
+ * <p>Returns a list of queries and query statuses for the past seven days. You must specify
12
+ * an ARN value for <code>EventDataStore</code>. Optionally, to shorten the list of results,
13
+ * you can specify a time range, formatted as timestamps, by adding <code>StartTime</code> and
14
+ * <code>EndTime</code> parameters, and a <code>QueryStatus</code> value. Valid values for
15
+ * <code>QueryStatus</code> include <code>QUEUED</code>, <code>RUNNING</code>,
16
+ * <code>FINISHED</code>, <code>FAILED</code>, <code>TIMED_OUT</code>, or
17
+ * <code>CANCELLED</code>.</p>
16
18
  * @example
17
19
  * Use a bare-bones client and the command you need to make an API call.
18
20
  * ```javascript
@@ -8,7 +8,7 @@ export interface ListTagsCommandInput extends ListTagsRequest {
8
8
  export interface ListTagsCommandOutput extends ListTagsResponse, __MetadataBearer {
9
9
  }
10
10
  /**
11
- * <p>Lists the tags for the trail or event data store in the current region.</p>
11
+ * <p>Lists the tags for the trail, event data store, or channel in the current region.</p>
12
12
  * @example
13
13
  * Use a bare-bones client and the command you need to make an API call.
14
14
  * ```javascript