@aws-sdk/client-cloudtrail 3.454.0 → 3.458.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 +62 -46
- package/dist-cjs/CloudTrail.js +4 -0
- package/dist-cjs/commands/DisableFederationCommand.js +51 -0
- package/dist-cjs/commands/EnableFederationCommand.js +51 -0
- package/dist-cjs/commands/index.js +2 -0
- package/dist-cjs/models/models_0.js +50 -2
- package/dist-cjs/protocols/Aws_json1_1.js +200 -2
- package/dist-es/CloudTrail.js +4 -0
- package/dist-es/commands/DisableFederationCommand.js +47 -0
- package/dist-es/commands/EnableFederationCommand.js +47 -0
- package/dist-es/commands/index.js +2 -0
- package/dist-es/models/models_0.js +45 -0
- package/dist-es/protocols/Aws_json1_1.js +195 -1
- package/dist-types/CloudTrail.d.ts +14 -0
- package/dist-types/CloudTrailClient.d.ts +4 -2
- package/dist-types/commands/DeleteEventDataStoreCommand.d.ts +15 -2
- package/dist-types/commands/DisableFederationCommand.d.ts +135 -0
- package/dist-types/commands/EnableFederationCommand.d.ts +149 -0
- package/dist-types/commands/GetEventDataStoreCommand.d.ts +2 -0
- package/dist-types/commands/UpdateEventDataStoreCommand.d.ts +2 -0
- package/dist-types/commands/index.d.ts +2 -0
- package/dist-types/models/models_0.d.ts +177 -0
- 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/DisableFederationCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/EnableFederationCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/index.d.ts +2 -0
- package/dist-types/ts3.4/models/models_0.d.ts +58 -0
- package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +24 -0
- package/package.json +3 -3
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { HttpRequest as __HttpRequest } from "@smithy/protocol-http";
|
|
2
2
|
import { _json, collectBody, decorateServiceException as __decorateServiceException, expectBoolean as __expectBoolean, expectInt32 as __expectInt32, expectLong as __expectLong, expectNonNull as __expectNonNull, expectNumber as __expectNumber, expectString as __expectString, parseEpochTimestamp as __parseEpochTimestamp, take, withBaseException, } from "@smithy/smithy-client";
|
|
3
3
|
import { CloudTrailServiceException as __BaseException } from "../models/CloudTrailServiceException";
|
|
4
|
-
import { AccountHasOngoingImportException, AccountNotFoundException, AccountNotRegisteredException, AccountRegisteredException, CannotDelegateManagementAccountException, ChannelAlreadyExistsException, ChannelARNInvalidException, ChannelExistsForEDSException, ChannelMaxLimitExceededException, ChannelNotFoundException, CloudTrailAccessNotEnabledException, CloudTrailARNInvalidException, CloudTrailInvalidClientTokenIdException, CloudWatchLogsDeliveryUnavailableException, ConflictException, DelegatedAdminAccountLimitExceededException, EventDataStoreAlreadyExistsException, EventDataStoreARNInvalidException, EventDataStoreHasOngoingImportException, EventDataStoreMaxLimitExceededException, EventDataStoreNotFoundException, EventDataStoreTerminationProtectedException, 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, TagsLimitExceededException, ThrottlingException, TrailAlreadyExistsException, TrailNotFoundException, TrailNotProvidedException, UnsupportedOperationException, } from "../models/models_0";
|
|
4
|
+
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, 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, TagsLimitExceededException, ThrottlingException, TrailAlreadyExistsException, TrailNotFoundException, TrailNotProvidedException, UnsupportedOperationException, } from "../models/models_0";
|
|
5
5
|
export const se_AddTagsCommand = async (input, context) => {
|
|
6
6
|
const headers = sharedHeaders("AddTags");
|
|
7
7
|
let body;
|
|
@@ -74,6 +74,18 @@ export const se_DescribeTrailsCommand = async (input, context) => {
|
|
|
74
74
|
body = JSON.stringify(_json(input));
|
|
75
75
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
76
76
|
};
|
|
77
|
+
export const se_DisableFederationCommand = async (input, context) => {
|
|
78
|
+
const headers = sharedHeaders("DisableFederation");
|
|
79
|
+
let body;
|
|
80
|
+
body = JSON.stringify(_json(input));
|
|
81
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
82
|
+
};
|
|
83
|
+
export const se_EnableFederationCommand = async (input, context) => {
|
|
84
|
+
const headers = sharedHeaders("EnableFederation");
|
|
85
|
+
let body;
|
|
86
|
+
body = JSON.stringify(_json(input));
|
|
87
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
88
|
+
};
|
|
77
89
|
export const se_GetChannelCommand = async (input, context) => {
|
|
78
90
|
const headers = sharedHeaders("GetChannel");
|
|
79
91
|
let body;
|
|
@@ -751,9 +763,15 @@ const de_DeleteEventDataStoreCommandError = async (output, context) => {
|
|
|
751
763
|
case "ChannelExistsForEDSException":
|
|
752
764
|
case "com.amazonaws.cloudtrail#ChannelExistsForEDSException":
|
|
753
765
|
throw await de_ChannelExistsForEDSExceptionRes(parsedOutput, context);
|
|
766
|
+
case "ConflictException":
|
|
767
|
+
case "com.amazonaws.cloudtrail#ConflictException":
|
|
768
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
754
769
|
case "EventDataStoreARNInvalidException":
|
|
755
770
|
case "com.amazonaws.cloudtrail#EventDataStoreARNInvalidException":
|
|
756
771
|
throw await de_EventDataStoreARNInvalidExceptionRes(parsedOutput, context);
|
|
772
|
+
case "EventDataStoreFederationEnabledException":
|
|
773
|
+
case "com.amazonaws.cloudtrail#EventDataStoreFederationEnabledException":
|
|
774
|
+
throw await de_EventDataStoreFederationEnabledExceptionRes(parsedOutput, context);
|
|
757
775
|
case "EventDataStoreHasOngoingImportException":
|
|
758
776
|
case "com.amazonaws.cloudtrail#EventDataStoreHasOngoingImportException":
|
|
759
777
|
throw await de_EventDataStoreHasOngoingImportExceptionRes(parsedOutput, context);
|
|
@@ -1058,6 +1076,151 @@ const de_DescribeTrailsCommandError = async (output, context) => {
|
|
|
1058
1076
|
});
|
|
1059
1077
|
}
|
|
1060
1078
|
};
|
|
1079
|
+
export const de_DisableFederationCommand = async (output, context) => {
|
|
1080
|
+
if (output.statusCode >= 300) {
|
|
1081
|
+
return de_DisableFederationCommandError(output, context);
|
|
1082
|
+
}
|
|
1083
|
+
const data = await parseBody(output.body, context);
|
|
1084
|
+
let contents = {};
|
|
1085
|
+
contents = _json(data);
|
|
1086
|
+
const response = {
|
|
1087
|
+
$metadata: deserializeMetadata(output),
|
|
1088
|
+
...contents,
|
|
1089
|
+
};
|
|
1090
|
+
return response;
|
|
1091
|
+
};
|
|
1092
|
+
const de_DisableFederationCommandError = async (output, context) => {
|
|
1093
|
+
const parsedOutput = {
|
|
1094
|
+
...output,
|
|
1095
|
+
body: await parseErrorBody(output.body, context),
|
|
1096
|
+
};
|
|
1097
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1098
|
+
switch (errorCode) {
|
|
1099
|
+
case "AccessDeniedException":
|
|
1100
|
+
case "com.amazonaws.cloudtrail#AccessDeniedException":
|
|
1101
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1102
|
+
case "CloudTrailAccessNotEnabledException":
|
|
1103
|
+
case "com.amazonaws.cloudtrail#CloudTrailAccessNotEnabledException":
|
|
1104
|
+
throw await de_CloudTrailAccessNotEnabledExceptionRes(parsedOutput, context);
|
|
1105
|
+
case "ConcurrentModificationException":
|
|
1106
|
+
case "com.amazonaws.cloudtrail#ConcurrentModificationException":
|
|
1107
|
+
throw await de_ConcurrentModificationExceptionRes(parsedOutput, context);
|
|
1108
|
+
case "EventDataStoreARNInvalidException":
|
|
1109
|
+
case "com.amazonaws.cloudtrail#EventDataStoreARNInvalidException":
|
|
1110
|
+
throw await de_EventDataStoreARNInvalidExceptionRes(parsedOutput, context);
|
|
1111
|
+
case "EventDataStoreNotFoundException":
|
|
1112
|
+
case "com.amazonaws.cloudtrail#EventDataStoreNotFoundException":
|
|
1113
|
+
throw await de_EventDataStoreNotFoundExceptionRes(parsedOutput, context);
|
|
1114
|
+
case "InactiveEventDataStoreException":
|
|
1115
|
+
case "com.amazonaws.cloudtrail#InactiveEventDataStoreException":
|
|
1116
|
+
throw await de_InactiveEventDataStoreExceptionRes(parsedOutput, context);
|
|
1117
|
+
case "InsufficientDependencyServiceAccessPermissionException":
|
|
1118
|
+
case "com.amazonaws.cloudtrail#InsufficientDependencyServiceAccessPermissionException":
|
|
1119
|
+
throw await de_InsufficientDependencyServiceAccessPermissionExceptionRes(parsedOutput, context);
|
|
1120
|
+
case "InvalidParameterException":
|
|
1121
|
+
case "com.amazonaws.cloudtrail#InvalidParameterException":
|
|
1122
|
+
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
1123
|
+
case "NoManagementAccountSLRExistsException":
|
|
1124
|
+
case "com.amazonaws.cloudtrail#NoManagementAccountSLRExistsException":
|
|
1125
|
+
throw await de_NoManagementAccountSLRExistsExceptionRes(parsedOutput, context);
|
|
1126
|
+
case "NotOrganizationMasterAccountException":
|
|
1127
|
+
case "com.amazonaws.cloudtrail#NotOrganizationMasterAccountException":
|
|
1128
|
+
throw await de_NotOrganizationMasterAccountExceptionRes(parsedOutput, context);
|
|
1129
|
+
case "OperationNotPermittedException":
|
|
1130
|
+
case "com.amazonaws.cloudtrail#OperationNotPermittedException":
|
|
1131
|
+
throw await de_OperationNotPermittedExceptionRes(parsedOutput, context);
|
|
1132
|
+
case "OrganizationNotInAllFeaturesModeException":
|
|
1133
|
+
case "com.amazonaws.cloudtrail#OrganizationNotInAllFeaturesModeException":
|
|
1134
|
+
throw await de_OrganizationNotInAllFeaturesModeExceptionRes(parsedOutput, context);
|
|
1135
|
+
case "OrganizationsNotInUseException":
|
|
1136
|
+
case "com.amazonaws.cloudtrail#OrganizationsNotInUseException":
|
|
1137
|
+
throw await de_OrganizationsNotInUseExceptionRes(parsedOutput, context);
|
|
1138
|
+
case "UnsupportedOperationException":
|
|
1139
|
+
case "com.amazonaws.cloudtrail#UnsupportedOperationException":
|
|
1140
|
+
throw await de_UnsupportedOperationExceptionRes(parsedOutput, context);
|
|
1141
|
+
default:
|
|
1142
|
+
const parsedBody = parsedOutput.body;
|
|
1143
|
+
return throwDefaultError({
|
|
1144
|
+
output,
|
|
1145
|
+
parsedBody,
|
|
1146
|
+
errorCode,
|
|
1147
|
+
});
|
|
1148
|
+
}
|
|
1149
|
+
};
|
|
1150
|
+
export const de_EnableFederationCommand = async (output, context) => {
|
|
1151
|
+
if (output.statusCode >= 300) {
|
|
1152
|
+
return de_EnableFederationCommandError(output, context);
|
|
1153
|
+
}
|
|
1154
|
+
const data = await parseBody(output.body, context);
|
|
1155
|
+
let contents = {};
|
|
1156
|
+
contents = _json(data);
|
|
1157
|
+
const response = {
|
|
1158
|
+
$metadata: deserializeMetadata(output),
|
|
1159
|
+
...contents,
|
|
1160
|
+
};
|
|
1161
|
+
return response;
|
|
1162
|
+
};
|
|
1163
|
+
const de_EnableFederationCommandError = async (output, context) => {
|
|
1164
|
+
const parsedOutput = {
|
|
1165
|
+
...output,
|
|
1166
|
+
body: await parseErrorBody(output.body, context),
|
|
1167
|
+
};
|
|
1168
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1169
|
+
switch (errorCode) {
|
|
1170
|
+
case "AccessDeniedException":
|
|
1171
|
+
case "com.amazonaws.cloudtrail#AccessDeniedException":
|
|
1172
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1173
|
+
case "CloudTrailAccessNotEnabledException":
|
|
1174
|
+
case "com.amazonaws.cloudtrail#CloudTrailAccessNotEnabledException":
|
|
1175
|
+
throw await de_CloudTrailAccessNotEnabledExceptionRes(parsedOutput, context);
|
|
1176
|
+
case "ConcurrentModificationException":
|
|
1177
|
+
case "com.amazonaws.cloudtrail#ConcurrentModificationException":
|
|
1178
|
+
throw await de_ConcurrentModificationExceptionRes(parsedOutput, context);
|
|
1179
|
+
case "EventDataStoreARNInvalidException":
|
|
1180
|
+
case "com.amazonaws.cloudtrail#EventDataStoreARNInvalidException":
|
|
1181
|
+
throw await de_EventDataStoreARNInvalidExceptionRes(parsedOutput, context);
|
|
1182
|
+
case "EventDataStoreFederationEnabledException":
|
|
1183
|
+
case "com.amazonaws.cloudtrail#EventDataStoreFederationEnabledException":
|
|
1184
|
+
throw await de_EventDataStoreFederationEnabledExceptionRes(parsedOutput, context);
|
|
1185
|
+
case "EventDataStoreNotFoundException":
|
|
1186
|
+
case "com.amazonaws.cloudtrail#EventDataStoreNotFoundException":
|
|
1187
|
+
throw await de_EventDataStoreNotFoundExceptionRes(parsedOutput, context);
|
|
1188
|
+
case "InactiveEventDataStoreException":
|
|
1189
|
+
case "com.amazonaws.cloudtrail#InactiveEventDataStoreException":
|
|
1190
|
+
throw await de_InactiveEventDataStoreExceptionRes(parsedOutput, context);
|
|
1191
|
+
case "InsufficientDependencyServiceAccessPermissionException":
|
|
1192
|
+
case "com.amazonaws.cloudtrail#InsufficientDependencyServiceAccessPermissionException":
|
|
1193
|
+
throw await de_InsufficientDependencyServiceAccessPermissionExceptionRes(parsedOutput, context);
|
|
1194
|
+
case "InvalidParameterException":
|
|
1195
|
+
case "com.amazonaws.cloudtrail#InvalidParameterException":
|
|
1196
|
+
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
1197
|
+
case "NoManagementAccountSLRExistsException":
|
|
1198
|
+
case "com.amazonaws.cloudtrail#NoManagementAccountSLRExistsException":
|
|
1199
|
+
throw await de_NoManagementAccountSLRExistsExceptionRes(parsedOutput, context);
|
|
1200
|
+
case "NotOrganizationMasterAccountException":
|
|
1201
|
+
case "com.amazonaws.cloudtrail#NotOrganizationMasterAccountException":
|
|
1202
|
+
throw await de_NotOrganizationMasterAccountExceptionRes(parsedOutput, context);
|
|
1203
|
+
case "OperationNotPermittedException":
|
|
1204
|
+
case "com.amazonaws.cloudtrail#OperationNotPermittedException":
|
|
1205
|
+
throw await de_OperationNotPermittedExceptionRes(parsedOutput, context);
|
|
1206
|
+
case "OrganizationNotInAllFeaturesModeException":
|
|
1207
|
+
case "com.amazonaws.cloudtrail#OrganizationNotInAllFeaturesModeException":
|
|
1208
|
+
throw await de_OrganizationNotInAllFeaturesModeExceptionRes(parsedOutput, context);
|
|
1209
|
+
case "OrganizationsNotInUseException":
|
|
1210
|
+
case "com.amazonaws.cloudtrail#OrganizationsNotInUseException":
|
|
1211
|
+
throw await de_OrganizationsNotInUseExceptionRes(parsedOutput, context);
|
|
1212
|
+
case "UnsupportedOperationException":
|
|
1213
|
+
case "com.amazonaws.cloudtrail#UnsupportedOperationException":
|
|
1214
|
+
throw await de_UnsupportedOperationExceptionRes(parsedOutput, context);
|
|
1215
|
+
default:
|
|
1216
|
+
const parsedBody = parsedOutput.body;
|
|
1217
|
+
return throwDefaultError({
|
|
1218
|
+
output,
|
|
1219
|
+
parsedBody,
|
|
1220
|
+
errorCode,
|
|
1221
|
+
});
|
|
1222
|
+
}
|
|
1223
|
+
};
|
|
1061
1224
|
export const de_GetChannelCommand = async (output, context) => {
|
|
1062
1225
|
if (output.statusCode >= 300) {
|
|
1063
1226
|
return de_GetChannelCommandError(output, context);
|
|
@@ -2998,6 +3161,15 @@ const de_UpdateTrailCommandError = async (output, context) => {
|
|
|
2998
3161
|
});
|
|
2999
3162
|
}
|
|
3000
3163
|
};
|
|
3164
|
+
const de_AccessDeniedExceptionRes = async (parsedOutput, context) => {
|
|
3165
|
+
const body = parsedOutput.body;
|
|
3166
|
+
const deserialized = _json(body);
|
|
3167
|
+
const exception = new AccessDeniedException({
|
|
3168
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
3169
|
+
...deserialized,
|
|
3170
|
+
});
|
|
3171
|
+
return __decorateServiceException(exception, body);
|
|
3172
|
+
};
|
|
3001
3173
|
const de_AccountHasOngoingImportExceptionRes = async (parsedOutput, context) => {
|
|
3002
3174
|
const body = parsedOutput.body;
|
|
3003
3175
|
const deserialized = _json(body);
|
|
@@ -3124,6 +3296,15 @@ const de_CloudWatchLogsDeliveryUnavailableExceptionRes = async (parsedOutput, co
|
|
|
3124
3296
|
});
|
|
3125
3297
|
return __decorateServiceException(exception, body);
|
|
3126
3298
|
};
|
|
3299
|
+
const de_ConcurrentModificationExceptionRes = async (parsedOutput, context) => {
|
|
3300
|
+
const body = parsedOutput.body;
|
|
3301
|
+
const deserialized = _json(body);
|
|
3302
|
+
const exception = new ConcurrentModificationException({
|
|
3303
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
3304
|
+
...deserialized,
|
|
3305
|
+
});
|
|
3306
|
+
return __decorateServiceException(exception, body);
|
|
3307
|
+
};
|
|
3127
3308
|
const de_ConflictExceptionRes = async (parsedOutput, context) => {
|
|
3128
3309
|
const body = parsedOutput.body;
|
|
3129
3310
|
const deserialized = _json(body);
|
|
@@ -3160,6 +3341,15 @@ const de_EventDataStoreARNInvalidExceptionRes = async (parsedOutput, context) =>
|
|
|
3160
3341
|
});
|
|
3161
3342
|
return __decorateServiceException(exception, body);
|
|
3162
3343
|
};
|
|
3344
|
+
const de_EventDataStoreFederationEnabledExceptionRes = async (parsedOutput, context) => {
|
|
3345
|
+
const body = parsedOutput.body;
|
|
3346
|
+
const deserialized = _json(body);
|
|
3347
|
+
const exception = new EventDataStoreFederationEnabledException({
|
|
3348
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
3349
|
+
...deserialized,
|
|
3350
|
+
});
|
|
3351
|
+
return __decorateServiceException(exception, body);
|
|
3352
|
+
};
|
|
3163
3353
|
const de_EventDataStoreHasOngoingImportExceptionRes = async (parsedOutput, context) => {
|
|
3164
3354
|
const body = parsedOutput.body;
|
|
3165
3355
|
const deserialized = _json(body);
|
|
@@ -3841,6 +4031,8 @@ const de_GetEventDataStoreResponse = (output, context) => {
|
|
|
3841
4031
|
BillingMode: __expectString,
|
|
3842
4032
|
CreatedTimestamp: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
3843
4033
|
EventDataStoreArn: __expectString,
|
|
4034
|
+
FederationRoleArn: __expectString,
|
|
4035
|
+
FederationStatus: __expectString,
|
|
3844
4036
|
KmsKeyId: __expectString,
|
|
3845
4037
|
MultiRegionEnabled: __expectBoolean,
|
|
3846
4038
|
Name: __expectString,
|
|
@@ -4051,6 +4243,8 @@ const de_UpdateEventDataStoreResponse = (output, context) => {
|
|
|
4051
4243
|
BillingMode: __expectString,
|
|
4052
4244
|
CreatedTimestamp: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
4053
4245
|
EventDataStoreArn: __expectString,
|
|
4246
|
+
FederationRoleArn: __expectString,
|
|
4247
|
+
FederationStatus: __expectString,
|
|
4054
4248
|
KmsKeyId: __expectString,
|
|
4055
4249
|
MultiRegionEnabled: __expectBoolean,
|
|
4056
4250
|
Name: __expectString,
|
|
@@ -12,6 +12,8 @@ import { DeleteTrailCommandInput, DeleteTrailCommandOutput } from "./commands/De
|
|
|
12
12
|
import { DeregisterOrganizationDelegatedAdminCommandInput, DeregisterOrganizationDelegatedAdminCommandOutput } from "./commands/DeregisterOrganizationDelegatedAdminCommand";
|
|
13
13
|
import { DescribeQueryCommandInput, DescribeQueryCommandOutput } from "./commands/DescribeQueryCommand";
|
|
14
14
|
import { DescribeTrailsCommandInput, DescribeTrailsCommandOutput } from "./commands/DescribeTrailsCommand";
|
|
15
|
+
import { DisableFederationCommandInput, DisableFederationCommandOutput } from "./commands/DisableFederationCommand";
|
|
16
|
+
import { EnableFederationCommandInput, EnableFederationCommandOutput } from "./commands/EnableFederationCommand";
|
|
15
17
|
import { GetChannelCommandInput, GetChannelCommandOutput } from "./commands/GetChannelCommand";
|
|
16
18
|
import { GetEventDataStoreCommandInput, GetEventDataStoreCommandOutput } from "./commands/GetEventDataStoreCommand";
|
|
17
19
|
import { GetEventSelectorsCommandInput, GetEventSelectorsCommandOutput } from "./commands/GetEventSelectorsCommand";
|
|
@@ -119,6 +121,18 @@ export interface CloudTrail {
|
|
|
119
121
|
describeTrails(args: DescribeTrailsCommandInput, options?: __HttpHandlerOptions): Promise<DescribeTrailsCommandOutput>;
|
|
120
122
|
describeTrails(args: DescribeTrailsCommandInput, cb: (err: any, data?: DescribeTrailsCommandOutput) => void): void;
|
|
121
123
|
describeTrails(args: DescribeTrailsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeTrailsCommandOutput) => void): void;
|
|
124
|
+
/**
|
|
125
|
+
* @see {@link DisableFederationCommand}
|
|
126
|
+
*/
|
|
127
|
+
disableFederation(args: DisableFederationCommandInput, options?: __HttpHandlerOptions): Promise<DisableFederationCommandOutput>;
|
|
128
|
+
disableFederation(args: DisableFederationCommandInput, cb: (err: any, data?: DisableFederationCommandOutput) => void): void;
|
|
129
|
+
disableFederation(args: DisableFederationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DisableFederationCommandOutput) => void): void;
|
|
130
|
+
/**
|
|
131
|
+
* @see {@link EnableFederationCommand}
|
|
132
|
+
*/
|
|
133
|
+
enableFederation(args: EnableFederationCommandInput, options?: __HttpHandlerOptions): Promise<EnableFederationCommandOutput>;
|
|
134
|
+
enableFederation(args: EnableFederationCommandInput, cb: (err: any, data?: EnableFederationCommandOutput) => void): void;
|
|
135
|
+
enableFederation(args: EnableFederationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: EnableFederationCommandOutput) => void): void;
|
|
122
136
|
/**
|
|
123
137
|
* @see {@link GetChannelCommand}
|
|
124
138
|
*/
|
|
@@ -20,6 +20,8 @@ import { DeleteTrailCommandInput, DeleteTrailCommandOutput } from "./commands/De
|
|
|
20
20
|
import { DeregisterOrganizationDelegatedAdminCommandInput, DeregisterOrganizationDelegatedAdminCommandOutput } from "./commands/DeregisterOrganizationDelegatedAdminCommand";
|
|
21
21
|
import { DescribeQueryCommandInput, DescribeQueryCommandOutput } from "./commands/DescribeQueryCommand";
|
|
22
22
|
import { DescribeTrailsCommandInput, DescribeTrailsCommandOutput } from "./commands/DescribeTrailsCommand";
|
|
23
|
+
import { DisableFederationCommandInput, DisableFederationCommandOutput } from "./commands/DisableFederationCommand";
|
|
24
|
+
import { EnableFederationCommandInput, EnableFederationCommandOutput } from "./commands/EnableFederationCommand";
|
|
23
25
|
import { GetChannelCommandInput, GetChannelCommandOutput } from "./commands/GetChannelCommand";
|
|
24
26
|
import { GetEventDataStoreCommandInput, GetEventDataStoreCommandOutput } from "./commands/GetEventDataStoreCommand";
|
|
25
27
|
import { GetEventSelectorsCommandInput, GetEventSelectorsCommandOutput } from "./commands/GetEventSelectorsCommand";
|
|
@@ -60,11 +62,11 @@ export { __Client };
|
|
|
60
62
|
/**
|
|
61
63
|
* @public
|
|
62
64
|
*/
|
|
63
|
-
export type ServiceInputTypes = AddTagsCommandInput | CancelQueryCommandInput | CreateChannelCommandInput | CreateEventDataStoreCommandInput | CreateTrailCommandInput | DeleteChannelCommandInput | DeleteEventDataStoreCommandInput | DeleteResourcePolicyCommandInput | DeleteTrailCommandInput | DeregisterOrganizationDelegatedAdminCommandInput | DescribeQueryCommandInput | DescribeTrailsCommandInput | GetChannelCommandInput | GetEventDataStoreCommandInput | GetEventSelectorsCommandInput | GetImportCommandInput | GetInsightSelectorsCommandInput | GetQueryResultsCommandInput | GetResourcePolicyCommandInput | GetTrailCommandInput | GetTrailStatusCommandInput | ListChannelsCommandInput | ListEventDataStoresCommandInput | ListImportFailuresCommandInput | ListImportsCommandInput | ListPublicKeysCommandInput | ListQueriesCommandInput | ListTagsCommandInput | ListTrailsCommandInput | LookupEventsCommandInput | PutEventSelectorsCommandInput | PutInsightSelectorsCommandInput | PutResourcePolicyCommandInput | RegisterOrganizationDelegatedAdminCommandInput | RemoveTagsCommandInput | RestoreEventDataStoreCommandInput | StartEventDataStoreIngestionCommandInput | StartImportCommandInput | StartLoggingCommandInput | StartQueryCommandInput | StopEventDataStoreIngestionCommandInput | StopImportCommandInput | StopLoggingCommandInput | UpdateChannelCommandInput | UpdateEventDataStoreCommandInput | UpdateTrailCommandInput;
|
|
65
|
+
export type ServiceInputTypes = AddTagsCommandInput | CancelQueryCommandInput | CreateChannelCommandInput | CreateEventDataStoreCommandInput | CreateTrailCommandInput | DeleteChannelCommandInput | DeleteEventDataStoreCommandInput | DeleteResourcePolicyCommandInput | DeleteTrailCommandInput | DeregisterOrganizationDelegatedAdminCommandInput | DescribeQueryCommandInput | DescribeTrailsCommandInput | DisableFederationCommandInput | EnableFederationCommandInput | GetChannelCommandInput | GetEventDataStoreCommandInput | GetEventSelectorsCommandInput | GetImportCommandInput | GetInsightSelectorsCommandInput | GetQueryResultsCommandInput | GetResourcePolicyCommandInput | GetTrailCommandInput | GetTrailStatusCommandInput | ListChannelsCommandInput | ListEventDataStoresCommandInput | ListImportFailuresCommandInput | ListImportsCommandInput | ListPublicKeysCommandInput | ListQueriesCommandInput | ListTagsCommandInput | ListTrailsCommandInput | LookupEventsCommandInput | PutEventSelectorsCommandInput | PutInsightSelectorsCommandInput | PutResourcePolicyCommandInput | RegisterOrganizationDelegatedAdminCommandInput | RemoveTagsCommandInput | RestoreEventDataStoreCommandInput | StartEventDataStoreIngestionCommandInput | StartImportCommandInput | StartLoggingCommandInput | StartQueryCommandInput | StopEventDataStoreIngestionCommandInput | StopImportCommandInput | StopLoggingCommandInput | UpdateChannelCommandInput | UpdateEventDataStoreCommandInput | UpdateTrailCommandInput;
|
|
64
66
|
/**
|
|
65
67
|
* @public
|
|
66
68
|
*/
|
|
67
|
-
export type ServiceOutputTypes = AddTagsCommandOutput | CancelQueryCommandOutput | CreateChannelCommandOutput | CreateEventDataStoreCommandOutput | CreateTrailCommandOutput | DeleteChannelCommandOutput | DeleteEventDataStoreCommandOutput | DeleteResourcePolicyCommandOutput | DeleteTrailCommandOutput | DeregisterOrganizationDelegatedAdminCommandOutput | DescribeQueryCommandOutput | DescribeTrailsCommandOutput | GetChannelCommandOutput | GetEventDataStoreCommandOutput | GetEventSelectorsCommandOutput | GetImportCommandOutput | GetInsightSelectorsCommandOutput | GetQueryResultsCommandOutput | GetResourcePolicyCommandOutput | GetTrailCommandOutput | GetTrailStatusCommandOutput | ListChannelsCommandOutput | ListEventDataStoresCommandOutput | ListImportFailuresCommandOutput | ListImportsCommandOutput | ListPublicKeysCommandOutput | ListQueriesCommandOutput | ListTagsCommandOutput | ListTrailsCommandOutput | LookupEventsCommandOutput | PutEventSelectorsCommandOutput | PutInsightSelectorsCommandOutput | PutResourcePolicyCommandOutput | RegisterOrganizationDelegatedAdminCommandOutput | RemoveTagsCommandOutput | RestoreEventDataStoreCommandOutput | StartEventDataStoreIngestionCommandOutput | StartImportCommandOutput | StartLoggingCommandOutput | StartQueryCommandOutput | StopEventDataStoreIngestionCommandOutput | StopImportCommandOutput | StopLoggingCommandOutput | UpdateChannelCommandOutput | UpdateEventDataStoreCommandOutput | UpdateTrailCommandOutput;
|
|
69
|
+
export type ServiceOutputTypes = AddTagsCommandOutput | CancelQueryCommandOutput | CreateChannelCommandOutput | CreateEventDataStoreCommandOutput | CreateTrailCommandOutput | DeleteChannelCommandOutput | DeleteEventDataStoreCommandOutput | DeleteResourcePolicyCommandOutput | DeleteTrailCommandOutput | DeregisterOrganizationDelegatedAdminCommandOutput | DescribeQueryCommandOutput | DescribeTrailsCommandOutput | DisableFederationCommandOutput | EnableFederationCommandOutput | GetChannelCommandOutput | GetEventDataStoreCommandOutput | GetEventSelectorsCommandOutput | GetImportCommandOutput | GetInsightSelectorsCommandOutput | GetQueryResultsCommandOutput | GetResourcePolicyCommandOutput | GetTrailCommandOutput | GetTrailStatusCommandOutput | ListChannelsCommandOutput | ListEventDataStoresCommandOutput | ListImportFailuresCommandOutput | ListImportsCommandOutput | ListPublicKeysCommandOutput | ListQueriesCommandOutput | ListTagsCommandOutput | ListTrailsCommandOutput | LookupEventsCommandOutput | PutEventSelectorsCommandOutput | PutInsightSelectorsCommandOutput | PutResourcePolicyCommandOutput | RegisterOrganizationDelegatedAdminCommandOutput | RemoveTagsCommandOutput | RestoreEventDataStoreCommandOutput | StartEventDataStoreIngestionCommandOutput | StartImportCommandOutput | StartLoggingCommandOutput | StartQueryCommandOutput | StopEventDataStoreIngestionCommandOutput | StopImportCommandOutput | StopLoggingCommandOutput | UpdateChannelCommandOutput | UpdateEventDataStoreCommandOutput | UpdateTrailCommandOutput;
|
|
68
70
|
/**
|
|
69
71
|
* @public
|
|
70
72
|
*/
|
|
@@ -27,8 +27,9 @@ export interface DeleteEventDataStoreCommandOutput extends DeleteEventDataStoreR
|
|
|
27
27
|
* event data store ARN. After you run <code>DeleteEventDataStore</code>, the event data store
|
|
28
28
|
* enters a <code>PENDING_DELETION</code> state, and is automatically deleted after a wait
|
|
29
29
|
* period of seven days. <code>TerminationProtectionEnabled</code> must be set to
|
|
30
|
-
* <code>False</code> on the event data store
|
|
31
|
-
*
|
|
30
|
+
* <code>False</code> on the event data store and the <code>FederationStatus</code> must be <code>DISABLED</code>.
|
|
31
|
+
* You cannot delete an event data store if <code>TerminationProtectionEnabled</code>
|
|
32
|
+
* is <code>True</code> or the <code>FederationStatus</code> is <code>ENABLED</code>.</p>
|
|
32
33
|
* <p>After you run <code>DeleteEventDataStore</code> on an event data store, you cannot run
|
|
33
34
|
* <code>ListQueries</code>, <code>DescribeQuery</code>, or <code>GetQueryResults</code> on
|
|
34
35
|
* queries that are using an event data store in a <code>PENDING_DELETION</code> state. An
|
|
@@ -58,10 +59,22 @@ export interface DeleteEventDataStoreCommandOutput extends DeleteEventDataStoreR
|
|
|
58
59
|
* <p>This exception is thrown when the specified event data store cannot yet be deleted because it
|
|
59
60
|
* is in use by a channel.</p>
|
|
60
61
|
*
|
|
62
|
+
* @throws {@link ConflictException} (client fault)
|
|
63
|
+
* <p>This exception is thrown when the specified resource is not ready for an operation. This
|
|
64
|
+
* can occur when you try to run an operation on a resource before CloudTrail has time
|
|
65
|
+
* 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
|
|
66
|
+
* operation again.</p>
|
|
67
|
+
*
|
|
61
68
|
* @throws {@link EventDataStoreARNInvalidException} (client fault)
|
|
62
69
|
* <p>The specified event data store ARN is not valid or does not map to an event data store
|
|
63
70
|
* in your account.</p>
|
|
64
71
|
*
|
|
72
|
+
* @throws {@link EventDataStoreFederationEnabledException} (client fault)
|
|
73
|
+
* <p>
|
|
74
|
+
* You cannot delete the event data store because Lake query federation is enabled. To delete the event data store, run the <code>DisableFederation</code> operation to
|
|
75
|
+
* disable Lake query federation on the event data store.
|
|
76
|
+
* </p>
|
|
77
|
+
*
|
|
65
78
|
* @throws {@link EventDataStoreHasOngoingImportException} (client fault)
|
|
66
79
|
* <p> This exception is thrown when you try to update or delete an event data store that
|
|
67
80
|
* currently has an import in progress. </p>
|
|
@@ -0,0 +1,135 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
|
|
4
|
+
import { CloudTrailClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudTrailClient";
|
|
5
|
+
import { DisableFederationRequest, DisableFederationResponse } from "../models/models_0";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
export { __MetadataBearer, $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link DisableFederationCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface DisableFederationCommandInput extends DisableFederationRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link DisableFederationCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface DisableFederationCommandOutput extends DisableFederationResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* @public
|
|
26
|
+
* <p>
|
|
27
|
+
* Disables Lake query federation on the specified event data store. When you disable federation, CloudTrail
|
|
28
|
+
* removes the metadata associated with the federated event data store in the Glue Data Catalog and removes registration for
|
|
29
|
+
* the federation role ARN and event data store in Lake Formation. No CloudTrail Lake data is deleted
|
|
30
|
+
* when you disable federation.
|
|
31
|
+
* </p>
|
|
32
|
+
* @example
|
|
33
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
34
|
+
* ```javascript
|
|
35
|
+
* import { CloudTrailClient, DisableFederationCommand } from "@aws-sdk/client-cloudtrail"; // ES Modules import
|
|
36
|
+
* // const { CloudTrailClient, DisableFederationCommand } = require("@aws-sdk/client-cloudtrail"); // CommonJS import
|
|
37
|
+
* const client = new CloudTrailClient(config);
|
|
38
|
+
* const input = { // DisableFederationRequest
|
|
39
|
+
* EventDataStore: "STRING_VALUE", // required
|
|
40
|
+
* };
|
|
41
|
+
* const command = new DisableFederationCommand(input);
|
|
42
|
+
* const response = await client.send(command);
|
|
43
|
+
* // { // DisableFederationResponse
|
|
44
|
+
* // EventDataStoreArn: "STRING_VALUE",
|
|
45
|
+
* // FederationStatus: "ENABLING" || "ENABLED" || "DISABLING" || "DISABLED",
|
|
46
|
+
* // };
|
|
47
|
+
*
|
|
48
|
+
* ```
|
|
49
|
+
*
|
|
50
|
+
* @param DisableFederationCommandInput - {@link DisableFederationCommandInput}
|
|
51
|
+
* @returns {@link DisableFederationCommandOutput}
|
|
52
|
+
* @see {@link DisableFederationCommandInput} for command's `input` shape.
|
|
53
|
+
* @see {@link DisableFederationCommandOutput} for command's `response` shape.
|
|
54
|
+
* @see {@link CloudTrailClientResolvedConfig | config} for CloudTrailClient's `config` shape.
|
|
55
|
+
*
|
|
56
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
57
|
+
* <p>
|
|
58
|
+
* You do not have sufficient access to perform this action.
|
|
59
|
+
* </p>
|
|
60
|
+
*
|
|
61
|
+
* @throws {@link CloudTrailAccessNotEnabledException} (client fault)
|
|
62
|
+
* <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>
|
|
63
|
+
*
|
|
64
|
+
* @throws {@link ConcurrentModificationException} (client fault)
|
|
65
|
+
* <p>
|
|
66
|
+
* You are trying to update a resource when another request is in progress. Allow sufficient wait time for the previous request to complete, then retry your request.
|
|
67
|
+
* </p>
|
|
68
|
+
*
|
|
69
|
+
* @throws {@link EventDataStoreARNInvalidException} (client fault)
|
|
70
|
+
* <p>The specified event data store ARN is not valid or does not map to an event data store
|
|
71
|
+
* in your account.</p>
|
|
72
|
+
*
|
|
73
|
+
* @throws {@link EventDataStoreNotFoundException} (client fault)
|
|
74
|
+
* <p>The specified event data store was not found.</p>
|
|
75
|
+
*
|
|
76
|
+
* @throws {@link InactiveEventDataStoreException} (client fault)
|
|
77
|
+
* <p>The event data store is inactive.</p>
|
|
78
|
+
*
|
|
79
|
+
* @throws {@link InsufficientDependencyServiceAccessPermissionException} (client fault)
|
|
80
|
+
* <p>This exception is thrown when the IAM identity that is used to create
|
|
81
|
+
* the organization resource lacks one or more required permissions for creating an
|
|
82
|
+
* organization resource in a required service.</p>
|
|
83
|
+
*
|
|
84
|
+
* @throws {@link InvalidParameterException} (client fault)
|
|
85
|
+
* <p>The request includes a parameter that is not valid.</p>
|
|
86
|
+
*
|
|
87
|
+
* @throws {@link NoManagementAccountSLRExistsException} (client fault)
|
|
88
|
+
* <p> This exception is thrown when the management account does not have a service-linked
|
|
89
|
+
* role. </p>
|
|
90
|
+
*
|
|
91
|
+
* @throws {@link NotOrganizationMasterAccountException} (client fault)
|
|
92
|
+
* <p>This exception is thrown when the Amazon Web Services account making the request to
|
|
93
|
+
* create or update an organization trail or event data store is not the management account
|
|
94
|
+
* 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>
|
|
95
|
+
*
|
|
96
|
+
* @throws {@link OperationNotPermittedException} (client fault)
|
|
97
|
+
* <p>This exception is thrown when the requested operation is not permitted.</p>
|
|
98
|
+
*
|
|
99
|
+
* @throws {@link OrganizationNotInAllFeaturesModeException} (client fault)
|
|
100
|
+
* <p>This exception is thrown when Organizations is not configured to support all
|
|
101
|
+
* features. All features must be enabled in Organizations to support creating an
|
|
102
|
+
* organization trail or event data store.</p>
|
|
103
|
+
*
|
|
104
|
+
* @throws {@link OrganizationsNotInUseException} (client fault)
|
|
105
|
+
* <p>This exception is thrown when the request is made from an Amazon Web Services account
|
|
106
|
+
* that is not a member of an organization. To make this request, sign in using the
|
|
107
|
+
* credentials of an account that belongs to an organization.</p>
|
|
108
|
+
*
|
|
109
|
+
* @throws {@link UnsupportedOperationException} (client fault)
|
|
110
|
+
* <p>This exception is thrown when the requested operation is not supported.</p>
|
|
111
|
+
*
|
|
112
|
+
* @throws {@link CloudTrailServiceException}
|
|
113
|
+
* <p>Base exception class for all service exceptions from CloudTrail service.</p>
|
|
114
|
+
*
|
|
115
|
+
*/
|
|
116
|
+
export declare class DisableFederationCommand extends $Command<DisableFederationCommandInput, DisableFederationCommandOutput, CloudTrailClientResolvedConfig> {
|
|
117
|
+
readonly input: DisableFederationCommandInput;
|
|
118
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
119
|
+
/**
|
|
120
|
+
* @public
|
|
121
|
+
*/
|
|
122
|
+
constructor(input: DisableFederationCommandInput);
|
|
123
|
+
/**
|
|
124
|
+
* @internal
|
|
125
|
+
*/
|
|
126
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CloudTrailClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DisableFederationCommandInput, DisableFederationCommandOutput>;
|
|
127
|
+
/**
|
|
128
|
+
* @internal
|
|
129
|
+
*/
|
|
130
|
+
private serialize;
|
|
131
|
+
/**
|
|
132
|
+
* @internal
|
|
133
|
+
*/
|
|
134
|
+
private deserialize;
|
|
135
|
+
}
|