@aws-sdk/client-cloudtrail 3.321.1 → 3.326.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 (45) hide show
  1. package/dist-types/commands/AddTagsCommand.d.ts +4 -0
  2. package/dist-types/commands/CancelQueryCommand.d.ts +7 -0
  3. package/dist-types/commands/CreateChannelCommand.d.ts +20 -0
  4. package/dist-types/commands/CreateEventDataStoreCommand.d.ts +47 -0
  5. package/dist-types/commands/CreateTrailCommand.d.ts +18 -0
  6. package/dist-types/commands/DeleteChannelCommand.d.ts +4 -0
  7. package/dist-types/commands/DeleteEventDataStoreCommand.d.ts +4 -0
  8. package/dist-types/commands/DeleteResourcePolicyCommand.d.ts +4 -0
  9. package/dist-types/commands/DeleteTrailCommand.d.ts +4 -0
  10. package/dist-types/commands/DeregisterOrganizationDelegatedAdminCommand.d.ts +4 -0
  11. package/dist-types/commands/DescribeQueryCommand.d.ts +18 -0
  12. package/dist-types/commands/DescribeTrailsCommand.d.ts +25 -0
  13. package/dist-types/commands/GetChannelCommand.d.ts +50 -0
  14. package/dist-types/commands/GetEventDataStoreCommand.d.ts +41 -0
  15. package/dist-types/commands/GetEventSelectorsCommand.d.ts +49 -0
  16. package/dist-types/commands/GetImportCommand.d.ts +28 -0
  17. package/dist-types/commands/GetInsightSelectorsCommand.d.ts +11 -0
  18. package/dist-types/commands/GetQueryResultsCommand.d.ts +20 -0
  19. package/dist-types/commands/GetResourcePolicyCommand.d.ts +7 -0
  20. package/dist-types/commands/GetTrailCommand.d.ts +23 -0
  21. package/dist-types/commands/GetTrailStatusCommand.d.ts +22 -0
  22. package/dist-types/commands/ListChannelsCommand.d.ts +12 -0
  23. package/dist-types/commands/ListEventDataStoresCommand.d.ts +45 -0
  24. package/dist-types/commands/ListImportFailuresCommand.d.ts +15 -0
  25. package/dist-types/commands/ListImportsCommand.d.ts +17 -0
  26. package/dist-types/commands/ListPublicKeysCommand.d.ts +14 -0
  27. package/dist-types/commands/ListQueriesCommand.d.ts +13 -0
  28. package/dist-types/commands/ListTagsCommand.d.ts +17 -0
  29. package/dist-types/commands/ListTrailsCommand.d.ts +13 -0
  30. package/dist-types/commands/LookupEventsCommand.d.ts +24 -0
  31. package/dist-types/commands/PutEventSelectorsCommand.d.ts +49 -0
  32. package/dist-types/commands/PutInsightSelectorsCommand.d.ts +11 -0
  33. package/dist-types/commands/PutResourcePolicyCommand.d.ts +7 -0
  34. package/dist-types/commands/RegisterOrganizationDelegatedAdminCommand.d.ts +4 -0
  35. package/dist-types/commands/RemoveTagsCommand.d.ts +4 -0
  36. package/dist-types/commands/RestoreEventDataStoreCommand.d.ts +41 -0
  37. package/dist-types/commands/StartImportCommand.d.ts +21 -0
  38. package/dist-types/commands/StartLoggingCommand.d.ts +4 -0
  39. package/dist-types/commands/StartQueryCommand.d.ts +6 -0
  40. package/dist-types/commands/StopImportCommand.d.ts +28 -0
  41. package/dist-types/commands/StopLoggingCommand.d.ts +4 -0
  42. package/dist-types/commands/UpdateChannelCommand.d.ts +14 -0
  43. package/dist-types/commands/UpdateEventDataStoreCommand.d.ts +41 -0
  44. package/dist-types/commands/UpdateTrailCommand.d.ts +18 -0
  45. package/package.json +16 -16
@@ -31,6 +31,32 @@ export interface StopImportCommandOutput extends StopImportResponse, __MetadataB
31
31
  * };
32
32
  * const command = new StopImportCommand(input);
33
33
  * const response = await client.send(command);
