@aws-sdk/client-detective 3.489.0 → 3.495.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/Detective.js +1 -69
- package/dist-cjs/DetectiveClient.js +1 -43
- package/dist-cjs/commands/AcceptInvitationCommand.js +1 -28
- package/dist-cjs/commands/BatchGetGraphMemberDatasourcesCommand.js +1 -28
- package/dist-cjs/commands/BatchGetMembershipDatasourcesCommand.js +1 -28
- package/dist-cjs/commands/CreateGraphCommand.js +1 -28
- package/dist-cjs/commands/CreateMembersCommand.js +1 -29
- package/dist-cjs/commands/DeleteGraphCommand.js +1 -28
- package/dist-cjs/commands/DeleteMembersCommand.js +1 -28
- package/dist-cjs/commands/DescribeOrganizationConfigurationCommand.js +1 -28
- package/dist-cjs/commands/DisableOrganizationAdminAccountCommand.js +1 -28
- package/dist-cjs/commands/DisassociateMembershipCommand.js +1 -28
- package/dist-cjs/commands/EnableOrganizationAdminAccountCommand.js +1 -28
- package/dist-cjs/commands/GetInvestigationCommand.js +1 -28
- package/dist-cjs/commands/GetMembersCommand.js +1 -29
- package/dist-cjs/commands/ListDatasourcePackagesCommand.js +1 -28
- package/dist-cjs/commands/ListGraphsCommand.js +1 -28
- package/dist-cjs/commands/ListIndicatorsCommand.js +1 -28
- package/dist-cjs/commands/ListInvestigationsCommand.js +1 -28
- package/dist-cjs/commands/ListInvitationsCommand.js +1 -29
- package/dist-cjs/commands/ListMembersCommand.js +1 -29
- package/dist-cjs/commands/ListOrganizationAdminAccountsCommand.js +1 -28
- package/dist-cjs/commands/ListTagsForResourceCommand.js +1 -28
- package/dist-cjs/commands/RejectInvitationCommand.js +1 -28
- package/dist-cjs/commands/StartInvestigationCommand.js +1 -28
- package/dist-cjs/commands/StartMonitoringMemberCommand.js +1 -28
- package/dist-cjs/commands/TagResourceCommand.js +1 -28
- package/dist-cjs/commands/UntagResourceCommand.js +1 -28
- package/dist-cjs/commands/UpdateDatasourcePackagesCommand.js +1 -28
- package/dist-cjs/commands/UpdateInvestigationStateCommand.js +1 -28
- package/dist-cjs/commands/UpdateOrganizationConfigurationCommand.js +1 -28
- package/dist-cjs/commands/index.js +1 -32
- package/dist-cjs/endpoint/EndpointParameters.js +1 -18
- package/dist-cjs/extensionConfiguration.js +1 -2
- package/dist-cjs/index.js +3051 -11
- package/dist-cjs/models/DetectiveServiceException.js +1 -12
- package/dist-cjs/models/index.js +1 -4
- package/dist-cjs/models/models_0.js +1 -218
- package/dist-cjs/pagination/Interfaces.js +1 -2
- package/dist-cjs/pagination/ListDatasourcePackagesPaginator.js +1 -7
- package/dist-cjs/pagination/ListGraphsPaginator.js +1 -7
- package/dist-cjs/pagination/ListInvitationsPaginator.js +1 -7
- package/dist-cjs/pagination/ListMembersPaginator.js +1 -7
- package/dist-cjs/pagination/ListOrganizationAdminAccountsPaginator.js +1 -7
- package/dist-cjs/pagination/index.js +1 -9
- package/dist-cjs/protocols/Aws_restJson1.js +1 -2008
- package/dist-cjs/runtimeExtensions.js +1 -22
- package/package.json +40 -40
package/dist-cjs/index.js
CHANGED
|
@@ -1,12 +1,3052 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
Object.defineProperty
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
var
|
|
12
|
-
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
|
|
7
|
+
var __export = (target, all) => {
|
|
8
|
+
for (var name in all)
|
|
9
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
10
|
+
};
|
|
11
|
+
var __copyProps = (to, from, except, desc) => {
|
|
12
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
13
|
+
for (let key of __getOwnPropNames(from))
|
|
14
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
15
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
16
|
+
}
|
|
17
|
+
return to;
|
|
18
|
+
};
|
|
19
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
20
|
+
|
|
21
|
+
// src/index.ts
|
|
22
|
+
var src_exports = {};
|
|
23
|
+
__export(src_exports, {
|
|
24
|
+
AcceptInvitationCommand: () => AcceptInvitationCommand,
|
|
25
|
+
AccessDeniedException: () => AccessDeniedException,
|
|
26
|
+
AccountFilterSensitiveLog: () => AccountFilterSensitiveLog,
|
|
27
|
+
BatchGetGraphMemberDatasourcesCommand: () => BatchGetGraphMemberDatasourcesCommand,
|
|
28
|
+
BatchGetMembershipDatasourcesCommand: () => BatchGetMembershipDatasourcesCommand,
|
|
29
|
+
ConflictException: () => ConflictException,
|
|
30
|
+
CreateGraphCommand: () => CreateGraphCommand,
|
|
31
|
+
CreateMembersCommand: () => CreateMembersCommand,
|
|
32
|
+
CreateMembersRequestFilterSensitiveLog: () => CreateMembersRequestFilterSensitiveLog,
|
|
33
|
+
CreateMembersResponseFilterSensitiveLog: () => CreateMembersResponseFilterSensitiveLog,
|
|
34
|
+
DatasourcePackage: () => DatasourcePackage,
|
|
35
|
+
DatasourcePackageIngestState: () => DatasourcePackageIngestState,
|
|
36
|
+
DeleteGraphCommand: () => DeleteGraphCommand,
|
|
37
|
+
DeleteMembersCommand: () => DeleteMembersCommand,
|
|
38
|
+
DescribeOrganizationConfigurationCommand: () => DescribeOrganizationConfigurationCommand,
|
|
39
|
+
Detective: () => Detective,
|
|
40
|
+
DetectiveClient: () => DetectiveClient,
|
|
41
|
+
DetectiveServiceException: () => DetectiveServiceException,
|
|
42
|
+
DisableOrganizationAdminAccountCommand: () => DisableOrganizationAdminAccountCommand,
|
|
43
|
+
DisassociateMembershipCommand: () => DisassociateMembershipCommand,
|
|
44
|
+
EnableOrganizationAdminAccountCommand: () => EnableOrganizationAdminAccountCommand,
|
|
45
|
+
EntityType: () => EntityType,
|
|
46
|
+
ErrorCode: () => ErrorCode,
|
|
47
|
+
Field: () => Field,
|
|
48
|
+
GetInvestigationCommand: () => GetInvestigationCommand,
|
|
49
|
+
GetMembersCommand: () => GetMembersCommand,
|
|
50
|
+
GetMembersResponseFilterSensitiveLog: () => GetMembersResponseFilterSensitiveLog,
|
|
51
|
+
IndicatorType: () => IndicatorType,
|
|
52
|
+
InternalServerException: () => InternalServerException,
|
|
53
|
+
InvitationType: () => InvitationType,
|
|
54
|
+
ListDatasourcePackagesCommand: () => ListDatasourcePackagesCommand,
|
|
55
|
+
ListGraphsCommand: () => ListGraphsCommand,
|
|
56
|
+
ListIndicatorsCommand: () => ListIndicatorsCommand,
|
|
57
|
+
ListInvestigationsCommand: () => ListInvestigationsCommand,
|
|
58
|
+
ListInvitationsCommand: () => ListInvitationsCommand,
|
|
59
|
+
ListInvitationsResponseFilterSensitiveLog: () => ListInvitationsResponseFilterSensitiveLog,
|
|
60
|
+
ListMembersCommand: () => ListMembersCommand,
|
|
61
|
+
ListMembersResponseFilterSensitiveLog: () => ListMembersResponseFilterSensitiveLog,
|
|
62
|
+
ListOrganizationAdminAccountsCommand: () => ListOrganizationAdminAccountsCommand,
|
|
63
|
+
ListTagsForResourceCommand: () => ListTagsForResourceCommand,
|
|
64
|
+
MemberDetailFilterSensitiveLog: () => MemberDetailFilterSensitiveLog,
|
|
65
|
+
MemberDisabledReason: () => MemberDisabledReason,
|
|
66
|
+
MemberStatus: () => MemberStatus,
|
|
67
|
+
Reason: () => Reason,
|
|
68
|
+
RejectInvitationCommand: () => RejectInvitationCommand,
|
|
69
|
+
ResourceNotFoundException: () => ResourceNotFoundException,
|
|
70
|
+
ServiceQuotaExceededException: () => ServiceQuotaExceededException,
|
|
71
|
+
Severity: () => Severity,
|
|
72
|
+
SortOrder: () => SortOrder,
|
|
73
|
+
StartInvestigationCommand: () => StartInvestigationCommand,
|
|
74
|
+
StartMonitoringMemberCommand: () => StartMonitoringMemberCommand,
|
|
75
|
+
State: () => State,
|
|
76
|
+
Status: () => Status,
|
|
77
|
+
TagResourceCommand: () => TagResourceCommand,
|
|
78
|
+
TooManyRequestsException: () => TooManyRequestsException,
|
|
79
|
+
UntagResourceCommand: () => UntagResourceCommand,
|
|
80
|
+
UpdateDatasourcePackagesCommand: () => UpdateDatasourcePackagesCommand,
|
|
81
|
+
UpdateInvestigationStateCommand: () => UpdateInvestigationStateCommand,
|
|
82
|
+
UpdateOrganizationConfigurationCommand: () => UpdateOrganizationConfigurationCommand,
|
|
83
|
+
ValidationException: () => ValidationException,
|
|
84
|
+
__Client: () => import_smithy_client.Client,
|
|
85
|
+
paginateListDatasourcePackages: () => paginateListDatasourcePackages,
|
|
86
|
+
paginateListGraphs: () => paginateListGraphs,
|
|
87
|
+
paginateListInvitations: () => paginateListInvitations,
|
|
88
|
+
paginateListMembers: () => paginateListMembers,
|
|
89
|
+
paginateListOrganizationAdminAccounts: () => paginateListOrganizationAdminAccounts
|
|
90
|
+
});
|
|
91
|
+
module.exports = __toCommonJS(src_exports);
|
|
92
|
+
|
|
93
|
+
// src/DetectiveClient.ts
|
|
94
|
+
var import_middleware_host_header = require("@aws-sdk/middleware-host-header");
|
|
95
|
+
var import_middleware_logger = require("@aws-sdk/middleware-logger");
|
|
96
|
+
var import_middleware_recursion_detection = require("@aws-sdk/middleware-recursion-detection");
|
|
97
|
+
var import_middleware_signing = require("@aws-sdk/middleware-signing");
|
|
98
|
+
var import_middleware_user_agent = require("@aws-sdk/middleware-user-agent");
|
|
99
|
+
var import_config_resolver = require("@smithy/config-resolver");
|
|
100
|
+
var import_middleware_content_length = require("@smithy/middleware-content-length");
|
|
101
|
+
var import_middleware_endpoint = require("@smithy/middleware-endpoint");
|
|
102
|
+
var import_middleware_retry = require("@smithy/middleware-retry");
|
|
103
|
+
|
|
104
|
+
|
|
105
|
+
// src/endpoint/EndpointParameters.ts
|
|
106
|
+
var resolveClientEndpointParameters = /* @__PURE__ */ __name((options) => {
|
|
107
|
+
return {
|
|
108
|
+
...options,
|
|
109
|
+
useDualstackEndpoint: options.useDualstackEndpoint ?? false,
|
|
110
|
+
useFipsEndpoint: options.useFipsEndpoint ?? false,
|
|
111
|
+
defaultSigningName: "detective"
|
|
112
|
+
};
|
|
113
|
+
}, "resolveClientEndpointParameters");
|
|
114
|
+
var commonParams = {
|
|
115
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
116
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
117
|
+
Region: { type: "builtInParams", name: "region" },
|
|
118
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }
|
|
119
|
+
};
|
|
120
|
+
|
|
121
|
+
// src/DetectiveClient.ts
|
|
122
|
+
var import_runtimeConfig = require("././runtimeConfig");
|
|
123
|
+
|
|
124
|
+
// src/runtimeExtensions.ts
|
|
125
|
+
var import_region_config_resolver = require("@aws-sdk/region-config-resolver");
|
|
126
|
+
var import_protocol_http = require("@smithy/protocol-http");
|
|
127
|
+
var import_smithy_client = require("@smithy/smithy-client");
|
|
128
|
+
var asPartial = /* @__PURE__ */ __name((t) => t, "asPartial");
|
|
129
|
+
var resolveRuntimeExtensions = /* @__PURE__ */ __name((runtimeConfig, extensions) => {
|
|
130
|
+
const extensionConfiguration = {
|
|
131
|
+
...asPartial((0, import_region_config_resolver.getAwsRegionExtensionConfiguration)(runtimeConfig)),
|
|
132
|
+
...asPartial((0, import_smithy_client.getDefaultExtensionConfiguration)(runtimeConfig)),
|
|
133
|
+
...asPartial((0, import_protocol_http.getHttpHandlerExtensionConfiguration)(runtimeConfig))
|
|
134
|
+
};
|
|
135
|
+
extensions.forEach((extension) => extension.configure(extensionConfiguration));
|
|
136
|
+
return {
|
|
137
|
+
...runtimeConfig,
|
|
138
|
+
...(0, import_region_config_resolver.resolveAwsRegionExtensionConfiguration)(extensionConfiguration),
|
|
139
|
+
...(0, import_smithy_client.resolveDefaultRuntimeConfig)(extensionConfiguration),
|
|
140
|
+
...(0, import_protocol_http.resolveHttpHandlerRuntimeConfig)(extensionConfiguration)
|
|
141
|
+
};
|
|
142
|
+
}, "resolveRuntimeExtensions");
|
|
143
|
+
|
|
144
|
+
// src/DetectiveClient.ts
|
|
145
|
+
var _DetectiveClient = class _DetectiveClient extends import_smithy_client.Client {
|
|
146
|
+
constructor(...[configuration]) {
|
|
147
|
+
const _config_0 = (0, import_runtimeConfig.getRuntimeConfig)(configuration || {});
|
|
148
|
+
const _config_1 = resolveClientEndpointParameters(_config_0);
|
|
149
|
+
const _config_2 = (0, import_config_resolver.resolveRegionConfig)(_config_1);
|
|
150
|
+
const _config_3 = (0, import_middleware_endpoint.resolveEndpointConfig)(_config_2);
|
|
151
|
+
const _config_4 = (0, import_middleware_retry.resolveRetryConfig)(_config_3);
|
|
152
|
+
const _config_5 = (0, import_middleware_host_header.resolveHostHeaderConfig)(_config_4);
|
|
153
|
+
const _config_6 = (0, import_middleware_signing.resolveAwsAuthConfig)(_config_5);
|
|
154
|
+
const _config_7 = (0, import_middleware_user_agent.resolveUserAgentConfig)(_config_6);
|
|
155
|
+
const _config_8 = resolveRuntimeExtensions(_config_7, (configuration == null ? void 0 : configuration.extensions) || []);
|
|
156
|
+
super(_config_8);
|
|
157
|
+
this.config = _config_8;
|
|
158
|
+
this.middlewareStack.use((0, import_middleware_retry.getRetryPlugin)(this.config));
|
|
159
|
+
this.middlewareStack.use((0, import_middleware_content_length.getContentLengthPlugin)(this.config));
|
|
160
|
+
this.middlewareStack.use((0, import_middleware_host_header.getHostHeaderPlugin)(this.config));
|
|
161
|
+
this.middlewareStack.use((0, import_middleware_logger.getLoggerPlugin)(this.config));
|
|
162
|
+
this.middlewareStack.use((0, import_middleware_recursion_detection.getRecursionDetectionPlugin)(this.config));
|
|
163
|
+
this.middlewareStack.use((0, import_middleware_signing.getAwsAuthPlugin)(this.config));
|
|
164
|
+
this.middlewareStack.use((0, import_middleware_user_agent.getUserAgentPlugin)(this.config));
|
|
165
|
+
}
|
|
166
|
+
/**
|
|
167
|
+
* Destroy underlying resources, like sockets. It's usually not necessary to do this.
|
|
168
|
+
* However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
|
|
169
|
+
* Otherwise, sockets might stay open for quite a long time before the server terminates them.
|
|
170
|
+
*/
|
|
171
|
+
destroy() {
|
|
172
|
+
super.destroy();
|
|
173
|
+
}
|
|
174
|
+
};
|
|
175
|
+
__name(_DetectiveClient, "DetectiveClient");
|
|
176
|
+
var DetectiveClient = _DetectiveClient;
|
|
177
|
+
|
|
178
|
+
// src/Detective.ts
|
|
179
|
+
|
|
180
|
+
|
|
181
|
+
// src/commands/AcceptInvitationCommand.ts
|
|
182
|
+
|
|
183
|
+
var import_middleware_serde = require("@smithy/middleware-serde");
|
|
184
|
+
|
|
185
|
+
var import_types = require("@smithy/types");
|
|
186
|
+
|
|
187
|
+
// src/protocols/Aws_restJson1.ts
|
|
188
|
+
var import_core = require("@smithy/core");
|
|
189
|
+
|
|
190
|
+
|
|
191
|
+
// src/models/DetectiveServiceException.ts
|
|
192
|
+
|
|
193
|
+
var _DetectiveServiceException = class _DetectiveServiceException extends import_smithy_client.ServiceException {
|
|
194
|
+
/**
|
|
195
|
+
* @internal
|
|
196
|
+
*/
|
|
197
|
+
constructor(options) {
|
|
198
|
+
super(options);
|
|
199
|
+
Object.setPrototypeOf(this, _DetectiveServiceException.prototype);
|
|
200
|
+
}
|
|
201
|
+
};
|
|
202
|
+
__name(_DetectiveServiceException, "DetectiveServiceException");
|
|
203
|
+
var DetectiveServiceException = _DetectiveServiceException;
|
|
204
|
+
|
|
205
|
+
// src/models/models_0.ts
|
|
206
|
+
|
|
207
|
+
var ErrorCode = {
|
|
208
|
+
InternalError: "INTERNAL_ERROR",
|
|
209
|
+
InvalidGraphArn: "INVALID_GRAPH_ARN",
|
|
210
|
+
InvalidRequestBody: "INVALID_REQUEST_BODY"
|
|
211
|
+
};
|
|
212
|
+
var _AccessDeniedException = class _AccessDeniedException extends DetectiveServiceException {
|
|
213
|
+
/**
|
|
214
|
+
* @internal
|
|
215
|
+
*/
|
|
216
|
+
constructor(opts) {
|
|
217
|
+
super({
|
|
218
|
+
name: "AccessDeniedException",
|
|
219
|
+
$fault: "client",
|
|
220
|
+
...opts
|
|
221
|
+
});
|
|
222
|
+
this.name = "AccessDeniedException";
|
|
223
|
+
this.$fault = "client";
|
|
224
|
+
Object.setPrototypeOf(this, _AccessDeniedException.prototype);
|
|
225
|
+
this.Message = opts.Message;
|
|
226
|
+
this.ErrorCode = opts.ErrorCode;
|
|
227
|
+
this.ErrorCodeReason = opts.ErrorCodeReason;
|
|
228
|
+
this.SubErrorCode = opts.SubErrorCode;
|
|
229
|
+
this.SubErrorCodeReason = opts.SubErrorCodeReason;
|
|
230
|
+
}
|
|
231
|
+
};
|
|
232
|
+
__name(_AccessDeniedException, "AccessDeniedException");
|
|
233
|
+
var AccessDeniedException = _AccessDeniedException;
|
|
234
|
+
var _ConflictException = class _ConflictException extends DetectiveServiceException {
|
|
235
|
+
/**
|
|
236
|
+
* @internal
|
|
237
|
+
*/
|
|
238
|
+
constructor(opts) {
|
|
239
|
+
super({
|
|
240
|
+
name: "ConflictException",
|
|
241
|
+
$fault: "client",
|
|
242
|
+
...opts
|
|
243
|
+
});
|
|
244
|
+
this.name = "ConflictException";
|
|
245
|
+
this.$fault = "client";
|
|
246
|
+
Object.setPrototypeOf(this, _ConflictException.prototype);
|
|
247
|
+
this.Message = opts.Message;
|
|
248
|
+
}
|
|
249
|
+
};
|
|
250
|
+
__name(_ConflictException, "ConflictException");
|
|
251
|
+
var ConflictException = _ConflictException;
|
|
252
|
+
var _InternalServerException = class _InternalServerException extends DetectiveServiceException {
|
|
253
|
+
/**
|
|
254
|
+
* @internal
|
|
255
|
+
*/
|
|
256
|
+
constructor(opts) {
|
|
257
|
+
super({
|
|
258
|
+
name: "InternalServerException",
|
|
259
|
+
$fault: "server",
|
|
260
|
+
...opts
|
|
261
|
+
});
|
|
262
|
+
this.name = "InternalServerException";
|
|
263
|
+
this.$fault = "server";
|
|
264
|
+
Object.setPrototypeOf(this, _InternalServerException.prototype);
|
|
265
|
+
this.Message = opts.Message;
|
|
266
|
+
}
|
|
267
|
+
};
|
|
268
|
+
__name(_InternalServerException, "InternalServerException");
|
|
269
|
+
var InternalServerException = _InternalServerException;
|
|
270
|
+
var _ResourceNotFoundException = class _ResourceNotFoundException extends DetectiveServiceException {
|
|
271
|
+
/**
|
|
272
|
+
* @internal
|
|
273
|
+
*/
|
|
274
|
+
constructor(opts) {
|
|
275
|
+
super({
|
|
276
|
+
name: "ResourceNotFoundException",
|
|
277
|
+
$fault: "client",
|
|
278
|
+
...opts
|
|
279
|
+
});
|
|
280
|
+
this.name = "ResourceNotFoundException";
|
|
281
|
+
this.$fault = "client";
|
|
282
|
+
Object.setPrototypeOf(this, _ResourceNotFoundException.prototype);
|
|
283
|
+
this.Message = opts.Message;
|
|
284
|
+
}
|
|
285
|
+
};
|
|
286
|
+
__name(_ResourceNotFoundException, "ResourceNotFoundException");
|
|
287
|
+
var ResourceNotFoundException = _ResourceNotFoundException;
|
|
288
|
+
var _ValidationException = class _ValidationException extends DetectiveServiceException {
|
|
289
|
+
/**
|
|
290
|
+
* @internal
|
|
291
|
+
*/
|
|
292
|
+
constructor(opts) {
|
|
293
|
+
super({
|
|
294
|
+
name: "ValidationException",
|
|
295
|
+
$fault: "client",
|
|
296
|
+
...opts
|
|
297
|
+
});
|
|
298
|
+
this.name = "ValidationException";
|
|
299
|
+
this.$fault = "client";
|
|
300
|
+
Object.setPrototypeOf(this, _ValidationException.prototype);
|
|
301
|
+
this.Message = opts.Message;
|
|
302
|
+
this.ErrorCode = opts.ErrorCode;
|
|
303
|
+
this.ErrorCodeReason = opts.ErrorCodeReason;
|
|
304
|
+
}
|
|
305
|
+
};
|
|
306
|
+
__name(_ValidationException, "ValidationException");
|
|
307
|
+
var ValidationException = _ValidationException;
|
|
308
|
+
var DatasourcePackage = {
|
|
309
|
+
ASFF_SECURITYHUB_FINDING: "ASFF_SECURITYHUB_FINDING",
|
|
310
|
+
DETECTIVE_CORE: "DETECTIVE_CORE",
|
|
311
|
+
EKS_AUDIT: "EKS_AUDIT"
|
|
312
|
+
};
|
|
313
|
+
var DatasourcePackageIngestState = {
|
|
314
|
+
DISABLED: "DISABLED",
|
|
315
|
+
STARTED: "STARTED",
|
|
316
|
+
STOPPED: "STOPPED"
|
|
317
|
+
};
|
|
318
|
+
var _ServiceQuotaExceededException = class _ServiceQuotaExceededException extends DetectiveServiceException {
|
|
319
|
+
/**
|
|
320
|
+
* @internal
|
|
321
|
+
*/
|
|
322
|
+
constructor(opts) {
|
|
323
|
+
super({
|
|
324
|
+
name: "ServiceQuotaExceededException",
|
|
325
|
+
$fault: "client",
|
|
326
|
+
...opts
|
|
327
|
+
});
|
|
328
|
+
this.name = "ServiceQuotaExceededException";
|
|
329
|
+
this.$fault = "client";
|
|
330
|
+
Object.setPrototypeOf(this, _ServiceQuotaExceededException.prototype);
|
|
331
|
+
this.Message = opts.Message;
|
|
332
|
+
this.Resources = opts.Resources;
|
|
333
|
+
}
|
|
334
|
+
};
|
|
335
|
+
__name(_ServiceQuotaExceededException, "ServiceQuotaExceededException");
|
|
336
|
+
var ServiceQuotaExceededException = _ServiceQuotaExceededException;
|
|
337
|
+
var MemberDisabledReason = {
|
|
338
|
+
VOLUME_TOO_HIGH: "VOLUME_TOO_HIGH",
|
|
339
|
+
VOLUME_UNKNOWN: "VOLUME_UNKNOWN"
|
|
340
|
+
};
|
|
341
|
+
var InvitationType = {
|
|
342
|
+
INVITATION: "INVITATION",
|
|
343
|
+
ORGANIZATION: "ORGANIZATION"
|
|
344
|
+
};
|
|
345
|
+
var MemberStatus = {
|
|
346
|
+
ACCEPTED_BUT_DISABLED: "ACCEPTED_BUT_DISABLED",
|
|
347
|
+
ENABLED: "ENABLED",
|
|
348
|
+
INVITED: "INVITED",
|
|
349
|
+
VERIFICATION_FAILED: "VERIFICATION_FAILED",
|
|
350
|
+
VERIFICATION_IN_PROGRESS: "VERIFICATION_IN_PROGRESS"
|
|
351
|
+
};
|
|
352
|
+
var _TooManyRequestsException = class _TooManyRequestsException extends DetectiveServiceException {
|
|
353
|
+
/**
|
|
354
|
+
* @internal
|
|
355
|
+
*/
|
|
356
|
+
constructor(opts) {
|
|
357
|
+
super({
|
|
358
|
+
name: "TooManyRequestsException",
|
|
359
|
+
$fault: "client",
|
|
360
|
+
...opts
|
|
361
|
+
});
|
|
362
|
+
this.name = "TooManyRequestsException";
|
|
363
|
+
this.$fault = "client";
|
|
364
|
+
Object.setPrototypeOf(this, _TooManyRequestsException.prototype);
|
|
365
|
+
this.Message = opts.Message;
|
|
366
|
+
}
|
|
367
|
+
};
|
|
368
|
+
__name(_TooManyRequestsException, "TooManyRequestsException");
|
|
369
|
+
var TooManyRequestsException = _TooManyRequestsException;
|
|
370
|
+
var EntityType = {
|
|
371
|
+
IAM_ROLE: "IAM_ROLE",
|
|
372
|
+
IAM_USER: "IAM_USER"
|
|
373
|
+
};
|
|
374
|
+
var Severity = {
|
|
375
|
+
CRITICAL: "CRITICAL",
|
|
376
|
+
HIGH: "HIGH",
|
|
377
|
+
INFORMATIONAL: "INFORMATIONAL",
|
|
378
|
+
LOW: "LOW",
|
|
379
|
+
MEDIUM: "MEDIUM"
|
|
380
|
+
};
|
|
381
|
+
var State = {
|
|
382
|
+
ACTIVE: "ACTIVE",
|
|
383
|
+
ARCHIVED: "ARCHIVED"
|
|
384
|
+
};
|
|
385
|
+
var Status = {
|
|
386
|
+
FAILED: "FAILED",
|
|
387
|
+
RUNNING: "RUNNING",
|
|
388
|
+
SUCCESSFUL: "SUCCESSFUL"
|
|
389
|
+
};
|
|
390
|
+
var IndicatorType = {
|
|
391
|
+
FLAGGED_IP_ADDRESS: "FLAGGED_IP_ADDRESS",
|
|
392
|
+
IMPOSSIBLE_TRAVEL: "IMPOSSIBLE_TRAVEL",
|
|
393
|
+
NEW_ASO: "NEW_ASO",
|
|
394
|
+
NEW_GEOLOCATION: "NEW_GEOLOCATION",
|
|
395
|
+
NEW_USER_AGENT: "NEW_USER_AGENT",
|
|
396
|
+
RELATED_FINDING: "RELATED_FINDING",
|
|
397
|
+
RELATED_FINDING_GROUP: "RELATED_FINDING_GROUP",
|
|
398
|
+
TTP_OBSERVED: "TTP_OBSERVED"
|
|
399
|
+
};
|
|
400
|
+
var Reason = {
|
|
401
|
+
AWS_THREAT_INTELLIGENCE: "AWS_THREAT_INTELLIGENCE"
|
|
402
|
+
};
|
|
403
|
+
var Field = {
|
|
404
|
+
CREATED_TIME: "CREATED_TIME",
|
|
405
|
+
SEVERITY: "SEVERITY",
|
|
406
|
+
STATUS: "STATUS"
|
|
407
|
+
};
|
|
408
|
+
var SortOrder = {
|
|
409
|
+
ASC: "ASC",
|
|
410
|
+
DESC: "DESC"
|
|
411
|
+
};
|
|
412
|
+
var AccountFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
413
|
+
...obj,
|
|
414
|
+
...obj.EmailAddress && { EmailAddress: import_smithy_client.SENSITIVE_STRING }
|
|
415
|
+
}), "AccountFilterSensitiveLog");
|
|
416
|
+
var CreateMembersRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
417
|
+
...obj,
|
|
418
|
+
...obj.Message && { Message: import_smithy_client.SENSITIVE_STRING },
|
|
419
|
+
...obj.Accounts && { Accounts: obj.Accounts.map((item) => AccountFilterSensitiveLog(item)) }
|
|
420
|
+
}), "CreateMembersRequestFilterSensitiveLog");
|
|
421
|
+
var MemberDetailFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
422
|
+
...obj,
|
|
423
|
+
...obj.EmailAddress && { EmailAddress: import_smithy_client.SENSITIVE_STRING }
|
|
424
|
+
}), "MemberDetailFilterSensitiveLog");
|
|
425
|
+
var CreateMembersResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
426
|
+
...obj,
|
|
427
|
+
...obj.Members && { Members: obj.Members.map((item) => MemberDetailFilterSensitiveLog(item)) }
|
|
428
|
+
}), "CreateMembersResponseFilterSensitiveLog");
|
|
429
|
+
var GetMembersResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
430
|
+
...obj,
|
|
431
|
+
...obj.MemberDetails && { MemberDetails: obj.MemberDetails.map((item) => MemberDetailFilterSensitiveLog(item)) }
|
|
432
|
+
}), "GetMembersResponseFilterSensitiveLog");
|
|
433
|
+
var ListInvitationsResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
434
|
+
...obj,
|
|
435
|
+
...obj.Invitations && { Invitations: obj.Invitations.map((item) => MemberDetailFilterSensitiveLog(item)) }
|
|
436
|
+
}), "ListInvitationsResponseFilterSensitiveLog");
|
|
437
|
+
var ListMembersResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
438
|
+
...obj,
|
|
439
|
+
...obj.MemberDetails && { MemberDetails: obj.MemberDetails.map((item) => MemberDetailFilterSensitiveLog(item)) }
|
|
440
|
+
}), "ListMembersResponseFilterSensitiveLog");
|
|
441
|
+
|
|
442
|
+
// src/protocols/Aws_restJson1.ts
|
|
443
|
+
var se_AcceptInvitationCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
444
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
445
|
+
const headers = {
|
|
446
|
+
"content-type": "application/json"
|
|
447
|
+
};
|
|
448
|
+
b.bp("/invitation");
|
|
449
|
+
let body;
|
|
450
|
+
body = JSON.stringify(
|
|
451
|
+
(0, import_smithy_client.take)(input, {
|
|
452
|
+
GraphArn: []
|
|
453
|
+
})
|
|
454
|
+
);
|
|
455
|
+
b.m("PUT").h(headers).b(body);
|
|
456
|
+
return b.build();
|
|
457
|
+
}, "se_AcceptInvitationCommand");
|
|
458
|
+
var se_BatchGetGraphMemberDatasourcesCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
459
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
460
|
+
const headers = {
|
|
461
|
+
"content-type": "application/json"
|
|
462
|
+
};
|
|
463
|
+
b.bp("/graph/datasources/get");
|
|
464
|
+
let body;
|
|
465
|
+
body = JSON.stringify(
|
|
466
|
+
(0, import_smithy_client.take)(input, {
|
|
467
|
+
AccountIds: (_) => (0, import_smithy_client._json)(_),
|
|
468
|
+
GraphArn: []
|
|
469
|
+
})
|
|
470
|
+
);
|
|
471
|
+
b.m("POST").h(headers).b(body);
|
|
472
|
+
return b.build();
|
|
473
|
+
}, "se_BatchGetGraphMemberDatasourcesCommand");
|
|
474
|
+
var se_BatchGetMembershipDatasourcesCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
475
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
476
|
+
const headers = {
|
|
477
|
+
"content-type": "application/json"
|
|
478
|
+
};
|
|
479
|
+
b.bp("/membership/datasources/get");
|
|
480
|
+
let body;
|
|
481
|
+
body = JSON.stringify(
|
|
482
|
+
(0, import_smithy_client.take)(input, {
|
|
483
|
+
GraphArns: (_) => (0, import_smithy_client._json)(_)
|
|
484
|
+
})
|
|
485
|
+
);
|
|
486
|
+
b.m("POST").h(headers).b(body);
|
|
487
|
+
return b.build();
|
|
488
|
+
}, "se_BatchGetMembershipDatasourcesCommand");
|
|
489
|
+
var se_CreateGraphCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
490
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
491
|
+
const headers = {
|
|
492
|
+
"content-type": "application/json"
|
|
493
|
+
};
|
|
494
|
+
b.bp("/graph");
|
|
495
|
+
let body;
|
|
496
|
+
body = JSON.stringify(
|
|
497
|
+
(0, import_smithy_client.take)(input, {
|
|
498
|
+
Tags: (_) => (0, import_smithy_client._json)(_)
|
|
499
|
+
})
|
|
500
|
+
);
|
|
501
|
+
b.m("POST").h(headers).b(body);
|
|
502
|
+
return b.build();
|
|
503
|
+
}, "se_CreateGraphCommand");
|
|
504
|
+
var se_CreateMembersCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
505
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
506
|
+
const headers = {
|
|
507
|
+
"content-type": "application/json"
|
|
508
|
+
};
|
|
509
|
+
b.bp("/graph/members");
|
|
510
|
+
let body;
|
|
511
|
+
body = JSON.stringify(
|
|
512
|
+
(0, import_smithy_client.take)(input, {
|
|
513
|
+
Accounts: (_) => (0, import_smithy_client._json)(_),
|
|
514
|
+
DisableEmailNotification: [],
|
|
515
|
+
GraphArn: [],
|
|
516
|
+
Message: []
|
|
517
|
+
})
|
|
518
|
+
);
|
|
519
|
+
b.m("POST").h(headers).b(body);
|
|
520
|
+
return b.build();
|
|
521
|
+
}, "se_CreateMembersCommand");
|
|
522
|
+
var se_DeleteGraphCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
523
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
524
|
+
const headers = {
|
|
525
|
+
"content-type": "application/json"
|
|
526
|
+
};
|
|
527
|
+
b.bp("/graph/removal");
|
|
528
|
+
let body;
|
|
529
|
+
body = JSON.stringify(
|
|
530
|
+
(0, import_smithy_client.take)(input, {
|
|
531
|
+
GraphArn: []
|
|
532
|
+
})
|
|
533
|
+
);
|
|
534
|
+
b.m("POST").h(headers).b(body);
|
|
535
|
+
return b.build();
|
|
536
|
+
}, "se_DeleteGraphCommand");
|
|
537
|
+
var se_DeleteMembersCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
538
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
539
|
+
const headers = {
|
|
540
|
+
"content-type": "application/json"
|
|
541
|
+
};
|
|
542
|
+
b.bp("/graph/members/removal");
|
|
543
|
+
let body;
|
|
544
|
+
body = JSON.stringify(
|
|
545
|
+
(0, import_smithy_client.take)(input, {
|
|
546
|
+
AccountIds: (_) => (0, import_smithy_client._json)(_),
|
|
547
|
+
GraphArn: []
|
|
548
|
+
})
|
|
549
|
+
);
|
|
550
|
+
b.m("POST").h(headers).b(body);
|
|
551
|
+
return b.build();
|
|
552
|
+
}, "se_DeleteMembersCommand");
|
|
553
|
+
var se_DescribeOrganizationConfigurationCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
554
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
555
|
+
const headers = {
|
|
556
|
+
"content-type": "application/json"
|
|
557
|
+
};
|
|
558
|
+
b.bp("/orgs/describeOrganizationConfiguration");
|
|
559
|
+
let body;
|
|
560
|
+
body = JSON.stringify(
|
|
561
|
+
(0, import_smithy_client.take)(input, {
|
|
562
|
+
GraphArn: []
|
|
563
|
+
})
|
|
564
|
+
);
|
|
565
|
+
b.m("POST").h(headers).b(body);
|
|
566
|
+
return b.build();
|
|
567
|
+
}, "se_DescribeOrganizationConfigurationCommand");
|
|
568
|
+
var se_DisableOrganizationAdminAccountCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
569
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
570
|
+
const headers = {
|
|
571
|
+
"content-type": "application/json"
|
|
572
|
+
};
|
|
573
|
+
b.bp("/orgs/disableAdminAccount");
|
|
574
|
+
let body;
|
|
575
|
+
body = "";
|
|
576
|
+
b.m("POST").h(headers).b(body);
|
|
577
|
+
return b.build();
|
|
578
|
+
}, "se_DisableOrganizationAdminAccountCommand");
|
|
579
|
+
var se_DisassociateMembershipCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
580
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
581
|
+
const headers = {
|
|
582
|
+
"content-type": "application/json"
|
|
583
|
+
};
|
|
584
|
+
b.bp("/membership/removal");
|
|
585
|
+
let body;
|
|
586
|
+
body = JSON.stringify(
|
|
587
|
+
(0, import_smithy_client.take)(input, {
|
|
588
|
+
GraphArn: []
|
|
589
|
+
})
|
|
590
|
+
);
|
|
591
|
+
b.m("POST").h(headers).b(body);
|
|
592
|
+
return b.build();
|
|
593
|
+
}, "se_DisassociateMembershipCommand");
|
|
594
|
+
var se_EnableOrganizationAdminAccountCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
595
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
596
|
+
const headers = {
|
|
597
|
+
"content-type": "application/json"
|
|
598
|
+
};
|
|
599
|
+
b.bp("/orgs/enableAdminAccount");
|
|
600
|
+
let body;
|
|
601
|
+
body = JSON.stringify(
|
|
602
|
+
(0, import_smithy_client.take)(input, {
|
|
603
|
+
AccountId: []
|
|
604
|
+
})
|
|
605
|
+
);
|
|
606
|
+
b.m("POST").h(headers).b(body);
|
|
607
|
+
return b.build();
|
|
608
|
+
}, "se_EnableOrganizationAdminAccountCommand");
|
|
609
|
+
var se_GetInvestigationCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
610
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
611
|
+
const headers = {
|
|
612
|
+
"content-type": "application/json"
|
|
613
|
+
};
|
|
614
|
+
b.bp("/investigations/getInvestigation");
|
|
615
|
+
let body;
|
|
616
|
+
body = JSON.stringify(
|
|
617
|
+
(0, import_smithy_client.take)(input, {
|
|
618
|
+
GraphArn: [],
|
|
619
|
+
InvestigationId: []
|
|
620
|
+
})
|
|
621
|
+
);
|
|
622
|
+
b.m("POST").h(headers).b(body);
|
|
623
|
+
return b.build();
|
|
624
|
+
}, "se_GetInvestigationCommand");
|
|
625
|
+
var se_GetMembersCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
626
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
627
|
+
const headers = {
|
|
628
|
+
"content-type": "application/json"
|
|
629
|
+
};
|
|
630
|
+
b.bp("/graph/members/get");
|
|
631
|
+
let body;
|
|
632
|
+
body = JSON.stringify(
|
|
633
|
+
(0, import_smithy_client.take)(input, {
|
|
634
|
+
AccountIds: (_) => (0, import_smithy_client._json)(_),
|
|
635
|
+
GraphArn: []
|
|
636
|
+
})
|
|
637
|
+
);
|
|
638
|
+
b.m("POST").h(headers).b(body);
|
|
639
|
+
return b.build();
|
|
640
|
+
}, "se_GetMembersCommand");
|
|
641
|
+
var se_ListDatasourcePackagesCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
642
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
643
|
+
const headers = {
|
|
644
|
+
"content-type": "application/json"
|
|
645
|
+
};
|
|
646
|
+
b.bp("/graph/datasources/list");
|
|
647
|
+
let body;
|
|
648
|
+
body = JSON.stringify(
|
|
649
|
+
(0, import_smithy_client.take)(input, {
|
|
650
|
+
GraphArn: [],
|
|
651
|
+
MaxResults: [],
|
|
652
|
+
NextToken: []
|
|
653
|
+
})
|
|
654
|
+
);
|
|
655
|
+
b.m("POST").h(headers).b(body);
|
|
656
|
+
return b.build();
|
|
657
|
+
}, "se_ListDatasourcePackagesCommand");
|
|
658
|
+
var se_ListGraphsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
659
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
660
|
+
const headers = {
|
|
661
|
+
"content-type": "application/json"
|
|
662
|
+
};
|
|
663
|
+
b.bp("/graphs/list");
|
|
664
|
+
let body;
|
|
665
|
+
body = JSON.stringify(
|
|
666
|
+
(0, import_smithy_client.take)(input, {
|
|
667
|
+
MaxResults: [],
|
|
668
|
+
NextToken: []
|
|
669
|
+
})
|
|
670
|
+
);
|
|
671
|
+
b.m("POST").h(headers).b(body);
|
|
672
|
+
return b.build();
|
|
673
|
+
}, "se_ListGraphsCommand");
|
|
674
|
+
var se_ListIndicatorsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
675
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
676
|
+
const headers = {
|
|
677
|
+
"content-type": "application/json"
|
|
678
|
+
};
|
|
679
|
+
b.bp("/investigations/listIndicators");
|
|
680
|
+
let body;
|
|
681
|
+
body = JSON.stringify(
|
|
682
|
+
(0, import_smithy_client.take)(input, {
|
|
683
|
+
GraphArn: [],
|
|
684
|
+
IndicatorType: [],
|
|
685
|
+
InvestigationId: [],
|
|
686
|
+
MaxResults: [],
|
|
687
|
+
NextToken: []
|
|
688
|
+
})
|
|
689
|
+
);
|
|
690
|
+
b.m("POST").h(headers).b(body);
|
|
691
|
+
return b.build();
|
|
692
|
+
}, "se_ListIndicatorsCommand");
|
|
693
|
+
var se_ListInvestigationsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
694
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
695
|
+
const headers = {
|
|
696
|
+
"content-type": "application/json"
|
|
697
|
+
};
|
|
698
|
+
b.bp("/investigations/listInvestigations");
|
|
699
|
+
let body;
|
|
700
|
+
body = JSON.stringify(
|
|
701
|
+
(0, import_smithy_client.take)(input, {
|
|
702
|
+
FilterCriteria: (_) => se_FilterCriteria(_, context),
|
|
703
|
+
GraphArn: [],
|
|
704
|
+
MaxResults: [],
|
|
705
|
+
NextToken: [],
|
|
706
|
+
SortCriteria: (_) => (0, import_smithy_client._json)(_)
|
|
707
|
+
})
|
|
708
|
+
);
|
|
709
|
+
b.m("POST").h(headers).b(body);
|
|
710
|
+
return b.build();
|
|
711
|
+
}, "se_ListInvestigationsCommand");
|
|
712
|
+
var se_ListInvitationsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
713
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
714
|
+
const headers = {
|
|
715
|
+
"content-type": "application/json"
|
|
716
|
+
};
|
|
717
|
+
b.bp("/invitations/list");
|
|
718
|
+
let body;
|
|
719
|
+
body = JSON.stringify(
|
|
720
|
+
(0, import_smithy_client.take)(input, {
|
|
721
|
+
MaxResults: [],
|
|
722
|
+
NextToken: []
|
|
723
|
+
})
|
|
724
|
+
);
|
|
725
|
+
b.m("POST").h(headers).b(body);
|
|
726
|
+
return b.build();
|
|
727
|
+
}, "se_ListInvitationsCommand");
|
|
728
|
+
var se_ListMembersCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
729
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
730
|
+
const headers = {
|
|
731
|
+
"content-type": "application/json"
|
|
732
|
+
};
|
|
733
|
+
b.bp("/graph/members/list");
|
|
734
|
+
let body;
|
|
735
|
+
body = JSON.stringify(
|
|
736
|
+
(0, import_smithy_client.take)(input, {
|
|
737
|
+
GraphArn: [],
|
|
738
|
+
MaxResults: [],
|
|
739
|
+
NextToken: []
|
|
740
|
+
})
|
|
741
|
+
);
|
|
742
|
+
b.m("POST").h(headers).b(body);
|
|
743
|
+
return b.build();
|
|
744
|
+
}, "se_ListMembersCommand");
|
|
745
|
+
var se_ListOrganizationAdminAccountsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
746
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
747
|
+
const headers = {
|
|
748
|
+
"content-type": "application/json"
|
|
749
|
+
};
|
|
750
|
+
b.bp("/orgs/adminAccountslist");
|
|
751
|
+
let body;
|
|
752
|
+
body = JSON.stringify(
|
|
753
|
+
(0, import_smithy_client.take)(input, {
|
|
754
|
+
MaxResults: [],
|
|
755
|
+
NextToken: []
|
|
756
|
+
})
|
|
757
|
+
);
|
|
758
|
+
b.m("POST").h(headers).b(body);
|
|
759
|
+
return b.build();
|
|
760
|
+
}, "se_ListOrganizationAdminAccountsCommand");
|
|
761
|
+
var se_ListTagsForResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
762
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
763
|
+
const headers = {};
|
|
764
|
+
b.bp("/tags/{ResourceArn}");
|
|
765
|
+
b.p("ResourceArn", () => input.ResourceArn, "{ResourceArn}", false);
|
|
766
|
+
let body;
|
|
767
|
+
b.m("GET").h(headers).b(body);
|
|
768
|
+
return b.build();
|
|
769
|
+
}, "se_ListTagsForResourceCommand");
|
|
770
|
+
var se_RejectInvitationCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
771
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
772
|
+
const headers = {
|
|
773
|
+
"content-type": "application/json"
|
|
774
|
+
};
|
|
775
|
+
b.bp("/invitation/removal");
|
|
776
|
+
let body;
|
|
777
|
+
body = JSON.stringify(
|
|
778
|
+
(0, import_smithy_client.take)(input, {
|
|
779
|
+
GraphArn: []
|
|
780
|
+
})
|
|
781
|
+
);
|
|
782
|
+
b.m("POST").h(headers).b(body);
|
|
783
|
+
return b.build();
|
|
784
|
+
}, "se_RejectInvitationCommand");
|
|
785
|
+
var se_StartInvestigationCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
786
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
787
|
+
const headers = {
|
|
788
|
+
"content-type": "application/json"
|
|
789
|
+
};
|
|
790
|
+
b.bp("/investigations/startInvestigation");
|
|
791
|
+
let body;
|
|
792
|
+
body = JSON.stringify(
|
|
793
|
+
(0, import_smithy_client.take)(input, {
|
|
794
|
+
EntityArn: [],
|
|
795
|
+
GraphArn: [],
|
|
796
|
+
ScopeEndTime: (_) => _.toISOString().split(".")[0] + "Z",
|
|
797
|
+
ScopeStartTime: (_) => _.toISOString().split(".")[0] + "Z"
|
|
798
|
+
})
|
|
799
|
+
);
|
|
800
|
+
b.m("POST").h(headers).b(body);
|
|
801
|
+
return b.build();
|
|
802
|
+
}, "se_StartInvestigationCommand");
|
|
803
|
+
var se_StartMonitoringMemberCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
804
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
805
|
+
const headers = {
|
|
806
|
+
"content-type": "application/json"
|
|
807
|
+
};
|
|
808
|
+
b.bp("/graph/member/monitoringstate");
|
|
809
|
+
let body;
|
|
810
|
+
body = JSON.stringify(
|
|
811
|
+
(0, import_smithy_client.take)(input, {
|
|
812
|
+
AccountId: [],
|
|
813
|
+
GraphArn: []
|
|
814
|
+
})
|
|
815
|
+
);
|
|
816
|
+
b.m("POST").h(headers).b(body);
|
|
817
|
+
return b.build();
|
|
818
|
+
}, "se_StartMonitoringMemberCommand");
|
|
819
|
+
var se_TagResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
820
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
821
|
+
const headers = {
|
|
822
|
+
"content-type": "application/json"
|
|
823
|
+
};
|
|
824
|
+
b.bp("/tags/{ResourceArn}");
|
|
825
|
+
b.p("ResourceArn", () => input.ResourceArn, "{ResourceArn}", false);
|
|
826
|
+
let body;
|
|
827
|
+
body = JSON.stringify(
|
|
828
|
+
(0, import_smithy_client.take)(input, {
|
|
829
|
+
Tags: (_) => (0, import_smithy_client._json)(_)
|
|
830
|
+
})
|
|
831
|
+
);
|
|
832
|
+
b.m("POST").h(headers).b(body);
|
|
833
|
+
return b.build();
|
|
834
|
+
}, "se_TagResourceCommand");
|
|
835
|
+
var se_UntagResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
836
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
837
|
+
const headers = {};
|
|
838
|
+
b.bp("/tags/{ResourceArn}");
|
|
839
|
+
b.p("ResourceArn", () => input.ResourceArn, "{ResourceArn}", false);
|
|
840
|
+
const query = (0, import_smithy_client.map)({
|
|
841
|
+
[_tK]: [
|
|
842
|
+
(0, import_smithy_client.expectNonNull)(input.TagKeys, `TagKeys`) != null,
|
|
843
|
+
() => (input[_TK] || []).map((_entry) => _entry)
|
|
844
|
+
]
|
|
845
|
+
});
|
|
846
|
+
let body;
|
|
847
|
+
b.m("DELETE").h(headers).q(query).b(body);
|
|
848
|
+
return b.build();
|
|
849
|
+
}, "se_UntagResourceCommand");
|
|
850
|
+
var se_UpdateDatasourcePackagesCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
851
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
852
|
+
const headers = {
|
|
853
|
+
"content-type": "application/json"
|
|
854
|
+
};
|
|
855
|
+
b.bp("/graph/datasources/update");
|
|
856
|
+
let body;
|
|
857
|
+
body = JSON.stringify(
|
|
858
|
+
(0, import_smithy_client.take)(input, {
|
|
859
|
+
DatasourcePackages: (_) => (0, import_smithy_client._json)(_),
|
|
860
|
+
GraphArn: []
|
|
861
|
+
})
|
|
862
|
+
);
|
|
863
|
+
b.m("POST").h(headers).b(body);
|
|
864
|
+
return b.build();
|
|
865
|
+
}, "se_UpdateDatasourcePackagesCommand");
|
|
866
|
+
var se_UpdateInvestigationStateCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
867
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
868
|
+
const headers = {
|
|
869
|
+
"content-type": "application/json"
|
|
870
|
+
};
|
|
871
|
+
b.bp("/investigations/updateInvestigationState");
|
|
872
|
+
let body;
|
|
873
|
+
body = JSON.stringify(
|
|
874
|
+
(0, import_smithy_client.take)(input, {
|
|
875
|
+
GraphArn: [],
|
|
876
|
+
InvestigationId: [],
|
|
877
|
+
State: []
|
|
878
|
+
})
|
|
879
|
+
);
|
|
880
|
+
b.m("POST").h(headers).b(body);
|
|
881
|
+
return b.build();
|
|
882
|
+
}, "se_UpdateInvestigationStateCommand");
|
|
883
|
+
var se_UpdateOrganizationConfigurationCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
884
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
885
|
+
const headers = {
|
|
886
|
+
"content-type": "application/json"
|
|
887
|
+
};
|
|
888
|
+
b.bp("/orgs/updateOrganizationConfiguration");
|
|
889
|
+
let body;
|
|
890
|
+
body = JSON.stringify(
|
|
891
|
+
(0, import_smithy_client.take)(input, {
|
|
892
|
+
AutoEnable: [],
|
|
893
|
+
GraphArn: []
|
|
894
|
+
})
|
|
895
|
+
);
|
|
896
|
+
b.m("POST").h(headers).b(body);
|
|
897
|
+
return b.build();
|
|
898
|
+
}, "se_UpdateOrganizationConfigurationCommand");
|
|
899
|
+
var de_AcceptInvitationCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
900
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
901
|
+
return de_AcceptInvitationCommandError(output, context);
|
|
902
|
+
}
|
|
903
|
+
const contents = (0, import_smithy_client.map)({
|
|
904
|
+
$metadata: deserializeMetadata(output)
|
|
905
|
+
});
|
|
906
|
+
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
907
|
+
return contents;
|
|
908
|
+
}, "de_AcceptInvitationCommand");
|
|
909
|
+
var de_AcceptInvitationCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
910
|
+
const parsedOutput = {
|
|
911
|
+
...output,
|
|
912
|
+
body: await parseErrorBody(output.body, context)
|
|
913
|
+
};
|
|
914
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
915
|
+
switch (errorCode) {
|
|
916
|
+
case "AccessDeniedException":
|
|
917
|
+
case "com.amazonaws.detective#AccessDeniedException":
|
|
918
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
919
|
+
case "ConflictException":
|
|
920
|
+
case "com.amazonaws.detective#ConflictException":
|
|
921
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
922
|
+
case "InternalServerException":
|
|
923
|
+
case "com.amazonaws.detective#InternalServerException":
|
|
924
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
925
|
+
case "ResourceNotFoundException":
|
|
926
|
+
case "com.amazonaws.detective#ResourceNotFoundException":
|
|
927
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
928
|
+
case "ValidationException":
|
|
929
|
+
case "com.amazonaws.detective#ValidationException":
|
|
930
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
931
|
+
default:
|
|
932
|
+
const parsedBody = parsedOutput.body;
|
|
933
|
+
return throwDefaultError({
|
|
934
|
+
output,
|
|
935
|
+
parsedBody,
|
|
936
|
+
errorCode
|
|
937
|
+
});
|
|
938
|
+
}
|
|
939
|
+
}, "de_AcceptInvitationCommandError");
|
|
940
|
+
var de_BatchGetGraphMemberDatasourcesCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
941
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
942
|
+
return de_BatchGetGraphMemberDatasourcesCommandError(output, context);
|
|
943
|
+
}
|
|
944
|
+
const contents = (0, import_smithy_client.map)({
|
|
945
|
+
$metadata: deserializeMetadata(output)
|
|
946
|
+
});
|
|
947
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
948
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
949
|
+
MemberDatasources: (_) => de_MembershipDatasourcesList(_, context),
|
|
950
|
+
UnprocessedAccounts: import_smithy_client._json
|
|
951
|
+
});
|
|
952
|
+
Object.assign(contents, doc);
|
|
953
|
+
return contents;
|
|
954
|
+
}, "de_BatchGetGraphMemberDatasourcesCommand");
|
|
955
|
+
var de_BatchGetGraphMemberDatasourcesCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
956
|
+
const parsedOutput = {
|
|
957
|
+
...output,
|
|
958
|
+
body: await parseErrorBody(output.body, context)
|
|
959
|
+
};
|
|
960
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
961
|
+
switch (errorCode) {
|
|
962
|
+
case "AccessDeniedException":
|
|
963
|
+
case "com.amazonaws.detective#AccessDeniedException":
|
|
964
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
965
|
+
case "InternalServerException":
|
|
966
|
+
case "com.amazonaws.detective#InternalServerException":
|
|
967
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
968
|
+
case "ResourceNotFoundException":
|
|
969
|
+
case "com.amazonaws.detective#ResourceNotFoundException":
|
|
970
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
971
|
+
case "ValidationException":
|
|
972
|
+
case "com.amazonaws.detective#ValidationException":
|
|
973
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
974
|
+
default:
|
|
975
|
+
const parsedBody = parsedOutput.body;
|
|
976
|
+
return throwDefaultError({
|
|
977
|
+
output,
|
|
978
|
+
parsedBody,
|
|
979
|
+
errorCode
|
|
980
|
+
});
|
|
981
|
+
}
|
|
982
|
+
}, "de_BatchGetGraphMemberDatasourcesCommandError");
|
|
983
|
+
var de_BatchGetMembershipDatasourcesCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
984
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
985
|
+
return de_BatchGetMembershipDatasourcesCommandError(output, context);
|
|
986
|
+
}
|
|
987
|
+
const contents = (0, import_smithy_client.map)({
|
|
988
|
+
$metadata: deserializeMetadata(output)
|
|
989
|
+
});
|
|
990
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
991
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
992
|
+
MembershipDatasources: (_) => de_MembershipDatasourcesList(_, context),
|
|
993
|
+
UnprocessedGraphs: import_smithy_client._json
|
|
994
|
+
});
|
|
995
|
+
Object.assign(contents, doc);
|
|
996
|
+
return contents;
|
|
997
|
+
}, "de_BatchGetMembershipDatasourcesCommand");
|
|
998
|
+
var de_BatchGetMembershipDatasourcesCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
999
|
+
const parsedOutput = {
|
|
1000
|
+
...output,
|
|
1001
|
+
body: await parseErrorBody(output.body, context)
|
|
1002
|
+
};
|
|
1003
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1004
|
+
switch (errorCode) {
|
|
1005
|
+
case "AccessDeniedException":
|
|
1006
|
+
case "com.amazonaws.detective#AccessDeniedException":
|
|
1007
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1008
|
+
case "InternalServerException":
|
|
1009
|
+
case "com.amazonaws.detective#InternalServerException":
|
|
1010
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1011
|
+
case "ResourceNotFoundException":
|
|
1012
|
+
case "com.amazonaws.detective#ResourceNotFoundException":
|
|
1013
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1014
|
+
case "ValidationException":
|
|
1015
|
+
case "com.amazonaws.detective#ValidationException":
|
|
1016
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1017
|
+
default:
|
|
1018
|
+
const parsedBody = parsedOutput.body;
|
|
1019
|
+
return throwDefaultError({
|
|
1020
|
+
output,
|
|
1021
|
+
parsedBody,
|
|
1022
|
+
errorCode
|
|
1023
|
+
});
|
|
1024
|
+
}
|
|
1025
|
+
}, "de_BatchGetMembershipDatasourcesCommandError");
|
|
1026
|
+
var de_CreateGraphCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1027
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1028
|
+
return de_CreateGraphCommandError(output, context);
|
|
1029
|
+
}
|
|
1030
|
+
const contents = (0, import_smithy_client.map)({
|
|
1031
|
+
$metadata: deserializeMetadata(output)
|
|
1032
|
+
});
|
|
1033
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
1034
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1035
|
+
GraphArn: import_smithy_client.expectString
|
|
1036
|
+
});
|
|
1037
|
+
Object.assign(contents, doc);
|
|
1038
|
+
return contents;
|
|
1039
|
+
}, "de_CreateGraphCommand");
|
|
1040
|
+
var de_CreateGraphCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1041
|
+
const parsedOutput = {
|
|
1042
|
+
...output,
|
|
1043
|
+
body: await parseErrorBody(output.body, context)
|
|
1044
|
+
};
|
|
1045
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1046
|
+
switch (errorCode) {
|
|
1047
|
+
case "AccessDeniedException":
|
|
1048
|
+
case "com.amazonaws.detective#AccessDeniedException":
|
|
1049
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1050
|
+
case "ConflictException":
|
|
1051
|
+
case "com.amazonaws.detective#ConflictException":
|
|
1052
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
1053
|
+
case "InternalServerException":
|
|
1054
|
+
case "com.amazonaws.detective#InternalServerException":
|
|
1055
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1056
|
+
case "ServiceQuotaExceededException":
|
|
1057
|
+
case "com.amazonaws.detective#ServiceQuotaExceededException":
|
|
1058
|
+
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
1059
|
+
default:
|
|
1060
|
+
const parsedBody = parsedOutput.body;
|
|
1061
|
+
return throwDefaultError({
|
|
1062
|
+
output,
|
|
1063
|
+
parsedBody,
|
|
1064
|
+
errorCode
|
|
1065
|
+
});
|
|
1066
|
+
}
|
|
1067
|
+
}, "de_CreateGraphCommandError");
|
|
1068
|
+
var de_CreateMembersCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1069
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1070
|
+
return de_CreateMembersCommandError(output, context);
|
|
1071
|
+
}
|
|
1072
|
+
const contents = (0, import_smithy_client.map)({
|
|
1073
|
+
$metadata: deserializeMetadata(output)
|
|
1074
|
+
});
|
|
1075
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
1076
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1077
|
+
Members: (_) => de_MemberDetailList(_, context),
|
|
1078
|
+
UnprocessedAccounts: import_smithy_client._json
|
|
1079
|
+
});
|
|
1080
|
+
Object.assign(contents, doc);
|
|
1081
|
+
return contents;
|
|
1082
|
+
}, "de_CreateMembersCommand");
|
|
1083
|
+
var de_CreateMembersCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1084
|
+
const parsedOutput = {
|
|
1085
|
+
...output,
|
|
1086
|
+
body: await parseErrorBody(output.body, context)
|
|
1087
|
+
};
|
|
1088
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1089
|
+
switch (errorCode) {
|
|
1090
|
+
case "AccessDeniedException":
|
|
1091
|
+
case "com.amazonaws.detective#AccessDeniedException":
|
|
1092
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1093
|
+
case "InternalServerException":
|
|
1094
|
+
case "com.amazonaws.detective#InternalServerException":
|
|
1095
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1096
|
+
case "ResourceNotFoundException":
|
|
1097
|
+
case "com.amazonaws.detective#ResourceNotFoundException":
|
|
1098
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1099
|
+
case "ServiceQuotaExceededException":
|
|
1100
|
+
case "com.amazonaws.detective#ServiceQuotaExceededException":
|
|
1101
|
+
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
1102
|
+
case "ValidationException":
|
|
1103
|
+
case "com.amazonaws.detective#ValidationException":
|
|
1104
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1105
|
+
default:
|
|
1106
|
+
const parsedBody = parsedOutput.body;
|
|
1107
|
+
return throwDefaultError({
|
|
1108
|
+
output,
|
|
1109
|
+
parsedBody,
|
|
1110
|
+
errorCode
|
|
1111
|
+
});
|
|
1112
|
+
}
|
|
1113
|
+
}, "de_CreateMembersCommandError");
|
|
1114
|
+
var de_DeleteGraphCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1115
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1116
|
+
return de_DeleteGraphCommandError(output, context);
|
|
1117
|
+
}
|
|
1118
|
+
const contents = (0, import_smithy_client.map)({
|
|
1119
|
+
$metadata: deserializeMetadata(output)
|
|
1120
|
+
});
|
|
1121
|
+
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
1122
|
+
return contents;
|
|
1123
|
+
}, "de_DeleteGraphCommand");
|
|
1124
|
+
var de_DeleteGraphCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1125
|
+
const parsedOutput = {
|
|
1126
|
+
...output,
|
|
1127
|
+
body: await parseErrorBody(output.body, context)
|
|
1128
|
+
};
|
|
1129
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1130
|
+
switch (errorCode) {
|
|
1131
|
+
case "AccessDeniedException":
|
|
1132
|
+
case "com.amazonaws.detective#AccessDeniedException":
|
|
1133
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1134
|
+
case "InternalServerException":
|
|
1135
|
+
case "com.amazonaws.detective#InternalServerException":
|
|
1136
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1137
|
+
case "ResourceNotFoundException":
|
|
1138
|
+
case "com.amazonaws.detective#ResourceNotFoundException":
|
|
1139
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1140
|
+
case "ValidationException":
|
|
1141
|
+
case "com.amazonaws.detective#ValidationException":
|
|
1142
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1143
|
+
default:
|
|
1144
|
+
const parsedBody = parsedOutput.body;
|
|
1145
|
+
return throwDefaultError({
|
|
1146
|
+
output,
|
|
1147
|
+
parsedBody,
|
|
1148
|
+
errorCode
|
|
1149
|
+
});
|
|
1150
|
+
}
|
|
1151
|
+
}, "de_DeleteGraphCommandError");
|
|
1152
|
+
var de_DeleteMembersCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1153
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1154
|
+
return de_DeleteMembersCommandError(output, context);
|
|
1155
|
+
}
|
|
1156
|
+
const contents = (0, import_smithy_client.map)({
|
|
1157
|
+
$metadata: deserializeMetadata(output)
|
|
1158
|
+
});
|
|
1159
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
1160
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1161
|
+
AccountIds: import_smithy_client._json,
|
|
1162
|
+
UnprocessedAccounts: import_smithy_client._json
|
|
1163
|
+
});
|
|
1164
|
+
Object.assign(contents, doc);
|
|
1165
|
+
return contents;
|
|
1166
|
+
}, "de_DeleteMembersCommand");
|
|
1167
|
+
var de_DeleteMembersCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1168
|
+
const parsedOutput = {
|
|
1169
|
+
...output,
|
|
1170
|
+
body: await parseErrorBody(output.body, context)
|
|
1171
|
+
};
|
|
1172
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1173
|
+
switch (errorCode) {
|
|
1174
|
+
case "AccessDeniedException":
|
|
1175
|
+
case "com.amazonaws.detective#AccessDeniedException":
|
|
1176
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1177
|
+
case "ConflictException":
|
|
1178
|
+
case "com.amazonaws.detective#ConflictException":
|
|
1179
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
1180
|
+
case "InternalServerException":
|
|
1181
|
+
case "com.amazonaws.detective#InternalServerException":
|
|
1182
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1183
|
+
case "ResourceNotFoundException":
|
|
1184
|
+
case "com.amazonaws.detective#ResourceNotFoundException":
|
|
1185
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1186
|
+
case "ValidationException":
|
|
1187
|
+
case "com.amazonaws.detective#ValidationException":
|
|
1188
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1189
|
+
default:
|
|
1190
|
+
const parsedBody = parsedOutput.body;
|
|
1191
|
+
return throwDefaultError({
|
|
1192
|
+
output,
|
|
1193
|
+
parsedBody,
|
|
1194
|
+
errorCode
|
|
1195
|
+
});
|
|
1196
|
+
}
|
|
1197
|
+
}, "de_DeleteMembersCommandError");
|
|
1198
|
+
var de_DescribeOrganizationConfigurationCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1199
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1200
|
+
return de_DescribeOrganizationConfigurationCommandError(output, context);
|
|
1201
|
+
}
|
|
1202
|
+
const contents = (0, import_smithy_client.map)({
|
|
1203
|
+
$metadata: deserializeMetadata(output)
|
|
1204
|
+
});
|
|
1205
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
1206
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1207
|
+
AutoEnable: import_smithy_client.expectBoolean
|
|
1208
|
+
});
|
|
1209
|
+
Object.assign(contents, doc);
|
|
1210
|
+
return contents;
|
|
1211
|
+
}, "de_DescribeOrganizationConfigurationCommand");
|
|
1212
|
+
var de_DescribeOrganizationConfigurationCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1213
|
+
const parsedOutput = {
|
|
1214
|
+
...output,
|
|
1215
|
+
body: await parseErrorBody(output.body, context)
|
|
1216
|
+
};
|
|
1217
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1218
|
+
switch (errorCode) {
|
|
1219
|
+
case "AccessDeniedException":
|
|
1220
|
+
case "com.amazonaws.detective#AccessDeniedException":
|
|
1221
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1222
|
+
case "InternalServerException":
|
|
1223
|
+
case "com.amazonaws.detective#InternalServerException":
|
|
1224
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1225
|
+
case "TooManyRequestsException":
|
|
1226
|
+
case "com.amazonaws.detective#TooManyRequestsException":
|
|
1227
|
+
throw await de_TooManyRequestsExceptionRes(parsedOutput, context);
|
|
1228
|
+
case "ValidationException":
|
|
1229
|
+
case "com.amazonaws.detective#ValidationException":
|
|
1230
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1231
|
+
default:
|
|
1232
|
+
const parsedBody = parsedOutput.body;
|
|
1233
|
+
return throwDefaultError({
|
|
1234
|
+
output,
|
|
1235
|
+
parsedBody,
|
|
1236
|
+
errorCode
|
|
1237
|
+
});
|
|
1238
|
+
}
|
|
1239
|
+
}, "de_DescribeOrganizationConfigurationCommandError");
|
|
1240
|
+
var de_DisableOrganizationAdminAccountCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1241
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1242
|
+
return de_DisableOrganizationAdminAccountCommandError(output, context);
|
|
1243
|
+
}
|
|
1244
|
+
const contents = (0, import_smithy_client.map)({
|
|
1245
|
+
$metadata: deserializeMetadata(output)
|
|
1246
|
+
});
|
|
1247
|
+
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
1248
|
+
return contents;
|
|
1249
|
+
}, "de_DisableOrganizationAdminAccountCommand");
|
|
1250
|
+
var de_DisableOrganizationAdminAccountCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1251
|
+
const parsedOutput = {
|
|
1252
|
+
...output,
|
|
1253
|
+
body: await parseErrorBody(output.body, context)
|
|
1254
|
+
};
|
|
1255
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1256
|
+
switch (errorCode) {
|
|
1257
|
+
case "AccessDeniedException":
|
|
1258
|
+
case "com.amazonaws.detective#AccessDeniedException":
|
|
1259
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1260
|
+
case "InternalServerException":
|
|
1261
|
+
case "com.amazonaws.detective#InternalServerException":
|
|
1262
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1263
|
+
case "TooManyRequestsException":
|
|
1264
|
+
case "com.amazonaws.detective#TooManyRequestsException":
|
|
1265
|
+
throw await de_TooManyRequestsExceptionRes(parsedOutput, context);
|
|
1266
|
+
case "ValidationException":
|
|
1267
|
+
case "com.amazonaws.detective#ValidationException":
|
|
1268
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1269
|
+
default:
|
|
1270
|
+
const parsedBody = parsedOutput.body;
|
|
1271
|
+
return throwDefaultError({
|
|
1272
|
+
output,
|
|
1273
|
+
parsedBody,
|
|
1274
|
+
errorCode
|
|
1275
|
+
});
|
|
1276
|
+
}
|
|
1277
|
+
}, "de_DisableOrganizationAdminAccountCommandError");
|
|
1278
|
+
var de_DisassociateMembershipCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1279
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1280
|
+
return de_DisassociateMembershipCommandError(output, context);
|
|
1281
|
+
}
|
|
1282
|
+
const contents = (0, import_smithy_client.map)({
|
|
1283
|
+
$metadata: deserializeMetadata(output)
|
|
1284
|
+
});
|
|
1285
|
+
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
1286
|
+
return contents;
|
|
1287
|
+
}, "de_DisassociateMembershipCommand");
|
|
1288
|
+
var de_DisassociateMembershipCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1289
|
+
const parsedOutput = {
|
|
1290
|
+
...output,
|
|
1291
|
+
body: await parseErrorBody(output.body, context)
|
|
1292
|
+
};
|
|
1293
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1294
|
+
switch (errorCode) {
|
|
1295
|
+
case "AccessDeniedException":
|
|
1296
|
+
case "com.amazonaws.detective#AccessDeniedException":
|
|
1297
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1298
|
+
case "ConflictException":
|
|
1299
|
+
case "com.amazonaws.detective#ConflictException":
|
|
1300
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
1301
|
+
case "InternalServerException":
|
|
1302
|
+
case "com.amazonaws.detective#InternalServerException":
|
|
1303
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1304
|
+
case "ResourceNotFoundException":
|
|
1305
|
+
case "com.amazonaws.detective#ResourceNotFoundException":
|
|
1306
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1307
|
+
case "ValidationException":
|
|
1308
|
+
case "com.amazonaws.detective#ValidationException":
|
|
1309
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1310
|
+
default:
|
|
1311
|
+
const parsedBody = parsedOutput.body;
|
|
1312
|
+
return throwDefaultError({
|
|
1313
|
+
output,
|
|
1314
|
+
parsedBody,
|
|
1315
|
+
errorCode
|
|
1316
|
+
});
|
|
1317
|
+
}
|
|
1318
|
+
}, "de_DisassociateMembershipCommandError");
|
|
1319
|
+
var de_EnableOrganizationAdminAccountCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1320
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1321
|
+
return de_EnableOrganizationAdminAccountCommandError(output, context);
|
|
1322
|
+
}
|
|
1323
|
+
const contents = (0, import_smithy_client.map)({
|
|
1324
|
+
$metadata: deserializeMetadata(output)
|
|
1325
|
+
});
|
|
1326
|
+
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
1327
|
+
return contents;
|
|
1328
|
+
}, "de_EnableOrganizationAdminAccountCommand");
|
|
1329
|
+
var de_EnableOrganizationAdminAccountCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1330
|
+
const parsedOutput = {
|
|
1331
|
+
...output,
|
|
1332
|
+
body: await parseErrorBody(output.body, context)
|
|
1333
|
+
};
|
|
1334
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1335
|
+
switch (errorCode) {
|
|
1336
|
+
case "AccessDeniedException":
|
|
1337
|
+
case "com.amazonaws.detective#AccessDeniedException":
|
|
1338
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1339
|
+
case "InternalServerException":
|
|
1340
|
+
case "com.amazonaws.detective#InternalServerException":
|
|
1341
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1342
|
+
case "TooManyRequestsException":
|
|
1343
|
+
case "com.amazonaws.detective#TooManyRequestsException":
|
|
1344
|
+
throw await de_TooManyRequestsExceptionRes(parsedOutput, context);
|
|
1345
|
+
case "ValidationException":
|
|
1346
|
+
case "com.amazonaws.detective#ValidationException":
|
|
1347
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1348
|
+
default:
|
|
1349
|
+
const parsedBody = parsedOutput.body;
|
|
1350
|
+
return throwDefaultError({
|
|
1351
|
+
output,
|
|
1352
|
+
parsedBody,
|
|
1353
|
+
errorCode
|
|
1354
|
+
});
|
|
1355
|
+
}
|
|
1356
|
+
}, "de_EnableOrganizationAdminAccountCommandError");
|
|
1357
|
+
var de_GetInvestigationCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1358
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1359
|
+
return de_GetInvestigationCommandError(output, context);
|
|
1360
|
+
}
|
|
1361
|
+
const contents = (0, import_smithy_client.map)({
|
|
1362
|
+
$metadata: deserializeMetadata(output)
|
|
1363
|
+
});
|
|
1364
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
1365
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1366
|
+
CreatedTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
|
|
1367
|
+
EntityArn: import_smithy_client.expectString,
|
|
1368
|
+
EntityType: import_smithy_client.expectString,
|
|
1369
|
+
GraphArn: import_smithy_client.expectString,
|
|
1370
|
+
InvestigationId: import_smithy_client.expectString,
|
|
1371
|
+
ScopeEndTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
|
|
1372
|
+
ScopeStartTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
|
|
1373
|
+
Severity: import_smithy_client.expectString,
|
|
1374
|
+
State: import_smithy_client.expectString,
|
|
1375
|
+
Status: import_smithy_client.expectString
|
|
1376
|
+
});
|
|
1377
|
+
Object.assign(contents, doc);
|
|
1378
|
+
return contents;
|
|
1379
|
+
}, "de_GetInvestigationCommand");
|
|
1380
|
+
var de_GetInvestigationCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1381
|
+
const parsedOutput = {
|
|
1382
|
+
...output,
|
|
1383
|
+
body: await parseErrorBody(output.body, context)
|
|
1384
|
+
};
|
|
1385
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1386
|
+
switch (errorCode) {
|
|
1387
|
+
case "AccessDeniedException":
|
|
1388
|
+
case "com.amazonaws.detective#AccessDeniedException":
|
|
1389
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1390
|
+
case "InternalServerException":
|
|
1391
|
+
case "com.amazonaws.detective#InternalServerException":
|
|
1392
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1393
|
+
case "ResourceNotFoundException":
|
|
1394
|
+
case "com.amazonaws.detective#ResourceNotFoundException":
|
|
1395
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1396
|
+
case "TooManyRequestsException":
|
|
1397
|
+
case "com.amazonaws.detective#TooManyRequestsException":
|
|
1398
|
+
throw await de_TooManyRequestsExceptionRes(parsedOutput, context);
|
|
1399
|
+
case "ValidationException":
|
|
1400
|
+
case "com.amazonaws.detective#ValidationException":
|
|
1401
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1402
|
+
default:
|
|
1403
|
+
const parsedBody = parsedOutput.body;
|
|
1404
|
+
return throwDefaultError({
|
|
1405
|
+
output,
|
|
1406
|
+
parsedBody,
|
|
1407
|
+
errorCode
|
|
1408
|
+
});
|
|
1409
|
+
}
|
|
1410
|
+
}, "de_GetInvestigationCommandError");
|
|
1411
|
+
var de_GetMembersCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1412
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1413
|
+
return de_GetMembersCommandError(output, context);
|
|
1414
|
+
}
|
|
1415
|
+
const contents = (0, import_smithy_client.map)({
|
|
1416
|
+
$metadata: deserializeMetadata(output)
|
|
1417
|
+
});
|
|
1418
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
1419
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1420
|
+
MemberDetails: (_) => de_MemberDetailList(_, context),
|
|
1421
|
+
UnprocessedAccounts: import_smithy_client._json
|
|
1422
|
+
});
|
|
1423
|
+
Object.assign(contents, doc);
|
|
1424
|
+
return contents;
|
|
1425
|
+
}, "de_GetMembersCommand");
|
|
1426
|
+
var de_GetMembersCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1427
|
+
const parsedOutput = {
|
|
1428
|
+
...output,
|
|
1429
|
+
body: await parseErrorBody(output.body, context)
|
|
1430
|
+
};
|
|
1431
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1432
|
+
switch (errorCode) {
|
|
1433
|
+
case "AccessDeniedException":
|
|
1434
|
+
case "com.amazonaws.detective#AccessDeniedException":
|
|
1435
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1436
|
+
case "InternalServerException":
|
|
1437
|
+
case "com.amazonaws.detective#InternalServerException":
|
|
1438
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1439
|
+
case "ResourceNotFoundException":
|
|
1440
|
+
case "com.amazonaws.detective#ResourceNotFoundException":
|
|
1441
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1442
|
+
case "ValidationException":
|
|
1443
|
+
case "com.amazonaws.detective#ValidationException":
|
|
1444
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1445
|
+
default:
|
|
1446
|
+
const parsedBody = parsedOutput.body;
|
|
1447
|
+
return throwDefaultError({
|
|
1448
|
+
output,
|
|
1449
|
+
parsedBody,
|
|
1450
|
+
errorCode
|
|
1451
|
+
});
|
|
1452
|
+
}
|
|
1453
|
+
}, "de_GetMembersCommandError");
|
|
1454
|
+
var de_ListDatasourcePackagesCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1455
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1456
|
+
return de_ListDatasourcePackagesCommandError(output, context);
|
|
1457
|
+
}
|
|
1458
|
+
const contents = (0, import_smithy_client.map)({
|
|
1459
|
+
$metadata: deserializeMetadata(output)
|
|
1460
|
+
});
|
|
1461
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
1462
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1463
|
+
DatasourcePackages: (_) => de_DatasourcePackageIngestDetails(_, context),
|
|
1464
|
+
NextToken: import_smithy_client.expectString
|
|
1465
|
+
});
|
|
1466
|
+
Object.assign(contents, doc);
|
|
1467
|
+
return contents;
|
|
1468
|
+
}, "de_ListDatasourcePackagesCommand");
|
|
1469
|
+
var de_ListDatasourcePackagesCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1470
|
+
const parsedOutput = {
|
|
1471
|
+
...output,
|
|
1472
|
+
body: await parseErrorBody(output.body, context)
|
|
1473
|
+
};
|
|
1474
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1475
|
+
switch (errorCode) {
|
|
1476
|
+
case "AccessDeniedException":
|
|
1477
|
+
case "com.amazonaws.detective#AccessDeniedException":
|
|
1478
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1479
|
+
case "InternalServerException":
|
|
1480
|
+
case "com.amazonaws.detective#InternalServerException":
|
|
1481
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1482
|
+
case "ResourceNotFoundException":
|
|
1483
|
+
case "com.amazonaws.detective#ResourceNotFoundException":
|
|
1484
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1485
|
+
case "ValidationException":
|
|
1486
|
+
case "com.amazonaws.detective#ValidationException":
|
|
1487
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1488
|
+
default:
|
|
1489
|
+
const parsedBody = parsedOutput.body;
|
|
1490
|
+
return throwDefaultError({
|
|
1491
|
+
output,
|
|
1492
|
+
parsedBody,
|
|
1493
|
+
errorCode
|
|
1494
|
+
});
|
|
1495
|
+
}
|
|
1496
|
+
}, "de_ListDatasourcePackagesCommandError");
|
|
1497
|
+
var de_ListGraphsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1498
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1499
|
+
return de_ListGraphsCommandError(output, context);
|
|
1500
|
+
}
|
|
1501
|
+
const contents = (0, import_smithy_client.map)({
|
|
1502
|
+
$metadata: deserializeMetadata(output)
|
|
1503
|
+
});
|
|
1504
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
1505
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1506
|
+
GraphList: (_) => de_GraphList(_, context),
|
|
1507
|
+
NextToken: import_smithy_client.expectString
|
|
1508
|
+
});
|
|
1509
|
+
Object.assign(contents, doc);
|
|
1510
|
+
return contents;
|
|
1511
|
+
}, "de_ListGraphsCommand");
|
|
1512
|
+
var de_ListGraphsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1513
|
+
const parsedOutput = {
|
|
1514
|
+
...output,
|
|
1515
|
+
body: await parseErrorBody(output.body, context)
|
|
1516
|
+
};
|
|
1517
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1518
|
+
switch (errorCode) {
|
|
1519
|
+
case "AccessDeniedException":
|
|
1520
|
+
case "com.amazonaws.detective#AccessDeniedException":
|
|
1521
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1522
|
+
case "InternalServerException":
|
|
1523
|
+
case "com.amazonaws.detective#InternalServerException":
|
|
1524
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1525
|
+
case "ValidationException":
|
|
1526
|
+
case "com.amazonaws.detective#ValidationException":
|
|
1527
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1528
|
+
default:
|
|
1529
|
+
const parsedBody = parsedOutput.body;
|
|
1530
|
+
return throwDefaultError({
|
|
1531
|
+
output,
|
|
1532
|
+
parsedBody,
|
|
1533
|
+
errorCode
|
|
1534
|
+
});
|
|
1535
|
+
}
|
|
1536
|
+
}, "de_ListGraphsCommandError");
|
|
1537
|
+
var de_ListIndicatorsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1538
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1539
|
+
return de_ListIndicatorsCommandError(output, context);
|
|
1540
|
+
}
|
|
1541
|
+
const contents = (0, import_smithy_client.map)({
|
|
1542
|
+
$metadata: deserializeMetadata(output)
|
|
1543
|
+
});
|
|
1544
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
1545
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1546
|
+
GraphArn: import_smithy_client.expectString,
|
|
1547
|
+
Indicators: import_smithy_client._json,
|
|
1548
|
+
InvestigationId: import_smithy_client.expectString,
|
|
1549
|
+
NextToken: import_smithy_client.expectString
|
|
1550
|
+
});
|
|
1551
|
+
Object.assign(contents, doc);
|
|
1552
|
+
return contents;
|
|
1553
|
+
}, "de_ListIndicatorsCommand");
|
|
1554
|
+
var de_ListIndicatorsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1555
|
+
const parsedOutput = {
|
|
1556
|
+
...output,
|
|
1557
|
+
body: await parseErrorBody(output.body, context)
|
|
1558
|
+
};
|
|
1559
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1560
|
+
switch (errorCode) {
|
|
1561
|
+
case "AccessDeniedException":
|
|
1562
|
+
case "com.amazonaws.detective#AccessDeniedException":
|
|
1563
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1564
|
+
case "InternalServerException":
|
|
1565
|
+
case "com.amazonaws.detective#InternalServerException":
|
|
1566
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1567
|
+
case "ResourceNotFoundException":
|
|
1568
|
+
case "com.amazonaws.detective#ResourceNotFoundException":
|
|
1569
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1570
|
+
case "TooManyRequestsException":
|
|
1571
|
+
case "com.amazonaws.detective#TooManyRequestsException":
|
|
1572
|
+
throw await de_TooManyRequestsExceptionRes(parsedOutput, context);
|
|
1573
|
+
case "ValidationException":
|
|
1574
|
+
case "com.amazonaws.detective#ValidationException":
|
|
1575
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1576
|
+
default:
|
|
1577
|
+
const parsedBody = parsedOutput.body;
|
|
1578
|
+
return throwDefaultError({
|
|
1579
|
+
output,
|
|
1580
|
+
parsedBody,
|
|
1581
|
+
errorCode
|
|
1582
|
+
});
|
|
1583
|
+
}
|
|
1584
|
+
}, "de_ListIndicatorsCommandError");
|
|
1585
|
+
var de_ListInvestigationsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1586
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1587
|
+
return de_ListInvestigationsCommandError(output, context);
|
|
1588
|
+
}
|
|
1589
|
+
const contents = (0, import_smithy_client.map)({
|
|
1590
|
+
$metadata: deserializeMetadata(output)
|
|
1591
|
+
});
|
|
1592
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
1593
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1594
|
+
InvestigationDetails: (_) => de_InvestigationDetails(_, context),
|
|
1595
|
+
NextToken: import_smithy_client.expectString
|
|
1596
|
+
});
|
|
1597
|
+
Object.assign(contents, doc);
|
|
1598
|
+
return contents;
|
|
1599
|
+
}, "de_ListInvestigationsCommand");
|
|
1600
|
+
var de_ListInvestigationsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1601
|
+
const parsedOutput = {
|
|
1602
|
+
...output,
|
|
1603
|
+
body: await parseErrorBody(output.body, context)
|
|
1604
|
+
};
|
|
1605
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1606
|
+
switch (errorCode) {
|
|
1607
|
+
case "AccessDeniedException":
|
|
1608
|
+
case "com.amazonaws.detective#AccessDeniedException":
|
|
1609
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1610
|
+
case "InternalServerException":
|
|
1611
|
+
case "com.amazonaws.detective#InternalServerException":
|
|
1612
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1613
|
+
case "ResourceNotFoundException":
|
|
1614
|
+
case "com.amazonaws.detective#ResourceNotFoundException":
|
|
1615
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1616
|
+
case "TooManyRequestsException":
|
|
1617
|
+
case "com.amazonaws.detective#TooManyRequestsException":
|
|
1618
|
+
throw await de_TooManyRequestsExceptionRes(parsedOutput, context);
|
|
1619
|
+
case "ValidationException":
|
|
1620
|
+
case "com.amazonaws.detective#ValidationException":
|
|
1621
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1622
|
+
default:
|
|
1623
|
+
const parsedBody = parsedOutput.body;
|
|
1624
|
+
return throwDefaultError({
|
|
1625
|
+
output,
|
|
1626
|
+
parsedBody,
|
|
1627
|
+
errorCode
|
|
1628
|
+
});
|
|
1629
|
+
}
|
|
1630
|
+
}, "de_ListInvestigationsCommandError");
|
|
1631
|
+
var de_ListInvitationsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1632
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1633
|
+
return de_ListInvitationsCommandError(output, context);
|
|
1634
|
+
}
|
|
1635
|
+
const contents = (0, import_smithy_client.map)({
|
|
1636
|
+
$metadata: deserializeMetadata(output)
|
|
1637
|
+
});
|
|
1638
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
1639
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1640
|
+
Invitations: (_) => de_MemberDetailList(_, context),
|
|
1641
|
+
NextToken: import_smithy_client.expectString
|
|
1642
|
+
});
|
|
1643
|
+
Object.assign(contents, doc);
|
|
1644
|
+
return contents;
|
|
1645
|
+
}, "de_ListInvitationsCommand");
|
|
1646
|
+
var de_ListInvitationsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1647
|
+
const parsedOutput = {
|
|
1648
|
+
...output,
|
|
1649
|
+
body: await parseErrorBody(output.body, context)
|
|
1650
|
+
};
|
|
1651
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1652
|
+
switch (errorCode) {
|
|
1653
|
+
case "AccessDeniedException":
|
|
1654
|
+
case "com.amazonaws.detective#AccessDeniedException":
|
|
1655
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1656
|
+
case "InternalServerException":
|
|
1657
|
+
case "com.amazonaws.detective#InternalServerException":
|
|
1658
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1659
|
+
case "ValidationException":
|
|
1660
|
+
case "com.amazonaws.detective#ValidationException":
|
|
1661
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1662
|
+
default:
|
|
1663
|
+
const parsedBody = parsedOutput.body;
|
|
1664
|
+
return throwDefaultError({
|
|
1665
|
+
output,
|
|
1666
|
+
parsedBody,
|
|
1667
|
+
errorCode
|
|
1668
|
+
});
|
|
1669
|
+
}
|
|
1670
|
+
}, "de_ListInvitationsCommandError");
|
|
1671
|
+
var de_ListMembersCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1672
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1673
|
+
return de_ListMembersCommandError(output, context);
|
|
1674
|
+
}
|
|
1675
|
+
const contents = (0, import_smithy_client.map)({
|
|
1676
|
+
$metadata: deserializeMetadata(output)
|
|
1677
|
+
});
|
|
1678
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
1679
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1680
|
+
MemberDetails: (_) => de_MemberDetailList(_, context),
|
|
1681
|
+
NextToken: import_smithy_client.expectString
|
|
1682
|
+
});
|
|
1683
|
+
Object.assign(contents, doc);
|
|
1684
|
+
return contents;
|
|
1685
|
+
}, "de_ListMembersCommand");
|
|
1686
|
+
var de_ListMembersCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1687
|
+
const parsedOutput = {
|
|
1688
|
+
...output,
|
|
1689
|
+
body: await parseErrorBody(output.body, context)
|
|
1690
|
+
};
|
|
1691
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1692
|
+
switch (errorCode) {
|
|
1693
|
+
case "AccessDeniedException":
|
|
1694
|
+
case "com.amazonaws.detective#AccessDeniedException":
|
|
1695
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1696
|
+
case "InternalServerException":
|
|
1697
|
+
case "com.amazonaws.detective#InternalServerException":
|
|
1698
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1699
|
+
case "ResourceNotFoundException":
|
|
1700
|
+
case "com.amazonaws.detective#ResourceNotFoundException":
|
|
1701
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1702
|
+
case "ValidationException":
|
|
1703
|
+
case "com.amazonaws.detective#ValidationException":
|
|
1704
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1705
|
+
default:
|
|
1706
|
+
const parsedBody = parsedOutput.body;
|
|
1707
|
+
return throwDefaultError({
|
|
1708
|
+
output,
|
|
1709
|
+
parsedBody,
|
|
1710
|
+
errorCode
|
|
1711
|
+
});
|
|
1712
|
+
}
|
|
1713
|
+
}, "de_ListMembersCommandError");
|
|
1714
|
+
var de_ListOrganizationAdminAccountsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1715
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1716
|
+
return de_ListOrganizationAdminAccountsCommandError(output, context);
|
|
1717
|
+
}
|
|
1718
|
+
const contents = (0, import_smithy_client.map)({
|
|
1719
|
+
$metadata: deserializeMetadata(output)
|
|
1720
|
+
});
|
|
1721
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
1722
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1723
|
+
Administrators: (_) => de_AdministratorList(_, context),
|
|
1724
|
+
NextToken: import_smithy_client.expectString
|
|
1725
|
+
});
|
|
1726
|
+
Object.assign(contents, doc);
|
|
1727
|
+
return contents;
|
|
1728
|
+
}, "de_ListOrganizationAdminAccountsCommand");
|
|
1729
|
+
var de_ListOrganizationAdminAccountsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1730
|
+
const parsedOutput = {
|
|
1731
|
+
...output,
|
|
1732
|
+
body: await parseErrorBody(output.body, context)
|
|
1733
|
+
};
|
|
1734
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1735
|
+
switch (errorCode) {
|
|
1736
|
+
case "AccessDeniedException":
|
|
1737
|
+
case "com.amazonaws.detective#AccessDeniedException":
|
|
1738
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1739
|
+
case "InternalServerException":
|
|
1740
|
+
case "com.amazonaws.detective#InternalServerException":
|
|
1741
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1742
|
+
case "TooManyRequestsException":
|
|
1743
|
+
case "com.amazonaws.detective#TooManyRequestsException":
|
|
1744
|
+
throw await de_TooManyRequestsExceptionRes(parsedOutput, context);
|
|
1745
|
+
case "ValidationException":
|
|
1746
|
+
case "com.amazonaws.detective#ValidationException":
|
|
1747
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1748
|
+
default:
|
|
1749
|
+
const parsedBody = parsedOutput.body;
|
|
1750
|
+
return throwDefaultError({
|
|
1751
|
+
output,
|
|
1752
|
+
parsedBody,
|
|
1753
|
+
errorCode
|
|
1754
|
+
});
|
|
1755
|
+
}
|
|
1756
|
+
}, "de_ListOrganizationAdminAccountsCommandError");
|
|
1757
|
+
var de_ListTagsForResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1758
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1759
|
+
return de_ListTagsForResourceCommandError(output, context);
|
|
1760
|
+
}
|
|
1761
|
+
const contents = (0, import_smithy_client.map)({
|
|
1762
|
+
$metadata: deserializeMetadata(output)
|
|
1763
|
+
});
|
|
1764
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
1765
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1766
|
+
Tags: import_smithy_client._json
|
|
1767
|
+
});
|
|
1768
|
+
Object.assign(contents, doc);
|
|
1769
|
+
return contents;
|
|
1770
|
+
}, "de_ListTagsForResourceCommand");
|
|
1771
|
+
var de_ListTagsForResourceCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1772
|
+
const parsedOutput = {
|
|
1773
|
+
...output,
|
|
1774
|
+
body: await parseErrorBody(output.body, context)
|
|
1775
|
+
};
|
|
1776
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1777
|
+
switch (errorCode) {
|
|
1778
|
+
case "AccessDeniedException":
|
|
1779
|
+
case "com.amazonaws.detective#AccessDeniedException":
|
|
1780
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1781
|
+
case "InternalServerException":
|
|
1782
|
+
case "com.amazonaws.detective#InternalServerException":
|
|
1783
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1784
|
+
case "ResourceNotFoundException":
|
|
1785
|
+
case "com.amazonaws.detective#ResourceNotFoundException":
|
|
1786
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1787
|
+
case "ValidationException":
|
|
1788
|
+
case "com.amazonaws.detective#ValidationException":
|
|
1789
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1790
|
+
default:
|
|
1791
|
+
const parsedBody = parsedOutput.body;
|
|
1792
|
+
return throwDefaultError({
|
|
1793
|
+
output,
|
|
1794
|
+
parsedBody,
|
|
1795
|
+
errorCode
|
|
1796
|
+
});
|
|
1797
|
+
}
|
|
1798
|
+
}, "de_ListTagsForResourceCommandError");
|
|
1799
|
+
var de_RejectInvitationCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1800
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1801
|
+
return de_RejectInvitationCommandError(output, context);
|
|
1802
|
+
}
|
|
1803
|
+
const contents = (0, import_smithy_client.map)({
|
|
1804
|
+
$metadata: deserializeMetadata(output)
|
|
1805
|
+
});
|
|
1806
|
+
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
1807
|
+
return contents;
|
|
1808
|
+
}, "de_RejectInvitationCommand");
|
|
1809
|
+
var de_RejectInvitationCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1810
|
+
const parsedOutput = {
|
|
1811
|
+
...output,
|
|
1812
|
+
body: await parseErrorBody(output.body, context)
|
|
1813
|
+
};
|
|
1814
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1815
|
+
switch (errorCode) {
|
|
1816
|
+
case "AccessDeniedException":
|
|
1817
|
+
case "com.amazonaws.detective#AccessDeniedException":
|
|
1818
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1819
|
+
case "ConflictException":
|
|
1820
|
+
case "com.amazonaws.detective#ConflictException":
|
|
1821
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
1822
|
+
case "InternalServerException":
|
|
1823
|
+
case "com.amazonaws.detective#InternalServerException":
|
|
1824
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1825
|
+
case "ResourceNotFoundException":
|
|
1826
|
+
case "com.amazonaws.detective#ResourceNotFoundException":
|
|
1827
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1828
|
+
case "ValidationException":
|
|
1829
|
+
case "com.amazonaws.detective#ValidationException":
|
|
1830
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1831
|
+
default:
|
|
1832
|
+
const parsedBody = parsedOutput.body;
|
|
1833
|
+
return throwDefaultError({
|
|
1834
|
+
output,
|
|
1835
|
+
parsedBody,
|
|
1836
|
+
errorCode
|
|
1837
|
+
});
|
|
1838
|
+
}
|
|
1839
|
+
}, "de_RejectInvitationCommandError");
|
|
1840
|
+
var de_StartInvestigationCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1841
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1842
|
+
return de_StartInvestigationCommandError(output, context);
|
|
1843
|
+
}
|
|
1844
|
+
const contents = (0, import_smithy_client.map)({
|
|
1845
|
+
$metadata: deserializeMetadata(output)
|
|
1846
|
+
});
|
|
1847
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
1848
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1849
|
+
InvestigationId: import_smithy_client.expectString
|
|
1850
|
+
});
|
|
1851
|
+
Object.assign(contents, doc);
|
|
1852
|
+
return contents;
|
|
1853
|
+
}, "de_StartInvestigationCommand");
|
|
1854
|
+
var de_StartInvestigationCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1855
|
+
const parsedOutput = {
|
|
1856
|
+
...output,
|
|
1857
|
+
body: await parseErrorBody(output.body, context)
|
|
1858
|
+
};
|
|
1859
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1860
|
+
switch (errorCode) {
|
|
1861
|
+
case "AccessDeniedException":
|
|
1862
|
+
case "com.amazonaws.detective#AccessDeniedException":
|
|
1863
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1864
|
+
case "InternalServerException":
|
|
1865
|
+
case "com.amazonaws.detective#InternalServerException":
|
|
1866
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1867
|
+
case "ResourceNotFoundException":
|
|
1868
|
+
case "com.amazonaws.detective#ResourceNotFoundException":
|
|
1869
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1870
|
+
case "TooManyRequestsException":
|
|
1871
|
+
case "com.amazonaws.detective#TooManyRequestsException":
|
|
1872
|
+
throw await de_TooManyRequestsExceptionRes(parsedOutput, context);
|
|
1873
|
+
case "ValidationException":
|
|
1874
|
+
case "com.amazonaws.detective#ValidationException":
|
|
1875
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1876
|
+
default:
|
|
1877
|
+
const parsedBody = parsedOutput.body;
|
|
1878
|
+
return throwDefaultError({
|
|
1879
|
+
output,
|
|
1880
|
+
parsedBody,
|
|
1881
|
+
errorCode
|
|
1882
|
+
});
|
|
1883
|
+
}
|
|
1884
|
+
}, "de_StartInvestigationCommandError");
|
|
1885
|
+
var de_StartMonitoringMemberCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1886
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1887
|
+
return de_StartMonitoringMemberCommandError(output, context);
|
|
1888
|
+
}
|
|
1889
|
+
const contents = (0, import_smithy_client.map)({
|
|
1890
|
+
$metadata: deserializeMetadata(output)
|
|
1891
|
+
});
|
|
1892
|
+
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
1893
|
+
return contents;
|
|
1894
|
+
}, "de_StartMonitoringMemberCommand");
|
|
1895
|
+
var de_StartMonitoringMemberCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1896
|
+
const parsedOutput = {
|
|
1897
|
+
...output,
|
|
1898
|
+
body: await parseErrorBody(output.body, context)
|
|
1899
|
+
};
|
|
1900
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1901
|
+
switch (errorCode) {
|
|
1902
|
+
case "AccessDeniedException":
|
|
1903
|
+
case "com.amazonaws.detective#AccessDeniedException":
|
|
1904
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1905
|
+
case "ConflictException":
|
|
1906
|
+
case "com.amazonaws.detective#ConflictException":
|
|
1907
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
1908
|
+
case "InternalServerException":
|
|
1909
|
+
case "com.amazonaws.detective#InternalServerException":
|
|
1910
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1911
|
+
case "ResourceNotFoundException":
|
|
1912
|
+
case "com.amazonaws.detective#ResourceNotFoundException":
|
|
1913
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1914
|
+
case "ServiceQuotaExceededException":
|
|
1915
|
+
case "com.amazonaws.detective#ServiceQuotaExceededException":
|
|
1916
|
+
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
1917
|
+
case "ValidationException":
|
|
1918
|
+
case "com.amazonaws.detective#ValidationException":
|
|
1919
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1920
|
+
default:
|
|
1921
|
+
const parsedBody = parsedOutput.body;
|
|
1922
|
+
return throwDefaultError({
|
|
1923
|
+
output,
|
|
1924
|
+
parsedBody,
|
|
1925
|
+
errorCode
|
|
1926
|
+
});
|
|
1927
|
+
}
|
|
1928
|
+
}, "de_StartMonitoringMemberCommandError");
|
|
1929
|
+
var de_TagResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1930
|
+
if (output.statusCode !== 204 && output.statusCode >= 300) {
|
|
1931
|
+
return de_TagResourceCommandError(output, context);
|
|
1932
|
+
}
|
|
1933
|
+
const contents = (0, import_smithy_client.map)({
|
|
1934
|
+
$metadata: deserializeMetadata(output)
|
|
1935
|
+
});
|
|
1936
|
+
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
1937
|
+
return contents;
|
|
1938
|
+
}, "de_TagResourceCommand");
|
|
1939
|
+
var de_TagResourceCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1940
|
+
const parsedOutput = {
|
|
1941
|
+
...output,
|
|
1942
|
+
body: await parseErrorBody(output.body, context)
|
|
1943
|
+
};
|
|
1944
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1945
|
+
switch (errorCode) {
|
|
1946
|
+
case "AccessDeniedException":
|
|
1947
|
+
case "com.amazonaws.detective#AccessDeniedException":
|
|
1948
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1949
|
+
case "InternalServerException":
|
|
1950
|
+
case "com.amazonaws.detective#InternalServerException":
|
|
1951
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1952
|
+
case "ResourceNotFoundException":
|
|
1953
|
+
case "com.amazonaws.detective#ResourceNotFoundException":
|
|
1954
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1955
|
+
case "ValidationException":
|
|
1956
|
+
case "com.amazonaws.detective#ValidationException":
|
|
1957
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1958
|
+
default:
|
|
1959
|
+
const parsedBody = parsedOutput.body;
|
|
1960
|
+
return throwDefaultError({
|
|
1961
|
+
output,
|
|
1962
|
+
parsedBody,
|
|
1963
|
+
errorCode
|
|
1964
|
+
});
|
|
1965
|
+
}
|
|
1966
|
+
}, "de_TagResourceCommandError");
|
|
1967
|
+
var de_UntagResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1968
|
+
if (output.statusCode !== 204 && output.statusCode >= 300) {
|
|
1969
|
+
return de_UntagResourceCommandError(output, context);
|
|
1970
|
+
}
|
|
1971
|
+
const contents = (0, import_smithy_client.map)({
|
|
1972
|
+
$metadata: deserializeMetadata(output)
|
|
1973
|
+
});
|
|
1974
|
+
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
1975
|
+
return contents;
|
|
1976
|
+
}, "de_UntagResourceCommand");
|
|
1977
|
+
var de_UntagResourceCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1978
|
+
const parsedOutput = {
|
|
1979
|
+
...output,
|
|
1980
|
+
body: await parseErrorBody(output.body, context)
|
|
1981
|
+
};
|
|
1982
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1983
|
+
switch (errorCode) {
|
|
1984
|
+
case "AccessDeniedException":
|
|
1985
|
+
case "com.amazonaws.detective#AccessDeniedException":
|
|
1986
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1987
|
+
case "InternalServerException":
|
|
1988
|
+
case "com.amazonaws.detective#InternalServerException":
|
|
1989
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1990
|
+
case "ResourceNotFoundException":
|
|
1991
|
+
case "com.amazonaws.detective#ResourceNotFoundException":
|
|
1992
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1993
|
+
case "ValidationException":
|
|
1994
|
+
case "com.amazonaws.detective#ValidationException":
|
|
1995
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1996
|
+
default:
|
|
1997
|
+
const parsedBody = parsedOutput.body;
|
|
1998
|
+
return throwDefaultError({
|
|
1999
|
+
output,
|
|
2000
|
+
parsedBody,
|
|
2001
|
+
errorCode
|
|
2002
|
+
});
|
|
2003
|
+
}
|
|
2004
|
+
}, "de_UntagResourceCommandError");
|
|
2005
|
+
var de_UpdateDatasourcePackagesCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2006
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2007
|
+
return de_UpdateDatasourcePackagesCommandError(output, context);
|
|
2008
|
+
}
|
|
2009
|
+
const contents = (0, import_smithy_client.map)({
|
|
2010
|
+
$metadata: deserializeMetadata(output)
|
|
2011
|
+
});
|
|
2012
|
+
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
2013
|
+
return contents;
|
|
2014
|
+
}, "de_UpdateDatasourcePackagesCommand");
|
|
2015
|
+
var de_UpdateDatasourcePackagesCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2016
|
+
const parsedOutput = {
|
|
2017
|
+
...output,
|
|
2018
|
+
body: await parseErrorBody(output.body, context)
|
|
2019
|
+
};
|
|
2020
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2021
|
+
switch (errorCode) {
|
|
2022
|
+
case "AccessDeniedException":
|
|
2023
|
+
case "com.amazonaws.detective#AccessDeniedException":
|
|
2024
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
2025
|
+
case "InternalServerException":
|
|
2026
|
+
case "com.amazonaws.detective#InternalServerException":
|
|
2027
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
2028
|
+
case "ResourceNotFoundException":
|
|
2029
|
+
case "com.amazonaws.detective#ResourceNotFoundException":
|
|
2030
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2031
|
+
case "ServiceQuotaExceededException":
|
|
2032
|
+
case "com.amazonaws.detective#ServiceQuotaExceededException":
|
|
2033
|
+
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
2034
|
+
case "ValidationException":
|
|
2035
|
+
case "com.amazonaws.detective#ValidationException":
|
|
2036
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2037
|
+
default:
|
|
2038
|
+
const parsedBody = parsedOutput.body;
|
|
2039
|
+
return throwDefaultError({
|
|
2040
|
+
output,
|
|
2041
|
+
parsedBody,
|
|
2042
|
+
errorCode
|
|
2043
|
+
});
|
|
2044
|
+
}
|
|
2045
|
+
}, "de_UpdateDatasourcePackagesCommandError");
|
|
2046
|
+
var de_UpdateInvestigationStateCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2047
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2048
|
+
return de_UpdateInvestigationStateCommandError(output, context);
|
|
2049
|
+
}
|
|
2050
|
+
const contents = (0, import_smithy_client.map)({
|
|
2051
|
+
$metadata: deserializeMetadata(output)
|
|
2052
|
+
});
|
|
2053
|
+
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
2054
|
+
return contents;
|
|
2055
|
+
}, "de_UpdateInvestigationStateCommand");
|
|
2056
|
+
var de_UpdateInvestigationStateCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2057
|
+
const parsedOutput = {
|
|
2058
|
+
...output,
|
|
2059
|
+
body: await parseErrorBody(output.body, context)
|
|
2060
|
+
};
|
|
2061
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2062
|
+
switch (errorCode) {
|
|
2063
|
+
case "AccessDeniedException":
|
|
2064
|
+
case "com.amazonaws.detective#AccessDeniedException":
|
|
2065
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
2066
|
+
case "InternalServerException":
|
|
2067
|
+
case "com.amazonaws.detective#InternalServerException":
|
|
2068
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
2069
|
+
case "ResourceNotFoundException":
|
|
2070
|
+
case "com.amazonaws.detective#ResourceNotFoundException":
|
|
2071
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2072
|
+
case "TooManyRequestsException":
|
|
2073
|
+
case "com.amazonaws.detective#TooManyRequestsException":
|
|
2074
|
+
throw await de_TooManyRequestsExceptionRes(parsedOutput, context);
|
|
2075
|
+
case "ValidationException":
|
|
2076
|
+
case "com.amazonaws.detective#ValidationException":
|
|
2077
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2078
|
+
default:
|
|
2079
|
+
const parsedBody = parsedOutput.body;
|
|
2080
|
+
return throwDefaultError({
|
|
2081
|
+
output,
|
|
2082
|
+
parsedBody,
|
|
2083
|
+
errorCode
|
|
2084
|
+
});
|
|
2085
|
+
}
|
|
2086
|
+
}, "de_UpdateInvestigationStateCommandError");
|
|
2087
|
+
var de_UpdateOrganizationConfigurationCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2088
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2089
|
+
return de_UpdateOrganizationConfigurationCommandError(output, context);
|
|
2090
|
+
}
|
|
2091
|
+
const contents = (0, import_smithy_client.map)({
|
|
2092
|
+
$metadata: deserializeMetadata(output)
|
|
2093
|
+
});
|
|
2094
|
+
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
2095
|
+
return contents;
|
|
2096
|
+
}, "de_UpdateOrganizationConfigurationCommand");
|
|
2097
|
+
var de_UpdateOrganizationConfigurationCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2098
|
+
const parsedOutput = {
|
|
2099
|
+
...output,
|
|
2100
|
+
body: await parseErrorBody(output.body, context)
|
|
2101
|
+
};
|
|
2102
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2103
|
+
switch (errorCode) {
|
|
2104
|
+
case "AccessDeniedException":
|
|
2105
|
+
case "com.amazonaws.detective#AccessDeniedException":
|
|
2106
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
2107
|
+
case "InternalServerException":
|
|
2108
|
+
case "com.amazonaws.detective#InternalServerException":
|
|
2109
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
2110
|
+
case "TooManyRequestsException":
|
|
2111
|
+
case "com.amazonaws.detective#TooManyRequestsException":
|
|
2112
|
+
throw await de_TooManyRequestsExceptionRes(parsedOutput, context);
|
|
2113
|
+
case "ValidationException":
|
|
2114
|
+
case "com.amazonaws.detective#ValidationException":
|
|
2115
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2116
|
+
default:
|
|
2117
|
+
const parsedBody = parsedOutput.body;
|
|
2118
|
+
return throwDefaultError({
|
|
2119
|
+
output,
|
|
2120
|
+
parsedBody,
|
|
2121
|
+
errorCode
|
|
2122
|
+
});
|
|
2123
|
+
}
|
|
2124
|
+
}, "de_UpdateOrganizationConfigurationCommandError");
|
|
2125
|
+
var throwDefaultError = (0, import_smithy_client.withBaseException)(DetectiveServiceException);
|
|
2126
|
+
var de_AccessDeniedExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
2127
|
+
const contents = (0, import_smithy_client.map)({});
|
|
2128
|
+
const data = parsedOutput.body;
|
|
2129
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
2130
|
+
ErrorCode: import_smithy_client.expectString,
|
|
2131
|
+
ErrorCodeReason: import_smithy_client.expectString,
|
|
2132
|
+
Message: import_smithy_client.expectString,
|
|
2133
|
+
SubErrorCode: import_smithy_client.expectString,
|
|
2134
|
+
SubErrorCodeReason: import_smithy_client.expectString
|
|
2135
|
+
});
|
|
2136
|
+
Object.assign(contents, doc);
|
|
2137
|
+
const exception = new AccessDeniedException({
|
|
2138
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
2139
|
+
...contents
|
|
2140
|
+
});
|
|
2141
|
+
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
2142
|
+
}, "de_AccessDeniedExceptionRes");
|
|
2143
|
+
var de_ConflictExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
2144
|
+
const contents = (0, import_smithy_client.map)({});
|
|
2145
|
+
const data = parsedOutput.body;
|
|
2146
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
2147
|
+
Message: import_smithy_client.expectString
|
|
2148
|
+
});
|
|
2149
|
+
Object.assign(contents, doc);
|
|
2150
|
+
const exception = new ConflictException({
|
|
2151
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
2152
|
+
...contents
|
|
2153
|
+
});
|
|
2154
|
+
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
2155
|
+
}, "de_ConflictExceptionRes");
|
|
2156
|
+
var de_InternalServerExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
2157
|
+
const contents = (0, import_smithy_client.map)({});
|
|
2158
|
+
const data = parsedOutput.body;
|
|
2159
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
2160
|
+
Message: import_smithy_client.expectString
|
|
2161
|
+
});
|
|
2162
|
+
Object.assign(contents, doc);
|
|
2163
|
+
const exception = new InternalServerException({
|
|
2164
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
2165
|
+
...contents
|
|
2166
|
+
});
|
|
2167
|
+
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
2168
|
+
}, "de_InternalServerExceptionRes");
|
|
2169
|
+
var de_ResourceNotFoundExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
2170
|
+
const contents = (0, import_smithy_client.map)({});
|
|
2171
|
+
const data = parsedOutput.body;
|
|
2172
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
2173
|
+
Message: import_smithy_client.expectString
|
|
2174
|
+
});
|
|
2175
|
+
Object.assign(contents, doc);
|
|
2176
|
+
const exception = new ResourceNotFoundException({
|
|
2177
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
2178
|
+
...contents
|
|
2179
|
+
});
|
|
2180
|
+
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
2181
|
+
}, "de_ResourceNotFoundExceptionRes");
|
|
2182
|
+
var de_ServiceQuotaExceededExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
2183
|
+
const contents = (0, import_smithy_client.map)({});
|
|
2184
|
+
const data = parsedOutput.body;
|
|
2185
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
2186
|
+
Message: import_smithy_client.expectString,
|
|
2187
|
+
Resources: import_smithy_client._json
|
|
2188
|
+
});
|
|
2189
|
+
Object.assign(contents, doc);
|
|
2190
|
+
const exception = new ServiceQuotaExceededException({
|
|
2191
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
2192
|
+
...contents
|
|
2193
|
+
});
|
|
2194
|
+
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
2195
|
+
}, "de_ServiceQuotaExceededExceptionRes");
|
|
2196
|
+
var de_TooManyRequestsExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
2197
|
+
const contents = (0, import_smithy_client.map)({});
|
|
2198
|
+
const data = parsedOutput.body;
|
|
2199
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
2200
|
+
Message: import_smithy_client.expectString
|
|
2201
|
+
});
|
|
2202
|
+
Object.assign(contents, doc);
|
|
2203
|
+
const exception = new TooManyRequestsException({
|
|
2204
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
2205
|
+
...contents
|
|
2206
|
+
});
|
|
2207
|
+
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
2208
|
+
}, "de_TooManyRequestsExceptionRes");
|
|
2209
|
+
var de_ValidationExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
2210
|
+
const contents = (0, import_smithy_client.map)({});
|
|
2211
|
+
const data = parsedOutput.body;
|
|
2212
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
2213
|
+
ErrorCode: import_smithy_client.expectString,
|
|
2214
|
+
ErrorCodeReason: import_smithy_client.expectString,
|
|
2215
|
+
Message: import_smithy_client.expectString
|
|
2216
|
+
});
|
|
2217
|
+
Object.assign(contents, doc);
|
|
2218
|
+
const exception = new ValidationException({
|
|
2219
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
2220
|
+
...contents
|
|
2221
|
+
});
|
|
2222
|
+
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
2223
|
+
}, "de_ValidationExceptionRes");
|
|
2224
|
+
var se_DateFilter = /* @__PURE__ */ __name((input, context) => {
|
|
2225
|
+
return (0, import_smithy_client.take)(input, {
|
|
2226
|
+
EndInclusive: (_) => _.toISOString().split(".")[0] + "Z",
|
|
2227
|
+
StartInclusive: (_) => _.toISOString().split(".")[0] + "Z"
|
|
2228
|
+
});
|
|
2229
|
+
}, "se_DateFilter");
|
|
2230
|
+
var se_FilterCriteria = /* @__PURE__ */ __name((input, context) => {
|
|
2231
|
+
return (0, import_smithy_client.take)(input, {
|
|
2232
|
+
CreatedTime: (_) => se_DateFilter(_, context),
|
|
2233
|
+
EntityArn: import_smithy_client._json,
|
|
2234
|
+
Severity: import_smithy_client._json,
|
|
2235
|
+
State: import_smithy_client._json,
|
|
2236
|
+
Status: import_smithy_client._json
|
|
2237
|
+
});
|
|
2238
|
+
}, "se_FilterCriteria");
|
|
2239
|
+
var de_Administrator = /* @__PURE__ */ __name((output, context) => {
|
|
2240
|
+
return (0, import_smithy_client.take)(output, {
|
|
2241
|
+
AccountId: import_smithy_client.expectString,
|
|
2242
|
+
DelegationTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
|
|
2243
|
+
GraphArn: import_smithy_client.expectString
|
|
2244
|
+
});
|
|
2245
|
+
}, "de_Administrator");
|
|
2246
|
+
var de_AdministratorList = /* @__PURE__ */ __name((output, context) => {
|
|
2247
|
+
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
2248
|
+
return de_Administrator(entry, context);
|
|
2249
|
+
});
|
|
2250
|
+
return retVal;
|
|
2251
|
+
}, "de_AdministratorList");
|
|
2252
|
+
var de_DatasourcePackageIngestDetail = /* @__PURE__ */ __name((output, context) => {
|
|
2253
|
+
return (0, import_smithy_client.take)(output, {
|
|
2254
|
+
DatasourcePackageIngestState: import_smithy_client.expectString,
|
|
2255
|
+
LastIngestStateChange: (_) => de_LastIngestStateChangeDates(_, context)
|
|
2256
|
+
});
|
|
2257
|
+
}, "de_DatasourcePackageIngestDetail");
|
|
2258
|
+
var de_DatasourcePackageIngestDetails = /* @__PURE__ */ __name((output, context) => {
|
|
2259
|
+
return Object.entries(output).reduce(
|
|
2260
|
+
(acc, [key, value]) => {
|
|
2261
|
+
if (value === null) {
|
|
2262
|
+
return acc;
|
|
2263
|
+
}
|
|
2264
|
+
acc[key] = de_DatasourcePackageIngestDetail(value, context);
|
|
2265
|
+
return acc;
|
|
2266
|
+
},
|
|
2267
|
+
{}
|
|
2268
|
+
);
|
|
2269
|
+
}, "de_DatasourcePackageIngestDetails");
|
|
2270
|
+
var de_DatasourcePackageIngestHistory = /* @__PURE__ */ __name((output, context) => {
|
|
2271
|
+
return Object.entries(output).reduce(
|
|
2272
|
+
(acc, [key, value]) => {
|
|
2273
|
+
if (value === null) {
|
|
2274
|
+
return acc;
|
|
2275
|
+
}
|
|
2276
|
+
acc[key] = de_LastIngestStateChangeDates(value, context);
|
|
2277
|
+
return acc;
|
|
2278
|
+
},
|
|
2279
|
+
{}
|
|
2280
|
+
);
|
|
2281
|
+
}, "de_DatasourcePackageIngestHistory");
|
|
2282
|
+
var de_DatasourcePackageUsageInfo = /* @__PURE__ */ __name((output, context) => {
|
|
2283
|
+
return (0, import_smithy_client.take)(output, {
|
|
2284
|
+
VolumeUsageInBytes: import_smithy_client.expectLong,
|
|
2285
|
+
VolumeUsageUpdateTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_))
|
|
2286
|
+
});
|
|
2287
|
+
}, "de_DatasourcePackageUsageInfo");
|
|
2288
|
+
var de_Graph = /* @__PURE__ */ __name((output, context) => {
|
|
2289
|
+
return (0, import_smithy_client.take)(output, {
|
|
2290
|
+
Arn: import_smithy_client.expectString,
|
|
2291
|
+
CreatedTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_))
|
|
2292
|
+
});
|
|
2293
|
+
}, "de_Graph");
|
|
2294
|
+
var de_GraphList = /* @__PURE__ */ __name((output, context) => {
|
|
2295
|
+
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
2296
|
+
return de_Graph(entry, context);
|
|
2297
|
+
});
|
|
2298
|
+
return retVal;
|
|
2299
|
+
}, "de_GraphList");
|
|
2300
|
+
var de_InvestigationDetail = /* @__PURE__ */ __name((output, context) => {
|
|
2301
|
+
return (0, import_smithy_client.take)(output, {
|
|
2302
|
+
CreatedTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
|
|
2303
|
+
EntityArn: import_smithy_client.expectString,
|
|
2304
|
+
EntityType: import_smithy_client.expectString,
|
|
2305
|
+
InvestigationId: import_smithy_client.expectString,
|
|
2306
|
+
Severity: import_smithy_client.expectString,
|
|
2307
|
+
State: import_smithy_client.expectString,
|
|
2308
|
+
Status: import_smithy_client.expectString
|
|
2309
|
+
});
|
|
2310
|
+
}, "de_InvestigationDetail");
|
|
2311
|
+
var de_InvestigationDetails = /* @__PURE__ */ __name((output, context) => {
|
|
2312
|
+
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
2313
|
+
return de_InvestigationDetail(entry, context);
|
|
2314
|
+
});
|
|
2315
|
+
return retVal;
|
|
2316
|
+
}, "de_InvestigationDetails");
|
|
2317
|
+
var de_LastIngestStateChangeDates = /* @__PURE__ */ __name((output, context) => {
|
|
2318
|
+
return Object.entries(output).reduce(
|
|
2319
|
+
(acc, [key, value]) => {
|
|
2320
|
+
if (value === null) {
|
|
2321
|
+
return acc;
|
|
2322
|
+
}
|
|
2323
|
+
acc[key] = de_TimestampForCollection(value, context);
|
|
2324
|
+
return acc;
|
|
2325
|
+
},
|
|
2326
|
+
{}
|
|
2327
|
+
);
|
|
2328
|
+
}, "de_LastIngestStateChangeDates");
|
|
2329
|
+
var de_MemberDetail = /* @__PURE__ */ __name((output, context) => {
|
|
2330
|
+
return (0, import_smithy_client.take)(output, {
|
|
2331
|
+
AccountId: import_smithy_client.expectString,
|
|
2332
|
+
AdministratorId: import_smithy_client.expectString,
|
|
2333
|
+
DatasourcePackageIngestStates: import_smithy_client._json,
|
|
2334
|
+
DisabledReason: import_smithy_client.expectString,
|
|
2335
|
+
EmailAddress: import_smithy_client.expectString,
|
|
2336
|
+
GraphArn: import_smithy_client.expectString,
|
|
2337
|
+
InvitationType: import_smithy_client.expectString,
|
|
2338
|
+
InvitedTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
|
|
2339
|
+
MasterId: import_smithy_client.expectString,
|
|
2340
|
+
PercentOfGraphUtilization: import_smithy_client.limitedParseDouble,
|
|
2341
|
+
PercentOfGraphUtilizationUpdatedTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
|
|
2342
|
+
Status: import_smithy_client.expectString,
|
|
2343
|
+
UpdatedTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
|
|
2344
|
+
VolumeUsageByDatasourcePackage: (_) => de_VolumeUsageByDatasourcePackage(_, context),
|
|
2345
|
+
VolumeUsageInBytes: import_smithy_client.expectLong,
|
|
2346
|
+
VolumeUsageUpdatedTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_))
|
|
2347
|
+
});
|
|
2348
|
+
}, "de_MemberDetail");
|
|
2349
|
+
var de_MemberDetailList = /* @__PURE__ */ __name((output, context) => {
|
|
2350
|
+
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
2351
|
+
return de_MemberDetail(entry, context);
|
|
2352
|
+
});
|
|
2353
|
+
return retVal;
|
|
2354
|
+
}, "de_MemberDetailList");
|
|
2355
|
+
var de_MembershipDatasources = /* @__PURE__ */ __name((output, context) => {
|
|
2356
|
+
return (0, import_smithy_client.take)(output, {
|
|
2357
|
+
AccountId: import_smithy_client.expectString,
|
|
2358
|
+
DatasourcePackageIngestHistory: (_) => de_DatasourcePackageIngestHistory(_, context),
|
|
2359
|
+
GraphArn: import_smithy_client.expectString
|
|
2360
|
+
});
|
|
2361
|
+
}, "de_MembershipDatasources");
|
|
2362
|
+
var de_MembershipDatasourcesList = /* @__PURE__ */ __name((output, context) => {
|
|
2363
|
+
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
2364
|
+
return de_MembershipDatasources(entry, context);
|
|
2365
|
+
});
|
|
2366
|
+
return retVal;
|
|
2367
|
+
}, "de_MembershipDatasourcesList");
|
|
2368
|
+
var de_TimestampForCollection = /* @__PURE__ */ __name((output, context) => {
|
|
2369
|
+
return (0, import_smithy_client.take)(output, {
|
|
2370
|
+
Timestamp: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_))
|
|
2371
|
+
});
|
|
2372
|
+
}, "de_TimestampForCollection");
|
|
2373
|
+
var de_VolumeUsageByDatasourcePackage = /* @__PURE__ */ __name((output, context) => {
|
|
2374
|
+
return Object.entries(output).reduce(
|
|
2375
|
+
(acc, [key, value]) => {
|
|
2376
|
+
if (value === null) {
|
|
2377
|
+
return acc;
|
|
2378
|
+
}
|
|
2379
|
+
acc[key] = de_DatasourcePackageUsageInfo(value, context);
|
|
2380
|
+
return acc;
|
|
2381
|
+
},
|
|
2382
|
+
{}
|
|
2383
|
+
);
|
|
2384
|
+
}, "de_VolumeUsageByDatasourcePackage");
|
|
2385
|
+
var deserializeMetadata = /* @__PURE__ */ __name((output) => ({
|
|
2386
|
+
httpStatusCode: output.statusCode,
|
|
2387
|
+
requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
|
|
2388
|
+
extendedRequestId: output.headers["x-amz-id-2"],
|
|
2389
|
+
cfId: output.headers["x-amz-cf-id"]
|
|
2390
|
+
}), "deserializeMetadata");
|
|
2391
|
+
var collectBodyString = /* @__PURE__ */ __name((streamBody, context) => (0, import_smithy_client.collectBody)(streamBody, context).then((body) => context.utf8Encoder(body)), "collectBodyString");
|
|
2392
|
+
var _TK = "TagKeys";
|
|
2393
|
+
var _tK = "tagKeys";
|
|
2394
|
+
var parseBody = /* @__PURE__ */ __name((streamBody, context) => collectBodyString(streamBody, context).then((encoded) => {
|
|
2395
|
+
if (encoded.length) {
|
|
2396
|
+
return JSON.parse(encoded);
|
|
2397
|
+
}
|
|
2398
|
+
return {};
|
|
2399
|
+
}), "parseBody");
|
|
2400
|
+
var parseErrorBody = /* @__PURE__ */ __name(async (errorBody, context) => {
|
|
2401
|
+
const value = await parseBody(errorBody, context);
|
|
2402
|
+
value.message = value.message ?? value.Message;
|
|
2403
|
+
return value;
|
|
2404
|
+
}, "parseErrorBody");
|
|
2405
|
+
var loadRestJsonErrorCode = /* @__PURE__ */ __name((output, data) => {
|
|
2406
|
+
const findKey = /* @__PURE__ */ __name((object, key) => Object.keys(object).find((k) => k.toLowerCase() === key.toLowerCase()), "findKey");
|
|
2407
|
+
const sanitizeErrorCode = /* @__PURE__ */ __name((rawValue) => {
|
|
2408
|
+
let cleanValue = rawValue;
|
|
2409
|
+
if (typeof cleanValue === "number") {
|
|
2410
|
+
cleanValue = cleanValue.toString();
|
|
2411
|
+
}
|
|
2412
|
+
if (cleanValue.indexOf(",") >= 0) {
|
|
2413
|
+
cleanValue = cleanValue.split(",")[0];
|
|
2414
|
+
}
|
|
2415
|
+
if (cleanValue.indexOf(":") >= 0) {
|
|
2416
|
+
cleanValue = cleanValue.split(":")[0];
|
|
2417
|
+
}
|
|
2418
|
+
if (cleanValue.indexOf("#") >= 0) {
|
|
2419
|
+
cleanValue = cleanValue.split("#")[1];
|
|
2420
|
+
}
|
|
2421
|
+
return cleanValue;
|
|
2422
|
+
}, "sanitizeErrorCode");
|
|
2423
|
+
const headerKey = findKey(output.headers, "x-amzn-errortype");
|
|
2424
|
+
if (headerKey !== void 0) {
|
|
2425
|
+
return sanitizeErrorCode(output.headers[headerKey]);
|
|
2426
|
+
}
|
|
2427
|
+
if (data.code !== void 0) {
|
|
2428
|
+
return sanitizeErrorCode(data.code);
|
|
2429
|
+
}
|
|
2430
|
+
if (data["__type"] !== void 0) {
|
|
2431
|
+
return sanitizeErrorCode(data["__type"]);
|
|
2432
|
+
}
|
|
2433
|
+
}, "loadRestJsonErrorCode");
|
|
2434
|
+
|
|
2435
|
+
// src/commands/AcceptInvitationCommand.ts
|
|
2436
|
+
var _AcceptInvitationCommand = class _AcceptInvitationCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2437
|
+
...commonParams
|
|
2438
|
+
}).m(function(Command, cs, config, o) {
|
|
2439
|
+
return [
|
|
2440
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2441
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2442
|
+
];
|
|
2443
|
+
}).s("AmazonDetective", "AcceptInvitation", {}).n("DetectiveClient", "AcceptInvitationCommand").f(void 0, void 0).ser(se_AcceptInvitationCommand).de(de_AcceptInvitationCommand).build() {
|
|
2444
|
+
};
|
|
2445
|
+
__name(_AcceptInvitationCommand, "AcceptInvitationCommand");
|
|
2446
|
+
var AcceptInvitationCommand = _AcceptInvitationCommand;
|
|
2447
|
+
|
|
2448
|
+
// src/commands/BatchGetGraphMemberDatasourcesCommand.ts
|
|
2449
|
+
|
|
2450
|
+
|
|
2451
|
+
|
|
2452
|
+
|
|
2453
|
+
var _BatchGetGraphMemberDatasourcesCommand = class _BatchGetGraphMemberDatasourcesCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2454
|
+
...commonParams
|
|
2455
|
+
}).m(function(Command, cs, config, o) {
|
|
2456
|
+
return [
|
|
2457
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2458
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2459
|
+
];
|
|
2460
|
+
}).s("AmazonDetective", "BatchGetGraphMemberDatasources", {}).n("DetectiveClient", "BatchGetGraphMemberDatasourcesCommand").f(void 0, void 0).ser(se_BatchGetGraphMemberDatasourcesCommand).de(de_BatchGetGraphMemberDatasourcesCommand).build() {
|
|
2461
|
+
};
|
|
2462
|
+
__name(_BatchGetGraphMemberDatasourcesCommand, "BatchGetGraphMemberDatasourcesCommand");
|
|
2463
|
+
var BatchGetGraphMemberDatasourcesCommand = _BatchGetGraphMemberDatasourcesCommand;
|
|
2464
|
+
|
|
2465
|
+
// src/commands/BatchGetMembershipDatasourcesCommand.ts
|
|
2466
|
+
|
|
2467
|
+
|
|
2468
|
+
|
|
2469
|
+
|
|
2470
|
+
var _BatchGetMembershipDatasourcesCommand = class _BatchGetMembershipDatasourcesCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2471
|
+
...commonParams
|
|
2472
|
+
}).m(function(Command, cs, config, o) {
|
|
2473
|
+
return [
|
|
2474
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2475
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2476
|
+
];
|
|
2477
|
+
}).s("AmazonDetective", "BatchGetMembershipDatasources", {}).n("DetectiveClient", "BatchGetMembershipDatasourcesCommand").f(void 0, void 0).ser(se_BatchGetMembershipDatasourcesCommand).de(de_BatchGetMembershipDatasourcesCommand).build() {
|
|
2478
|
+
};
|
|
2479
|
+
__name(_BatchGetMembershipDatasourcesCommand, "BatchGetMembershipDatasourcesCommand");
|
|
2480
|
+
var BatchGetMembershipDatasourcesCommand = _BatchGetMembershipDatasourcesCommand;
|
|
2481
|
+
|
|
2482
|
+
// src/commands/CreateGraphCommand.ts
|
|
2483
|
+
|
|
2484
|
+
|
|
2485
|
+
|
|
2486
|
+
|
|
2487
|
+
var _CreateGraphCommand = class _CreateGraphCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2488
|
+
...commonParams
|
|
2489
|
+
}).m(function(Command, cs, config, o) {
|
|
2490
|
+
return [
|
|
2491
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2492
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2493
|
+
];
|
|
2494
|
+
}).s("AmazonDetective", "CreateGraph", {}).n("DetectiveClient", "CreateGraphCommand").f(void 0, void 0).ser(se_CreateGraphCommand).de(de_CreateGraphCommand).build() {
|
|
2495
|
+
};
|
|
2496
|
+
__name(_CreateGraphCommand, "CreateGraphCommand");
|
|
2497
|
+
var CreateGraphCommand = _CreateGraphCommand;
|
|
2498
|
+
|
|
2499
|
+
// src/commands/CreateMembersCommand.ts
|
|
2500
|
+
|
|
2501
|
+
|
|
2502
|
+
|
|
2503
|
+
|
|
2504
|
+
var _CreateMembersCommand = class _CreateMembersCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2505
|
+
...commonParams
|
|
2506
|
+
}).m(function(Command, cs, config, o) {
|
|
2507
|
+
return [
|
|
2508
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2509
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2510
|
+
];
|
|
2511
|
+
}).s("AmazonDetective", "CreateMembers", {}).n("DetectiveClient", "CreateMembersCommand").f(CreateMembersRequestFilterSensitiveLog, CreateMembersResponseFilterSensitiveLog).ser(se_CreateMembersCommand).de(de_CreateMembersCommand).build() {
|
|
2512
|
+
};
|
|
2513
|
+
__name(_CreateMembersCommand, "CreateMembersCommand");
|
|
2514
|
+
var CreateMembersCommand = _CreateMembersCommand;
|
|
2515
|
+
|
|
2516
|
+
// src/commands/DeleteGraphCommand.ts
|
|
2517
|
+
|
|
2518
|
+
|
|
2519
|
+
|
|
2520
|
+
|
|
2521
|
+
var _DeleteGraphCommand = class _DeleteGraphCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2522
|
+
...commonParams
|
|
2523
|
+
}).m(function(Command, cs, config, o) {
|
|
2524
|
+
return [
|
|
2525
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2526
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2527
|
+
];
|
|
2528
|
+
}).s("AmazonDetective", "DeleteGraph", {}).n("DetectiveClient", "DeleteGraphCommand").f(void 0, void 0).ser(se_DeleteGraphCommand).de(de_DeleteGraphCommand).build() {
|
|
2529
|
+
};
|
|
2530
|
+
__name(_DeleteGraphCommand, "DeleteGraphCommand");
|
|
2531
|
+
var DeleteGraphCommand = _DeleteGraphCommand;
|
|
2532
|
+
|
|
2533
|
+
// src/commands/DeleteMembersCommand.ts
|
|
2534
|
+
|
|
2535
|
+
|
|
2536
|
+
|
|
2537
|
+
|
|
2538
|
+
var _DeleteMembersCommand = class _DeleteMembersCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2539
|
+
...commonParams
|
|
2540
|
+
}).m(function(Command, cs, config, o) {
|
|
2541
|
+
return [
|
|
2542
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2543
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2544
|
+
];
|
|
2545
|
+
}).s("AmazonDetective", "DeleteMembers", {}).n("DetectiveClient", "DeleteMembersCommand").f(void 0, void 0).ser(se_DeleteMembersCommand).de(de_DeleteMembersCommand).build() {
|
|
2546
|
+
};
|
|
2547
|
+
__name(_DeleteMembersCommand, "DeleteMembersCommand");
|
|
2548
|
+
var DeleteMembersCommand = _DeleteMembersCommand;
|
|
2549
|
+
|
|
2550
|
+
// src/commands/DescribeOrganizationConfigurationCommand.ts
|
|
2551
|
+
|
|
2552
|
+
|
|
2553
|
+
|
|
2554
|
+
|
|
2555
|
+
var _DescribeOrganizationConfigurationCommand = class _DescribeOrganizationConfigurationCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2556
|
+
...commonParams
|
|
2557
|
+
}).m(function(Command, cs, config, o) {
|
|
2558
|
+
return [
|
|
2559
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2560
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2561
|
+
];
|
|
2562
|
+
}).s("AmazonDetective", "DescribeOrganizationConfiguration", {}).n("DetectiveClient", "DescribeOrganizationConfigurationCommand").f(void 0, void 0).ser(se_DescribeOrganizationConfigurationCommand).de(de_DescribeOrganizationConfigurationCommand).build() {
|
|
2563
|
+
};
|
|
2564
|
+
__name(_DescribeOrganizationConfigurationCommand, "DescribeOrganizationConfigurationCommand");
|
|
2565
|
+
var DescribeOrganizationConfigurationCommand = _DescribeOrganizationConfigurationCommand;
|
|
2566
|
+
|
|
2567
|
+
// src/commands/DisableOrganizationAdminAccountCommand.ts
|
|
2568
|
+
|
|
2569
|
+
|
|
2570
|
+
|
|
2571
|
+
|
|
2572
|
+
var _DisableOrganizationAdminAccountCommand = class _DisableOrganizationAdminAccountCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2573
|
+
...commonParams
|
|
2574
|
+
}).m(function(Command, cs, config, o) {
|
|
2575
|
+
return [
|
|
2576
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2577
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2578
|
+
];
|
|
2579
|
+
}).s("AmazonDetective", "DisableOrganizationAdminAccount", {}).n("DetectiveClient", "DisableOrganizationAdminAccountCommand").f(void 0, void 0).ser(se_DisableOrganizationAdminAccountCommand).de(de_DisableOrganizationAdminAccountCommand).build() {
|
|
2580
|
+
};
|
|
2581
|
+
__name(_DisableOrganizationAdminAccountCommand, "DisableOrganizationAdminAccountCommand");
|
|
2582
|
+
var DisableOrganizationAdminAccountCommand = _DisableOrganizationAdminAccountCommand;
|
|
2583
|
+
|
|
2584
|
+
// src/commands/DisassociateMembershipCommand.ts
|
|
2585
|
+
|
|
2586
|
+
|
|
2587
|
+
|
|
2588
|
+
|
|
2589
|
+
var _DisassociateMembershipCommand = class _DisassociateMembershipCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2590
|
+
...commonParams
|
|
2591
|
+
}).m(function(Command, cs, config, o) {
|
|
2592
|
+
return [
|
|
2593
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2594
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2595
|
+
];
|
|
2596
|
+
}).s("AmazonDetective", "DisassociateMembership", {}).n("DetectiveClient", "DisassociateMembershipCommand").f(void 0, void 0).ser(se_DisassociateMembershipCommand).de(de_DisassociateMembershipCommand).build() {
|
|
2597
|
+
};
|
|
2598
|
+
__name(_DisassociateMembershipCommand, "DisassociateMembershipCommand");
|
|
2599
|
+
var DisassociateMembershipCommand = _DisassociateMembershipCommand;
|
|
2600
|
+
|
|
2601
|
+
// src/commands/EnableOrganizationAdminAccountCommand.ts
|
|
2602
|
+
|
|
2603
|
+
|
|
2604
|
+
|
|
2605
|
+
|
|
2606
|
+
var _EnableOrganizationAdminAccountCommand = class _EnableOrganizationAdminAccountCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2607
|
+
...commonParams
|
|
2608
|
+
}).m(function(Command, cs, config, o) {
|
|
2609
|
+
return [
|
|
2610
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2611
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2612
|
+
];
|
|
2613
|
+
}).s("AmazonDetective", "EnableOrganizationAdminAccount", {}).n("DetectiveClient", "EnableOrganizationAdminAccountCommand").f(void 0, void 0).ser(se_EnableOrganizationAdminAccountCommand).de(de_EnableOrganizationAdminAccountCommand).build() {
|
|
2614
|
+
};
|
|
2615
|
+
__name(_EnableOrganizationAdminAccountCommand, "EnableOrganizationAdminAccountCommand");
|
|
2616
|
+
var EnableOrganizationAdminAccountCommand = _EnableOrganizationAdminAccountCommand;
|
|
2617
|
+
|
|
2618
|
+
// src/commands/GetInvestigationCommand.ts
|
|
2619
|
+
|
|
2620
|
+
|
|
2621
|
+
|
|
2622
|
+
|
|
2623
|
+
var _GetInvestigationCommand = class _GetInvestigationCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2624
|
+
...commonParams
|
|
2625
|
+
}).m(function(Command, cs, config, o) {
|
|
2626
|
+
return [
|
|
2627
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2628
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2629
|
+
];
|
|
2630
|
+
}).s("AmazonDetective", "GetInvestigation", {}).n("DetectiveClient", "GetInvestigationCommand").f(void 0, void 0).ser(se_GetInvestigationCommand).de(de_GetInvestigationCommand).build() {
|
|
2631
|
+
};
|
|
2632
|
+
__name(_GetInvestigationCommand, "GetInvestigationCommand");
|
|
2633
|
+
var GetInvestigationCommand = _GetInvestigationCommand;
|
|
2634
|
+
|
|
2635
|
+
// src/commands/GetMembersCommand.ts
|
|
2636
|
+
|
|
2637
|
+
|
|
2638
|
+
|
|
2639
|
+
|
|
2640
|
+
var _GetMembersCommand = class _GetMembersCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2641
|
+
...commonParams
|
|
2642
|
+
}).m(function(Command, cs, config, o) {
|
|
2643
|
+
return [
|
|
2644
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2645
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2646
|
+
];
|
|
2647
|
+
}).s("AmazonDetective", "GetMembers", {}).n("DetectiveClient", "GetMembersCommand").f(void 0, GetMembersResponseFilterSensitiveLog).ser(se_GetMembersCommand).de(de_GetMembersCommand).build() {
|
|
2648
|
+
};
|
|
2649
|
+
__name(_GetMembersCommand, "GetMembersCommand");
|
|
2650
|
+
var GetMembersCommand = _GetMembersCommand;
|
|
2651
|
+
|
|
2652
|
+
// src/commands/ListDatasourcePackagesCommand.ts
|
|
2653
|
+
|
|
2654
|
+
|
|
2655
|
+
|
|
2656
|
+
|
|
2657
|
+
var _ListDatasourcePackagesCommand = class _ListDatasourcePackagesCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2658
|
+
...commonParams
|
|
2659
|
+
}).m(function(Command, cs, config, o) {
|
|
2660
|
+
return [
|
|
2661
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2662
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2663
|
+
];
|
|
2664
|
+
}).s("AmazonDetective", "ListDatasourcePackages", {}).n("DetectiveClient", "ListDatasourcePackagesCommand").f(void 0, void 0).ser(se_ListDatasourcePackagesCommand).de(de_ListDatasourcePackagesCommand).build() {
|
|
2665
|
+
};
|
|
2666
|
+
__name(_ListDatasourcePackagesCommand, "ListDatasourcePackagesCommand");
|
|
2667
|
+
var ListDatasourcePackagesCommand = _ListDatasourcePackagesCommand;
|
|
2668
|
+
|
|
2669
|
+
// src/commands/ListGraphsCommand.ts
|
|
2670
|
+
|
|
2671
|
+
|
|
2672
|
+
|
|
2673
|
+
|
|
2674
|
+
var _ListGraphsCommand = class _ListGraphsCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2675
|
+
...commonParams
|
|
2676
|
+
}).m(function(Command, cs, config, o) {
|
|
2677
|
+
return [
|
|
2678
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2679
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2680
|
+
];
|
|
2681
|
+
}).s("AmazonDetective", "ListGraphs", {}).n("DetectiveClient", "ListGraphsCommand").f(void 0, void 0).ser(se_ListGraphsCommand).de(de_ListGraphsCommand).build() {
|
|
2682
|
+
};
|
|
2683
|
+
__name(_ListGraphsCommand, "ListGraphsCommand");
|
|
2684
|
+
var ListGraphsCommand = _ListGraphsCommand;
|
|
2685
|
+
|
|
2686
|
+
// src/commands/ListIndicatorsCommand.ts
|
|
2687
|
+
|
|
2688
|
+
|
|
2689
|
+
|
|
2690
|
+
|
|
2691
|
+
var _ListIndicatorsCommand = class _ListIndicatorsCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2692
|
+
...commonParams
|
|
2693
|
+
}).m(function(Command, cs, config, o) {
|
|
2694
|
+
return [
|
|
2695
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2696
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2697
|
+
];
|
|
2698
|
+
}).s("AmazonDetective", "ListIndicators", {}).n("DetectiveClient", "ListIndicatorsCommand").f(void 0, void 0).ser(se_ListIndicatorsCommand).de(de_ListIndicatorsCommand).build() {
|
|
2699
|
+
};
|
|
2700
|
+
__name(_ListIndicatorsCommand, "ListIndicatorsCommand");
|
|
2701
|
+
var ListIndicatorsCommand = _ListIndicatorsCommand;
|
|
2702
|
+
|
|
2703
|
+
// src/commands/ListInvestigationsCommand.ts
|
|
2704
|
+
|
|
2705
|
+
|
|
2706
|
+
|
|
2707
|
+
|
|
2708
|
+
var _ListInvestigationsCommand = class _ListInvestigationsCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2709
|
+
...commonParams
|
|
2710
|
+
}).m(function(Command, cs, config, o) {
|
|
2711
|
+
return [
|
|
2712
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2713
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2714
|
+
];
|
|
2715
|
+
}).s("AmazonDetective", "ListInvestigations", {}).n("DetectiveClient", "ListInvestigationsCommand").f(void 0, void 0).ser(se_ListInvestigationsCommand).de(de_ListInvestigationsCommand).build() {
|
|
2716
|
+
};
|
|
2717
|
+
__name(_ListInvestigationsCommand, "ListInvestigationsCommand");
|
|
2718
|
+
var ListInvestigationsCommand = _ListInvestigationsCommand;
|
|
2719
|
+
|
|
2720
|
+
// src/commands/ListInvitationsCommand.ts
|
|
2721
|
+
|
|
2722
|
+
|
|
2723
|
+
|
|
2724
|
+
|
|
2725
|
+
var _ListInvitationsCommand = class _ListInvitationsCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2726
|
+
...commonParams
|
|
2727
|
+
}).m(function(Command, cs, config, o) {
|
|
2728
|
+
return [
|
|
2729
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2730
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2731
|
+
];
|
|
2732
|
+
}).s("AmazonDetective", "ListInvitations", {}).n("DetectiveClient", "ListInvitationsCommand").f(void 0, ListInvitationsResponseFilterSensitiveLog).ser(se_ListInvitationsCommand).de(de_ListInvitationsCommand).build() {
|
|
2733
|
+
};
|
|
2734
|
+
__name(_ListInvitationsCommand, "ListInvitationsCommand");
|
|
2735
|
+
var ListInvitationsCommand = _ListInvitationsCommand;
|
|
2736
|
+
|
|
2737
|
+
// src/commands/ListMembersCommand.ts
|
|
2738
|
+
|
|
2739
|
+
|
|
2740
|
+
|
|
2741
|
+
|
|
2742
|
+
var _ListMembersCommand = class _ListMembersCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2743
|
+
...commonParams
|
|
2744
|
+
}).m(function(Command, cs, config, o) {
|
|
2745
|
+
return [
|
|
2746
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2747
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2748
|
+
];
|
|
2749
|
+
}).s("AmazonDetective", "ListMembers", {}).n("DetectiveClient", "ListMembersCommand").f(void 0, ListMembersResponseFilterSensitiveLog).ser(se_ListMembersCommand).de(de_ListMembersCommand).build() {
|
|
2750
|
+
};
|
|
2751
|
+
__name(_ListMembersCommand, "ListMembersCommand");
|
|
2752
|
+
var ListMembersCommand = _ListMembersCommand;
|
|
2753
|
+
|
|
2754
|
+
// src/commands/ListOrganizationAdminAccountsCommand.ts
|
|
2755
|
+
|
|
2756
|
+
|
|
2757
|
+
|
|
2758
|
+
|
|
2759
|
+
var _ListOrganizationAdminAccountsCommand = class _ListOrganizationAdminAccountsCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2760
|
+
...commonParams
|
|
2761
|
+
}).m(function(Command, cs, config, o) {
|
|
2762
|
+
return [
|
|
2763
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2764
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2765
|
+
];
|
|
2766
|
+
}).s("AmazonDetective", "ListOrganizationAdminAccounts", {}).n("DetectiveClient", "ListOrganizationAdminAccountsCommand").f(void 0, void 0).ser(se_ListOrganizationAdminAccountsCommand).de(de_ListOrganizationAdminAccountsCommand).build() {
|
|
2767
|
+
};
|
|
2768
|
+
__name(_ListOrganizationAdminAccountsCommand, "ListOrganizationAdminAccountsCommand");
|
|
2769
|
+
var ListOrganizationAdminAccountsCommand = _ListOrganizationAdminAccountsCommand;
|
|
2770
|
+
|
|
2771
|
+
// src/commands/ListTagsForResourceCommand.ts
|
|
2772
|
+
|
|
2773
|
+
|
|
2774
|
+
|
|
2775
|
+
|
|
2776
|
+
var _ListTagsForResourceCommand = class _ListTagsForResourceCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2777
|
+
...commonParams
|
|
2778
|
+
}).m(function(Command, cs, config, o) {
|
|
2779
|
+
return [
|
|
2780
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2781
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2782
|
+
];
|
|
2783
|
+
}).s("AmazonDetective", "ListTagsForResource", {}).n("DetectiveClient", "ListTagsForResourceCommand").f(void 0, void 0).ser(se_ListTagsForResourceCommand).de(de_ListTagsForResourceCommand).build() {
|
|
2784
|
+
};
|
|
2785
|
+
__name(_ListTagsForResourceCommand, "ListTagsForResourceCommand");
|
|
2786
|
+
var ListTagsForResourceCommand = _ListTagsForResourceCommand;
|
|
2787
|
+
|
|
2788
|
+
// src/commands/RejectInvitationCommand.ts
|
|
2789
|
+
|
|
2790
|
+
|
|
2791
|
+
|
|
2792
|
+
|
|
2793
|
+
var _RejectInvitationCommand = class _RejectInvitationCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2794
|
+
...commonParams
|
|
2795
|
+
}).m(function(Command, cs, config, o) {
|
|
2796
|
+
return [
|
|
2797
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2798
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2799
|
+
];
|
|
2800
|
+
}).s("AmazonDetective", "RejectInvitation", {}).n("DetectiveClient", "RejectInvitationCommand").f(void 0, void 0).ser(se_RejectInvitationCommand).de(de_RejectInvitationCommand).build() {
|
|
2801
|
+
};
|
|
2802
|
+
__name(_RejectInvitationCommand, "RejectInvitationCommand");
|
|
2803
|
+
var RejectInvitationCommand = _RejectInvitationCommand;
|
|
2804
|
+
|
|
2805
|
+
// src/commands/StartInvestigationCommand.ts
|
|
2806
|
+
|
|
2807
|
+
|
|
2808
|
+
|
|
2809
|
+
|
|
2810
|
+
var _StartInvestigationCommand = class _StartInvestigationCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2811
|
+
...commonParams
|
|
2812
|
+
}).m(function(Command, cs, config, o) {
|
|
2813
|
+
return [
|
|
2814
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2815
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2816
|
+
];
|
|
2817
|
+
}).s("AmazonDetective", "StartInvestigation", {}).n("DetectiveClient", "StartInvestigationCommand").f(void 0, void 0).ser(se_StartInvestigationCommand).de(de_StartInvestigationCommand).build() {
|
|
2818
|
+
};
|
|
2819
|
+
__name(_StartInvestigationCommand, "StartInvestigationCommand");
|
|
2820
|
+
var StartInvestigationCommand = _StartInvestigationCommand;
|
|
2821
|
+
|
|
2822
|
+
// src/commands/StartMonitoringMemberCommand.ts
|
|
2823
|
+
|
|
2824
|
+
|
|
2825
|
+
|
|
2826
|
+
|
|
2827
|
+
var _StartMonitoringMemberCommand = class _StartMonitoringMemberCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2828
|
+
...commonParams
|
|
2829
|
+
}).m(function(Command, cs, config, o) {
|
|
2830
|
+
return [
|
|
2831
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2832
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2833
|
+
];
|
|
2834
|
+
}).s("AmazonDetective", "StartMonitoringMember", {}).n("DetectiveClient", "StartMonitoringMemberCommand").f(void 0, void 0).ser(se_StartMonitoringMemberCommand).de(de_StartMonitoringMemberCommand).build() {
|
|
2835
|
+
};
|
|
2836
|
+
__name(_StartMonitoringMemberCommand, "StartMonitoringMemberCommand");
|
|
2837
|
+
var StartMonitoringMemberCommand = _StartMonitoringMemberCommand;
|
|
2838
|
+
|
|
2839
|
+
// src/commands/TagResourceCommand.ts
|
|
2840
|
+
|
|
2841
|
+
|
|
2842
|
+
|
|
2843
|
+
|
|
2844
|
+
var _TagResourceCommand = class _TagResourceCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2845
|
+
...commonParams
|
|
2846
|
+
}).m(function(Command, cs, config, o) {
|
|
2847
|
+
return [
|
|
2848
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2849
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2850
|
+
];
|
|
2851
|
+
}).s("AmazonDetective", "TagResource", {}).n("DetectiveClient", "TagResourceCommand").f(void 0, void 0).ser(se_TagResourceCommand).de(de_TagResourceCommand).build() {
|
|
2852
|
+
};
|
|
2853
|
+
__name(_TagResourceCommand, "TagResourceCommand");
|
|
2854
|
+
var TagResourceCommand = _TagResourceCommand;
|
|
2855
|
+
|
|
2856
|
+
// src/commands/UntagResourceCommand.ts
|
|
2857
|
+
|
|
2858
|
+
|
|
2859
|
+
|
|
2860
|
+
|
|
2861
|
+
var _UntagResourceCommand = class _UntagResourceCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2862
|
+
...commonParams
|
|
2863
|
+
}).m(function(Command, cs, config, o) {
|
|
2864
|
+
return [
|
|
2865
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2866
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2867
|
+
];
|
|
2868
|
+
}).s("AmazonDetective", "UntagResource", {}).n("DetectiveClient", "UntagResourceCommand").f(void 0, void 0).ser(se_UntagResourceCommand).de(de_UntagResourceCommand).build() {
|
|
2869
|
+
};
|
|
2870
|
+
__name(_UntagResourceCommand, "UntagResourceCommand");
|
|
2871
|
+
var UntagResourceCommand = _UntagResourceCommand;
|
|
2872
|
+
|
|
2873
|
+
// src/commands/UpdateDatasourcePackagesCommand.ts
|
|
2874
|
+
|
|
2875
|
+
|
|
2876
|
+
|
|
2877
|
+
|
|
2878
|
+
var _UpdateDatasourcePackagesCommand = class _UpdateDatasourcePackagesCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2879
|
+
...commonParams
|
|
2880
|
+
}).m(function(Command, cs, config, o) {
|
|
2881
|
+
return [
|
|
2882
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2883
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2884
|
+
];
|
|
2885
|
+
}).s("AmazonDetective", "UpdateDatasourcePackages", {}).n("DetectiveClient", "UpdateDatasourcePackagesCommand").f(void 0, void 0).ser(se_UpdateDatasourcePackagesCommand).de(de_UpdateDatasourcePackagesCommand).build() {
|
|
2886
|
+
};
|
|
2887
|
+
__name(_UpdateDatasourcePackagesCommand, "UpdateDatasourcePackagesCommand");
|
|
2888
|
+
var UpdateDatasourcePackagesCommand = _UpdateDatasourcePackagesCommand;
|
|
2889
|
+
|
|
2890
|
+
// src/commands/UpdateInvestigationStateCommand.ts
|
|
2891
|
+
|
|
2892
|
+
|
|
2893
|
+
|
|
2894
|
+
|
|
2895
|
+
var _UpdateInvestigationStateCommand = class _UpdateInvestigationStateCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2896
|
+
...commonParams
|
|
2897
|
+
}).m(function(Command, cs, config, o) {
|
|
2898
|
+
return [
|
|
2899
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2900
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2901
|
+
];
|
|
2902
|
+
}).s("AmazonDetective", "UpdateInvestigationState", {}).n("DetectiveClient", "UpdateInvestigationStateCommand").f(void 0, void 0).ser(se_UpdateInvestigationStateCommand).de(de_UpdateInvestigationStateCommand).build() {
|
|
2903
|
+
};
|
|
2904
|
+
__name(_UpdateInvestigationStateCommand, "UpdateInvestigationStateCommand");
|
|
2905
|
+
var UpdateInvestigationStateCommand = _UpdateInvestigationStateCommand;
|
|
2906
|
+
|
|
2907
|
+
// src/commands/UpdateOrganizationConfigurationCommand.ts
|
|
2908
|
+
|
|
2909
|
+
|
|
2910
|
+
|
|
2911
|
+
|
|
2912
|
+
var _UpdateOrganizationConfigurationCommand = class _UpdateOrganizationConfigurationCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2913
|
+
...commonParams
|
|
2914
|
+
}).m(function(Command, cs, config, o) {
|
|
2915
|
+
return [
|
|
2916
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2917
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2918
|
+
];
|
|
2919
|
+
}).s("AmazonDetective", "UpdateOrganizationConfiguration", {}).n("DetectiveClient", "UpdateOrganizationConfigurationCommand").f(void 0, void 0).ser(se_UpdateOrganizationConfigurationCommand).de(de_UpdateOrganizationConfigurationCommand).build() {
|
|
2920
|
+
};
|
|
2921
|
+
__name(_UpdateOrganizationConfigurationCommand, "UpdateOrganizationConfigurationCommand");
|
|
2922
|
+
var UpdateOrganizationConfigurationCommand = _UpdateOrganizationConfigurationCommand;
|
|
2923
|
+
|
|
2924
|
+
// src/Detective.ts
|
|
2925
|
+
var commands = {
|
|
2926
|
+
AcceptInvitationCommand,
|
|
2927
|
+
BatchGetGraphMemberDatasourcesCommand,
|
|
2928
|
+
BatchGetMembershipDatasourcesCommand,
|
|
2929
|
+
CreateGraphCommand,
|
|
2930
|
+
CreateMembersCommand,
|
|
2931
|
+
DeleteGraphCommand,
|
|
2932
|
+
DeleteMembersCommand,
|
|
2933
|
+
DescribeOrganizationConfigurationCommand,
|
|
2934
|
+
DisableOrganizationAdminAccountCommand,
|
|
2935
|
+
DisassociateMembershipCommand,
|
|
2936
|
+
EnableOrganizationAdminAccountCommand,
|
|
2937
|
+
GetInvestigationCommand,
|
|
2938
|
+
GetMembersCommand,
|
|
2939
|
+
ListDatasourcePackagesCommand,
|
|
2940
|
+
ListGraphsCommand,
|
|
2941
|
+
ListIndicatorsCommand,
|
|
2942
|
+
ListInvestigationsCommand,
|
|
2943
|
+
ListInvitationsCommand,
|
|
2944
|
+
ListMembersCommand,
|
|
2945
|
+
ListOrganizationAdminAccountsCommand,
|
|
2946
|
+
ListTagsForResourceCommand,
|
|
2947
|
+
RejectInvitationCommand,
|
|
2948
|
+
StartInvestigationCommand,
|
|
2949
|
+
StartMonitoringMemberCommand,
|
|
2950
|
+
TagResourceCommand,
|
|
2951
|
+
UntagResourceCommand,
|
|
2952
|
+
UpdateDatasourcePackagesCommand,
|
|
2953
|
+
UpdateInvestigationStateCommand,
|
|
2954
|
+
UpdateOrganizationConfigurationCommand
|
|
2955
|
+
};
|
|
2956
|
+
var _Detective = class _Detective extends DetectiveClient {
|
|
2957
|
+
};
|
|
2958
|
+
__name(_Detective, "Detective");
|
|
2959
|
+
var Detective = _Detective;
|
|
2960
|
+
(0, import_smithy_client.createAggregatedClient)(commands, Detective);
|
|
2961
|
+
|
|
2962
|
+
// src/pagination/ListDatasourcePackagesPaginator.ts
|
|
2963
|
+
|
|
2964
|
+
var paginateListDatasourcePackages = (0, import_core.createPaginator)(DetectiveClient, ListDatasourcePackagesCommand, "NextToken", "NextToken", "MaxResults");
|
|
2965
|
+
|
|
2966
|
+
// src/pagination/ListGraphsPaginator.ts
|
|
2967
|
+
|
|
2968
|
+
var paginateListGraphs = (0, import_core.createPaginator)(DetectiveClient, ListGraphsCommand, "NextToken", "NextToken", "MaxResults");
|
|
2969
|
+
|
|
2970
|
+
// src/pagination/ListInvitationsPaginator.ts
|
|
2971
|
+
|
|
2972
|
+
var paginateListInvitations = (0, import_core.createPaginator)(DetectiveClient, ListInvitationsCommand, "NextToken", "NextToken", "MaxResults");
|
|
2973
|
+
|
|
2974
|
+
// src/pagination/ListMembersPaginator.ts
|
|
2975
|
+
|
|
2976
|
+
var paginateListMembers = (0, import_core.createPaginator)(DetectiveClient, ListMembersCommand, "NextToken", "NextToken", "MaxResults");
|
|
2977
|
+
|
|
2978
|
+
// src/pagination/ListOrganizationAdminAccountsPaginator.ts
|
|
2979
|
+
|
|
2980
|
+
var paginateListOrganizationAdminAccounts = (0, import_core.createPaginator)(DetectiveClient, ListOrganizationAdminAccountsCommand, "NextToken", "NextToken", "MaxResults");
|
|
2981
|
+
|
|
2982
|
+
// src/index.ts
|
|
2983
|
+
var import_util_endpoints = require("@aws-sdk/util-endpoints");
|
|
2984
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
2985
|
+
0 && (module.exports = {
|
|
2986
|
+
AcceptInvitationCommand,
|
|
2987
|
+
AccessDeniedException,
|
|
2988
|
+
AccountFilterSensitiveLog,
|
|
2989
|
+
BatchGetGraphMemberDatasourcesCommand,
|
|
2990
|
+
BatchGetMembershipDatasourcesCommand,
|
|
2991
|
+
ConflictException,
|
|
2992
|
+
CreateGraphCommand,
|
|
2993
|
+
CreateMembersCommand,
|
|
2994
|
+
CreateMembersRequestFilterSensitiveLog,
|
|
2995
|
+
CreateMembersResponseFilterSensitiveLog,
|
|
2996
|
+
DatasourcePackage,
|
|
2997
|
+
DatasourcePackageIngestState,
|
|
2998
|
+
DeleteGraphCommand,
|
|
2999
|
+
DeleteMembersCommand,
|
|
3000
|
+
DescribeOrganizationConfigurationCommand,
|
|
3001
|
+
Detective,
|
|
3002
|
+
DetectiveClient,
|
|
3003
|
+
DetectiveServiceException,
|
|
3004
|
+
DisableOrganizationAdminAccountCommand,
|
|
3005
|
+
DisassociateMembershipCommand,
|
|
3006
|
+
EnableOrganizationAdminAccountCommand,
|
|
3007
|
+
EntityType,
|
|
3008
|
+
ErrorCode,
|
|
3009
|
+
Field,
|
|
3010
|
+
GetInvestigationCommand,
|
|
3011
|
+
GetMembersCommand,
|
|
3012
|
+
GetMembersResponseFilterSensitiveLog,
|
|
3013
|
+
IndicatorType,
|
|
3014
|
+
InternalServerException,
|
|
3015
|
+
InvitationType,
|
|
3016
|
+
ListDatasourcePackagesCommand,
|
|
3017
|
+
ListGraphsCommand,
|
|
3018
|
+
ListIndicatorsCommand,
|
|
3019
|
+
ListInvestigationsCommand,
|
|
3020
|
+
ListInvitationsCommand,
|
|
3021
|
+
ListInvitationsResponseFilterSensitiveLog,
|
|
3022
|
+
ListMembersCommand,
|
|
3023
|
+
ListMembersResponseFilterSensitiveLog,
|
|
3024
|
+
ListOrganizationAdminAccountsCommand,
|
|
3025
|
+
ListTagsForResourceCommand,
|
|
3026
|
+
MemberDetailFilterSensitiveLog,
|
|
3027
|
+
MemberDisabledReason,
|
|
3028
|
+
MemberStatus,
|
|
3029
|
+
Reason,
|
|
3030
|
+
RejectInvitationCommand,
|
|
3031
|
+
ResourceNotFoundException,
|
|
3032
|
+
ServiceQuotaExceededException,
|
|
3033
|
+
Severity,
|
|
3034
|
+
SortOrder,
|
|
3035
|
+
StartInvestigationCommand,
|
|
3036
|
+
StartMonitoringMemberCommand,
|
|
3037
|
+
State,
|
|
3038
|
+
Status,
|
|
3039
|
+
TagResourceCommand,
|
|
3040
|
+
TooManyRequestsException,
|
|
3041
|
+
UntagResourceCommand,
|
|
3042
|
+
UpdateDatasourcePackagesCommand,
|
|
3043
|
+
UpdateInvestigationStateCommand,
|
|
3044
|
+
UpdateOrganizationConfigurationCommand,
|
|
3045
|
+
ValidationException,
|
|
3046
|
+
__Client,
|
|
3047
|
+
paginateListDatasourcePackages,
|
|
3048
|
+
paginateListGraphs,
|
|
3049
|
+
paginateListInvitations,
|
|
3050
|
+
paginateListMembers,
|
|
3051
|
+
paginateListOrganizationAdminAccounts
|
|
3052
|
+
});
|