@aws-sdk/client-cloudtrail 3.441.0 → 3.448.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/dist-cjs/protocols/Aws_json1_1.js +15 -0
- package/dist-es/protocols/Aws_json1_1.js +15 -0
- package/dist-types/commands/AddTagsCommand.d.ts +2 -5
- package/dist-types/commands/DeleteTrailCommand.d.ts +2 -5
- package/dist-types/commands/GetEventSelectorsCommand.d.ts +2 -5
- package/dist-types/commands/GetInsightSelectorsCommand.d.ts +20 -11
- package/dist-types/commands/GetTrailCommand.d.ts +2 -5
- package/dist-types/commands/GetTrailStatusCommand.d.ts +2 -5
- package/dist-types/commands/ListTagsCommand.d.ts +2 -5
- package/dist-types/commands/LookupEventsCommand.d.ts +7 -2
- package/dist-types/commands/PutEventSelectorsCommand.d.ts +2 -5
- package/dist-types/commands/PutInsightSelectorsCommand.d.ts +35 -16
- package/dist-types/commands/RegisterOrganizationDelegatedAdminCommand.d.ts +1 -2
- package/dist-types/commands/RemoveTagsCommand.d.ts +2 -5
- package/dist-types/commands/StartLoggingCommand.d.ts +2 -5
- package/dist-types/commands/StopLoggingCommand.d.ts +2 -5
- package/dist-types/commands/UpdateEventDataStoreCommand.d.ts +13 -3
- package/dist-types/commands/UpdateTrailCommand.d.ts +2 -5
- package/dist-types/index.d.ts +2 -0
- package/dist-types/models/models_0.d.ts +259 -23
- package/dist-types/ts3.4/index.d.ts +2 -0
- package/dist-types/ts3.4/models/models_0.d.ts +9 -2
- package/package.json +4 -4
|
@@ -1327,6 +1327,12 @@ const de_GetInsightSelectorsCommandError = async (output, context) => {
|
|
|
1327
1327
|
case "InsightNotEnabledException":
|
|
1328
1328
|
case "com.amazonaws.cloudtrail#InsightNotEnabledException":
|
|
1329
1329
|
throw await de_InsightNotEnabledExceptionRes(parsedOutput, context);
|
|
1330
|
+
case "InvalidParameterCombinationException":
|
|
1331
|
+
case "com.amazonaws.cloudtrail#InvalidParameterCombinationException":
|
|
1332
|
+
throw await de_InvalidParameterCombinationExceptionRes(parsedOutput, context);
|
|
1333
|
+
case "InvalidParameterException":
|
|
1334
|
+
case "com.amazonaws.cloudtrail#InvalidParameterException":
|
|
1335
|
+
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
1330
1336
|
case "InvalidTrailNameException":
|
|
1331
1337
|
case "com.amazonaws.cloudtrail#InvalidTrailNameException":
|
|
1332
1338
|
throw await de_InvalidTrailNameExceptionRes(parsedOutput, context);
|
|
@@ -2083,6 +2089,12 @@ const de_PutInsightSelectorsCommandError = async (output, context) => {
|
|
|
2083
2089
|
case "InvalidInsightSelectorsException":
|
|
2084
2090
|
case "com.amazonaws.cloudtrail#InvalidInsightSelectorsException":
|
|
2085
2091
|
throw await de_InvalidInsightSelectorsExceptionRes(parsedOutput, context);
|
|
2092
|
+
case "InvalidParameterCombinationException":
|
|
2093
|
+
case "com.amazonaws.cloudtrail#InvalidParameterCombinationException":
|
|
2094
|
+
throw await de_InvalidParameterCombinationExceptionRes(parsedOutput, context);
|
|
2095
|
+
case "InvalidParameterException":
|
|
2096
|
+
case "com.amazonaws.cloudtrail#InvalidParameterException":
|
|
2097
|
+
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
2086
2098
|
case "InvalidTrailNameException":
|
|
2087
2099
|
case "com.amazonaws.cloudtrail#InvalidTrailNameException":
|
|
2088
2100
|
throw await de_InvalidTrailNameExceptionRes(parsedOutput, context);
|
|
@@ -2911,6 +2923,9 @@ const de_UpdateEventDataStoreCommandError = async (output, context) => {
|
|
|
2911
2923
|
case "InvalidEventSelectorsException":
|
|
2912
2924
|
case "com.amazonaws.cloudtrail#InvalidEventSelectorsException":
|
|
2913
2925
|
throw await de_InvalidEventSelectorsExceptionRes(parsedOutput, context);
|
|
2926
|
+
case "InvalidInsightSelectorsException":
|
|
2927
|
+
case "com.amazonaws.cloudtrail#InvalidInsightSelectorsException":
|
|
2928
|
+
throw await de_InvalidInsightSelectorsExceptionRes(parsedOutput, context);
|
|
2914
2929
|
case "InvalidKmsKeyIdException":
|
|
2915
2930
|
case "com.amazonaws.cloudtrail#InvalidKmsKeyIdException":
|
|
2916
2931
|
throw await de_InvalidKmsKeyIdExceptionRes(parsedOutput, context);
|
|
@@ -1260,6 +1260,12 @@ const de_GetInsightSelectorsCommandError = async (output, context) => {
|
|
|
1260
1260
|
case "InsightNotEnabledException":
|
|
1261
1261
|
case "com.amazonaws.cloudtrail#InsightNotEnabledException":
|
|
1262
1262
|
throw await de_InsightNotEnabledExceptionRes(parsedOutput, context);
|
|
1263
|
+
case "InvalidParameterCombinationException":
|
|
1264
|
+
case "com.amazonaws.cloudtrail#InvalidParameterCombinationException":
|
|
1265
|
+
throw await de_InvalidParameterCombinationExceptionRes(parsedOutput, context);
|
|
1266
|
+
case "InvalidParameterException":
|
|
1267
|
+
case "com.amazonaws.cloudtrail#InvalidParameterException":
|
|
1268
|
+
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
1263
1269
|
case "InvalidTrailNameException":
|
|
1264
1270
|
case "com.amazonaws.cloudtrail#InvalidTrailNameException":
|
|
1265
1271
|
throw await de_InvalidTrailNameExceptionRes(parsedOutput, context);
|
|
@@ -2001,6 +2007,12 @@ const de_PutInsightSelectorsCommandError = async (output, context) => {
|
|
|
2001
2007
|
case "InvalidInsightSelectorsException":
|
|
2002
2008
|
case "com.amazonaws.cloudtrail#InvalidInsightSelectorsException":
|
|
2003
2009
|
throw await de_InvalidInsightSelectorsExceptionRes(parsedOutput, context);
|
|
2010
|
+
case "InvalidParameterCombinationException":
|
|
2011
|
+
case "com.amazonaws.cloudtrail#InvalidParameterCombinationException":
|
|
2012
|
+
throw await de_InvalidParameterCombinationExceptionRes(parsedOutput, context);
|
|
2013
|
+
case "InvalidParameterException":
|
|
2014
|
+
case "com.amazonaws.cloudtrail#InvalidParameterException":
|
|
2015
|
+
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
2004
2016
|
case "InvalidTrailNameException":
|
|
2005
2017
|
case "com.amazonaws.cloudtrail#InvalidTrailNameException":
|
|
2006
2018
|
throw await de_InvalidTrailNameExceptionRes(parsedOutput, context);
|
|
@@ -2816,6 +2828,9 @@ const de_UpdateEventDataStoreCommandError = async (output, context) => {
|
|
|
2816
2828
|
case "InvalidEventSelectorsException":
|
|
2817
2829
|
case "com.amazonaws.cloudtrail#InvalidEventSelectorsException":
|
|
2818
2830
|
throw await de_InvalidEventSelectorsExceptionRes(parsedOutput, context);
|
|
2831
|
+
case "InvalidInsightSelectorsException":
|
|
2832
|
+
case "com.amazonaws.cloudtrail#InvalidInsightSelectorsException":
|
|
2833
|
+
throw await de_InvalidInsightSelectorsExceptionRes(parsedOutput, context);
|
|
2819
2834
|
case "InvalidKmsKeyIdException":
|
|
2820
2835
|
case "com.amazonaws.cloudtrail#InvalidKmsKeyIdException":
|
|
2821
2836
|
throw await de_InvalidKmsKeyIdExceptionRes(parsedOutput, context);
|
|
@@ -65,12 +65,9 @@ export interface AddTagsCommandOutput extends AddTagsResponse, __MetadataBearer
|
|
|
65
65
|
* <p>This exception is thrown when CloudTrail cannot find the specified channel.</p>
|
|
66
66
|
*
|
|
67
67
|
* @throws {@link CloudTrailARNInvalidException} (client fault)
|
|
68
|
-
* <p>This exception is thrown when an operation is called with
|
|
69
|
-
* The following is the format of a trail ARN
|
|
70
|
-
* <p>
|
|
71
|
-
* <code>arn:aws:cloudtrail:us-east-2:123456789012:trail/MyTrail</code>
|
|
68
|
+
* <p>This exception is thrown when an operation is called with an ARN that is not valid.</p>
|
|
69
|
+
* <p>The following is the format of a trail ARN: <code>arn:aws:cloudtrail:us-east-2:123456789012:trail/MyTrail</code>
|
|
72
70
|
* </p>
|
|
73
|
-
* <p>This exception is also thrown when you call <code>AddTags</code> or <code>RemoveTags</code> on a trail, event data store, or channel with a resource ARN that is not valid.</p>
|
|
74
71
|
* <p>The following is the format of an event data store ARN:
|
|
75
72
|
* <code>arn:aws:cloudtrail:us-east-2:123456789012:eventdatastore/EXAMPLE-f852-4e8f-8bd1-bcf6cEXAMPLE</code>
|
|
76
73
|
* </p>
|
|
@@ -48,12 +48,9 @@ export interface DeleteTrailCommandOutput extends DeleteTrailResponse, __Metadat
|
|
|
48
48
|
* @see {@link CloudTrailClientResolvedConfig | config} for CloudTrailClient's `config` shape.
|
|
49
49
|
*
|
|
50
50
|
* @throws {@link CloudTrailARNInvalidException} (client fault)
|
|
51
|
-
* <p>This exception is thrown when an operation is called with
|
|
52
|
-
* The following is the format of a trail ARN
|
|
53
|
-
* <p>
|
|
54
|
-
* <code>arn:aws:cloudtrail:us-east-2:123456789012:trail/MyTrail</code>
|
|
51
|
+
* <p>This exception is thrown when an operation is called with an ARN that is not valid.</p>
|
|
52
|
+
* <p>The following is the format of a trail ARN: <code>arn:aws:cloudtrail:us-east-2:123456789012:trail/MyTrail</code>
|
|
55
53
|
* </p>
|
|
56
|
-
* <p>This exception is also thrown when you call <code>AddTags</code> or <code>RemoveTags</code> on a trail, event data store, or channel with a resource ARN that is not valid.</p>
|
|
57
54
|
* <p>The following is the format of an event data store ARN:
|
|
58
55
|
* <code>arn:aws:cloudtrail:us-east-2:123456789012:eventdatastore/EXAMPLE-f852-4e8f-8bd1-bcf6cEXAMPLE</code>
|
|
59
56
|
* </p>
|
|
@@ -119,12 +119,9 @@ export interface GetEventSelectorsCommandOutput extends GetEventSelectorsRespons
|
|
|
119
119
|
* @see {@link CloudTrailClientResolvedConfig | config} for CloudTrailClient's `config` shape.
|
|
120
120
|
*
|
|
121
121
|
* @throws {@link CloudTrailARNInvalidException} (client fault)
|
|
122
|
-
* <p>This exception is thrown when an operation is called with
|
|
123
|
-
* The following is the format of a trail ARN
|
|
124
|
-
* <p>
|
|
125
|
-
* <code>arn:aws:cloudtrail:us-east-2:123456789012:trail/MyTrail</code>
|
|
122
|
+
* <p>This exception is thrown when an operation is called with an ARN that is not valid.</p>
|
|
123
|
+
* <p>The following is the format of a trail ARN: <code>arn:aws:cloudtrail:us-east-2:123456789012:trail/MyTrail</code>
|
|
126
124
|
* </p>
|
|
127
|
-
* <p>This exception is also thrown when you call <code>AddTags</code> or <code>RemoveTags</code> on a trail, event data store, or channel with a resource ARN that is not valid.</p>
|
|
128
125
|
* <p>The following is the format of an event data store ARN:
|
|
129
126
|
* <code>arn:aws:cloudtrail:us-east-2:123456789012:eventdatastore/EXAMPLE-f852-4e8f-8bd1-bcf6cEXAMPLE</code>
|
|
130
127
|
* </p>
|
|
@@ -24,12 +24,14 @@ export interface GetInsightSelectorsCommandOutput extends GetInsightSelectorsRes
|
|
|
24
24
|
/**
|
|
25
25
|
* @public
|
|
26
26
|
* <p>Describes the settings for the Insights event selectors that you configured for your
|
|
27
|
-
* trail. <code>GetInsightSelectors</code> shows if CloudTrail Insights event logging
|
|
28
|
-
* is enabled on the trail, and if it is, which
|
|
29
|
-
* <code>GetInsightSelectors</code> on a trail that does not have Insights events enabled,
|
|
27
|
+
* trail or event data store. <code>GetInsightSelectors</code> shows if CloudTrail Insights event logging
|
|
28
|
+
* is enabled on the trail or event data store, and if it is, which Insights types are enabled. If you run
|
|
29
|
+
* <code>GetInsightSelectors</code> on a trail or event data store that does not have Insights events enabled,
|
|
30
30
|
* the operation throws the exception <code>InsightNotEnabledException</code>
|
|
31
31
|
* </p>
|
|
32
|
-
* <p>
|
|
32
|
+
* <p>Specify either the <code>EventDataStore</code> parameter to get Insights event selectors for an event data store,
|
|
33
|
+
* or the <code>TrailName</code> parameter to the get Insights event selectors for a trail. You cannot specify these parameters together.</p>
|
|
34
|
+
* <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</a> in the <i>CloudTrail User Guide</i>.</p>
|
|
33
35
|
* @example
|
|
34
36
|
* Use a bare-bones client and the command you need to make an API call.
|
|
35
37
|
* ```javascript
|
|
@@ -37,7 +39,8 @@ export interface GetInsightSelectorsCommandOutput extends GetInsightSelectorsRes
|
|
|
37
39
|
* // const { CloudTrailClient, GetInsightSelectorsCommand } = require("@aws-sdk/client-cloudtrail"); // CommonJS import
|
|
38
40
|
* const client = new CloudTrailClient(config);
|
|
39
41
|
* const input = { // GetInsightSelectorsRequest
|
|
40
|
-
* TrailName: "STRING_VALUE",
|
|
42
|
+
* TrailName: "STRING_VALUE",
|
|
43
|
+
* EventDataStore: "STRING_VALUE",
|
|
41
44
|
* };
|
|
42
45
|
* const command = new GetInsightSelectorsCommand(input);
|
|
43
46
|
* const response = await client.send(command);
|
|
@@ -48,6 +51,8 @@ export interface GetInsightSelectorsCommandOutput extends GetInsightSelectorsRes
|
|
|
48
51
|
* // InsightType: "ApiCallRateInsight" || "ApiErrorRateInsight",
|
|
49
52
|
* // },
|
|
50
53
|
* // ],
|
|
54
|
+
* // EventDataStoreArn: "STRING_VALUE",
|
|
55
|
+
* // InsightsDestination: "STRING_VALUE",
|
|
51
56
|
* // };
|
|
52
57
|
*
|
|
53
58
|
* ```
|
|
@@ -59,12 +64,9 @@ export interface GetInsightSelectorsCommandOutput extends GetInsightSelectorsRes
|
|
|
59
64
|
* @see {@link CloudTrailClientResolvedConfig | config} for CloudTrailClient's `config` shape.
|
|
60
65
|
*
|
|
61
66
|
* @throws {@link CloudTrailARNInvalidException} (client fault)
|
|
62
|
-
* <p>This exception is thrown when an operation is called with
|
|
63
|
-
* The following is the format of a trail ARN
|
|
64
|
-
* <p>
|
|
65
|
-
* <code>arn:aws:cloudtrail:us-east-2:123456789012:trail/MyTrail</code>
|
|
67
|
+
* <p>This exception is thrown when an operation is called with an ARN that is not valid.</p>
|
|
68
|
+
* <p>The following is the format of a trail ARN: <code>arn:aws:cloudtrail:us-east-2:123456789012:trail/MyTrail</code>
|
|
66
69
|
* </p>
|
|
67
|
-
* <p>This exception is also thrown when you call <code>AddTags</code> or <code>RemoveTags</code> on a trail, event data store, or channel with a resource ARN that is not valid.</p>
|
|
68
70
|
* <p>The following is the format of an event data store ARN:
|
|
69
71
|
* <code>arn:aws:cloudtrail:us-east-2:123456789012:eventdatastore/EXAMPLE-f852-4e8f-8bd1-bcf6cEXAMPLE</code>
|
|
70
72
|
* </p>
|
|
@@ -73,10 +75,17 @@ export interface GetInsightSelectorsCommandOutput extends GetInsightSelectorsRes
|
|
|
73
75
|
* </p>
|
|
74
76
|
*
|
|
75
77
|
* @throws {@link InsightNotEnabledException} (client fault)
|
|
76
|
-
* <p>If you run <code>GetInsightSelectors</code> on a trail that does not have Insights
|
|
78
|
+
* <p>If you run <code>GetInsightSelectors</code> on a trail or event data store that does not have Insights
|
|
77
79
|
* events enabled, the operation throws the exception
|
|
78
80
|
* <code>InsightNotEnabledException</code>.</p>
|
|
79
81
|
*
|
|
82
|
+
* @throws {@link InvalidParameterCombinationException} (client fault)
|
|
83
|
+
* <p>This exception is thrown when the combination of parameters provided is not
|
|
84
|
+
* valid.</p>
|
|
85
|
+
*
|
|
86
|
+
* @throws {@link InvalidParameterException} (client fault)
|
|
87
|
+
* <p>The request includes a parameter that is not valid.</p>
|
|
88
|
+
*
|
|
80
89
|
* @throws {@link InvalidTrailNameException} (client fault)
|
|
81
90
|
* <p>This exception is thrown when the provided trail name is not valid. Trail names must
|
|
82
91
|
* meet the following requirements:</p>
|
|
@@ -65,12 +65,9 @@ export interface GetTrailCommandOutput extends GetTrailResponse, __MetadataBeare
|
|
|
65
65
|
* @see {@link CloudTrailClientResolvedConfig | config} for CloudTrailClient's `config` shape.
|
|
66
66
|
*
|
|
67
67
|
* @throws {@link CloudTrailARNInvalidException} (client fault)
|
|
68
|
-
* <p>This exception is thrown when an operation is called with
|
|
69
|
-
* The following is the format of a trail ARN
|
|
70
|
-
* <p>
|
|
71
|
-
* <code>arn:aws:cloudtrail:us-east-2:123456789012:trail/MyTrail</code>
|
|
68
|
+
* <p>This exception is thrown when an operation is called with an ARN that is not valid.</p>
|
|
69
|
+
* <p>The following is the format of a trail ARN: <code>arn:aws:cloudtrail:us-east-2:123456789012:trail/MyTrail</code>
|
|
72
70
|
* </p>
|
|
73
|
-
* <p>This exception is also thrown when you call <code>AddTags</code> or <code>RemoveTags</code> on a trail, event data store, or channel with a resource ARN that is not valid.</p>
|
|
74
71
|
* <p>The following is the format of an event data store ARN:
|
|
75
72
|
* <code>arn:aws:cloudtrail:us-east-2:123456789012:eventdatastore/EXAMPLE-f852-4e8f-8bd1-bcf6cEXAMPLE</code>
|
|
76
73
|
* </p>
|
|
@@ -68,12 +68,9 @@ export interface GetTrailStatusCommandOutput extends GetTrailStatusResponse, __M
|
|
|
68
68
|
* @see {@link CloudTrailClientResolvedConfig | config} for CloudTrailClient's `config` shape.
|
|
69
69
|
*
|
|
70
70
|
* @throws {@link CloudTrailARNInvalidException} (client fault)
|
|
71
|
-
* <p>This exception is thrown when an operation is called with
|
|
72
|
-
* The following is the format of a trail ARN
|
|
73
|
-
* <p>
|
|
74
|
-
* <code>arn:aws:cloudtrail:us-east-2:123456789012:trail/MyTrail</code>
|
|
71
|
+
* <p>This exception is thrown when an operation is called with an ARN that is not valid.</p>
|
|
72
|
+
* <p>The following is the format of a trail ARN: <code>arn:aws:cloudtrail:us-east-2:123456789012:trail/MyTrail</code>
|
|
75
73
|
* </p>
|
|
76
|
-
* <p>This exception is also thrown when you call <code>AddTags</code> or <code>RemoveTags</code> on a trail, event data store, or channel with a resource ARN that is not valid.</p>
|
|
77
74
|
* <p>The following is the format of an event data store ARN:
|
|
78
75
|
* <code>arn:aws:cloudtrail:us-east-2:123456789012:eventdatastore/EXAMPLE-f852-4e8f-8bd1-bcf6cEXAMPLE</code>
|
|
79
76
|
* </p>
|
|
@@ -66,12 +66,9 @@ export interface ListTagsCommandOutput extends ListTagsResponse, __MetadataBeare
|
|
|
66
66
|
* valid.</p>
|
|
67
67
|
*
|
|
68
68
|
* @throws {@link CloudTrailARNInvalidException} (client fault)
|
|
69
|
-
* <p>This exception is thrown when an operation is called with
|
|
70
|
-
* The following is the format of a trail ARN
|
|
71
|
-
* <p>
|
|
72
|
-
* <code>arn:aws:cloudtrail:us-east-2:123456789012:trail/MyTrail</code>
|
|
69
|
+
* <p>This exception is thrown when an operation is called with an ARN that is not valid.</p>
|
|
70
|
+
* <p>The following is the format of a trail ARN: <code>arn:aws:cloudtrail:us-east-2:123456789012:trail/MyTrail</code>
|
|
73
71
|
* </p>
|
|
74
|
-
* <p>This exception is also thrown when you call <code>AddTags</code> or <code>RemoveTags</code> on a trail, event data store, or channel with a resource ARN that is not valid.</p>
|
|
75
72
|
* <p>The following is the format of an event data store ARN:
|
|
76
73
|
* <code>arn:aws:cloudtrail:us-east-2:123456789012:eventdatastore/EXAMPLE-f852-4e8f-8bd1-bcf6cEXAMPLE</code>
|
|
77
74
|
* </p>
|
|
@@ -24,8 +24,13 @@ export interface LookupEventsCommandOutput extends LookupEventsResponse, __Metad
|
|
|
24
24
|
/**
|
|
25
25
|
* @public
|
|
26
26
|
* <p>Looks up <a href="https://docs.aws.amazon.com/awscloudtrail/latest/userguide/cloudtrail-concepts.html#cloudtrail-concepts-management-events">management events</a> or <a href="https://docs.aws.amazon.com/awscloudtrail/latest/userguide/cloudtrail-concepts.html#cloudtrail-concepts-insights-events">CloudTrail Insights events</a> that are captured by CloudTrail.
|
|
27
|
-
* You can look up events that occurred in a Region within the last 90 days
|
|
28
|
-
*
|
|
27
|
+
* You can look up events that occurred in a Region within the last 90 days.</p>
|
|
28
|
+
* <note>
|
|
29
|
+
* <p>
|
|
30
|
+
* <code>LookupEvents</code> returns recent Insights events for trails that enable Insights. To view Insights events for an event data store, you can run queries on your
|
|
31
|
+
* Insights event data store, and you can also view the Lake dashboard for Insights.</p>
|
|
32
|
+
* </note>
|
|
33
|
+
* <p>Lookup supports the following attributes for management events:</p>
|
|
29
34
|
* <ul>
|
|
30
35
|
* <li>
|
|
31
36
|
* <p>Amazon Web Services access key</p>
|
|
@@ -178,12 +178,9 @@ export interface PutEventSelectorsCommandOutput extends PutEventSelectorsRespons
|
|
|
178
178
|
* @see {@link CloudTrailClientResolvedConfig | config} for CloudTrailClient's `config` shape.
|
|
179
179
|
*
|
|
180
180
|
* @throws {@link CloudTrailARNInvalidException} (client fault)
|
|
181
|
-
* <p>This exception is thrown when an operation is called with
|
|
182
|
-
* The following is the format of a trail ARN
|
|
183
|
-
* <p>
|
|
184
|
-
* <code>arn:aws:cloudtrail:us-east-2:123456789012:trail/MyTrail</code>
|
|
181
|
+
* <p>This exception is thrown when an operation is called with an ARN that is not valid.</p>
|
|
182
|
+
* <p>The following is the format of a trail ARN: <code>arn:aws:cloudtrail:us-east-2:123456789012:trail/MyTrail</code>
|
|
185
183
|
* </p>
|
|
186
|
-
* <p>This exception is also thrown when you call <code>AddTags</code> or <code>RemoveTags</code> on a trail, event data store, or channel with a resource ARN that is not valid.</p>
|
|
187
184
|
* <p>The following is the format of an event data store ARN:
|
|
188
185
|
* <code>arn:aws:cloudtrail:us-east-2:123456789012:eventdatastore/EXAMPLE-f852-4e8f-8bd1-bcf6cEXAMPLE</code>
|
|
189
186
|
* </p>
|
|
@@ -24,15 +24,21 @@ export interface PutInsightSelectorsCommandOutput extends PutInsightSelectorsRes
|
|
|
24
24
|
/**
|
|
25
25
|
* @public
|
|
26
26
|
* <p>Lets you enable Insights event logging by specifying the Insights selectors that you
|
|
27
|
-
* want to enable on an existing trail. You also use <code>PutInsightSelectors</code> to turn
|
|
28
|
-
* off Insights event logging, by passing an empty list of
|
|
29
|
-
* event types
|
|
27
|
+
* want to enable on an existing trail or event data store. You also use <code>PutInsightSelectors</code> to turn
|
|
28
|
+
* off Insights event logging, by passing an empty list of Insights types. The valid Insights
|
|
29
|
+
* event types are <code>ApiErrorRateInsight</code> and
|
|
30
30
|
* <code>ApiCallRateInsight</code>.</p>
|
|
31
|
-
* <p>To
|
|
31
|
+
* <p>To enable Insights on an event data store, you must specify the ARNs (or ID suffix of the ARNs) for the source event data store (<code>EventDataStore</code>) and the destination event data store (<code>InsightsDestination</code>). The source event data store logs management events and enables Insights.
|
|
32
|
+
* The destination event data store logs Insights events based upon the management event activity of the source event data store. The source and destination event data stores must belong to the same Amazon Web Services account.</p>
|
|
33
|
+
* <p>To log Insights events for a trail, you must specify the name (<code>TrailName</code>) of the CloudTrail trail for which you want to change or add Insights
|
|
34
|
+
* selectors.</p>
|
|
35
|
+
* <p>To log CloudTrail Insights events on API call volume, the trail or event data store
|
|
32
36
|
* must log <code>write</code> management events. To log CloudTrail
|
|
33
|
-
* Insights events on API error rate, the trail must log <code>read</code> or
|
|
37
|
+
* Insights events on API error rate, the trail or event data store must log <code>read</code> or
|
|
34
38
|
* <code>write</code> management events. You can call <code>GetEventSelectors</code> on a trail
|
|
35
|
-
* to check whether the trail logs management events
|
|
39
|
+
* to check whether the trail logs management events. You can call <code>GetEventDataStore</code> on an
|
|
40
|
+
* event data store to check whether the event data store logs management events.</p>
|
|
41
|
+
* <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</a> in the <i>CloudTrail User Guide</i>.</p>
|
|
36
42
|
* @example
|
|
37
43
|
* Use a bare-bones client and the command you need to make an API call.
|
|
38
44
|
* ```javascript
|
|
@@ -40,12 +46,14 @@ export interface PutInsightSelectorsCommandOutput extends PutInsightSelectorsRes
|
|
|
40
46
|
* // const { CloudTrailClient, PutInsightSelectorsCommand } = require("@aws-sdk/client-cloudtrail"); // CommonJS import
|
|
41
47
|
* const client = new CloudTrailClient(config);
|
|
42
48
|
* const input = { // PutInsightSelectorsRequest
|
|
43
|
-
* TrailName: "STRING_VALUE",
|
|
49
|
+
* TrailName: "STRING_VALUE",
|
|
44
50
|
* InsightSelectors: [ // InsightSelectors // required
|
|
45
51
|
* { // InsightSelector
|
|
46
52
|
* InsightType: "ApiCallRateInsight" || "ApiErrorRateInsight",
|
|
47
53
|
* },
|
|
48
54
|
* ],
|
|
55
|
+
* EventDataStore: "STRING_VALUE",
|
|
56
|
+
* InsightsDestination: "STRING_VALUE",
|
|
49
57
|
* };
|
|
50
58
|
* const command = new PutInsightSelectorsCommand(input);
|
|
51
59
|
* const response = await client.send(command);
|
|
@@ -56,6 +64,8 @@ export interface PutInsightSelectorsCommandOutput extends PutInsightSelectorsRes
|
|
|
56
64
|
* // InsightType: "ApiCallRateInsight" || "ApiErrorRateInsight",
|
|
57
65
|
* // },
|
|
58
66
|
* // ],
|
|
67
|
+
* // EventDataStoreArn: "STRING_VALUE",
|
|
68
|
+
* // InsightsDestination: "STRING_VALUE",
|
|
59
69
|
* // };
|
|
60
70
|
*
|
|
61
71
|
* ```
|
|
@@ -67,12 +77,9 @@ export interface PutInsightSelectorsCommandOutput extends PutInsightSelectorsRes
|
|
|
67
77
|
* @see {@link CloudTrailClientResolvedConfig | config} for CloudTrailClient's `config` shape.
|
|
68
78
|
*
|
|
69
79
|
* @throws {@link CloudTrailARNInvalidException} (client fault)
|
|
70
|
-
* <p>This exception is thrown when an operation is called with
|
|
71
|
-
* The following is the format of a trail ARN
|
|
72
|
-
* <p>
|
|
73
|
-
* <code>arn:aws:cloudtrail:us-east-2:123456789012:trail/MyTrail</code>
|
|
80
|
+
* <p>This exception is thrown when an operation is called with an ARN that is not valid.</p>
|
|
81
|
+
* <p>The following is the format of a trail ARN: <code>arn:aws:cloudtrail:us-east-2:123456789012:trail/MyTrail</code>
|
|
74
82
|
* </p>
|
|
75
|
-
* <p>This exception is also thrown when you call <code>AddTags</code> or <code>RemoveTags</code> on a trail, event data store, or channel with a resource ARN that is not valid.</p>
|
|
76
83
|
* <p>The following is the format of an event data store ARN:
|
|
77
84
|
* <code>arn:aws:cloudtrail:us-east-2:123456789012:eventdatastore/EXAMPLE-f852-4e8f-8bd1-bcf6cEXAMPLE</code>
|
|
78
85
|
* </p>
|
|
@@ -92,10 +99,22 @@ export interface PutInsightSelectorsCommandOutput extends PutInsightSelectorsRes
|
|
|
92
99
|
* the Region in which the trail was created.</p>
|
|
93
100
|
*
|
|
94
101
|
* @throws {@link InvalidInsightSelectorsException} (client fault)
|
|
95
|
-
* <p>
|
|
96
|
-
*
|
|
97
|
-
* valid
|
|
98
|
-
*
|
|
102
|
+
* <p>For <code>PutInsightSelectors</code>, this exception is thrown when the formatting or syntax of the <code>InsightSelectors</code> JSON statement is not
|
|
103
|
+
* valid, or the specified <code>InsightType</code> in the <code>InsightSelectors</code> statement is not
|
|
104
|
+
* valid. Valid values for <code>InsightType</code> are <code>ApiCallRateInsight</code> and <code>ApiErrorRateInsight</code>. To enable Insights on an event data store, the destination event data store specified by the
|
|
105
|
+
* <code>InsightsDestination</code> parameter must log Insights events and the source event data
|
|
106
|
+
* store specified by the <code>EventDataStore</code> parameter must log management events.</p>
|
|
107
|
+
* <p>For <code>UpdateEventDataStore</code>, this exception is thrown if Insights are enabled on the event data store and the updated
|
|
108
|
+
* advanced event selectors are not compatible with the configured <code>InsightSelectors</code>.
|
|
109
|
+
* If the <code>InsightSelectors</code> includes an <code>InsightType</code> of <code>ApiCallRateInsight</code>, the source event data store must log <code>write</code> management events.
|
|
110
|
+
* If the <code>InsightSelectors</code> includes an <code>InsightType</code> of <code>ApiErrorRateInsight</code>, the source event data store must log management events.</p>
|
|
111
|
+
*
|
|
112
|
+
* @throws {@link InvalidParameterCombinationException} (client fault)
|
|
113
|
+
* <p>This exception is thrown when the combination of parameters provided is not
|
|
114
|
+
* valid.</p>
|
|
115
|
+
*
|
|
116
|
+
* @throws {@link InvalidParameterException} (client fault)
|
|
117
|
+
* <p>The request includes a parameter that is not valid.</p>
|
|
99
118
|
*
|
|
100
119
|
* @throws {@link InvalidTrailNameException} (client fault)
|
|
101
120
|
* <p>This exception is thrown when the provided trail name is not valid. Trail names must
|
|
@@ -23,8 +23,7 @@ export interface RegisterOrganizationDelegatedAdminCommandOutput extends Registe
|
|
|
23
23
|
}
|
|
24
24
|
/**
|
|
25
25
|
* @public
|
|
26
|
-
* <p>Registers an organization’s member account as the CloudTrail delegated
|
|
27
|
-
* administrator.</p>
|
|
26
|
+
* <p>Registers an organization’s member account as the CloudTrail <a href="https://docs.aws.amazon.com/awscloudtrail/latest/userguide/cloudtrail-delegated-administrator.html">delegated administrator</a>.</p>
|
|
28
27
|
* @example
|
|
29
28
|
* Use a bare-bones client and the command you need to make an API call.
|
|
30
29
|
* ```javascript
|
|
@@ -59,12 +59,9 @@ export interface RemoveTagsCommandOutput extends RemoveTagsResponse, __MetadataB
|
|
|
59
59
|
* <p>This exception is thrown when CloudTrail cannot find the specified channel.</p>
|
|
60
60
|
*
|
|
61
61
|
* @throws {@link CloudTrailARNInvalidException} (client fault)
|
|
62
|
-
* <p>This exception is thrown when an operation is called with
|
|
63
|
-
* The following is the format of a trail ARN
|
|
64
|
-
* <p>
|
|
65
|
-
* <code>arn:aws:cloudtrail:us-east-2:123456789012:trail/MyTrail</code>
|
|
62
|
+
* <p>This exception is thrown when an operation is called with an ARN that is not valid.</p>
|
|
63
|
+
* <p>The following is the format of a trail ARN: <code>arn:aws:cloudtrail:us-east-2:123456789012:trail/MyTrail</code>
|
|
66
64
|
* </p>
|
|
67
|
-
* <p>This exception is also thrown when you call <code>AddTags</code> or <code>RemoveTags</code> on a trail, event data store, or channel with a resource ARN that is not valid.</p>
|
|
68
65
|
* <p>The following is the format of an event data store ARN:
|
|
69
66
|
* <code>arn:aws:cloudtrail:us-east-2:123456789012:eventdatastore/EXAMPLE-f852-4e8f-8bd1-bcf6cEXAMPLE</code>
|
|
70
67
|
* </p>
|
|
@@ -49,12 +49,9 @@ export interface StartLoggingCommandOutput extends StartLoggingResponse, __Metad
|
|
|
49
49
|
* @see {@link CloudTrailClientResolvedConfig | config} for CloudTrailClient's `config` shape.
|
|
50
50
|
*
|
|
51
51
|
* @throws {@link CloudTrailARNInvalidException} (client fault)
|
|
52
|
-
* <p>This exception is thrown when an operation is called with
|
|
53
|
-
* The following is the format of a trail ARN
|
|
54
|
-
* <p>
|
|
55
|
-
* <code>arn:aws:cloudtrail:us-east-2:123456789012:trail/MyTrail</code>
|
|
52
|
+
* <p>This exception is thrown when an operation is called with an ARN that is not valid.</p>
|
|
53
|
+
* <p>The following is the format of a trail ARN: <code>arn:aws:cloudtrail:us-east-2:123456789012:trail/MyTrail</code>
|
|
56
54
|
* </p>
|
|
57
|
-
* <p>This exception is also thrown when you call <code>AddTags</code> or <code>RemoveTags</code> on a trail, event data store, or channel with a resource ARN that is not valid.</p>
|
|
58
55
|
* <p>The following is the format of an event data store ARN:
|
|
59
56
|
* <code>arn:aws:cloudtrail:us-east-2:123456789012:eventdatastore/EXAMPLE-f852-4e8f-8bd1-bcf6cEXAMPLE</code>
|
|
60
57
|
* </p>
|
|
@@ -52,12 +52,9 @@ export interface StopLoggingCommandOutput extends StopLoggingResponse, __Metadat
|
|
|
52
52
|
* @see {@link CloudTrailClientResolvedConfig | config} for CloudTrailClient's `config` shape.
|
|
53
53
|
*
|
|
54
54
|
* @throws {@link CloudTrailARNInvalidException} (client fault)
|
|
55
|
-
* <p>This exception is thrown when an operation is called with
|
|
56
|
-
* The following is the format of a trail ARN
|
|
57
|
-
* <p>
|
|
58
|
-
* <code>arn:aws:cloudtrail:us-east-2:123456789012:trail/MyTrail</code>
|
|
55
|
+
* <p>This exception is thrown when an operation is called with an ARN that is not valid.</p>
|
|
56
|
+
* <p>The following is the format of a trail ARN: <code>arn:aws:cloudtrail:us-east-2:123456789012:trail/MyTrail</code>
|
|
59
57
|
* </p>
|
|
60
|
-
* <p>This exception is also thrown when you call <code>AddTags</code> or <code>RemoveTags</code> on a trail, event data store, or channel with a resource ARN that is not valid.</p>
|
|
61
58
|
* <p>The following is the format of an event data store ARN:
|
|
62
59
|
* <code>arn:aws:cloudtrail:us-east-2:123456789012:eventdatastore/EXAMPLE-f852-4e8f-8bd1-bcf6cEXAMPLE</code>
|
|
63
60
|
* </p>
|
|
@@ -29,9 +29,8 @@ export interface UpdateEventDataStoreCommandOutput extends UpdateEventDataStoreR
|
|
|
29
29
|
* <code>RetentionPeriod</code> is in days, and valid values are integers between 90 and
|
|
30
30
|
* 2557. By default, <code>TerminationProtection</code> is enabled.</p>
|
|
31
31
|
* <p>For event data stores for CloudTrail events, <code>AdvancedEventSelectors</code>
|
|
32
|
-
* includes or excludes management
|
|
33
|
-
* information about <code>AdvancedEventSelectors</code>, see
|
|
34
|
-
* <a href="https://docs.aws.amazon.com/awscloudtrail/latest/APIReference/API_AdvancedEventSelector.html">AdvancedEventSelectors</a>.</p>
|
|
32
|
+
* includes or excludes management, data, or Insights events in your event data store. For more
|
|
33
|
+
* information about <code>AdvancedEventSelectors</code>, see <a href="https://docs.aws.amazon.com/awscloudtrail/latest/APIReference/API_AdvancedEventSelector.html">AdvancedEventSelectors</a>.</p>
|
|
35
34
|
* <p> For event data stores for Config configuration items, Audit Manager evidence, or non-Amazon Web Services events,
|
|
36
35
|
* <code>AdvancedEventSelectors</code> includes events of that type in your event data store.</p>
|
|
37
36
|
* @example
|
|
@@ -183,6 +182,17 @@ export interface UpdateEventDataStoreCommandOutput extends UpdateEventDataStoreR
|
|
|
183
182
|
* </li>
|
|
184
183
|
* </ul>
|
|
185
184
|
*
|
|
185
|
+
* @throws {@link InvalidInsightSelectorsException} (client fault)
|
|
186
|
+
* <p>For <code>PutInsightSelectors</code>, this exception is thrown when the formatting or syntax of the <code>InsightSelectors</code> JSON statement is not
|
|
187
|
+
* valid, or the specified <code>InsightType</code> in the <code>InsightSelectors</code> statement is not
|
|
188
|
+
* valid. Valid values for <code>InsightType</code> are <code>ApiCallRateInsight</code> and <code>ApiErrorRateInsight</code>. To enable Insights on an event data store, the destination event data store specified by the
|
|
189
|
+
* <code>InsightsDestination</code> parameter must log Insights events and the source event data
|
|
190
|
+
* store specified by the <code>EventDataStore</code> parameter must log management events.</p>
|
|
191
|
+
* <p>For <code>UpdateEventDataStore</code>, this exception is thrown if Insights are enabled on the event data store and the updated
|
|
192
|
+
* advanced event selectors are not compatible with the configured <code>InsightSelectors</code>.
|
|
193
|
+
* If the <code>InsightSelectors</code> includes an <code>InsightType</code> of <code>ApiCallRateInsight</code>, the source event data store must log <code>write</code> management events.
|
|
194
|
+
* If the <code>InsightSelectors</code> includes an <code>InsightType</code> of <code>ApiErrorRateInsight</code>, the source event data store must log management events.</p>
|
|
195
|
+
*
|
|
186
196
|
* @throws {@link InvalidKmsKeyIdException} (client fault)
|
|
187
197
|
* <p>This exception is thrown when the KMS key ARN is not valid.</p>
|
|
188
198
|
*
|
|
@@ -78,12 +78,9 @@ export interface UpdateTrailCommandOutput extends UpdateTrailResponse, __Metadat
|
|
|
78
78
|
* <p>This exception is thrown when trusted access has not been enabled between CloudTrail and Organizations. For more information, see <a href="https://docs.aws.amazon.com/organizations/latest/userguide/orgs_integrate_services.html">Enabling Trusted Access with Other Amazon Web Services Services</a> and <a href="https://docs.aws.amazon.com/awscloudtrail/latest/userguide/creating-an-organizational-trail-prepare.html">Prepare For Creating a Trail For Your Organization</a>. </p>
|
|
79
79
|
*
|
|
80
80
|
* @throws {@link CloudTrailARNInvalidException} (client fault)
|
|
81
|
-
* <p>This exception is thrown when an operation is called with
|
|
82
|
-
* The following is the format of a trail ARN
|
|
83
|
-
* <p>
|
|
84
|
-
* <code>arn:aws:cloudtrail:us-east-2:123456789012:trail/MyTrail</code>
|
|
81
|
+
* <p>This exception is thrown when an operation is called with an ARN that is not valid.</p>
|
|
82
|
+
* <p>The following is the format of a trail ARN: <code>arn:aws:cloudtrail:us-east-2:123456789012:trail/MyTrail</code>
|
|
85
83
|
* </p>
|
|
86
|
-
* <p>This exception is also thrown when you call <code>AddTags</code> or <code>RemoveTags</code> on a trail, event data store, or channel with a resource ARN that is not valid.</p>
|
|
87
84
|
* <p>The following is the format of an event data store ARN:
|
|
88
85
|
* <code>arn:aws:cloudtrail:us-east-2:123456789012:eventdatastore/EXAMPLE-f852-4e8f-8bd1-bcf6cEXAMPLE</code>
|
|
89
86
|
* </p>
|
package/dist-types/index.d.ts
CHANGED
|
@@ -21,6 +21,8 @@
|
|
|
21
21
|
export * from "./CloudTrailClient";
|
|
22
22
|
export * from "./CloudTrail";
|
|
23
23
|
export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters";
|
|
24
|
+
export { RuntimeExtension } from "./runtimeExtensions";
|
|
25
|
+
export { CloudTrailExtensionConfiguration } from "./extensionConfiguration";
|
|
24
26
|
export * from "./commands";
|
|
25
27
|
export * from "./pagination";
|
|
26
28
|
export * from "./models";
|
|
@@ -159,12 +159,9 @@ export declare class ChannelNotFoundException extends __BaseException {
|
|
|
159
159
|
}
|
|
160
160
|
/**
|
|
161
161
|
* @public
|
|
162
|
-
* <p>This exception is thrown when an operation is called with
|
|
163
|
-
* The following is the format of a trail ARN
|
|
164
|
-
* <p>
|
|
165
|
-
* <code>arn:aws:cloudtrail:us-east-2:123456789012:trail/MyTrail</code>
|
|
162
|
+
* <p>This exception is thrown when an operation is called with an ARN that is not valid.</p>
|
|
163
|
+
* <p>The following is the format of a trail ARN: <code>arn:aws:cloudtrail:us-east-2:123456789012:trail/MyTrail</code>
|
|
166
164
|
* </p>
|
|
167
|
-
* <p>This exception is also thrown when you call <code>AddTags</code> or <code>RemoveTags</code> on a trail, event data store, or channel with a resource ARN that is not valid.</p>
|
|
168
165
|
* <p>The following is the format of an event data store ARN:
|
|
169
166
|
* <code>arn:aws:cloudtrail:us-east-2:123456789012:eventdatastore/EXAMPLE-f852-4e8f-8bd1-bcf6cEXAMPLE</code>
|
|
170
167
|
* </p>
|
|
@@ -467,8 +464,9 @@ export interface AdvancedFieldSelector {
|
|
|
467
464
|
* <b>
|
|
468
465
|
* <code>eventSource</code>
|
|
469
466
|
* </b> - For filtering
|
|
470
|
-
* management events only. This can be set
|
|
471
|
-
* <code>kms.amazonaws.com</code
|
|
467
|
+
* management events only. This can be set to <code>NotEquals</code>
|
|
468
|
+
* <code>kms.amazonaws.com</code> or <code>NotEquals</code>
|
|
469
|
+
* <code>rdsdata.amazonaws.com</code>.</p>
|
|
472
470
|
* </li>
|
|
473
471
|
* <li>
|
|
474
472
|
* <p>
|
|
@@ -495,6 +493,12 @@ export interface AdvancedFieldSelector {
|
|
|
495
493
|
* </li>
|
|
496
494
|
* <li>
|
|
497
495
|
* <p>
|
|
496
|
+
* For CloudTrail Insights event records, the value
|
|
497
|
+
* must be <code>Insight</code>.
|
|
498
|
+
* </p>
|
|
499
|
+
* </li>
|
|
500
|
+
* <li>
|
|
501
|
+
* <p>
|
|
498
502
|
* For Config
|
|
499
503
|
* configuration items, the value must be <code>ConfigurationItem</code>.
|
|
500
504
|
* </p>
|
|
@@ -542,6 +546,11 @@ export interface AdvancedFieldSelector {
|
|
|
542
546
|
* </li>
|
|
543
547
|
* <li>
|
|
544
548
|
* <p>
|
|
549
|
+
* <code>AWS::CodeWhisperer::Customization</code>
|
|
550
|
+
* </p>
|
|
551
|
+
* </li>
|
|
552
|
+
* <li>
|
|
553
|
+
* <p>
|
|
545
554
|
* <code>AWS::CodeWhisperer::Profile</code>
|
|
546
555
|
* </p>
|
|
547
556
|
* </li>
|
|
@@ -587,6 +596,11 @@ export interface AdvancedFieldSelector {
|
|
|
587
596
|
* </li>
|
|
588
597
|
* <li>
|
|
589
598
|
* <p>
|
|
599
|
+
* <code>AWS::KinesisVideo::Stream</code>
|
|
600
|
+
* </p>
|
|
601
|
+
* </li>
|
|
602
|
+
* <li>
|
|
603
|
+
* <p>
|
|
590
604
|
* <code>AWS::ManagedBlockchain::Network</code>
|
|
591
605
|
* </p>
|
|
592
606
|
* </li>
|
|
@@ -602,6 +616,16 @@ export interface AdvancedFieldSelector {
|
|
|
602
616
|
* </li>
|
|
603
617
|
* <li>
|
|
604
618
|
* <p>
|
|
619
|
+
* <code>AWS::PCAConnectorAD::Connector</code>
|
|
620
|
+
* </p>
|
|
621
|
+
* </li>
|
|
622
|
+
* <li>
|
|
623
|
+
* <p>
|
|
624
|
+
* <code>AWS::SageMaker::Endpoint</code>
|
|
625
|
+
* </p>
|
|
626
|
+
* </li>
|
|
627
|
+
* <li>
|
|
628
|
+
* <p>
|
|
605
629
|
* <code>AWS::SageMaker::ExperimentTrialComponent</code>
|
|
606
630
|
* </p>
|
|
607
631
|
* </li>
|
|
@@ -612,6 +636,16 @@ export interface AdvancedFieldSelector {
|
|
|
612
636
|
* </li>
|
|
613
637
|
* <li>
|
|
614
638
|
* <p>
|
|
639
|
+
* <code>AWS::SNS::PlatformEndpoint</code>
|
|
640
|
+
* </p>
|
|
641
|
+
* </li>
|
|
642
|
+
* <li>
|
|
643
|
+
* <p>
|
|
644
|
+
* <code>AWS::SNS::Topic</code>
|
|
645
|
+
* </p>
|
|
646
|
+
* </li>
|
|
647
|
+
* <li>
|
|
648
|
+
* <p>
|
|
615
649
|
* <code>AWS::S3::AccessPoint</code>
|
|
616
650
|
* </p>
|
|
617
651
|
* </li>
|
|
@@ -632,6 +666,16 @@ export interface AdvancedFieldSelector {
|
|
|
632
666
|
* </li>
|
|
633
667
|
* <li>
|
|
634
668
|
* <p>
|
|
669
|
+
* <code>AWS::Timestream::Database</code>
|
|
670
|
+
* </p>
|
|
671
|
+
* </li>
|
|
672
|
+
* <li>
|
|
673
|
+
* <p>
|
|
674
|
+
* <code>AWS::Timestream::Table</code>
|
|
675
|
+
* </p>
|
|
676
|
+
* </li>
|
|
677
|
+
* <li>
|
|
678
|
+
* <p>
|
|
635
679
|
* <code>AWS::VerifiedPermissions::PolicyStore</code>
|
|
636
680
|
* </p>
|
|
637
681
|
* </li>
|
|
@@ -695,6 +739,16 @@ export interface AdvancedFieldSelector {
|
|
|
695
739
|
* </p>
|
|
696
740
|
* </li>
|
|
697
741
|
* </ul>
|
|
742
|
+
* <p>When resources.type equals <code>AWS::CodeWhisperer::Customization</code>, and the operator is
|
|
743
|
+
* set to <code>Equals</code> or <code>NotEquals</code>, the ARN must be in the
|
|
744
|
+
* following format:</p>
|
|
745
|
+
* <ul>
|
|
746
|
+
* <li>
|
|
747
|
+
* <p>
|
|
748
|
+
* <code>arn:<partition>:codewhisperer:<region>:<account_ID>:customization/<customization_ID></code>
|
|
749
|
+
* </p>
|
|
750
|
+
* </li>
|
|
751
|
+
* </ul>
|
|
698
752
|
* <p>When resources.type equals <code>AWS::CodeWhisperer::Profile</code>, and the operator is
|
|
699
753
|
* set to <code>Equals</code> or <code>NotEquals</code>, the ARN must be in the
|
|
700
754
|
* following format:</p>
|
|
@@ -785,6 +839,16 @@ export interface AdvancedFieldSelector {
|
|
|
785
839
|
* </p>
|
|
786
840
|
* </li>
|
|
787
841
|
* </ul>
|
|
842
|
+
* <p>When <code>resources.type</code> equals <code>AWS::KinesisVideo::Stream</code>, and the
|
|
843
|
+
* operator is set to <code>Equals</code> or <code>NotEquals</code>, the ARN must be in
|
|
844
|
+
* the following format:</p>
|
|
845
|
+
* <ul>
|
|
846
|
+
* <li>
|
|
847
|
+
* <p>
|
|
848
|
+
* <code>arn:<partition>:kinesisvideo:<region>:<account_ID>:stream/<stream_name/<creation_time></code>
|
|
849
|
+
* </p>
|
|
850
|
+
* </li>
|
|
851
|
+
* </ul>
|
|
788
852
|
* <p>When <code>resources.type</code> equals <code>AWS::ManagedBlockchain::Network</code>,
|
|
789
853
|
* and the operator is set to <code>Equals</code> or <code>NotEquals</code>, the ARN
|
|
790
854
|
* must be in the following format:</p>
|
|
@@ -815,6 +879,25 @@ export interface AdvancedFieldSelector {
|
|
|
815
879
|
* </p>
|
|
816
880
|
* </li>
|
|
817
881
|
* </ul>
|
|
882
|
+
* <p>When <code>resources.type</code> equals <code>AWS::PCAConnectorAD::Connector</code>,
|
|
883
|
+
* and the operator is set to <code>Equals</code> or <code>NotEquals</code>, the ARN
|
|
884
|
+
* must be in the following format:</p>
|
|
885
|
+
* <ul>
|
|
886
|
+
* <li>
|
|
887
|
+
* <p>
|
|
888
|
+
* <code>arn:<partition>:pca-connector-ad:<region>:<account_ID>:connector/<connector_ID></code>
|
|
889
|
+
* </p>
|
|
890
|
+
* </li>
|
|
891
|
+
* </ul>
|
|
892
|
+
* <p>When <code>resources.type</code> equals <code>AWS::SageMaker::Endpoint</code>, and the operator is set to
|
|
893
|
+
* <code>Equals</code> or <code>NotEquals</code>, the ARN must be in the following format:</p>
|
|
894
|
+
* <ul>
|
|
895
|
+
* <li>
|
|
896
|
+
* <p>
|
|
897
|
+
* <code>arn:<partition>:sagemaker:<region>:<account_ID>:endpoint/<endpoint_name></code>
|
|
898
|
+
* </p>
|
|
899
|
+
* </li>
|
|
900
|
+
* </ul>
|
|
818
901
|
* <p>When <code>resources.type</code> equals <code>AWS::SageMaker::ExperimentTrialComponent</code>, and the operator is set to
|
|
819
902
|
* <code>Equals</code> or <code>NotEquals</code>, the ARN must be in the following format:</p>
|
|
820
903
|
* <ul>
|
|
@@ -833,6 +916,26 @@ export interface AdvancedFieldSelector {
|
|
|
833
916
|
* </p>
|
|
834
917
|
* </li>
|
|
835
918
|
* </ul>
|
|
919
|
+
* <p>When <code>resources.type</code> equals <code>AWS::SNS::PlatformEndpoint</code>,
|
|
920
|
+
* and the operator is set to <code>Equals</code> or <code>NotEquals</code>, the ARN
|
|
921
|
+
* must be in the following format:</p>
|
|
922
|
+
* <ul>
|
|
923
|
+
* <li>
|
|
924
|
+
* <p>
|
|
925
|
+
* <code>arn:<partition>:sns:<region>:<account_ID>:endpoint/<endpoint_type>/<endpoint_name>/<endpoint_ID></code>
|
|
926
|
+
* </p>
|
|
927
|
+
* </li>
|
|
928
|
+
* </ul>
|
|
929
|
+
* <p>When <code>resources.type</code> equals <code>AWS::SNS::Topic</code>,
|
|
930
|
+
* and the operator is set to <code>Equals</code> or <code>NotEquals</code>, the ARN
|
|
931
|
+
* must be in the following format:</p>
|
|
932
|
+
* <ul>
|
|
933
|
+
* <li>
|
|
934
|
+
* <p>
|
|
935
|
+
* <code>arn:<partition>:sns:<region>:<account_ID>:<topic_name></code>
|
|
936
|
+
* </p>
|
|
937
|
+
* </li>
|
|
938
|
+
* </ul>
|
|
836
939
|
* <p>When <code>resources.type</code> equals <code>AWS::S3::AccessPoint</code>, and the
|
|
837
940
|
* operator is set to <code>Equals</code> or <code>NotEquals</code>, the ARN must be in
|
|
838
941
|
* one of the following formats. To log events on all objects in an S3 access point, we
|
|
@@ -881,6 +984,26 @@ export interface AdvancedFieldSelector {
|
|
|
881
984
|
* </p>
|
|
882
985
|
* </li>
|
|
883
986
|
* </ul>
|
|
987
|
+
* <p>When <code>resources.type</code> equals <code>AWS::Timestream::Database</code>,
|
|
988
|
+
* and the operator is set to <code>Equals</code> or <code>NotEquals</code>, the ARN
|
|
989
|
+
* must be in the following format:</p>
|
|
990
|
+
* <ul>
|
|
991
|
+
* <li>
|
|
992
|
+
* <p>
|
|
993
|
+
* <code>arn:<partition>:timestream:<region>:<account_ID>:database/<database_name></code>
|
|
994
|
+
* </p>
|
|
995
|
+
* </li>
|
|
996
|
+
* </ul>
|
|
997
|
+
* <p>When <code>resources.type</code> equals <code>AWS::Timestream::Table</code>,
|
|
998
|
+
* and the operator is set to <code>Equals</code> or <code>NotEquals</code>, the ARN
|
|
999
|
+
* must be in the following format:</p>
|
|
1000
|
+
* <ul>
|
|
1001
|
+
* <li>
|
|
1002
|
+
* <p>
|
|
1003
|
+
* <code>arn:<partition>:timestream:<region>:<account_ID>:database/<database_name>/table/<table_name></code>
|
|
1004
|
+
* </p>
|
|
1005
|
+
* </li>
|
|
1006
|
+
* </ul>
|
|
884
1007
|
* <p>When resources.type equals <code>AWS::VerifiedPermissions::PolicyStore</code>, and the operator is
|
|
885
1008
|
* set to <code>Equals</code> or <code>NotEquals</code>, the ARN must be in the
|
|
886
1009
|
* following format:</p>
|
|
@@ -1848,6 +1971,9 @@ export interface CreateTrailRequest {
|
|
|
1848
1971
|
* represents the log group to which CloudTrail logs will be delivered. You must use a
|
|
1849
1972
|
* log group that exists in your account.</p>
|
|
1850
1973
|
* <p>Not required unless you specify <code>CloudWatchLogsRoleArn</code>.</p>
|
|
1974
|
+
* <note>
|
|
1975
|
+
* <p>Only the management account can configure a CloudWatch Logs log group for an organization trail. </p>
|
|
1976
|
+
* </note>
|
|
1851
1977
|
*/
|
|
1852
1978
|
CloudWatchLogsLogGroupArn?: string;
|
|
1853
1979
|
/**
|
|
@@ -3059,6 +3185,11 @@ export interface DataResource {
|
|
|
3059
3185
|
* </li>
|
|
3060
3186
|
* <li>
|
|
3061
3187
|
* <p>
|
|
3188
|
+
* <code>AWS::CodeWhisperer::Customization</code>
|
|
3189
|
+
* </p>
|
|
3190
|
+
* </li>
|
|
3191
|
+
* <li>
|
|
3192
|
+
* <p>
|
|
3062
3193
|
* <code>AWS::CodeWhisperer::Profile</code>
|
|
3063
3194
|
* </p>
|
|
3064
3195
|
* </li>
|
|
@@ -3104,6 +3235,11 @@ export interface DataResource {
|
|
|
3104
3235
|
* </li>
|
|
3105
3236
|
* <li>
|
|
3106
3237
|
* <p>
|
|
3238
|
+
* <code>AWS::KinesisVideo::Stream</code>
|
|
3239
|
+
* </p>
|
|
3240
|
+
* </li>
|
|
3241
|
+
* <li>
|
|
3242
|
+
* <p>
|
|
3107
3243
|
* <code>AWS::ManagedBlockchain::Network</code>
|
|
3108
3244
|
* </p>
|
|
3109
3245
|
* </li>
|
|
@@ -3119,6 +3255,16 @@ export interface DataResource {
|
|
|
3119
3255
|
* </li>
|
|
3120
3256
|
* <li>
|
|
3121
3257
|
* <p>
|
|
3258
|
+
* <code>AWS::PCAConnectorAD::Connector</code>
|
|
3259
|
+
* </p>
|
|
3260
|
+
* </li>
|
|
3261
|
+
* <li>
|
|
3262
|
+
* <p>
|
|
3263
|
+
* <code>AWS::SageMaker::Endpoint</code>
|
|
3264
|
+
* </p>
|
|
3265
|
+
* </li>
|
|
3266
|
+
* <li>
|
|
3267
|
+
* <p>
|
|
3122
3268
|
* <code>AWS::SageMaker::ExperimentTrialComponent</code>
|
|
3123
3269
|
* </p>
|
|
3124
3270
|
* </li>
|
|
@@ -3129,6 +3275,16 @@ export interface DataResource {
|
|
|
3129
3275
|
* </li>
|
|
3130
3276
|
* <li>
|
|
3131
3277
|
* <p>
|
|
3278
|
+
* <code>AWS::SNS::PlatformEndpoint</code>
|
|
3279
|
+
* </p>
|
|
3280
|
+
* </li>
|
|
3281
|
+
* <li>
|
|
3282
|
+
* <p>
|
|
3283
|
+
* <code>AWS::SNS::Topic</code>
|
|
3284
|
+
* </p>
|
|
3285
|
+
* </li>
|
|
3286
|
+
* <li>
|
|
3287
|
+
* <p>
|
|
3132
3288
|
* <code>AWS::S3::AccessPoint</code>
|
|
3133
3289
|
* </p>
|
|
3134
3290
|
* </li>
|
|
@@ -3149,6 +3305,16 @@ export interface DataResource {
|
|
|
3149
3305
|
* </li>
|
|
3150
3306
|
* <li>
|
|
3151
3307
|
* <p>
|
|
3308
|
+
* <code>AWS::Timestream::Database</code>
|
|
3309
|
+
* </p>
|
|
3310
|
+
* </li>
|
|
3311
|
+
* <li>
|
|
3312
|
+
* <p>
|
|
3313
|
+
* <code>AWS::Timestream::Table</code>
|
|
3314
|
+
* </p>
|
|
3315
|
+
* </li>
|
|
3316
|
+
* <li>
|
|
3317
|
+
* <p>
|
|
3152
3318
|
* <code>AWS::VerifiedPermissions::PolicyStore</code>
|
|
3153
3319
|
* </p>
|
|
3154
3320
|
* </li>
|
|
@@ -3489,8 +3655,18 @@ export interface GetInsightSelectorsRequest {
|
|
|
3489
3655
|
* <p>
|
|
3490
3656
|
* <code>arn:aws:cloudtrail:us-east-2:123456789012:trail/MyTrail</code>
|
|
3491
3657
|
* </p>
|
|
3658
|
+
* <p>You cannot use this parameter with the <code>EventDataStore</code> parameter.</p>
|
|
3492
3659
|
*/
|
|
3493
|
-
TrailName
|
|
3660
|
+
TrailName?: string;
|
|
3661
|
+
/**
|
|
3662
|
+
* @public
|
|
3663
|
+
* <p>
|
|
3664
|
+
* Specifies the ARN (or ID suffix of the ARN) of the event data store for which you want to get Insights
|
|
3665
|
+
* selectors.
|
|
3666
|
+
* </p>
|
|
3667
|
+
* <p>You cannot use this parameter with the <code>TrailName</code> parameter.</p>
|
|
3668
|
+
*/
|
|
3669
|
+
EventDataStore?: string;
|
|
3494
3670
|
}
|
|
3495
3671
|
/**
|
|
3496
3672
|
* @public
|
|
@@ -3506,12 +3682,12 @@ export declare const InsightType: {
|
|
|
3506
3682
|
export type InsightType = (typeof InsightType)[keyof typeof InsightType];
|
|
3507
3683
|
/**
|
|
3508
3684
|
* @public
|
|
3509
|
-
* <p>A JSON string that contains a list of Insights types that are logged on a trail.</p>
|
|
3685
|
+
* <p>A JSON string that contains a list of Insights types that are logged on a trail or event data store.</p>
|
|
3510
3686
|
*/
|
|
3511
3687
|
export interface InsightSelector {
|
|
3512
3688
|
/**
|
|
3513
3689
|
* @public
|
|
3514
|
-
* <p>The type of Insights events to log on a trail. <code>ApiCallRateInsight</code> and
|
|
3690
|
+
* <p>The type of Insights events to log on a trail or event data store. <code>ApiCallRateInsight</code> and
|
|
3515
3691
|
* <code>ApiErrorRateInsight</code> are valid Insight types.</p>
|
|
3516
3692
|
* <p>The <code>ApiCallRateInsight</code> Insights type analyzes write-only
|
|
3517
3693
|
* management API calls that are aggregated per minute against a baseline API call volume.</p>
|
|
@@ -3533,15 +3709,28 @@ export interface GetInsightSelectorsResponse {
|
|
|
3533
3709
|
TrailARN?: string;
|
|
3534
3710
|
/**
|
|
3535
3711
|
* @public
|
|
3536
|
-
* <p>A JSON string that contains the
|
|
3537
|
-
*
|
|
3538
|
-
* as insight types.</p>
|
|
3712
|
+
* <p>A JSON string that contains the Insight types you want to log on a trail or event data store. <code>ApiErrorRateInsight</code> and <code>ApiCallRateInsight</code> are supported
|
|
3713
|
+
* as Insights types.</p>
|
|
3539
3714
|
*/
|
|
3540
3715
|
InsightSelectors?: InsightSelector[];
|
|
3716
|
+
/**
|
|
3717
|
+
* @public
|
|
3718
|
+
* <p>
|
|
3719
|
+
* The ARN of the source event data store that enabled Insights events.
|
|
3720
|
+
* </p>
|
|
3721
|
+
*/
|
|
3722
|
+
EventDataStoreArn?: string;
|
|
3723
|
+
/**
|
|
3724
|
+
* @public
|
|
3725
|
+
* <p>
|
|
3726
|
+
* The ARN of the destination event data store that logs Insights events.
|
|
3727
|
+
* </p>
|
|
3728
|
+
*/
|
|
3729
|
+
InsightsDestination?: string;
|
|
3541
3730
|
}
|
|
3542
3731
|
/**
|
|
3543
3732
|
* @public
|
|
3544
|
-
* <p>If you run <code>GetInsightSelectors</code> on a trail that does not have Insights
|
|
3733
|
+
* <p>If you run <code>GetInsightSelectors</code> on a trail or event data store that does not have Insights
|
|
3545
3734
|
* events enabled, the operation throws the exception
|
|
3546
3735
|
* <code>InsightNotEnabledException</code>.</p>
|
|
3547
3736
|
*/
|
|
@@ -4799,10 +4988,15 @@ export interface PutEventSelectorsResponse {
|
|
|
4799
4988
|
}
|
|
4800
4989
|
/**
|
|
4801
4990
|
* @public
|
|
4802
|
-
* <p>
|
|
4803
|
-
*
|
|
4804
|
-
* valid
|
|
4805
|
-
*
|
|
4991
|
+
* <p>For <code>PutInsightSelectors</code>, this exception is thrown when the formatting or syntax of the <code>InsightSelectors</code> JSON statement is not
|
|
4992
|
+
* valid, or the specified <code>InsightType</code> in the <code>InsightSelectors</code> statement is not
|
|
4993
|
+
* valid. Valid values for <code>InsightType</code> are <code>ApiCallRateInsight</code> and <code>ApiErrorRateInsight</code>. To enable Insights on an event data store, the destination event data store specified by the
|
|
4994
|
+
* <code>InsightsDestination</code> parameter must log Insights events and the source event data
|
|
4995
|
+
* store specified by the <code>EventDataStore</code> parameter must log management events.</p>
|
|
4996
|
+
* <p>For <code>UpdateEventDataStore</code>, this exception is thrown if Insights are enabled on the event data store and the updated
|
|
4997
|
+
* advanced event selectors are not compatible with the configured <code>InsightSelectors</code>.
|
|
4998
|
+
* If the <code>InsightSelectors</code> includes an <code>InsightType</code> of <code>ApiCallRateInsight</code>, the source event data store must log <code>write</code> management events.
|
|
4999
|
+
* If the <code>InsightSelectors</code> includes an <code>InsightType</code> of <code>ApiErrorRateInsight</code>, the source event data store must log management events.</p>
|
|
4806
5000
|
*/
|
|
4807
5001
|
export declare class InvalidInsightSelectorsException extends __BaseException {
|
|
4808
5002
|
readonly name: "InvalidInsightSelectorsException";
|
|
@@ -4825,11 +5019,12 @@ export interface PutInsightSelectorsRequest {
|
|
|
4825
5019
|
* @public
|
|
4826
5020
|
* <p>The name of the CloudTrail trail for which you want to change or add Insights
|
|
4827
5021
|
* selectors.</p>
|
|
5022
|
+
* <p>You cannot use this parameter with the <code>EventDataStore</code> and <code>InsightsDestination</code> parameters.</p>
|
|
4828
5023
|
*/
|
|
4829
|
-
TrailName
|
|
5024
|
+
TrailName?: string;
|
|
4830
5025
|
/**
|
|
4831
5026
|
* @public
|
|
4832
|
-
* <p>A JSON string that contains the
|
|
5027
|
+
* <p>A JSON string that contains the Insights types you want to log on a trail or event data store.
|
|
4833
5028
|
* <code>ApiCallRateInsight</code> and <code>ApiErrorRateInsight</code> are valid Insight
|
|
4834
5029
|
* types.</p>
|
|
4835
5030
|
* <p>The <code>ApiCallRateInsight</code> Insights type analyzes write-only
|
|
@@ -4839,6 +5034,23 @@ export interface PutInsightSelectorsRequest {
|
|
|
4839
5034
|
* unsuccessful.</p>
|
|
4840
5035
|
*/
|
|
4841
5036
|
InsightSelectors: InsightSelector[] | undefined;
|
|
5037
|
+
/**
|
|
5038
|
+
* @public
|
|
5039
|
+
* <p>The ARN (or ID suffix of the ARN) of the source event data store for which you want to change or add Insights
|
|
5040
|
+
* selectors. To enable Insights on an event data store, you must provide both the
|
|
5041
|
+
* <code>EventDataStore</code> and <code>InsightsDestination</code> parameters.</p>
|
|
5042
|
+
* <p>You cannot use this parameter with the <code>TrailName</code> parameter.</p>
|
|
5043
|
+
*/
|
|
5044
|
+
EventDataStore?: string;
|
|
5045
|
+
/**
|
|
5046
|
+
* @public
|
|
5047
|
+
* <p>
|
|
5048
|
+
* The ARN (or ID suffix of the ARN) of the destination event data store that logs Insights events. To enable Insights on an event data store, you must provide both the
|
|
5049
|
+
* <code>EventDataStore</code> and <code>InsightsDestination</code> parameters.
|
|
5050
|
+
* </p>
|
|
5051
|
+
* <p>You cannot use this parameter with the <code>TrailName</code> parameter.</p>
|
|
5052
|
+
*/
|
|
5053
|
+
InsightsDestination?: string;
|
|
4842
5054
|
}
|
|
4843
5055
|
/**
|
|
4844
5056
|
* @public
|
|
@@ -4852,11 +5064,24 @@ export interface PutInsightSelectorsResponse {
|
|
|
4852
5064
|
TrailARN?: string;
|
|
4853
5065
|
/**
|
|
4854
5066
|
* @public
|
|
4855
|
-
* <p>A JSON string that contains the Insights event types that you want to log on a trail.
|
|
4856
|
-
* The valid Insights types
|
|
5067
|
+
* <p>A JSON string that contains the Insights event types that you want to log on a trail or event data store.
|
|
5068
|
+
* The valid Insights types are <code>ApiErrorRateInsight</code> and
|
|
4857
5069
|
* <code>ApiCallRateInsight</code>.</p>
|
|
4858
5070
|
*/
|
|
4859
5071
|
InsightSelectors?: InsightSelector[];
|
|
5072
|
+
/**
|
|
5073
|
+
* @public
|
|
5074
|
+
* <p>The Amazon Resource Name (ARN) of the source event data store for which you want to change or add Insights
|
|
5075
|
+
* selectors.</p>
|
|
5076
|
+
*/
|
|
5077
|
+
EventDataStoreArn?: string;
|
|
5078
|
+
/**
|
|
5079
|
+
* @public
|
|
5080
|
+
* <p>
|
|
5081
|
+
* The ARN of the destination event data store that logs Insights events.
|
|
5082
|
+
* </p>
|
|
5083
|
+
*/
|
|
5084
|
+
InsightsDestination?: string;
|
|
4860
5085
|
}
|
|
4861
5086
|
/**
|
|
4862
5087
|
* @public
|
|
@@ -5523,6 +5748,10 @@ export interface UpdateEventDataStoreRequest {
|
|
|
5523
5748
|
* @public
|
|
5524
5749
|
* <p>Specifies whether an event data store collects events logged for an organization in
|
|
5525
5750
|
* Organizations.</p>
|
|
5751
|
+
* <note>
|
|
5752
|
+
* <p>Only the management account for the organization can convert an organization event data store to a non-organization event data store, or convert a non-organization event data store to
|
|
5753
|
+
* an organization event data store.</p>
|
|
5754
|
+
* </note>
|
|
5526
5755
|
*/
|
|
5527
5756
|
OrganizationEnabled?: boolean;
|
|
5528
5757
|
/**
|
|
@@ -5743,6 +5972,9 @@ export interface UpdateTrailRequest {
|
|
|
5743
5972
|
* represents the log group to which CloudTrail logs are delivered. You must use a log
|
|
5744
5973
|
* group that exists in your account.</p>
|
|
5745
5974
|
* <p>Not required unless you specify <code>CloudWatchLogsRoleArn</code>.</p>
|
|
5975
|
+
* <note>
|
|
5976
|
+
* <p>Only the management account can configure a CloudWatch Logs log group for an organization trail. </p>
|
|
5977
|
+
* </note>
|
|
5746
5978
|
*/
|
|
5747
5979
|
CloudWatchLogsLogGroupArn?: string;
|
|
5748
5980
|
/**
|
|
@@ -5779,11 +6011,15 @@ export interface UpdateTrailRequest {
|
|
|
5779
6011
|
* @public
|
|
5780
6012
|
* <p>Specifies whether the trail is applied to all accounts in an organization in Organizations, or only for the current Amazon Web Services account. The default is false,
|
|
5781
6013
|
* and cannot be true unless the call is made on behalf of an Amazon Web Services account that
|
|
5782
|
-
* is the management account
|
|
6014
|
+
* is the management account for an organization in Organizations. If the trail is not an organization trail and this is set to
|
|
5783
6015
|
* <code>true</code>, the trail will be created in all Amazon Web Services accounts that
|
|
5784
6016
|
* belong to the organization. If the trail is an organization trail and this is set to
|
|
5785
6017
|
* <code>false</code>, the trail will remain in the current Amazon Web Services account but
|
|
5786
6018
|
* be deleted from all member accounts in the organization.</p>
|
|
6019
|
+
* <note>
|
|
6020
|
+
* <p>Only the management account for the organization can convert an organization trail to a non-organization trail, or convert a non-organization trail to
|
|
6021
|
+
* an organization trail.</p>
|
|
6022
|
+
* </note>
|
|
5787
6023
|
*/
|
|
5788
6024
|
IsOrganizationTrail?: boolean;
|
|
5789
6025
|
}
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
export * from "./CloudTrailClient";
|
|
2
2
|
export * from "./CloudTrail";
|
|
3
3
|
export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters";
|
|
4
|
+
export { RuntimeExtension } from "./runtimeExtensions";
|
|
5
|
+
export { CloudTrailExtensionConfiguration } from "./extensionConfiguration";
|
|
4
6
|
export * from "./commands";
|
|
5
7
|
export * from "./pagination";
|
|
6
8
|
export * from "./models";
|
|
@@ -901,7 +901,8 @@ export declare class ImportNotFoundException extends __BaseException {
|
|
|
901
901
|
);
|
|
902
902
|
}
|
|
903
903
|
export interface GetInsightSelectorsRequest {
|
|
904
|
-
TrailName
|
|
904
|
+
TrailName?: string;
|
|
905
|
+
EventDataStore?: string;
|
|
905
906
|
}
|
|
906
907
|
export declare const InsightType: {
|
|
907
908
|
readonly ApiCallRateInsight: "ApiCallRateInsight";
|
|
@@ -914,6 +915,8 @@ export interface InsightSelector {
|
|
|
914
915
|
export interface GetInsightSelectorsResponse {
|
|
915
916
|
TrailARN?: string;
|
|
916
917
|
InsightSelectors?: InsightSelector[];
|
|
918
|
+
EventDataStoreArn?: string;
|
|
919
|
+
InsightsDestination?: string;
|
|
917
920
|
}
|
|
918
921
|
export declare class InsightNotEnabledException extends __BaseException {
|
|
919
922
|
readonly name: "InsightNotEnabledException";
|
|
@@ -1236,12 +1239,16 @@ export declare class InvalidInsightSelectorsException extends __BaseException {
|
|
|
1236
1239
|
);
|
|
1237
1240
|
}
|
|
1238
1241
|
export interface PutInsightSelectorsRequest {
|
|
1239
|
-
TrailName
|
|
1242
|
+
TrailName?: string;
|
|
1240
1243
|
InsightSelectors: InsightSelector[] | undefined;
|
|
1244
|
+
EventDataStore?: string;
|
|
1245
|
+
InsightsDestination?: string;
|
|
1241
1246
|
}
|
|
1242
1247
|
export interface PutInsightSelectorsResponse {
|
|
1243
1248
|
TrailARN?: string;
|
|
1244
1249
|
InsightSelectors?: InsightSelector[];
|
|
1250
|
+
EventDataStoreArn?: string;
|
|
1251
|
+
InsightsDestination?: string;
|
|
1245
1252
|
}
|
|
1246
1253
|
export interface PutResourcePolicyRequest {
|
|
1247
1254
|
ResourceArn: string | undefined;
|
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.
|
|
4
|
+
"version": "3.448.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,9 +21,9 @@
|
|
|
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.
|
|
25
|
-
"@aws-sdk/core": "3.
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
24
|
+
"@aws-sdk/client-sts": "3.445.0",
|
|
25
|
+
"@aws-sdk/core": "3.445.0",
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.445.0",
|
|
27
27
|
"@aws-sdk/middleware-host-header": "3.433.0",
|
|
28
28
|
"@aws-sdk/middleware-logger": "3.433.0",
|
|
29
29
|
"@aws-sdk/middleware-recursion-detection": "3.433.0",
|