34
+ * // { // StopImportResponse
35
+ * // ImportId: "STRING_VALUE",
36
+ * // ImportSource: { // ImportSource
37
+ * // S3: { // S3ImportSource
38
+ * // S3LocationUri: "STRING_VALUE", // required
39
+ * // S3BucketRegion: "STRING_VALUE", // required
40
+ * // S3BucketAccessRoleArn: "STRING_VALUE", // required
41
+ * // },
42
+ * // },
43
+ * // Destinations: [ // ImportDestinations
44
+ * // "STRING_VALUE",
45
+ * // ],
46
+ * // ImportStatus: "INITIALIZING" || "IN_PROGRESS" || "FAILED" || "STOPPED" || "COMPLETED",
47
+ * // CreatedTimestamp: new Date("TIMESTAMP"),
48
+ * // UpdatedTimestamp: new Date("TIMESTAMP"),
49
+ * // StartEventTime: new Date("TIMESTAMP"),
50
+ * // EndEventTime: new Date("TIMESTAMP"),
51
+ * // ImportStatistics: { // ImportStatistics
52
+ * // PrefixesFound: Number("long"),
53
+ * // PrefixesCompleted: Number("long"),
54
+ * // FilesCompleted: Number("long"),
55
+ * // EventsCompleted: Number("long"),
56
+ * // FailedEntries: Number("long"),
57
+ * // },
58
+ * // };
59
+ *
34
60
  * ```
35
61
  *
36
62
  * @param StopImportCommandInput - {@link StopImportCommandInput}
@@ -51,6 +77,8 @@ export interface StopImportCommandOutput extends StopImportResponse, __MetadataB
51
77
  * @throws {@link UnsupportedOperationException} (client fault)
52
78
  * <p>This exception is thrown when the requested operation is not supported.</p>
53
79
  *
80
+ * @throws {@link CloudTrailServiceException}
81
+ * <p>Base exception class for all service exceptions from CloudTrail service.</p>
54
82
  *
55
83
  */
56
84
  export declare class StopImportCommand extends $Command<StopImportCommandInput, StopImportCommandOutput, CloudTrailClientResolvedConfig> {
@@ -37,6 +37,8 @@ export interface StopLoggingCommandOutput extends StopLoggingResponse, __Metadat
37
37
  * };
38
38
  * const command = new StopLoggingCommand(input);
39
39
  * const response = await client.send(command);
40
+ * // {};
41
+ *
40
42
  * ```
41
43
  *
42
44
  * @param StopLoggingCommandInput - {@link StopLoggingCommandInput}
@@ -115,6 +117,8 @@ export interface StopLoggingCommandOutput extends StopLoggingResponse, __Metadat
115
117
  * @throws {@link UnsupportedOperationException} (client fault)
116
118
  * <p>This exception is thrown when the requested operation is not supported.</p>
117
119
  *
120
+ * @throws {@link CloudTrailServiceException}
121
+ * <p>Base exception class for all service exceptions from CloudTrail service.</p>
118
122
  *
119
123
  */
120
124
  export declare class StopLoggingCommand extends $Command<StopLoggingCommandInput, StopLoggingCommandOutput, CloudTrailClientResolvedConfig> {
@@ -38,6 +38,18 @@ export interface UpdateChannelCommandOutput extends UpdateChannelResponse, __Met
38
38
  * };
39
39
  * const command = new UpdateChannelCommand(input);
40
40
  * const response = await client.send(command);
