@aws-sdk/client-cloudtrail 3.47.2 → 3.51.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -3,6 +3,41 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [3.51.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.50.0...v3.51.0) (2022-02-12)
7
+
8
+ **Note:** Version bump only for package @aws-sdk/client-cloudtrail
9
+
10
+
11
+
12
+
13
+
14
+ # [3.50.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.49.0...v3.50.0) (2022-02-08)
15
+
16
+ **Note:** Version bump only for package @aws-sdk/client-cloudtrail
17
+
18
+
19
+
20
+
21
+
22
+ # [3.49.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.48.0...v3.49.0) (2022-01-29)
23
+
24
+ **Note:** Version bump only for package @aws-sdk/client-cloudtrail
25
+
26
+
27
+
28
+
29
+
30
+ # [3.48.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.47.2...v3.48.0) (2022-01-22)
31
+
32
+
33
+ ### Features
34
+
35
+ * **clients:** update clients as of 2022/01/21 ([#3228](https://github.com/aws/aws-sdk-js-v3/issues/3228)) ([fa713ef](https://github.com/aws/aws-sdk-js-v3/commit/fa713efca6b2f424c27535d000359f08830960b1))
36
+
37
+
38
+
39
+
40
+
6
41
  ## [3.47.2](https://github.com/aws/aws-sdk-js-v3/compare/v3.47.1...v3.47.2) (2022-01-21)
7
42
 
8
43
  **Note:** Version bump only for package @aws-sdk/client-cloudtrail
@@ -80,12 +80,12 @@ export declare class CloudTrail extends CloudTrailClient {
80
80
  createTrail(args: CreateTrailCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateTrailCommandOutput) => void): void;
81
81
  /**
82
82
  * <p>Disables the event data store specified by <code>EventDataStore</code>, which accepts an event data store ARN.
83
- * After you run <code>DeleteEventDataStore</code>, the event data store is automatically deleted after a wait period of
83
+ * 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
84
84
  * seven days. <code>TerminationProtectionEnabled</code> must be set to <code>False</code> on the event data store; this
85
85
  * operation cannot work if <code>TerminationProtectionEnabled</code> is <code>True</code>.</p>
86
86
  * <p>After you run <code>DeleteEventDataStore</code> on an event data store, you cannot run <code>ListQueries</code>,
87
87
  * <code>DescribeQuery</code>, or <code>GetQueryResults</code> on queries that are using an event data store in a
88
- * <code>PENDING_DELETION</code> state.</p>
88
+ * <code>PENDING_DELETION</code> state. An event data store in the <code>PENDING_DELETION</code> state does not incur costs.</p>
89
89
  */
90
90
  deleteEventDataStore(args: DeleteEventDataStoreCommandInput, options?: __HttpHandlerOptions): Promise<DeleteEventDataStoreCommandOutput>;
91
91
  deleteEventDataStore(args: DeleteEventDataStoreCommandInput, cb: (err: any, data?: DeleteEventDataStoreCommandOutput) => void): void;
@@ -8,12 +8,12 @@ export interface DeleteEventDataStoreCommandOutput extends DeleteEventDataStoreR
8
8
  }
9
9
  /**
10
10
  * <p>Disables the event data store specified by <code>EventDataStore</code>, which accepts an event data store ARN.
11
- * After you run <code>DeleteEventDataStore</code>, the event data store is automatically deleted after a wait period of
11
+ * 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
12
12
  * seven days. <code>TerminationProtectionEnabled</code> must be set to <code>False</code> on the event data store; this
13
13
  * operation cannot work if <code>TerminationProtectionEnabled</code> is <code>True</code>.</p>
14
14
  * <p>After you run <code>DeleteEventDataStore</code> on an event data store, you cannot run <code>ListQueries</code>,
15
15
  * <code>DescribeQuery</code>, or <code>GetQueryResults</code> on queries that are using an event data store in a
16
- * <code>PENDING_DELETION</code> state.</p>
16
+ * <code>PENDING_DELETION</code> state. An event data store in the <code>PENDING_DELETION</code> state does not incur costs.</p>
17
17
  * @example
18
18
  * Use a bare-bones client and the command you need to make an API call.
19
19
  * ```javascript
@@ -225,8 +225,9 @@ export interface AdvancedFieldSelector {
225
225
  * <b>
226
226
  * <code>readOnly</code>
227
227
  * </b> - Optional. Can be set to <code>Equals</code> a value of <code>true</code>
228
- * or <code>false</code>. A value of <code>false</code> logs both <code>read</code> and
229
- * <code>write</code> events.</p>
228
+ * or <code>false</code>. If you do not add this field, CloudTrail logs both both <code>read</code> and
229
+ * <code>write</code> events. A value of <code>true</code> logs only <code>read</code> events. A value of <code>false</code>
230
+ * logs only <code>write</code> events.</p>
230
231
  * </li>
231
232
  * <li>
232
233
  * <p>
@@ -304,6 +305,11 @@ export interface AdvancedFieldSelector {
304
305
  * <code>AWS::DynamoDB::Stream</code>
305
306
  * </p>
306
307
  * </li>
308
+ * <li>
309
+ * <p>
310
+ * <code>AWS::Glue::Table</code>
311
+ * </p>
312
+ * </li>
307
313
  * </ul>
308
314
  * <p>
309
315
  * You can have only one <code>resources.type</code> field per selector. To log data
@@ -419,6 +425,15 @@ export interface AdvancedFieldSelector {
419
425
  * </p>
420
426
  * </li>
421
427
  * </ul>
428
+ * <p>When <code>resources.type</code> equals <code>AWS::Glue::Table</code>, and the operator is set to
429
+ * <code>Equals</code> or <code>NotEquals</code>, the ARN must be in the following format:</p>
430
+ * <ul>
431
+ * <li>
432
+ * <p>
433
+ * <code>arn:<partition>:glue:<region>:<account_ID>:table/<database_name>/<table_name></code>
434
+ * </p>
435
+ * </li>
436
+ * </ul>
422
437
  * </li>
423
438
  * </ul>
424
439
  */
@@ -1652,6 +1667,7 @@ export interface DataResource {
1652
1667
  * </p>
1653
1668
  * </li>
1654
1669
  * </ul>
1670
+ *
1655
1671
  * <p>The following resource types are also availble through <i>advanced</i> event selectors.
1656
1672
  * Basic event selector resource types are valid in advanced event selectors, but
1657
1673
  * advanced event selector resource types are not valid in basic event selectors.
@@ -1687,6 +1703,11 @@ export interface DataResource {
1687
1703
  * <code>AWS::DynamoDB::Stream</code>
1688
1704
  * </p>
1689
1705
  * </li>
1706
+ * <li>
1707
+ * <p>
1708
+ * <code>AWS::Glue::Table</code>
1709
+ * </p>
1710
+ * </li>
1690
1711
  * </ul>
1691
1712
  */
1692
1713
  Type?: string;
@@ -1791,7 +1812,7 @@ export interface EventSelector {
1791
1812
  * <p>An optional list of service event sources from which you do not want management events to be logged on your trail. In this release, the list can be empty (disables the filter),
1792
1813
  * or it can filter out Key Management Service or Amazon RDS Data API events by
1793
1814
  * containing <code>kms.amazonaws.com</code> or <code>rdsdata.amazonaws.com</code>. By default, <code>ExcludeManagementEventSources</code> is empty, and KMS and
1794
- * Amazon RDS Data API events are logged to your trail.</p>
1815
+ * Amazon RDS Data API events are logged to your trail. You can exclude management event sources only in regions that support the event source.</p>
1795
1816
  */
1796
1817
  ExcludeManagementEventSources?: string[];
1797
1818
  }
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.47.2",
4
+ "version": "3.51.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",
@@ -18,41 +18,47 @@
18
18
  "dependencies": {
19
19
  "@aws-crypto/sha256-browser": "2.0.0",
20
20
  "@aws-crypto/sha256-js": "2.0.0",
21
- "@aws-sdk/client-sts": "3.47.2",
22
- "@aws-sdk/config-resolver": "3.47.2",
23
- "@aws-sdk/credential-provider-node": "3.47.2",
24
- "@aws-sdk/fetch-http-handler": "3.47.2",
25
- "@aws-sdk/hash-node": "3.47.2",
26
- "@aws-sdk/invalid-dependency": "3.47.2",
27
- "@aws-sdk/middleware-content-length": "3.47.2",
28
- "@aws-sdk/middleware-host-header": "3.47.2",
29
- "@aws-sdk/middleware-logger": "3.47.2",
30
- "@aws-sdk/middleware-retry": "3.47.2",
31
- "@aws-sdk/middleware-serde": "3.47.2",
32
- "@aws-sdk/middleware-signing": "3.47.2",
33
- "@aws-sdk/middleware-stack": "3.47.2",
34
- "@aws-sdk/middleware-user-agent": "3.47.2",
35
- "@aws-sdk/node-config-provider": "3.47.2",
36
- "@aws-sdk/node-http-handler": "3.47.2",
37
- "@aws-sdk/protocol-http": "3.47.2",
38
- "@aws-sdk/smithy-client": "3.47.2",
39
- "@aws-sdk/types": "3.47.1",
40
- "@aws-sdk/url-parser": "3.47.2",
41
- "@aws-sdk/util-base64-browser": "3.47.1",
42
- "@aws-sdk/util-base64-node": "3.47.2",
43
- "@aws-sdk/util-body-length-browser": "3.47.1",
44
- "@aws-sdk/util-body-length-node": "3.47.1",
45
- "@aws-sdk/util-defaults-mode-browser": "3.47.2",
46
- "@aws-sdk/util-defaults-mode-node": "3.47.2",
47
- "@aws-sdk/util-user-agent-browser": "3.47.2",
48
- "@aws-sdk/util-user-agent-node": "3.47.2",
49
- "@aws-sdk/util-utf8-browser": "3.47.1",
50
- "@aws-sdk/util-utf8-node": "3.47.2",
21
+ "@aws-sdk/client-sts": "3.51.0",
22
+ "@aws-sdk/config-resolver": "3.51.0",
23
+ "@aws-sdk/credential-provider-node": "3.51.0",
24
+ "@aws-sdk/fetch-http-handler": "3.50.0",
25
+ "@aws-sdk/hash-node": "3.50.0",
26
+ "@aws-sdk/invalid-dependency": "3.50.0",
27
+ "@aws-sdk/middleware-content-length": "3.50.0",
28
+ "@aws-sdk/middleware-host-header": "3.50.0",
29
+ "@aws-sdk/middleware-logger": "3.50.0",
30
+ "@aws-sdk/middleware-retry": "3.51.0",
31
+ "@aws-sdk/middleware-serde": "3.50.0",
32
+ "@aws-sdk/middleware-signing": "3.50.0",
33
+ "@aws-sdk/middleware-stack": "3.50.0",
34
+ "@aws-sdk/middleware-user-agent": "3.50.0",
35
+ "@aws-sdk/node-config-provider": "3.51.0",
36
+ "@aws-sdk/node-http-handler": "3.50.0",
37
+ "@aws-sdk/protocol-http": "3.50.0",
38
+ "@aws-sdk/smithy-client": "3.50.0",
39
+ "@aws-sdk/types": "3.50.0",
40
+ "@aws-sdk/url-parser": "3.50.0",
41
+ "@aws-sdk/util-base64-browser": "3.49.0",
42
+ "@aws-sdk/util-base64-node": "3.49.0",
43
+ "@aws-sdk/util-body-length-browser": "3.49.0",
44
+ "@aws-sdk/util-body-length-node": "3.49.0",
45
+ "@aws-sdk/util-defaults-mode-browser": "3.50.0",
46
+ "@aws-sdk/util-defaults-mode-node": "3.51.0",
47
+ "@aws-sdk/util-user-agent-browser": "3.50.0",
48
+ "@aws-sdk/util-user-agent-node": "3.51.0",
49
+ "@aws-sdk/util-utf8-browser": "3.49.0",
50
+ "@aws-sdk/util-utf8-node": "3.49.0",
51
51
  "tslib": "^2.3.0"
52
52
  },
53
53
  "devDependencies": {
54
- "@aws-sdk/service-client-documentation-generator": "3.47.1",
55
- "@types/node": "^12.7.5"
54
+ "@aws-sdk/service-client-documentation-generator": "3.49.0",
55
+ "@tsconfig/recommended": "1.0.1",
56
+ "@types/node": "^12.7.5",
57
+ "concurrently": "7.0.0",
58
+ "downlevel-dts": "0.7.0",
59
+ "rimraf": "3.0.2",
60
+ "typedoc": "0.19.2",
61
+ "typescript": "~4.3.5"
56
62
  },
57
63
  "engines": {
58
64
  "node": ">=12.0.0"