@aws-sdk/client-cloudtrail 3.926.0 → 3.928.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/index.js +2898 -3312
- package/dist-cjs/runtimeConfig.shared.js +7 -0
- package/dist-es/CloudTrailClient.js +2 -0
- package/dist-es/commands/AddTagsCommand.js +3 -9
- package/dist-es/commands/CancelQueryCommand.js +3 -9
- package/dist-es/commands/CreateChannelCommand.js +3 -9
- package/dist-es/commands/CreateDashboardCommand.js +3 -9
- package/dist-es/commands/CreateEventDataStoreCommand.js +3 -9
- package/dist-es/commands/CreateTrailCommand.js +3 -9
- package/dist-es/commands/DeleteChannelCommand.js +3 -9
- package/dist-es/commands/DeleteDashboardCommand.js +3 -9
- package/dist-es/commands/DeleteEventDataStoreCommand.js +3 -9
- package/dist-es/commands/DeleteResourcePolicyCommand.js +3 -9
- package/dist-es/commands/DeleteTrailCommand.js +3 -9
- package/dist-es/commands/DeregisterOrganizationDelegatedAdminCommand.js +3 -9
- package/dist-es/commands/DescribeQueryCommand.js +3 -9
- package/dist-es/commands/DescribeTrailsCommand.js +3 -9
- package/dist-es/commands/DisableFederationCommand.js +3 -9
- package/dist-es/commands/EnableFederationCommand.js +3 -9
- package/dist-es/commands/GenerateQueryCommand.js +3 -9
- package/dist-es/commands/GetChannelCommand.js +3 -9
- package/dist-es/commands/GetDashboardCommand.js +3 -9
- package/dist-es/commands/GetEventConfigurationCommand.js +3 -9
- package/dist-es/commands/GetEventDataStoreCommand.js +3 -9
- package/dist-es/commands/GetEventSelectorsCommand.js +3 -9
- package/dist-es/commands/GetImportCommand.js +3 -9
- package/dist-es/commands/GetInsightSelectorsCommand.js +3 -9
- package/dist-es/commands/GetQueryResultsCommand.js +3 -9
- package/dist-es/commands/GetResourcePolicyCommand.js +3 -9
- package/dist-es/commands/GetTrailCommand.js +3 -9
- package/dist-es/commands/GetTrailStatusCommand.js +3 -9
- package/dist-es/commands/ListChannelsCommand.js +3 -9
- package/dist-es/commands/ListDashboardsCommand.js +3 -9
- package/dist-es/commands/ListEventDataStoresCommand.js +3 -9
- package/dist-es/commands/ListImportFailuresCommand.js +3 -9
- package/dist-es/commands/ListImportsCommand.js +3 -9
- package/dist-es/commands/ListInsightsMetricDataCommand.js +3 -9
- package/dist-es/commands/ListPublicKeysCommand.js +3 -9
- package/dist-es/commands/ListQueriesCommand.js +3 -9
- package/dist-es/commands/ListTagsCommand.js +3 -9
- package/dist-es/commands/ListTrailsCommand.js +3 -9
- package/dist-es/commands/LookupEventsCommand.js +3 -9
- package/dist-es/commands/PutEventConfigurationCommand.js +3 -9
- package/dist-es/commands/PutEventSelectorsCommand.js +3 -9
- package/dist-es/commands/PutInsightSelectorsCommand.js +3 -9
- package/dist-es/commands/PutResourcePolicyCommand.js +3 -9
- package/dist-es/commands/RegisterOrganizationDelegatedAdminCommand.js +3 -9
- package/dist-es/commands/RemoveTagsCommand.js +3 -9
- package/dist-es/commands/RestoreEventDataStoreCommand.js +3 -9
- package/dist-es/commands/SearchSampleQueriesCommand.js +3 -9
- package/dist-es/commands/StartDashboardRefreshCommand.js +3 -9
- package/dist-es/commands/StartEventDataStoreIngestionCommand.js +3 -9
- package/dist-es/commands/StartImportCommand.js +3 -9
- package/dist-es/commands/StartLoggingCommand.js +3 -9
- package/dist-es/commands/StartQueryCommand.js +3 -9
- package/dist-es/commands/StopEventDataStoreIngestionCommand.js +3 -9
- package/dist-es/commands/StopImportCommand.js +3 -9
- package/dist-es/commands/StopLoggingCommand.js +3 -9
- package/dist-es/commands/UpdateChannelCommand.js +3 -9
- package/dist-es/commands/UpdateDashboardCommand.js +3 -9
- package/dist-es/commands/UpdateEventDataStoreCommand.js +3 -9
- package/dist-es/commands/UpdateTrailCommand.js +3 -9
- package/dist-es/runtimeConfig.shared.js +7 -0
- package/dist-es/schemas/schemas_0.js +2537 -0
- package/dist-types/CloudTrailClient.d.ts +10 -1
- package/dist-types/runtimeConfig.browser.d.ts +1 -0
- package/dist-types/runtimeConfig.d.ts +1 -0
- package/dist-types/runtimeConfig.native.d.ts +1 -0
- package/dist-types/runtimeConfig.shared.d.ts +1 -0
- package/dist-types/schemas/schemas_0.d.ts +341 -0
- package/dist-types/ts3.4/CloudTrailClient.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +346 -0
- package/package.json +5 -5
- package/dist-es/protocols/Aws_json1_1.js +0 -2645
- package/dist-types/protocols/Aws_json1_1.d.ts +0 -533
- package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +0 -713
|
@@ -1,2645 +0,0 @@
|
|
|
1
|
-
import { loadRestJsonErrorCode, parseJsonBody as parseBody, parseJsonErrorBody as parseErrorBody } from "@aws-sdk/core";
|
|
2
|
-
import { HttpRequest as __HttpRequest } from "@smithy/protocol-http";
|
|
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
|
-
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, 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
|
-
export const se_AddTagsCommand = async (input, context) => {
|
|
7
|
-
const headers = sharedHeaders("AddTags");
|
|
8
|
-
let body;
|
|
9
|
-
body = JSON.stringify(_json(input));
|
|
10
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
11
|
-
};
|
|
12
|
-
export const se_CancelQueryCommand = async (input, context) => {
|
|
13
|
-
const headers = sharedHeaders("CancelQuery");
|
|
14
|
-
let body;
|
|
15
|
-
body = JSON.stringify(_json(input));
|
|
16
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
17
|
-
};
|
|
18
|
-
export const se_CreateChannelCommand = async (input, context) => {
|
|
19
|
-
const headers = sharedHeaders("CreateChannel");
|
|
20
|
-
let body;
|
|
21
|
-
body = JSON.stringify(_json(input));
|
|
22
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
23
|
-
};
|
|
24
|
-
export const se_CreateDashboardCommand = async (input, context) => {
|
|
25
|
-
const headers = sharedHeaders("CreateDashboard");
|
|
26
|
-
let body;
|
|
27
|
-
body = JSON.stringify(_json(input));
|
|
28
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
29
|
-
};
|
|
30
|
-
export const se_CreateEventDataStoreCommand = async (input, context) => {
|
|
31
|
-
const headers = sharedHeaders("CreateEventDataStore");
|
|
32
|
-
let body;
|
|
33
|
-
body = JSON.stringify(_json(input));
|
|
34
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
35
|
-
};
|
|
36
|
-
export const se_CreateTrailCommand = async (input, context) => {
|
|
37
|
-
const headers = sharedHeaders("CreateTrail");
|
|
38
|
-
let body;
|
|
39
|
-
body = JSON.stringify(_json(input));
|
|
40
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
41
|
-
};
|
|
42
|
-
export const se_DeleteChannelCommand = async (input, context) => {
|
|
43
|
-
const headers = sharedHeaders("DeleteChannel");
|
|
44
|
-
let body;
|
|
45
|
-
body = JSON.stringify(_json(input));
|
|
46
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
47
|
-
};
|
|
48
|
-
export const se_DeleteDashboardCommand = async (input, context) => {
|
|
49
|
-
const headers = sharedHeaders("DeleteDashboard");
|
|
50
|
-
let body;
|
|
51
|
-
body = JSON.stringify(_json(input));
|
|
52
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
53
|
-
};
|
|
54
|
-
export const se_DeleteEventDataStoreCommand = async (input, context) => {
|
|
55
|
-
const headers = sharedHeaders("DeleteEventDataStore");
|
|
56
|
-
let body;
|
|
57
|
-
body = JSON.stringify(_json(input));
|
|
58
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
59
|
-
};
|
|
60
|
-
export const se_DeleteResourcePolicyCommand = async (input, context) => {
|
|
61
|
-
const headers = sharedHeaders("DeleteResourcePolicy");
|
|
62
|
-
let body;
|
|
63
|
-
body = JSON.stringify(_json(input));
|
|
64
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
65
|
-
};
|
|
66
|
-
export const se_DeleteTrailCommand = async (input, context) => {
|
|
67
|
-
const headers = sharedHeaders("DeleteTrail");
|
|
68
|
-
let body;
|
|
69
|
-
body = JSON.stringify(_json(input));
|
|
70
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
71
|
-
};
|
|
72
|
-
export const se_DeregisterOrganizationDelegatedAdminCommand = async (input, context) => {
|
|
73
|
-
const headers = sharedHeaders("DeregisterOrganizationDelegatedAdmin");
|
|
74
|
-
let body;
|
|
75
|
-
body = JSON.stringify(_json(input));
|
|
76
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
77
|
-
};
|
|
78
|
-
export const se_DescribeQueryCommand = async (input, context) => {
|
|
79
|
-
const headers = sharedHeaders("DescribeQuery");
|
|
80
|
-
let body;
|
|
81
|
-
body = JSON.stringify(_json(input));
|
|
82
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
83
|
-
};
|
|
84
|
-
export const se_DescribeTrailsCommand = async (input, context) => {
|
|
85
|
-
const headers = sharedHeaders("DescribeTrails");
|
|
86
|
-
let body;
|
|
87
|
-
body = JSON.stringify(_json(input));
|
|
88
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
89
|
-
};
|
|
90
|
-
export const se_DisableFederationCommand = async (input, context) => {
|
|
91
|
-
const headers = sharedHeaders("DisableFederation");
|
|
92
|
-
let body;
|
|
93
|
-
body = JSON.stringify(_json(input));
|
|
94
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
95
|
-
};
|
|
96
|
-
export const se_EnableFederationCommand = async (input, context) => {
|
|
97
|
-
const headers = sharedHeaders("EnableFederation");
|
|
98
|
-
let body;
|
|
99
|
-
body = JSON.stringify(_json(input));
|
|
100
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
101
|
-
};
|
|
102
|
-
export const se_GenerateQueryCommand = async (input, context) => {
|
|
103
|
-
const headers = sharedHeaders("GenerateQuery");
|
|
104
|
-
let body;
|
|
105
|
-
body = JSON.stringify(_json(input));
|
|
106
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
107
|
-
};
|
|
108
|
-
export const se_GetChannelCommand = async (input, context) => {
|
|
109
|
-
const headers = sharedHeaders("GetChannel");
|
|
110
|
-
let body;
|
|
111
|
-
body = JSON.stringify(_json(input));
|
|
112
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
113
|
-
};
|
|
114
|
-
export const se_GetDashboardCommand = async (input, context) => {
|
|
115
|
-
const headers = sharedHeaders("GetDashboard");
|
|
116
|
-
let body;
|
|
117
|
-
body = JSON.stringify(_json(input));
|
|
118
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
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
|
-
};
|
|
126
|
-
export const se_GetEventDataStoreCommand = async (input, context) => {
|
|
127
|
-
const headers = sharedHeaders("GetEventDataStore");
|
|
128
|
-
let body;
|
|
129
|
-
body = JSON.stringify(_json(input));
|
|
130
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
131
|
-
};
|
|
132
|
-
export const se_GetEventSelectorsCommand = async (input, context) => {
|
|
133
|
-
const headers = sharedHeaders("GetEventSelectors");
|
|
134
|
-
let body;
|
|
135
|
-
body = JSON.stringify(_json(input));
|
|
136
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
137
|
-
};
|
|
138
|
-
export const se_GetImportCommand = async (input, context) => {
|
|
139
|
-
const headers = sharedHeaders("GetImport");
|
|
140
|
-
let body;
|
|
141
|
-
body = JSON.stringify(_json(input));
|
|
142
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
143
|
-
};
|
|
144
|
-
export const se_GetInsightSelectorsCommand = async (input, context) => {
|
|
145
|
-
const headers = sharedHeaders("GetInsightSelectors");
|
|
146
|
-
let body;
|
|
147
|
-
body = JSON.stringify(_json(input));
|
|
148
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
149
|
-
};
|
|
150
|
-
export const se_GetQueryResultsCommand = async (input, context) => {
|
|
151
|
-
const headers = sharedHeaders("GetQueryResults");
|
|
152
|
-
let body;
|
|
153
|
-
body = JSON.stringify(_json(input));
|
|
154
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
155
|
-
};
|
|
156
|
-
export const se_GetResourcePolicyCommand = async (input, context) => {
|
|
157
|
-
const headers = sharedHeaders("GetResourcePolicy");
|
|
158
|
-
let body;
|
|
159
|
-
body = JSON.stringify(_json(input));
|
|
160
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
161
|
-
};
|
|
162
|
-
export const se_GetTrailCommand = async (input, context) => {
|
|
163
|
-
const headers = sharedHeaders("GetTrail");
|
|
164
|
-
let body;
|
|
165
|
-
body = JSON.stringify(_json(input));
|
|
166
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
167
|
-
};
|
|
168
|
-
export const se_GetTrailStatusCommand = async (input, context) => {
|
|
169
|
-
const headers = sharedHeaders("GetTrailStatus");
|
|
170
|
-
let body;
|
|
171
|
-
body = JSON.stringify(_json(input));
|
|
172
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
173
|
-
};
|
|
174
|
-
export const se_ListChannelsCommand = async (input, context) => {
|
|
175
|
-
const headers = sharedHeaders("ListChannels");
|
|
176
|
-
let body;
|
|
177
|
-
body = JSON.stringify(_json(input));
|
|
178
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
179
|
-
};
|
|
180
|
-
export const se_ListDashboardsCommand = async (input, context) => {
|
|
181
|
-
const headers = sharedHeaders("ListDashboards");
|
|
182
|
-
let body;
|
|
183
|
-
body = JSON.stringify(_json(input));
|
|
184
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
185
|
-
};
|
|
186
|
-
export const se_ListEventDataStoresCommand = async (input, context) => {
|
|
187
|
-
const headers = sharedHeaders("ListEventDataStores");
|
|
188
|
-
let body;
|
|
189
|
-
body = JSON.stringify(_json(input));
|
|
190
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
191
|
-
};
|
|
192
|
-
export const se_ListImportFailuresCommand = async (input, context) => {
|
|
193
|
-
const headers = sharedHeaders("ListImportFailures");
|
|
194
|
-
let body;
|
|
195
|
-
body = JSON.stringify(_json(input));
|
|
196
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
197
|
-
};
|
|
198
|
-
export const se_ListImportsCommand = async (input, context) => {
|
|
199
|
-
const headers = sharedHeaders("ListImports");
|
|
200
|
-
let body;
|
|
201
|
-
body = JSON.stringify(_json(input));
|
|
202
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
203
|
-
};
|
|
204
|
-
export const se_ListInsightsMetricDataCommand = async (input, context) => {
|
|
205
|
-
const headers = sharedHeaders("ListInsightsMetricData");
|
|
206
|
-
let body;
|
|
207
|
-
body = JSON.stringify(se_ListInsightsMetricDataRequest(input, context));
|
|
208
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
209
|
-
};
|
|
210
|
-
export const se_ListPublicKeysCommand = async (input, context) => {
|
|
211
|
-
const headers = sharedHeaders("ListPublicKeys");
|
|
212
|
-
let body;
|
|
213
|
-
body = JSON.stringify(se_ListPublicKeysRequest(input, context));
|
|
214
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
215
|
-
};
|
|
216
|
-
export const se_ListQueriesCommand = async (input, context) => {
|
|
217
|
-
const headers = sharedHeaders("ListQueries");
|
|
218
|
-
let body;
|
|
219
|
-
body = JSON.stringify(se_ListQueriesRequest(input, context));
|
|
220
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
221
|
-
};
|
|
222
|
-
export const se_ListTagsCommand = async (input, context) => {
|
|
223
|
-
const headers = sharedHeaders("ListTags");
|
|
224
|
-
let body;
|
|
225
|
-
body = JSON.stringify(_json(input));
|
|
226
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
227
|
-
};
|
|
228
|
-
export const se_ListTrailsCommand = async (input, context) => {
|
|
229
|
-
const headers = sharedHeaders("ListTrails");
|
|
230
|
-
let body;
|
|
231
|
-
body = JSON.stringify(_json(input));
|
|
232
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
233
|
-
};
|
|
234
|
-
export const se_LookupEventsCommand = async (input, context) => {
|
|
235
|
-
const headers = sharedHeaders("LookupEvents");
|
|
236
|
-
let body;
|
|
237
|
-
body = JSON.stringify(se_LookupEventsRequest(input, context));
|
|
238
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
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
|
-
};
|
|
246
|
-
export const se_PutEventSelectorsCommand = async (input, context) => {
|
|
247
|
-
const headers = sharedHeaders("PutEventSelectors");
|
|
248
|
-
let body;
|
|
249
|
-
body = JSON.stringify(_json(input));
|
|
250
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
251
|
-
};
|
|
252
|
-
export const se_PutInsightSelectorsCommand = async (input, context) => {
|
|
253
|
-
const headers = sharedHeaders("PutInsightSelectors");
|
|
254
|
-
let body;
|
|
255
|
-
body = JSON.stringify(_json(input));
|
|
256
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
257
|
-
};
|
|
258
|
-
export const se_PutResourcePolicyCommand = async (input, context) => {
|
|
259
|
-
const headers = sharedHeaders("PutResourcePolicy");
|
|
260
|
-
let body;
|
|
261
|
-
body = JSON.stringify(_json(input));
|
|
262
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
263
|
-
};
|
|
264
|
-
export const se_RegisterOrganizationDelegatedAdminCommand = async (input, context) => {
|
|
265
|
-
const headers = sharedHeaders("RegisterOrganizationDelegatedAdmin");
|
|
266
|
-
let body;
|
|
267
|
-
body = JSON.stringify(_json(input));
|
|
268
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
269
|
-
};
|
|
270
|
-
export const se_RemoveTagsCommand = async (input, context) => {
|
|
271
|
-
const headers = sharedHeaders("RemoveTags");
|
|
272
|
-
let body;
|
|
273
|
-
body = JSON.stringify(_json(input));
|
|
274
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
275
|
-
};
|
|
276
|
-
export const se_RestoreEventDataStoreCommand = async (input, context) => {
|
|
277
|
-
const headers = sharedHeaders("RestoreEventDataStore");
|
|
278
|
-
let body;
|
|
279
|
-
body = JSON.stringify(_json(input));
|
|
280
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
281
|
-
};
|
|
282
|
-
export const se_SearchSampleQueriesCommand = async (input, context) => {
|
|
283
|
-
const headers = sharedHeaders("SearchSampleQueries");
|
|
284
|
-
let body;
|
|
285
|
-
body = JSON.stringify(_json(input));
|
|
286
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
287
|
-
};
|
|
288
|
-
export const se_StartDashboardRefreshCommand = async (input, context) => {
|
|
289
|
-
const headers = sharedHeaders("StartDashboardRefresh");
|
|
290
|
-
let body;
|
|
291
|
-
body = JSON.stringify(_json(input));
|
|
292
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
293
|
-
};
|
|
294
|
-
export const se_StartEventDataStoreIngestionCommand = async (input, context) => {
|
|
295
|
-
const headers = sharedHeaders("StartEventDataStoreIngestion");
|
|
296
|
-
let body;
|
|
297
|
-
body = JSON.stringify(_json(input));
|
|
298
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
299
|
-
};
|
|
300
|
-
export const se_StartImportCommand = async (input, context) => {
|
|
301
|
-
const headers = sharedHeaders("StartImport");
|
|
302
|
-
let body;
|
|
303
|
-
body = JSON.stringify(se_StartImportRequest(input, context));
|
|
304
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
305
|
-
};
|
|
306
|
-
export const se_StartLoggingCommand = async (input, context) => {
|
|
307
|
-
const headers = sharedHeaders("StartLogging");
|
|
308
|
-
let body;
|
|
309
|
-
body = JSON.stringify(_json(input));
|
|
310
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
311
|
-
};
|
|
312
|
-
export const se_StartQueryCommand = async (input, context) => {
|
|
313
|
-
const headers = sharedHeaders("StartQuery");
|
|
314
|
-
let body;
|
|
315
|
-
body = JSON.stringify(_json(input));
|
|
316
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
317
|
-
};
|
|
318
|
-
export const se_StopEventDataStoreIngestionCommand = async (input, context) => {
|
|
319
|
-
const headers = sharedHeaders("StopEventDataStoreIngestion");
|
|
320
|
-
let body;
|
|
321
|
-
body = JSON.stringify(_json(input));
|
|
322
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
323
|
-
};
|
|
324
|
-
export const se_StopImportCommand = async (input, context) => {
|
|
325
|
-
const headers = sharedHeaders("StopImport");
|
|
326
|
-
let body;
|
|
327
|
-
body = JSON.stringify(_json(input));
|
|
328
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
329
|
-
};
|
|
330
|
-
export const se_StopLoggingCommand = async (input, context) => {
|
|
331
|
-
const headers = sharedHeaders("StopLogging");
|
|
332
|
-
let body;
|
|
333
|
-
body = JSON.stringify(_json(input));
|
|
334
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
335
|
-
};
|
|
336
|
-
export const se_UpdateChannelCommand = async (input, context) => {
|
|
337
|
-
const headers = sharedHeaders("UpdateChannel");
|
|
338
|
-
let body;
|
|
339
|
-
body = JSON.stringify(_json(input));
|
|
340
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
341
|
-
};
|
|
342
|
-
export const se_UpdateDashboardCommand = async (input, context) => {
|
|
343
|
-
const headers = sharedHeaders("UpdateDashboard");
|
|
344
|
-
let body;
|
|
345
|
-
body = JSON.stringify(_json(input));
|
|
346
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
347
|
-
};
|
|
348
|
-
export const se_UpdateEventDataStoreCommand = async (input, context) => {
|
|
349
|
-
const headers = sharedHeaders("UpdateEventDataStore");
|
|
350
|
-
let body;
|
|
351
|
-
body = JSON.stringify(_json(input));
|
|
352
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
353
|
-
};
|
|
354
|
-
export const se_UpdateTrailCommand = async (input, context) => {
|
|
355
|
-
const headers = sharedHeaders("UpdateTrail");
|
|
356
|
-
let body;
|
|
357
|
-
body = JSON.stringify(_json(input));
|
|
358
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
359
|
-
};
|
|
360
|
-
export const de_AddTagsCommand = async (output, context) => {
|
|
361
|
-
if (output.statusCode >= 300) {
|
|
362
|
-
return de_CommandError(output, context);
|
|
363
|
-
}
|
|
364
|
-
const data = await parseBody(output.body, context);
|
|
365
|
-
let contents = {};
|
|
366
|
-
contents = _json(data);
|
|
367
|
-
const response = {
|
|
368
|
-
$metadata: deserializeMetadata(output),
|
|
369
|
-
...contents,
|
|
370
|
-
};
|
|
371
|
-
return response;
|
|
372
|
-
};
|
|
373
|
-
export const de_CancelQueryCommand = async (output, context) => {
|
|
374
|
-
if (output.statusCode >= 300) {
|
|
375
|
-
return de_CommandError(output, context);
|
|
376
|
-
}
|
|
377
|
-
const data = await parseBody(output.body, context);
|
|
378
|
-
let contents = {};
|
|
379
|
-
contents = _json(data);
|
|
380
|
-
const response = {
|
|
381
|
-
$metadata: deserializeMetadata(output),
|
|
382
|
-
...contents,
|
|
383
|
-
};
|
|
384
|
-
return response;
|
|
385
|
-
};
|
|
386
|
-
export const de_CreateChannelCommand = async (output, context) => {
|
|
387
|
-
if (output.statusCode >= 300) {
|
|
388
|
-
return de_CommandError(output, context);
|
|
389
|
-
}
|
|
390
|
-
const data = await parseBody(output.body, context);
|
|
391
|
-
let contents = {};
|
|
392
|
-
contents = _json(data);
|
|
393
|
-
const response = {
|
|
394
|
-
$metadata: deserializeMetadata(output),
|
|
395
|
-
...contents,
|
|
396
|
-
};
|
|
397
|
-
return response;
|
|
398
|
-
};
|
|
399
|
-
export const de_CreateDashboardCommand = async (output, context) => {
|
|
400
|
-
if (output.statusCode >= 300) {
|
|
401
|
-
return de_CommandError(output, context);
|
|
402
|
-
}
|
|
403
|
-
const data = await parseBody(output.body, context);
|
|
404
|
-
let contents = {};
|
|
405
|
-
contents = _json(data);
|
|
406
|
-
const response = {
|
|
407
|
-
$metadata: deserializeMetadata(output),
|
|
408
|
-
...contents,
|
|
409
|
-
};
|
|
410
|
-
return response;
|
|
411
|
-
};
|
|
412
|
-
export const de_CreateEventDataStoreCommand = async (output, context) => {
|
|
413
|
-
if (output.statusCode >= 300) {
|
|
414
|
-
return de_CommandError(output, context);
|
|
415
|
-
}
|
|
416
|
-
const data = await parseBody(output.body, context);
|
|
417
|
-
let contents = {};
|
|
418
|
-
contents = de_CreateEventDataStoreResponse(data, context);
|
|
419
|
-
const response = {
|
|
420
|
-
$metadata: deserializeMetadata(output),
|
|
421
|
-
...contents,
|
|
422
|
-
};
|
|
423
|
-
return response;
|
|
424
|
-
};
|
|
425
|
-
export const de_CreateTrailCommand = async (output, context) => {
|
|
426
|
-
if (output.statusCode >= 300) {
|
|
427
|
-
return de_CommandError(output, context);
|
|
428
|
-
}
|
|
429
|
-
const data = await parseBody(output.body, context);
|
|
430
|
-
let contents = {};
|
|
431
|
-
contents = _json(data);
|
|
432
|
-
const response = {
|
|
433
|
-
$metadata: deserializeMetadata(output),
|
|
434
|
-
...contents,
|
|
435
|
-
};
|
|
436
|
-
return response;
|
|
437
|
-
};
|
|
438
|
-
export const de_DeleteChannelCommand = async (output, context) => {
|
|
439
|
-
if (output.statusCode >= 300) {
|
|
440
|
-
return de_CommandError(output, context);
|
|
441
|
-
}
|
|
442
|
-
const data = await parseBody(output.body, context);
|
|
443
|
-
let contents = {};
|
|
444
|
-
contents = _json(data);
|
|
445
|
-
const response = {
|
|
446
|
-
$metadata: deserializeMetadata(output),
|
|
447
|
-
...contents,
|
|
448
|
-
};
|
|
449
|
-
return response;
|
|
450
|
-
};
|
|
451
|
-
export const de_DeleteDashboardCommand = async (output, context) => {
|
|
452
|
-
if (output.statusCode >= 300) {
|
|
453
|
-
return de_CommandError(output, context);
|
|
454
|
-
}
|
|
455
|
-
const data = await parseBody(output.body, context);
|
|
456
|
-
let contents = {};
|
|
457
|
-
contents = _json(data);
|
|
458
|
-
const response = {
|
|
459
|
-
$metadata: deserializeMetadata(output),
|
|
460
|
-
...contents,
|
|
461
|
-
};
|
|
462
|
-
return response;
|
|
463
|
-
};
|
|
464
|
-
export const de_DeleteEventDataStoreCommand = async (output, context) => {
|
|
465
|
-
if (output.statusCode >= 300) {
|
|
466
|
-
return de_CommandError(output, context);
|
|
467
|
-
}
|
|
468
|
-
const data = await parseBody(output.body, context);
|
|
469
|
-
let contents = {};
|
|
470
|
-
contents = _json(data);
|
|
471
|
-
const response = {
|
|
472
|
-
$metadata: deserializeMetadata(output),
|
|
473
|
-
...contents,
|
|
474
|
-
};
|
|
475
|
-
return response;
|
|
476
|
-
};
|
|
477
|
-
export const de_DeleteResourcePolicyCommand = async (output, context) => {
|
|
478
|
-
if (output.statusCode >= 300) {
|
|
479
|
-
return de_CommandError(output, context);
|
|
480
|
-
}
|
|
481
|
-
const data = await parseBody(output.body, context);
|
|
482
|
-
let contents = {};
|
|
483
|
-
contents = _json(data);
|
|
484
|
-
const response = {
|
|
485
|
-
$metadata: deserializeMetadata(output),
|
|
486
|
-
...contents,
|
|
487
|
-
};
|
|
488
|
-
return response;
|
|
489
|
-
};
|
|
490
|
-
export const de_DeleteTrailCommand = async (output, context) => {
|
|
491
|
-
if (output.statusCode >= 300) {
|
|
492
|
-
return de_CommandError(output, context);
|
|
493
|
-
}
|
|
494
|
-
const data = await parseBody(output.body, context);
|
|
495
|
-
let contents = {};
|
|
496
|
-
contents = _json(data);
|
|
497
|
-
const response = {
|
|
498
|
-
$metadata: deserializeMetadata(output),
|
|
499
|
-
...contents,
|
|
500
|
-
};
|
|
501
|
-
return response;
|
|
502
|
-
};
|
|
503
|
-
export const de_DeregisterOrganizationDelegatedAdminCommand = async (output, context) => {
|
|
504
|
-
if (output.statusCode >= 300) {
|
|
505
|
-
return de_CommandError(output, context);
|
|
506
|
-
}
|
|
507
|
-
const data = await parseBody(output.body, context);
|
|
508
|
-
let contents = {};
|
|
509
|
-
contents = _json(data);
|
|
510
|
-
const response = {
|
|
511
|
-
$metadata: deserializeMetadata(output),
|
|
512
|
-
...contents,
|
|
513
|
-
};
|
|
514
|
-
return response;
|
|
515
|
-
};
|
|
516
|
-
export const de_DescribeQueryCommand = async (output, context) => {
|
|
517
|
-
if (output.statusCode >= 300) {
|
|
518
|
-
return de_CommandError(output, context);
|
|
519
|
-
}
|
|
520
|
-
const data = await parseBody(output.body, context);
|
|
521
|
-
let contents = {};
|
|
522
|
-
contents = de_DescribeQueryResponse(data, context);
|
|
523
|
-
const response = {
|
|
524
|
-
$metadata: deserializeMetadata(output),
|
|
525
|
-
...contents,
|
|
526
|
-
};
|
|
527
|
-
return response;
|
|
528
|
-
};
|
|
529
|
-
export const de_DescribeTrailsCommand = async (output, context) => {
|
|
530
|
-
if (output.statusCode >= 300) {
|
|
531
|
-
return de_CommandError(output, context);
|
|
532
|
-
}
|
|
533
|
-
const data = await parseBody(output.body, context);
|
|
534
|
-
let contents = {};
|
|
535
|
-
contents = _json(data);
|
|
536
|
-
const response = {
|
|
537
|
-
$metadata: deserializeMetadata(output),
|
|
538
|
-
...contents,
|
|
539
|
-
};
|
|
540
|
-
return response;
|
|
541
|
-
};
|
|
542
|
-
export const de_DisableFederationCommand = async (output, context) => {
|
|
543
|
-
if (output.statusCode >= 300) {
|
|
544
|
-
return de_CommandError(output, context);
|
|
545
|
-
}
|
|
546
|
-
const data = await parseBody(output.body, context);
|
|
547
|
-
let contents = {};
|
|
548
|
-
contents = _json(data);
|
|
549
|
-
const response = {
|
|
550
|
-
$metadata: deserializeMetadata(output),
|
|
551
|
-
...contents,
|
|
552
|
-
};
|
|
553
|
-
return response;
|
|
554
|
-
};
|
|
555
|
-
export const de_EnableFederationCommand = async (output, context) => {
|
|
556
|
-
if (output.statusCode >= 300) {
|
|
557
|
-
return de_CommandError(output, context);
|
|
558
|
-
}
|
|
559
|
-
const data = await parseBody(output.body, context);
|
|
560
|
-
let contents = {};
|
|
561
|
-
contents = _json(data);
|
|
562
|
-
const response = {
|
|
563
|
-
$metadata: deserializeMetadata(output),
|
|
564
|
-
...contents,
|
|
565
|
-
};
|
|
566
|
-
return response;
|
|
567
|
-
};
|
|
568
|
-
export const de_GenerateQueryCommand = async (output, context) => {
|
|
569
|
-
if (output.statusCode >= 300) {
|
|
570
|
-
return de_CommandError(output, context);
|
|
571
|
-
}
|
|
572
|
-
const data = await parseBody(output.body, context);
|
|
573
|
-
let contents = {};
|
|
574
|
-
contents = _json(data);
|
|
575
|
-
const response = {
|
|
576
|
-
$metadata: deserializeMetadata(output),
|
|
577
|
-
...contents,
|
|
578
|
-
};
|
|
579
|
-
return response;
|
|
580
|
-
};
|
|
581
|
-
export const de_GetChannelCommand = async (output, context) => {
|
|
582
|
-
if (output.statusCode >= 300) {
|
|
583
|
-
return de_CommandError(output, context);
|
|
584
|
-
}
|
|
585
|
-
const data = await parseBody(output.body, context);
|
|
586
|
-
let contents = {};
|
|
587
|
-
contents = de_GetChannelResponse(data, context);
|
|
588
|
-
const response = {
|
|
589
|
-
$metadata: deserializeMetadata(output),
|
|
590
|
-
...contents,
|
|
591
|
-
};
|
|
592
|
-
return response;
|
|
593
|
-
};
|
|
594
|
-
export const de_GetDashboardCommand = async (output, context) => {
|
|
595
|
-
if (output.statusCode >= 300) {
|
|
596
|
-
return de_CommandError(output, context);
|
|
597
|
-
}
|
|
598
|
-
const data = await parseBody(output.body, context);
|
|
599
|
-
let contents = {};
|
|
600
|
-
contents = de_GetDashboardResponse(data, context);
|
|
601
|
-
const response = {
|
|
602
|
-
$metadata: deserializeMetadata(output),
|
|
603
|
-
...contents,
|
|
604
|
-
};
|
|
605
|
-
return response;
|
|
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
|
-
};
|
|
620
|
-
export const de_GetEventDataStoreCommand = async (output, context) => {
|
|
621
|
-
if (output.statusCode >= 300) {
|
|
622
|
-
return de_CommandError(output, context);
|
|
623
|
-
}
|
|
624
|
-
const data = await parseBody(output.body, context);
|
|
625
|
-
let contents = {};
|
|
626
|
-
contents = de_GetEventDataStoreResponse(data, context);
|
|
627
|
-
const response = {
|
|
628
|
-
$metadata: deserializeMetadata(output),
|
|
629
|
-
...contents,
|
|
630
|
-
};
|
|
631
|
-
return response;
|
|
632
|
-
};
|
|
633
|
-
export const de_GetEventSelectorsCommand = async (output, context) => {
|
|
634
|
-
if (output.statusCode >= 300) {
|
|
635
|
-
return de_CommandError(output, context);
|
|
636
|
-
}
|
|
637
|
-
const data = await parseBody(output.body, context);
|
|
638
|
-
let contents = {};
|
|
639
|
-
contents = _json(data);
|
|
640
|
-
const response = {
|
|
641
|
-
$metadata: deserializeMetadata(output),
|
|
642
|
-
...contents,
|
|
643
|
-
};
|
|
644
|
-
return response;
|
|
645
|
-
};
|
|
646
|
-
export const de_GetImportCommand = async (output, context) => {
|
|
647
|
-
if (output.statusCode >= 300) {
|
|
648
|
-
return de_CommandError(output, context);
|
|
649
|
-
}
|
|
650
|
-
const data = await parseBody(output.body, context);
|
|
651
|
-
let contents = {};
|
|
652
|
-
contents = de_GetImportResponse(data, context);
|
|
653
|
-
const response = {
|
|
654
|
-
$metadata: deserializeMetadata(output),
|
|
655
|
-
...contents,
|
|
656
|
-
};
|
|
657
|
-
return response;
|
|
658
|
-
};
|
|
659
|
-
export const de_GetInsightSelectorsCommand = async (output, context) => {
|
|
660
|
-
if (output.statusCode >= 300) {
|
|
661
|
-
return de_CommandError(output, context);
|
|
662
|
-
}
|
|
663
|
-
const data = await parseBody(output.body, context);
|
|
664
|
-
let contents = {};
|
|
665
|
-
contents = _json(data);
|
|
666
|
-
const response = {
|
|
667
|
-
$metadata: deserializeMetadata(output),
|
|
668
|
-
...contents,
|
|
669
|
-
};
|
|
670
|
-
return response;
|
|
671
|
-
};
|
|
672
|
-
export const de_GetQueryResultsCommand = async (output, context) => {
|
|
673
|
-
if (output.statusCode >= 300) {
|
|
674
|
-
return de_CommandError(output, context);
|
|
675
|
-
}
|
|
676
|
-
const data = await parseBody(output.body, context);
|
|
677
|
-
let contents = {};
|
|
678
|
-
contents = _json(data);
|
|
679
|
-
const response = {
|
|
680
|
-
$metadata: deserializeMetadata(output),
|
|
681
|
-
...contents,
|
|
682
|
-
};
|
|
683
|
-
return response;
|
|
684
|
-
};
|
|
685
|
-
export const de_GetResourcePolicyCommand = async (output, context) => {
|
|
686
|
-
if (output.statusCode >= 300) {
|
|
687
|
-
return de_CommandError(output, context);
|
|
688
|
-
}
|
|
689
|
-
const data = await parseBody(output.body, context);
|
|
690
|
-
let contents = {};
|
|
691
|
-
contents = _json(data);
|
|
692
|
-
const response = {
|
|
693
|
-
$metadata: deserializeMetadata(output),
|
|
694
|
-
...contents,
|
|
695
|
-
};
|
|
696
|
-
return response;
|
|
697
|
-
};
|
|
698
|
-
export const de_GetTrailCommand = async (output, context) => {
|
|
699
|
-
if (output.statusCode >= 300) {
|
|
700
|
-
return de_CommandError(output, context);
|
|
701
|
-
}
|
|
702
|
-
const data = await parseBody(output.body, context);
|
|
703
|
-
let contents = {};
|
|
704
|
-
contents = _json(data);
|
|
705
|
-
const response = {
|
|
706
|
-
$metadata: deserializeMetadata(output),
|
|
707
|
-
...contents,
|
|
708
|
-
};
|
|
709
|
-
return response;
|
|
710
|
-
};
|
|
711
|
-
export const de_GetTrailStatusCommand = async (output, context) => {
|
|
712
|
-
if (output.statusCode >= 300) {
|
|
713
|
-
return de_CommandError(output, context);
|
|
714
|
-
}
|
|
715
|
-
const data = await parseBody(output.body, context);
|
|
716
|
-
let contents = {};
|
|
717
|
-
contents = de_GetTrailStatusResponse(data, context);
|
|
718
|
-
const response = {
|
|
719
|
-
$metadata: deserializeMetadata(output),
|
|
720
|
-
...contents,
|
|
721
|
-
};
|
|
722
|
-
return response;
|
|
723
|
-
};
|
|
724
|
-
export const de_ListChannelsCommand = async (output, context) => {
|
|
725
|
-
if (output.statusCode >= 300) {
|
|
726
|
-
return de_CommandError(output, context);
|
|
727
|
-
}
|
|
728
|
-
const data = await parseBody(output.body, context);
|
|
729
|
-
let contents = {};
|
|
730
|
-
contents = _json(data);
|
|
731
|
-
const response = {
|
|
732
|
-
$metadata: deserializeMetadata(output),
|
|
733
|
-
...contents,
|
|
734
|
-
};
|
|
735
|
-
return response;
|
|
736
|
-
};
|
|
737
|
-
export const de_ListDashboardsCommand = async (output, context) => {
|
|
738
|
-
if (output.statusCode >= 300) {
|
|
739
|
-
return de_CommandError(output, context);
|
|
740
|
-
}
|
|
741
|
-
const data = await parseBody(output.body, context);
|
|
742
|
-
let contents = {};
|
|
743
|
-
contents = _json(data);
|
|
744
|
-
const response = {
|
|
745
|
-
$metadata: deserializeMetadata(output),
|
|
746
|
-
...contents,
|
|
747
|
-
};
|
|
748
|
-
return response;
|
|
749
|
-
};
|
|
750
|
-
export const de_ListEventDataStoresCommand = async (output, context) => {
|
|
751
|
-
if (output.statusCode >= 300) {
|
|
752
|
-
return de_CommandError(output, context);
|
|
753
|
-
}
|
|
754
|
-
const data = await parseBody(output.body, context);
|
|
755
|
-
let contents = {};
|
|
756
|
-
contents = de_ListEventDataStoresResponse(data, context);
|
|
757
|
-
const response = {
|
|
758
|
-
$metadata: deserializeMetadata(output),
|
|
759
|
-
...contents,
|
|
760
|
-
};
|
|
761
|
-
return response;
|
|
762
|
-
};
|
|
763
|
-
export const de_ListImportFailuresCommand = async (output, context) => {
|
|
764
|
-
if (output.statusCode >= 300) {
|
|
765
|
-
return de_CommandError(output, context);
|
|
766
|
-
}
|
|
767
|
-
const data = await parseBody(output.body, context);
|
|
768
|
-
let contents = {};
|
|
769
|
-
contents = de_ListImportFailuresResponse(data, context);
|
|
770
|
-
const response = {
|
|
771
|
-
$metadata: deserializeMetadata(output),
|
|
772
|
-
...contents,
|
|
773
|
-
};
|
|
774
|
-
return response;
|
|
775
|
-
};
|
|
776
|
-
export const de_ListImportsCommand = async (output, context) => {
|
|
777
|
-
if (output.statusCode >= 300) {
|
|
778
|
-
return de_CommandError(output, context);
|
|
779
|
-
}
|
|
780
|
-
const data = await parseBody(output.body, context);
|
|
781
|
-
let contents = {};
|
|
782
|
-
contents = de_ListImportsResponse(data, context);
|
|
783
|
-
const response = {
|
|
784
|
-
$metadata: deserializeMetadata(output),
|
|
785
|
-
...contents,
|
|
786
|
-
};
|
|
787
|
-
return response;
|
|
788
|
-
};
|
|
789
|
-
export const de_ListInsightsMetricDataCommand = async (output, context) => {
|
|
790
|
-
if (output.statusCode >= 300) {
|
|
791
|
-
return de_CommandError(output, context);
|
|
792
|
-
}
|
|
793
|
-
const data = await parseBody(output.body, context);
|
|
794
|
-
let contents = {};
|
|
795
|
-
contents = de_ListInsightsMetricDataResponse(data, context);
|
|
796
|
-
const response = {
|
|
797
|
-
$metadata: deserializeMetadata(output),
|
|
798
|
-
...contents,
|
|
799
|
-
};
|
|
800
|
-
return response;
|
|
801
|
-
};
|
|
802
|
-
export const de_ListPublicKeysCommand = async (output, context) => {
|
|
803
|
-
if (output.statusCode >= 300) {
|
|
804
|
-
return de_CommandError(output, context);
|
|
805
|
-
}
|
|
806
|
-
const data = await parseBody(output.body, context);
|
|
807
|
-
let contents = {};
|
|
808
|
-
contents = de_ListPublicKeysResponse(data, context);
|
|
809
|
-
const response = {
|
|
810
|
-
$metadata: deserializeMetadata(output),
|
|
811
|
-
...contents,
|
|
812
|
-
};
|
|
813
|
-
return response;
|
|
814
|
-
};
|
|
815
|
-
export const de_ListQueriesCommand = async (output, context) => {
|
|
816
|
-
if (output.statusCode >= 300) {
|
|
817
|
-
return de_CommandError(output, context);
|
|
818
|
-
}
|
|
819
|
-
const data = await parseBody(output.body, context);
|
|
820
|
-
let contents = {};
|
|
821
|
-
contents = de_ListQueriesResponse(data, context);
|
|
822
|
-
const response = {
|
|
823
|
-
$metadata: deserializeMetadata(output),
|
|
824
|
-
...contents,
|
|
825
|
-
};
|
|
826
|
-
return response;
|
|
827
|
-
};
|
|
828
|
-
export const de_ListTagsCommand = async (output, context) => {
|
|
829
|
-
if (output.statusCode >= 300) {
|
|
830
|
-
return de_CommandError(output, context);
|
|
831
|
-
}
|
|
832
|
-
const data = await parseBody(output.body, context);
|
|
833
|
-
let contents = {};
|
|
834
|
-
contents = _json(data);
|
|
835
|
-
const response = {
|
|
836
|
-
$metadata: deserializeMetadata(output),
|
|
837
|
-
...contents,
|
|
838
|
-
};
|
|
839
|
-
return response;
|
|
840
|
-
};
|
|
841
|
-
export const de_ListTrailsCommand = async (output, context) => {
|
|
842
|
-
if (output.statusCode >= 300) {
|
|
843
|
-
return de_CommandError(output, context);
|
|
844
|
-
}
|
|
845
|
-
const data = await parseBody(output.body, context);
|
|
846
|
-
let contents = {};
|
|
847
|
-
contents = _json(data);
|
|
848
|
-
const response = {
|
|
849
|
-
$metadata: deserializeMetadata(output),
|
|
850
|
-
...contents,
|
|
851
|
-
};
|
|
852
|
-
return response;
|
|
853
|
-
};
|
|
854
|
-
export const de_LookupEventsCommand = async (output, context) => {
|
|
855
|
-
if (output.statusCode >= 300) {
|
|
856
|
-
return de_CommandError(output, context);
|
|
857
|
-
}
|
|
858
|
-
const data = await parseBody(output.body, context);
|
|
859
|
-
let contents = {};
|
|
860
|
-
contents = de_LookupEventsResponse(data, context);
|
|
861
|
-
const response = {
|
|
862
|
-
$metadata: deserializeMetadata(output),
|
|
863
|
-
...contents,
|
|
864
|
-
};
|
|
865
|
-
return response;
|
|
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
|
-
};
|
|
880
|
-
export const de_PutEventSelectorsCommand = async (output, context) => {
|
|
881
|
-
if (output.statusCode >= 300) {
|
|
882
|
-
return de_CommandError(output, context);
|
|
883
|
-
}
|
|
884
|
-
const data = await parseBody(output.body, context);
|
|
885
|
-
let contents = {};
|
|
886
|
-
contents = _json(data);
|
|
887
|
-
const response = {
|
|
888
|
-
$metadata: deserializeMetadata(output),
|
|
889
|
-
...contents,
|
|
890
|
-
};
|
|
891
|
-
return response;
|
|
892
|
-
};
|
|
893
|
-
export const de_PutInsightSelectorsCommand = async (output, context) => {
|
|
894
|
-
if (output.statusCode >= 300) {
|
|
895
|
-
return de_CommandError(output, context);
|
|
896
|
-
}
|
|
897
|
-
const data = await parseBody(output.body, context);
|
|
898
|
-
let contents = {};
|
|
899
|
-
contents = _json(data);
|
|
900
|
-
const response = {
|
|
901
|
-
$metadata: deserializeMetadata(output),
|
|
902
|
-
...contents,
|
|
903
|
-
};
|
|
904
|
-
return response;
|
|
905
|
-
};
|
|
906
|
-
export const de_PutResourcePolicyCommand = async (output, context) => {
|
|
907
|
-
if (output.statusCode >= 300) {
|
|
908
|
-
return de_CommandError(output, context);
|
|
909
|
-
}
|
|
910
|
-
const data = await parseBody(output.body, context);
|
|
911
|
-
let contents = {};
|
|
912
|
-
contents = _json(data);
|
|
913
|
-
const response = {
|
|
914
|
-
$metadata: deserializeMetadata(output),
|
|
915
|
-
...contents,
|
|
916
|
-
};
|
|
917
|
-
return response;
|
|
918
|
-
};
|
|
919
|
-
export const de_RegisterOrganizationDelegatedAdminCommand = async (output, context) => {
|
|
920
|
-
if (output.statusCode >= 300) {
|
|
921
|
-
return de_CommandError(output, context);
|
|
922
|
-
}
|
|
923
|
-
const data = await parseBody(output.body, context);
|
|
924
|
-
let contents = {};
|
|
925
|
-
contents = _json(data);
|
|
926
|
-
const response = {
|
|
927
|
-
$metadata: deserializeMetadata(output),
|
|
928
|
-
...contents,
|
|
929
|
-
};
|
|
930
|
-
return response;
|
|
931
|
-
};
|
|
932
|
-
export const de_RemoveTagsCommand = async (output, context) => {
|
|
933
|
-
if (output.statusCode >= 300) {
|
|
934
|
-
return de_CommandError(output, context);
|
|
935
|
-
}
|
|
936
|
-
const data = await parseBody(output.body, context);
|
|
937
|
-
let contents = {};
|
|
938
|
-
contents = _json(data);
|
|
939
|
-
const response = {
|
|
940
|
-
$metadata: deserializeMetadata(output),
|
|
941
|
-
...contents,
|
|
942
|
-
};
|
|
943
|
-
return response;
|
|
944
|
-
};
|
|
945
|
-
export const de_RestoreEventDataStoreCommand = async (output, context) => {
|
|
946
|
-
if (output.statusCode >= 300) {
|
|
947
|
-
return de_CommandError(output, context);
|
|
948
|
-
}
|
|
949
|
-
const data = await parseBody(output.body, context);
|
|
950
|
-
let contents = {};
|
|
951
|
-
contents = de_RestoreEventDataStoreResponse(data, context);
|
|
952
|
-
const response = {
|
|
953
|
-
$metadata: deserializeMetadata(output),
|
|
954
|
-
...contents,
|
|
955
|
-
};
|
|
956
|
-
return response;
|
|
957
|
-
};
|
|
958
|
-
export const de_SearchSampleQueriesCommand = async (output, context) => {
|
|
959
|
-
if (output.statusCode >= 300) {
|
|
960
|
-
return de_CommandError(output, context);
|
|
961
|
-
}
|
|
962
|
-
const data = await parseBody(output.body, context);
|
|
963
|
-
let contents = {};
|
|
964
|
-
contents = de_SearchSampleQueriesResponse(data, context);
|
|
965
|
-
const response = {
|
|
966
|
-
$metadata: deserializeMetadata(output),
|
|
967
|
-
...contents,
|
|
968
|
-
};
|
|
969
|
-
return response;
|
|
970
|
-
};
|
|
971
|
-
export const de_StartDashboardRefreshCommand = async (output, context) => {
|
|
972
|
-
if (output.statusCode >= 300) {
|
|
973
|
-
return de_CommandError(output, context);
|
|
974
|
-
}
|
|
975
|
-
const data = await parseBody(output.body, context);
|
|
976
|
-
let contents = {};
|
|
977
|
-
contents = _json(data);
|
|
978
|
-
const response = {
|
|
979
|
-
$metadata: deserializeMetadata(output),
|
|
980
|
-
...contents,
|
|
981
|
-
};
|
|
982
|
-
return response;
|
|
983
|
-
};
|
|
984
|
-
export const de_StartEventDataStoreIngestionCommand = async (output, context) => {
|
|
985
|
-
if (output.statusCode >= 300) {
|
|
986
|
-
return de_CommandError(output, context);
|
|
987
|
-
}
|
|
988
|
-
const data = await parseBody(output.body, context);
|
|
989
|
-
let contents = {};
|
|
990
|
-
contents = _json(data);
|
|
991
|
-
const response = {
|
|
992
|
-
$metadata: deserializeMetadata(output),
|
|
993
|
-
...contents,
|
|
994
|
-
};
|
|
995
|
-
return response;
|
|
996
|
-
};
|
|
997
|
-
export const de_StartImportCommand = async (output, context) => {
|
|
998
|
-
if (output.statusCode >= 300) {
|
|
999
|
-
return de_CommandError(output, context);
|
|
1000
|
-
}
|
|
1001
|
-
const data = await parseBody(output.body, context);
|
|
1002
|
-
let contents = {};
|
|
1003
|
-
contents = de_StartImportResponse(data, context);
|
|
1004
|
-
const response = {
|
|
1005
|
-
$metadata: deserializeMetadata(output),
|
|
1006
|
-
...contents,
|
|
1007
|
-
};
|
|
1008
|
-
return response;
|
|
1009
|
-
};
|
|
1010
|
-
export const de_StartLoggingCommand = async (output, context) => {
|
|
1011
|
-
if (output.statusCode >= 300) {
|
|
1012
|
-
return de_CommandError(output, context);
|
|
1013
|
-
}
|
|
1014
|
-
const data = await parseBody(output.body, context);
|
|
1015
|
-
let contents = {};
|
|
1016
|
-
contents = _json(data);
|
|
1017
|
-
const response = {
|
|
1018
|
-
$metadata: deserializeMetadata(output),
|
|
1019
|
-
...contents,
|
|
1020
|
-
};
|
|
1021
|
-
return response;
|
|
1022
|
-
};
|
|
1023
|
-
export const de_StartQueryCommand = async (output, context) => {
|
|
1024
|
-
if (output.statusCode >= 300) {
|
|
1025
|
-
return de_CommandError(output, context);
|
|
1026
|
-
}
|
|
1027
|
-
const data = await parseBody(output.body, context);
|
|
1028
|
-
let contents = {};
|
|
1029
|
-
contents = _json(data);
|
|
1030
|
-
const response = {
|
|
1031
|
-
$metadata: deserializeMetadata(output),
|
|
1032
|
-
...contents,
|
|
1033
|
-
};
|
|
1034
|
-
return response;
|
|
1035
|
-
};
|
|
1036
|
-
export const de_StopEventDataStoreIngestionCommand = async (output, context) => {
|
|
1037
|
-
if (output.statusCode >= 300) {
|
|
1038
|
-
return de_CommandError(output, context);
|
|
1039
|
-
}
|
|
1040
|
-
const data = await parseBody(output.body, context);
|
|
1041
|
-
let contents = {};
|
|
1042
|
-
contents = _json(data);
|
|
1043
|
-
const response = {
|
|
1044
|
-
$metadata: deserializeMetadata(output),
|
|
1045
|
-
...contents,
|
|
1046
|
-
};
|
|
1047
|
-
return response;
|
|
1048
|
-
};
|
|
1049
|
-
export const de_StopImportCommand = async (output, context) => {
|
|
1050
|
-
if (output.statusCode >= 300) {
|
|
1051
|
-
return de_CommandError(output, context);
|
|
1052
|
-
}
|
|
1053
|
-
const data = await parseBody(output.body, context);
|
|
1054
|
-
let contents = {};
|
|
1055
|
-
contents = de_StopImportResponse(data, context);
|
|
1056
|
-
const response = {
|
|
1057
|
-
$metadata: deserializeMetadata(output),
|
|
1058
|
-
...contents,
|
|
1059
|
-
};
|
|
1060
|
-
return response;
|
|
1061
|
-
};
|
|
1062
|
-
export const de_StopLoggingCommand = async (output, context) => {
|
|
1063
|
-
if (output.statusCode >= 300) {
|
|
1064
|
-
return de_CommandError(output, context);
|
|
1065
|
-
}
|
|
1066
|
-
const data = await parseBody(output.body, context);
|
|
1067
|
-
let contents = {};
|
|
1068
|
-
contents = _json(data);
|
|
1069
|
-
const response = {
|
|
1070
|
-
$metadata: deserializeMetadata(output),
|
|
1071
|
-
...contents,
|
|
1072
|
-
};
|
|
1073
|
-
return response;
|
|
1074
|
-
};
|
|
1075
|
-
export const de_UpdateChannelCommand = async (output, context) => {
|
|
1076
|
-
if (output.statusCode >= 300) {
|
|
1077
|
-
return de_CommandError(output, context);
|
|
1078
|
-
}
|
|
1079
|
-
const data = await parseBody(output.body, context);
|
|
1080
|
-
let contents = {};
|
|
1081
|
-
contents = _json(data);
|
|
1082
|
-
const response = {
|
|
1083
|
-
$metadata: deserializeMetadata(output),
|
|
1084
|
-
...contents,
|
|
1085
|
-
};
|
|
1086
|
-
return response;
|
|
1087
|
-
};
|
|
1088
|
-
export const de_UpdateDashboardCommand = async (output, context) => {
|
|
1089
|
-
if (output.statusCode >= 300) {
|
|
1090
|
-
return de_CommandError(output, context);
|
|
1091
|
-
}
|
|
1092
|
-
const data = await parseBody(output.body, context);
|
|
1093
|
-
let contents = {};
|
|
1094
|
-
contents = de_UpdateDashboardResponse(data, context);
|
|
1095
|
-
const response = {
|
|
1096
|
-
$metadata: deserializeMetadata(output),
|
|
1097
|
-
...contents,
|
|
1098
|
-
};
|
|
1099
|
-
return response;
|
|
1100
|
-
};
|
|
1101
|
-
export const de_UpdateEventDataStoreCommand = async (output, context) => {
|
|
1102
|
-
if (output.statusCode >= 300) {
|
|
1103
|
-
return de_CommandError(output, context);
|
|
1104
|
-
}
|
|
1105
|
-
const data = await parseBody(output.body, context);
|
|
1106
|
-
let contents = {};
|
|
1107
|
-
contents = de_UpdateEventDataStoreResponse(data, context);
|
|
1108
|
-
const response = {
|
|
1109
|
-
$metadata: deserializeMetadata(output),
|
|
1110
|
-
...contents,
|
|
1111
|
-
};
|
|
1112
|
-
return response;
|
|
1113
|
-
};
|
|
1114
|
-
export const de_UpdateTrailCommand = async (output, context) => {
|
|
1115
|
-
if (output.statusCode >= 300) {
|
|
1116
|
-
return de_CommandError(output, context);
|
|
1117
|
-
}
|
|
1118
|
-
const data = await parseBody(output.body, context);
|
|
1119
|
-
let contents = {};
|
|
1120
|
-
contents = _json(data);
|
|
1121
|
-
const response = {
|
|
1122
|
-
$metadata: deserializeMetadata(output),
|
|
1123
|
-
...contents,
|
|
1124
|
-
};
|
|
1125
|
-
return response;
|
|
1126
|
-
};
|
|
1127
|
-
const de_CommandError = async (output, context) => {
|
|
1128
|
-
const parsedOutput = {
|
|
1129
|
-
...output,
|
|
1130
|
-
body: await parseErrorBody(output.body, context),
|
|
1131
|
-
};
|
|
1132
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1133
|
-
switch (errorCode) {
|
|
1134
|
-
case "ChannelARNInvalidException":
|
|
1135
|
-
case "com.amazonaws.cloudtrail#ChannelARNInvalidException":
|
|
1136
|
-
throw await de_ChannelARNInvalidExceptionRes(parsedOutput, context);
|
|
1137
|
-
case "ChannelNotFoundException":
|
|
1138
|
-
case "com.amazonaws.cloudtrail#ChannelNotFoundException":
|
|
1139
|
-
throw await de_ChannelNotFoundExceptionRes(parsedOutput, context);
|
|
1140
|
-
case "CloudTrailARNInvalidException":
|
|
1141
|
-
case "com.amazonaws.cloudtrail#CloudTrailARNInvalidException":
|
|
1142
|
-
throw await de_CloudTrailARNInvalidExceptionRes(parsedOutput, context);
|
|
1143
|
-
case "ConflictException":
|
|
1144
|
-
case "com.amazonaws.cloudtrail#ConflictException":
|
|
1145
|
-
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
1146
|
-
case "EventDataStoreARNInvalidException":
|
|
1147
|
-
case "com.amazonaws.cloudtrail#EventDataStoreARNInvalidException":
|
|
1148
|
-
throw await de_EventDataStoreARNInvalidExceptionRes(parsedOutput, context);
|
|
1149
|
-
case "EventDataStoreNotFoundException":
|
|
1150
|
-
case "com.amazonaws.cloudtrail#EventDataStoreNotFoundException":
|
|
1151
|
-
throw await de_EventDataStoreNotFoundExceptionRes(parsedOutput, context);
|
|
1152
|
-
case "InactiveEventDataStoreException":
|
|
1153
|
-
case "com.amazonaws.cloudtrail#InactiveEventDataStoreException":
|
|
1154
|
-
throw await de_InactiveEventDataStoreExceptionRes(parsedOutput, context);
|
|
1155
|
-
case "InvalidTagParameterException":
|
|
1156
|
-
case "com.amazonaws.cloudtrail#InvalidTagParameterException":
|
|
1157
|
-
throw await de_InvalidTagParameterExceptionRes(parsedOutput, context);
|
|
1158
|
-
case "InvalidTrailNameException":
|
|
1159
|
-
case "com.amazonaws.cloudtrail#InvalidTrailNameException":
|
|
1160
|
-
throw await de_InvalidTrailNameExceptionRes(parsedOutput, context);
|
|
1161
|
-
case "NoManagementAccountSLRExistsException":
|
|
1162
|
-
case "com.amazonaws.cloudtrail#NoManagementAccountSLRExistsException":
|
|
1163
|
-
throw await de_NoManagementAccountSLRExistsExceptionRes(parsedOutput, context);
|
|
1164
|
-
case "NotOrganizationMasterAccountException":
|
|
1165
|
-
case "com.amazonaws.cloudtrail#NotOrganizationMasterAccountException":
|
|
1166
|
-
throw await de_NotOrganizationMasterAccountExceptionRes(parsedOutput, context);
|
|
1167
|
-
case "OperationNotPermittedException":
|
|
1168
|
-
case "com.amazonaws.cloudtrail#OperationNotPermittedException":
|
|
1169
|
-
throw await de_OperationNotPermittedExceptionRes(parsedOutput, context);
|
|
1170
|
-
case "ResourceNotFoundException":
|
|
1171
|
-
case "com.amazonaws.cloudtrail#ResourceNotFoundException":
|
|
1172
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1173
|
-
case "ResourceTypeNotSupportedException":
|
|
1174
|
-
case "com.amazonaws.cloudtrail#ResourceTypeNotSupportedException":
|
|
1175
|
-
throw await de_ResourceTypeNotSupportedExceptionRes(parsedOutput, context);
|
|
1176
|
-
case "TagsLimitExceededException":
|
|
1177
|
-
case "com.amazonaws.cloudtrail#TagsLimitExceededException":
|
|
1178
|
-
throw await de_TagsLimitExceededExceptionRes(parsedOutput, context);
|
|
1179
|
-
case "UnsupportedOperationException":
|
|
1180
|
-
case "com.amazonaws.cloudtrail#UnsupportedOperationException":
|
|
1181
|
-
throw await de_UnsupportedOperationExceptionRes(parsedOutput, context);
|
|
1182
|
-
case "InactiveQueryException":
|
|
1183
|
-
case "com.amazonaws.cloudtrail#InactiveQueryException":
|
|
1184
|
-
throw await de_InactiveQueryExceptionRes(parsedOutput, context);
|
|
1185
|
-
case "InvalidParameterException":
|
|
1186
|
-
case "com.amazonaws.cloudtrail#InvalidParameterException":
|
|
1187
|
-
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
1188
|
-
case "QueryIdNotFoundException":
|
|
1189
|
-
case "com.amazonaws.cloudtrail#QueryIdNotFoundException":
|
|
1190
|
-
throw await de_QueryIdNotFoundExceptionRes(parsedOutput, context);
|
|
1191
|
-
case "ChannelAlreadyExistsException":
|
|
1192
|
-
case "com.amazonaws.cloudtrail#ChannelAlreadyExistsException":
|
|
1193
|
-
throw await de_ChannelAlreadyExistsExceptionRes(parsedOutput, context);
|
|
1194
|
-
case "ChannelMaxLimitExceededException":
|
|
1195
|
-
case "com.amazonaws.cloudtrail#ChannelMaxLimitExceededException":
|
|
1196
|
-
throw await de_ChannelMaxLimitExceededExceptionRes(parsedOutput, context);
|
|
1197
|
-
case "InvalidEventDataStoreCategoryException":
|
|
1198
|
-
case "com.amazonaws.cloudtrail#InvalidEventDataStoreCategoryException":
|
|
1199
|
-
throw await de_InvalidEventDataStoreCategoryExceptionRes(parsedOutput, context);
|
|
1200
|
-
case "InvalidSourceException":
|
|
1201
|
-
case "com.amazonaws.cloudtrail#InvalidSourceException":
|
|
1202
|
-
throw await de_InvalidSourceExceptionRes(parsedOutput, context);
|
|
1203
|
-
case "InsufficientEncryptionPolicyException":
|
|
1204
|
-
case "com.amazonaws.cloudtrail#InsufficientEncryptionPolicyException":
|
|
1205
|
-
throw await de_InsufficientEncryptionPolicyExceptionRes(parsedOutput, context);
|
|
1206
|
-
case "InvalidQueryStatementException":
|
|
1207
|
-
case "com.amazonaws.cloudtrail#InvalidQueryStatementException":
|
|
1208
|
-
throw await de_InvalidQueryStatementExceptionRes(parsedOutput, context);
|
|
1209
|
-
case "ServiceQuotaExceededException":
|
|
1210
|
-
case "com.amazonaws.cloudtrail#ServiceQuotaExceededException":
|
|
1211
|
-
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
1212
|
-
case "CloudTrailAccessNotEnabledException":
|
|
1213
|
-
case "com.amazonaws.cloudtrail#CloudTrailAccessNotEnabledException":
|
|
1214
|
-
throw await de_CloudTrailAccessNotEnabledExceptionRes(parsedOutput, context);
|
|
1215
|
-
case "EventDataStoreAlreadyExistsException":
|
|
1216
|
-
case "com.amazonaws.cloudtrail#EventDataStoreAlreadyExistsException":
|
|
1217
|
-
throw await de_EventDataStoreAlreadyExistsExceptionRes(parsedOutput, context);
|
|
1218
|
-
case "EventDataStoreMaxLimitExceededException":
|
|
1219
|
-
case "com.amazonaws.cloudtrail#EventDataStoreMaxLimitExceededException":
|
|
1220
|
-
throw await de_EventDataStoreMaxLimitExceededExceptionRes(parsedOutput, context);
|
|
1221
|
-
case "InsufficientDependencyServiceAccessPermissionException":
|
|
1222
|
-
case "com.amazonaws.cloudtrail#InsufficientDependencyServiceAccessPermissionException":
|
|
1223
|
-
throw await de_InsufficientDependencyServiceAccessPermissionExceptionRes(parsedOutput, context);
|
|
1224
|
-
case "InvalidEventSelectorsException":
|
|
1225
|
-
case "com.amazonaws.cloudtrail#InvalidEventSelectorsException":
|
|
1226
|
-
throw await de_InvalidEventSelectorsExceptionRes(parsedOutput, context);
|
|
1227
|
-
case "InvalidKmsKeyIdException":
|
|
1228
|
-
case "com.amazonaws.cloudtrail#InvalidKmsKeyIdException":
|
|
1229
|
-
throw await de_InvalidKmsKeyIdExceptionRes(parsedOutput, context);
|
|
1230
|
-
case "KmsException":
|
|
1231
|
-
case "com.amazonaws.cloudtrail#KmsException":
|
|
1232
|
-
throw await de_KmsExceptionRes(parsedOutput, context);
|
|
1233
|
-
case "KmsKeyNotFoundException":
|
|
1234
|
-
case "com.amazonaws.cloudtrail#KmsKeyNotFoundException":
|
|
1235
|
-
throw await de_KmsKeyNotFoundExceptionRes(parsedOutput, context);
|
|
1236
|
-
case "OrganizationNotInAllFeaturesModeException":
|
|
1237
|
-
case "com.amazonaws.cloudtrail#OrganizationNotInAllFeaturesModeException":
|
|
1238
|
-
throw await de_OrganizationNotInAllFeaturesModeExceptionRes(parsedOutput, context);
|
|
1239
|
-
case "OrganizationsNotInUseException":
|
|
1240
|
-
case "com.amazonaws.cloudtrail#OrganizationsNotInUseException":
|
|
1241
|
-
throw await de_OrganizationsNotInUseExceptionRes(parsedOutput, context);
|
|
1242
|
-
case "CloudTrailInvalidClientTokenIdException":
|
|
1243
|
-
case "com.amazonaws.cloudtrail#CloudTrailInvalidClientTokenIdException":
|
|
1244
|
-
throw await de_CloudTrailInvalidClientTokenIdExceptionRes(parsedOutput, context);
|
|
1245
|
-
case "CloudWatchLogsDeliveryUnavailableException":
|
|
1246
|
-
case "com.amazonaws.cloudtrail#CloudWatchLogsDeliveryUnavailableException":
|
|
1247
|
-
throw await de_CloudWatchLogsDeliveryUnavailableExceptionRes(parsedOutput, context);
|
|
1248
|
-
case "InsufficientS3BucketPolicyException":
|
|
1249
|
-
case "com.amazonaws.cloudtrail#InsufficientS3BucketPolicyException":
|
|
1250
|
-
throw await de_InsufficientS3BucketPolicyExceptionRes(parsedOutput, context);
|
|
1251
|
-
case "InsufficientSnsTopicPolicyException":
|
|
1252
|
-
case "com.amazonaws.cloudtrail#InsufficientSnsTopicPolicyException":
|
|
1253
|
-
throw await de_InsufficientSnsTopicPolicyExceptionRes(parsedOutput, context);
|
|
1254
|
-
case "InvalidCloudWatchLogsLogGroupArnException":
|
|
1255
|
-
case "com.amazonaws.cloudtrail#InvalidCloudWatchLogsLogGroupArnException":
|
|
1256
|
-
throw await de_InvalidCloudWatchLogsLogGroupArnExceptionRes(parsedOutput, context);
|
|
1257
|
-
case "InvalidCloudWatchLogsRoleArnException":
|
|
1258
|
-
case "com.amazonaws.cloudtrail#InvalidCloudWatchLogsRoleArnException":
|
|
1259
|
-
throw await de_InvalidCloudWatchLogsRoleArnExceptionRes(parsedOutput, context);
|
|
1260
|
-
case "InvalidParameterCombinationException":
|
|
1261
|
-
case "com.amazonaws.cloudtrail#InvalidParameterCombinationException":
|
|
1262
|
-
throw await de_InvalidParameterCombinationExceptionRes(parsedOutput, context);
|
|
1263
|
-
case "InvalidS3BucketNameException":
|
|
1264
|
-
case "com.amazonaws.cloudtrail#InvalidS3BucketNameException":
|
|
1265
|
-
throw await de_InvalidS3BucketNameExceptionRes(parsedOutput, context);
|
|
1266
|
-
case "InvalidS3PrefixException":
|
|
1267
|
-
case "com.amazonaws.cloudtrail#InvalidS3PrefixException":
|
|
1268
|
-
throw await de_InvalidS3PrefixExceptionRes(parsedOutput, context);
|
|
1269
|
-
case "InvalidSnsTopicNameException":
|
|
1270
|
-
case "com.amazonaws.cloudtrail#InvalidSnsTopicNameException":
|
|
1271
|
-
throw await de_InvalidSnsTopicNameExceptionRes(parsedOutput, context);
|
|
1272
|
-
case "KmsKeyDisabledException":
|
|
1273
|
-
case "com.amazonaws.cloudtrail#KmsKeyDisabledException":
|
|
1274
|
-
throw await de_KmsKeyDisabledExceptionRes(parsedOutput, context);
|
|
1275
|
-
case "MaximumNumberOfTrailsExceededException":
|
|
1276
|
-
case "com.amazonaws.cloudtrail#MaximumNumberOfTrailsExceededException":
|
|
1277
|
-
throw await de_MaximumNumberOfTrailsExceededExceptionRes(parsedOutput, context);
|
|
1278
|
-
case "S3BucketDoesNotExistException":
|
|
1279
|
-
case "com.amazonaws.cloudtrail#S3BucketDoesNotExistException":
|
|
1280
|
-
throw await de_S3BucketDoesNotExistExceptionRes(parsedOutput, context);
|
|
1281
|
-
case "ThrottlingException":
|
|
1282
|
-
case "com.amazonaws.cloudtrail#ThrottlingException":
|
|
1283
|
-
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1284
|
-
case "TrailAlreadyExistsException":
|
|
1285
|
-
case "com.amazonaws.cloudtrail#TrailAlreadyExistsException":
|
|
1286
|
-
throw await de_TrailAlreadyExistsExceptionRes(parsedOutput, context);
|
|
1287
|
-
case "TrailNotProvidedException":
|
|
1288
|
-
case "com.amazonaws.cloudtrail#TrailNotProvidedException":
|
|
1289
|
-
throw await de_TrailNotProvidedExceptionRes(parsedOutput, context);
|
|
1290
|
-
case "ChannelExistsForEDSException":
|
|
1291
|
-
case "com.amazonaws.cloudtrail#ChannelExistsForEDSException":
|
|
1292
|
-
throw await de_ChannelExistsForEDSExceptionRes(parsedOutput, context);
|
|
1293
|
-
case "EventDataStoreFederationEnabledException":
|
|
1294
|
-
case "com.amazonaws.cloudtrail#EventDataStoreFederationEnabledException":
|
|
1295
|
-
throw await de_EventDataStoreFederationEnabledExceptionRes(parsedOutput, context);
|
|
1296
|
-
case "EventDataStoreHasOngoingImportException":
|
|
1297
|
-
case "com.amazonaws.cloudtrail#EventDataStoreHasOngoingImportException":
|
|
1298
|
-
throw await de_EventDataStoreHasOngoingImportExceptionRes(parsedOutput, context);
|
|
1299
|
-
case "EventDataStoreTerminationProtectedException":
|
|
1300
|
-
case "com.amazonaws.cloudtrail#EventDataStoreTerminationProtectedException":
|
|
1301
|
-
throw await de_EventDataStoreTerminationProtectedExceptionRes(parsedOutput, context);
|
|
1302
|
-
case "ResourceARNNotValidException":
|
|
1303
|
-
case "com.amazonaws.cloudtrail#ResourceARNNotValidException":
|
|
1304
|
-
throw await de_ResourceARNNotValidExceptionRes(parsedOutput, context);
|
|
1305
|
-
case "ResourcePolicyNotFoundException":
|
|
1306
|
-
case "com.amazonaws.cloudtrail#ResourcePolicyNotFoundException":
|
|
1307
|
-
throw await de_ResourcePolicyNotFoundExceptionRes(parsedOutput, context);
|
|
1308
|
-
case "InvalidHomeRegionException":
|
|
1309
|
-
case "com.amazonaws.cloudtrail#InvalidHomeRegionException":
|
|
1310
|
-
throw await de_InvalidHomeRegionExceptionRes(parsedOutput, context);
|
|
1311
|
-
case "TrailNotFoundException":
|
|
1312
|
-
case "com.amazonaws.cloudtrail#TrailNotFoundException":
|
|
1313
|
-
throw await de_TrailNotFoundExceptionRes(parsedOutput, context);
|
|
1314
|
-
case "AccountNotFoundException":
|
|
1315
|
-
case "com.amazonaws.cloudtrail#AccountNotFoundException":
|
|
1316
|
-
throw await de_AccountNotFoundExceptionRes(parsedOutput, context);
|
|
1317
|
-
case "AccountNotRegisteredException":
|
|
1318
|
-
case "com.amazonaws.cloudtrail#AccountNotRegisteredException":
|
|
1319
|
-
throw await de_AccountNotRegisteredExceptionRes(parsedOutput, context);
|
|
1320
|
-
case "NotOrganizationManagementAccountException":
|
|
1321
|
-
case "com.amazonaws.cloudtrail#NotOrganizationManagementAccountException":
|
|
1322
|
-
throw await de_NotOrganizationManagementAccountExceptionRes(parsedOutput, context);
|
|
1323
|
-
case "AccessDeniedException":
|
|
1324
|
-
case "com.amazonaws.cloudtrail#AccessDeniedException":
|
|
1325
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1326
|
-
case "ConcurrentModificationException":
|
|
1327
|
-
case "com.amazonaws.cloudtrail#ConcurrentModificationException":
|
|
1328
|
-
throw await de_ConcurrentModificationExceptionRes(parsedOutput, context);
|
|
1329
|
-
case "GenerateResponseException":
|
|
1330
|
-
case "com.amazonaws.cloudtrail#GenerateResponseException":
|
|
1331
|
-
throw await de_GenerateResponseExceptionRes(parsedOutput, context);
|
|
1332
|
-
case "InvalidEventDataStoreStatusException":
|
|
1333
|
-
case "com.amazonaws.cloudtrail#InvalidEventDataStoreStatusException":
|
|
1334
|
-
throw await de_InvalidEventDataStoreStatusExceptionRes(parsedOutput, context);
|
|
1335
|
-
case "ImportNotFoundException":
|
|
1336
|
-
case "com.amazonaws.cloudtrail#ImportNotFoundException":
|
|
1337
|
-
throw await de_ImportNotFoundExceptionRes(parsedOutput, context);
|
|
1338
|
-
case "InsightNotEnabledException":
|
|
1339
|
-
case "com.amazonaws.cloudtrail#InsightNotEnabledException":
|
|
1340
|
-
throw await de_InsightNotEnabledExceptionRes(parsedOutput, context);
|
|
1341
|
-
case "InvalidMaxResultsException":
|
|
1342
|
-
case "com.amazonaws.cloudtrail#InvalidMaxResultsException":
|
|
1343
|
-
throw await de_InvalidMaxResultsExceptionRes(parsedOutput, context);
|
|
1344
|
-
case "InvalidNextTokenException":
|
|
1345
|
-
case "com.amazonaws.cloudtrail#InvalidNextTokenException":
|
|
1346
|
-
throw await de_InvalidNextTokenExceptionRes(parsedOutput, context);
|
|
1347
|
-
case "InvalidTimeRangeException":
|
|
1348
|
-
case "com.amazonaws.cloudtrail#InvalidTimeRangeException":
|
|
1349
|
-
throw await de_InvalidTimeRangeExceptionRes(parsedOutput, context);
|
|
1350
|
-
case "InvalidTokenException":
|
|
1351
|
-
case "com.amazonaws.cloudtrail#InvalidTokenException":
|
|
1352
|
-
throw await de_InvalidTokenExceptionRes(parsedOutput, context);
|
|
1353
|
-
case "InvalidDateRangeException":
|
|
1354
|
-
case "com.amazonaws.cloudtrail#InvalidDateRangeException":
|
|
1355
|
-
throw await de_InvalidDateRangeExceptionRes(parsedOutput, context);
|
|
1356
|
-
case "InvalidQueryStatusException":
|
|
1357
|
-
case "com.amazonaws.cloudtrail#InvalidQueryStatusException":
|
|
1358
|
-
throw await de_InvalidQueryStatusExceptionRes(parsedOutput, context);
|
|
1359
|
-
case "InvalidEventCategoryException":
|
|
1360
|
-
case "com.amazonaws.cloudtrail#InvalidEventCategoryException":
|
|
1361
|
-
throw await de_InvalidEventCategoryExceptionRes(parsedOutput, context);
|
|
1362
|
-
case "InvalidLookupAttributesException":
|
|
1363
|
-
case "com.amazonaws.cloudtrail#InvalidLookupAttributesException":
|
|
1364
|
-
throw await de_InvalidLookupAttributesExceptionRes(parsedOutput, context);
|
|
1365
|
-
case "InsufficientIAMAccessPermissionException":
|
|
1366
|
-
case "com.amazonaws.cloudtrail#InsufficientIAMAccessPermissionException":
|
|
1367
|
-
throw await de_InsufficientIAMAccessPermissionExceptionRes(parsedOutput, context);
|
|
1368
|
-
case "InvalidInsightSelectorsException":
|
|
1369
|
-
case "com.amazonaws.cloudtrail#InvalidInsightSelectorsException":
|
|
1370
|
-
throw await de_InvalidInsightSelectorsExceptionRes(parsedOutput, context);
|
|
1371
|
-
case "ResourcePolicyNotValidException":
|
|
1372
|
-
case "com.amazonaws.cloudtrail#ResourcePolicyNotValidException":
|
|
1373
|
-
throw await de_ResourcePolicyNotValidExceptionRes(parsedOutput, context);
|
|
1374
|
-
case "AccountRegisteredException":
|
|
1375
|
-
case "com.amazonaws.cloudtrail#AccountRegisteredException":
|
|
1376
|
-
throw await de_AccountRegisteredExceptionRes(parsedOutput, context);
|
|
1377
|
-
case "CannotDelegateManagementAccountException":
|
|
1378
|
-
case "com.amazonaws.cloudtrail#CannotDelegateManagementAccountException":
|
|
1379
|
-
throw await de_CannotDelegateManagementAccountExceptionRes(parsedOutput, context);
|
|
1380
|
-
case "DelegatedAdminAccountLimitExceededException":
|
|
1381
|
-
case "com.amazonaws.cloudtrail#DelegatedAdminAccountLimitExceededException":
|
|
1382
|
-
throw await de_DelegatedAdminAccountLimitExceededExceptionRes(parsedOutput, context);
|
|
1383
|
-
case "AccountHasOngoingImportException":
|
|
1384
|
-
case "com.amazonaws.cloudtrail#AccountHasOngoingImportException":
|
|
1385
|
-
throw await de_AccountHasOngoingImportExceptionRes(parsedOutput, context);
|
|
1386
|
-
case "InvalidImportSourceException":
|
|
1387
|
-
case "com.amazonaws.cloudtrail#InvalidImportSourceException":
|
|
1388
|
-
throw await de_InvalidImportSourceExceptionRes(parsedOutput, context);
|
|
1389
|
-
case "MaxConcurrentQueriesException":
|
|
1390
|
-
case "com.amazonaws.cloudtrail#MaxConcurrentQueriesException":
|
|
1391
|
-
throw await de_MaxConcurrentQueriesExceptionRes(parsedOutput, context);
|
|
1392
|
-
default:
|
|
1393
|
-
const parsedBody = parsedOutput.body;
|
|
1394
|
-
return throwDefaultError({
|
|
1395
|
-
output,
|
|
1396
|
-
parsedBody,
|
|
1397
|
-
errorCode,
|
|
1398
|
-
});
|
|
1399
|
-
}
|
|
1400
|
-
};
|
|
1401
|
-
const de_AccessDeniedExceptionRes = async (parsedOutput, context) => {
|
|
1402
|
-
const body = parsedOutput.body;
|
|
1403
|
-
const deserialized = _json(body);
|
|
1404
|
-
const exception = new AccessDeniedException({
|
|
1405
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1406
|
-
...deserialized,
|
|
1407
|
-
});
|
|
1408
|
-
return __decorateServiceException(exception, body);
|
|
1409
|
-
};
|
|
1410
|
-
const de_AccountHasOngoingImportExceptionRes = async (parsedOutput, context) => {
|
|
1411
|
-
const body = parsedOutput.body;
|
|
1412
|
-
const deserialized = _json(body);
|
|
1413
|
-
const exception = new AccountHasOngoingImportException({
|
|
1414
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1415
|
-
...deserialized,
|
|
1416
|
-
});
|
|
1417
|
-
return __decorateServiceException(exception, body);
|
|
1418
|
-
};
|
|
1419
|
-
const de_AccountNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
1420
|
-
const body = parsedOutput.body;
|
|
1421
|
-
const deserialized = _json(body);
|
|
1422
|
-
const exception = new AccountNotFoundException({
|
|
1423
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1424
|
-
...deserialized,
|
|
1425
|
-
});
|
|
1426
|
-
return __decorateServiceException(exception, body);
|
|
1427
|
-
};
|
|
1428
|
-
const de_AccountNotRegisteredExceptionRes = async (parsedOutput, context) => {
|
|
1429
|
-
const body = parsedOutput.body;
|
|
1430
|
-
const deserialized = _json(body);
|
|
1431
|
-
const exception = new AccountNotRegisteredException({
|
|
1432
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1433
|
-
...deserialized,
|
|
1434
|
-
});
|
|
1435
|
-
return __decorateServiceException(exception, body);
|
|
1436
|
-
};
|
|
1437
|
-
const de_AccountRegisteredExceptionRes = async (parsedOutput, context) => {
|
|
1438
|
-
const body = parsedOutput.body;
|
|
1439
|
-
const deserialized = _json(body);
|
|
1440
|
-
const exception = new AccountRegisteredException({
|
|
1441
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1442
|
-
...deserialized,
|
|
1443
|
-
});
|
|
1444
|
-
return __decorateServiceException(exception, body);
|
|
1445
|
-
};
|
|
1446
|
-
const de_CannotDelegateManagementAccountExceptionRes = async (parsedOutput, context) => {
|
|
1447
|
-
const body = parsedOutput.body;
|
|
1448
|
-
const deserialized = _json(body);
|
|
1449
|
-
const exception = new CannotDelegateManagementAccountException({
|
|
1450
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1451
|
-
...deserialized,
|
|
1452
|
-
});
|
|
1453
|
-
return __decorateServiceException(exception, body);
|
|
1454
|
-
};
|
|
1455
|
-
const de_ChannelAlreadyExistsExceptionRes = async (parsedOutput, context) => {
|
|
1456
|
-
const body = parsedOutput.body;
|
|
1457
|
-
const deserialized = _json(body);
|
|
1458
|
-
const exception = new ChannelAlreadyExistsException({
|
|
1459
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1460
|
-
...deserialized,
|
|
1461
|
-
});
|
|
1462
|
-
return __decorateServiceException(exception, body);
|
|
1463
|
-
};
|
|
1464
|
-
const de_ChannelARNInvalidExceptionRes = async (parsedOutput, context) => {
|
|
1465
|
-
const body = parsedOutput.body;
|
|
1466
|
-
const deserialized = _json(body);
|
|
1467
|
-
const exception = new ChannelARNInvalidException({
|
|
1468
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1469
|
-
...deserialized,
|
|
1470
|
-
});
|
|
1471
|
-
return __decorateServiceException(exception, body);
|
|
1472
|
-
};
|
|
1473
|
-
const de_ChannelExistsForEDSExceptionRes = async (parsedOutput, context) => {
|
|
1474
|
-
const body = parsedOutput.body;
|
|
1475
|
-
const deserialized = _json(body);
|
|
1476
|
-
const exception = new ChannelExistsForEDSException({
|
|
1477
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1478
|
-
...deserialized,
|
|
1479
|
-
});
|
|
1480
|
-
return __decorateServiceException(exception, body);
|
|
1481
|
-
};
|
|
1482
|
-
const de_ChannelMaxLimitExceededExceptionRes = async (parsedOutput, context) => {
|
|
1483
|
-
const body = parsedOutput.body;
|
|
1484
|
-
const deserialized = _json(body);
|
|
1485
|
-
const exception = new ChannelMaxLimitExceededException({
|
|
1486
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1487
|
-
...deserialized,
|
|
1488
|
-
});
|
|
1489
|
-
return __decorateServiceException(exception, body);
|
|
1490
|
-
};
|
|
1491
|
-
const de_ChannelNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
1492
|
-
const body = parsedOutput.body;
|
|
1493
|
-
const deserialized = _json(body);
|
|
1494
|
-
const exception = new ChannelNotFoundException({
|
|
1495
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1496
|
-
...deserialized,
|
|
1497
|
-
});
|
|
1498
|
-
return __decorateServiceException(exception, body);
|
|
1499
|
-
};
|
|
1500
|
-
const de_CloudTrailAccessNotEnabledExceptionRes = async (parsedOutput, context) => {
|
|
1501
|
-
const body = parsedOutput.body;
|
|
1502
|
-
const deserialized = _json(body);
|
|
1503
|
-
const exception = new CloudTrailAccessNotEnabledException({
|
|
1504
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1505
|
-
...deserialized,
|
|
1506
|
-
});
|
|
1507
|
-
return __decorateServiceException(exception, body);
|
|
1508
|
-
};
|
|
1509
|
-
const de_CloudTrailARNInvalidExceptionRes = async (parsedOutput, context) => {
|
|
1510
|
-
const body = parsedOutput.body;
|
|
1511
|
-
const deserialized = _json(body);
|
|
1512
|
-
const exception = new CloudTrailARNInvalidException({
|
|
1513
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1514
|
-
...deserialized,
|
|
1515
|
-
});
|
|
1516
|
-
return __decorateServiceException(exception, body);
|
|
1517
|
-
};
|
|
1518
|
-
const de_CloudTrailInvalidClientTokenIdExceptionRes = async (parsedOutput, context) => {
|
|
1519
|
-
const body = parsedOutput.body;
|
|
1520
|
-
const deserialized = _json(body);
|
|
1521
|
-
const exception = new CloudTrailInvalidClientTokenIdException({
|
|
1522
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1523
|
-
...deserialized,
|
|
1524
|
-
});
|
|
1525
|
-
return __decorateServiceException(exception, body);
|
|
1526
|
-
};
|
|
1527
|
-
const de_CloudWatchLogsDeliveryUnavailableExceptionRes = async (parsedOutput, context) => {
|
|
1528
|
-
const body = parsedOutput.body;
|
|
1529
|
-
const deserialized = _json(body);
|
|
1530
|
-
const exception = new CloudWatchLogsDeliveryUnavailableException({
|
|
1531
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1532
|
-
...deserialized,
|
|
1533
|
-
});
|
|
1534
|
-
return __decorateServiceException(exception, body);
|
|
1535
|
-
};
|
|
1536
|
-
const de_ConcurrentModificationExceptionRes = async (parsedOutput, context) => {
|
|
1537
|
-
const body = parsedOutput.body;
|
|
1538
|
-
const deserialized = _json(body);
|
|
1539
|
-
const exception = new ConcurrentModificationException({
|
|
1540
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1541
|
-
...deserialized,
|
|
1542
|
-
});
|
|
1543
|
-
return __decorateServiceException(exception, body);
|
|
1544
|
-
};
|
|
1545
|
-
const de_ConflictExceptionRes = async (parsedOutput, context) => {
|
|
1546
|
-
const body = parsedOutput.body;
|
|
1547
|
-
const deserialized = _json(body);
|
|
1548
|
-
const exception = new ConflictException({
|
|
1549
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1550
|
-
...deserialized,
|
|
1551
|
-
});
|
|
1552
|
-
return __decorateServiceException(exception, body);
|
|
1553
|
-
};
|
|
1554
|
-
const de_DelegatedAdminAccountLimitExceededExceptionRes = async (parsedOutput, context) => {
|
|
1555
|
-
const body = parsedOutput.body;
|
|
1556
|
-
const deserialized = _json(body);
|
|
1557
|
-
const exception = new DelegatedAdminAccountLimitExceededException({
|
|
1558
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1559
|
-
...deserialized,
|
|
1560
|
-
});
|
|
1561
|
-
return __decorateServiceException(exception, body);
|
|
1562
|
-
};
|
|
1563
|
-
const de_EventDataStoreAlreadyExistsExceptionRes = async (parsedOutput, context) => {
|
|
1564
|
-
const body = parsedOutput.body;
|
|
1565
|
-
const deserialized = _json(body);
|
|
1566
|
-
const exception = new EventDataStoreAlreadyExistsException({
|
|
1567
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1568
|
-
...deserialized,
|
|
1569
|
-
});
|
|
1570
|
-
return __decorateServiceException(exception, body);
|
|
1571
|
-
};
|
|
1572
|
-
const de_EventDataStoreARNInvalidExceptionRes = async (parsedOutput, context) => {
|
|
1573
|
-
const body = parsedOutput.body;
|
|
1574
|
-
const deserialized = _json(body);
|
|
1575
|
-
const exception = new EventDataStoreARNInvalidException({
|
|
1576
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1577
|
-
...deserialized,
|
|
1578
|
-
});
|
|
1579
|
-
return __decorateServiceException(exception, body);
|
|
1580
|
-
};
|
|
1581
|
-
const de_EventDataStoreFederationEnabledExceptionRes = async (parsedOutput, context) => {
|
|
1582
|
-
const body = parsedOutput.body;
|
|
1583
|
-
const deserialized = _json(body);
|
|
1584
|
-
const exception = new EventDataStoreFederationEnabledException({
|
|
1585
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1586
|
-
...deserialized,
|
|
1587
|
-
});
|
|
1588
|
-
return __decorateServiceException(exception, body);
|
|
1589
|
-
};
|
|
1590
|
-
const de_EventDataStoreHasOngoingImportExceptionRes = async (parsedOutput, context) => {
|
|
1591
|
-
const body = parsedOutput.body;
|
|
1592
|
-
const deserialized = _json(body);
|
|
1593
|
-
const exception = new EventDataStoreHasOngoingImportException({
|
|
1594
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1595
|
-
...deserialized,
|
|
1596
|
-
});
|
|
1597
|
-
return __decorateServiceException(exception, body);
|
|
1598
|
-
};
|
|
1599
|
-
const de_EventDataStoreMaxLimitExceededExceptionRes = async (parsedOutput, context) => {
|
|
1600
|
-
const body = parsedOutput.body;
|
|
1601
|
-
const deserialized = _json(body);
|
|
1602
|
-
const exception = new EventDataStoreMaxLimitExceededException({
|
|
1603
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1604
|
-
...deserialized,
|
|
1605
|
-
});
|
|
1606
|
-
return __decorateServiceException(exception, body);
|
|
1607
|
-
};
|
|
1608
|
-
const de_EventDataStoreNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
1609
|
-
const body = parsedOutput.body;
|
|
1610
|
-
const deserialized = _json(body);
|
|
1611
|
-
const exception = new EventDataStoreNotFoundException({
|
|
1612
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1613
|
-
...deserialized,
|
|
1614
|
-
});
|
|
1615
|
-
return __decorateServiceException(exception, body);
|
|
1616
|
-
};
|
|
1617
|
-
const de_EventDataStoreTerminationProtectedExceptionRes = async (parsedOutput, context) => {
|
|
1618
|
-
const body = parsedOutput.body;
|
|
1619
|
-
const deserialized = _json(body);
|
|
1620
|
-
const exception = new EventDataStoreTerminationProtectedException({
|
|
1621
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1622
|
-
...deserialized,
|
|
1623
|
-
});
|
|
1624
|
-
return __decorateServiceException(exception, body);
|
|
1625
|
-
};
|
|
1626
|
-
const de_GenerateResponseExceptionRes = async (parsedOutput, context) => {
|
|
1627
|
-
const body = parsedOutput.body;
|
|
1628
|
-
const deserialized = _json(body);
|
|
1629
|
-
const exception = new GenerateResponseException({
|
|
1630
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1631
|
-
...deserialized,
|
|
1632
|
-
});
|
|
1633
|
-
return __decorateServiceException(exception, body);
|
|
1634
|
-
};
|
|
1635
|
-
const de_ImportNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
1636
|
-
const body = parsedOutput.body;
|
|
1637
|
-
const deserialized = _json(body);
|
|
1638
|
-
const exception = new ImportNotFoundException({
|
|
1639
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1640
|
-
...deserialized,
|
|
1641
|
-
});
|
|
1642
|
-
return __decorateServiceException(exception, body);
|
|
1643
|
-
};
|
|
1644
|
-
const de_InactiveEventDataStoreExceptionRes = async (parsedOutput, context) => {
|
|
1645
|
-
const body = parsedOutput.body;
|
|
1646
|
-
const deserialized = _json(body);
|
|
1647
|
-
const exception = new InactiveEventDataStoreException({
|
|
1648
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1649
|
-
...deserialized,
|
|
1650
|
-
});
|
|
1651
|
-
return __decorateServiceException(exception, body);
|
|
1652
|
-
};
|
|
1653
|
-
const de_InactiveQueryExceptionRes = async (parsedOutput, context) => {
|
|
1654
|
-
const body = parsedOutput.body;
|
|
1655
|
-
const deserialized = _json(body);
|
|
1656
|
-
const exception = new InactiveQueryException({
|
|
1657
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1658
|
-
...deserialized,
|
|
1659
|
-
});
|
|
1660
|
-
return __decorateServiceException(exception, body);
|
|
1661
|
-
};
|
|
1662
|
-
const de_InsightNotEnabledExceptionRes = async (parsedOutput, context) => {
|
|
1663
|
-
const body = parsedOutput.body;
|
|
1664
|
-
const deserialized = _json(body);
|
|
1665
|
-
const exception = new InsightNotEnabledException({
|
|
1666
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1667
|
-
...deserialized,
|
|
1668
|
-
});
|
|
1669
|
-
return __decorateServiceException(exception, body);
|
|
1670
|
-
};
|
|
1671
|
-
const de_InsufficientDependencyServiceAccessPermissionExceptionRes = async (parsedOutput, context) => {
|
|
1672
|
-
const body = parsedOutput.body;
|
|
1673
|
-
const deserialized = _json(body);
|
|
1674
|
-
const exception = new InsufficientDependencyServiceAccessPermissionException({
|
|
1675
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1676
|
-
...deserialized,
|
|
1677
|
-
});
|
|
1678
|
-
return __decorateServiceException(exception, body);
|
|
1679
|
-
};
|
|
1680
|
-
const de_InsufficientEncryptionPolicyExceptionRes = async (parsedOutput, context) => {
|
|
1681
|
-
const body = parsedOutput.body;
|
|
1682
|
-
const deserialized = _json(body);
|
|
1683
|
-
const exception = new InsufficientEncryptionPolicyException({
|
|
1684
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1685
|
-
...deserialized,
|
|
1686
|
-
});
|
|
1687
|
-
return __decorateServiceException(exception, body);
|
|
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
|
-
};
|
|
1698
|
-
const de_InsufficientS3BucketPolicyExceptionRes = async (parsedOutput, context) => {
|
|
1699
|
-
const body = parsedOutput.body;
|
|
1700
|
-
const deserialized = _json(body);
|
|
1701
|
-
const exception = new InsufficientS3BucketPolicyException({
|
|
1702
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1703
|
-
...deserialized,
|
|
1704
|
-
});
|
|
1705
|
-
return __decorateServiceException(exception, body);
|
|
1706
|
-
};
|
|
1707
|
-
const de_InsufficientSnsTopicPolicyExceptionRes = async (parsedOutput, context) => {
|
|
1708
|
-
const body = parsedOutput.body;
|
|
1709
|
-
const deserialized = _json(body);
|
|
1710
|
-
const exception = new InsufficientSnsTopicPolicyException({
|
|
1711
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1712
|
-
...deserialized,
|
|
1713
|
-
});
|
|
1714
|
-
return __decorateServiceException(exception, body);
|
|
1715
|
-
};
|
|
1716
|
-
const de_InvalidCloudWatchLogsLogGroupArnExceptionRes = async (parsedOutput, context) => {
|
|
1717
|
-
const body = parsedOutput.body;
|
|
1718
|
-
const deserialized = _json(body);
|
|
1719
|
-
const exception = new InvalidCloudWatchLogsLogGroupArnException({
|
|
1720
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1721
|
-
...deserialized,
|
|
1722
|
-
});
|
|
1723
|
-
return __decorateServiceException(exception, body);
|
|
1724
|
-
};
|
|
1725
|
-
const de_InvalidCloudWatchLogsRoleArnExceptionRes = async (parsedOutput, context) => {
|
|
1726
|
-
const body = parsedOutput.body;
|
|
1727
|
-
const deserialized = _json(body);
|
|
1728
|
-
const exception = new InvalidCloudWatchLogsRoleArnException({
|
|
1729
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1730
|
-
...deserialized,
|
|
1731
|
-
});
|
|
1732
|
-
return __decorateServiceException(exception, body);
|
|
1733
|
-
};
|
|
1734
|
-
const de_InvalidDateRangeExceptionRes = async (parsedOutput, context) => {
|
|
1735
|
-
const body = parsedOutput.body;
|
|
1736
|
-
const deserialized = _json(body);
|
|
1737
|
-
const exception = new InvalidDateRangeException({
|
|
1738
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1739
|
-
...deserialized,
|
|
1740
|
-
});
|
|
1741
|
-
return __decorateServiceException(exception, body);
|
|
1742
|
-
};
|
|
1743
|
-
const de_InvalidEventCategoryExceptionRes = async (parsedOutput, context) => {
|
|
1744
|
-
const body = parsedOutput.body;
|
|
1745
|
-
const deserialized = _json(body);
|
|
1746
|
-
const exception = new InvalidEventCategoryException({
|
|
1747
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1748
|
-
...deserialized,
|
|
1749
|
-
});
|
|
1750
|
-
return __decorateServiceException(exception, body);
|
|
1751
|
-
};
|
|
1752
|
-
const de_InvalidEventDataStoreCategoryExceptionRes = async (parsedOutput, context) => {
|
|
1753
|
-
const body = parsedOutput.body;
|
|
1754
|
-
const deserialized = _json(body);
|
|
1755
|
-
const exception = new InvalidEventDataStoreCategoryException({
|
|
1756
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1757
|
-
...deserialized,
|
|
1758
|
-
});
|
|
1759
|
-
return __decorateServiceException(exception, body);
|
|
1760
|
-
};
|
|
1761
|
-
const de_InvalidEventDataStoreStatusExceptionRes = async (parsedOutput, context) => {
|
|
1762
|
-
const body = parsedOutput.body;
|
|
1763
|
-
const deserialized = _json(body);
|
|
1764
|
-
const exception = new InvalidEventDataStoreStatusException({
|
|
1765
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1766
|
-
...deserialized,
|
|
1767
|
-
});
|
|
1768
|
-
return __decorateServiceException(exception, body);
|
|
1769
|
-
};
|
|
1770
|
-
const de_InvalidEventSelectorsExceptionRes = async (parsedOutput, context) => {
|
|
1771
|
-
const body = parsedOutput.body;
|
|
1772
|
-
const deserialized = _json(body);
|
|
1773
|
-
const exception = new InvalidEventSelectorsException({
|
|
1774
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1775
|
-
...deserialized,
|
|
1776
|
-
});
|
|
1777
|
-
return __decorateServiceException(exception, body);
|
|
1778
|
-
};
|
|
1779
|
-
const de_InvalidHomeRegionExceptionRes = async (parsedOutput, context) => {
|
|
1780
|
-
const body = parsedOutput.body;
|
|
1781
|
-
const deserialized = _json(body);
|
|
1782
|
-
const exception = new InvalidHomeRegionException({
|
|
1783
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1784
|
-
...deserialized,
|
|
1785
|
-
});
|
|
1786
|
-
return __decorateServiceException(exception, body);
|
|
1787
|
-
};
|
|
1788
|
-
const de_InvalidImportSourceExceptionRes = async (parsedOutput, context) => {
|
|
1789
|
-
const body = parsedOutput.body;
|
|
1790
|
-
const deserialized = _json(body);
|
|
1791
|
-
const exception = new InvalidImportSourceException({
|
|
1792
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1793
|
-
...deserialized,
|
|
1794
|
-
});
|
|
1795
|
-
return __decorateServiceException(exception, body);
|
|
1796
|
-
};
|
|
1797
|
-
const de_InvalidInsightSelectorsExceptionRes = async (parsedOutput, context) => {
|
|
1798
|
-
const body = parsedOutput.body;
|
|
1799
|
-
const deserialized = _json(body);
|
|
1800
|
-
const exception = new InvalidInsightSelectorsException({
|
|
1801
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1802
|
-
...deserialized,
|
|
1803
|
-
});
|
|
1804
|
-
return __decorateServiceException(exception, body);
|
|
1805
|
-
};
|
|
1806
|
-
const de_InvalidKmsKeyIdExceptionRes = async (parsedOutput, context) => {
|
|
1807
|
-
const body = parsedOutput.body;
|
|
1808
|
-
const deserialized = _json(body);
|
|
1809
|
-
const exception = new InvalidKmsKeyIdException({
|
|
1810
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1811
|
-
...deserialized,
|
|
1812
|
-
});
|
|
1813
|
-
return __decorateServiceException(exception, body);
|
|
1814
|
-
};
|
|
1815
|
-
const de_InvalidLookupAttributesExceptionRes = async (parsedOutput, context) => {
|
|
1816
|
-
const body = parsedOutput.body;
|
|
1817
|
-
const deserialized = _json(body);
|
|
1818
|
-
const exception = new InvalidLookupAttributesException({
|
|
1819
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1820
|
-
...deserialized,
|
|
1821
|
-
});
|
|
1822
|
-
return __decorateServiceException(exception, body);
|
|
1823
|
-
};
|
|
1824
|
-
const de_InvalidMaxResultsExceptionRes = async (parsedOutput, context) => {
|
|
1825
|
-
const body = parsedOutput.body;
|
|
1826
|
-
const deserialized = _json(body);
|
|
1827
|
-
const exception = new InvalidMaxResultsException({
|
|
1828
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1829
|
-
...deserialized,
|
|
1830
|
-
});
|
|
1831
|
-
return __decorateServiceException(exception, body);
|
|
1832
|
-
};
|
|
1833
|
-
const de_InvalidNextTokenExceptionRes = async (parsedOutput, context) => {
|
|
1834
|
-
const body = parsedOutput.body;
|
|
1835
|
-
const deserialized = _json(body);
|
|
1836
|
-
const exception = new InvalidNextTokenException({
|
|
1837
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1838
|
-
...deserialized,
|
|
1839
|
-
});
|
|
1840
|
-
return __decorateServiceException(exception, body);
|
|
1841
|
-
};
|
|
1842
|
-
const de_InvalidParameterCombinationExceptionRes = async (parsedOutput, context) => {
|
|
1843
|
-
const body = parsedOutput.body;
|
|
1844
|
-
const deserialized = _json(body);
|
|
1845
|
-
const exception = new InvalidParameterCombinationException({
|
|
1846
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1847
|
-
...deserialized,
|
|
1848
|
-
});
|
|
1849
|
-
return __decorateServiceException(exception, body);
|
|
1850
|
-
};
|
|
1851
|
-
const de_InvalidParameterExceptionRes = async (parsedOutput, context) => {
|
|
1852
|
-
const body = parsedOutput.body;
|
|
1853
|
-
const deserialized = _json(body);
|
|
1854
|
-
const exception = new InvalidParameterException({
|
|
1855
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1856
|
-
...deserialized,
|
|
1857
|
-
});
|
|
1858
|
-
return __decorateServiceException(exception, body);
|
|
1859
|
-
};
|
|
1860
|
-
const de_InvalidQueryStatementExceptionRes = async (parsedOutput, context) => {
|
|
1861
|
-
const body = parsedOutput.body;
|
|
1862
|
-
const deserialized = _json(body);
|
|
1863
|
-
const exception = new InvalidQueryStatementException({
|
|
1864
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1865
|
-
...deserialized,
|
|
1866
|
-
});
|
|
1867
|
-
return __decorateServiceException(exception, body);
|
|
1868
|
-
};
|
|
1869
|
-
const de_InvalidQueryStatusExceptionRes = async (parsedOutput, context) => {
|
|
1870
|
-
const body = parsedOutput.body;
|
|
1871
|
-
const deserialized = _json(body);
|
|
1872
|
-
const exception = new InvalidQueryStatusException({
|
|
1873
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1874
|
-
...deserialized,
|
|
1875
|
-
});
|
|
1876
|
-
return __decorateServiceException(exception, body);
|
|
1877
|
-
};
|
|
1878
|
-
const de_InvalidS3BucketNameExceptionRes = async (parsedOutput, context) => {
|
|
1879
|
-
const body = parsedOutput.body;
|
|
1880
|
-
const deserialized = _json(body);
|
|
1881
|
-
const exception = new InvalidS3BucketNameException({
|
|
1882
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1883
|
-
...deserialized,
|
|
1884
|
-
});
|
|
1885
|
-
return __decorateServiceException(exception, body);
|
|
1886
|
-
};
|
|
1887
|
-
const de_InvalidS3PrefixExceptionRes = async (parsedOutput, context) => {
|
|
1888
|
-
const body = parsedOutput.body;
|
|
1889
|
-
const deserialized = _json(body);
|
|
1890
|
-
const exception = new InvalidS3PrefixException({
|
|
1891
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1892
|
-
...deserialized,
|
|
1893
|
-
});
|
|
1894
|
-
return __decorateServiceException(exception, body);
|
|
1895
|
-
};
|
|
1896
|
-
const de_InvalidSnsTopicNameExceptionRes = async (parsedOutput, context) => {
|
|
1897
|
-
const body = parsedOutput.body;
|
|
1898
|
-
const deserialized = _json(body);
|
|
1899
|
-
const exception = new InvalidSnsTopicNameException({
|
|
1900
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1901
|
-
...deserialized,
|
|
1902
|
-
});
|
|
1903
|
-
return __decorateServiceException(exception, body);
|
|
1904
|
-
};
|
|
1905
|
-
const de_InvalidSourceExceptionRes = async (parsedOutput, context) => {
|
|
1906
|
-
const body = parsedOutput.body;
|
|
1907
|
-
const deserialized = _json(body);
|
|
1908
|
-
const exception = new InvalidSourceException({
|
|
1909
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1910
|
-
...deserialized,
|
|
1911
|
-
});
|
|
1912
|
-
return __decorateServiceException(exception, body);
|
|
1913
|
-
};
|
|
1914
|
-
const de_InvalidTagParameterExceptionRes = async (parsedOutput, context) => {
|
|
1915
|
-
const body = parsedOutput.body;
|
|
1916
|
-
const deserialized = _json(body);
|
|
1917
|
-
const exception = new InvalidTagParameterException({
|
|
1918
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1919
|
-
...deserialized,
|
|
1920
|
-
});
|
|
1921
|
-
return __decorateServiceException(exception, body);
|
|
1922
|
-
};
|
|
1923
|
-
const de_InvalidTimeRangeExceptionRes = async (parsedOutput, context) => {
|
|
1924
|
-
const body = parsedOutput.body;
|
|
1925
|
-
const deserialized = _json(body);
|
|
1926
|
-
const exception = new InvalidTimeRangeException({
|
|
1927
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1928
|
-
...deserialized,
|
|
1929
|
-
});
|
|
1930
|
-
return __decorateServiceException(exception, body);
|
|
1931
|
-
};
|
|
1932
|
-
const de_InvalidTokenExceptionRes = async (parsedOutput, context) => {
|
|
1933
|
-
const body = parsedOutput.body;
|
|
1934
|
-
const deserialized = _json(body);
|
|
1935
|
-
const exception = new InvalidTokenException({
|
|
1936
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1937
|
-
...deserialized,
|
|
1938
|
-
});
|
|
1939
|
-
return __decorateServiceException(exception, body);
|
|
1940
|
-
};
|
|
1941
|
-
const de_InvalidTrailNameExceptionRes = async (parsedOutput, context) => {
|
|
1942
|
-
const body = parsedOutput.body;
|
|
1943
|
-
const deserialized = _json(body);
|
|
1944
|
-
const exception = new InvalidTrailNameException({
|
|
1945
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1946
|
-
...deserialized,
|
|
1947
|
-
});
|
|
1948
|
-
return __decorateServiceException(exception, body);
|
|
1949
|
-
};
|
|
1950
|
-
const de_KmsExceptionRes = async (parsedOutput, context) => {
|
|
1951
|
-
const body = parsedOutput.body;
|
|
1952
|
-
const deserialized = _json(body);
|
|
1953
|
-
const exception = new KmsException({
|
|
1954
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1955
|
-
...deserialized,
|
|
1956
|
-
});
|
|
1957
|
-
return __decorateServiceException(exception, body);
|
|
1958
|
-
};
|
|
1959
|
-
const de_KmsKeyDisabledExceptionRes = async (parsedOutput, context) => {
|
|
1960
|
-
const body = parsedOutput.body;
|
|
1961
|
-
const deserialized = _json(body);
|
|
1962
|
-
const exception = new KmsKeyDisabledException({
|
|
1963
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1964
|
-
...deserialized,
|
|
1965
|
-
});
|
|
1966
|
-
return __decorateServiceException(exception, body);
|
|
1967
|
-
};
|
|
1968
|
-
const de_KmsKeyNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
1969
|
-
const body = parsedOutput.body;
|
|
1970
|
-
const deserialized = _json(body);
|
|
1971
|
-
const exception = new KmsKeyNotFoundException({
|
|
1972
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1973
|
-
...deserialized,
|
|
1974
|
-
});
|
|
1975
|
-
return __decorateServiceException(exception, body);
|
|
1976
|
-
};
|
|
1977
|
-
const de_MaxConcurrentQueriesExceptionRes = async (parsedOutput, context) => {
|
|
1978
|
-
const body = parsedOutput.body;
|
|
1979
|
-
const deserialized = _json(body);
|
|
1980
|
-
const exception = new MaxConcurrentQueriesException({
|
|
1981
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1982
|
-
...deserialized,
|
|
1983
|
-
});
|
|
1984
|
-
return __decorateServiceException(exception, body);
|
|
1985
|
-
};
|
|
1986
|
-
const de_MaximumNumberOfTrailsExceededExceptionRes = async (parsedOutput, context) => {
|
|
1987
|
-
const body = parsedOutput.body;
|
|
1988
|
-
const deserialized = _json(body);
|
|
1989
|
-
const exception = new MaximumNumberOfTrailsExceededException({
|
|
1990
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1991
|
-
...deserialized,
|
|
1992
|
-
});
|
|
1993
|
-
return __decorateServiceException(exception, body);
|
|
1994
|
-
};
|
|
1995
|
-
const de_NoManagementAccountSLRExistsExceptionRes = async (parsedOutput, context) => {
|
|
1996
|
-
const body = parsedOutput.body;
|
|
1997
|
-
const deserialized = _json(body);
|
|
1998
|
-
const exception = new NoManagementAccountSLRExistsException({
|
|
1999
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
2000
|
-
...deserialized,
|
|
2001
|
-
});
|
|
2002
|
-
return __decorateServiceException(exception, body);
|
|
2003
|
-
};
|
|
2004
|
-
const de_NotOrganizationManagementAccountExceptionRes = async (parsedOutput, context) => {
|
|
2005
|
-
const body = parsedOutput.body;
|
|
2006
|
-
const deserialized = _json(body);
|
|
2007
|
-
const exception = new NotOrganizationManagementAccountException({
|
|
2008
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
2009
|
-
...deserialized,
|
|
2010
|
-
});
|
|
2011
|
-
return __decorateServiceException(exception, body);
|
|
2012
|
-
};
|
|
2013
|
-
const de_NotOrganizationMasterAccountExceptionRes = async (parsedOutput, context) => {
|
|
2014
|
-
const body = parsedOutput.body;
|
|
2015
|
-
const deserialized = _json(body);
|
|
2016
|
-
const exception = new NotOrganizationMasterAccountException({
|
|
2017
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
2018
|
-
...deserialized,
|
|
2019
|
-
});
|
|
2020
|
-
return __decorateServiceException(exception, body);
|
|
2021
|
-
};
|
|
2022
|
-
const de_OperationNotPermittedExceptionRes = async (parsedOutput, context) => {
|
|
2023
|
-
const body = parsedOutput.body;
|
|
2024
|
-
const deserialized = _json(body);
|
|
2025
|
-
const exception = new OperationNotPermittedException({
|
|
2026
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
2027
|
-
...deserialized,
|
|
2028
|
-
});
|
|
2029
|
-
return __decorateServiceException(exception, body);
|
|
2030
|
-
};
|
|
2031
|
-
const de_OrganizationNotInAllFeaturesModeExceptionRes = async (parsedOutput, context) => {
|
|
2032
|
-
const body = parsedOutput.body;
|
|
2033
|
-
const deserialized = _json(body);
|
|
2034
|
-
const exception = new OrganizationNotInAllFeaturesModeException({
|
|
2035
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
2036
|
-
...deserialized,
|
|
2037
|
-
});
|
|
2038
|
-
return __decorateServiceException(exception, body);
|
|
2039
|
-
};
|
|
2040
|
-
const de_OrganizationsNotInUseExceptionRes = async (parsedOutput, context) => {
|
|
2041
|
-
const body = parsedOutput.body;
|
|
2042
|
-
const deserialized = _json(body);
|
|
2043
|
-
const exception = new OrganizationsNotInUseException({
|
|
2044
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
2045
|
-
...deserialized,
|
|
2046
|
-
});
|
|
2047
|
-
return __decorateServiceException(exception, body);
|
|
2048
|
-
};
|
|
2049
|
-
const de_QueryIdNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
2050
|
-
const body = parsedOutput.body;
|
|
2051
|
-
const deserialized = _json(body);
|
|
2052
|
-
const exception = new QueryIdNotFoundException({
|
|
2053
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
2054
|
-
...deserialized,
|
|
2055
|
-
});
|
|
2056
|
-
return __decorateServiceException(exception, body);
|
|
2057
|
-
};
|
|
2058
|
-
const de_ResourceARNNotValidExceptionRes = async (parsedOutput, context) => {
|
|
2059
|
-
const body = parsedOutput.body;
|
|
2060
|
-
const deserialized = _json(body);
|
|
2061
|
-
const exception = new ResourceARNNotValidException({
|
|
2062
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
2063
|
-
...deserialized,
|
|
2064
|
-
});
|
|
2065
|
-
return __decorateServiceException(exception, body);
|
|
2066
|
-
};
|
|
2067
|
-
const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
2068
|
-
const body = parsedOutput.body;
|
|
2069
|
-
const deserialized = _json(body);
|
|
2070
|
-
const exception = new ResourceNotFoundException({
|
|
2071
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
2072
|
-
...deserialized,
|
|
2073
|
-
});
|
|
2074
|
-
return __decorateServiceException(exception, body);
|
|
2075
|
-
};
|
|
2076
|
-
const de_ResourcePolicyNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
2077
|
-
const body = parsedOutput.body;
|
|
2078
|
-
const deserialized = _json(body);
|
|
2079
|
-
const exception = new ResourcePolicyNotFoundException({
|
|
2080
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
2081
|
-
...deserialized,
|
|
2082
|
-
});
|
|
2083
|
-
return __decorateServiceException(exception, body);
|
|
2084
|
-
};
|
|
2085
|
-
const de_ResourcePolicyNotValidExceptionRes = async (parsedOutput, context) => {
|
|
2086
|
-
const body = parsedOutput.body;
|
|
2087
|
-
const deserialized = _json(body);
|
|
2088
|
-
const exception = new ResourcePolicyNotValidException({
|
|
2089
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
2090
|
-
...deserialized,
|
|
2091
|
-
});
|
|
2092
|
-
return __decorateServiceException(exception, body);
|
|
2093
|
-
};
|
|
2094
|
-
const de_ResourceTypeNotSupportedExceptionRes = async (parsedOutput, context) => {
|
|
2095
|
-
const body = parsedOutput.body;
|
|
2096
|
-
const deserialized = _json(body);
|
|
2097
|
-
const exception = new ResourceTypeNotSupportedException({
|
|
2098
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
2099
|
-
...deserialized,
|
|
2100
|
-
});
|
|
2101
|
-
return __decorateServiceException(exception, body);
|
|
2102
|
-
};
|
|
2103
|
-
const de_S3BucketDoesNotExistExceptionRes = async (parsedOutput, context) => {
|
|
2104
|
-
const body = parsedOutput.body;
|
|
2105
|
-
const deserialized = _json(body);
|
|
2106
|
-
const exception = new S3BucketDoesNotExistException({
|
|
2107
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
2108
|
-
...deserialized,
|
|
2109
|
-
});
|
|
2110
|
-
return __decorateServiceException(exception, body);
|
|
2111
|
-
};
|
|
2112
|
-
const de_ServiceQuotaExceededExceptionRes = async (parsedOutput, context) => {
|
|
2113
|
-
const body = parsedOutput.body;
|
|
2114
|
-
const deserialized = _json(body);
|
|
2115
|
-
const exception = new ServiceQuotaExceededException({
|
|
2116
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
2117
|
-
...deserialized,
|
|
2118
|
-
});
|
|
2119
|
-
return __decorateServiceException(exception, body);
|
|
2120
|
-
};
|
|
2121
|
-
const de_TagsLimitExceededExceptionRes = async (parsedOutput, context) => {
|
|
2122
|
-
const body = parsedOutput.body;
|
|
2123
|
-
const deserialized = _json(body);
|
|
2124
|
-
const exception = new TagsLimitExceededException({
|
|
2125
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
2126
|
-
...deserialized,
|
|
2127
|
-
});
|
|
2128
|
-
return __decorateServiceException(exception, body);
|
|
2129
|
-
};
|
|
2130
|
-
const de_ThrottlingExceptionRes = async (parsedOutput, context) => {
|
|
2131
|
-
const body = parsedOutput.body;
|
|
2132
|
-
const deserialized = _json(body);
|
|
2133
|
-
const exception = new ThrottlingException({
|
|
2134
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
2135
|
-
...deserialized,
|
|
2136
|
-
});
|
|
2137
|
-
return __decorateServiceException(exception, body);
|
|
2138
|
-
};
|
|
2139
|
-
const de_TrailAlreadyExistsExceptionRes = async (parsedOutput, context) => {
|
|
2140
|
-
const body = parsedOutput.body;
|
|
2141
|
-
const deserialized = _json(body);
|
|
2142
|
-
const exception = new TrailAlreadyExistsException({
|
|
2143
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
2144
|
-
...deserialized,
|
|
2145
|
-
});
|
|
2146
|
-
return __decorateServiceException(exception, body);
|
|
2147
|
-
};
|
|
2148
|
-
const de_TrailNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
2149
|
-
const body = parsedOutput.body;
|
|
2150
|
-
const deserialized = _json(body);
|
|
2151
|
-
const exception = new TrailNotFoundException({
|
|
2152
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
2153
|
-
...deserialized,
|
|
2154
|
-
});
|
|
2155
|
-
return __decorateServiceException(exception, body);
|
|
2156
|
-
};
|
|
2157
|
-
const de_TrailNotProvidedExceptionRes = async (parsedOutput, context) => {
|
|
2158
|
-
const body = parsedOutput.body;
|
|
2159
|
-
const deserialized = _json(body);
|
|
2160
|
-
const exception = new TrailNotProvidedException({
|
|
2161
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
2162
|
-
...deserialized,
|
|
2163
|
-
});
|
|
2164
|
-
return __decorateServiceException(exception, body);
|
|
2165
|
-
};
|
|
2166
|
-
const de_UnsupportedOperationExceptionRes = async (parsedOutput, context) => {
|
|
2167
|
-
const body = parsedOutput.body;
|
|
2168
|
-
const deserialized = _json(body);
|
|
2169
|
-
const exception = new UnsupportedOperationException({
|
|
2170
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
2171
|
-
...deserialized,
|
|
2172
|
-
});
|
|
2173
|
-
return __decorateServiceException(exception, body);
|
|
2174
|
-
};
|
|
2175
|
-
const se_ListInsightsMetricDataRequest = (input, context) => {
|
|
2176
|
-
return take(input, {
|
|
2177
|
-
DataType: [],
|
|
2178
|
-
EndTime: (_) => _.getTime() / 1_000,
|
|
2179
|
-
ErrorCode: [],
|
|
2180
|
-
EventName: [],
|
|
2181
|
-
EventSource: [],
|
|
2182
|
-
InsightType: [],
|
|
2183
|
-
MaxResults: [],
|
|
2184
|
-
NextToken: [],
|
|
2185
|
-
Period: [],
|
|
2186
|
-
StartTime: (_) => _.getTime() / 1_000,
|
|
2187
|
-
});
|
|
2188
|
-
};
|
|
2189
|
-
const se_ListPublicKeysRequest = (input, context) => {
|
|
2190
|
-
return take(input, {
|
|
2191
|
-
EndTime: (_) => _.getTime() / 1_000,
|
|
2192
|
-
NextToken: [],
|
|
2193
|
-
StartTime: (_) => _.getTime() / 1_000,
|
|
2194
|
-
});
|
|
2195
|
-
};
|
|
2196
|
-
const se_ListQueriesRequest = (input, context) => {
|
|
2197
|
-
return take(input, {
|
|
2198
|
-
EndTime: (_) => _.getTime() / 1_000,
|
|
2199
|
-
EventDataStore: [],
|
|
2200
|
-
MaxResults: [],
|
|
2201
|
-
NextToken: [],
|
|
2202
|
-
QueryStatus: [],
|
|
2203
|
-
StartTime: (_) => _.getTime() / 1_000,
|
|
2204
|
-
});
|
|
2205
|
-
};
|
|
2206
|
-
const se_LookupEventsRequest = (input, context) => {
|
|
2207
|
-
return take(input, {
|
|
2208
|
-
EndTime: (_) => _.getTime() / 1_000,
|
|
2209
|
-
EventCategory: [],
|
|
2210
|
-
LookupAttributes: _json,
|
|
2211
|
-
MaxResults: [],
|
|
2212
|
-
NextToken: [],
|
|
2213
|
-
StartTime: (_) => _.getTime() / 1_000,
|
|
2214
|
-
});
|
|
2215
|
-
};
|
|
2216
|
-
const se_StartImportRequest = (input, context) => {
|
|
2217
|
-
return take(input, {
|
|
2218
|
-
Destinations: _json,
|
|
2219
|
-
EndEventTime: (_) => _.getTime() / 1_000,
|
|
2220
|
-
ImportId: [],
|
|
2221
|
-
ImportSource: _json,
|
|
2222
|
-
StartEventTime: (_) => _.getTime() / 1_000,
|
|
2223
|
-
});
|
|
2224
|
-
};
|
|
2225
|
-
const de_CreateEventDataStoreResponse = (output, context) => {
|
|
2226
|
-
return take(output, {
|
|
2227
|
-
AdvancedEventSelectors: _json,
|
|
2228
|
-
BillingMode: __expectString,
|
|
2229
|
-
CreatedTimestamp: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2230
|
-
EventDataStoreArn: __expectString,
|
|
2231
|
-
KmsKeyId: __expectString,
|
|
2232
|
-
MultiRegionEnabled: __expectBoolean,
|
|
2233
|
-
Name: __expectString,
|
|
2234
|
-
OrganizationEnabled: __expectBoolean,
|
|
2235
|
-
RetentionPeriod: __expectInt32,
|
|
2236
|
-
Status: __expectString,
|
|
2237
|
-
TagsList: _json,
|
|
2238
|
-
TerminationProtectionEnabled: __expectBoolean,
|
|
2239
|
-
UpdatedTimestamp: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2240
|
-
});
|
|
2241
|
-
};
|
|
2242
|
-
const de_DescribeQueryResponse = (output, context) => {
|
|
2243
|
-
return take(output, {
|
|
2244
|
-
DeliveryS3Uri: __expectString,
|
|
2245
|
-
DeliveryStatus: __expectString,
|
|
2246
|
-
ErrorMessage: __expectString,
|
|
2247
|
-
EventDataStoreOwnerAccountId: __expectString,
|
|
2248
|
-
Prompt: __expectString,
|
|
2249
|
-
QueryId: __expectString,
|
|
2250
|
-
QueryStatistics: (_) => de_QueryStatisticsForDescribeQuery(_, context),
|
|
2251
|
-
QueryStatus: __expectString,
|
|
2252
|
-
QueryString: __expectString,
|
|
2253
|
-
});
|
|
2254
|
-
};
|
|
2255
|
-
const de_Event = (output, context) => {
|
|
2256
|
-
return take(output, {
|
|
2257
|
-
AccessKeyId: __expectString,
|
|
2258
|
-
CloudTrailEvent: __expectString,
|
|
2259
|
-
EventId: __expectString,
|
|
2260
|
-
EventName: __expectString,
|
|
2261
|
-
EventSource: __expectString,
|
|
2262
|
-
EventTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2263
|
-
ReadOnly: __expectString,
|
|
2264
|
-
Resources: _json,
|
|
2265
|
-
Username: __expectString,
|
|
2266
|
-
});
|
|
2267
|
-
};
|
|
2268
|
-
const de_EventDataStore = (output, context) => {
|
|
2269
|
-
return take(output, {
|
|
2270
|
-
AdvancedEventSelectors: _json,
|
|
2271
|
-
CreatedTimestamp: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2272
|
-
EventDataStoreArn: __expectString,
|
|
2273
|
-
MultiRegionEnabled: __expectBoolean,
|
|
2274
|
-
Name: __expectString,
|
|
2275
|
-
OrganizationEnabled: __expectBoolean,
|
|
2276
|
-
RetentionPeriod: __expectInt32,
|
|
2277
|
-
Status: __expectString,
|
|
2278
|
-
TerminationProtectionEnabled: __expectBoolean,
|
|
2279
|
-
UpdatedTimestamp: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2280
|
-
});
|
|
2281
|
-
};
|
|
2282
|
-
const de_EventDataStores = (output, context) => {
|
|
2283
|
-
const retVal = (output || [])
|
|
2284
|
-
.filter((e) => e != null)
|
|
2285
|
-
.map((entry) => {
|
|
2286
|
-
return de_EventDataStore(entry, context);
|
|
2287
|
-
});
|
|
2288
|
-
return retVal;
|
|
2289
|
-
};
|
|
2290
|
-
const de_EventsList = (output, context) => {
|
|
2291
|
-
const retVal = (output || [])
|
|
2292
|
-
.filter((e) => e != null)
|
|
2293
|
-
.map((entry) => {
|
|
2294
|
-
return de_Event(entry, context);
|
|
2295
|
-
});
|
|
2296
|
-
return retVal;
|
|
2297
|
-
};
|
|
2298
|
-
const de_GetChannelResponse = (output, context) => {
|
|
2299
|
-
return take(output, {
|
|
2300
|
-
ChannelArn: __expectString,
|
|
2301
|
-
Destinations: _json,
|
|
2302
|
-
IngestionStatus: (_) => de_IngestionStatus(_, context),
|
|
2303
|
-
Name: __expectString,
|
|
2304
|
-
Source: __expectString,
|
|
2305
|
-
SourceConfig: _json,
|
|
2306
|
-
});
|
|
2307
|
-
};
|
|
2308
|
-
const de_GetDashboardResponse = (output, context) => {
|
|
2309
|
-
return take(output, {
|
|
2310
|
-
CreatedTimestamp: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2311
|
-
DashboardArn: __expectString,
|
|
2312
|
-
LastRefreshFailureReason: __expectString,
|
|
2313
|
-
LastRefreshId: __expectString,
|
|
2314
|
-
RefreshSchedule: _json,
|
|
2315
|
-
Status: __expectString,
|
|
2316
|
-
TerminationProtectionEnabled: __expectBoolean,
|
|
2317
|
-
Type: __expectString,
|
|
2318
|
-
UpdatedTimestamp: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2319
|
-
Widgets: _json,
|
|
2320
|
-
});
|
|
2321
|
-
};
|
|
2322
|
-
const de_GetEventDataStoreResponse = (output, context) => {
|
|
2323
|
-
return take(output, {
|
|
2324
|
-
AdvancedEventSelectors: _json,
|
|
2325
|
-
BillingMode: __expectString,
|
|
2326
|
-
CreatedTimestamp: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2327
|
-
EventDataStoreArn: __expectString,
|
|
2328
|
-
FederationRoleArn: __expectString,
|
|
2329
|
-
FederationStatus: __expectString,
|
|
2330
|
-
KmsKeyId: __expectString,
|
|
2331
|
-
MultiRegionEnabled: __expectBoolean,
|
|
2332
|
-
Name: __expectString,
|
|
2333
|
-
OrganizationEnabled: __expectBoolean,
|
|
2334
|
-
PartitionKeys: _json,
|
|
2335
|
-
RetentionPeriod: __expectInt32,
|
|
2336
|
-
Status: __expectString,
|
|
2337
|
-
TerminationProtectionEnabled: __expectBoolean,
|
|
2338
|
-
UpdatedTimestamp: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2339
|
-
});
|
|
2340
|
-
};
|
|
2341
|
-
const de_GetImportResponse = (output, context) => {
|
|
2342
|
-
return take(output, {
|
|
2343
|
-
CreatedTimestamp: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2344
|
-
Destinations: _json,
|
|
2345
|
-
EndEventTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2346
|
-
ImportId: __expectString,
|
|
2347
|
-
ImportSource: _json,
|
|
2348
|
-
ImportStatistics: _json,
|
|
2349
|
-
ImportStatus: __expectString,
|
|
2350
|
-
StartEventTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2351
|
-
UpdatedTimestamp: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2352
|
-
});
|
|
2353
|
-
};
|
|
2354
|
-
const de_GetTrailStatusResponse = (output, context) => {
|
|
2355
|
-
return take(output, {
|
|
2356
|
-
IsLogging: __expectBoolean,
|
|
2357
|
-
LatestCloudWatchLogsDeliveryError: __expectString,
|
|
2358
|
-
LatestCloudWatchLogsDeliveryTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2359
|
-
LatestDeliveryAttemptSucceeded: __expectString,
|
|
2360
|
-
LatestDeliveryAttemptTime: __expectString,
|
|
2361
|
-
LatestDeliveryError: __expectString,
|
|
2362
|
-
LatestDeliveryTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2363
|
-
LatestDigestDeliveryError: __expectString,
|
|
2364
|
-
LatestDigestDeliveryTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2365
|
-
LatestNotificationAttemptSucceeded: __expectString,
|
|
2366
|
-
LatestNotificationAttemptTime: __expectString,
|
|
2367
|
-
LatestNotificationError: __expectString,
|
|
2368
|
-
LatestNotificationTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2369
|
-
StartLoggingTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2370
|
-
StopLoggingTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2371
|
-
TimeLoggingStarted: __expectString,
|
|
2372
|
-
TimeLoggingStopped: __expectString,
|
|
2373
|
-
});
|
|
2374
|
-
};
|
|
2375
|
-
const de_ImportFailureList = (output, context) => {
|
|
2376
|
-
const retVal = (output || [])
|
|
2377
|
-
.filter((e) => e != null)
|
|
2378
|
-
.map((entry) => {
|
|
2379
|
-
return de_ImportFailureListItem(entry, context);
|
|
2380
|
-
});
|
|
2381
|
-
return retVal;
|
|
2382
|
-
};
|
|
2383
|
-
const de_ImportFailureListItem = (output, context) => {
|
|
2384
|
-
return take(output, {
|
|
2385
|
-
ErrorMessage: __expectString,
|
|
2386
|
-
ErrorType: __expectString,
|
|
2387
|
-
LastUpdatedTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2388
|
-
Location: __expectString,
|
|
2389
|
-
Status: __expectString,
|
|
2390
|
-
});
|
|
2391
|
-
};
|
|
2392
|
-
const de_ImportsList = (output, context) => {
|
|
2393
|
-
const retVal = (output || [])
|
|
2394
|
-
.filter((e) => e != null)
|
|
2395
|
-
.map((entry) => {
|
|
2396
|
-
return de_ImportsListItem(entry, context);
|
|
2397
|
-
});
|
|
2398
|
-
return retVal;
|
|
2399
|
-
};
|
|
2400
|
-
const de_ImportsListItem = (output, context) => {
|
|
2401
|
-
return take(output, {
|
|
2402
|
-
CreatedTimestamp: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2403
|
-
Destinations: _json,
|
|
2404
|
-
ImportId: __expectString,
|
|
2405
|
-
ImportStatus: __expectString,
|
|
2406
|
-
UpdatedTimestamp: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2407
|
-
});
|
|
2408
|
-
};
|
|
2409
|
-
const de_IngestionStatus = (output, context) => {
|
|
2410
|
-
return take(output, {
|
|
2411
|
-
LatestIngestionAttemptEventID: __expectString,
|
|
2412
|
-
LatestIngestionAttemptTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2413
|
-
LatestIngestionErrorCode: __expectString,
|
|
2414
|
-
LatestIngestionSuccessEventID: __expectString,
|
|
2415
|
-
LatestIngestionSuccessTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2416
|
-
});
|
|
2417
|
-
};
|
|
2418
|
-
const de_InsightsMetricValues = (output, context) => {
|
|
2419
|
-
const retVal = (output || [])
|
|
2420
|
-
.filter((e) => e != null)
|
|
2421
|
-
.map((entry) => {
|
|
2422
|
-
return __limitedParseDouble(entry);
|
|
2423
|
-
});
|
|
2424
|
-
return retVal;
|
|
2425
|
-
};
|
|
2426
|
-
const de_ListEventDataStoresResponse = (output, context) => {
|
|
2427
|
-
return take(output, {
|
|
2428
|
-
EventDataStores: (_) => de_EventDataStores(_, context),
|
|
2429
|
-
NextToken: __expectString,
|
|
2430
|
-
});
|
|
2431
|
-
};
|
|
2432
|
-
const de_ListImportFailuresResponse = (output, context) => {
|
|
2433
|
-
return take(output, {
|
|
2434
|
-
Failures: (_) => de_ImportFailureList(_, context),
|
|
2435
|
-
NextToken: __expectString,
|
|
2436
|
-
});
|
|
2437
|
-
};
|
|
2438
|
-
const de_ListImportsResponse = (output, context) => {
|
|
2439
|
-
return take(output, {
|
|
2440
|
-
Imports: (_) => de_ImportsList(_, context),
|
|
2441
|
-
NextToken: __expectString,
|
|
2442
|
-
});
|
|
2443
|
-
};
|
|
2444
|
-
const de_ListInsightsMetricDataResponse = (output, context) => {
|
|
2445
|
-
return take(output, {
|
|
2446
|
-
ErrorCode: __expectString,
|
|
2447
|
-
EventName: __expectString,
|
|
2448
|
-
EventSource: __expectString,
|
|
2449
|
-
InsightType: __expectString,
|
|
2450
|
-
NextToken: __expectString,
|
|
2451
|
-
Timestamps: (_) => de_Timestamps(_, context),
|
|
2452
|
-
Values: (_) => de_InsightsMetricValues(_, context),
|
|
2453
|
-
});
|
|
2454
|
-
};
|
|
2455
|
-
const de_ListPublicKeysResponse = (output, context) => {
|
|
2456
|
-
return take(output, {
|
|
2457
|
-
NextToken: __expectString,
|
|
2458
|
-
PublicKeyList: (_) => de_PublicKeyList(_, context),
|
|
2459
|
-
});
|
|
2460
|
-
};
|
|
2461
|
-
const de_ListQueriesResponse = (output, context) => {
|
|
2462
|
-
return take(output, {
|
|
2463
|
-
NextToken: __expectString,
|
|
2464
|
-
Queries: (_) => de_Queries(_, context),
|
|
2465
|
-
});
|
|
2466
|
-
};
|
|
2467
|
-
const de_LookupEventsResponse = (output, context) => {
|
|
2468
|
-
return take(output, {
|
|
2469
|
-
Events: (_) => de_EventsList(_, context),
|
|
2470
|
-
NextToken: __expectString,
|
|
2471
|
-
});
|
|
2472
|
-
};
|
|
2473
|
-
const de_PublicKey = (output, context) => {
|
|
2474
|
-
return take(output, {
|
|
2475
|
-
Fingerprint: __expectString,
|
|
2476
|
-
ValidityEndTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2477
|
-
ValidityStartTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2478
|
-
Value: context.base64Decoder,
|
|
2479
|
-
});
|
|
2480
|
-
};
|
|
2481
|
-
const de_PublicKeyList = (output, context) => {
|
|
2482
|
-
const retVal = (output || [])
|
|
2483
|
-
.filter((e) => e != null)
|
|
2484
|
-
.map((entry) => {
|
|
2485
|
-
return de_PublicKey(entry, context);
|
|
2486
|
-
});
|
|
2487
|
-
return retVal;
|
|
2488
|
-
};
|
|
2489
|
-
const de_Queries = (output, context) => {
|
|
2490
|
-
const retVal = (output || [])
|
|
2491
|
-
.filter((e) => e != null)
|
|
2492
|
-
.map((entry) => {
|
|
2493
|
-
return de_Query(entry, context);
|
|
2494
|
-
});
|
|
2495
|
-
return retVal;
|
|
2496
|
-
};
|
|
2497
|
-
const de_Query = (output, context) => {
|
|
2498
|
-
return take(output, {
|
|
2499
|
-
CreationTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2500
|
-
QueryId: __expectString,
|
|
2501
|
-
QueryStatus: __expectString,
|
|
2502
|
-
});
|
|
2503
|
-
};
|
|
2504
|
-
const de_QueryStatisticsForDescribeQuery = (output, context) => {
|
|
2505
|
-
return take(output, {
|
|
2506
|
-
BytesScanned: __expectLong,
|
|
2507
|
-
CreationTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2508
|
-
EventsMatched: __expectLong,
|
|
2509
|
-
EventsScanned: __expectLong,
|
|
2510
|
-
ExecutionTimeInMillis: __expectInt32,
|
|
2511
|
-
});
|
|
2512
|
-
};
|
|
2513
|
-
const de_RestoreEventDataStoreResponse = (output, context) => {
|
|
2514
|
-
return take(output, {
|
|
2515
|
-
AdvancedEventSelectors: _json,
|
|
2516
|
-
BillingMode: __expectString,
|
|
2517
|
-
CreatedTimestamp: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2518
|
-
EventDataStoreArn: __expectString,
|
|
2519
|
-
KmsKeyId: __expectString,
|
|
2520
|
-
MultiRegionEnabled: __expectBoolean,
|
|
2521
|
-
Name: __expectString,
|
|
2522
|
-
OrganizationEnabled: __expectBoolean,
|
|
2523
|
-
RetentionPeriod: __expectInt32,
|
|
2524
|
-
Status: __expectString,
|
|
2525
|
-
TerminationProtectionEnabled: __expectBoolean,
|
|
2526
|
-
UpdatedTimestamp: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2527
|
-
});
|
|
2528
|
-
};
|
|
2529
|
-
const de_SearchSampleQueriesResponse = (output, context) => {
|
|
2530
|
-
return take(output, {
|
|
2531
|
-
NextToken: __expectString,
|
|
2532
|
-
SearchResults: (_) => de_SearchSampleQueriesSearchResults(_, context),
|
|
2533
|
-
});
|
|
2534
|
-
};
|
|
2535
|
-
const de_SearchSampleQueriesSearchResult = (output, context) => {
|
|
2536
|
-
return take(output, {
|
|
2537
|
-
Description: __expectString,
|
|
2538
|
-
Name: __expectString,
|
|
2539
|
-
Relevance: __limitedParseFloat32,
|
|
2540
|
-
SQL: __expectString,
|
|
2541
|
-
});
|
|
2542
|
-
};
|
|
2543
|
-
const de_SearchSampleQueriesSearchResults = (output, context) => {
|
|
2544
|
-
const retVal = (output || [])
|
|
2545
|
-
.filter((e) => e != null)
|
|
2546
|
-
.map((entry) => {
|
|
2547
|
-
return de_SearchSampleQueriesSearchResult(entry, context);
|
|
2548
|
-
});
|
|
2549
|
-
return retVal;
|
|
2550
|
-
};
|
|
2551
|
-
const de_StartImportResponse = (output, context) => {
|
|
2552
|
-
return take(output, {
|
|
2553
|
-
CreatedTimestamp: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2554
|
-
Destinations: _json,
|
|
2555
|
-
EndEventTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2556
|
-
ImportId: __expectString,
|
|
2557
|
-
ImportSource: _json,
|
|
2558
|
-
ImportStatus: __expectString,
|
|
2559
|
-
StartEventTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2560
|
-
UpdatedTimestamp: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2561
|
-
});
|
|
2562
|
-
};
|
|
2563
|
-
const de_StopImportResponse = (output, context) => {
|
|
2564
|
-
return take(output, {
|
|
2565
|
-
CreatedTimestamp: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2566
|
-
Destinations: _json,
|
|
2567
|
-
EndEventTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2568
|
-
ImportId: __expectString,
|
|
2569
|
-
ImportSource: _json,
|
|
2570
|
-
ImportStatistics: _json,
|
|
2571
|
-
ImportStatus: __expectString,
|
|
2572
|
-
StartEventTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2573
|
-
UpdatedTimestamp: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2574
|
-
});
|
|
2575
|
-
};
|
|
2576
|
-
const de_Timestamps = (output, context) => {
|
|
2577
|
-
const retVal = (output || [])
|
|
2578
|
-
.filter((e) => e != null)
|
|
2579
|
-
.map((entry) => {
|
|
2580
|
-
return __expectNonNull(__parseEpochTimestamp(__expectNumber(entry)));
|
|
2581
|
-
});
|
|
2582
|
-
return retVal;
|
|
2583
|
-
};
|
|
2584
|
-
const de_UpdateDashboardResponse = (output, context) => {
|
|
2585
|
-
return take(output, {
|
|
2586
|
-
CreatedTimestamp: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2587
|
-
DashboardArn: __expectString,
|
|
2588
|
-
Name: __expectString,
|
|
2589
|
-
RefreshSchedule: _json,
|
|
2590
|
-
TerminationProtectionEnabled: __expectBoolean,
|
|
2591
|
-
Type: __expectString,
|
|
2592
|
-
UpdatedTimestamp: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2593
|
-
Widgets: _json,
|
|
2594
|
-
});
|
|
2595
|
-
};
|
|
2596
|
-
const de_UpdateEventDataStoreResponse = (output, context) => {
|
|
2597
|
-
return take(output, {
|
|
2598
|
-
AdvancedEventSelectors: _json,
|
|
2599
|
-
BillingMode: __expectString,
|
|
2600
|
-
CreatedTimestamp: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2601
|
-
EventDataStoreArn: __expectString,
|
|
2602
|
-
FederationRoleArn: __expectString,
|
|
2603
|
-
FederationStatus: __expectString,
|
|
2604
|
-
KmsKeyId: __expectString,
|
|
2605
|
-
MultiRegionEnabled: __expectBoolean,
|
|
2606
|
-
Name: __expectString,
|
|
2607
|
-
OrganizationEnabled: __expectBoolean,
|
|
2608
|
-
RetentionPeriod: __expectInt32,
|
|
2609
|
-
Status: __expectString,
|
|
2610
|
-
TerminationProtectionEnabled: __expectBoolean,
|
|
2611
|
-
UpdatedTimestamp: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
2612
|
-
});
|
|
2613
|
-
};
|
|
2614
|
-
const deserializeMetadata = (output) => ({
|
|
2615
|
-
httpStatusCode: output.statusCode,
|
|
2616
|
-
requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
|
|
2617
|
-
extendedRequestId: output.headers["x-amz-id-2"],
|
|
2618
|
-
cfId: output.headers["x-amz-cf-id"],
|
|
2619
|
-
});
|
|
2620
|
-
const collectBodyString = (streamBody, context) => collectBody(streamBody, context).then((body) => context.utf8Encoder(body));
|
|
2621
|
-
const throwDefaultError = withBaseException(__BaseException);
|
|
2622
|
-
const buildHttpRpcRequest = async (context, headers, path, resolvedHostname, body) => {
|
|
2623
|
-
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
2624
|
-
const contents = {
|
|
2625
|
-
protocol,
|
|
2626
|
-
hostname,
|
|
2627
|
-
port,
|
|
2628
|
-
method: "POST",
|
|
2629
|
-
path: basePath.endsWith("/") ? basePath.slice(0, -1) + path : basePath + path,
|
|
2630
|
-
headers,
|
|
2631
|
-
};
|
|
2632
|
-
if (resolvedHostname !== undefined) {
|
|
2633
|
-
contents.hostname = resolvedHostname;
|
|
2634
|
-
}
|
|
2635
|
-
if (body !== undefined) {
|
|
2636
|
-
contents.body = body;
|
|
2637
|
-
}
|
|
2638
|
-
return new __HttpRequest(contents);
|
|
2639
|
-
};
|
|
2640
|
-
function sharedHeaders(operation) {
|
|
2641
|
-
return {
|
|
2642
|
-
"content-type": "application/x-amz-json-1.1",
|
|
2643
|
-
"x-amz-target": `CloudTrail_20131101.${operation}`,
|
|
2644
|
-
};
|
|
2645
|
-
}
|