41
+ * // { // UpdateChannelResponse
42
+ * // ChannelArn: "STRING_VALUE",
43
+ * // Name: "STRING_VALUE",
44
+ * // Source: "STRING_VALUE",
45
+ * // Destinations: [ // Destinations
46
+ * // { // Destination
47
+ * // Type: "EVENT_DATA_STORE" || "AWS_SERVICE", // required
48
+ * // Location: "STRING_VALUE", // required
49
+ * // },
50
+ * // ],
51
+ * // };
52
+ *
41
53
  * ```
42
54
  *
43
55
  * @param UpdateChannelCommandInput - {@link UpdateChannelCommandInput}
@@ -81,6 +93,8 @@ export interface UpdateChannelCommandOutput extends UpdateChannelResponse, __Met
81
93
  * @throws {@link UnsupportedOperationException} (client fault)
82
94
  * <p>This exception is thrown when the requested operation is not supported.</p>
83
95
  *
96
+ * @throws {@link CloudTrailServiceException}
97
+ * <p>Base exception class for all service exceptions from CloudTrail service.</p>
84
98
  *
85
99
  */
86
100
  export declare class UpdateChannelCommand extends $Command<UpdateChannelCommandInput, UpdateChannelCommandOutput, CloudTrailClientResolvedConfig> {
@@ -73,6 +73,45 @@ export interface UpdateEventDataStoreCommandOutput extends UpdateEventDataStoreR
73
73
  * };
74
74
  * const command = new UpdateEventDataStoreCommand(input);
75
75
  * const response = await client.send(command);
76
+ * // { // UpdateEventDataStoreResponse
77
+ * // EventDataStoreArn: "STRING_VALUE",
78
+ * // Name: "STRING_VALUE",
79
+ * // Status: "CREATED" || "ENABLED" || "PENDING_DELETION",
80
+ * // AdvancedEventSelectors: [ // AdvancedEventSelectors
81
+ * // { // AdvancedEventSelector
82
+ * // Name: "STRING_VALUE",
83
+ * // FieldSelectors: [ // AdvancedFieldSelectors // required
84
+ * // { // AdvancedFieldSelector
85
+ * // Field: "STRING_VALUE", // required
86
+ * // Equals: [ // Operator
87
+ * // "STRING_VALUE",
88
+ * // ],
89
+ * // StartsWith: [
90
+ * // "STRING_VALUE",
91
+ * // ],
92
+ * // EndsWith: [
93
+ * // "STRING_VALUE",
94
+ * // ],
95
+ * // NotEquals: [
96
+ * // "STRING_VALUE",
97
+ * // ],
98
+ * // NotStartsWith: [
99
+ * // "STRING_VALUE",
100
+ * // ],
101
+ * // NotEndsWith: "<Operator>",
102
+ * // },
103
+ * // ],
104
+ * // },
105
+ * // ],
106
+ * // MultiRegionEnabled: true || false,
107
+ * // OrganizationEnabled: true || false,
108
+ * // RetentionPeriod: Number("int"),
109
+ * // TerminationProtectionEnabled: true || false,
110
+ * // CreatedTimestamp: new Date("TIMESTAMP"),
111
+ * // UpdatedTimestamp: new Date("TIMESTAMP"),
112
+ * // KmsKeyId: "STRING_VALUE",
113
+ * // };
114
+ *
76
115
  * ```
77
116
  *
78
117
  * @param UpdateEventDataStoreCommandInput - {@link UpdateEventDataStoreCommandInput}
@@ -177,6 +216,8 @@ export interface UpdateEventDataStoreCommandOutput extends UpdateEventDataStoreR
177
216
  * @throws {@link UnsupportedOperationException} (client fault)
178
217
  * <p>This exception is thrown when the requested operation is not supported.</p>
179
218
  *
219
+ * @throws {@link CloudTrailServiceException}
220
+ * <p>Base exception class for all service exceptions from CloudTrail service.</p>
180
221
  *
181
222
  */
182
223
  export declare class UpdateEventDataStoreCommand extends $Command<UpdateEventDataStoreCommandInput, UpdateEventDataStoreCommandOutput, CloudTrailClientResolvedConfig> {
@@ -46,6 +46,22 @@ export interface UpdateTrailCommandOutput extends UpdateTrailResponse, __Metadat
46
46
  * };
47
47
  * const command = new UpdateTrailCommand(input);
48
48
  * const response = await client.send(command);
