@aws-sdk/client-cloudtrail 3.344.0 → 3.347.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/README.md +293 -0
- package/dist-cjs/CloudTrail.js +4 -0
- package/dist-cjs/commands/StartEventDataStoreIngestionCommand.js +46 -0
- package/dist-cjs/commands/StopEventDataStoreIngestionCommand.js +46 -0
- package/dist-cjs/commands/index.js +2 -0
- package/dist-cjs/models/models_0.js +3 -0
- package/dist-cjs/protocols/Aws_json1_1.js +136 -2
- package/dist-es/CloudTrail.js +4 -0
- package/dist-es/commands/StartEventDataStoreIngestionCommand.js +42 -0
- package/dist-es/commands/StopEventDataStoreIngestionCommand.js +42 -0
- package/dist-es/commands/index.js +2 -0
- package/dist-es/models/models_0.js +3 -0
- package/dist-es/protocols/Aws_json1_1.js +130 -0
- package/dist-types/CloudTrail.d.ts +292 -1
- package/dist-types/CloudTrailClient.d.ts +282 -3
- package/dist-types/commands/AddTagsCommand.d.ts +2 -2
- package/dist-types/commands/CreateEventDataStoreCommand.d.ts +4 -3
- package/dist-types/commands/CreateTrailCommand.d.ts +3 -3
- package/dist-types/commands/DeleteTrailCommand.d.ts +5 -5
- package/dist-types/commands/DescribeTrailsCommand.d.ts +1 -1
- package/dist-types/commands/GetEventDataStoreCommand.d.ts +1 -1
- package/dist-types/commands/GetEventSelectorsCommand.d.ts +1 -1
- package/dist-types/commands/GetInsightSelectorsCommand.d.ts +1 -1
- package/dist-types/commands/GetTrailCommand.d.ts +1 -1
- package/dist-types/commands/GetTrailStatusCommand.d.ts +3 -3
- package/dist-types/commands/ListEventDataStoresCommand.d.ts +2 -2
- package/dist-types/commands/ListPublicKeysCommand.d.ts +3 -3
- package/dist-types/commands/ListTagsCommand.d.ts +2 -2
- package/dist-types/commands/LookupEventsCommand.d.ts +2 -2
- package/dist-types/commands/PutEventSelectorsCommand.d.ts +4 -4
- package/dist-types/commands/PutInsightSelectorsCommand.d.ts +3 -3
- package/dist-types/commands/RemoveTagsCommand.d.ts +1 -1
- package/dist-types/commands/RestoreEventDataStoreCommand.d.ts +1 -1
- package/dist-types/commands/StartEventDataStoreIngestionCommand.d.ts +109 -0
- package/dist-types/commands/StartLoggingCommand.d.ts +5 -5
- package/dist-types/commands/StopEventDataStoreIngestionCommand.d.ts +109 -0
- package/dist-types/commands/StopLoggingCommand.d.ts +6 -6
- package/dist-types/commands/UpdateEventDataStoreCommand.d.ts +3 -3
- package/dist-types/commands/UpdateTrailCommand.d.ts +7 -7
- package/dist-types/commands/index.d.ts +2 -0
- package/dist-types/index.d.ts +278 -1
- package/dist-types/models/models_0.d.ts +98 -57
- package/dist-types/protocols/Aws_json1_1.d.ts +18 -0
- package/dist-types/ts3.4/CloudTrail.d.ts +34 -0
- package/dist-types/ts3.4/CloudTrailClient.d.ts +12 -0
- package/dist-types/ts3.4/commands/StartEventDataStoreIngestionCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/StopEventDataStoreIngestionCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/index.d.ts +2 -0
- package/dist-types/ts3.4/models/models_0.d.ts +12 -0
- package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +24 -0
- package/package.json +28 -28
|
@@ -0,0 +1,109 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
|
+
import { CloudTrailClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudTrailClient";
|
|
5
|
+
import { StartEventDataStoreIngestionRequest, StartEventDataStoreIngestionResponse } from "../models/models_0";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
export { __MetadataBearer, $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link StartEventDataStoreIngestionCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface StartEventDataStoreIngestionCommandInput extends StartEventDataStoreIngestionRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link StartEventDataStoreIngestionCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface StartEventDataStoreIngestionCommandOutput extends StartEventDataStoreIngestionResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* @public
|
|
26
|
+
* <p>Starts the ingestion of live events on an event data store specified as either an ARN or the ID portion of the ARN. To start ingestion, the event data store <code>Status</code> must be <code>STOPPED_INGESTION</code>
|
|
27
|
+
* and the <code>eventCategory</code> must be <code>Management</code>, <code>Data</code>, or <code>ConfigurationItem</code>.</p>
|
|
28
|
+
* @example
|
|
29
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
30
|
+
* ```javascript
|
|
31
|
+
* import { CloudTrailClient, StartEventDataStoreIngestionCommand } from "@aws-sdk/client-cloudtrail"; // ES Modules import
|
|
32
|
+
* // const { CloudTrailClient, StartEventDataStoreIngestionCommand } = require("@aws-sdk/client-cloudtrail"); // CommonJS import
|
|
33
|
+
* const client = new CloudTrailClient(config);
|
|
34
|
+
* const input = { // StartEventDataStoreIngestionRequest
|
|
35
|
+
* EventDataStore: "STRING_VALUE", // required
|
|
36
|
+
* };
|
|
37
|
+
* const command = new StartEventDataStoreIngestionCommand(input);
|
|
38
|
+
* const response = await client.send(command);
|
|
39
|
+
* // {};
|
|
40
|
+
*
|
|
41
|
+
* ```
|
|
42
|
+
*
|
|
43
|
+
* @param StartEventDataStoreIngestionCommandInput - {@link StartEventDataStoreIngestionCommandInput}
|
|
44
|
+
* @returns {@link StartEventDataStoreIngestionCommandOutput}
|
|
45
|
+
* @see {@link StartEventDataStoreIngestionCommandInput} for command's `input` shape.
|
|
46
|
+
* @see {@link StartEventDataStoreIngestionCommandOutput} for command's `response` shape.
|
|
47
|
+
* @see {@link CloudTrailClientResolvedConfig | config} for CloudTrailClient's `config` shape.
|
|
48
|
+
*
|
|
49
|
+
* @throws {@link EventDataStoreARNInvalidException} (client fault)
|
|
50
|
+
* <p>The specified event data store ARN is not valid or does not map to an event data store
|
|
51
|
+
* in your account.</p>
|
|
52
|
+
*
|
|
53
|
+
* @throws {@link EventDataStoreNotFoundException} (client fault)
|
|
54
|
+
* <p>The specified event data store was not found.</p>
|
|
55
|
+
*
|
|
56
|
+
* @throws {@link InsufficientDependencyServiceAccessPermissionException} (client fault)
|
|
57
|
+
* <p>This exception is thrown when the IAM identity that is used to create
|
|
58
|
+
* the organization resource lacks one or more required permissions for creating an
|
|
59
|
+
* organization resource in a required service.</p>
|
|
60
|
+
*
|
|
61
|
+
* @throws {@link InvalidEventDataStoreCategoryException} (client fault)
|
|
62
|
+
* <p>This exception is thrown when event categories of specified event data stores are not
|
|
63
|
+
* valid.</p>
|
|
64
|
+
*
|
|
65
|
+
* @throws {@link InvalidEventDataStoreStatusException} (client fault)
|
|
66
|
+
* <p>The event data store is not in a status that supports the operation.</p>
|
|
67
|
+
*
|
|
68
|
+
* @throws {@link InvalidParameterException} (client fault)
|
|
69
|
+
* <p>The request includes a parameter that is not valid.</p>
|
|
70
|
+
*
|
|
71
|
+
* @throws {@link NoManagementAccountSLRExistsException} (client fault)
|
|
72
|
+
* <p> This exception is thrown when the management account does not have a service-linked
|
|
73
|
+
* role. </p>
|
|
74
|
+
*
|
|
75
|
+
* @throws {@link NotOrganizationMasterAccountException} (client fault)
|
|
76
|
+
* <p>This exception is thrown when the Amazon Web Services account making the request to
|
|
77
|
+
* create or update an organization trail or event data store is not the management account
|
|
78
|
+
* for an organization in Organizations. For more information, see <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> or <a href="https://docs.aws.amazon.com/awscloudtrail/latest/userguide/query-event-data-store.html">Create an event data store</a>.</p>
|
|
79
|
+
*
|
|
80
|
+
* @throws {@link OperationNotPermittedException} (client fault)
|
|
81
|
+
* <p>This exception is thrown when the requested operation is not permitted.</p>
|
|
82
|
+
*
|
|
83
|
+
* @throws {@link UnsupportedOperationException} (client fault)
|
|
84
|
+
* <p>This exception is thrown when the requested operation is not supported.</p>
|
|
85
|
+
*
|
|
86
|
+
* @throws {@link CloudTrailServiceException}
|
|
87
|
+
* <p>Base exception class for all service exceptions from CloudTrail service.</p>
|
|
88
|
+
*
|
|
89
|
+
*/
|
|
90
|
+
export declare class StartEventDataStoreIngestionCommand extends $Command<StartEventDataStoreIngestionCommandInput, StartEventDataStoreIngestionCommandOutput, CloudTrailClientResolvedConfig> {
|
|
91
|
+
readonly input: StartEventDataStoreIngestionCommandInput;
|
|
92
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
93
|
+
/**
|
|
94
|
+
* @public
|
|
95
|
+
*/
|
|
96
|
+
constructor(input: StartEventDataStoreIngestionCommandInput);
|
|
97
|
+
/**
|
|
98
|
+
* @internal
|
|
99
|
+
*/
|
|
100
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CloudTrailClientResolvedConfig, options?: __HttpHandlerOptions): Handler<StartEventDataStoreIngestionCommandInput, StartEventDataStoreIngestionCommandOutput>;
|
|
101
|
+
/**
|
|
102
|
+
* @internal
|
|
103
|
+
*/
|
|
104
|
+
private serialize;
|
|
105
|
+
/**
|
|
106
|
+
* @internal
|
|
107
|
+
*/
|
|
108
|
+
private deserialize;
|
|
109
|
+
}
|
|
@@ -24,9 +24,9 @@ export interface StartLoggingCommandOutput extends StartLoggingResponse, __Metad
|
|
|
24
24
|
/**
|
|
25
25
|
* @public
|
|
26
26
|
* <p>Starts the recording of Amazon Web Services API calls and log file delivery for a trail.
|
|
27
|
-
* For a trail that is enabled in all
|
|
27
|
+
* For a trail that is enabled in all Regions, this operation must be called from the Region
|
|
28
28
|
* in which the trail was created. This operation cannot be called on the shadow trails
|
|
29
|
-
* (replicated trails in other
|
|
29
|
+
* (replicated trails in other Regions) of a trail that is enabled in all Regions.</p>
|
|
30
30
|
* @example
|
|
31
31
|
* Use a bare-bones client and the command you need to make an API call.
|
|
32
32
|
* ```javascript
|
|
@@ -56,7 +56,7 @@ export interface StartLoggingCommandOutput extends StartLoggingResponse, __Metad
|
|
|
56
56
|
* </p>
|
|
57
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
58
|
* <p>The following is the format of an event data store ARN:
|
|
59
|
-
* <code>arn:aws:cloudtrail:us-east-2:
|
|
59
|
+
* <code>arn:aws:cloudtrail:us-east-2:123456789012:eventdatastore/EXAMPLE-f852-4e8f-8bd1-bcf6cEXAMPLE</code>
|
|
60
60
|
* </p>
|
|
61
61
|
* <p>The following is the format of a channel ARN:
|
|
62
62
|
* <code>arn:aws:cloudtrail:us-east-2:123456789012:channel/01234567890</code>
|
|
@@ -74,8 +74,8 @@ export interface StartLoggingCommandOutput extends StartLoggingResponse, __Metad
|
|
|
74
74
|
* organization resource in a required service.</p>
|
|
75
75
|
*
|
|
76
76
|
* @throws {@link InvalidHomeRegionException} (client fault)
|
|
77
|
-
* <p>This exception is thrown when an operation is called on a trail from a
|
|
78
|
-
* the
|
|
77
|
+
* <p>This exception is thrown when an operation is called on a trail from a Region other than
|
|
78
|
+
* the Region in which the trail was created.</p>
|
|
79
79
|
*
|
|
80
80
|
* @throws {@link InvalidTrailNameException} (client fault)
|
|
81
81
|
* <p>This exception is thrown when the provided trail name is not valid. Trail names must
|
|
@@ -0,0 +1,109 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
|
+
import { CloudTrailClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudTrailClient";
|
|
5
|
+
import { StopEventDataStoreIngestionRequest, StopEventDataStoreIngestionResponse } from "../models/models_0";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
export { __MetadataBearer, $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link StopEventDataStoreIngestionCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface StopEventDataStoreIngestionCommandInput extends StopEventDataStoreIngestionRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link StopEventDataStoreIngestionCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface StopEventDataStoreIngestionCommandOutput extends StopEventDataStoreIngestionResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* @public
|
|
26
|
+
* <p>Stops the ingestion of live events on an event data store specified as either an ARN or the ID portion of the ARN. To stop ingestion, the event data store <code>Status</code> must be <code>ENABLED</code>
|
|
27
|
+
* and the <code>eventCategory</code> must be <code>Management</code>, <code>Data</code>, or <code>ConfigurationItem</code>.</p>
|
|
28
|
+
* @example
|
|
29
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
30
|
+
* ```javascript
|
|
31
|
+
* import { CloudTrailClient, StopEventDataStoreIngestionCommand } from "@aws-sdk/client-cloudtrail"; // ES Modules import
|
|
32
|
+
* // const { CloudTrailClient, StopEventDataStoreIngestionCommand } = require("@aws-sdk/client-cloudtrail"); // CommonJS import
|
|
33
|
+
* const client = new CloudTrailClient(config);
|
|
34
|
+
* const input = { // StopEventDataStoreIngestionRequest
|
|
35
|
+
* EventDataStore: "STRING_VALUE", // required
|
|
36
|
+
* };
|
|
37
|
+
* const command = new StopEventDataStoreIngestionCommand(input);
|
|
38
|
+
* const response = await client.send(command);
|
|
39
|
+
* // {};
|
|
40
|
+
*
|
|
41
|
+
* ```
|
|
42
|
+
*
|
|
43
|
+
* @param StopEventDataStoreIngestionCommandInput - {@link StopEventDataStoreIngestionCommandInput}
|
|
44
|
+
* @returns {@link StopEventDataStoreIngestionCommandOutput}
|
|
45
|
+
* @see {@link StopEventDataStoreIngestionCommandInput} for command's `input` shape.
|
|
46
|
+
* @see {@link StopEventDataStoreIngestionCommandOutput} for command's `response` shape.
|
|
47
|
+
* @see {@link CloudTrailClientResolvedConfig | config} for CloudTrailClient's `config` shape.
|
|
48
|
+
*
|
|
49
|
+
* @throws {@link EventDataStoreARNInvalidException} (client fault)
|
|
50
|
+
* <p>The specified event data store ARN is not valid or does not map to an event data store
|
|
51
|
+
* in your account.</p>
|
|
52
|
+
*
|
|
53
|
+
* @throws {@link EventDataStoreNotFoundException} (client fault)
|
|
54
|
+
* <p>The specified event data store was not found.</p>
|
|
55
|
+
*
|
|
56
|
+
* @throws {@link InsufficientDependencyServiceAccessPermissionException} (client fault)
|
|
57
|
+
* <p>This exception is thrown when the IAM identity that is used to create
|
|
58
|
+
* the organization resource lacks one or more required permissions for creating an
|
|
59
|
+
* organization resource in a required service.</p>
|
|
60
|
+
*
|
|
61
|
+
* @throws {@link InvalidEventDataStoreCategoryException} (client fault)
|
|
62
|
+
* <p>This exception is thrown when event categories of specified event data stores are not
|
|
63
|
+
* valid.</p>
|
|
64
|
+
*
|
|
65
|
+
* @throws {@link InvalidEventDataStoreStatusException} (client fault)
|
|
66
|
+
* <p>The event data store is not in a status that supports the operation.</p>
|
|
67
|
+
*
|
|
68
|
+
* @throws {@link InvalidParameterException} (client fault)
|
|
69
|
+
* <p>The request includes a parameter that is not valid.</p>
|
|
70
|
+
*
|
|
71
|
+
* @throws {@link NoManagementAccountSLRExistsException} (client fault)
|
|
72
|
+
* <p> This exception is thrown when the management account does not have a service-linked
|
|
73
|
+
* role. </p>
|
|
74
|
+
*
|
|
75
|
+
* @throws {@link NotOrganizationMasterAccountException} (client fault)
|
|
76
|
+
* <p>This exception is thrown when the Amazon Web Services account making the request to
|
|
77
|
+
* create or update an organization trail or event data store is not the management account
|
|
78
|
+
* for an organization in Organizations. For more information, see <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> or <a href="https://docs.aws.amazon.com/awscloudtrail/latest/userguide/query-event-data-store.html">Create an event data store</a>.</p>
|
|
79
|
+
*
|
|
80
|
+
* @throws {@link OperationNotPermittedException} (client fault)
|
|
81
|
+
* <p>This exception is thrown when the requested operation is not permitted.</p>
|
|
82
|
+
*
|
|
83
|
+
* @throws {@link UnsupportedOperationException} (client fault)
|
|
84
|
+
* <p>This exception is thrown when the requested operation is not supported.</p>
|
|
85
|
+
*
|
|
86
|
+
* @throws {@link CloudTrailServiceException}
|
|
87
|
+
* <p>Base exception class for all service exceptions from CloudTrail service.</p>
|
|
88
|
+
*
|
|
89
|
+
*/
|
|
90
|
+
export declare class StopEventDataStoreIngestionCommand extends $Command<StopEventDataStoreIngestionCommandInput, StopEventDataStoreIngestionCommandOutput, CloudTrailClientResolvedConfig> {
|
|
91
|
+
readonly input: StopEventDataStoreIngestionCommandInput;
|
|
92
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
93
|
+
/**
|
|
94
|
+
* @public
|
|
95
|
+
*/
|
|
96
|
+
constructor(input: StopEventDataStoreIngestionCommandInput);
|
|
97
|
+
/**
|
|
98
|
+
* @internal
|
|
99
|
+
*/
|
|
100
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CloudTrailClientResolvedConfig, options?: __HttpHandlerOptions): Handler<StopEventDataStoreIngestionCommandInput, StopEventDataStoreIngestionCommandOutput>;
|
|
101
|
+
/**
|
|
102
|
+
* @internal
|
|
103
|
+
*/
|
|
104
|
+
private serialize;
|
|
105
|
+
/**
|
|
106
|
+
* @internal
|
|
107
|
+
*/
|
|
108
|
+
private deserialize;
|
|
109
|
+
}
|
|
@@ -26,10 +26,10 @@ export interface StopLoggingCommandOutput extends StopLoggingResponse, __Metadat
|
|
|
26
26
|
* <p>Suspends the recording of Amazon Web Services API calls and log file delivery for the
|
|
27
27
|
* specified trail. Under most circumstances, there is no need to use this action. You can
|
|
28
28
|
* update a trail without stopping it first. This action is the only way to stop recording.
|
|
29
|
-
* For a trail enabled in all
|
|
29
|
+
* For a trail enabled in all Regions, this operation must be called from the Region in which
|
|
30
30
|
* the trail was created, or an <code>InvalidHomeRegionException</code> will occur. This
|
|
31
|
-
* operation cannot be called on the shadow trails (replicated trails in other
|
|
32
|
-
* trail enabled in all
|
|
31
|
+
* operation cannot be called on the shadow trails (replicated trails in other Regions) of a
|
|
32
|
+
* trail enabled in all Regions.</p>
|
|
33
33
|
* @example
|
|
34
34
|
* Use a bare-bones client and the command you need to make an API call.
|
|
35
35
|
* ```javascript
|
|
@@ -59,7 +59,7 @@ export interface StopLoggingCommandOutput extends StopLoggingResponse, __Metadat
|
|
|
59
59
|
* </p>
|
|
60
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
61
|
* <p>The following is the format of an event data store ARN:
|
|
62
|
-
* <code>arn:aws:cloudtrail:us-east-2:
|
|
62
|
+
* <code>arn:aws:cloudtrail:us-east-2:123456789012:eventdatastore/EXAMPLE-f852-4e8f-8bd1-bcf6cEXAMPLE</code>
|
|
63
63
|
* </p>
|
|
64
64
|
* <p>The following is the format of a channel ARN:
|
|
65
65
|
* <code>arn:aws:cloudtrail:us-east-2:123456789012:channel/01234567890</code>
|
|
@@ -77,8 +77,8 @@ export interface StopLoggingCommandOutput extends StopLoggingResponse, __Metadat
|
|
|
77
77
|
* organization resource in a required service.</p>
|
|
78
78
|
*
|
|
79
79
|
* @throws {@link InvalidHomeRegionException} (client fault)
|
|
80
|
-
* <p>This exception is thrown when an operation is called on a trail from a
|
|
81
|
-
* the
|
|
80
|
+
* <p>This exception is thrown when an operation is called on a trail from a Region other than
|
|
81
|
+
* the Region in which the trail was created.</p>
|
|
82
82
|
*
|
|
83
83
|
* @throws {@link InvalidTrailNameException} (client fault)
|
|
84
84
|
* <p>This exception is thrown when the provided trail name is not valid. Trail names must
|
|
@@ -79,7 +79,7 @@ export interface UpdateEventDataStoreCommandOutput extends UpdateEventDataStoreR
|
|
|
79
79
|
* // { // UpdateEventDataStoreResponse
|
|
80
80
|
* // EventDataStoreArn: "STRING_VALUE",
|
|
81
81
|
* // Name: "STRING_VALUE",
|
|
82
|
-
* // Status: "CREATED" || "ENABLED" || "PENDING_DELETION",
|
|
82
|
+
* // Status: "CREATED" || "ENABLED" || "PENDING_DELETION" || "STARTING_INGESTION" || "STOPPING_INGESTION" || "STOPPED_INGESTION",
|
|
83
83
|
* // AdvancedEventSelectors: [ // AdvancedEventSelectors
|
|
84
84
|
* // { // AdvancedEventSelector
|
|
85
85
|
* // Name: "STRING_VALUE",
|
|
@@ -191,8 +191,8 @@ export interface UpdateEventDataStoreCommandOutput extends UpdateEventDataStoreR
|
|
|
191
191
|
*
|
|
192
192
|
* @throws {@link KmsKeyNotFoundException} (client fault)
|
|
193
193
|
* <p>This exception is thrown when the KMS key does not exist, when the S3
|
|
194
|
-
* bucket and the KMS key are not in the same
|
|
195
|
-
* not in the same
|
|
194
|
+
* bucket and the KMS key are not in the same Region, or when the KMS key associated with the Amazon SNS topic either does not exist or is
|
|
195
|
+
* not in the same Region.</p>
|
|
196
196
|
*
|
|
197
197
|
* @throws {@link NoManagementAccountSLRExistsException} (client fault)
|
|
198
198
|
* <p> This exception is thrown when the management account does not have a service-linked
|
|
@@ -27,7 +27,7 @@ export interface UpdateTrailCommandOutput extends UpdateTrailResponse, __Metadat
|
|
|
27
27
|
* files. Changes to a trail do not require stopping the CloudTrail service. Use this
|
|
28
28
|
* action to designate an existing bucket for log delivery. If the existing bucket has
|
|
29
29
|
* previously been a target for CloudTrail log files, an IAM policy
|
|
30
|
-
* exists for the bucket. <code>UpdateTrail</code> must be called from the
|
|
30
|
+
* exists for the bucket. <code>UpdateTrail</code> must be called from the Region in which the
|
|
31
31
|
* trail was created; otherwise, an <code>InvalidHomeRegionException</code> is thrown.</p>
|
|
32
32
|
* @example
|
|
33
33
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -85,7 +85,7 @@ export interface UpdateTrailCommandOutput extends UpdateTrailResponse, __Metadat
|
|
|
85
85
|
* </p>
|
|
86
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
87
|
* <p>The following is the format of an event data store ARN:
|
|
88
|
-
* <code>arn:aws:cloudtrail:us-east-2:
|
|
88
|
+
* <code>arn:aws:cloudtrail:us-east-2:123456789012:eventdatastore/EXAMPLE-f852-4e8f-8bd1-bcf6cEXAMPLE</code>
|
|
89
89
|
* </p>
|
|
90
90
|
* <p>The following is the format of a channel ARN:
|
|
91
91
|
* <code>arn:aws:cloudtrail:us-east-2:123456789012:channel/01234567890</code>
|
|
@@ -97,7 +97,7 @@ export interface UpdateTrailCommandOutput extends UpdateTrailResponse, __Metadat
|
|
|
97
97
|
* to an Amazon SNS topic that is in a suspended Amazon Web Services account.</p>
|
|
98
98
|
*
|
|
99
99
|
* @throws {@link CloudWatchLogsDeliveryUnavailableException} (client fault)
|
|
100
|
-
* <p>Cannot set a CloudWatch Logs delivery for this
|
|
100
|
+
* <p>Cannot set a CloudWatch Logs delivery for this Region.</p>
|
|
101
101
|
*
|
|
102
102
|
* @throws {@link ConflictException} (client fault)
|
|
103
103
|
* <p>This exception is thrown when the specified resource is not ready for an operation. This
|
|
@@ -159,8 +159,8 @@ export interface UpdateTrailCommandOutput extends UpdateTrailResponse, __Metadat
|
|
|
159
159
|
* </ul>
|
|
160
160
|
*
|
|
161
161
|
* @throws {@link InvalidHomeRegionException} (client fault)
|
|
162
|
-
* <p>This exception is thrown when an operation is called on a trail from a
|
|
163
|
-
* the
|
|
162
|
+
* <p>This exception is thrown when an operation is called on a trail from a Region other than
|
|
163
|
+
* the Region in which the trail was created.</p>
|
|
164
164
|
*
|
|
165
165
|
* @throws {@link InvalidKmsKeyIdException} (client fault)
|
|
166
166
|
* <p>This exception is thrown when the KMS key ARN is not valid.</p>
|
|
@@ -213,8 +213,8 @@ export interface UpdateTrailCommandOutput extends UpdateTrailResponse, __Metadat
|
|
|
213
213
|
*
|
|
214
214
|
* @throws {@link KmsKeyNotFoundException} (client fault)
|
|
215
215
|
* <p>This exception is thrown when the KMS key does not exist, when the S3
|
|
216
|
-
* bucket and the KMS key are not in the same
|
|
217
|
-
* not in the same
|
|
216
|
+
* bucket and the KMS key are not in the same Region, or when the KMS key associated with the Amazon SNS topic either does not exist or is
|
|
217
|
+
* not in the same Region.</p>
|
|
218
218
|
*
|
|
219
219
|
* @throws {@link NoManagementAccountSLRExistsException} (client fault)
|
|
220
220
|
* <p> This exception is thrown when the management account does not have a service-linked
|
|
@@ -34,9 +34,11 @@ export * from "./PutResourcePolicyCommand";
|
|
|
34
34
|
export * from "./RegisterOrganizationDelegatedAdminCommand";
|
|
35
35
|
export * from "./RemoveTagsCommand";
|
|
36
36
|
export * from "./RestoreEventDataStoreCommand";
|
|
37
|
+
export * from "./StartEventDataStoreIngestionCommand";
|
|
37
38
|
export * from "./StartImportCommand";
|
|
38
39
|
export * from "./StartLoggingCommand";
|
|
39
40
|
export * from "./StartQueryCommand";
|
|
41
|
+
export * from "./StopEventDataStoreIngestionCommand";
|
|
40
42
|
export * from "./StopImportCommand";
|
|
41
43
|
export * from "./StopLoggingCommand";
|
|
42
44
|
export * from "./UpdateChannelCommand";
|
package/dist-types/index.d.ts
CHANGED
|
@@ -14,7 +14,284 @@
|
|
|
14
14
|
* Amazon Web Services SDKs, including how to download and install them, see <a href="http://aws.amazon.com/tools/">Tools to Build on Amazon Web Services</a>.</p>
|
|
15
15
|
* </note>
|
|
16
16
|
* <p>See the <a href="https://docs.aws.amazon.com/awscloudtrail/latest/userguide/cloudtrail-user-guide.html">CloudTrail
|
|
17
|
-
*
|
|
17
|
+
* User Guide</a> for information about the data that is included with each Amazon Web Services API call listed in the log files.</p>
|
|
18
|
+
* <p>
|
|
19
|
+
* <b>Actions available for CloudTrail trails</b>
|
|
20
|
+
* </p>
|
|
21
|
+
* <p>The following actions are available for CloudTrail trails.</p>
|
|
22
|
+
* <ul>
|
|
23
|
+
* <li>
|
|
24
|
+
* <p>
|
|
25
|
+
* <a>AddTags</a>
|
|
26
|
+
* </p>
|
|
27
|
+
* </li>
|
|
28
|
+
* <li>
|
|
29
|
+
* <p>
|
|
30
|
+
* <a>CreateTrail</a>
|
|
31
|
+
* </p>
|
|
32
|
+
* </li>
|
|
33
|
+
* <li>
|
|
34
|
+
* <p>
|
|
35
|
+
* <a>DeleteTrail</a>
|
|
36
|
+
* </p>
|
|
37
|
+
* </li>
|
|
38
|
+
* <li>
|
|
39
|
+
* <p>
|
|
40
|
+
* <a>DescribeTrails</a>
|
|
41
|
+
* </p>
|
|
42
|
+
* </li>
|
|
43
|
+
* <li>
|
|
44
|
+
* <p>
|
|
45
|
+
* <a>GetEventSelectors</a>
|
|
46
|
+
* </p>
|
|
47
|
+
* </li>
|
|
48
|
+
* <li>
|
|
49
|
+
* <p>
|
|
50
|
+
* <a>GetInsightSelectors</a>
|
|
51
|
+
* </p>
|
|
52
|
+
* </li>
|
|
53
|
+
* <li>
|
|
54
|
+
* <p>
|
|
55
|
+
* <a>GetTrail</a>
|
|
56
|
+
* </p>
|
|
57
|
+
* </li>
|
|
58
|
+
* <li>
|
|
59
|
+
* <p>
|
|
60
|
+
* <a>GetTrailStatus</a>
|
|
61
|
+
* </p>
|
|
62
|
+
* </li>
|
|
63
|
+
* <li>
|
|
64
|
+
* <p>
|
|
65
|
+
* <a>ListTags</a>
|
|
66
|
+
* </p>
|
|
67
|
+
* </li>
|
|
68
|
+
* <li>
|
|
69
|
+
* <p>
|
|
70
|
+
* <a>ListTrails</a>
|
|
71
|
+
* </p>
|
|
72
|
+
* </li>
|
|
73
|
+
* <li>
|
|
74
|
+
* <p>
|
|
75
|
+
* <a>PutEventSelectors</a>
|
|
76
|
+
* </p>
|
|
77
|
+
* </li>
|
|
78
|
+
* <li>
|
|
79
|
+
* <p>
|
|
80
|
+
* <a>PutInsightSelectors</a>
|
|
81
|
+
* </p>
|
|
82
|
+
* </li>
|
|
83
|
+
* <li>
|
|
84
|
+
* <p>
|
|
85
|
+
* <a>RemoveTags</a>
|
|
86
|
+
* </p>
|
|
87
|
+
* </li>
|
|
88
|
+
* <li>
|
|
89
|
+
* <p>
|
|
90
|
+
* <a>StartLogging</a>
|
|
91
|
+
* </p>
|
|
92
|
+
* </li>
|
|
93
|
+
* <li>
|
|
94
|
+
* <p>
|
|
95
|
+
* <a>StopLogging</a>
|
|
96
|
+
* </p>
|
|
97
|
+
* </li>
|
|
98
|
+
* <li>
|
|
99
|
+
* <p>
|
|
100
|
+
* <a>UpdateTrail</a>
|
|
101
|
+
* </p>
|
|
102
|
+
* </li>
|
|
103
|
+
* </ul>
|
|
104
|
+
* <p>
|
|
105
|
+
* <b>Actions available for CloudTrail event data stores</b>
|
|
106
|
+
* </p>
|
|
107
|
+
* <p>The following actions are available for CloudTrail event data stores.</p>
|
|
108
|
+
* <ul>
|
|
109
|
+
* <li>
|
|
110
|
+
* <p>
|
|
111
|
+
* <a>AddTags</a>
|
|
112
|
+
* </p>
|
|
113
|
+
* </li>
|
|
114
|
+
* <li>
|
|
115
|
+
* <p>
|
|
116
|
+
* <a>CancelQuery</a>
|
|
117
|
+
* </p>
|
|
118
|
+
* </li>
|
|
119
|
+
* <li>
|
|
120
|
+
* <p>
|
|
121
|
+
* <a>CreateEventDataStore</a>
|
|
122
|
+
* </p>
|
|
123
|
+
* </li>
|
|
124
|
+
* <li>
|
|
125
|
+
* <p>
|
|
126
|
+
* <a>DeleteEventDataStore</a>
|
|
127
|
+
* </p>
|
|
128
|
+
* </li>
|
|
129
|
+
* <li>
|
|
130
|
+
* <p>
|
|
131
|
+
* <a>DescribeQuery</a>
|
|
132
|
+
* </p>
|
|
133
|
+
* </li>
|
|
134
|
+
* <li>
|
|
135
|
+
* <p>
|
|
136
|
+
* <a>GetEventDataStore</a>
|
|
137
|
+
* </p>
|
|
138
|
+
* </li>
|
|
139
|
+
* <li>
|
|
140
|
+
* <p>
|
|
141
|
+
* <a>GetQueryResults</a>
|
|
142
|
+
* </p>
|
|
143
|
+
* </li>
|
|
144
|
+
* <li>
|
|
145
|
+
* <p>
|
|
146
|
+
* <a>ListEventDataStores</a>
|
|
147
|
+
* </p>
|
|
148
|
+
* </li>
|
|
149
|
+
* <li>
|
|
150
|
+
* <p>
|
|
151
|
+
* <a>ListTags</a>
|
|
152
|
+
* </p>
|
|
153
|
+
* </li>
|
|
154
|
+
* <li>
|
|
155
|
+
* <p>
|
|
156
|
+
* <a>ListQueries</a>
|
|
157
|
+
* </p>
|
|
158
|
+
* </li>
|
|
159
|
+
* <li>
|
|
160
|
+
* <p>
|
|
161
|
+
* <a>RemoveTags</a>
|
|
162
|
+
* </p>
|
|
163
|
+
* </li>
|
|
164
|
+
* <li>
|
|
165
|
+
* <p>
|
|
166
|
+
* <a>RestoreEventDataStore</a>
|
|
167
|
+
* </p>
|
|
168
|
+
* </li>
|
|
169
|
+
* <li>
|
|
170
|
+
* <p>
|
|
171
|
+
* <a>StartEventDataStoreIngestion</a>
|
|
172
|
+
* </p>
|
|
173
|
+
* </li>
|
|
174
|
+
* <li>
|
|
175
|
+
* <p>
|
|
176
|
+
* <a>StartImport</a>
|
|
177
|
+
* </p>
|
|
178
|
+
* <p>The following additional actions are available for imports.</p>
|
|
179
|
+
* <ul>
|
|
180
|
+
* <li>
|
|
181
|
+
* <p>
|
|
182
|
+
* <a>GetImport</a>
|
|
183
|
+
* </p>
|
|
184
|
+
* </li>
|
|
185
|
+
* <li>
|
|
186
|
+
* <p>
|
|
187
|
+
* <a>ListImportFailures</a>
|
|
188
|
+
* </p>
|
|
189
|
+
* </li>
|
|
190
|
+
* <li>
|
|
191
|
+
* <p>
|
|
192
|
+
* <a>ListImports</a>
|
|
193
|
+
* </p>
|
|
194
|
+
* </li>
|
|
195
|
+
* <li>
|
|
196
|
+
* <p>
|
|
197
|
+
* <a>StopImport</a>
|
|
198
|
+
* </p>
|
|
199
|
+
* </li>
|
|
200
|
+
* </ul>
|
|
201
|
+
* </li>
|
|
202
|
+
* <li>
|
|
203
|
+
* <p>
|
|
204
|
+
* <a>StartQuery</a>
|
|
205
|
+
* </p>
|
|
206
|
+
* </li>
|
|
207
|
+
* <li>
|
|
208
|
+
* <p>
|
|
209
|
+
* <a>StartEventDataStoreIngestion</a>
|
|
210
|
+
* </p>
|
|
211
|
+
* </li>
|
|
212
|
+
* <li>
|
|
213
|
+
* <p>
|
|
214
|
+
* <a>UpdateEventDataStore</a>
|
|
215
|
+
* </p>
|
|
216
|
+
* </li>
|
|
217
|
+
* </ul>
|
|
218
|
+
* <p>
|
|
219
|
+
* <b>Actions available for CloudTrail channels</b>
|
|
220
|
+
* </p>
|
|
221
|
+
* <p>The following actions are available for CloudTrail channels.</p>
|
|
222
|
+
* <ul>
|
|
223
|
+
* <li>
|
|
224
|
+
* <p>
|
|
225
|
+
* <a>AddTags</a>
|
|
226
|
+
* </p>
|
|
227
|
+
* </li>
|
|
228
|
+
* <li>
|
|
229
|
+
* <p>
|
|
230
|
+
* <a>CreateChannel</a>
|
|
231
|
+
* </p>
|
|
232
|
+
* </li>
|
|
233
|
+
* <li>
|
|
234
|
+
* <p>
|
|
235
|
+
* <a>DeleteChannel</a>
|
|
236
|
+
* </p>
|
|
237
|
+
* </li>
|
|
238
|
+
* <li>
|
|
239
|
+
* <p>
|
|
240
|
+
* <a>DeleteResourcePolicy</a>
|
|
241
|
+
* </p>
|
|
242
|
+
* </li>
|
|
243
|
+
* <li>
|
|
244
|
+
* <p>
|
|
245
|
+
* <a>GetChannel</a>
|
|
246
|
+
* </p>
|
|
247
|
+
* </li>
|
|
248
|
+
* <li>
|
|
249
|
+
* <p>
|
|
250
|
+
* <a>GetResourcePolicy</a>
|
|
251
|
+
* </p>
|
|
252
|
+
* </li>
|
|
253
|
+
* <li>
|
|
254
|
+
* <p>
|
|
255
|
+
* <a>ListChannels</a>
|
|
256
|
+
* </p>
|
|
257
|
+
* </li>
|
|
258
|
+
* <li>
|
|
259
|
+
* <p>
|
|
260
|
+
* <a>ListTags</a>
|
|
261
|
+
* </p>
|
|
262
|
+
* </li>
|
|
263
|
+
* <li>
|
|
264
|
+
* <p>
|
|
265
|
+
* <a>PutResourcePolicy</a>
|
|
266
|
+
* </p>
|
|
267
|
+
* </li>
|
|
268
|
+
* <li>
|
|
269
|
+
* <p>
|
|
270
|
+
* <a>RemoveTags</a>
|
|
271
|
+
* </p>
|
|
272
|
+
* </li>
|
|
273
|
+
* <li>
|
|
274
|
+
* <p>
|
|
275
|
+
* <a>UpdateChannel</a>
|
|
276
|
+
* </p>
|
|
277
|
+
* </li>
|
|
278
|
+
* </ul>
|
|
279
|
+
* <p>
|
|
280
|
+
* <b>Actions available for managing delegated administrators</b>
|
|
281
|
+
* </p>
|
|
282
|
+
* <p>The following actions are available for adding or a removing a delegated administrator to manage an Organizations organization’s CloudTrail resources.</p>
|
|
283
|
+
* <ul>
|
|
284
|
+
* <li>
|
|
285
|
+
* <p>
|
|
286
|
+
* <a>DeregisterOrganizationDelegatedAdmin</a>
|
|
287
|
+
* </p>
|
|
288
|
+
* </li>
|
|
289
|
+
* <li>
|
|
290
|
+
* <p>
|
|
291
|
+
* <a>RegisterOrganizationDelegatedAdmin</a>
|
|
292
|
+
* </p>
|
|
293
|
+
* </li>
|
|
294
|
+
* </ul>
|
|
18
295
|
*
|
|
19
296
|
* @packageDocumentation
|
|
20
297
|
*/
|