@aws-sdk/client-cloudtrail 3.817.0 → 3.820.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 +16 -0
- package/dist-cjs/index.js +148 -24
- package/dist-es/CloudTrail.js +4 -0
- package/dist-es/commands/GetEventConfigurationCommand.js +22 -0
- package/dist-es/commands/PutEventConfigurationCommand.js +22 -0
- package/dist-es/commands/index.js +2 -0
- package/dist-es/models/models_0.js +36 -14
- package/dist-es/protocols/Aws_json1_1.js +54 -4
- package/dist-types/CloudTrail.d.ts +15 -0
- package/dist-types/CloudTrailClient.d.ts +4 -2
- package/dist-types/commands/GetEventConfigurationCommand.d.ts +126 -0
- package/dist-types/commands/PutEventConfigurationCommand.d.ts +161 -0
- package/dist-types/commands/RegisterOrganizationDelegatedAdminCommand.d.ts +3 -0
- package/dist-types/commands/StartEventDataStoreIngestionCommand.d.ts +6 -0
- package/dist-types/commands/StopEventDataStoreIngestionCommand.d.ts +6 -0
- package/dist-types/commands/index.d.ts +2 -0
- package/dist-types/models/models_0.d.ts +144 -17
- package/dist-types/protocols/Aws_json1_1.d.ts +18 -0
- package/dist-types/ts3.4/CloudTrail.d.ts +35 -0
- package/dist-types/ts3.4/CloudTrailClient.d.ts +12 -0
- package/dist-types/ts3.4/commands/GetEventConfigurationCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/PutEventConfigurationCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/index.d.ts +2 -0
- package/dist-types/ts3.4/models/models_0.d.ts +54 -11
- package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +24 -0
- package/package.json +1 -1
|
@@ -2,7 +2,7 @@ import { loadRestJsonErrorCode, parseJsonBody as parseBody, parseJsonErrorBody a
|
|
|
2
2
|
import { HttpRequest as __HttpRequest } from "@smithy/protocol-http";
|
|
3
3
|
import { _json, collectBody, decorateServiceException as __decorateServiceException, expectBoolean as __expectBoolean, expectInt32 as __expectInt32, expectLong as __expectLong, expectNonNull as __expectNonNull, expectNumber as __expectNumber, expectString as __expectString, limitedParseDouble as __limitedParseDouble, limitedParseFloat32 as __limitedParseFloat32, parseEpochTimestamp as __parseEpochTimestamp, take, withBaseException, } from "@smithy/smithy-client";
|
|
4
4
|
import { CloudTrailServiceException as __BaseException } from "../models/CloudTrailServiceException";
|
|
5
|
-
import { AccessDeniedException, AccountHasOngoingImportException, AccountNotFoundException, AccountNotRegisteredException, AccountRegisteredException, CannotDelegateManagementAccountException, ChannelAlreadyExistsException, ChannelARNInvalidException, ChannelExistsForEDSException, ChannelMaxLimitExceededException, ChannelNotFoundException, CloudTrailAccessNotEnabledException, CloudTrailARNInvalidException, CloudTrailInvalidClientTokenIdException, CloudWatchLogsDeliveryUnavailableException, ConcurrentModificationException, ConflictException, DelegatedAdminAccountLimitExceededException, EventDataStoreAlreadyExistsException, EventDataStoreARNInvalidException, EventDataStoreFederationEnabledException, EventDataStoreHasOngoingImportException, EventDataStoreMaxLimitExceededException, EventDataStoreNotFoundException, EventDataStoreTerminationProtectedException, GenerateResponseException, ImportNotFoundException, InactiveEventDataStoreException, InactiveQueryException, InsightNotEnabledException, InsufficientDependencyServiceAccessPermissionException, InsufficientEncryptionPolicyException, InsufficientS3BucketPolicyException, InsufficientSnsTopicPolicyException, InvalidCloudWatchLogsLogGroupArnException, InvalidCloudWatchLogsRoleArnException, InvalidDateRangeException, InvalidEventCategoryException, InvalidEventDataStoreCategoryException, InvalidEventDataStoreStatusException, InvalidEventSelectorsException, InvalidHomeRegionException, InvalidImportSourceException, InvalidInsightSelectorsException, InvalidKmsKeyIdException, InvalidLookupAttributesException, InvalidMaxResultsException, InvalidNextTokenException, InvalidParameterCombinationException, InvalidParameterException, InvalidQueryStatementException, InvalidQueryStatusException, InvalidS3BucketNameException, InvalidS3PrefixException, InvalidSnsTopicNameException, InvalidSourceException, InvalidTagParameterException, InvalidTimeRangeException, InvalidTokenException, InvalidTrailNameException, KmsException, KmsKeyDisabledException, KmsKeyNotFoundException, MaxConcurrentQueriesException, MaximumNumberOfTrailsExceededException, NoManagementAccountSLRExistsException, NotOrganizationManagementAccountException, NotOrganizationMasterAccountException, OperationNotPermittedException, OrganizationNotInAllFeaturesModeException, OrganizationsNotInUseException, QueryIdNotFoundException, ResourceARNNotValidException, ResourceNotFoundException, ResourcePolicyNotFoundException, ResourcePolicyNotValidException, ResourceTypeNotSupportedException, S3BucketDoesNotExistException, ServiceQuotaExceededException, TagsLimitExceededException, ThrottlingException, TrailAlreadyExistsException, TrailNotFoundException, TrailNotProvidedException, UnsupportedOperationException, } from "../models/models_0";
|
|
5
|
+
import { AccessDeniedException, AccountHasOngoingImportException, AccountNotFoundException, AccountNotRegisteredException, AccountRegisteredException, CannotDelegateManagementAccountException, ChannelAlreadyExistsException, ChannelARNInvalidException, ChannelExistsForEDSException, ChannelMaxLimitExceededException, ChannelNotFoundException, CloudTrailAccessNotEnabledException, CloudTrailARNInvalidException, CloudTrailInvalidClientTokenIdException, CloudWatchLogsDeliveryUnavailableException, ConcurrentModificationException, ConflictException, DelegatedAdminAccountLimitExceededException, EventDataStoreAlreadyExistsException, EventDataStoreARNInvalidException, EventDataStoreFederationEnabledException, EventDataStoreHasOngoingImportException, EventDataStoreMaxLimitExceededException, EventDataStoreNotFoundException, EventDataStoreTerminationProtectedException, GenerateResponseException, ImportNotFoundException, InactiveEventDataStoreException, InactiveQueryException, InsightNotEnabledException, InsufficientDependencyServiceAccessPermissionException, InsufficientEncryptionPolicyException, InsufficientIAMAccessPermissionException, InsufficientS3BucketPolicyException, InsufficientSnsTopicPolicyException, InvalidCloudWatchLogsLogGroupArnException, InvalidCloudWatchLogsRoleArnException, InvalidDateRangeException, InvalidEventCategoryException, InvalidEventDataStoreCategoryException, InvalidEventDataStoreStatusException, InvalidEventSelectorsException, InvalidHomeRegionException, InvalidImportSourceException, InvalidInsightSelectorsException, InvalidKmsKeyIdException, InvalidLookupAttributesException, InvalidMaxResultsException, InvalidNextTokenException, InvalidParameterCombinationException, InvalidParameterException, InvalidQueryStatementException, InvalidQueryStatusException, InvalidS3BucketNameException, InvalidS3PrefixException, InvalidSnsTopicNameException, InvalidSourceException, InvalidTagParameterException, InvalidTimeRangeException, InvalidTokenException, InvalidTrailNameException, KmsException, KmsKeyDisabledException, KmsKeyNotFoundException, MaxConcurrentQueriesException, MaximumNumberOfTrailsExceededException, NoManagementAccountSLRExistsException, NotOrganizationManagementAccountException, NotOrganizationMasterAccountException, OperationNotPermittedException, OrganizationNotInAllFeaturesModeException, OrganizationsNotInUseException, QueryIdNotFoundException, ResourceARNNotValidException, ResourceNotFoundException, ResourcePolicyNotFoundException, ResourcePolicyNotValidException, ResourceTypeNotSupportedException, S3BucketDoesNotExistException, ServiceQuotaExceededException, TagsLimitExceededException, ThrottlingException, TrailAlreadyExistsException, TrailNotFoundException, TrailNotProvidedException, UnsupportedOperationException, } from "../models/models_0";
|
|
6
6
|
export const se_AddTagsCommand = async (input, context) => {
|
|
7
7
|
const headers = sharedHeaders("AddTags");
|
|
8
8
|
let body;
|
|
@@ -117,6 +117,12 @@ export const se_GetDashboardCommand = async (input, context) => {
|
|
|
117
117
|
body = JSON.stringify(_json(input));
|
|
118
118
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
119
119
|
};
|
|
120
|
+
export const se_GetEventConfigurationCommand = async (input, context) => {
|
|
121
|
+
const headers = sharedHeaders("GetEventConfiguration");
|
|
122
|
+
let body;
|
|
123
|
+
body = JSON.stringify(_json(input));
|
|
124
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
125
|
+
};
|
|
120
126
|
export const se_GetEventDataStoreCommand = async (input, context) => {
|
|
121
127
|
const headers = sharedHeaders("GetEventDataStore");
|
|
122
128
|
let body;
|
|
@@ -231,6 +237,12 @@ export const se_LookupEventsCommand = async (input, context) => {
|
|
|
231
237
|
body = JSON.stringify(se_LookupEventsRequest(input, context));
|
|
232
238
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
233
239
|
};
|
|
240
|
+
export const se_PutEventConfigurationCommand = async (input, context) => {
|
|
241
|
+
const headers = sharedHeaders("PutEventConfiguration");
|
|
242
|
+
let body;
|
|
243
|
+
body = JSON.stringify(_json(input));
|
|
244
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
245
|
+
};
|
|
234
246
|
export const se_PutEventSelectorsCommand = async (input, context) => {
|
|
235
247
|
const headers = sharedHeaders("PutEventSelectors");
|
|
236
248
|
let body;
|
|
@@ -592,6 +604,19 @@ export const de_GetDashboardCommand = async (output, context) => {
|
|
|
592
604
|
};
|
|
593
605
|
return response;
|
|
594
606
|
};
|
|
607
|
+
export const de_GetEventConfigurationCommand = async (output, context) => {
|
|
608
|
+
if (output.statusCode >= 300) {
|
|
609
|
+
return de_CommandError(output, context);
|
|
610
|
+
}
|
|
611
|
+
const data = await parseBody(output.body, context);
|
|
612
|
+
let contents = {};
|
|
613
|
+
contents = _json(data);
|
|
614
|
+
const response = {
|
|
615
|
+
$metadata: deserializeMetadata(output),
|
|
616
|
+
...contents,
|
|
617
|
+
};
|
|
618
|
+
return response;
|
|
619
|
+
};
|
|
595
620
|
export const de_GetEventDataStoreCommand = async (output, context) => {
|
|
596
621
|
if (output.statusCode >= 300) {
|
|
597
622
|
return de_CommandError(output, context);
|
|
@@ -839,6 +864,19 @@ export const de_LookupEventsCommand = async (output, context) => {
|
|
|
839
864
|
};
|
|
840
865
|
return response;
|
|
841
866
|
};
|
|
867
|
+
export const de_PutEventConfigurationCommand = async (output, context) => {
|
|
868
|
+
if (output.statusCode >= 300) {
|
|
869
|
+
return de_CommandError(output, context);
|
|
870
|
+
}
|
|
871
|
+
const data = await parseBody(output.body, context);
|
|
872
|
+
let contents = {};
|
|
873
|
+
contents = _json(data);
|
|
874
|
+
const response = {
|
|
875
|
+
$metadata: deserializeMetadata(output),
|
|
876
|
+
...contents,
|
|
877
|
+
};
|
|
878
|
+
return response;
|
|
879
|
+
};
|
|
842
880
|
export const de_PutEventSelectorsCommand = async (output, context) => {
|
|
843
881
|
if (output.statusCode >= 300) {
|
|
844
882
|
return de_CommandError(output, context);
|
|
@@ -1291,6 +1329,9 @@ const de_CommandError = async (output, context) => {
|
|
|
1291
1329
|
case "GenerateResponseException":
|
|
1292
1330
|
case "com.amazonaws.cloudtrail#GenerateResponseException":
|
|
1293
1331
|
throw await de_GenerateResponseExceptionRes(parsedOutput, context);
|
|
1332
|
+
case "InvalidEventDataStoreStatusException":
|
|
1333
|
+
case "com.amazonaws.cloudtrail#InvalidEventDataStoreStatusException":
|
|
1334
|
+
throw await de_InvalidEventDataStoreStatusExceptionRes(parsedOutput, context);
|
|
1294
1335
|
case "ImportNotFoundException":
|
|
1295
1336
|
case "com.amazonaws.cloudtrail#ImportNotFoundException":
|
|
1296
1337
|
throw await de_ImportNotFoundExceptionRes(parsedOutput, context);
|
|
@@ -1321,6 +1362,9 @@ const de_CommandError = async (output, context) => {
|
|
|
1321
1362
|
case "InvalidLookupAttributesException":
|
|
1322
1363
|
case "com.amazonaws.cloudtrail#InvalidLookupAttributesException":
|
|
1323
1364
|
throw await de_InvalidLookupAttributesExceptionRes(parsedOutput, context);
|
|
1365
|
+
case "InsufficientIAMAccessPermissionException":
|
|
1366
|
+
case "com.amazonaws.cloudtrail#InsufficientIAMAccessPermissionException":
|
|
1367
|
+
throw await de_InsufficientIAMAccessPermissionExceptionRes(parsedOutput, context);
|
|
1324
1368
|
case "InvalidInsightSelectorsException":
|
|
1325
1369
|
case "com.amazonaws.cloudtrail#InvalidInsightSelectorsException":
|
|
1326
1370
|
throw await de_InvalidInsightSelectorsExceptionRes(parsedOutput, context);
|
|
@@ -1336,9 +1380,6 @@ const de_CommandError = async (output, context) => {
|
|
|
1336
1380
|
case "DelegatedAdminAccountLimitExceededException":
|
|
1337
1381
|
case "com.amazonaws.cloudtrail#DelegatedAdminAccountLimitExceededException":
|
|
1338
1382
|
throw await de_DelegatedAdminAccountLimitExceededExceptionRes(parsedOutput, context);
|
|
1339
|
-
case "InvalidEventDataStoreStatusException":
|
|
1340
|
-
case "com.amazonaws.cloudtrail#InvalidEventDataStoreStatusException":
|
|
1341
|
-
throw await de_InvalidEventDataStoreStatusExceptionRes(parsedOutput, context);
|
|
1342
1383
|
case "AccountHasOngoingImportException":
|
|
1343
1384
|
case "com.amazonaws.cloudtrail#AccountHasOngoingImportException":
|
|
1344
1385
|
throw await de_AccountHasOngoingImportExceptionRes(parsedOutput, context);
|
|
@@ -1645,6 +1686,15 @@ const de_InsufficientEncryptionPolicyExceptionRes = async (parsedOutput, context
|
|
|
1645
1686
|
});
|
|
1646
1687
|
return __decorateServiceException(exception, body);
|
|
1647
1688
|
};
|
|
1689
|
+
const de_InsufficientIAMAccessPermissionExceptionRes = async (parsedOutput, context) => {
|
|
1690
|
+
const body = parsedOutput.body;
|
|
1691
|
+
const deserialized = _json(body);
|
|
1692
|
+
const exception = new InsufficientIAMAccessPermissionException({
|
|
1693
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1694
|
+
...deserialized,
|
|
1695
|
+
});
|
|
1696
|
+
return __decorateServiceException(exception, body);
|
|
1697
|
+
};
|
|
1648
1698
|
const de_InsufficientS3BucketPolicyExceptionRes = async (parsedOutput, context) => {
|
|
1649
1699
|
const body = parsedOutput.body;
|
|
1650
1700
|
const deserialized = _json(body);
|
|
@@ -19,6 +19,7 @@ import { EnableFederationCommandInput, EnableFederationCommandOutput } from "./c
|
|
|
19
19
|
import { GenerateQueryCommandInput, GenerateQueryCommandOutput } from "./commands/GenerateQueryCommand";
|
|
20
20
|
import { GetChannelCommandInput, GetChannelCommandOutput } from "./commands/GetChannelCommand";
|
|
21
21
|
import { GetDashboardCommandInput, GetDashboardCommandOutput } from "./commands/GetDashboardCommand";
|
|
22
|
+
import { GetEventConfigurationCommandInput, GetEventConfigurationCommandOutput } from "./commands/GetEventConfigurationCommand";
|
|
22
23
|
import { GetEventDataStoreCommandInput, GetEventDataStoreCommandOutput } from "./commands/GetEventDataStoreCommand";
|
|
23
24
|
import { GetEventSelectorsCommandInput, GetEventSelectorsCommandOutput } from "./commands/GetEventSelectorsCommand";
|
|
24
25
|
import { GetImportCommandInput, GetImportCommandOutput } from "./commands/GetImportCommand";
|
|
@@ -38,6 +39,7 @@ import { ListQueriesCommandInput, ListQueriesCommandOutput } from "./commands/Li
|
|
|
38
39
|
import { ListTagsCommandInput, ListTagsCommandOutput } from "./commands/ListTagsCommand";
|
|
39
40
|
import { ListTrailsCommandInput, ListTrailsCommandOutput } from "./commands/ListTrailsCommand";
|
|
40
41
|
import { LookupEventsCommandInput, LookupEventsCommandOutput } from "./commands/LookupEventsCommand";
|
|
42
|
+
import { PutEventConfigurationCommandInput, PutEventConfigurationCommandOutput } from "./commands/PutEventConfigurationCommand";
|
|
41
43
|
import { PutEventSelectorsCommandInput, PutEventSelectorsCommandOutput } from "./commands/PutEventSelectorsCommand";
|
|
42
44
|
import { PutInsightSelectorsCommandInput, PutInsightSelectorsCommandOutput } from "./commands/PutInsightSelectorsCommand";
|
|
43
45
|
import { PutResourcePolicyCommandInput, PutResourcePolicyCommandOutput } from "./commands/PutResourcePolicyCommand";
|
|
@@ -174,6 +176,13 @@ export interface CloudTrail {
|
|
|
174
176
|
getDashboard(args: GetDashboardCommandInput, options?: __HttpHandlerOptions): Promise<GetDashboardCommandOutput>;
|
|
175
177
|
getDashboard(args: GetDashboardCommandInput, cb: (err: any, data?: GetDashboardCommandOutput) => void): void;
|
|
176
178
|
getDashboard(args: GetDashboardCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetDashboardCommandOutput) => void): void;
|
|
179
|
+
/**
|
|
180
|
+
* @see {@link GetEventConfigurationCommand}
|
|
181
|
+
*/
|
|
182
|
+
getEventConfiguration(): Promise<GetEventConfigurationCommandOutput>;
|
|
183
|
+
getEventConfiguration(args: GetEventConfigurationCommandInput, options?: __HttpHandlerOptions): Promise<GetEventConfigurationCommandOutput>;
|
|
184
|
+
getEventConfiguration(args: GetEventConfigurationCommandInput, cb: (err: any, data?: GetEventConfigurationCommandOutput) => void): void;
|
|
185
|
+
getEventConfiguration(args: GetEventConfigurationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetEventConfigurationCommandOutput) => void): void;
|
|
177
186
|
/**
|
|
178
187
|
* @see {@link GetEventDataStoreCommand}
|
|
179
188
|
*/
|
|
@@ -296,6 +305,12 @@ export interface CloudTrail {
|
|
|
296
305
|
lookupEvents(args: LookupEventsCommandInput, options?: __HttpHandlerOptions): Promise<LookupEventsCommandOutput>;
|
|
297
306
|
lookupEvents(args: LookupEventsCommandInput, cb: (err: any, data?: LookupEventsCommandOutput) => void): void;
|
|
298
307
|
lookupEvents(args: LookupEventsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: LookupEventsCommandOutput) => void): void;
|
|
308
|
+
/**
|
|
309
|
+
* @see {@link PutEventConfigurationCommand}
|
|
310
|
+
*/
|
|
311
|
+
putEventConfiguration(args: PutEventConfigurationCommandInput, options?: __HttpHandlerOptions): Promise<PutEventConfigurationCommandOutput>;
|
|
312
|
+
putEventConfiguration(args: PutEventConfigurationCommandInput, cb: (err: any, data?: PutEventConfigurationCommandOutput) => void): void;
|
|
313
|
+
putEventConfiguration(args: PutEventConfigurationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutEventConfigurationCommandOutput) => void): void;
|
|
299
314
|
/**
|
|
300
315
|
* @see {@link PutEventSelectorsCommand}
|
|
301
316
|
*/
|
|
@@ -26,6 +26,7 @@ import { EnableFederationCommandInput, EnableFederationCommandOutput } from "./c
|
|
|
26
26
|
import { GenerateQueryCommandInput, GenerateQueryCommandOutput } from "./commands/GenerateQueryCommand";
|
|
27
27
|
import { GetChannelCommandInput, GetChannelCommandOutput } from "./commands/GetChannelCommand";
|
|
28
28
|
import { GetDashboardCommandInput, GetDashboardCommandOutput } from "./commands/GetDashboardCommand";
|
|
29
|
+
import { GetEventConfigurationCommandInput, GetEventConfigurationCommandOutput } from "./commands/GetEventConfigurationCommand";
|
|
29
30
|
import { GetEventDataStoreCommandInput, GetEventDataStoreCommandOutput } from "./commands/GetEventDataStoreCommand";
|
|
30
31
|
import { GetEventSelectorsCommandInput, GetEventSelectorsCommandOutput } from "./commands/GetEventSelectorsCommand";
|
|
31
32
|
import { GetImportCommandInput, GetImportCommandOutput } from "./commands/GetImportCommand";
|
|
@@ -45,6 +46,7 @@ import { ListQueriesCommandInput, ListQueriesCommandOutput } from "./commands/Li
|
|
|
45
46
|
import { ListTagsCommandInput, ListTagsCommandOutput } from "./commands/ListTagsCommand";
|
|
46
47
|
import { ListTrailsCommandInput, ListTrailsCommandOutput } from "./commands/ListTrailsCommand";
|
|
47
48
|
import { LookupEventsCommandInput, LookupEventsCommandOutput } from "./commands/LookupEventsCommand";
|
|
49
|
+
import { PutEventConfigurationCommandInput, PutEventConfigurationCommandOutput } from "./commands/PutEventConfigurationCommand";
|
|
48
50
|
import { PutEventSelectorsCommandInput, PutEventSelectorsCommandOutput } from "./commands/PutEventSelectorsCommand";
|
|
49
51
|
import { PutInsightSelectorsCommandInput, PutInsightSelectorsCommandOutput } from "./commands/PutInsightSelectorsCommand";
|
|
50
52
|
import { PutResourcePolicyCommandInput, PutResourcePolicyCommandOutput } from "./commands/PutResourcePolicyCommand";
|
|
@@ -70,11 +72,11 @@ export { __Client };
|
|
|
70
72
|
/**
|
|
71
73
|
* @public
|
|
72
74
|
*/
|
|
73
|
-
export type ServiceInputTypes = AddTagsCommandInput | CancelQueryCommandInput | CreateChannelCommandInput | CreateDashboardCommandInput | CreateEventDataStoreCommandInput | CreateTrailCommandInput | DeleteChannelCommandInput | DeleteDashboardCommandInput | DeleteEventDataStoreCommandInput | DeleteResourcePolicyCommandInput | DeleteTrailCommandInput | DeregisterOrganizationDelegatedAdminCommandInput | DescribeQueryCommandInput | DescribeTrailsCommandInput | DisableFederationCommandInput | EnableFederationCommandInput | GenerateQueryCommandInput | GetChannelCommandInput | GetDashboardCommandInput | GetEventDataStoreCommandInput | GetEventSelectorsCommandInput | GetImportCommandInput | GetInsightSelectorsCommandInput | GetQueryResultsCommandInput | GetResourcePolicyCommandInput | GetTrailCommandInput | GetTrailStatusCommandInput | ListChannelsCommandInput | ListDashboardsCommandInput | ListEventDataStoresCommandInput | ListImportFailuresCommandInput | ListImportsCommandInput | ListInsightsMetricDataCommandInput | ListPublicKeysCommandInput | ListQueriesCommandInput | ListTagsCommandInput | ListTrailsCommandInput | LookupEventsCommandInput | PutEventSelectorsCommandInput | PutInsightSelectorsCommandInput | PutResourcePolicyCommandInput | RegisterOrganizationDelegatedAdminCommandInput | RemoveTagsCommandInput | RestoreEventDataStoreCommandInput | SearchSampleQueriesCommandInput | StartDashboardRefreshCommandInput | StartEventDataStoreIngestionCommandInput | StartImportCommandInput | StartLoggingCommandInput | StartQueryCommandInput | StopEventDataStoreIngestionCommandInput | StopImportCommandInput | StopLoggingCommandInput | UpdateChannelCommandInput | UpdateDashboardCommandInput | UpdateEventDataStoreCommandInput | UpdateTrailCommandInput;
|
|
75
|
+
export type ServiceInputTypes = AddTagsCommandInput | CancelQueryCommandInput | CreateChannelCommandInput | CreateDashboardCommandInput | CreateEventDataStoreCommandInput | CreateTrailCommandInput | DeleteChannelCommandInput | DeleteDashboardCommandInput | DeleteEventDataStoreCommandInput | DeleteResourcePolicyCommandInput | DeleteTrailCommandInput | DeregisterOrganizationDelegatedAdminCommandInput | DescribeQueryCommandInput | DescribeTrailsCommandInput | DisableFederationCommandInput | EnableFederationCommandInput | GenerateQueryCommandInput | GetChannelCommandInput | GetDashboardCommandInput | GetEventConfigurationCommandInput | GetEventDataStoreCommandInput | GetEventSelectorsCommandInput | GetImportCommandInput | GetInsightSelectorsCommandInput | GetQueryResultsCommandInput | GetResourcePolicyCommandInput | GetTrailCommandInput | GetTrailStatusCommandInput | ListChannelsCommandInput | ListDashboardsCommandInput | ListEventDataStoresCommandInput | ListImportFailuresCommandInput | ListImportsCommandInput | ListInsightsMetricDataCommandInput | ListPublicKeysCommandInput | ListQueriesCommandInput | ListTagsCommandInput | ListTrailsCommandInput | LookupEventsCommandInput | PutEventConfigurationCommandInput | PutEventSelectorsCommandInput | PutInsightSelectorsCommandInput | PutResourcePolicyCommandInput | RegisterOrganizationDelegatedAdminCommandInput | RemoveTagsCommandInput | RestoreEventDataStoreCommandInput | SearchSampleQueriesCommandInput | StartDashboardRefreshCommandInput | StartEventDataStoreIngestionCommandInput | StartImportCommandInput | StartLoggingCommandInput | StartQueryCommandInput | StopEventDataStoreIngestionCommandInput | StopImportCommandInput | StopLoggingCommandInput | UpdateChannelCommandInput | UpdateDashboardCommandInput | UpdateEventDataStoreCommandInput | UpdateTrailCommandInput;
|
|
74
76
|
/**
|
|
75
77
|
* @public
|
|
76
78
|
*/
|
|
77
|
-
export type ServiceOutputTypes = AddTagsCommandOutput | CancelQueryCommandOutput | CreateChannelCommandOutput | CreateDashboardCommandOutput | CreateEventDataStoreCommandOutput | CreateTrailCommandOutput | DeleteChannelCommandOutput | DeleteDashboardCommandOutput | DeleteEventDataStoreCommandOutput | DeleteResourcePolicyCommandOutput | DeleteTrailCommandOutput | DeregisterOrganizationDelegatedAdminCommandOutput | DescribeQueryCommandOutput | DescribeTrailsCommandOutput | DisableFederationCommandOutput | EnableFederationCommandOutput | GenerateQueryCommandOutput | GetChannelCommandOutput | GetDashboardCommandOutput | GetEventDataStoreCommandOutput | GetEventSelectorsCommandOutput | GetImportCommandOutput | GetInsightSelectorsCommandOutput | GetQueryResultsCommandOutput | GetResourcePolicyCommandOutput | GetTrailCommandOutput | GetTrailStatusCommandOutput | ListChannelsCommandOutput | ListDashboardsCommandOutput | ListEventDataStoresCommandOutput | ListImportFailuresCommandOutput | ListImportsCommandOutput | ListInsightsMetricDataCommandOutput | ListPublicKeysCommandOutput | ListQueriesCommandOutput | ListTagsCommandOutput | ListTrailsCommandOutput | LookupEventsCommandOutput | PutEventSelectorsCommandOutput | PutInsightSelectorsCommandOutput | PutResourcePolicyCommandOutput | RegisterOrganizationDelegatedAdminCommandOutput | RemoveTagsCommandOutput | RestoreEventDataStoreCommandOutput | SearchSampleQueriesCommandOutput | StartDashboardRefreshCommandOutput | StartEventDataStoreIngestionCommandOutput | StartImportCommandOutput | StartLoggingCommandOutput | StartQueryCommandOutput | StopEventDataStoreIngestionCommandOutput | StopImportCommandOutput | StopLoggingCommandOutput | UpdateChannelCommandOutput | UpdateDashboardCommandOutput | UpdateEventDataStoreCommandOutput | UpdateTrailCommandOutput;
|
|
79
|
+
export type ServiceOutputTypes = AddTagsCommandOutput | CancelQueryCommandOutput | CreateChannelCommandOutput | CreateDashboardCommandOutput | CreateEventDataStoreCommandOutput | CreateTrailCommandOutput | DeleteChannelCommandOutput | DeleteDashboardCommandOutput | DeleteEventDataStoreCommandOutput | DeleteResourcePolicyCommandOutput | DeleteTrailCommandOutput | DeregisterOrganizationDelegatedAdminCommandOutput | DescribeQueryCommandOutput | DescribeTrailsCommandOutput | DisableFederationCommandOutput | EnableFederationCommandOutput | GenerateQueryCommandOutput | GetChannelCommandOutput | GetDashboardCommandOutput | GetEventConfigurationCommandOutput | GetEventDataStoreCommandOutput | GetEventSelectorsCommandOutput | GetImportCommandOutput | GetInsightSelectorsCommandOutput | GetQueryResultsCommandOutput | GetResourcePolicyCommandOutput | GetTrailCommandOutput | GetTrailStatusCommandOutput | ListChannelsCommandOutput | ListDashboardsCommandOutput | ListEventDataStoresCommandOutput | ListImportFailuresCommandOutput | ListImportsCommandOutput | ListInsightsMetricDataCommandOutput | ListPublicKeysCommandOutput | ListQueriesCommandOutput | ListTagsCommandOutput | ListTrailsCommandOutput | LookupEventsCommandOutput | PutEventConfigurationCommandOutput | PutEventSelectorsCommandOutput | PutInsightSelectorsCommandOutput | PutResourcePolicyCommandOutput | RegisterOrganizationDelegatedAdminCommandOutput | RemoveTagsCommandOutput | RestoreEventDataStoreCommandOutput | SearchSampleQueriesCommandOutput | StartDashboardRefreshCommandOutput | StartEventDataStoreIngestionCommandOutput | StartImportCommandOutput | StartLoggingCommandOutput | StartQueryCommandOutput | StopEventDataStoreIngestionCommandOutput | StopImportCommandOutput | StopLoggingCommandOutput | UpdateChannelCommandOutput | UpdateDashboardCommandOutput | UpdateEventDataStoreCommandOutput | UpdateTrailCommandOutput;
|
|
78
80
|
/**
|
|
79
81
|
* @public
|
|
80
82
|
*/
|
|
@@ -0,0 +1,126 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { CloudTrailClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudTrailClient";
|
|
4
|
+
import { GetEventConfigurationRequest, GetEventConfigurationResponse } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link GetEventConfigurationCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface GetEventConfigurationCommandInput extends GetEventConfigurationRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link GetEventConfigurationCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface GetEventConfigurationCommandOutput extends GetEventConfigurationResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const GetEventConfigurationCommand_base: {
|
|
25
|
+
new (input: GetEventConfigurationCommandInput): import("@smithy/smithy-client").CommandImpl<GetEventConfigurationCommandInput, GetEventConfigurationCommandOutput, CloudTrailClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (...[input]: [] | [GetEventConfigurationCommandInput]): import("@smithy/smithy-client").CommandImpl<GetEventConfigurationCommandInput, GetEventConfigurationCommandOutput, CloudTrailClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Retrieves the current event configuration settings for the specified event data store, including details
|
|
31
|
+
* about maximum event size and context key selectors configured for the event data store.</p>
|
|
32
|
+
* @example
|
|
33
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
34
|
+
* ```javascript
|
|
35
|
+
* import { CloudTrailClient, GetEventConfigurationCommand } from "@aws-sdk/client-cloudtrail"; // ES Modules import
|
|
36
|
+
* // const { CloudTrailClient, GetEventConfigurationCommand } = require("@aws-sdk/client-cloudtrail"); // CommonJS import
|
|
37
|
+
* const client = new CloudTrailClient(config);
|
|
38
|
+
* const input = { // GetEventConfigurationRequest
|
|
39
|
+
* EventDataStore: "STRING_VALUE",
|
|
40
|
+
* };
|
|
41
|
+
* const command = new GetEventConfigurationCommand(input);
|
|
42
|
+
* const response = await client.send(command);
|
|
43
|
+
* // { // GetEventConfigurationResponse
|
|
44
|
+
* // EventDataStoreArn: "STRING_VALUE",
|
|
45
|
+
* // MaxEventSize: "Standard" || "Large",
|
|
46
|
+
* // ContextKeySelectors: [ // ContextKeySelectors
|
|
47
|
+
* // { // ContextKeySelector
|
|
48
|
+
* // Type: "TagContext" || "RequestContext", // required
|
|
49
|
+
* // Equals: [ // OperatorTargetList // required
|
|
50
|
+
* // "STRING_VALUE",
|
|
51
|
+
* // ],
|
|
52
|
+
* // },
|
|
53
|
+
* // ],
|
|
54
|
+
* // };
|
|
55
|
+
*
|
|
56
|
+
* ```
|
|
57
|
+
*
|
|
58
|
+
* @param GetEventConfigurationCommandInput - {@link GetEventConfigurationCommandInput}
|
|
59
|
+
* @returns {@link GetEventConfigurationCommandOutput}
|
|
60
|
+
* @see {@link GetEventConfigurationCommandInput} for command's `input` shape.
|
|
61
|
+
* @see {@link GetEventConfigurationCommandOutput} for command's `response` shape.
|
|
62
|
+
* @see {@link CloudTrailClientResolvedConfig | config} for CloudTrailClient's `config` shape.
|
|
63
|
+
*
|
|
64
|
+
* @throws {@link CloudTrailARNInvalidException} (client fault)
|
|
65
|
+
* <p>This exception is thrown when an operation is called with an ARN that is not valid.</p>
|
|
66
|
+
* <p>The following is the format of a trail ARN: <code>arn:aws:cloudtrail:us-east-2:123456789012:trail/MyTrail</code>
|
|
67
|
+
* </p>
|
|
68
|
+
* <p>The following is the format of an event data store ARN:
|
|
69
|
+
* <code>arn:aws:cloudtrail:us-east-2:123456789012:eventdatastore/EXAMPLE-f852-4e8f-8bd1-bcf6cEXAMPLE</code>
|
|
70
|
+
* </p>
|
|
71
|
+
* <p>The following is the format of a dashboard ARN: <code>arn:aws:cloudtrail:us-east-1:123456789012:dashboard/exampleDash</code>
|
|
72
|
+
* </p>
|
|
73
|
+
* <p>The following is the format of a channel ARN:
|
|
74
|
+
* <code>arn:aws:cloudtrail:us-east-2:123456789012:channel/01234567890</code>
|
|
75
|
+
* </p>
|
|
76
|
+
*
|
|
77
|
+
* @throws {@link EventDataStoreARNInvalidException} (client fault)
|
|
78
|
+
* <p>The specified event data store ARN is not valid or does not map to an event data store
|
|
79
|
+
* in your account.</p>
|
|
80
|
+
*
|
|
81
|
+
* @throws {@link EventDataStoreNotFoundException} (client fault)
|
|
82
|
+
* <p>The specified event data store was not found.</p>
|
|
83
|
+
*
|
|
84
|
+
* @throws {@link InvalidEventDataStoreCategoryException} (client fault)
|
|
85
|
+
* <p>This exception is thrown when event categories of specified event data stores are not
|
|
86
|
+
* valid.</p>
|
|
87
|
+
*
|
|
88
|
+
* @throws {@link InvalidEventDataStoreStatusException} (client fault)
|
|
89
|
+
* <p>The event data store is not in a status that supports the operation.</p>
|
|
90
|
+
*
|
|
91
|
+
* @throws {@link InvalidParameterCombinationException} (client fault)
|
|
92
|
+
* <p>This exception is thrown when the combination of parameters provided is not
|
|
93
|
+
* valid.</p>
|
|
94
|
+
*
|
|
95
|
+
* @throws {@link InvalidParameterException} (client fault)
|
|
96
|
+
* <p>The request includes a parameter that is not valid.</p>
|
|
97
|
+
*
|
|
98
|
+
* @throws {@link NoManagementAccountSLRExistsException} (client fault)
|
|
99
|
+
* <p> This exception is thrown when the management account does not have a service-linked
|
|
100
|
+
* role. </p>
|
|
101
|
+
*
|
|
102
|
+
* @throws {@link OperationNotPermittedException} (client fault)
|
|
103
|
+
* <p>This exception is thrown when the requested operation is not permitted.</p>
|
|
104
|
+
*
|
|
105
|
+
* @throws {@link UnsupportedOperationException} (client fault)
|
|
106
|
+
* <p>This exception is thrown when the requested operation is not supported.</p>
|
|
107
|
+
*
|
|
108
|
+
* @throws {@link CloudTrailServiceException}
|
|
109
|
+
* <p>Base exception class for all service exceptions from CloudTrail service.</p>
|
|
110
|
+
*
|
|
111
|
+
*
|
|
112
|
+
* @public
|
|
113
|
+
*/
|
|
114
|
+
export declare class GetEventConfigurationCommand extends GetEventConfigurationCommand_base {
|
|
115
|
+
/** @internal type navigation helper, not in runtime. */
|
|
116
|
+
protected static __types: {
|
|
117
|
+
api: {
|
|
118
|
+
input: GetEventConfigurationRequest;
|
|
119
|
+
output: GetEventConfigurationResponse;
|
|
120
|
+
};
|
|
121
|
+
sdk: {
|
|
122
|
+
input: GetEventConfigurationCommandInput;
|
|
123
|
+
output: GetEventConfigurationCommandOutput;
|
|
124
|
+
};
|
|
125
|
+
};
|
|
126
|
+
}
|
|
@@ -0,0 +1,161 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { CloudTrailClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudTrailClient";
|
|
4
|
+
import { PutEventConfigurationRequest, PutEventConfigurationResponse } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link PutEventConfigurationCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface PutEventConfigurationCommandInput extends PutEventConfigurationRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link PutEventConfigurationCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface PutEventConfigurationCommandOutput extends PutEventConfigurationResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const PutEventConfigurationCommand_base: {
|
|
25
|
+
new (input: PutEventConfigurationCommandInput): import("@smithy/smithy-client").CommandImpl<PutEventConfigurationCommandInput, PutEventConfigurationCommandOutput, CloudTrailClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: PutEventConfigurationCommandInput): import("@smithy/smithy-client").CommandImpl<PutEventConfigurationCommandInput, PutEventConfigurationCommandOutput, CloudTrailClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Updates the event configuration settings for the specified event data store. You can update the maximum event size and context key selectors.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { CloudTrailClient, PutEventConfigurationCommand } from "@aws-sdk/client-cloudtrail"; // ES Modules import
|
|
35
|
+
* // const { CloudTrailClient, PutEventConfigurationCommand } = require("@aws-sdk/client-cloudtrail"); // CommonJS import
|
|
36
|
+
* const client = new CloudTrailClient(config);
|
|
37
|
+
* const input = { // PutEventConfigurationRequest
|
|
38
|
+
* EventDataStore: "STRING_VALUE",
|
|
39
|
+
* MaxEventSize: "Standard" || "Large", // required
|
|
40
|
+
* ContextKeySelectors: [ // ContextKeySelectors // required
|
|
41
|
+
* { // ContextKeySelector
|
|
42
|
+
* Type: "TagContext" || "RequestContext", // required
|
|
43
|
+
* Equals: [ // OperatorTargetList // required
|
|
44
|
+
* "STRING_VALUE",
|
|
45
|
+
* ],
|
|
46
|
+
* },
|
|
47
|
+
* ],
|
|
48
|
+
* };
|
|
49
|
+
* const command = new PutEventConfigurationCommand(input);
|
|
50
|
+
* const response = await client.send(command);
|
|
51
|
+
* // { // PutEventConfigurationResponse
|
|
52
|
+
* // EventDataStoreArn: "STRING_VALUE",
|
|
53
|
+
* // MaxEventSize: "Standard" || "Large",
|
|
54
|
+
* // ContextKeySelectors: [ // ContextKeySelectors
|
|
55
|
+
* // { // ContextKeySelector
|
|
56
|
+
* // Type: "TagContext" || "RequestContext", // required
|
|
57
|
+
* // Equals: [ // OperatorTargetList // required
|
|
58
|
+
* // "STRING_VALUE",
|
|
59
|
+
* // ],
|
|
60
|
+
* // },
|
|
61
|
+
* // ],
|
|
62
|
+
* // };
|
|
63
|
+
*
|
|
64
|
+
* ```
|
|
65
|
+
*
|
|
66
|
+
* @param PutEventConfigurationCommandInput - {@link PutEventConfigurationCommandInput}
|
|
67
|
+
* @returns {@link PutEventConfigurationCommandOutput}
|
|
68
|
+
* @see {@link PutEventConfigurationCommandInput} for command's `input` shape.
|
|
69
|
+
* @see {@link PutEventConfigurationCommandOutput} for command's `response` shape.
|
|
70
|
+
* @see {@link CloudTrailClientResolvedConfig | config} for CloudTrailClient's `config` shape.
|
|
71
|
+
*
|
|
72
|
+
* @throws {@link CloudTrailARNInvalidException} (client fault)
|
|
73
|
+
* <p>This exception is thrown when an operation is called with an ARN that is not valid.</p>
|
|
74
|
+
* <p>The following is the format of a trail ARN: <code>arn:aws:cloudtrail:us-east-2:123456789012:trail/MyTrail</code>
|
|
75
|
+
* </p>
|
|
76
|
+
* <p>The following is the format of an event data store ARN:
|
|
77
|
+
* <code>arn:aws:cloudtrail:us-east-2:123456789012:eventdatastore/EXAMPLE-f852-4e8f-8bd1-bcf6cEXAMPLE</code>
|
|
78
|
+
* </p>
|
|
79
|
+
* <p>The following is the format of a dashboard ARN: <code>arn:aws:cloudtrail:us-east-1:123456789012:dashboard/exampleDash</code>
|
|
80
|
+
* </p>
|
|
81
|
+
* <p>The following is the format of a channel ARN:
|
|
82
|
+
* <code>arn:aws:cloudtrail:us-east-2:123456789012:channel/01234567890</code>
|
|
83
|
+
* </p>
|
|
84
|
+
*
|
|
85
|
+
* @throws {@link ConflictException} (client fault)
|
|
86
|
+
* <p>This exception is thrown when the specified resource is not ready for an operation. This
|
|
87
|
+
* can occur when you try to run an operation on a resource before CloudTrail has time
|
|
88
|
+
* to fully load the resource, or because another operation is modifying the resource. If this exception occurs, wait a few minutes, and then try the
|
|
89
|
+
* operation again.</p>
|
|
90
|
+
*
|
|
91
|
+
* @throws {@link EventDataStoreARNInvalidException} (client fault)
|
|
92
|
+
* <p>The specified event data store ARN is not valid or does not map to an event data store
|
|
93
|
+
* in your account.</p>
|
|
94
|
+
*
|
|
95
|
+
* @throws {@link EventDataStoreNotFoundException} (client fault)
|
|
96
|
+
* <p>The specified event data store was not found.</p>
|
|
97
|
+
*
|
|
98
|
+
* @throws {@link InactiveEventDataStoreException} (client fault)
|
|
99
|
+
* <p>The event data store is inactive.</p>
|
|
100
|
+
*
|
|
101
|
+
* @throws {@link InsufficientDependencyServiceAccessPermissionException} (client fault)
|
|
102
|
+
* <p>This exception is thrown when the IAM identity that is used to create
|
|
103
|
+
* the organization resource lacks one or more required permissions for creating an
|
|
104
|
+
* organization resource in a required service.</p>
|
|
105
|
+
*
|
|
106
|
+
* @throws {@link InsufficientIAMAccessPermissionException} (client fault)
|
|
107
|
+
* <p>The task can't be completed because you are signed in with an account that lacks permissions to view or create a service-linked role. Sign in with an account that has the required permissions and then try again.</p>
|
|
108
|
+
*
|
|
109
|
+
* @throws {@link InvalidEventDataStoreCategoryException} (client fault)
|
|
110
|
+
* <p>This exception is thrown when event categories of specified event data stores are not
|
|
111
|
+
* valid.</p>
|
|
112
|
+
*
|
|
113
|
+
* @throws {@link InvalidEventDataStoreStatusException} (client fault)
|
|
114
|
+
* <p>The event data store is not in a status that supports the operation.</p>
|
|
115
|
+
*
|
|
116
|
+
* @throws {@link InvalidParameterCombinationException} (client fault)
|
|
117
|
+
* <p>This exception is thrown when the combination of parameters provided is not
|
|
118
|
+
* valid.</p>
|
|
119
|
+
*
|
|
120
|
+
* @throws {@link InvalidParameterException} (client fault)
|
|
121
|
+
* <p>The request includes a parameter that is not valid.</p>
|
|
122
|
+
*
|
|
123
|
+
* @throws {@link NoManagementAccountSLRExistsException} (client fault)
|
|
124
|
+
* <p> This exception is thrown when the management account does not have a service-linked
|
|
125
|
+
* role. </p>
|
|
126
|
+
*
|
|
127
|
+
* @throws {@link NotOrganizationMasterAccountException} (client fault)
|
|
128
|
+
* <p>This exception is thrown when the Amazon Web Services account making the request to
|
|
129
|
+
* create or update an organization trail or event data store is not the management account
|
|
130
|
+
* 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/cloudtrail-lake-organizations.html">Organization event data stores</a>.</p>
|
|
131
|
+
*
|
|
132
|
+
* @throws {@link OperationNotPermittedException} (client fault)
|
|
133
|
+
* <p>This exception is thrown when the requested operation is not permitted.</p>
|
|
134
|
+
*
|
|
135
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
136
|
+
* <p>
|
|
137
|
+
* This exception is thrown when the request rate exceeds the limit.
|
|
138
|
+
* </p>
|
|
139
|
+
*
|
|
140
|
+
* @throws {@link UnsupportedOperationException} (client fault)
|
|
141
|
+
* <p>This exception is thrown when the requested operation is not supported.</p>
|
|
142
|
+
*
|
|
143
|
+
* @throws {@link CloudTrailServiceException}
|
|
144
|
+
* <p>Base exception class for all service exceptions from CloudTrail service.</p>
|
|
145
|
+
*
|
|
146
|
+
*
|
|
147
|
+
* @public
|
|
148
|
+
*/
|
|
149
|
+
export declare class PutEventConfigurationCommand extends PutEventConfigurationCommand_base {
|
|
150
|
+
/** @internal type navigation helper, not in runtime. */
|
|
151
|
+
protected static __types: {
|
|
152
|
+
api: {
|
|
153
|
+
input: PutEventConfigurationRequest;
|
|
154
|
+
output: PutEventConfigurationResponse;
|
|
155
|
+
};
|
|
156
|
+
sdk: {
|
|
157
|
+
input: PutEventConfigurationCommandInput;
|
|
158
|
+
output: PutEventConfigurationCommandOutput;
|
|
159
|
+
};
|
|
160
|
+
};
|
|
161
|
+
}
|
|
@@ -79,6 +79,9 @@ declare const RegisterOrganizationDelegatedAdminCommand_base: {
|
|
|
79
79
|
* the organization resource lacks one or more required permissions for creating an
|
|
80
80
|
* organization resource in a required service.</p>
|
|
81
81
|
*
|
|
82
|
+
* @throws {@link InsufficientIAMAccessPermissionException} (client fault)
|
|
83
|
+
* <p>The task can't be completed because you are signed in with an account that lacks permissions to view or create a service-linked role. Sign in with an account that has the required permissions and then try again.</p>
|
|
84
|
+
*
|
|
82
85
|
* @throws {@link InvalidParameterException} (client fault)
|
|
83
86
|
* <p>The request includes a parameter that is not valid.</p>
|
|
84
87
|
*
|
|
@@ -50,6 +50,12 @@ declare const StartEventDataStoreIngestionCommand_base: {
|
|
|
50
50
|
* @see {@link StartEventDataStoreIngestionCommandOutput} for command's `response` shape.
|
|
51
51
|
* @see {@link CloudTrailClientResolvedConfig | config} for CloudTrailClient's `config` shape.
|
|
52
52
|
*
|
|
53
|
+
* @throws {@link ConflictException} (client fault)
|
|
54
|
+
* <p>This exception is thrown when the specified resource is not ready for an operation. This
|
|
55
|
+
* can occur when you try to run an operation on a resource before CloudTrail has time
|
|
56
|
+
* to fully load the resource, or because another operation is modifying the resource. If this exception occurs, wait a few minutes, and then try the
|
|
57
|
+
* operation again.</p>
|
|
58
|
+
*
|
|
53
59
|
* @throws {@link EventDataStoreARNInvalidException} (client fault)
|
|
54
60
|
* <p>The specified event data store ARN is not valid or does not map to an event data store
|
|
55
61
|
* in your account.</p>
|
|
@@ -50,6 +50,12 @@ declare const StopEventDataStoreIngestionCommand_base: {
|
|
|
50
50
|
* @see {@link StopEventDataStoreIngestionCommandOutput} for command's `response` shape.
|
|
51
51
|
* @see {@link CloudTrailClientResolvedConfig | config} for CloudTrailClient's `config` shape.
|
|
52
52
|
*
|
|
53
|
+
* @throws {@link ConflictException} (client fault)
|
|
54
|
+
* <p>This exception is thrown when the specified resource is not ready for an operation. This
|
|
55
|
+
* can occur when you try to run an operation on a resource before CloudTrail has time
|
|
56
|
+
* to fully load the resource, or because another operation is modifying the resource. If this exception occurs, wait a few minutes, and then try the
|
|
57
|
+
* operation again.</p>
|
|
58
|
+
*
|
|
53
59
|
* @throws {@link EventDataStoreARNInvalidException} (client fault)
|
|
54
60
|
* <p>The specified event data store ARN is not valid or does not map to an event data store
|
|
55
61
|
* in your account.</p>
|
|
@@ -17,6 +17,7 @@ export * from "./EnableFederationCommand";
|
|
|
17
17
|
export * from "./GenerateQueryCommand";
|
|
18
18
|
export * from "./GetChannelCommand";
|
|
19
19
|
export * from "./GetDashboardCommand";
|
|
20
|
+
export * from "./GetEventConfigurationCommand";
|
|
20
21
|
export * from "./GetEventDataStoreCommand";
|
|
21
22
|
export * from "./GetEventSelectorsCommand";
|
|
22
23
|
export * from "./GetImportCommand";
|
|
@@ -36,6 +37,7 @@ export * from "./ListQueriesCommand";
|
|
|
36
37
|
export * from "./ListTagsCommand";
|
|
37
38
|
export * from "./ListTrailsCommand";
|
|
38
39
|
export * from "./LookupEventsCommand";
|
|
40
|
+
export * from "./PutEventConfigurationCommand";
|
|
39
41
|
export * from "./PutEventSelectorsCommand";
|
|
40
42
|
export * from "./PutInsightSelectorsCommand";
|
|
41
43
|
export * from "./PutResourcePolicyCommand";
|