49
+ * // { // UpdateTrailResponse
50
+ * // Name: "STRING_VALUE",
51
+ * // S3BucketName: "STRING_VALUE",
52
+ * // S3KeyPrefix: "STRING_VALUE",
53
+ * // SnsTopicName: "STRING_VALUE",
54
+ * // SnsTopicARN: "STRING_VALUE",
55
+ * // IncludeGlobalServiceEvents: true || false,
56
+ * // IsMultiRegionTrail: true || false,
57
+ * // TrailARN: "STRING_VALUE",
58
+ * // LogFileValidationEnabled: true || false,
59
+ * // CloudWatchLogsLogGroupArn: "STRING_VALUE",
60
+ * // CloudWatchLogsRoleArn: "STRING_VALUE",
61
+ * // KmsKeyId: "STRING_VALUE",
62
+ * // IsOrganizationTrail: true || false,
63
+ * // };
64
+ *
49
65
  * ```
50
66
  *
51
67
  * @param UpdateTrailCommandInput - {@link UpdateTrailCommandInput}
@@ -230,6 +246,8 @@ export interface UpdateTrailCommandOutput extends UpdateTrailResponse, __Metadat
230
246
  * @throws {@link UnsupportedOperationException} (client fault)
231
247
  * <p>This exception is thrown when the requested operation is not supported.</p>
232
248
  *
249
+ * @throws {@link CloudTrailServiceException}
250
+ * <p>Base exception class for all service exceptions from CloudTrail service.</p>
233
251
  *
234
252
  */
235
253
  export declare class UpdateTrailCommand extends $Command<UpdateTrailCommandInput, UpdateTrailCommandOutput, CloudTrailClientResolvedConfig> {
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.321.1",
4
+ "version": "3.326.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",
@@ -21,33 +21,33 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "3.0.0",
23
23
  "@aws-crypto/sha256-js": "3.0.0",
24
- "@aws-sdk/client-sts": "3.321.1",
24
+ "@aws-sdk/client-sts": "3.326.0",
25
25
  "@aws-sdk/config-resolver": "3.310.0",
26
- "@aws-sdk/credential-provider-node": "3.321.1",
26
+ "@aws-sdk/credential-provider-node": "3.326.0",
27
27
  "@aws-sdk/fetch-http-handler": "3.310.0",
28
28
  "@aws-sdk/hash-node": "3.310.0",
29
29
  "@aws-sdk/invalid-dependency": "3.310.0",
30
- "@aws-sdk/middleware-content-length": "3.310.0",
31
- "@aws-sdk/middleware-endpoint": "3.310.0",
32
- "@aws-sdk/middleware-host-header": "3.310.0",
33
- "@aws-sdk/middleware-logger": "3.310.0",
34
- "@aws-sdk/middleware-recursion-detection": "3.310.0",
35
- "@aws-sdk/middleware-retry": "3.310.0",
36
- "@aws-sdk/middleware-serde": "3.310.0",
37
- "@aws-sdk/middleware-signing": "3.310.0",
38
- "@aws-sdk/middleware-stack": "3.310.0",
39
- "@aws-sdk/middleware-user-agent": "3.319.0",
30
+ "@aws-sdk/middleware-content-length": "3.325.0",
31
+ "@aws-sdk/middleware-endpoint": "3.325.0",
32
+ "@aws-sdk/middleware-host-header": "3.325.0",
33
+ "@aws-sdk/middleware-logger": "3.325.0",
34
+ "@aws-sdk/middleware-recursion-detection": "3.325.0",
35
+ "@aws-sdk/middleware-retry": "3.325.0",
36
+ "@aws-sdk/middleware-serde": "3.325.0",
37
+ "@aws-sdk/middleware-signing": "3.325.0",
38
+ "@aws-sdk/middleware-stack": "3.325.0",
39
+ "@aws-sdk/middleware-user-agent": "3.325.0",
40
40
  "@aws-sdk/node-config-provider": "3.310.0",
41
41
  "@aws-sdk/node-http-handler": "3.321.1",
42
42
  "@aws-sdk/protocol-http": "3.310.0",
43
- "@aws-sdk/smithy-client": "3.316.0",
43
+ "@aws-sdk/smithy-client": "3.325.0",
44
44
  "@aws-sdk/types": "3.310.0",
45
45
  "@aws-sdk/url-parser": "3.310.0",
46
46
  "@aws-sdk/util-base64": "3.310.0",
47
47
  "@aws-sdk/util-body-length-browser": "3.310.0",
48
48
  "@aws-sdk/util-body-length-node": "3.310.0",
49
- "@aws-sdk/util-defaults-mode-browser": "3.316.0",
50
- "@aws-sdk/util-defaults-mode-node": "3.316.0",
49
+ "@aws-sdk/util-defaults-mode-browser": "3.325.0",
50
+ "@aws-sdk/util-defaults-mode-node": "3.325.0",
51
51
  "@aws-sdk/util-endpoints": "3.319.0",
52
52
  "@aws-sdk/util-retry": "3.310.0",
53
53
  "@aws-sdk/util-user-agent-browser": "3.310.0",