@aws-sdk/client-cloudtrail 3.190.0 → 3.192.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 (183) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/dist-cjs/CloudTrailClient.js +11 -8
  3. package/dist-cjs/commands/AddTagsCommand.js +10 -0
  4. package/dist-cjs/commands/CancelQueryCommand.js +10 -0
  5. package/dist-cjs/commands/CreateEventDataStoreCommand.js +10 -0
  6. package/dist-cjs/commands/CreateTrailCommand.js +10 -0
  7. package/dist-cjs/commands/DeleteEventDataStoreCommand.js +10 -0
  8. package/dist-cjs/commands/DeleteTrailCommand.js +10 -0
  9. package/dist-cjs/commands/DescribeQueryCommand.js +10 -0
  10. package/dist-cjs/commands/DescribeTrailsCommand.js +10 -0
  11. package/dist-cjs/commands/GetChannelCommand.js +10 -0
  12. package/dist-cjs/commands/GetEventDataStoreCommand.js +10 -0
  13. package/dist-cjs/commands/GetEventSelectorsCommand.js +10 -0
  14. package/dist-cjs/commands/GetImportCommand.js +10 -0
  15. package/dist-cjs/commands/GetInsightSelectorsCommand.js +10 -0
  16. package/dist-cjs/commands/GetQueryResultsCommand.js +10 -0
  17. package/dist-cjs/commands/GetTrailCommand.js +10 -0
  18. package/dist-cjs/commands/GetTrailStatusCommand.js +10 -0
  19. package/dist-cjs/commands/ListChannelsCommand.js +10 -0
  20. package/dist-cjs/commands/ListEventDataStoresCommand.js +10 -0
  21. package/dist-cjs/commands/ListImportFailuresCommand.js +10 -0
  22. package/dist-cjs/commands/ListImportsCommand.js +10 -0
  23. package/dist-cjs/commands/ListPublicKeysCommand.js +10 -0
  24. package/dist-cjs/commands/ListQueriesCommand.js +10 -0
  25. package/dist-cjs/commands/ListTagsCommand.js +10 -0
  26. package/dist-cjs/commands/ListTrailsCommand.js +10 -0
  27. package/dist-cjs/commands/LookupEventsCommand.js +10 -0
  28. package/dist-cjs/commands/PutEventSelectorsCommand.js +10 -0
  29. package/dist-cjs/commands/PutInsightSelectorsCommand.js +10 -0
  30. package/dist-cjs/commands/RemoveTagsCommand.js +10 -0
  31. package/dist-cjs/commands/RestoreEventDataStoreCommand.js +10 -0
  32. package/dist-cjs/commands/StartImportCommand.js +10 -0
  33. package/dist-cjs/commands/StartLoggingCommand.js +10 -0
  34. package/dist-cjs/commands/StartQueryCommand.js +10 -0
  35. package/dist-cjs/commands/StopImportCommand.js +10 -0
  36. package/dist-cjs/commands/StopLoggingCommand.js +10 -0
  37. package/dist-cjs/commands/UpdateEventDataStoreCommand.js +10 -0
  38. package/dist-cjs/commands/UpdateTrailCommand.js +10 -0
  39. package/dist-cjs/endpoint/EndpointParameters.js +13 -0
  40. package/dist-cjs/endpoint/endpointResolver.js +12 -0
  41. package/dist-cjs/endpoint/ruleset.js +356 -0
  42. package/dist-cjs/models/models_0.js +15 -3
  43. package/dist-cjs/protocols/Aws_json1_1.js +15 -0
  44. package/dist-cjs/runtimeConfig.shared.js +3 -3
  45. package/dist-es/CloudTrailClient.js +12 -9
  46. package/dist-es/commands/AddTagsCommand.js +10 -0
  47. package/dist-es/commands/CancelQueryCommand.js +10 -0
  48. package/dist-es/commands/CreateEventDataStoreCommand.js +10 -0
  49. package/dist-es/commands/CreateTrailCommand.js +10 -0
  50. package/dist-es/commands/DeleteEventDataStoreCommand.js +10 -0
  51. package/dist-es/commands/DeleteTrailCommand.js +10 -0
  52. package/dist-es/commands/DescribeQueryCommand.js +10 -0
  53. package/dist-es/commands/DescribeTrailsCommand.js +10 -0
  54. package/dist-es/commands/GetChannelCommand.js +10 -0
  55. package/dist-es/commands/GetEventDataStoreCommand.js +10 -0
  56. package/dist-es/commands/GetEventSelectorsCommand.js +10 -0
  57. package/dist-es/commands/GetImportCommand.js +10 -0
  58. package/dist-es/commands/GetInsightSelectorsCommand.js +10 -0
  59. package/dist-es/commands/GetQueryResultsCommand.js +10 -0
  60. package/dist-es/commands/GetTrailCommand.js +10 -0
  61. package/dist-es/commands/GetTrailStatusCommand.js +10 -0
  62. package/dist-es/commands/ListChannelsCommand.js +10 -0
  63. package/dist-es/commands/ListEventDataStoresCommand.js +10 -0
  64. package/dist-es/commands/ListImportFailuresCommand.js +10 -0
  65. package/dist-es/commands/ListImportsCommand.js +10 -0
  66. package/dist-es/commands/ListPublicKeysCommand.js +10 -0
  67. package/dist-es/commands/ListQueriesCommand.js +10 -0
  68. package/dist-es/commands/ListTagsCommand.js +10 -0
  69. package/dist-es/commands/ListTrailsCommand.js +10 -0
  70. package/dist-es/commands/LookupEventsCommand.js +10 -0
  71. package/dist-es/commands/PutEventSelectorsCommand.js +10 -0
  72. package/dist-es/commands/PutInsightSelectorsCommand.js +10 -0
  73. package/dist-es/commands/RemoveTagsCommand.js +10 -0
  74. package/dist-es/commands/RestoreEventDataStoreCommand.js +10 -0
  75. package/dist-es/commands/StartImportCommand.js +10 -0
  76. package/dist-es/commands/StartLoggingCommand.js +10 -0
  77. package/dist-es/commands/StartQueryCommand.js +10 -0
  78. package/dist-es/commands/StopImportCommand.js +10 -0
  79. package/dist-es/commands/StopLoggingCommand.js +10 -0
  80. package/dist-es/commands/UpdateEventDataStoreCommand.js +10 -0
  81. package/dist-es/commands/UpdateTrailCommand.js +10 -0
  82. package/dist-es/endpoint/EndpointParameters.js +8 -0
  83. package/dist-es/endpoint/endpointResolver.js +8 -0
  84. package/dist-es/endpoint/ruleset.js +353 -0
  85. package/dist-es/models/models_0.js +12 -0
  86. package/dist-es/protocols/Aws_json1_1.js +15 -0
  87. package/dist-es/runtimeConfig.shared.js +2 -2
  88. package/dist-types/CloudTrail.d.ts +9 -5
  89. package/dist-types/CloudTrailClient.d.ts +6 -9
  90. package/dist-types/commands/AddTagsCommand.d.ts +2 -0
  91. package/dist-types/commands/CancelQueryCommand.d.ts +2 -0
  92. package/dist-types/commands/CreateEventDataStoreCommand.d.ts +2 -0
  93. package/dist-types/commands/CreateTrailCommand.d.ts +2 -0
  94. package/dist-types/commands/DeleteEventDataStoreCommand.d.ts +2 -0
  95. package/dist-types/commands/DeleteTrailCommand.d.ts +2 -0
  96. package/dist-types/commands/DescribeQueryCommand.d.ts +2 -0
  97. package/dist-types/commands/DescribeTrailsCommand.d.ts +2 -0
  98. package/dist-types/commands/GetChannelCommand.d.ts +4 -1
  99. package/dist-types/commands/GetEventDataStoreCommand.d.ts +2 -0
  100. package/dist-types/commands/GetEventSelectorsCommand.d.ts +2 -0
  101. package/dist-types/commands/GetImportCommand.d.ts +3 -1
  102. package/dist-types/commands/GetInsightSelectorsCommand.d.ts +2 -0
  103. package/dist-types/commands/GetQueryResultsCommand.d.ts +2 -0
  104. package/dist-types/commands/GetTrailCommand.d.ts +2 -0
  105. package/dist-types/commands/GetTrailStatusCommand.d.ts +2 -0
  106. package/dist-types/commands/ListChannelsCommand.d.ts +4 -1
  107. package/dist-types/commands/ListEventDataStoresCommand.d.ts +2 -0
  108. package/dist-types/commands/ListImportFailuresCommand.d.ts +2 -0
  109. package/dist-types/commands/ListImportsCommand.d.ts +2 -0
  110. package/dist-types/commands/ListPublicKeysCommand.d.ts +2 -0
  111. package/dist-types/commands/ListQueriesCommand.d.ts +2 -0
  112. package/dist-types/commands/ListTagsCommand.d.ts +2 -0
  113. package/dist-types/commands/ListTrailsCommand.d.ts +2 -0
  114. package/dist-types/commands/LookupEventsCommand.d.ts +2 -0
  115. package/dist-types/commands/PutEventSelectorsCommand.d.ts +2 -0
  116. package/dist-types/commands/PutInsightSelectorsCommand.d.ts +2 -0
  117. package/dist-types/commands/RemoveTagsCommand.d.ts +2 -0
  118. package/dist-types/commands/RestoreEventDataStoreCommand.d.ts +2 -0
  119. package/dist-types/commands/StartImportCommand.d.ts +5 -1
  120. package/dist-types/commands/StartLoggingCommand.d.ts +2 -0
  121. package/dist-types/commands/StartQueryCommand.d.ts +3 -1
  122. package/dist-types/commands/StopImportCommand.d.ts +2 -0
  123. package/dist-types/commands/StopLoggingCommand.d.ts +2 -0
  124. package/dist-types/commands/UpdateEventDataStoreCommand.d.ts +2 -0
  125. package/dist-types/commands/UpdateTrailCommand.d.ts +2 -0
  126. package/dist-types/endpoint/EndpointParameters.d.ts +19 -0
  127. package/dist-types/endpoint/endpointResolver.d.ts +5 -0
  128. package/dist-types/endpoint/ruleset.d.ts +2 -0
  129. package/dist-types/models/models_0.d.ts +87 -69
  130. package/dist-types/runtimeConfig.browser.d.ts +4 -2
  131. package/dist-types/runtimeConfig.d.ts +4 -2
  132. package/dist-types/runtimeConfig.native.d.ts +4 -2
  133. package/dist-types/runtimeConfig.shared.d.ts +3 -1
  134. package/dist-types/ts3.4/CloudTrailClient.d.ts +15 -8
  135. package/dist-types/ts3.4/commands/AddTagsCommand.d.ts +2 -0
  136. package/dist-types/ts3.4/commands/CancelQueryCommand.d.ts +2 -0
  137. package/dist-types/ts3.4/commands/CreateEventDataStoreCommand.d.ts +2 -0
  138. package/dist-types/ts3.4/commands/CreateTrailCommand.d.ts +2 -0
  139. package/dist-types/ts3.4/commands/DeleteEventDataStoreCommand.d.ts +2 -0
  140. package/dist-types/ts3.4/commands/DeleteTrailCommand.d.ts +2 -0
  141. package/dist-types/ts3.4/commands/DescribeQueryCommand.d.ts +2 -0
  142. package/dist-types/ts3.4/commands/DescribeTrailsCommand.d.ts +2 -0
  143. package/dist-types/ts3.4/commands/GetChannelCommand.d.ts +2 -0
  144. package/dist-types/ts3.4/commands/GetEventDataStoreCommand.d.ts +2 -0
  145. package/dist-types/ts3.4/commands/GetEventSelectorsCommand.d.ts +2 -0
  146. package/dist-types/ts3.4/commands/GetImportCommand.d.ts +2 -0
  147. package/dist-types/ts3.4/commands/GetInsightSelectorsCommand.d.ts +2 -0
  148. package/dist-types/ts3.4/commands/GetQueryResultsCommand.d.ts +2 -0
  149. package/dist-types/ts3.4/commands/GetTrailCommand.d.ts +2 -0
  150. package/dist-types/ts3.4/commands/GetTrailStatusCommand.d.ts +2 -0
  151. package/dist-types/ts3.4/commands/ListChannelsCommand.d.ts +2 -0
  152. package/dist-types/ts3.4/commands/ListEventDataStoresCommand.d.ts +2 -0
  153. package/dist-types/ts3.4/commands/ListImportFailuresCommand.d.ts +2 -0
  154. package/dist-types/ts3.4/commands/ListImportsCommand.d.ts +2 -0
  155. package/dist-types/ts3.4/commands/ListPublicKeysCommand.d.ts +2 -0
  156. package/dist-types/ts3.4/commands/ListQueriesCommand.d.ts +2 -0
  157. package/dist-types/ts3.4/commands/ListTagsCommand.d.ts +2 -0
  158. package/dist-types/ts3.4/commands/ListTrailsCommand.d.ts +2 -0
  159. package/dist-types/ts3.4/commands/LookupEventsCommand.d.ts +2 -0
  160. package/dist-types/ts3.4/commands/PutEventSelectorsCommand.d.ts +2 -0
  161. package/dist-types/ts3.4/commands/PutInsightSelectorsCommand.d.ts +2 -0
  162. package/dist-types/ts3.4/commands/RemoveTagsCommand.d.ts +2 -0
  163. package/dist-types/ts3.4/commands/RestoreEventDataStoreCommand.d.ts +2 -0
  164. package/dist-types/ts3.4/commands/StartImportCommand.d.ts +2 -0
  165. package/dist-types/ts3.4/commands/StartLoggingCommand.d.ts +2 -0
  166. package/dist-types/ts3.4/commands/StartQueryCommand.d.ts +2 -0
  167. package/dist-types/ts3.4/commands/StopImportCommand.d.ts +2 -0
  168. package/dist-types/ts3.4/commands/StopLoggingCommand.d.ts +2 -0
  169. package/dist-types/ts3.4/commands/UpdateEventDataStoreCommand.d.ts +2 -0
  170. package/dist-types/ts3.4/commands/UpdateTrailCommand.d.ts +2 -0
  171. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +26 -0
  172. package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
  173. package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
  174. package/dist-types/ts3.4/models/models_0.d.ts +14 -0
  175. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +14 -4
  176. package/dist-types/ts3.4/runtimeConfig.d.ts +14 -4
  177. package/dist-types/ts3.4/runtimeConfig.native.d.ts +14 -3
  178. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +6 -1
  179. package/package.json +4 -3
  180. package/dist-cjs/endpoints.js +0 -185
  181. package/dist-es/endpoints.js +0 -181
  182. package/dist-types/endpoints.d.ts +0 -2
  183. package/dist-types/ts3.4/endpoints.d.ts +0 -2
