@aws-sdk/client-cloudtrail 3.388.0 → 3.389.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.
@@ -3,5 +3,5 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.ruleSet = void 0;
4
4
  const s = "required", t = "fn", u = "argv", v = "ref";
5
5
  const a = "isSet", b = "tree", c = "error", d = "endpoint", e = "PartitionResult", f = "stringEquals", g = { [s]: false, "type": "String" }, h = { [s]: true, "default": false, "type": "Boolean" }, i = { [v]: "Endpoint" }, j = { [t]: "booleanEquals", [u]: [{ [v]: "UseFIPS" }, true] }, k = { [t]: "booleanEquals", [u]: [{ [v]: "UseDualStack" }, true] }, l = {}, m = { [v]: "Region" }, n = { [t]: "booleanEquals", [u]: [true, { [t]: "getAttr", [u]: [{ [v]: e }, "supportsFIPS"] }] }, o = { [t]: "booleanEquals", [u]: [true, { [t]: "getAttr", [u]: [{ [v]: e }, "supportsDualStack"] }] }, p = [j], q = [k], r = [m];
6
- const _data = { version: "1.0", parameters: { Region: g, UseDualStack: h, UseFIPS: h, Endpoint: g }, rules: [{ conditions: [{ [t]: a, [u]: [i] }], type: b, rules: [{ conditions: p, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: c }, { type: b, rules: [{ conditions: q, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: c }, { endpoint: { url: i, properties: l, headers: l }, type: d }] }] }, { type: b, rules: [{ conditions: [{ [t]: a, [u]: r }], type: b, rules: [{ conditions: [{ [t]: "aws.partition", [u]: r, assign: e }], type: b, rules: [{ conditions: [j, k], type: b, rules: [{ conditions: [n, o], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://cloudtrail-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: l, headers: l }, type: d }] }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: c }] }, { conditions: p, type: b, rules: [{ conditions: [n], type: b, rules: [{ type: b, rules: [{ conditions: [{ [t]: f, [u]: [m, "us-gov-east-1"] }], endpoint: { url: "https://cloudtrail.us-gov-east-1.amazonaws.com", properties: l, headers: l }, type: d }, { conditions: [{ [t]: f, [u]: [m, "us-gov-west-1"] }], endpoint: { url: "https://cloudtrail.us-gov-west-1.amazonaws.com", properties: l, headers: l }, type: d }, { endpoint: { url: "https://cloudtrail-fips.{Region}.{PartitionResult#dnsSuffix}", properties: l, headers: l }, type: d }] }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: c }] }, { conditions: q, type: b, rules: [{ conditions: [o], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://cloudtrail.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: l, headers: l }, type: d }] }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: c }] }, { type: b, rules: [{ endpoint: { url: "https://cloudtrail.{Region}.{PartitionResult#dnsSuffix}", properties: l, headers: l }, type: d }] }] }] }, { error: "Invalid Configuration: Missing Region", type: c }] }] };
6
+ const _data = { version: "1.0", parameters: { Region: g, UseDualStack: h, UseFIPS: h, Endpoint: g }, rules: [{ conditions: [{ [t]: a, [u]: [i] }], type: b, rules: [{ conditions: p, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: c }, { conditions: q, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: c }, { endpoint: { url: i, properties: l, headers: l }, type: d }] }, { conditions: [{ [t]: a, [u]: r }], type: b, rules: [{ conditions: [{ [t]: "aws.partition", [u]: r, assign: e }], type: b, rules: [{ conditions: [j, k], type: b, rules: [{ conditions: [n, o], type: b, rules: [{ endpoint: { url: "https://cloudtrail-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: l, headers: l }, type: d }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: c }] }, { conditions: p, type: b, rules: [{ conditions: [n], type: b, rules: [{ conditions: [{ [t]: f, [u]: [m, "us-gov-east-1"] }], endpoint: { url: "https://cloudtrail.us-gov-east-1.amazonaws.com", properties: l, headers: l }, type: d }, { conditions: [{ [t]: f, [u]: [m, "us-gov-west-1"] }], endpoint: { url: "https://cloudtrail.us-gov-west-1.amazonaws.com", properties: l, headers: l }, type: d }, { endpoint: { url: "https://cloudtrail-fips.{Region}.{PartitionResult#dnsSuffix}", properties: l, headers: l }, type: d }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: c }] }, { conditions: q, type: b, rules: [{ conditions: [o], type: b, rules: [{ endpoint: { url: "https://cloudtrail.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: l, headers: l }, type: d }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: c }] }, { endpoint: { url: "https://cloudtrail.{Region}.{PartitionResult#dnsSuffix}", properties: l, headers: l }, type: d }] }] }, { error: "Invalid Configuration: Missing Region", type: c }] };
7
7
  exports.ruleSet = _data;
@@ -1,4 +1,4 @@
1
1
  const s = "required", t = "fn", u = "argv", v = "ref";
2
2
  const a = "isSet", b = "tree", c = "error", d = "endpoint", e = "PartitionResult", f = "stringEquals", g = { [s]: false, "type": "String" }, h = { [s]: true, "default": false, "type": "Boolean" }, i = { [v]: "Endpoint" }, j = { [t]: "booleanEquals", [u]: [{ [v]: "UseFIPS" }, true] }, k = { [t]: "booleanEquals", [u]: [{ [v]: "UseDualStack" }, true] }, l = {}, m = { [v]: "Region" }, n = { [t]: "booleanEquals", [u]: [true, { [t]: "getAttr", [u]: [{ [v]: e }, "supportsFIPS"] }] }, o = { [t]: "booleanEquals", [u]: [true, { [t]: "getAttr", [u]: [{ [v]: e }, "supportsDualStack"] }] }, p = [j], q = [k], r = [m];
3
- const _data = { version: "1.0", parameters: { Region: g, UseDualStack: h, UseFIPS: h, Endpoint: g }, rules: [{ conditions: [{ [t]: a, [u]: [i] }], type: b, rules: [{ conditions: p, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: c }, { type: b, rules: [{ conditions: q, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: c }, { endpoint: { url: i, properties: l, headers: l }, type: d }] }] }, { type: b, rules: [{ conditions: [{ [t]: a, [u]: r }], type: b, rules: [{ conditions: [{ [t]: "aws.partition", [u]: r, assign: e }], type: b, rules: [{ conditions: [j, k], type: b, rules: [{ conditions: [n, o], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://cloudtrail-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: l, headers: l }, type: d }] }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: c }] }, { conditions: p, type: b, rules: [{ conditions: [n], type: b, rules: [{ type: b, rules: [{ conditions: [{ [t]: f, [u]: [m, "us-gov-east-1"] }], endpoint: { url: "https://cloudtrail.us-gov-east-1.amazonaws.com", properties: l, headers: l }, type: d }, { conditions: [{ [t]: f, [u]: [m, "us-gov-west-1"] }], endpoint: { url: "https://cloudtrail.us-gov-west-1.amazonaws.com", properties: l, headers: l }, type: d }, { endpoint: { url: "https://cloudtrail-fips.{Region}.{PartitionResult#dnsSuffix}", properties: l, headers: l }, type: d }] }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: c }] }, { conditions: q, type: b, rules: [{ conditions: [o], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://cloudtrail.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: l, headers: l }, type: d }] }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: c }] }, { type: b, rules: [{ endpoint: { url: "https://cloudtrail.{Region}.{PartitionResult#dnsSuffix}", properties: l, headers: l }, type: d }] }] }] }, { error: "Invalid Configuration: Missing Region", type: c }] }] };
3
+ const _data = { version: "1.0", parameters: { Region: g, UseDualStack: h, UseFIPS: h, Endpoint: g }, rules: [{ conditions: [{ [t]: a, [u]: [i] }], type: b, rules: [{ conditions: p, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: c }, { conditions: q, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: c }, { endpoint: { url: i, properties: l, headers: l }, type: d }] }, { conditions: [{ [t]: a, [u]: r }], type: b, rules: [{ conditions: [{ [t]: "aws.partition", [u]: r, assign: e }], type: b, rules: [{ conditions: [j, k], type: b, rules: [{ conditions: [n, o], type: b, rules: [{ endpoint: { url: "https://cloudtrail-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: l, headers: l }, type: d }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: c }] }, { conditions: p, type: b, rules: [{ conditions: [n], type: b, rules: [{ conditions: [{ [t]: f, [u]: [m, "us-gov-east-1"] }], endpoint: { url: "https://cloudtrail.us-gov-east-1.amazonaws.com", properties: l, headers: l }, type: d }, { conditions: [{ [t]: f, [u]: [m, "us-gov-west-1"] }], endpoint: { url: "https://cloudtrail.us-gov-west-1.amazonaws.com", properties: l, headers: l }, type: d }, { endpoint: { url: "https://cloudtrail-fips.{Region}.{PartitionResult#dnsSuffix}", properties: l, headers: l }, type: d }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: c }] }, { conditions: q, type: b, rules: [{ conditions: [o], type: b, rules: [{ endpoint: { url: "https://cloudtrail.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: l, headers: l }, type: d }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: c }] }, { endpoint: { url: "https://cloudtrail.{Region}.{PartitionResult#dnsSuffix}", properties: l, headers: l }, type: d }] }] }, { error: "Invalid Configuration: Missing Region", type: c }] };
4
4
  export const ruleSet = _data;
@@ -90,7 +90,7 @@ export interface StartQueryCommandOutput extends StartQueryResponse, __MetadataB
90
90
  * <p>This exception is thrown when the provided S3 prefix is not valid.</p>
91
91
  *
92
92
  * @throws {@link MaxConcurrentQueriesException} (client fault)
93
- * <p>You are already running the maximum number of concurrent queries. Wait a minute for some
93
+ * <p>You are already running the maximum number of concurrent queries. The maximum number of concurrent queries is 10. Wait a minute for some
94
94
  * queries to finish, and then run the query again.</p>
95
95
  *
96
96
  * @throws {@link NoManagementAccountSLRExistsException} (client fault)
@@ -587,11 +587,21 @@ export interface AdvancedFieldSelector {
587
587
  * </li>
588
588
  * <li>
589
589
  * <p>
590
+ * <code>AWS::ManagedBlockchain::Network</code>
591
+ * </p>
592
+ * </li>
593
+ * <li>
594
+ * <p>
590
595
  * <code>AWS::ManagedBlockchain::Node</code>
591
596
  * </p>
592
597
  * </li>
593
598
  * <li>
594
599
  * <p>
600
+ * <code>AWS::MedicalImaging::Datastore</code>
601
+ * </p>
602
+ * </li>
603
+ * <li>
604
+ * <p>
595
605
  * <code>AWS::SageMaker::ExperimentTrialComponent</code>
596
606
  * </p>
597
607
  * </li>
@@ -615,6 +625,16 @@ export interface AdvancedFieldSelector {
615
625
  * <code>AWS::S3Outposts::Object</code>
616
626
  * </p>
617
627
  * </li>
628
+ * <li>
629
+ * <p>
630
+ * <code>AWS::SSMMessages::ControlChannel</code>
631
+ * </p>
632
+ * </li>
633
+ * <li>
634
+ * <p>
635
+ * <code>AWS::VerifiedPermissions::PolicyStore</code>
636
+ * </p>
637
+ * </li>
618
638
  * </ul>
619
639
  * <p> You can have only one <code>resources.type</code> field per selector. To log data
620
640
  * events on more than one resource type, add another selector.</p>
@@ -765,6 +785,16 @@ export interface AdvancedFieldSelector {
765
785
  * </p>
766
786
  * </li>
767
787
  * </ul>
788
+ * <p>When <code>resources.type</code> equals <code>AWS::ManagedBlockchain::Network</code>,
789
+ * and the operator is set to <code>Equals</code> or <code>NotEquals</code>, the ARN
790
+ * must be in the following format:</p>
791
+ * <ul>
792
+ * <li>
793
+ * <p>
794
+ * <code>arn:<partition>:managedblockchain:::networks/<network_name></code>
795
+ * </p>
796
+ * </li>
797
+ * </ul>
768
798
  * <p>When <code>resources.type</code> equals <code>AWS::ManagedBlockchain::Node</code>,
769
799
  * and the operator is set to <code>Equals</code> or <code>NotEquals</code>, the ARN
770
800
  * must be in the following format:</p>
@@ -775,6 +805,16 @@ export interface AdvancedFieldSelector {
775
805
  * </p>
776
806
  * </li>
777
807
  * </ul>
808
+ * <p>When <code>resources.type</code> equals <code>AWS::MedicalImaging::Datastore</code>,
809
+ * and the operator is set to <code>Equals</code> or <code>NotEquals</code>, the ARN
810
+ * must be in the following format:</p>
811
+ * <ul>
812
+ * <li>
813
+ * <p>
814
+ * <code>arn:<partition>:medical-imaging:<region>:<account_ID>:datastore/<data_store_ID></code>
815
+ * </p>
816
+ * </li>
817
+ * </ul>
778
818
  * <p>When <code>resources.type</code> equals <code>AWS::SageMaker::ExperimentTrialComponent</code>, and the operator is set to
779
819
  * <code>Equals</code> or <code>NotEquals</code>, the ARN must be in the following format:</p>
780
820
  * <ul>
@@ -831,6 +871,26 @@ export interface AdvancedFieldSelector {
831
871
  * </p>
832
872
  * </li>
833
873
  * </ul>
874
+ * <p>When <code>resources.type</code> equals <code>AWS::SSMMessages::ControlChannel</code>, and
875
+ * the operator is set to <code>Equals</code> or <code>NotEquals</code>, the ARN must be
876
+ * in the following format:</p>
877
+ * <ul>
878
+ * <li>
879
+ * <p>
880
+ * <code>arn:<partition>:ssmmessages:<region>:<account_ID>:control-channel/<channel_ID></code>
881
+ * </p>
882
+ * </li>
883
+ * </ul>
884
+ * <p>When resources.type equals <code>AWS::VerifiedPermissions::PolicyStore</code>, and the operator is
885
+ * set to <code>Equals</code> or <code>NotEquals</code>, the ARN must be in the
886
+ * following format:</p>
887
+ * <ul>
888
+ * <li>
889
+ * <p>
890
+ * <code>arn:<partition>:verifiedpermissions:<region>:<account_ID>:policy-store/<policy_store_UUID></code>
891
+ * </p>
892
+ * </li>
893
+ * </ul>
834
894
  * </li>
835
895
  * </ul>
836
896
  */
@@ -1300,7 +1360,17 @@ export interface CreateEventDataStoreRequest {
1300
1360
  /**
1301
1361
  * @public
1302
1362
  * <p>The retention period of the event data store, in days. You can set a retention period of
1303
- * up to 2557 days, the equivalent of seven years.</p>
1363
+ * up to 2557 days, the equivalent of seven years. CloudTrail Lake determines whether to retain an event by checking if the <code>eventTime</code>
1364
+ * of the event is within the specified retention period. For example, if you set a retention period of 90 days, CloudTrail will remove events
1365
+ * when the <code>eventTime</code> is older than 90 days.</p>
1366
+ * <note>
1367
+ * <p>If you plan to copy trail events to this event data store, we recommend
1368
+ * that you consider both the age of the events that you
1369
+ * want to copy as well as how long you want to keep the copied events
1370
+ * in your event data store. For example, if you copy trail events that are 5 years old
1371
+ * and specify a retention period of 7 years, the event data store
1372
+ * will retain those events for two years.</p>
1373
+ * </note>
1304
1374
  */
1305
1375
  RetentionPeriod?: number;
1306
1376
  /**
@@ -3015,11 +3085,21 @@ export interface DataResource {
3015
3085
  * </li>
3016
3086
  * <li>
3017
3087
  * <p>
3088
+ * <code>AWS::ManagedBlockchain::Network</code>
3089
+ * </p>
3090
+ * </li>
3091
+ * <li>
3092
+ * <p>
3018
3093
  * <code>AWS::ManagedBlockchain::Node</code>
3019
3094
  * </p>
3020
3095
  * </li>
3021
3096
  * <li>
3022
3097
  * <p>
3098
+ * <code>AWS::MedicalImaging::Datastore</code>
3099
+ * </p>
3100
+ * </li>
3101
+ * <li>
3102
+ * <p>
3023
3103
  * <code>AWS::SageMaker::ExperimentTrialComponent</code>
3024
3104
  * </p>
3025
3105
  * </li>
@@ -3043,6 +3123,16 @@ export interface DataResource {
3043
3123
  * <code>AWS::S3Outposts::Object</code>
3044
3124
  * </p>
3045
3125
  * </li>
3126
+ * <li>
3127
+ * <p>
3128
+ * <code>AWS::SSMMessages::ControlChannel</code>
3129
+ * </p>
3130
+ * </li>
3131
+ * <li>
3132
+ * <p>
3133
+ * <code>AWS::VerifiedPermissions::PolicyStore</code>
3134
+ * </p>
3135
+ * </li>
3046
3136
  * </ul>
3047
3137
  */
3048
3138
  Type?: string;
@@ -5178,7 +5268,7 @@ export declare class InvalidQueryStatementException extends __BaseException {
5178
5268
  }
5179
5269
  /**
5180
5270
  * @public
5181
- * <p>You are already running the maximum number of concurrent queries. Wait a minute for some
5271
+ * <p>You are already running the maximum number of concurrent queries. The maximum number of concurrent queries is 10. Wait a minute for some
5182
5272
  * queries to finish, and then run the query again.</p>
5183
5273
  */
5184
5274
  export declare class MaxConcurrentQueriesException extends __BaseException {
@@ -5418,7 +5508,14 @@ export interface UpdateEventDataStoreRequest {
5418
5508
  OrganizationEnabled?: boolean;
5419
5509
  /**
5420
5510
  * @public
5421
- * <p>The retention period, in days.</p>
5511
+ * <p>The retention period of the event data store, in days. You can set a retention period of
5512
+ * up to 2557 days, the equivalent of seven years. CloudTrail Lake determines whether to retain an event by checking if the <code>eventTime</code>
5513
+ * of the event is within the specified retention period. For example, if you set a retention period of 90 days, CloudTrail will remove events
5514
+ * when the <code>eventTime</code> is older than 90 days.</p>
5515
+ * <note>
5516
+ * <p>If you decrease the retention period of an event data store, CloudTrail will remove any events with an <code>eventTime</code> older than the new retention period. For example, if the previous
5517
+ * retention period was 365 days and you decrease it to 100 days, CloudTrail will remove events with an <code>eventTime</code> older than 100 days.</p>
5518
+ * </note>
5422
5519
  */
5423
5520
  RetentionPeriod?: number;
5424
5521
  /**
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.388.0",
4
+ "version": "3.389.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",