@@ -1,3 +1,4 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
1
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
3
  import {
3
4
  Handler,
@@ -25,6 +26,7 @@ export declare class GetEventDataStoreCommand extends $Command<
25
26
  CloudTrailClientResolvedConfig
26
27
  > {
27
28
  readonly input: GetEventDataStoreCommandInput;
29
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
28
30
  constructor(input: GetEventDataStoreCommandInput);
29
31
  resolveMiddleware(
30
32
  clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
@@ -1,3 +1,4 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
1
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
3
  import {
3
4
  Handler,
@@ -25,6 +26,7 @@ export declare class GetEventSelectorsCommand extends $Command<
25
26
  CloudTrailClientResolvedConfig
26
27
  > {
27
28
  readonly input: GetEventSelectorsCommandInput;
29
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
28
30
  constructor(input: GetEventSelectorsCommandInput);
29
31
  resolveMiddleware(
30
32
  clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
@@ -1,3 +1,4 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
1
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
3
  import {
3
4
  Handler,
@@ -21,6 +22,7 @@ export declare class GetImportCommand extends $Command<
21
22
  CloudTrailClientResolvedConfig
22
23
  > {
23
24
  readonly input: GetImportCommandInput;
25
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
24
26
  constructor(input: GetImportCommandInput);
25
27
  resolveMiddleware(
26
28
  clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
@@ -1,3 +1,4 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
1
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
3
  import {
3
4
  Handler,
@@ -25,6 +26,7 @@ export declare class GetInsightSelectorsCommand extends $Command<
25
26
  CloudTrailClientResolvedConfig
26
27
  > {
27
28
  readonly input: GetInsightSelectorsCommandInput;
29
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
28
30
  constructor(input: GetInsightSelectorsCommandInput);
29
31
  resolveMiddleware(
30
32
  clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
@@ -1,3 +1,4 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
1
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
3
  import {
3
4
  Handler,
@@ -24,6 +25,7 @@ export declare class GetQueryResultsCommand extends $Command<
24
25
  CloudTrailClientResolvedConfig
25
26
  > {
26
27
  readonly input: GetQueryResultsCommandInput;
28
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
27
29
  constructor(input: GetQueryResultsCommandInput);
28
30
  resolveMiddleware(
29
31
  clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
@@ -1,3 +1,4 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
1
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
3
  import {
3
4
  Handler,
@@ -21,6 +22,7 @@ export declare class GetTrailCommand extends $Command<
21
22
  CloudTrailClientResolvedConfig
22
23
  > {
23
24
  readonly input: GetTrailCommandInput;
25
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
24
26
  constructor(input: GetTrailCommandInput);
25
27
  resolveMiddleware(
26
28
  clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
@@ -1,3 +1,4 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
1
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
3
  import {
3
4
  Handler,
@@ -24,6 +25,7 @@ export declare class GetTrailStatusCommand extends $Command<
24
25
  CloudTrailClientResolvedConfig
25
26
  > {
26
27
  readonly input: GetTrailStatusCommandInput;
28
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
27
29
  constructor(input: GetTrailStatusCommandInput);
28
30
  resolveMiddleware(
29
31
  clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
@@ -1,3 +1,4 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
1
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
3
  import {
3
4
  Handler,
@@ -21,6 +22,7 @@ export declare class ListChannelsCommand extends $Command<
21
22
  CloudTrailClientResolvedConfig
22
23
  > {
23
24
  readonly input: ListChannelsCommandInput;
25
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
24
26
  constructor(input: ListChannelsCommandInput);
25
27
  resolveMiddleware(
26
28
  clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
@@ -1,3 +1,4 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
1
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
3
  import {
3
4
  Handler,
@@ -25,6 +26,7 @@ export declare class ListEventDataStoresCommand extends $Command<
25
26
  CloudTrailClientResolvedConfig
26
27
  > {
27
28
  readonly input: ListEventDataStoresCommandInput;
29
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
28
30
  constructor(input: ListEventDataStoresCommandInput);
29
31
  resolveMiddleware(
30
32
  clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
@@ -1,3 +1,4 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
1
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
3
  import {
3
4
  Handler,
@@ -25,6 +26,7 @@ export declare class ListImportFailuresCommand extends $Command<
25
26
  CloudTrailClientResolvedConfig
26
27
  > {
27
28
  readonly input: ListImportFailuresCommandInput;
29
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
28
30
  constructor(input: ListImportFailuresCommandInput);
29
31
  resolveMiddleware(
30
32
  clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
@@ -1,3 +1,4 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
1
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
3
  import {
3
4
  Handler,
@@ -21,6 +22,7 @@ export declare class ListImportsCommand extends $Command<
21
22
  CloudTrailClientResolvedConfig
22
23
  > {
23
24
  readonly input: ListImportsCommandInput;
25
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
24
26
  constructor(input: ListImportsCommandInput);
25
27
  resolveMiddleware(
26
28
  clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
@@ -1,3 +1,4 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
1
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
3
  import {
3
4
  Handler,
@@ -24,6 +25,7 @@ export declare class ListPublicKeysCommand extends $Command<
24
25
  CloudTrailClientResolvedConfig
25
26
  > {
26
27
  readonly input: ListPublicKeysCommandInput;
28
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
27
29
  constructor(input: ListPublicKeysCommandInput);
28
30
  resolveMiddleware(
29
31
  clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
@@ -1,3 +1,4 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
1
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
3
  import {
3
4
  Handler,
@@ -21,6 +22,7 @@ export declare class ListQueriesCommand extends $Command<
21
22
  CloudTrailClientResolvedConfig
22
23
  > {
23
24
  readonly input: ListQueriesCommandInput;
25
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
24
26
  constructor(input: ListQueriesCommandInput);
25
27
  resolveMiddleware(
26
28
  clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
@@ -1,3 +1,4 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
1
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
3
  import {
3
4
  Handler,
@@ -21,6 +22,7 @@ export declare class ListTagsCommand extends $Command<
21
22
  CloudTrailClientResolvedConfig
22
23
  > {
23
24
  readonly input: ListTagsCommandInput;
25
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
24
26
  constructor(input: ListTagsCommandInput);
25
27
  resolveMiddleware(
26
28
  clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
@@ -1,3 +1,4 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
1
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
3
  import {
3
4
  Handler,
@@ -21,6 +22,7 @@ export declare class ListTrailsCommand extends $Command<
21
22
  CloudTrailClientResolvedConfig
22
23
  > {
23
24
  readonly input: ListTrailsCommandInput;
25
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
24
26
  constructor(input: ListTrailsCommandInput);
25
27
  resolveMiddleware(
26
28
  clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
@@ -1,3 +1,4 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
1
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
3
  import {
3
4
  Handler,
@@ -21,6 +22,7 @@ export declare class LookupEventsCommand extends $Command<
21
22
  CloudTrailClientResolvedConfig
22
23
  > {
23
24
  readonly input: LookupEventsCommandInput;
25
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
24
26
  constructor(input: LookupEventsCommandInput);
25
27
  resolveMiddleware(
26
28
  clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
@@ -1,3 +1,4 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
1
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
3
  import {
3
4
  Handler,
@@ -25,6 +26,7 @@ export declare class PutEventSelectorsCommand extends $Command<
25
26
  CloudTrailClientResolvedConfig
26
27
  > {
27
28
  readonly input: PutEventSelectorsCommandInput;
29
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
28
30
  constructor(input: PutEventSelectorsCommandInput);
29
31
  resolveMiddleware(
30
32
  clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
@@ -1,3 +1,4 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
1
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
3
  import {
3
4
  Handler,
@@ -25,6 +26,7 @@ export declare class PutInsightSelectorsCommand extends $Command<
25
26
  CloudTrailClientResolvedConfig
26
27
  > {
27
28
  readonly input: PutInsightSelectorsCommandInput;
29
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
28
30
  constructor(input: PutInsightSelectorsCommandInput);
29
31
  resolveMiddleware(
30
32
  clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
@@ -1,3 +1,4 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
1
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
3
  import {
3
4
  Handler,
@@ -21,6 +22,7 @@ export declare class RemoveTagsCommand extends $Command<
21
22
  CloudTrailClientResolvedConfig
22
23
  > {
23
24
  readonly input: RemoveTagsCommandInput;
25
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
24
26
  constructor(input: RemoveTagsCommandInput);
25
27
  resolveMiddleware(
26
28
  clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
@@ -1,3 +1,4 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
1
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
3
  import {
3
4
  Handler,
@@ -25,6 +26,7 @@ export declare class RestoreEventDataStoreCommand extends $Command<
25
26
  CloudTrailClientResolvedConfig
26
27
  > {
27
28
  readonly input: RestoreEventDataStoreCommandInput;
29
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
28
30
  constructor(input: RestoreEventDataStoreCommandInput);
29
31
  resolveMiddleware(
30
32
  clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
@@ -1,3 +1,4 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
1
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
3
  import {
3
4
  Handler,
@@ -21,6 +22,7 @@ export declare class StartImportCommand extends $Command<
21
22
  CloudTrailClientResolvedConfig
22
23
  > {
23
24
  readonly input: StartImportCommandInput;
25
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
24
26
  constructor(input: StartImportCommandInput);
25
27
  resolveMiddleware(
26
28
  clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
@@ -1,3 +1,4 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
1
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
3
  import {
3
4
  Handler,
@@ -21,6 +22,7 @@ export declare class StartLoggingCommand extends $Command<
21
22
  CloudTrailClientResolvedConfig
22
23
  > {
23
24
  readonly input: StartLoggingCommandInput;
25
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
24
26
  constructor(input: StartLoggingCommandInput);
25
27
  resolveMiddleware(
26
28
  clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
@@ -1,3 +1,4 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
1
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
3
  import {
3
4
  Handler,
@@ -21,6 +22,7 @@ export declare class StartQueryCommand extends $Command<
21
22
  CloudTrailClientResolvedConfig
22
23
  > {
23
24
  readonly input: StartQueryCommandInput;
25
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
24
26
  constructor(input: StartQueryCommandInput);
25
27
  resolveMiddleware(
26
28
  clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
@@ -1,3 +1,4 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
1
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
3
  import {
3
4
  Handler,
@@ -21,6 +22,7 @@ export declare class StopImportCommand extends $Command<
21
22
  CloudTrailClientResolvedConfig
22
23
  > {
23
24
  readonly input: StopImportCommandInput;
25
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
24
26
  constructor(input: StopImportCommandInput);
25
27
  resolveMiddleware(
26
28
  clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
@@ -1,3 +1,4 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
1
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
3
  import {
3
4
  Handler,
@@ -21,6 +22,7 @@ export declare class StopLoggingCommand extends $Command<
21
22
  CloudTrailClientResolvedConfig
22
23
  > {
23
24
  readonly input: StopLoggingCommandInput;
25
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
24
26
  constructor(input: StopLoggingCommandInput);
25
27
  resolveMiddleware(
26
28
  clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
@@ -1,3 +1,4 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
1
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
3
  import {
3
4
  Handler,
@@ -25,6 +26,7 @@ export declare class UpdateEventDataStoreCommand extends $Command<
25
26
  CloudTrailClientResolvedConfig
26
27
  > {
27
28
  readonly input: UpdateEventDataStoreCommandInput;
29
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
28
30
  constructor(input: UpdateEventDataStoreCommandInput);
29
31
  resolveMiddleware(
30
32
  clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
@@ -1,3 +1,4 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
1
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
2
3
  import {
3
4
  Handler,
@@ -21,6 +22,7 @@ export declare class UpdateTrailCommand extends $Command<
21
22
  CloudTrailClientResolvedConfig
22
23
  > {
23
24
  readonly input: UpdateTrailCommandInput;
25
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
24
26
  constructor(input: UpdateTrailCommandInput);
25
27
  resolveMiddleware(
26
28
  clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
@@ -0,0 +1,26 @@
1
+ import {
2
+ EndpointParameters as __EndpointParameters,
3
+ Provider,
4
+ } from "@aws-sdk/types";
5
+ export interface ClientInputEndpointParameters {
6
+ region?: string | Provider<string>;
7
+ useDualstackEndpoint?: boolean | Provider<boolean>;
8
+ useFipsEndpoint?: boolean | Provider<boolean>;
9
+ endpoint?: string | Provider<string>;
10
+ }
11
+ export declare type ClientResolvedEndpointParameters =
12
+ ClientInputEndpointParameters & {
13
+ defaultSigningName: string;
14
+ };
15
+ export declare const resolveClientEndpointParameters: <T>(
16
+ options: T & ClientInputEndpointParameters
17
+ ) => T &
18
+ ClientInputEndpointParameters & {
19
+ defaultSigningName: string;
20
+ };
21
+ export interface EndpointParameters extends __EndpointParameters {
22
+ Region: string;
23
+ UseDualStack?: boolean;
24
+ UseFIPS?: boolean;
25
+ Endpoint?: string;
26
+ }
@@ -0,0 +1,8 @@
1
+ import { EndpointV2, Logger } from "@aws-sdk/types";
2
+ import { EndpointParameters } from "../endpoint/EndpointParameters";
3
+ export declare const defaultEndpointResolver: (
4
+ endpointParams: EndpointParameters,
5
+ context?: {
6
+ logger?: Logger;
7
+ }
8
+ ) => EndpointV2;
@@ -0,0 +1,2 @@
1
+ import { RuleSetObject } from "@aws-sdk/util-endpoints";
2
+ export declare const ruleSet: RuleSetObject;
@@ -556,6 +556,17 @@ export interface DescribeQueryRequest {
556
556
  EventDataStore: string | undefined;
557
557
  QueryId: string | undefined;
558
558
  }
559
+ export declare enum DeliveryStatus {
560
+ ACCESS_DENIED = "ACCESS_DENIED",
561
+ ACCESS_DENIED_SIGNING_FILE = "ACCESS_DENIED_SIGNING_FILE",
562
+ CANCELLED = "CANCELLED",
563
+ FAILED = "FAILED",
564
+ FAILED_SIGNING_FILE = "FAILED_SIGNING_FILE",
565
+ PENDING = "PENDING",
566
+ RESOURCE_NOT_FOUND = "RESOURCE_NOT_FOUND",
567
+ SUCCESS = "SUCCESS",
568
+ UNKNOWN = "UNKNOWN",
569
+ }
559
570
  export interface QueryStatisticsForDescribeQuery {
560
571
  EventsMatched?: number;
561
572
  EventsScanned?: number;
@@ -569,6 +580,8 @@ export interface DescribeQueryResponse {
569
580
  QueryStatus?: QueryStatus | string;
570
581
  QueryStatistics?: QueryStatisticsForDescribeQuery;
571
582
  ErrorMessage?: string;
583
+ DeliveryS3Uri?: string;
584
+ DeliveryStatus?: DeliveryStatus | string;
572
585
  }
573
586
  export interface DescribeTrailsRequest {
574
587
  trailNameList?: string[];
@@ -1126,6 +1139,7 @@ export declare class MaxConcurrentQueriesException extends __BaseException {
1126
1139
  }
1127
1140
  export interface StartQueryRequest {
1128
1141
  QueryStatement: string | undefined;
1142
+ DeliveryS3Uri?: string;
1129
1143
  }
1130
1144
  export interface StartQueryResponse {
1131
1145
  QueryId?: string;
@@ -36,12 +36,22 @@ export declare const getRuntimeConfig: (config: CloudTrailClientConfig) => {
36
36
  disableHostPrefix: boolean;
37
37
  logger: import("@aws-sdk/types").Logger;
38
38
  serviceId: string;
39
- regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
40
39
  endpoint?:
41
- | string
42
- | import("@aws-sdk/types").Endpoint
43
- | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint>
40
+ | ((
41
+ | string
42
+ | import("@aws-sdk/types").Endpoint
43
+ | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint>
44
+ | import("@aws-sdk/types").EndpointV2
45
+ | import("@aws-sdk/types").Provider<import("@aws-sdk/types").EndpointV2>
46
+ ) &
47
+ (string | import("@aws-sdk/types").Provider<string>))
44
48
  | undefined;
49
+ endpointProvider: (
50
+ endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
51
+ context?: {
52
+ logger?: import("@aws-sdk/types").Logger | undefined;
53
+ }
54
+ ) => import("@aws-sdk/types").EndpointV2;
45
55
  tls?: boolean | undefined;
46
56
  retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
47
57
  credentials?:
@@ -36,12 +36,22 @@ export declare const getRuntimeConfig: (config: CloudTrailClientConfig) => {
36
36
  disableHostPrefix: boolean;
37
37
  logger: import("@aws-sdk/types").Logger;
38
38
  serviceId: string;
39
- regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
40
39
  endpoint?:
41
- | string
42
- | import("@aws-sdk/types").Endpoint
43
- | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint>
40
+ | ((
41
+ | string
42
+ | import("@aws-sdk/types").Endpoint
43
+ | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint>
44
+ | import("@aws-sdk/types").EndpointV2
45
+ | import("@aws-sdk/types").Provider<import("@aws-sdk/types").EndpointV2>
46
+ ) &
47
+ (string | import("@aws-sdk/types").Provider<string>))
44
48
  | undefined;
49
+ endpointProvider: (
50
+ endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
51
+ context?: {
52
+ logger?: import("@aws-sdk/types").Logger | undefined;
53
+ }
54
+ ) => import("@aws-sdk/types").EndpointV2;
45
55
  tls?: boolean | undefined;
46
56
  retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
47
57
  credentials?:
@@ -29,7 +29,6 @@ export declare const getRuntimeConfig: (config: CloudTrailClientConfig) => {
29
29
  credentialDefaultProvider: (
30
30
  input: any
31
31
  ) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
32
- regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
33
32
  defaultUserAgentProvider: import("@aws-sdk/types").Provider<
34
33
  import("@aws-sdk/types").UserAgent
35
34
  >;
@@ -40,9 +39,21 @@ export declare const getRuntimeConfig: (config: CloudTrailClientConfig) => {
40
39
  >;
41
40
  endpoint?:
42
41
  | string
43
- | import("@aws-sdk/types").Endpoint
44
- | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint>
42
+ | (import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> &
43
+ import("@aws-sdk/types").Provider<string>)
44
+ | (import("@aws-sdk/types").Endpoint &
45
+ import("@aws-sdk/types").Provider<string>)
46
+ | (import("@aws-sdk/types").EndpointV2 &
47
+ import("@aws-sdk/types").Provider<string>)
48
+ | (import("@aws-sdk/types").Provider<import("@aws-sdk/types").EndpointV2> &
49
+ import("@aws-sdk/types").Provider<string>)
45
50
  | undefined;
51
+ endpointProvider: (
52
+ endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
53
+ context?: {
54
+ logger?: import("@aws-sdk/types").Logger | undefined;
55
+ }
56
+ ) => import("@aws-sdk/types").EndpointV2;
46
57
  tls?: boolean | undefined;
47
58
  retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
48
59
  credentials?:
@@ -3,8 +3,13 @@ import { CloudTrailClientConfig } from "./CloudTrailClient";
3
3
  export declare const getRuntimeConfig: (config: CloudTrailClientConfig) => {
4
4
  apiVersion: string;
5
5
  disableHostPrefix: boolean;
6
+ endpointProvider: (
7
+ endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
8
+ context?: {
9
+ logger?: __Logger | undefined;
10
+ }
11
+ ) => import("@aws-sdk/types").EndpointV2;
6
12
  logger: __Logger;
7
- regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
8
13
  serviceId: string;
9
14
  urlParser: import("@aws-sdk/types").UrlParser;
10
15
  };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-cloudtrail",
3
3
  "description": "AWS SDK for JavaScript Cloudtrail Client for Node.js, Browser and React Native",
4
- "version": "3.190.0",
4
+ "version": "3.192.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -19,19 +19,20 @@
19
19
  "dependencies": {
20
20
  "@aws-crypto/sha256-browser": "2.0.0",
21
21
  "@aws-crypto/sha256-js": "2.0.0",
22
- "@aws-sdk/client-sts": "3.190.0",
22
+ "@aws-sdk/client-sts": "3.192.0",
23
23
  "@aws-sdk/config-resolver": "3.190.0",
24
24
  "@aws-sdk/credential-provider-node": "3.190.0",
25
25
  "@aws-sdk/fetch-http-handler": "3.190.0",
26
26
  "@aws-sdk/hash-node": "3.190.0",
27
27
  "@aws-sdk/invalid-dependency": "3.190.0",
28
28
  "@aws-sdk/middleware-content-length": "3.190.0",
29
+ "@aws-sdk/middleware-endpoint": "3.190.0",
29
30
  "@aws-sdk/middleware-host-header": "3.190.0",
30
31
  "@aws-sdk/middleware-logger": "3.190.0",
31
32
  "@aws-sdk/middleware-recursion-detection": "3.190.0",
32
33
  "@aws-sdk/middleware-retry": "3.190.0",
33
34
  "@aws-sdk/middleware-serde": "3.190.0",
34
- "@aws-sdk/middleware-signing": "3.190.0",
35
+ "@aws-sdk/middleware-signing": "3.192.0",
35
36
  "@aws-sdk/middleware-stack": "3.190.0",
36
37
  "@aws-sdk/middleware-user-agent": "3.190.0",
37
38
  "@aws-sdk/node-config-provider": "3.190.0",