@aws-sdk/client-mpa 3.928.0 → 3.930.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/index.js +1068 -1220
- package/dist-cjs/runtimeConfig.shared.js +2 -0
- package/dist-es/MPAClient.js +2 -0
- package/dist-es/commands/CancelSessionCommand.js +3 -9
- package/dist-es/commands/CreateApprovalTeamCommand.js +3 -10
- package/dist-es/commands/CreateIdentitySourceCommand.js +3 -10
- package/dist-es/commands/DeleteIdentitySourceCommand.js +3 -9
- package/dist-es/commands/DeleteInactiveApprovalTeamVersionCommand.js +3 -9
- package/dist-es/commands/GetApprovalTeamCommand.js +3 -10
- package/dist-es/commands/GetIdentitySourceCommand.js +3 -9
- package/dist-es/commands/GetPolicyVersionCommand.js +3 -10
- package/dist-es/commands/GetResourcePolicyCommand.js +3 -10
- package/dist-es/commands/GetSessionCommand.js +3 -10
- package/dist-es/commands/ListApprovalTeamsCommand.js +3 -10
- package/dist-es/commands/ListIdentitySourcesCommand.js +3 -9
- package/dist-es/commands/ListPoliciesCommand.js +3 -9
- package/dist-es/commands/ListPolicyVersionsCommand.js +3 -9
- package/dist-es/commands/ListResourcePoliciesCommand.js +3 -9
- package/dist-es/commands/ListSessionsCommand.js +3 -10
- package/dist-es/commands/ListTagsForResourceCommand.js +3 -10
- package/dist-es/commands/StartActiveApprovalTeamDeletionCommand.js +3 -9
- package/dist-es/commands/TagResourceCommand.js +3 -10
- package/dist-es/commands/UntagResourceCommand.js +3 -10
- package/dist-es/commands/UpdateApprovalTeamCommand.js +3 -10
- package/dist-es/models/models_0.js +0 -104
- package/dist-es/runtimeConfig.shared.js +2 -0
- package/dist-es/schemas/schemas_0.js +999 -0
- package/dist-types/MPAClient.d.ts +10 -1
- package/dist-types/models/models_0.d.ts +16 -64
- package/dist-types/runtimeConfig.browser.d.ts +1 -0
- package/dist-types/runtimeConfig.d.ts +1 -0
- package/dist-types/runtimeConfig.native.d.ts +1 -0
- package/dist-types/runtimeConfig.shared.d.ts +1 -0
- package/dist-types/schemas/schemas_0.d.ts +117 -0
- package/dist-types/ts3.4/MPAClient.d.ts +4 -0
- package/dist-types/ts3.4/models/models_0.d.ts +0 -55
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +124 -0
- package/package.json +33 -34
- package/dist-es/protocols/Aws_restJson1.js +0 -931
- package/dist-types/protocols/Aws_restJson1.d.ts +0 -191
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +0 -257
package/dist-cjs/index.js
CHANGED
|
@@ -6,6 +6,7 @@ var middlewareRecursionDetection = require('@aws-sdk/middleware-recursion-detect
|
|
|
6
6
|
var middlewareUserAgent = require('@aws-sdk/middleware-user-agent');
|
|
7
7
|
var configResolver = require('@smithy/config-resolver');
|
|
8
8
|
var core = require('@smithy/core');
|
|
9
|
+
var schema = require('@smithy/core/schema');
|
|
9
10
|
var middlewareContentLength = require('@smithy/middleware-content-length');
|
|
10
11
|
var middlewareEndpoint = require('@smithy/middleware-endpoint');
|
|
11
12
|
var middlewareRetry = require('@smithy/middleware-retry');
|
|
@@ -14,9 +15,6 @@ var httpAuthSchemeProvider = require('./auth/httpAuthSchemeProvider');
|
|
|
14
15
|
var runtimeConfig = require('./runtimeConfig');
|
|
15
16
|
var regionConfigResolver = require('@aws-sdk/region-config-resolver');
|
|
16
17
|
var protocolHttp = require('@smithy/protocol-http');
|
|
17
|
-
var middlewareSerde = require('@smithy/middleware-serde');
|
|
18
|
-
var core$1 = require('@aws-sdk/core');
|
|
19
|
-
var uuid = require('@smithy/uuid');
|
|
20
18
|
|
|
21
19
|
const resolveClientEndpointParameters = (options) => {
|
|
22
20
|
return Object.assign(options, {
|
|
@@ -90,6 +88,7 @@ class MPAClient extends smithyClient.Client {
|
|
|
90
88
|
const _config_7 = httpAuthSchemeProvider.resolveHttpAuthSchemeConfig(_config_6);
|
|
91
89
|
const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
|
|
92
90
|
this.config = _config_8;
|
|
91
|
+
this.middlewareStack.use(schema.getSchemaSerdePlugin(this.config));
|
|
93
92
|
this.middlewareStack.use(middlewareUserAgent.getUserAgentPlugin(this.config));
|
|
94
93
|
this.middlewareStack.use(middlewareRetry.getRetryPlugin(this.config));
|
|
95
94
|
this.middlewareStack.use(middlewareContentLength.getContentLengthPlugin(this.config));
|
|
@@ -109,14 +108,14 @@ class MPAClient extends smithyClient.Client {
|
|
|
109
108
|
}
|
|
110
109
|
}
|
|
111
110
|
|
|
112
|
-
class MPAServiceException extends smithyClient.ServiceException {
|
|
111
|
+
let MPAServiceException$1 = class MPAServiceException extends smithyClient.ServiceException {
|
|
113
112
|
constructor(options) {
|
|
114
113
|
super(options);
|
|
115
114
|
Object.setPrototypeOf(this, MPAServiceException.prototype);
|
|
116
115
|
}
|
|
117
|
-
}
|
|
116
|
+
};
|
|
118
117
|
|
|
119
|
-
class AccessDeniedException extends MPAServiceException {
|
|
118
|
+
let AccessDeniedException$1 = class AccessDeniedException extends MPAServiceException$1 {
|
|
120
119
|
name = "AccessDeniedException";
|
|
121
120
|
$fault = "client";
|
|
122
121
|
Message;
|
|
@@ -129,27 +128,11 @@ class AccessDeniedException extends MPAServiceException {
|
|
|
129
128
|
Object.setPrototypeOf(this, AccessDeniedException.prototype);
|
|
130
129
|
this.Message = opts.Message;
|
|
131
130
|
}
|
|
132
|
-
}
|
|
131
|
+
};
|
|
133
132
|
const ActionCompletionStrategy = {
|
|
134
133
|
AUTO_COMPLETION_UPON_APPROVAL: "AUTO_COMPLETION_UPON_APPROVAL",
|
|
135
134
|
};
|
|
136
|
-
|
|
137
|
-
(function (ApprovalStrategy) {
|
|
138
|
-
ApprovalStrategy.visit = (value, visitor) => {
|
|
139
|
-
if (value.MofN !== undefined)
|
|
140
|
-
return visitor.MofN(value.MofN);
|
|
141
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
142
|
-
};
|
|
143
|
-
})(exports.ApprovalStrategy || (exports.ApprovalStrategy = {}));
|
|
144
|
-
exports.ApprovalStrategyResponse = void 0;
|
|
145
|
-
(function (ApprovalStrategyResponse) {
|
|
146
|
-
ApprovalStrategyResponse.visit = (value, visitor) => {
|
|
147
|
-
if (value.MofN !== undefined)
|
|
148
|
-
return visitor.MofN(value.MofN);
|
|
149
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
150
|
-
};
|
|
151
|
-
})(exports.ApprovalStrategyResponse || (exports.ApprovalStrategyResponse = {}));
|
|
152
|
-
class ConflictException extends MPAServiceException {
|
|
135
|
+
let ConflictException$1 = class ConflictException extends MPAServiceException$1 {
|
|
153
136
|
name = "ConflictException";
|
|
154
137
|
$fault = "client";
|
|
155
138
|
Message;
|
|
@@ -162,8 +145,8 @@ class ConflictException extends MPAServiceException {
|
|
|
162
145
|
Object.setPrototypeOf(this, ConflictException.prototype);
|
|
163
146
|
this.Message = opts.Message;
|
|
164
147
|
}
|
|
165
|
-
}
|
|
166
|
-
class InternalServerException extends MPAServiceException {
|
|
148
|
+
};
|
|
149
|
+
let InternalServerException$1 = class InternalServerException extends MPAServiceException$1 {
|
|
167
150
|
name = "InternalServerException";
|
|
168
151
|
$fault = "server";
|
|
169
152
|
$retryable = {};
|
|
@@ -177,8 +160,8 @@ class InternalServerException extends MPAServiceException {
|
|
|
177
160
|
Object.setPrototypeOf(this, InternalServerException.prototype);
|
|
178
161
|
this.Message = opts.Message;
|
|
179
162
|
}
|
|
180
|
-
}
|
|
181
|
-
class ServiceQuotaExceededException extends MPAServiceException {
|
|
163
|
+
};
|
|
164
|
+
let ServiceQuotaExceededException$1 = class ServiceQuotaExceededException extends MPAServiceException$1 {
|
|
182
165
|
name = "ServiceQuotaExceededException";
|
|
183
166
|
$fault = "client";
|
|
184
167
|
Message;
|
|
@@ -191,8 +174,8 @@ class ServiceQuotaExceededException extends MPAServiceException {
|
|
|
191
174
|
Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
|
|
192
175
|
this.Message = opts.Message;
|
|
193
176
|
}
|
|
194
|
-
}
|
|
195
|
-
class ThrottlingException extends MPAServiceException {
|
|
177
|
+
};
|
|
178
|
+
let ThrottlingException$1 = class ThrottlingException extends MPAServiceException$1 {
|
|
196
179
|
name = "ThrottlingException";
|
|
197
180
|
$fault = "client";
|
|
198
181
|
Message;
|
|
@@ -205,8 +188,8 @@ class ThrottlingException extends MPAServiceException {
|
|
|
205
188
|
Object.setPrototypeOf(this, ThrottlingException.prototype);
|
|
206
189
|
this.Message = opts.Message;
|
|
207
190
|
}
|
|
208
|
-
}
|
|
209
|
-
class ValidationException extends MPAServiceException {
|
|
191
|
+
};
|
|
192
|
+
let ValidationException$1 = class ValidationException extends MPAServiceException$1 {
|
|
210
193
|
name = "ValidationException";
|
|
211
194
|
$fault = "client";
|
|
212
195
|
Message;
|
|
@@ -219,8 +202,8 @@ class ValidationException extends MPAServiceException {
|
|
|
219
202
|
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
220
203
|
this.Message = opts.Message;
|
|
221
204
|
}
|
|
222
|
-
}
|
|
223
|
-
class ResourceNotFoundException extends MPAServiceException {
|
|
205
|
+
};
|
|
206
|
+
let ResourceNotFoundException$1 = class ResourceNotFoundException extends MPAServiceException$1 {
|
|
224
207
|
name = "ResourceNotFoundException";
|
|
225
208
|
$fault = "client";
|
|
226
209
|
Message;
|
|
@@ -233,7 +216,7 @@ class ResourceNotFoundException extends MPAServiceException {
|
|
|
233
216
|
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
234
217
|
this.Message = opts.Message;
|
|
235
218
|
}
|
|
236
|
-
}
|
|
219
|
+
};
|
|
237
220
|
const IdentityStatus = {
|
|
238
221
|
ACCEPTED: "ACCEPTED",
|
|
239
222
|
INVALID: "INVALID",
|
|
@@ -268,7 +251,7 @@ const PolicyStatus = {
|
|
|
268
251
|
ATTACHABLE: "ATTACHABLE",
|
|
269
252
|
DEPRECATED: "DEPRECATED",
|
|
270
253
|
};
|
|
271
|
-
class InvalidParameterException extends MPAServiceException {
|
|
254
|
+
let InvalidParameterException$1 = class InvalidParameterException extends MPAServiceException$1 {
|
|
272
255
|
name = "InvalidParameterException";
|
|
273
256
|
$fault = "client";
|
|
274
257
|
Message;
|
|
@@ -281,18 +264,10 @@ class InvalidParameterException extends MPAServiceException {
|
|
|
281
264
|
Object.setPrototypeOf(this, InvalidParameterException.prototype);
|
|
282
265
|
this.Message = opts.Message;
|
|
283
266
|
}
|
|
284
|
-
}
|
|
267
|
+
};
|
|
285
268
|
const IdentitySourceType = {
|
|
286
269
|
IAM_IDENTITY_CENTER: "IAM_IDENTITY_CENTER",
|
|
287
270
|
};
|
|
288
|
-
exports.IdentitySourceParametersForGet = void 0;
|
|
289
|
-
(function (IdentitySourceParametersForGet) {
|
|
290
|
-
IdentitySourceParametersForGet.visit = (value, visitor) => {
|
|
291
|
-
if (value.IamIdentityCenter !== undefined)
|
|
292
|
-
return visitor.IamIdentityCenter(value.IamIdentityCenter);
|
|
293
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
294
|
-
};
|
|
295
|
-
})(exports.IdentitySourceParametersForGet || (exports.IdentitySourceParametersForGet = {}));
|
|
296
271
|
const IdentitySourceStatus = {
|
|
297
272
|
ACTIVE: "ACTIVE",
|
|
298
273
|
CREATING: "CREATING",
|
|
@@ -305,14 +280,6 @@ const IdentitySourceStatusCode = {
|
|
|
305
280
|
IDC_INSTANCE_NOT_FOUND: "IDC_INSTANCE_NOT_FOUND",
|
|
306
281
|
IDC_INSTANCE_NOT_VALID: "IDC_INSTANCE_NOT_VALID",
|
|
307
282
|
};
|
|
308
|
-
exports.IdentitySourceParametersForList = void 0;
|
|
309
|
-
(function (IdentitySourceParametersForList) {
|
|
310
|
-
IdentitySourceParametersForList.visit = (value, visitor) => {
|
|
311
|
-
if (value.IamIdentityCenter !== undefined)
|
|
312
|
-
return visitor.IamIdentityCenter(value.IamIdentityCenter);
|
|
313
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
314
|
-
};
|
|
315
|
-
})(exports.IdentitySourceParametersForList || (exports.IdentitySourceParametersForList = {}));
|
|
316
283
|
const SessionResponse = {
|
|
317
284
|
APPROVED: "APPROVED",
|
|
318
285
|
NO_RESPONSE: "NO_RESPONSE",
|
|
@@ -354,7 +321,7 @@ const Operator = {
|
|
|
354
321
|
LESS_THAN_OR_EQUAL_TO: "LTE",
|
|
355
322
|
NOT_EQUALS: "NE",
|
|
356
323
|
};
|
|
357
|
-
class TooManyTagsException extends MPAServiceException {
|
|
324
|
+
let TooManyTagsException$1 = class TooManyTagsException extends MPAServiceException$1 {
|
|
358
325
|
name = "TooManyTagsException";
|
|
359
326
|
$fault = "client";
|
|
360
327
|
Message;
|
|
@@ -369,1018 +336,1014 @@ class TooManyTagsException extends MPAServiceException {
|
|
|
369
336
|
this.Message = opts.Message;
|
|
370
337
|
this.ResourceName = opts.ResourceName;
|
|
371
338
|
}
|
|
372
|
-
}
|
|
373
|
-
const CreateApprovalTeamRequestFilterSensitiveLog = (obj) => ({
|
|
374
|
-
...obj,
|
|
375
|
-
...(obj.ApprovalStrategy && { ApprovalStrategy: obj.ApprovalStrategy }),
|
|
376
|
-
...(obj.Description && { Description: smithyClient.SENSITIVE_STRING }),
|
|
377
|
-
...(obj.Tags && { Tags: smithyClient.SENSITIVE_STRING }),
|
|
378
|
-
});
|
|
379
|
-
const GetApprovalTeamResponseFilterSensitiveLog = (obj) => ({
|
|
380
|
-
...obj,
|
|
381
|
-
...(obj.ApprovalStrategy && { ApprovalStrategy: obj.ApprovalStrategy }),
|
|
382
|
-
...(obj.Description && { Description: smithyClient.SENSITIVE_STRING }),
|
|
383
|
-
...(obj.PendingUpdate && { PendingUpdate: obj.PendingUpdate }),
|
|
384
|
-
});
|
|
385
|
-
const ListApprovalTeamsResponseApprovalTeamFilterSensitiveLog = (obj) => ({
|
|
386
|
-
...obj,
|
|
387
|
-
...(obj.ApprovalStrategy && { ApprovalStrategy: obj.ApprovalStrategy }),
|
|
388
|
-
...(obj.Description && { Description: smithyClient.SENSITIVE_STRING }),
|
|
389
|
-
});
|
|
390
|
-
const ListApprovalTeamsResponseFilterSensitiveLog = (obj) => ({
|
|
391
|
-
...obj,
|
|
392
|
-
...(obj.ApprovalTeams && {
|
|
393
|
-
ApprovalTeams: obj.ApprovalTeams.map((item) => ListApprovalTeamsResponseApprovalTeamFilterSensitiveLog(item)),
|
|
394
|
-
}),
|
|
395
|
-
});
|
|
396
|
-
const UpdateApprovalTeamRequestFilterSensitiveLog = (obj) => ({
|
|
397
|
-
...obj,
|
|
398
|
-
...(obj.ApprovalStrategy && { ApprovalStrategy: obj.ApprovalStrategy }),
|
|
399
|
-
...(obj.Description && { Description: smithyClient.SENSITIVE_STRING }),
|
|
400
|
-
});
|
|
401
|
-
const PolicyVersionFilterSensitiveLog = (obj) => ({
|
|
402
|
-
...obj,
|
|
403
|
-
...(obj.Document && { Document: smithyClient.SENSITIVE_STRING }),
|
|
404
|
-
});
|
|
405
|
-
const GetPolicyVersionResponseFilterSensitiveLog = (obj) => ({
|
|
406
|
-
...obj,
|
|
407
|
-
...(obj.PolicyVersion && { PolicyVersion: PolicyVersionFilterSensitiveLog(obj.PolicyVersion) }),
|
|
408
|
-
});
|
|
409
|
-
const GetResourcePolicyResponseFilterSensitiveLog = (obj) => ({
|
|
410
|
-
...obj,
|
|
411
|
-
...(obj.PolicyDocument && { PolicyDocument: smithyClient.SENSITIVE_STRING }),
|
|
412
|
-
});
|
|
413
|
-
const CreateIdentitySourceRequestFilterSensitiveLog = (obj) => ({
|
|
414
|
-
...obj,
|
|
415
|
-
...(obj.Tags && { Tags: smithyClient.SENSITIVE_STRING }),
|
|
416
|
-
});
|
|
417
|
-
const ListTagsForResourceResponseFilterSensitiveLog = (obj) => ({
|
|
418
|
-
...obj,
|
|
419
|
-
...(obj.Tags && { Tags: smithyClient.SENSITIVE_STRING }),
|
|
420
|
-
});
|
|
421
|
-
const GetSessionResponseFilterSensitiveLog = (obj) => ({
|
|
422
|
-
...obj,
|
|
423
|
-
...(obj.ApprovalStrategy && { ApprovalStrategy: obj.ApprovalStrategy }),
|
|
424
|
-
...(obj.Description && { Description: smithyClient.SENSITIVE_STRING }),
|
|
425
|
-
...(obj.Metadata && { Metadata: smithyClient.SENSITIVE_STRING }),
|
|
426
|
-
...(obj.RequesterComment && { RequesterComment: smithyClient.SENSITIVE_STRING }),
|
|
427
|
-
});
|
|
428
|
-
const ListSessionsResponseSessionFilterSensitiveLog = (obj) => ({
|
|
429
|
-
...obj,
|
|
430
|
-
...(obj.Description && { Description: smithyClient.SENSITIVE_STRING }),
|
|
431
|
-
});
|
|
432
|
-
const ListSessionsResponseFilterSensitiveLog = (obj) => ({
|
|
433
|
-
...obj,
|
|
434
|
-
...(obj.Sessions && { Sessions: obj.Sessions.map((item) => ListSessionsResponseSessionFilterSensitiveLog(item)) }),
|
|
435
|
-
});
|
|
436
|
-
const TagResourceRequestFilterSensitiveLog = (obj) => ({
|
|
437
|
-
...obj,
|
|
438
|
-
...(obj.Tags && { Tags: smithyClient.SENSITIVE_STRING }),
|
|
439
|
-
});
|
|
440
|
-
const UntagResourceRequestFilterSensitiveLog = (obj) => ({
|
|
441
|
-
...obj,
|
|
442
|
-
...(obj.TagKeys && { TagKeys: smithyClient.SENSITIVE_STRING }),
|
|
443
|
-
});
|
|
444
|
-
|
|
445
|
-
const se_CancelSessionCommand = async (input, context) => {
|
|
446
|
-
const b = core.requestBuilder(input, context);
|
|
447
|
-
const headers = {};
|
|
448
|
-
b.bp("/sessions/{SessionArn}");
|
|
449
|
-
b.p("SessionArn", () => input.SessionArn, "{SessionArn}", false);
|
|
450
|
-
let body;
|
|
451
|
-
b.m("PUT").h(headers).b(body);
|
|
452
|
-
return b.build();
|
|
453
|
-
};
|
|
454
|
-
const se_CreateApprovalTeamCommand = async (input, context) => {
|
|
455
|
-
const b = core.requestBuilder(input, context);
|
|
456
|
-
const headers = {
|
|
457
|
-
"content-type": "application/json",
|
|
458
|
-
};
|
|
459
|
-
b.bp("/approval-teams");
|
|
460
|
-
let body;
|
|
461
|
-
body = JSON.stringify(smithyClient.take(input, {
|
|
462
|
-
ApprovalStrategy: (_) => smithyClient._json(_),
|
|
463
|
-
Approvers: (_) => smithyClient._json(_),
|
|
464
|
-
ClientToken: [true, (_) => _ ?? uuid.v4()],
|
|
465
|
-
Description: [],
|
|
466
|
-
Name: [],
|
|
467
|
-
Policies: (_) => smithyClient._json(_),
|
|
468
|
-
Tags: (_) => smithyClient._json(_),
|
|
469
|
-
}));
|
|
470
|
-
b.m("POST").h(headers).b(body);
|
|
471
|
-
return b.build();
|
|
472
|
-
};
|
|
473
|
-
const se_CreateIdentitySourceCommand = async (input, context) => {
|
|
474
|
-
const b = core.requestBuilder(input, context);
|
|
475
|
-
const headers = {
|
|
476
|
-
"content-type": "application/json",
|
|
477
|
-
};
|
|
478
|
-
b.bp("/identity-sources");
|
|
479
|
-
let body;
|
|
480
|
-
body = JSON.stringify(smithyClient.take(input, {
|
|
481
|
-
ClientToken: [true, (_) => _ ?? uuid.v4()],
|
|
482
|
-
IdentitySourceParameters: (_) => smithyClient._json(_),
|
|
483
|
-
Tags: (_) => smithyClient._json(_),
|
|
484
|
-
}));
|
|
485
|
-
b.m("POST").h(headers).b(body);
|
|
486
|
-
return b.build();
|
|
487
|
-
};
|
|
488
|
-
const se_DeleteIdentitySourceCommand = async (input, context) => {
|
|
489
|
-
const b = core.requestBuilder(input, context);
|
|
490
|
-
const headers = {};
|
|
491
|
-
b.bp("/identity-sources/{IdentitySourceArn}");
|
|
492
|
-
b.p("IdentitySourceArn", () => input.IdentitySourceArn, "{IdentitySourceArn}", false);
|
|
493
|
-
let body;
|
|
494
|
-
b.m("DELETE").h(headers).b(body);
|
|
495
|
-
return b.build();
|
|
496
|
-
};
|
|
497
|
-
const se_DeleteInactiveApprovalTeamVersionCommand = async (input, context) => {
|
|
498
|
-
const b = core.requestBuilder(input, context);
|
|
499
|
-
const headers = {};
|
|
500
|
-
b.bp("/approval-teams/{Arn}/{VersionId}");
|
|
501
|
-
b.p("Arn", () => input.Arn, "{Arn}", false);
|
|
502
|
-
b.p("VersionId", () => input.VersionId, "{VersionId}", false);
|
|
503
|
-
let body;
|
|
504
|
-
b.m("DELETE").h(headers).b(body);
|
|
505
|
-
return b.build();
|
|
506
|
-
};
|
|
507
|
-
const se_GetApprovalTeamCommand = async (input, context) => {
|
|
508
|
-
const b = core.requestBuilder(input, context);
|
|
509
|
-
const headers = {};
|
|
510
|
-
b.bp("/approval-teams/{Arn}");
|
|
511
|
-
b.p("Arn", () => input.Arn, "{Arn}", false);
|
|
512
|
-
let body;
|
|
513
|
-
b.m("GET").h(headers).b(body);
|
|
514
|
-
return b.build();
|
|
515
|
-
};
|
|
516
|
-
const se_GetIdentitySourceCommand = async (input, context) => {
|
|
517
|
-
const b = core.requestBuilder(input, context);
|
|
518
|
-
const headers = {};
|
|
519
|
-
b.bp("/identity-sources/{IdentitySourceArn}");
|
|
520
|
-
b.p("IdentitySourceArn", () => input.IdentitySourceArn, "{IdentitySourceArn}", false);
|
|
521
|
-
let body;
|
|
522
|
-
b.m("GET").h(headers).b(body);
|
|
523
|
-
return b.build();
|
|
524
|
-
};
|
|
525
|
-
const se_GetPolicyVersionCommand = async (input, context) => {
|
|
526
|
-
const b = core.requestBuilder(input, context);
|
|
527
|
-
const headers = {};
|
|
528
|
-
b.bp("/policy-versions/{PolicyVersionArn}");
|
|
529
|
-
b.p("PolicyVersionArn", () => input.PolicyVersionArn, "{PolicyVersionArn}", false);
|
|
530
|
-
let body;
|
|
531
|
-
b.m("GET").h(headers).b(body);
|
|
532
|
-
return b.build();
|
|
533
|
-
};
|
|
534
|
-
const se_GetResourcePolicyCommand = async (input, context) => {
|
|
535
|
-
const b = core.requestBuilder(input, context);
|
|
536
|
-
const headers = {
|
|
537
|
-
"content-type": "application/json",
|
|
538
|
-
};
|
|
539
|
-
b.bp("/GetResourcePolicy");
|
|
540
|
-
let body;
|
|
541
|
-
body = JSON.stringify(smithyClient.take(input, {
|
|
542
|
-
PolicyName: [],
|
|
543
|
-
PolicyType: [],
|
|
544
|
-
ResourceArn: [],
|
|
545
|
-
}));
|
|
546
|
-
b.m("POST").h(headers).b(body);
|
|
547
|
-
return b.build();
|
|
548
|
-
};
|
|
549
|
-
const se_GetSessionCommand = async (input, context) => {
|
|
550
|
-
const b = core.requestBuilder(input, context);
|
|
551
|
-
const headers = {};
|
|
552
|
-
b.bp("/sessions/{SessionArn}");
|
|
553
|
-
b.p("SessionArn", () => input.SessionArn, "{SessionArn}", false);
|
|
554
|
-
let body;
|
|
555
|
-
b.m("GET").h(headers).b(body);
|
|
556
|
-
return b.build();
|
|
557
|
-
};
|
|
558
|
-
const se_ListApprovalTeamsCommand = async (input, context) => {
|
|
559
|
-
const b = core.requestBuilder(input, context);
|
|
560
|
-
const headers = {};
|
|
561
|
-
b.bp("/approval-teams");
|
|
562
|
-
const query = smithyClient.map({
|
|
563
|
-
[_L]: [, ""],
|
|
564
|
-
[_MR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
|
|
565
|
-
[_NT]: [, input[_NT]],
|
|
566
|
-
});
|
|
567
|
-
let body;
|
|
568
|
-
b.m("POST").h(headers).q(query).b(body);
|
|
569
|
-
return b.build();
|
|
570
|
-
};
|
|
571
|
-
const se_ListIdentitySourcesCommand = async (input, context) => {
|
|
572
|
-
const b = core.requestBuilder(input, context);
|
|
573
|
-
const headers = {};
|
|
574
|
-
b.bp("/identity-sources");
|
|
575
|
-
const query = smithyClient.map({
|
|
576
|
-
[_L]: [, ""],
|
|
577
|
-
[_MR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
|
|
578
|
-
[_NT]: [, input[_NT]],
|
|
579
|
-
});
|
|
580
|
-
let body;
|
|
581
|
-
b.m("POST").h(headers).q(query).b(body);
|
|
582
|
-
return b.build();
|
|
583
|
-
};
|
|
584
|
-
const se_ListPoliciesCommand = async (input, context) => {
|
|
585
|
-
const b = core.requestBuilder(input, context);
|
|
586
|
-
const headers = {};
|
|
587
|
-
b.bp("/policies");
|
|
588
|
-
const query = smithyClient.map({
|
|
589
|
-
[_L]: [, ""],
|
|
590
|
-
[_MR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
|
|
591
|
-
[_NT]: [, input[_NT]],
|
|
592
|
-
});
|
|
593
|
-
let body;
|
|
594
|
-
b.m("POST").h(headers).q(query).b(body);
|
|
595
|
-
return b.build();
|
|
596
|
-
};
|
|
597
|
-
const se_ListPolicyVersionsCommand = async (input, context) => {
|
|
598
|
-
const b = core.requestBuilder(input, context);
|
|
599
|
-
const headers = {};
|
|
600
|
-
b.bp("/policies/{PolicyArn}");
|
|
601
|
-
b.p("PolicyArn", () => input.PolicyArn, "{PolicyArn}", false);
|
|
602
|
-
const query = smithyClient.map({
|
|
603
|
-
[_L]: [, ""],
|
|
604
|
-
[_MR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
|
|
605
|
-
[_NT]: [, input[_NT]],
|
|
606
|
-
});
|
|
607
|
-
let body;
|
|
608
|
-
b.m("POST").h(headers).q(query).b(body);
|
|
609
|
-
return b.build();
|
|
610
|
-
};
|
|
611
|
-
const se_ListResourcePoliciesCommand = async (input, context) => {
|
|
612
|
-
const b = core.requestBuilder(input, context);
|
|
613
|
-
const headers = {};
|
|
614
|
-
b.bp("/resource-policies/{ResourceArn}");
|
|
615
|
-
b.p("ResourceArn", () => input.ResourceArn, "{ResourceArn}", false);
|
|
616
|
-
const query = smithyClient.map({
|
|
617
|
-
[_L]: [, ""],
|
|
618
|
-
[_MR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
|
|
619
|
-
[_NT]: [, input[_NT]],
|
|
620
|
-
});
|
|
621
|
-
let body;
|
|
622
|
-
b.m("POST").h(headers).q(query).b(body);
|
|
623
|
-
return b.build();
|
|
624
|
-
};
|
|
625
|
-
const se_ListSessionsCommand = async (input, context) => {
|
|
626
|
-
const b = core.requestBuilder(input, context);
|
|
627
|
-
const headers = {
|
|
628
|
-
"content-type": "application/json",
|
|
629
|
-
};
|
|
630
|
-
b.bp("/approval-teams/{ApprovalTeamArn}/sessions");
|
|
631
|
-
b.p("ApprovalTeamArn", () => input.ApprovalTeamArn, "{ApprovalTeamArn}", false);
|
|
632
|
-
const query = smithyClient.map({
|
|
633
|
-
[_L]: [, ""],
|
|
634
|
-
});
|
|
635
|
-
let body;
|
|
636
|
-
body = JSON.stringify(smithyClient.take(input, {
|
|
637
|
-
Filters: (_) => smithyClient._json(_),
|
|
638
|
-
MaxResults: [],
|
|
639
|
-
NextToken: [],
|
|
640
|
-
}));
|
|
641
|
-
b.m("POST").h(headers).q(query).b(body);
|
|
642
|
-
return b.build();
|
|
643
|
-
};
|
|
644
|
-
const se_ListTagsForResourceCommand = async (input, context) => {
|
|
645
|
-
const b = core.requestBuilder(input, context);
|
|
646
|
-
const headers = {};
|
|
647
|
-
b.bp("/tags/{ResourceArn}");
|
|
648
|
-
b.p("ResourceArn", () => input.ResourceArn, "{ResourceArn}", false);
|
|
649
|
-
let body;
|
|
650
|
-
b.m("GET").h(headers).b(body);
|
|
651
|
-
return b.build();
|
|
652
|
-
};
|
|
653
|
-
const se_StartActiveApprovalTeamDeletionCommand = async (input, context) => {
|
|
654
|
-
const b = core.requestBuilder(input, context);
|
|
655
|
-
const headers = {
|
|
656
|
-
"content-type": "application/json",
|
|
657
|
-
};
|
|
658
|
-
b.bp("/approval-teams/{Arn}");
|
|
659
|
-
b.p("Arn", () => input.Arn, "{Arn}", false);
|
|
660
|
-
const query = smithyClient.map({
|
|
661
|
-
[_D]: [, ""],
|
|
662
|
-
});
|
|
663
|
-
let body;
|
|
664
|
-
body = JSON.stringify(smithyClient.take(input, {
|
|
665
|
-
PendingWindowDays: [],
|
|
666
|
-
}));
|
|
667
|
-
b.m("POST").h(headers).q(query).b(body);
|
|
668
|
-
return b.build();
|
|
669
|
-
};
|
|
670
|
-
const se_TagResourceCommand = async (input, context) => {
|
|
671
|
-
const b = core.requestBuilder(input, context);
|
|
672
|
-
const headers = {
|
|
673
|
-
"content-type": "application/json",
|
|
674
|
-
};
|
|
675
|
-
b.bp("/tags/{ResourceArn}");
|
|
676
|
-
b.p("ResourceArn", () => input.ResourceArn, "{ResourceArn}", false);
|
|
677
|
-
let body;
|
|
678
|
-
body = JSON.stringify(smithyClient.take(input, {
|
|
679
|
-
Tags: (_) => smithyClient._json(_),
|
|
680
|
-
}));
|
|
681
|
-
b.m("PUT").h(headers).b(body);
|
|
682
|
-
return b.build();
|
|
683
|
-
};
|
|
684
|
-
const se_UntagResourceCommand = async (input, context) => {
|
|
685
|
-
const b = core.requestBuilder(input, context);
|
|
686
|
-
const headers = {
|
|
687
|
-
"content-type": "application/json",
|
|
688
|
-
};
|
|
689
|
-
b.bp("/tags/{ResourceArn}");
|
|
690
|
-
b.p("ResourceArn", () => input.ResourceArn, "{ResourceArn}", false);
|
|
691
|
-
let body;
|
|
692
|
-
body = JSON.stringify(smithyClient.take(input, {
|
|
693
|
-
TagKeys: (_) => smithyClient._json(_),
|
|
694
|
-
}));
|
|
695
|
-
b.m("POST").h(headers).b(body);
|
|
696
|
-
return b.build();
|
|
697
|
-
};
|
|
698
|
-
const se_UpdateApprovalTeamCommand = async (input, context) => {
|
|
699
|
-
const b = core.requestBuilder(input, context);
|
|
700
|
-
const headers = {
|
|
701
|
-
"content-type": "application/json",
|
|
702
|
-
};
|
|
703
|
-
b.bp("/approval-teams/{Arn}");
|
|
704
|
-
b.p("Arn", () => input.Arn, "{Arn}", false);
|
|
705
|
-
let body;
|
|
706
|
-
body = JSON.stringify(smithyClient.take(input, {
|
|
707
|
-
ApprovalStrategy: (_) => smithyClient._json(_),
|
|
708
|
-
Approvers: (_) => smithyClient._json(_),
|
|
709
|
-
Description: [],
|
|
710
|
-
}));
|
|
711
|
-
b.m("PATCH").h(headers).b(body);
|
|
712
|
-
return b.build();
|
|
713
|
-
};
|
|
714
|
-
const de_CancelSessionCommand = async (output, context) => {
|
|
715
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
716
|
-
return de_CommandError(output, context);
|
|
717
|
-
}
|
|
718
|
-
const contents = smithyClient.map({
|
|
719
|
-
$metadata: deserializeMetadata(output),
|
|
720
|
-
});
|
|
721
|
-
await smithyClient.collectBody(output.body, context);
|
|
722
|
-
return contents;
|
|
723
|
-
};
|
|
724
|
-
const de_CreateApprovalTeamCommand = async (output, context) => {
|
|
725
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
726
|
-
return de_CommandError(output, context);
|
|
727
|
-
}
|
|
728
|
-
const contents = smithyClient.map({
|
|
729
|
-
$metadata: deserializeMetadata(output),
|
|
730
|
-
});
|
|
731
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
732
|
-
const doc = smithyClient.take(data, {
|
|
733
|
-
Arn: smithyClient.expectString,
|
|
734
|
-
CreationTime: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
|
|
735
|
-
Name: smithyClient.expectString,
|
|
736
|
-
VersionId: smithyClient.expectString,
|
|
737
|
-
});
|
|
738
|
-
Object.assign(contents, doc);
|
|
739
|
-
return contents;
|
|
740
|
-
};
|
|
741
|
-
const de_CreateIdentitySourceCommand = async (output, context) => {
|
|
742
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
743
|
-
return de_CommandError(output, context);
|
|
744
|
-
}
|
|
745
|
-
const contents = smithyClient.map({
|
|
746
|
-
$metadata: deserializeMetadata(output),
|
|
747
|
-
});
|
|
748
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
749
|
-
const doc = smithyClient.take(data, {
|
|
750
|
-
CreationTime: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
|
|
751
|
-
IdentitySourceArn: smithyClient.expectString,
|
|
752
|
-
IdentitySourceType: smithyClient.expectString,
|
|
753
|
-
});
|
|
754
|
-
Object.assign(contents, doc);
|
|
755
|
-
return contents;
|
|
756
|
-
};
|
|
757
|
-
const de_DeleteIdentitySourceCommand = async (output, context) => {
|
|
758
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
759
|
-
return de_CommandError(output, context);
|
|
760
|
-
}
|
|
761
|
-
const contents = smithyClient.map({
|
|
762
|
-
$metadata: deserializeMetadata(output),
|
|
763
|
-
});
|
|
764
|
-
await smithyClient.collectBody(output.body, context);
|
|
765
|
-
return contents;
|
|
766
|
-
};
|
|
767
|
-
const de_DeleteInactiveApprovalTeamVersionCommand = async (output, context) => {
|
|
768
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
769
|
-
return de_CommandError(output, context);
|
|
770
|
-
}
|
|
771
|
-
const contents = smithyClient.map({
|
|
772
|
-
$metadata: deserializeMetadata(output),
|
|
773
|
-
});
|
|
774
|
-
await smithyClient.collectBody(output.body, context);
|
|
775
|
-
return contents;
|
|
776
|
-
};
|
|
777
|
-
const de_GetApprovalTeamCommand = async (output, context) => {
|
|
778
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
779
|
-
return de_CommandError(output, context);
|
|
780
|
-
}
|
|
781
|
-
const contents = smithyClient.map({
|
|
782
|
-
$metadata: deserializeMetadata(output),
|
|
783
|
-
});
|
|
784
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
785
|
-
const doc = smithyClient.take(data, {
|
|
786
|
-
ApprovalStrategy: (_) => smithyClient._json(core$1.awsExpectUnion(_)),
|
|
787
|
-
Approvers: (_) => de_GetApprovalTeamResponseApprovers(_),
|
|
788
|
-
Arn: smithyClient.expectString,
|
|
789
|
-
CreationTime: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
|
|
790
|
-
Description: smithyClient.expectString,
|
|
791
|
-
LastUpdateTime: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
|
|
792
|
-
Name: smithyClient.expectString,
|
|
793
|
-
NumberOfApprovers: smithyClient.expectInt32,
|
|
794
|
-
PendingUpdate: (_) => de_PendingUpdate(_),
|
|
795
|
-
Policies: smithyClient._json,
|
|
796
|
-
Status: smithyClient.expectString,
|
|
797
|
-
StatusCode: smithyClient.expectString,
|
|
798
|
-
StatusMessage: smithyClient.expectString,
|
|
799
|
-
UpdateSessionArn: smithyClient.expectString,
|
|
800
|
-
VersionId: smithyClient.expectString,
|
|
801
|
-
});
|
|
802
|
-
Object.assign(contents, doc);
|
|
803
|
-
return contents;
|
|
804
|
-
};
|
|
805
|
-
const de_GetIdentitySourceCommand = async (output, context) => {
|
|
806
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
807
|
-
return de_CommandError(output, context);
|
|
808
|
-
}
|
|
809
|
-
const contents = smithyClient.map({
|
|
810
|
-
$metadata: deserializeMetadata(output),
|
|
811
|
-
});
|
|
812
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
813
|
-
const doc = smithyClient.take(data, {
|
|
814
|
-
CreationTime: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
|
|
815
|
-
IdentitySourceArn: smithyClient.expectString,
|
|
816
|
-
IdentitySourceParameters: (_) => smithyClient._json(core$1.awsExpectUnion(_)),
|
|
817
|
-
IdentitySourceType: smithyClient.expectString,
|
|
818
|
-
Status: smithyClient.expectString,
|
|
819
|
-
StatusCode: smithyClient.expectString,
|
|
820
|
-
StatusMessage: smithyClient.expectString,
|
|
821
|
-
});
|
|
822
|
-
Object.assign(contents, doc);
|
|
823
|
-
return contents;
|
|
824
|
-
};
|
|
825
|
-
const de_GetPolicyVersionCommand = async (output, context) => {
|
|
826
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
827
|
-
return de_CommandError(output, context);
|
|
828
|
-
}
|
|
829
|
-
const contents = smithyClient.map({
|
|
830
|
-
$metadata: deserializeMetadata(output),
|
|
831
|
-
});
|
|
832
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
833
|
-
const doc = smithyClient.take(data, {
|
|
834
|
-
PolicyVersion: (_) => de_PolicyVersion(_),
|
|
835
|
-
});
|
|
836
|
-
Object.assign(contents, doc);
|
|
837
|
-
return contents;
|
|
838
|
-
};
|
|
839
|
-
const de_GetResourcePolicyCommand = async (output, context) => {
|
|
840
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
841
|
-
return de_CommandError(output, context);
|
|
842
|
-
}
|
|
843
|
-
const contents = smithyClient.map({
|
|
844
|
-
$metadata: deserializeMetadata(output),
|
|
845
|
-
});
|
|
846
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
847
|
-
const doc = smithyClient.take(data, {
|
|
848
|
-
PolicyDocument: smithyClient.expectString,
|
|
849
|
-
PolicyName: smithyClient.expectString,
|
|
850
|
-
PolicyType: smithyClient.expectString,
|
|
851
|
-
PolicyVersionArn: smithyClient.expectString,
|
|
852
|
-
ResourceArn: smithyClient.expectString,
|
|
853
|
-
});
|
|
854
|
-
Object.assign(contents, doc);
|
|
855
|
-
return contents;
|
|
856
339
|
};
|
|
857
|
-
|
|
858
|
-
|
|
859
|
-
|
|
860
|
-
|
|
861
|
-
|
|
862
|
-
|
|
863
|
-
|
|
864
|
-
|
|
865
|
-
|
|
866
|
-
|
|
867
|
-
|
|
868
|
-
|
|
869
|
-
|
|
870
|
-
|
|
871
|
-
|
|
872
|
-
|
|
873
|
-
|
|
874
|
-
|
|
875
|
-
|
|
876
|
-
|
|
877
|
-
|
|
878
|
-
|
|
879
|
-
|
|
880
|
-
|
|
881
|
-
|
|
882
|
-
|
|
883
|
-
|
|
884
|
-
|
|
885
|
-
|
|
886
|
-
|
|
887
|
-
|
|
888
|
-
|
|
889
|
-
|
|
890
|
-
|
|
891
|
-
|
|
892
|
-
|
|
893
|
-
const
|
|
894
|
-
|
|
895
|
-
|
|
896
|
-
|
|
897
|
-
|
|
898
|
-
|
|
899
|
-
|
|
900
|
-
|
|
901
|
-
|
|
902
|
-
|
|
903
|
-
|
|
904
|
-
|
|
905
|
-
|
|
906
|
-
|
|
907
|
-
|
|
908
|
-
const
|
|
909
|
-
|
|
910
|
-
|
|
911
|
-
|
|
912
|
-
|
|
913
|
-
|
|
914
|
-
|
|
915
|
-
|
|
916
|
-
|
|
917
|
-
|
|
918
|
-
|
|
919
|
-
|
|
920
|
-
|
|
921
|
-
|
|
922
|
-
|
|
923
|
-
const
|
|
924
|
-
|
|
925
|
-
|
|
926
|
-
|
|
927
|
-
|
|
928
|
-
|
|
929
|
-
|
|
930
|
-
|
|
931
|
-
|
|
932
|
-
|
|
933
|
-
|
|
934
|
-
|
|
935
|
-
|
|
936
|
-
|
|
937
|
-
|
|
938
|
-
const
|
|
939
|
-
|
|
940
|
-
|
|
941
|
-
|
|
942
|
-
|
|
943
|
-
|
|
944
|
-
|
|
945
|
-
|
|
946
|
-
|
|
947
|
-
|
|
948
|
-
|
|
949
|
-
|
|
950
|
-
|
|
951
|
-
|
|
952
|
-
|
|
953
|
-
const
|
|
954
|
-
|
|
955
|
-
|
|
956
|
-
|
|
957
|
-
|
|
958
|
-
|
|
959
|
-
|
|
960
|
-
|
|
961
|
-
|
|
962
|
-
|
|
963
|
-
|
|
964
|
-
|
|
965
|
-
|
|
966
|
-
|
|
967
|
-
|
|
968
|
-
const
|
|
969
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
970
|
-
return de_CommandError(output, context);
|
|
971
|
-
}
|
|
972
|
-
const contents = smithyClient.map({
|
|
973
|
-
$metadata: deserializeMetadata(output),
|
|
974
|
-
});
|
|
975
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
976
|
-
const doc = smithyClient.take(data, {
|
|
977
|
-
NextToken: smithyClient.expectString,
|
|
978
|
-
Sessions: (_) => de_ListSessionsResponseSessions(_),
|
|
979
|
-
});
|
|
980
|
-
Object.assign(contents, doc);
|
|
981
|
-
return contents;
|
|
982
|
-
};
|
|
983
|
-
const de_ListTagsForResourceCommand = async (output, context) => {
|
|
984
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
985
|
-
return de_CommandError(output, context);
|
|
986
|
-
}
|
|
987
|
-
const contents = smithyClient.map({
|
|
988
|
-
$metadata: deserializeMetadata(output),
|
|
989
|
-
});
|
|
990
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
991
|
-
const doc = smithyClient.take(data, {
|
|
992
|
-
Tags: smithyClient._json,
|
|
993
|
-
});
|
|
994
|
-
Object.assign(contents, doc);
|
|
995
|
-
return contents;
|
|
996
|
-
};
|
|
997
|
-
const de_StartActiveApprovalTeamDeletionCommand = async (output, context) => {
|
|
998
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
999
|
-
return de_CommandError(output, context);
|
|
1000
|
-
}
|
|
1001
|
-
const contents = smithyClient.map({
|
|
1002
|
-
$metadata: deserializeMetadata(output),
|
|
1003
|
-
});
|
|
1004
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
1005
|
-
const doc = smithyClient.take(data, {
|
|
1006
|
-
DeletionCompletionTime: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
|
|
1007
|
-
DeletionStartTime: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
|
|
1008
|
-
});
|
|
1009
|
-
Object.assign(contents, doc);
|
|
1010
|
-
return contents;
|
|
1011
|
-
};
|
|
1012
|
-
const de_TagResourceCommand = async (output, context) => {
|
|
1013
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1014
|
-
return de_CommandError(output, context);
|
|
1015
|
-
}
|
|
1016
|
-
const contents = smithyClient.map({
|
|
1017
|
-
$metadata: deserializeMetadata(output),
|
|
1018
|
-
});
|
|
1019
|
-
await smithyClient.collectBody(output.body, context);
|
|
1020
|
-
return contents;
|
|
1021
|
-
};
|
|
1022
|
-
const de_UntagResourceCommand = async (output, context) => {
|
|
1023
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1024
|
-
return de_CommandError(output, context);
|
|
1025
|
-
}
|
|
1026
|
-
const contents = smithyClient.map({
|
|
1027
|
-
$metadata: deserializeMetadata(output),
|
|
1028
|
-
});
|
|
1029
|
-
await smithyClient.collectBody(output.body, context);
|
|
1030
|
-
return contents;
|
|
1031
|
-
};
|
|
1032
|
-
const de_UpdateApprovalTeamCommand = async (output, context) => {
|
|
1033
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1034
|
-
return de_CommandError(output, context);
|
|
1035
|
-
}
|
|
1036
|
-
const contents = smithyClient.map({
|
|
1037
|
-
$metadata: deserializeMetadata(output),
|
|
1038
|
-
});
|
|
1039
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
1040
|
-
const doc = smithyClient.take(data, {
|
|
1041
|
-
VersionId: smithyClient.expectString,
|
|
1042
|
-
});
|
|
1043
|
-
Object.assign(contents, doc);
|
|
1044
|
-
return contents;
|
|
1045
|
-
};
|
|
1046
|
-
const de_CommandError = async (output, context) => {
|
|
1047
|
-
const parsedOutput = {
|
|
1048
|
-
...output,
|
|
1049
|
-
body: await core$1.parseJsonErrorBody(output.body, context),
|
|
1050
|
-
};
|
|
1051
|
-
const errorCode = core$1.loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1052
|
-
switch (errorCode) {
|
|
1053
|
-
case "AccessDeniedException":
|
|
1054
|
-
case "com.amazonaws.mpa#AccessDeniedException":
|
|
1055
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput);
|
|
1056
|
-
case "ConflictException":
|
|
1057
|
-
case "com.amazonaws.mpa#ConflictException":
|
|
1058
|
-
throw await de_ConflictExceptionRes(parsedOutput);
|
|
1059
|
-
case "InternalServerException":
|
|
1060
|
-
case "com.amazonaws.mpa#InternalServerException":
|
|
1061
|
-
throw await de_InternalServerExceptionRes(parsedOutput);
|
|
1062
|
-
case "ResourceNotFoundException":
|
|
1063
|
-
case "com.amazonaws.mpa#ResourceNotFoundException":
|
|
1064
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput);
|
|
1065
|
-
case "ThrottlingException":
|
|
1066
|
-
case "com.amazonaws.mpa#ThrottlingException":
|
|
1067
|
-
throw await de_ThrottlingExceptionRes(parsedOutput);
|
|
1068
|
-
case "ValidationException":
|
|
1069
|
-
case "com.amazonaws.mpa#ValidationException":
|
|
1070
|
-
throw await de_ValidationExceptionRes(parsedOutput);
|
|
1071
|
-
case "ServiceQuotaExceededException":
|
|
1072
|
-
case "com.amazonaws.mpa#ServiceQuotaExceededException":
|
|
1073
|
-
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput);
|
|
1074
|
-
case "InvalidParameterException":
|
|
1075
|
-
case "com.amazonaws.mpa#InvalidParameterException":
|
|
1076
|
-
throw await de_InvalidParameterExceptionRes(parsedOutput);
|
|
1077
|
-
case "TooManyTagsException":
|
|
1078
|
-
case "com.amazonaws.mpa#TooManyTagsException":
|
|
1079
|
-
throw await de_TooManyTagsExceptionRes(parsedOutput);
|
|
1080
|
-
default:
|
|
1081
|
-
const parsedBody = parsedOutput.body;
|
|
1082
|
-
return throwDefaultError({
|
|
1083
|
-
output,
|
|
1084
|
-
parsedBody,
|
|
1085
|
-
errorCode,
|
|
1086
|
-
});
|
|
1087
|
-
}
|
|
1088
|
-
};
|
|
1089
|
-
const throwDefaultError = smithyClient.withBaseException(MPAServiceException);
|
|
1090
|
-
const de_AccessDeniedExceptionRes = async (parsedOutput, context) => {
|
|
1091
|
-
const contents = smithyClient.map({});
|
|
1092
|
-
const data = parsedOutput.body;
|
|
1093
|
-
const doc = smithyClient.take(data, {
|
|
1094
|
-
Message: smithyClient.expectString,
|
|
1095
|
-
});
|
|
1096
|
-
Object.assign(contents, doc);
|
|
1097
|
-
const exception = new AccessDeniedException({
|
|
1098
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1099
|
-
...contents,
|
|
1100
|
-
});
|
|
1101
|
-
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
1102
|
-
};
|
|
1103
|
-
const de_ConflictExceptionRes = async (parsedOutput, context) => {
|
|
1104
|
-
const contents = smithyClient.map({});
|
|
1105
|
-
const data = parsedOutput.body;
|
|
1106
|
-
const doc = smithyClient.take(data, {
|
|
1107
|
-
Message: smithyClient.expectString,
|
|
1108
|
-
});
|
|
1109
|
-
Object.assign(contents, doc);
|
|
1110
|
-
const exception = new ConflictException({
|
|
1111
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1112
|
-
...contents,
|
|
1113
|
-
});
|
|
1114
|
-
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
1115
|
-
};
|
|
1116
|
-
const de_InternalServerExceptionRes = async (parsedOutput, context) => {
|
|
1117
|
-
const contents = smithyClient.map({});
|
|
1118
|
-
const data = parsedOutput.body;
|
|
1119
|
-
const doc = smithyClient.take(data, {
|
|
1120
|
-
Message: smithyClient.expectString,
|
|
1121
|
-
});
|
|
1122
|
-
Object.assign(contents, doc);
|
|
1123
|
-
const exception = new InternalServerException({
|
|
1124
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1125
|
-
...contents,
|
|
1126
|
-
});
|
|
1127
|
-
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
1128
|
-
};
|
|
1129
|
-
const de_InvalidParameterExceptionRes = async (parsedOutput, context) => {
|
|
1130
|
-
const contents = smithyClient.map({});
|
|
1131
|
-
const data = parsedOutput.body;
|
|
1132
|
-
const doc = smithyClient.take(data, {
|
|
1133
|
-
Message: smithyClient.expectString,
|
|
1134
|
-
});
|
|
1135
|
-
Object.assign(contents, doc);
|
|
1136
|
-
const exception = new InvalidParameterException({
|
|
1137
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1138
|
-
...contents,
|
|
1139
|
-
});
|
|
1140
|
-
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
1141
|
-
};
|
|
1142
|
-
const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
1143
|
-
const contents = smithyClient.map({});
|
|
1144
|
-
const data = parsedOutput.body;
|
|
1145
|
-
const doc = smithyClient.take(data, {
|
|
1146
|
-
Message: smithyClient.expectString,
|
|
1147
|
-
});
|
|
1148
|
-
Object.assign(contents, doc);
|
|
1149
|
-
const exception = new ResourceNotFoundException({
|
|
1150
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1151
|
-
...contents,
|
|
1152
|
-
});
|
|
1153
|
-
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
1154
|
-
};
|
|
1155
|
-
const de_ServiceQuotaExceededExceptionRes = async (parsedOutput, context) => {
|
|
1156
|
-
const contents = smithyClient.map({});
|
|
1157
|
-
const data = parsedOutput.body;
|
|
1158
|
-
const doc = smithyClient.take(data, {
|
|
1159
|
-
Message: smithyClient.expectString,
|
|
1160
|
-
});
|
|
1161
|
-
Object.assign(contents, doc);
|
|
1162
|
-
const exception = new ServiceQuotaExceededException({
|
|
1163
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1164
|
-
...contents,
|
|
1165
|
-
});
|
|
1166
|
-
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
1167
|
-
};
|
|
1168
|
-
const de_ThrottlingExceptionRes = async (parsedOutput, context) => {
|
|
1169
|
-
const contents = smithyClient.map({});
|
|
1170
|
-
const data = parsedOutput.body;
|
|
1171
|
-
const doc = smithyClient.take(data, {
|
|
1172
|
-
Message: smithyClient.expectString,
|
|
1173
|
-
});
|
|
1174
|
-
Object.assign(contents, doc);
|
|
1175
|
-
const exception = new ThrottlingException({
|
|
1176
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1177
|
-
...contents,
|
|
1178
|
-
});
|
|
1179
|
-
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
1180
|
-
};
|
|
1181
|
-
const de_TooManyTagsExceptionRes = async (parsedOutput, context) => {
|
|
1182
|
-
const contents = smithyClient.map({});
|
|
1183
|
-
const data = parsedOutput.body;
|
|
1184
|
-
const doc = smithyClient.take(data, {
|
|
1185
|
-
Message: smithyClient.expectString,
|
|
1186
|
-
ResourceName: smithyClient.expectString,
|
|
1187
|
-
});
|
|
1188
|
-
Object.assign(contents, doc);
|
|
1189
|
-
const exception = new TooManyTagsException({
|
|
1190
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1191
|
-
...contents,
|
|
1192
|
-
});
|
|
1193
|
-
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
1194
|
-
};
|
|
1195
|
-
const de_ValidationExceptionRes = async (parsedOutput, context) => {
|
|
1196
|
-
const contents = smithyClient.map({});
|
|
1197
|
-
const data = parsedOutput.body;
|
|
1198
|
-
const doc = smithyClient.take(data, {
|
|
1199
|
-
Message: smithyClient.expectString,
|
|
1200
|
-
});
|
|
1201
|
-
Object.assign(contents, doc);
|
|
1202
|
-
const exception = new ValidationException({
|
|
1203
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1204
|
-
...contents,
|
|
1205
|
-
});
|
|
1206
|
-
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
1207
|
-
};
|
|
1208
|
-
const de_GetApprovalTeamResponseApprover = (output, context) => {
|
|
1209
|
-
return smithyClient.take(output, {
|
|
1210
|
-
ApproverId: smithyClient.expectString,
|
|
1211
|
-
PrimaryIdentityId: smithyClient.expectString,
|
|
1212
|
-
PrimaryIdentitySourceArn: smithyClient.expectString,
|
|
1213
|
-
PrimaryIdentityStatus: smithyClient.expectString,
|
|
1214
|
-
ResponseTime: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
|
|
1215
|
-
});
|
|
1216
|
-
};
|
|
1217
|
-
const de_GetApprovalTeamResponseApprovers = (output, context) => {
|
|
1218
|
-
const retVal = (output || [])
|
|
1219
|
-
.filter((e) => e != null)
|
|
1220
|
-
.map((entry) => {
|
|
1221
|
-
return de_GetApprovalTeamResponseApprover(entry);
|
|
1222
|
-
});
|
|
1223
|
-
return retVal;
|
|
1224
|
-
};
|
|
1225
|
-
const de_GetSessionResponseApproverResponse = (output, context) => {
|
|
1226
|
-
return smithyClient.take(output, {
|
|
1227
|
-
ApproverId: smithyClient.expectString,
|
|
1228
|
-
IdentityId: smithyClient.expectString,
|
|
1229
|
-
IdentitySourceArn: smithyClient.expectString,
|
|
1230
|
-
Response: smithyClient.expectString,
|
|
1231
|
-
ResponseTime: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
|
|
1232
|
-
});
|
|
1233
|
-
};
|
|
1234
|
-
const de_GetSessionResponseApproverResponses = (output, context) => {
|
|
1235
|
-
const retVal = (output || [])
|
|
1236
|
-
.filter((e) => e != null)
|
|
1237
|
-
.map((entry) => {
|
|
1238
|
-
return de_GetSessionResponseApproverResponse(entry);
|
|
1239
|
-
});
|
|
1240
|
-
return retVal;
|
|
1241
|
-
};
|
|
1242
|
-
const de_IdentitySourceForList = (output, context) => {
|
|
1243
|
-
return smithyClient.take(output, {
|
|
1244
|
-
CreationTime: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
|
|
1245
|
-
IdentitySourceArn: smithyClient.expectString,
|
|
1246
|
-
IdentitySourceParameters: (_) => smithyClient._json(core$1.awsExpectUnion(_)),
|
|
1247
|
-
IdentitySourceType: smithyClient.expectString,
|
|
1248
|
-
Status: smithyClient.expectString,
|
|
1249
|
-
StatusCode: smithyClient.expectString,
|
|
1250
|
-
StatusMessage: smithyClient.expectString,
|
|
1251
|
-
});
|
|
1252
|
-
};
|
|
1253
|
-
const de_IdentitySources = (output, context) => {
|
|
1254
|
-
const retVal = (output || [])
|
|
1255
|
-
.filter((e) => e != null)
|
|
1256
|
-
.map((entry) => {
|
|
1257
|
-
return de_IdentitySourceForList(entry);
|
|
1258
|
-
});
|
|
1259
|
-
return retVal;
|
|
1260
|
-
};
|
|
1261
|
-
const de_ListApprovalTeamsResponseApprovalTeam = (output, context) => {
|
|
1262
|
-
return smithyClient.take(output, {
|
|
1263
|
-
ApprovalStrategy: (_) => smithyClient._json(core$1.awsExpectUnion(_)),
|
|
1264
|
-
Arn: smithyClient.expectString,
|
|
1265
|
-
CreationTime: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
|
|
1266
|
-
Description: smithyClient.expectString,
|
|
1267
|
-
Name: smithyClient.expectString,
|
|
1268
|
-
NumberOfApprovers: smithyClient.expectInt32,
|
|
1269
|
-
Status: smithyClient.expectString,
|
|
1270
|
-
StatusCode: smithyClient.expectString,
|
|
1271
|
-
StatusMessage: smithyClient.expectString,
|
|
1272
|
-
});
|
|
1273
|
-
};
|
|
1274
|
-
const de_ListApprovalTeamsResponseApprovalTeams = (output, context) => {
|
|
1275
|
-
const retVal = (output || [])
|
|
1276
|
-
.filter((e) => e != null)
|
|
1277
|
-
.map((entry) => {
|
|
1278
|
-
return de_ListApprovalTeamsResponseApprovalTeam(entry);
|
|
1279
|
-
});
|
|
1280
|
-
return retVal;
|
|
1281
|
-
};
|
|
1282
|
-
const de_ListSessionsResponseSession = (output, context) => {
|
|
1283
|
-
return smithyClient.take(output, {
|
|
1284
|
-
ActionCompletionStrategy: smithyClient.expectString,
|
|
1285
|
-
ActionName: smithyClient.expectString,
|
|
1286
|
-
ApprovalTeamArn: smithyClient.expectString,
|
|
1287
|
-
ApprovalTeamName: smithyClient.expectString,
|
|
1288
|
-
CompletionTime: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
|
|
1289
|
-
Description: smithyClient.expectString,
|
|
1290
|
-
ExpirationTime: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
|
|
1291
|
-
InitiationTime: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
|
|
1292
|
-
ProtectedResourceArn: smithyClient.expectString,
|
|
1293
|
-
RequesterAccountId: smithyClient.expectString,
|
|
1294
|
-
RequesterPrincipalArn: smithyClient.expectString,
|
|
1295
|
-
RequesterRegion: smithyClient.expectString,
|
|
1296
|
-
RequesterServicePrincipal: smithyClient.expectString,
|
|
1297
|
-
SessionArn: smithyClient.expectString,
|
|
1298
|
-
Status: smithyClient.expectString,
|
|
1299
|
-
StatusCode: smithyClient.expectString,
|
|
1300
|
-
StatusMessage: smithyClient.expectString,
|
|
1301
|
-
});
|
|
1302
|
-
};
|
|
1303
|
-
const de_ListSessionsResponseSessions = (output, context) => {
|
|
1304
|
-
const retVal = (output || [])
|
|
1305
|
-
.filter((e) => e != null)
|
|
1306
|
-
.map((entry) => {
|
|
1307
|
-
return de_ListSessionsResponseSession(entry);
|
|
1308
|
-
});
|
|
1309
|
-
return retVal;
|
|
1310
|
-
};
|
|
1311
|
-
const de_PendingUpdate = (output, context) => {
|
|
1312
|
-
return smithyClient.take(output, {
|
|
1313
|
-
ApprovalStrategy: (_) => smithyClient._json(core$1.awsExpectUnion(_)),
|
|
1314
|
-
Approvers: (_) => de_GetApprovalTeamResponseApprovers(_),
|
|
1315
|
-
Description: smithyClient.expectString,
|
|
1316
|
-
NumberOfApprovers: smithyClient.expectInt32,
|
|
1317
|
-
Status: smithyClient.expectString,
|
|
1318
|
-
StatusCode: smithyClient.expectString,
|
|
1319
|
-
StatusMessage: smithyClient.expectString,
|
|
1320
|
-
UpdateInitiationTime: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
|
|
1321
|
-
VersionId: smithyClient.expectString,
|
|
1322
|
-
});
|
|
1323
|
-
};
|
|
1324
|
-
const de_PolicyVersion = (output, context) => {
|
|
1325
|
-
return smithyClient.take(output, {
|
|
1326
|
-
Arn: smithyClient.expectString,
|
|
1327
|
-
CreationTime: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
|
|
1328
|
-
Document: smithyClient.expectString,
|
|
1329
|
-
IsDefault: smithyClient.expectBoolean,
|
|
1330
|
-
LastUpdatedTime: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
|
|
1331
|
-
Name: smithyClient.expectString,
|
|
1332
|
-
PolicyArn: smithyClient.expectString,
|
|
1333
|
-
PolicyType: smithyClient.expectString,
|
|
1334
|
-
Status: smithyClient.expectString,
|
|
1335
|
-
VersionId: smithyClient.expectInt32,
|
|
1336
|
-
});
|
|
1337
|
-
};
|
|
1338
|
-
const de_PolicyVersions = (output, context) => {
|
|
1339
|
-
const retVal = (output || [])
|
|
1340
|
-
.filter((e) => e != null)
|
|
1341
|
-
.map((entry) => {
|
|
1342
|
-
return de_PolicyVersionSummary(entry);
|
|
1343
|
-
});
|
|
1344
|
-
return retVal;
|
|
1345
|
-
};
|
|
1346
|
-
const de_PolicyVersionSummary = (output, context) => {
|
|
1347
|
-
return smithyClient.take(output, {
|
|
1348
|
-
Arn: smithyClient.expectString,
|
|
1349
|
-
CreationTime: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
|
|
1350
|
-
IsDefault: smithyClient.expectBoolean,
|
|
1351
|
-
LastUpdatedTime: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
|
|
1352
|
-
Name: smithyClient.expectString,
|
|
1353
|
-
PolicyArn: smithyClient.expectString,
|
|
1354
|
-
PolicyType: smithyClient.expectString,
|
|
1355
|
-
Status: smithyClient.expectString,
|
|
1356
|
-
VersionId: smithyClient.expectInt32,
|
|
1357
|
-
});
|
|
1358
|
-
};
|
|
1359
|
-
const deserializeMetadata = (output) => ({
|
|
1360
|
-
httpStatusCode: output.statusCode,
|
|
1361
|
-
requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
|
|
1362
|
-
extendedRequestId: output.headers["x-amz-id-2"],
|
|
1363
|
-
cfId: output.headers["x-amz-cf-id"],
|
|
1364
|
-
});
|
|
1365
|
-
const _D = "Delete";
|
|
1366
|
-
const _L = "List";
|
|
340
|
+
|
|
341
|
+
const _A = "Approvers";
|
|
342
|
+
const _ACS = "ActionCompletionStrategy";
|
|
343
|
+
const _ADE = "AccessDeniedException";
|
|
344
|
+
const _AI = "ApproverId";
|
|
345
|
+
const _AN = "ActionName";
|
|
346
|
+
const _APU = "ApprovalPortalUrl";
|
|
347
|
+
const _AR = "ApproverResponses";
|
|
348
|
+
const _AS = "ApprovalStrategy";
|
|
349
|
+
const _ASR = "ApprovalStrategyResponse";
|
|
350
|
+
const _AT = "ApprovalTeams";
|
|
351
|
+
const _ATA = "ApprovalTeamArn";
|
|
352
|
+
const _ATN = "ApprovalTeamName";
|
|
353
|
+
const _ATRA = "ApprovalTeamRequestApprover";
|
|
354
|
+
const _ATRAp = "ApprovalTeamRequestApprovers";
|
|
355
|
+
const _Ar = "Arn";
|
|
356
|
+
const _CAT = "CreateApprovalTeam";
|
|
357
|
+
const _CATR = "CreateApprovalTeamRequest";
|
|
358
|
+
const _CATRr = "CreateApprovalTeamResponse";
|
|
359
|
+
const _CE = "ConflictException";
|
|
360
|
+
const _CIS = "CreateIdentitySource";
|
|
361
|
+
const _CISR = "CreateIdentitySourceRequest";
|
|
362
|
+
const _CISRr = "CreateIdentitySourceResponse";
|
|
363
|
+
const _CS = "CancelSession";
|
|
364
|
+
const _CSR = "CancelSessionRequest";
|
|
365
|
+
const _CSRa = "CancelSessionResponse";
|
|
366
|
+
const _CT = "ClientToken";
|
|
367
|
+
const _CTo = "CompletionTime";
|
|
368
|
+
const _CTr = "CreationTime";
|
|
369
|
+
const _D = "Description";
|
|
370
|
+
const _DCT = "DeletionCompletionTime";
|
|
371
|
+
const _DIATV = "DeleteInactiveApprovalTeamVersion";
|
|
372
|
+
const _DIATVR = "DeleteInactiveApprovalTeamVersionRequest";
|
|
373
|
+
const _DIATVRe = "DeleteInactiveApprovalTeamVersionResponse";
|
|
374
|
+
const _DIS = "DeleteIdentitySource";
|
|
375
|
+
const _DISR = "DeleteIdentitySourceRequest";
|
|
376
|
+
const _DST = "DeletionStartTime";
|
|
377
|
+
const _DV = "DefaultVersion";
|
|
378
|
+
const _Do = "Document";
|
|
379
|
+
const _ES = "ExecutionStatus";
|
|
380
|
+
const _ET = "ExpirationTime";
|
|
381
|
+
const _F = "Filter";
|
|
382
|
+
const _FN = "FieldName";
|
|
383
|
+
const _Fi = "Filters";
|
|
384
|
+
const _GAT = "GetApprovalTeam";
|
|
385
|
+
const _GATR = "GetApprovalTeamRequest";
|
|
386
|
+
const _GATRA = "GetApprovalTeamResponseApprover";
|
|
387
|
+
const _GATRAe = "GetApprovalTeamResponseApprovers";
|
|
388
|
+
const _GATRe = "GetApprovalTeamResponse";
|
|
389
|
+
const _GIS = "GetIdentitySource";
|
|
390
|
+
const _GISR = "GetIdentitySourceRequest";
|
|
391
|
+
const _GISRe = "GetIdentitySourceResponse";
|
|
392
|
+
const _GPV = "GetPolicyVersion";
|
|
393
|
+
const _GPVR = "GetPolicyVersionRequest";
|
|
394
|
+
const _GPVRe = "GetPolicyVersionResponse";
|
|
395
|
+
const _GRP = "GetResourcePolicy";
|
|
396
|
+
const _GRPR = "GetResourcePolicyRequest";
|
|
397
|
+
const _GRPRe = "GetResourcePolicyResponse";
|
|
398
|
+
const _GS = "GetSession";
|
|
399
|
+
const _GSR = "GetSessionRequest";
|
|
400
|
+
const _GSRAR = "GetSessionResponseApproverResponse";
|
|
401
|
+
const _GSRARe = "GetSessionResponseApproverResponses";
|
|
402
|
+
const _GSRe = "GetSessionResponse";
|
|
403
|
+
const _IA = "InstanceArn";
|
|
404
|
+
const _ID = "IsDefault";
|
|
405
|
+
const _II = "IdentityId";
|
|
406
|
+
const _IIC = "IamIdentityCenter";
|
|
407
|
+
const _IICFG = "IamIdentityCenterForGet";
|
|
408
|
+
const _IICFL = "IamIdentityCenterForList";
|
|
409
|
+
const _IPE = "InvalidParameterException";
|
|
410
|
+
const _IS = "IdentitySources";
|
|
411
|
+
const _ISA = "IdentitySourceArn";
|
|
412
|
+
const _ISE = "InternalServerException";
|
|
413
|
+
const _ISFL = "IdentitySourceForList";
|
|
414
|
+
const _ISP = "IdentitySourceParameters";
|
|
415
|
+
const _ISPFG = "IdentitySourceParametersForGet";
|
|
416
|
+
const _ISPFL = "IdentitySourceParametersForList";
|
|
417
|
+
const _IST = "IdentitySourceType";
|
|
418
|
+
const _IT = "InitiationTime";
|
|
419
|
+
const _LAT = "ListApprovalTeams";
|
|
420
|
+
const _LATR = "ListApprovalTeamsRequest";
|
|
421
|
+
const _LATRAT = "ListApprovalTeamsResponseApprovalTeam";
|
|
422
|
+
const _LATRATi = "ListApprovalTeamsResponseApprovalTeams";
|
|
423
|
+
const _LATRi = "ListApprovalTeamsResponse";
|
|
424
|
+
const _LIS = "ListIdentitySources";
|
|
425
|
+
const _LISR = "ListIdentitySourcesRequest";
|
|
426
|
+
const _LISRi = "ListIdentitySourcesResponse";
|
|
427
|
+
const _LP = "ListPolicies";
|
|
428
|
+
const _LPR = "ListPoliciesRequest";
|
|
429
|
+
const _LPRi = "ListPoliciesResponse";
|
|
430
|
+
const _LPV = "ListPolicyVersions";
|
|
431
|
+
const _LPVR = "ListPolicyVersionsRequest";
|
|
432
|
+
const _LPVRi = "ListPolicyVersionsResponse";
|
|
433
|
+
const _LRP = "ListResourcePolicies";
|
|
434
|
+
const _LRPR = "ListResourcePoliciesRequest";
|
|
435
|
+
const _LRPRRP = "ListResourcePoliciesResponseResourcePolicy";
|
|
436
|
+
const _LRPRRPi = "ListResourcePoliciesResponseResourcePolicies";
|
|
437
|
+
const _LRPRi = "ListResourcePoliciesResponse";
|
|
438
|
+
const _LS = "ListSessions";
|
|
439
|
+
const _LSR = "ListSessionsRequest";
|
|
440
|
+
const _LSRS = "ListSessionsResponseSession";
|
|
441
|
+
const _LSRSi = "ListSessionsResponseSessions";
|
|
442
|
+
const _LSRi = "ListSessionsResponse";
|
|
443
|
+
const _LTFR = "ListTagsForResource";
|
|
444
|
+
const _LTFRR = "ListTagsForResourceRequest";
|
|
445
|
+
const _LTFRRi = "ListTagsForResourceResponse";
|
|
446
|
+
const _LUT = "LastUpdateTime";
|
|
447
|
+
const _LUTa = "LastUpdatedTime";
|
|
448
|
+
const _M = "Message";
|
|
449
|
+
const _MAR = "MinApprovalsRequired";
|
|
450
|
+
const _MN = "MofN";
|
|
451
|
+
const _MNAS = "MofNApprovalStrategy";
|
|
1367
452
|
const _MR = "MaxResults";
|
|
453
|
+
const _Me = "Metadata";
|
|
454
|
+
const _N = "Name";
|
|
455
|
+
const _NOA = "NumberOfApprovers";
|
|
1368
456
|
const _NT = "NextToken";
|
|
457
|
+
const _O = "Operator";
|
|
458
|
+
const _P = "Policies";
|
|
459
|
+
const _PA = "PolicyArn";
|
|
460
|
+
const _PD = "PolicyDocument";
|
|
461
|
+
const _PII = "PrimaryIdentityId";
|
|
462
|
+
const _PIS = "PrimaryIdentityStatus";
|
|
463
|
+
const _PISA = "PrimaryIdentitySourceArn";
|
|
464
|
+
const _PN = "PolicyName";
|
|
465
|
+
const _PR = "PolicyReference";
|
|
466
|
+
const _PRA = "ProtectedResourceArn";
|
|
467
|
+
const _PRo = "PoliciesReferences";
|
|
468
|
+
const _PT = "PolicyType";
|
|
469
|
+
const _PU = "PendingUpdate";
|
|
470
|
+
const _PV = "PolicyVersion";
|
|
471
|
+
const _PVA = "PolicyVersionArn";
|
|
472
|
+
const _PVS = "PolicyVersionSummary";
|
|
473
|
+
const _PVo = "PolicyVersions";
|
|
474
|
+
const _PWD = "PendingWindowDays";
|
|
475
|
+
const _Po = "Policy";
|
|
476
|
+
const _R = "Response";
|
|
477
|
+
const _RA = "ResourceArn";
|
|
478
|
+
const _RAI = "RequesterAccountId";
|
|
479
|
+
const _RC = "RequesterComment";
|
|
480
|
+
const _RN = "ResourceName";
|
|
481
|
+
const _RNFE = "ResourceNotFoundException";
|
|
482
|
+
const _RP = "ResourcePolicies";
|
|
483
|
+
const _RPA = "RequesterPrincipalArn";
|
|
484
|
+
const _RR = "RequesterRegion";
|
|
485
|
+
const _RSP = "RequesterServicePrincipal";
|
|
486
|
+
const _RT = "ResponseTime";
|
|
487
|
+
const _Re = "Region";
|
|
488
|
+
const _S = "Status";
|
|
489
|
+
const _SA = "SessionArn";
|
|
490
|
+
const _SAATD = "StartActiveApprovalTeamDeletion";
|
|
491
|
+
const _SAATDR = "StartActiveApprovalTeamDeletionRequest";
|
|
492
|
+
const _SAATDRt = "StartActiveApprovalTeamDeletionResponse";
|
|
493
|
+
const _SC = "StatusCode";
|
|
494
|
+
const _SK = "SessionKey";
|
|
495
|
+
const _SM = "StatusMessage";
|
|
496
|
+
const _SMe = "SessionMetadata";
|
|
497
|
+
const _SQEE = "ServiceQuotaExceededException";
|
|
498
|
+
const _SV = "SessionValue";
|
|
499
|
+
const _Se = "Sessions";
|
|
500
|
+
const _T = "Tags";
|
|
501
|
+
const _TE = "ThrottlingException";
|
|
502
|
+
const _TK = "TagKey";
|
|
503
|
+
const _TKL = "TagKeyList";
|
|
504
|
+
const _TKa = "TagKeys";
|
|
505
|
+
const _TMTE = "TooManyTagsException";
|
|
506
|
+
const _TR = "TagResource";
|
|
507
|
+
const _TRR = "TagResourceRequest";
|
|
508
|
+
const _TRRa = "TagResourceResponse";
|
|
509
|
+
const _TV = "TagValue";
|
|
510
|
+
const _UAT = "UpdateApprovalTeam";
|
|
511
|
+
const _UATR = "UpdateApprovalTeamRequest";
|
|
512
|
+
const _UATRp = "UpdateApprovalTeamResponse";
|
|
513
|
+
const _UIT = "UpdateInitiationTime";
|
|
514
|
+
const _UR = "UntagResource";
|
|
515
|
+
const _URR = "UntagResourceRequest";
|
|
516
|
+
const _URRn = "UntagResourceResponse";
|
|
517
|
+
const _USA = "UpdateSessionArn";
|
|
518
|
+
const _V = "Value";
|
|
519
|
+
const _VE = "ValidationException";
|
|
520
|
+
const _VI = "VersionId";
|
|
521
|
+
const _c = "client";
|
|
522
|
+
const _e = "error";
|
|
523
|
+
const _h = "http";
|
|
524
|
+
const _hE = "httpError";
|
|
525
|
+
const _hQ = "httpQuery";
|
|
526
|
+
const _s = "server";
|
|
527
|
+
const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.mpa";
|
|
528
|
+
const n0 = "com.amazonaws.mpa";
|
|
529
|
+
var Description = [0, n0, _D, 8, 0];
|
|
530
|
+
var PolicyDocument = [0, n0, _PD, 8, 0];
|
|
531
|
+
var RequesterComment = [0, n0, _RC, 8, 0];
|
|
532
|
+
var SessionKey = [0, n0, _SK, 8, 0];
|
|
533
|
+
var SessionValue = [0, n0, _SV, 8, 0];
|
|
534
|
+
var TagKey = [0, n0, _TK, 8, 0];
|
|
535
|
+
var TagValue = [0, n0, _TV, 8, 0];
|
|
536
|
+
var AccessDeniedException = [
|
|
537
|
+
-3,
|
|
538
|
+
n0,
|
|
539
|
+
_ADE,
|
|
540
|
+
{
|
|
541
|
+
[_e]: _c,
|
|
542
|
+
[_hE]: 403,
|
|
543
|
+
},
|
|
544
|
+
[_M],
|
|
545
|
+
[0],
|
|
546
|
+
];
|
|
547
|
+
schema.TypeRegistry.for(n0).registerError(AccessDeniedException, AccessDeniedException$1);
|
|
548
|
+
var ApprovalTeamRequestApprover = [3, n0, _ATRA, 0, [_PII, _PISA], [0, 0]];
|
|
549
|
+
var CancelSessionRequest = [3, n0, _CSR, 0, [_SA], [[0, 1]]];
|
|
550
|
+
var CancelSessionResponse = [3, n0, _CSRa, 0, [], []];
|
|
551
|
+
var ConflictException = [
|
|
552
|
+
-3,
|
|
553
|
+
n0,
|
|
554
|
+
_CE,
|
|
555
|
+
{
|
|
556
|
+
[_e]: _c,
|
|
557
|
+
[_hE]: 409,
|
|
558
|
+
},
|
|
559
|
+
[_M],
|
|
560
|
+
[0],
|
|
561
|
+
];
|
|
562
|
+
schema.TypeRegistry.for(n0).registerError(ConflictException, ConflictException$1);
|
|
563
|
+
var CreateApprovalTeamRequest = [
|
|
564
|
+
3,
|
|
565
|
+
n0,
|
|
566
|
+
_CATR,
|
|
567
|
+
0,
|
|
568
|
+
[_CT, _AS, _A, _D, _P, _N, _T],
|
|
569
|
+
[
|
|
570
|
+
[0, 4],
|
|
571
|
+
() => ApprovalStrategy,
|
|
572
|
+
() => ApprovalTeamRequestApprovers,
|
|
573
|
+
[() => Description, 0],
|
|
574
|
+
() => PoliciesReferences,
|
|
575
|
+
0,
|
|
576
|
+
[() => Tags, 0],
|
|
577
|
+
],
|
|
578
|
+
];
|
|
579
|
+
var CreateApprovalTeamResponse = [3, n0, _CATRr, 0, [_CTr, _Ar, _N, _VI], [5, 0, 0, 0]];
|
|
580
|
+
var CreateIdentitySourceRequest = [
|
|
581
|
+
3,
|
|
582
|
+
n0,
|
|
583
|
+
_CISR,
|
|
584
|
+
0,
|
|
585
|
+
[_ISP, _CT, _T],
|
|
586
|
+
[() => IdentitySourceParameters, [0, 4], [() => Tags, 0]],
|
|
587
|
+
];
|
|
588
|
+
var CreateIdentitySourceResponse = [3, n0, _CISRr, 0, [_IST, _ISA, _CTr], [0, 0, 5]];
|
|
589
|
+
var DeleteIdentitySourceRequest = [3, n0, _DISR, 0, [_ISA], [[0, 1]]];
|
|
590
|
+
var DeleteInactiveApprovalTeamVersionRequest = [
|
|
591
|
+
3,
|
|
592
|
+
n0,
|
|
593
|
+
_DIATVR,
|
|
594
|
+
0,
|
|
595
|
+
[_Ar, _VI],
|
|
596
|
+
[
|
|
597
|
+
[0, 1],
|
|
598
|
+
[0, 1],
|
|
599
|
+
],
|
|
600
|
+
];
|
|
601
|
+
var DeleteInactiveApprovalTeamVersionResponse = [3, n0, _DIATVRe, 0, [], []];
|
|
602
|
+
var Filter = [3, n0, _F, 0, [_FN, _O, _V], [0, 0, 0]];
|
|
603
|
+
var GetApprovalTeamRequest = [3, n0, _GATR, 0, [_Ar], [[0, 1]]];
|
|
604
|
+
var GetApprovalTeamResponse = [
|
|
605
|
+
3,
|
|
606
|
+
n0,
|
|
607
|
+
_GATRe,
|
|
608
|
+
0,
|
|
609
|
+
[_CTr, _AS, _NOA, _A, _Ar, _D, _N, _S, _SC, _SM, _USA, _VI, _P, _LUT, _PU],
|
|
610
|
+
[
|
|
611
|
+
5,
|
|
612
|
+
() => ApprovalStrategyResponse,
|
|
613
|
+
1,
|
|
614
|
+
() => GetApprovalTeamResponseApprovers,
|
|
615
|
+
0,
|
|
616
|
+
[() => Description, 0],
|
|
617
|
+
0,
|
|
618
|
+
0,
|
|
619
|
+
0,
|
|
620
|
+
0,
|
|
621
|
+
0,
|
|
622
|
+
0,
|
|
623
|
+
() => PoliciesReferences,
|
|
624
|
+
5,
|
|
625
|
+
() => PendingUpdate,
|
|
626
|
+
],
|
|
627
|
+
];
|
|
628
|
+
var GetApprovalTeamResponseApprover = [
|
|
629
|
+
3,
|
|
630
|
+
n0,
|
|
631
|
+
_GATRA,
|
|
632
|
+
0,
|
|
633
|
+
[_AI, _RT, _PII, _PISA, _PIS],
|
|
634
|
+
[0, 5, 0, 0, 0],
|
|
635
|
+
];
|
|
636
|
+
var GetIdentitySourceRequest = [3, n0, _GISR, 0, [_ISA], [[0, 1]]];
|
|
637
|
+
var GetIdentitySourceResponse = [
|
|
638
|
+
3,
|
|
639
|
+
n0,
|
|
640
|
+
_GISRe,
|
|
641
|
+
0,
|
|
642
|
+
[_IST, _ISP, _ISA, _CTr, _S, _SC, _SM],
|
|
643
|
+
[0, () => IdentitySourceParametersForGet, 0, 5, 0, 0, 0],
|
|
644
|
+
];
|
|
645
|
+
var GetPolicyVersionRequest = [3, n0, _GPVR, 0, [_PVA], [[0, 1]]];
|
|
646
|
+
var GetPolicyVersionResponse = [3, n0, _GPVRe, 0, [_PV], [[() => PolicyVersion, 0]]];
|
|
647
|
+
var GetResourcePolicyRequest = [3, n0, _GRPR, 0, [_RA, _PN, _PT], [0, 0, 0]];
|
|
648
|
+
var GetResourcePolicyResponse = [
|
|
649
|
+
3,
|
|
650
|
+
n0,
|
|
651
|
+
_GRPRe,
|
|
652
|
+
0,
|
|
653
|
+
[_RA, _PT, _PVA, _PN, _PD],
|
|
654
|
+
[0, 0, 0, 0, [() => PolicyDocument, 0]],
|
|
655
|
+
];
|
|
656
|
+
var GetSessionRequest = [3, n0, _GSR, 0, [_SA], [[0, 1]]];
|
|
657
|
+
var GetSessionResponse = [
|
|
658
|
+
3,
|
|
659
|
+
n0,
|
|
660
|
+
_GSRe,
|
|
661
|
+
0,
|
|
662
|
+
[
|
|
663
|
+
_SA,
|
|
664
|
+
_ATA,
|
|
665
|
+
_ATN,
|
|
666
|
+
_PRA,
|
|
667
|
+
_AS,
|
|
668
|
+
_NOA,
|
|
669
|
+
_IT,
|
|
670
|
+
_ET,
|
|
671
|
+
_CTo,
|
|
672
|
+
_D,
|
|
673
|
+
_Me,
|
|
674
|
+
_S,
|
|
675
|
+
_SC,
|
|
676
|
+
_SM,
|
|
677
|
+
_ES,
|
|
678
|
+
_AN,
|
|
679
|
+
_RSP,
|
|
680
|
+
_RPA,
|
|
681
|
+
_RAI,
|
|
682
|
+
_RR,
|
|
683
|
+
_RC,
|
|
684
|
+
_ACS,
|
|
685
|
+
_AR,
|
|
686
|
+
],
|
|
687
|
+
[
|
|
688
|
+
0,
|
|
689
|
+
0,
|
|
690
|
+
0,
|
|
691
|
+
0,
|
|
692
|
+
() => ApprovalStrategyResponse,
|
|
693
|
+
1,
|
|
694
|
+
5,
|
|
695
|
+
5,
|
|
696
|
+
5,
|
|
697
|
+
[() => Description, 0],
|
|
698
|
+
[() => SessionMetadata, 0],
|
|
699
|
+
0,
|
|
700
|
+
0,
|
|
701
|
+
0,
|
|
702
|
+
0,
|
|
703
|
+
0,
|
|
704
|
+
0,
|
|
705
|
+
0,
|
|
706
|
+
0,
|
|
707
|
+
0,
|
|
708
|
+
[() => RequesterComment, 0],
|
|
709
|
+
0,
|
|
710
|
+
() => GetSessionResponseApproverResponses,
|
|
711
|
+
],
|
|
712
|
+
];
|
|
713
|
+
var GetSessionResponseApproverResponse = [
|
|
714
|
+
3,
|
|
715
|
+
n0,
|
|
716
|
+
_GSRAR,
|
|
717
|
+
0,
|
|
718
|
+
[_AI, _ISA, _II, _R, _RT],
|
|
719
|
+
[0, 0, 0, 0, 5],
|
|
720
|
+
];
|
|
721
|
+
var IamIdentityCenter = [3, n0, _IIC, 0, [_IA, _Re], [0, 0]];
|
|
722
|
+
var IamIdentityCenterForGet = [3, n0, _IICFG, 0, [_IA, _APU, _Re], [0, 0, 0]];
|
|
723
|
+
var IamIdentityCenterForList = [3, n0, _IICFL, 0, [_IA, _APU, _Re], [0, 0, 0]];
|
|
724
|
+
var IdentitySourceForList = [
|
|
725
|
+
3,
|
|
726
|
+
n0,
|
|
727
|
+
_ISFL,
|
|
728
|
+
0,
|
|
729
|
+
[_IST, _ISP, _ISA, _CTr, _S, _SC, _SM],
|
|
730
|
+
[0, () => IdentitySourceParametersForList, 0, 5, 0, 0, 0],
|
|
731
|
+
];
|
|
732
|
+
var IdentitySourceParameters = [3, n0, _ISP, 0, [_IIC], [() => IamIdentityCenter]];
|
|
733
|
+
var InternalServerException = [
|
|
734
|
+
-3,
|
|
735
|
+
n0,
|
|
736
|
+
_ISE,
|
|
737
|
+
{
|
|
738
|
+
[_e]: _s,
|
|
739
|
+
[_hE]: 500,
|
|
740
|
+
},
|
|
741
|
+
[_M],
|
|
742
|
+
[0],
|
|
743
|
+
];
|
|
744
|
+
schema.TypeRegistry.for(n0).registerError(InternalServerException, InternalServerException$1);
|
|
745
|
+
var InvalidParameterException = [
|
|
746
|
+
-3,
|
|
747
|
+
n0,
|
|
748
|
+
_IPE,
|
|
749
|
+
{
|
|
750
|
+
[_e]: _c,
|
|
751
|
+
[_hE]: 400,
|
|
752
|
+
},
|
|
753
|
+
[_M],
|
|
754
|
+
[0],
|
|
755
|
+
];
|
|
756
|
+
schema.TypeRegistry.for(n0).registerError(InvalidParameterException, InvalidParameterException$1);
|
|
757
|
+
var ListApprovalTeamsRequest = [
|
|
758
|
+
3,
|
|
759
|
+
n0,
|
|
760
|
+
_LATR,
|
|
761
|
+
0,
|
|
762
|
+
[_MR, _NT],
|
|
763
|
+
[
|
|
764
|
+
[
|
|
765
|
+
1,
|
|
766
|
+
{
|
|
767
|
+
[_hQ]: _MR,
|
|
768
|
+
},
|
|
769
|
+
],
|
|
770
|
+
[
|
|
771
|
+
0,
|
|
772
|
+
{
|
|
773
|
+
[_hQ]: _NT,
|
|
774
|
+
},
|
|
775
|
+
],
|
|
776
|
+
],
|
|
777
|
+
];
|
|
778
|
+
var ListApprovalTeamsResponse = [
|
|
779
|
+
3,
|
|
780
|
+
n0,
|
|
781
|
+
_LATRi,
|
|
782
|
+
0,
|
|
783
|
+
[_NT, _AT],
|
|
784
|
+
[0, [() => ListApprovalTeamsResponseApprovalTeams, 0]],
|
|
785
|
+
];
|
|
786
|
+
var ListApprovalTeamsResponseApprovalTeam = [
|
|
787
|
+
3,
|
|
788
|
+
n0,
|
|
789
|
+
_LATRAT,
|
|
790
|
+
0,
|
|
791
|
+
[_CTr, _AS, _NOA, _Ar, _N, _D, _S, _SC, _SM],
|
|
792
|
+
[5, () => ApprovalStrategyResponse, 1, 0, 0, [() => Description, 0], 0, 0, 0],
|
|
793
|
+
];
|
|
794
|
+
var ListIdentitySourcesRequest = [
|
|
795
|
+
3,
|
|
796
|
+
n0,
|
|
797
|
+
_LISR,
|
|
798
|
+
0,
|
|
799
|
+
[_MR, _NT],
|
|
800
|
+
[
|
|
801
|
+
[
|
|
802
|
+
1,
|
|
803
|
+
{
|
|
804
|
+
[_hQ]: _MR,
|
|
805
|
+
},
|
|
806
|
+
],
|
|
807
|
+
[
|
|
808
|
+
0,
|
|
809
|
+
{
|
|
810
|
+
[_hQ]: _NT,
|
|
811
|
+
},
|
|
812
|
+
],
|
|
813
|
+
],
|
|
814
|
+
];
|
|
815
|
+
var ListIdentitySourcesResponse = [
|
|
816
|
+
3,
|
|
817
|
+
n0,
|
|
818
|
+
_LISRi,
|
|
819
|
+
0,
|
|
820
|
+
[_NT, _IS],
|
|
821
|
+
[0, () => IdentitySources],
|
|
822
|
+
];
|
|
823
|
+
var ListPoliciesRequest = [
|
|
824
|
+
3,
|
|
825
|
+
n0,
|
|
826
|
+
_LPR,
|
|
827
|
+
0,
|
|
828
|
+
[_MR, _NT],
|
|
829
|
+
[
|
|
830
|
+
[
|
|
831
|
+
1,
|
|
832
|
+
{
|
|
833
|
+
[_hQ]: _MR,
|
|
834
|
+
},
|
|
835
|
+
],
|
|
836
|
+
[
|
|
837
|
+
0,
|
|
838
|
+
{
|
|
839
|
+
[_hQ]: _NT,
|
|
840
|
+
},
|
|
841
|
+
],
|
|
842
|
+
],
|
|
843
|
+
];
|
|
844
|
+
var ListPoliciesResponse = [3, n0, _LPRi, 0, [_NT, _P], [0, () => Policies]];
|
|
845
|
+
var ListPolicyVersionsRequest = [
|
|
846
|
+
3,
|
|
847
|
+
n0,
|
|
848
|
+
_LPVR,
|
|
849
|
+
0,
|
|
850
|
+
[_MR, _NT, _PA],
|
|
851
|
+
[
|
|
852
|
+
[
|
|
853
|
+
1,
|
|
854
|
+
{
|
|
855
|
+
[_hQ]: _MR,
|
|
856
|
+
},
|
|
857
|
+
],
|
|
858
|
+
[
|
|
859
|
+
0,
|
|
860
|
+
{
|
|
861
|
+
[_hQ]: _NT,
|
|
862
|
+
},
|
|
863
|
+
],
|
|
864
|
+
[0, 1],
|
|
865
|
+
],
|
|
866
|
+
];
|
|
867
|
+
var ListPolicyVersionsResponse = [
|
|
868
|
+
3,
|
|
869
|
+
n0,
|
|
870
|
+
_LPVRi,
|
|
871
|
+
0,
|
|
872
|
+
[_NT, _PVo],
|
|
873
|
+
[0, () => PolicyVersions],
|
|
874
|
+
];
|
|
875
|
+
var ListResourcePoliciesRequest = [
|
|
876
|
+
3,
|
|
877
|
+
n0,
|
|
878
|
+
_LRPR,
|
|
879
|
+
0,
|
|
880
|
+
[_RA, _MR, _NT],
|
|
881
|
+
[
|
|
882
|
+
[0, 1],
|
|
883
|
+
[
|
|
884
|
+
1,
|
|
885
|
+
{
|
|
886
|
+
[_hQ]: _MR,
|
|
887
|
+
},
|
|
888
|
+
],
|
|
889
|
+
[
|
|
890
|
+
0,
|
|
891
|
+
{
|
|
892
|
+
[_hQ]: _NT,
|
|
893
|
+
},
|
|
894
|
+
],
|
|
895
|
+
],
|
|
896
|
+
];
|
|
897
|
+
var ListResourcePoliciesResponse = [
|
|
898
|
+
3,
|
|
899
|
+
n0,
|
|
900
|
+
_LRPRi,
|
|
901
|
+
0,
|
|
902
|
+
[_NT, _RP],
|
|
903
|
+
[0, () => ListResourcePoliciesResponseResourcePolicies],
|
|
904
|
+
];
|
|
905
|
+
var ListResourcePoliciesResponseResourcePolicy = [
|
|
906
|
+
3,
|
|
907
|
+
n0,
|
|
908
|
+
_LRPRRP,
|
|
909
|
+
0,
|
|
910
|
+
[_PA, _PT, _PN],
|
|
911
|
+
[0, 0, 0],
|
|
912
|
+
];
|
|
913
|
+
var ListSessionsRequest = [
|
|
914
|
+
3,
|
|
915
|
+
n0,
|
|
916
|
+
_LSR,
|
|
917
|
+
0,
|
|
918
|
+
[_ATA, _MR, _NT, _Fi],
|
|
919
|
+
[[0, 1], 1, 0, () => Filters],
|
|
920
|
+
];
|
|
921
|
+
var ListSessionsResponse = [
|
|
922
|
+
3,
|
|
923
|
+
n0,
|
|
924
|
+
_LSRi,
|
|
925
|
+
0,
|
|
926
|
+
[_NT, _Se],
|
|
927
|
+
[0, [() => ListSessionsResponseSessions, 0]],
|
|
928
|
+
];
|
|
929
|
+
var ListSessionsResponseSession = [
|
|
930
|
+
3,
|
|
931
|
+
n0,
|
|
932
|
+
_LSRS,
|
|
933
|
+
0,
|
|
934
|
+
[_SA, _ATN, _ATA, _IT, _ET, _CTo, _D, _AN, _PRA, _RSP, _RPA, _RR, _RAI, _S, _SC, _SM, _ACS],
|
|
935
|
+
[0, 0, 0, 5, 5, 5, [() => Description, 0], 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
|
|
936
|
+
];
|
|
937
|
+
var ListTagsForResourceRequest = [3, n0, _LTFRR, 0, [_RA], [[0, 1]]];
|
|
938
|
+
var ListTagsForResourceResponse = [3, n0, _LTFRRi, 0, [_T], [[() => Tags, 0]]];
|
|
939
|
+
var MofNApprovalStrategy = [3, n0, _MNAS, 0, [_MAR], [1]];
|
|
940
|
+
var PendingUpdate = [
|
|
941
|
+
3,
|
|
942
|
+
n0,
|
|
943
|
+
_PU,
|
|
944
|
+
0,
|
|
945
|
+
[_VI, _D, _AS, _NOA, _S, _SC, _SM, _A, _UIT],
|
|
946
|
+
[0, 0, () => ApprovalStrategyResponse, 1, 0, 0, 0, () => GetApprovalTeamResponseApprovers, 5],
|
|
947
|
+
];
|
|
948
|
+
var Policy = [3, n0, _Po, 0, [_Ar, _DV, _PT, _N], [0, 1, 0, 0]];
|
|
949
|
+
var PolicyReference = [3, n0, _PR, 0, [_PA], [0]];
|
|
950
|
+
var PolicyVersion = [
|
|
951
|
+
3,
|
|
952
|
+
n0,
|
|
953
|
+
_PV,
|
|
954
|
+
0,
|
|
955
|
+
[_Ar, _PA, _VI, _PT, _ID, _N, _S, _CTr, _LUTa, _Do],
|
|
956
|
+
[0, 0, 1, 0, 2, 0, 0, 5, 5, [() => PolicyDocument, 0]],
|
|
957
|
+
];
|
|
958
|
+
var PolicyVersionSummary = [
|
|
959
|
+
3,
|
|
960
|
+
n0,
|
|
961
|
+
_PVS,
|
|
962
|
+
0,
|
|
963
|
+
[_Ar, _PA, _VI, _PT, _ID, _N, _S, _CTr, _LUTa],
|
|
964
|
+
[0, 0, 1, 0, 2, 0, 0, 5, 5],
|
|
965
|
+
];
|
|
966
|
+
var ResourceNotFoundException = [
|
|
967
|
+
-3,
|
|
968
|
+
n0,
|
|
969
|
+
_RNFE,
|
|
970
|
+
{
|
|
971
|
+
[_e]: _c,
|
|
972
|
+
[_hE]: 404,
|
|
973
|
+
},
|
|
974
|
+
[_M],
|
|
975
|
+
[0],
|
|
976
|
+
];
|
|
977
|
+
schema.TypeRegistry.for(n0).registerError(ResourceNotFoundException, ResourceNotFoundException$1);
|
|
978
|
+
var ServiceQuotaExceededException = [
|
|
979
|
+
-3,
|
|
980
|
+
n0,
|
|
981
|
+
_SQEE,
|
|
982
|
+
{
|
|
983
|
+
[_e]: _c,
|
|
984
|
+
[_hE]: 402,
|
|
985
|
+
},
|
|
986
|
+
[_M],
|
|
987
|
+
[0],
|
|
988
|
+
];
|
|
989
|
+
schema.TypeRegistry.for(n0).registerError(ServiceQuotaExceededException, ServiceQuotaExceededException$1);
|
|
990
|
+
var StartActiveApprovalTeamDeletionRequest = [
|
|
991
|
+
3,
|
|
992
|
+
n0,
|
|
993
|
+
_SAATDR,
|
|
994
|
+
0,
|
|
995
|
+
[_PWD, _Ar],
|
|
996
|
+
[1, [0, 1]],
|
|
997
|
+
];
|
|
998
|
+
var StartActiveApprovalTeamDeletionResponse = [3, n0, _SAATDRt, 0, [_DCT, _DST], [5, 5]];
|
|
999
|
+
var TagResourceRequest = [
|
|
1000
|
+
3,
|
|
1001
|
+
n0,
|
|
1002
|
+
_TRR,
|
|
1003
|
+
0,
|
|
1004
|
+
[_RA, _T],
|
|
1005
|
+
[
|
|
1006
|
+
[0, 1],
|
|
1007
|
+
[() => Tags, 0],
|
|
1008
|
+
],
|
|
1009
|
+
];
|
|
1010
|
+
var TagResourceResponse = [3, n0, _TRRa, 0, [], []];
|
|
1011
|
+
var ThrottlingException = [
|
|
1012
|
+
-3,
|
|
1013
|
+
n0,
|
|
1014
|
+
_TE,
|
|
1015
|
+
{
|
|
1016
|
+
[_e]: _c,
|
|
1017
|
+
[_hE]: 429,
|
|
1018
|
+
},
|
|
1019
|
+
[_M],
|
|
1020
|
+
[0],
|
|
1021
|
+
];
|
|
1022
|
+
schema.TypeRegistry.for(n0).registerError(ThrottlingException, ThrottlingException$1);
|
|
1023
|
+
var TooManyTagsException = [
|
|
1024
|
+
-3,
|
|
1025
|
+
n0,
|
|
1026
|
+
_TMTE,
|
|
1027
|
+
{
|
|
1028
|
+
[_e]: _c,
|
|
1029
|
+
[_hE]: 400,
|
|
1030
|
+
},
|
|
1031
|
+
[_M, _RN],
|
|
1032
|
+
[0, 0],
|
|
1033
|
+
];
|
|
1034
|
+
schema.TypeRegistry.for(n0).registerError(TooManyTagsException, TooManyTagsException$1);
|
|
1035
|
+
var UntagResourceRequest = [
|
|
1036
|
+
3,
|
|
1037
|
+
n0,
|
|
1038
|
+
_URR,
|
|
1039
|
+
0,
|
|
1040
|
+
[_RA, _TKa],
|
|
1041
|
+
[
|
|
1042
|
+
[0, 1],
|
|
1043
|
+
[() => TagKeyList, 0],
|
|
1044
|
+
],
|
|
1045
|
+
];
|
|
1046
|
+
var UntagResourceResponse = [3, n0, _URRn, 0, [], []];
|
|
1047
|
+
var UpdateApprovalTeamRequest = [
|
|
1048
|
+
3,
|
|
1049
|
+
n0,
|
|
1050
|
+
_UATR,
|
|
1051
|
+
0,
|
|
1052
|
+
[_AS, _A, _D, _Ar],
|
|
1053
|
+
[() => ApprovalStrategy, () => ApprovalTeamRequestApprovers, [() => Description, 0], [0, 1]],
|
|
1054
|
+
];
|
|
1055
|
+
var UpdateApprovalTeamResponse = [3, n0, _UATRp, 0, [_VI], [0]];
|
|
1056
|
+
var ValidationException = [
|
|
1057
|
+
-3,
|
|
1058
|
+
n0,
|
|
1059
|
+
_VE,
|
|
1060
|
+
{
|
|
1061
|
+
[_e]: _c,
|
|
1062
|
+
[_hE]: 400,
|
|
1063
|
+
},
|
|
1064
|
+
[_M],
|
|
1065
|
+
[0],
|
|
1066
|
+
];
|
|
1067
|
+
schema.TypeRegistry.for(n0).registerError(ValidationException, ValidationException$1);
|
|
1068
|
+
var __Unit = "unit";
|
|
1069
|
+
var MPAServiceException = [-3, _sm, "MPAServiceException", 0, [], []];
|
|
1070
|
+
schema.TypeRegistry.for(_sm).registerError(MPAServiceException, MPAServiceException$1);
|
|
1071
|
+
var ApprovalTeamRequestApprovers = [1, n0, _ATRAp, 0, () => ApprovalTeamRequestApprover];
|
|
1072
|
+
var Filters = [1, n0, _Fi, 0, () => Filter];
|
|
1073
|
+
var GetApprovalTeamResponseApprovers = [
|
|
1074
|
+
1,
|
|
1075
|
+
n0,
|
|
1076
|
+
_GATRAe,
|
|
1077
|
+
0,
|
|
1078
|
+
() => GetApprovalTeamResponseApprover,
|
|
1079
|
+
];
|
|
1080
|
+
var GetSessionResponseApproverResponses = [
|
|
1081
|
+
1,
|
|
1082
|
+
n0,
|
|
1083
|
+
_GSRARe,
|
|
1084
|
+
0,
|
|
1085
|
+
() => GetSessionResponseApproverResponse,
|
|
1086
|
+
];
|
|
1087
|
+
var IdentitySources = [1, n0, _IS, 0, () => IdentitySourceForList];
|
|
1088
|
+
var ListApprovalTeamsResponseApprovalTeams = [
|
|
1089
|
+
1,
|
|
1090
|
+
n0,
|
|
1091
|
+
_LATRATi,
|
|
1092
|
+
0,
|
|
1093
|
+
[() => ListApprovalTeamsResponseApprovalTeam, 0],
|
|
1094
|
+
];
|
|
1095
|
+
var ListResourcePoliciesResponseResourcePolicies = [
|
|
1096
|
+
1,
|
|
1097
|
+
n0,
|
|
1098
|
+
_LRPRRPi,
|
|
1099
|
+
0,
|
|
1100
|
+
() => ListResourcePoliciesResponseResourcePolicy,
|
|
1101
|
+
];
|
|
1102
|
+
var ListSessionsResponseSessions = [1, n0, _LSRSi, 0, [() => ListSessionsResponseSession, 0]];
|
|
1103
|
+
var Policies = [1, n0, _P, 0, () => Policy];
|
|
1104
|
+
var PoliciesReferences = [1, n0, _PRo, 0, () => PolicyReference];
|
|
1105
|
+
var PolicyVersions = [1, n0, _PVo, 0, () => PolicyVersionSummary];
|
|
1106
|
+
var TagKeyList = [1, n0, _TKL, 8, [() => TagKey, 0]];
|
|
1107
|
+
var SessionMetadata = [2, n0, _SMe, 8, [() => SessionKey, 0], [() => SessionValue, 0]];
|
|
1108
|
+
var Tags = [2, n0, _T, 8, [() => TagKey, 0], [() => TagValue, 0]];
|
|
1109
|
+
var ApprovalStrategy = [3, n0, _AS, 0, [_MN], [() => MofNApprovalStrategy]];
|
|
1110
|
+
var ApprovalStrategyResponse = [3, n0, _ASR, 0, [_MN], [() => MofNApprovalStrategy]];
|
|
1111
|
+
var IdentitySourceParametersForGet = [
|
|
1112
|
+
3,
|
|
1113
|
+
n0,
|
|
1114
|
+
_ISPFG,
|
|
1115
|
+
0,
|
|
1116
|
+
[_IIC],
|
|
1117
|
+
[() => IamIdentityCenterForGet],
|
|
1118
|
+
];
|
|
1119
|
+
var IdentitySourceParametersForList = [
|
|
1120
|
+
3,
|
|
1121
|
+
n0,
|
|
1122
|
+
_ISPFL,
|
|
1123
|
+
0,
|
|
1124
|
+
[_IIC],
|
|
1125
|
+
[() => IamIdentityCenterForList],
|
|
1126
|
+
];
|
|
1127
|
+
var CancelSession = [
|
|
1128
|
+
9,
|
|
1129
|
+
n0,
|
|
1130
|
+
_CS,
|
|
1131
|
+
{
|
|
1132
|
+
[_h]: ["PUT", "/sessions/{SessionArn}", 200],
|
|
1133
|
+
},
|
|
1134
|
+
() => CancelSessionRequest,
|
|
1135
|
+
() => CancelSessionResponse,
|
|
1136
|
+
];
|
|
1137
|
+
var CreateApprovalTeam = [
|
|
1138
|
+
9,
|
|
1139
|
+
n0,
|
|
1140
|
+
_CAT,
|
|
1141
|
+
{
|
|
1142
|
+
[_h]: ["POST", "/approval-teams", 200],
|
|
1143
|
+
},
|
|
1144
|
+
() => CreateApprovalTeamRequest,
|
|
1145
|
+
() => CreateApprovalTeamResponse,
|
|
1146
|
+
];
|
|
1147
|
+
var CreateIdentitySource = [
|
|
1148
|
+
9,
|
|
1149
|
+
n0,
|
|
1150
|
+
_CIS,
|
|
1151
|
+
{
|
|
1152
|
+
[_h]: ["POST", "/identity-sources", 200],
|
|
1153
|
+
},
|
|
1154
|
+
() => CreateIdentitySourceRequest,
|
|
1155
|
+
() => CreateIdentitySourceResponse,
|
|
1156
|
+
];
|
|
1157
|
+
var DeleteIdentitySource = [
|
|
1158
|
+
9,
|
|
1159
|
+
n0,
|
|
1160
|
+
_DIS,
|
|
1161
|
+
{
|
|
1162
|
+
[_h]: ["DELETE", "/identity-sources/{IdentitySourceArn}", 200],
|
|
1163
|
+
},
|
|
1164
|
+
() => DeleteIdentitySourceRequest,
|
|
1165
|
+
() => __Unit,
|
|
1166
|
+
];
|
|
1167
|
+
var DeleteInactiveApprovalTeamVersion = [
|
|
1168
|
+
9,
|
|
1169
|
+
n0,
|
|
1170
|
+
_DIATV,
|
|
1171
|
+
{
|
|
1172
|
+
[_h]: ["DELETE", "/approval-teams/{Arn}/{VersionId}", 200],
|
|
1173
|
+
},
|
|
1174
|
+
() => DeleteInactiveApprovalTeamVersionRequest,
|
|
1175
|
+
() => DeleteInactiveApprovalTeamVersionResponse,
|
|
1176
|
+
];
|
|
1177
|
+
var GetApprovalTeam = [
|
|
1178
|
+
9,
|
|
1179
|
+
n0,
|
|
1180
|
+
_GAT,
|
|
1181
|
+
{
|
|
1182
|
+
[_h]: ["GET", "/approval-teams/{Arn}", 200],
|
|
1183
|
+
},
|
|
1184
|
+
() => GetApprovalTeamRequest,
|
|
1185
|
+
() => GetApprovalTeamResponse,
|
|
1186
|
+
];
|
|
1187
|
+
var GetIdentitySource = [
|
|
1188
|
+
9,
|
|
1189
|
+
n0,
|
|
1190
|
+
_GIS,
|
|
1191
|
+
{
|
|
1192
|
+
[_h]: ["GET", "/identity-sources/{IdentitySourceArn}", 200],
|
|
1193
|
+
},
|
|
1194
|
+
() => GetIdentitySourceRequest,
|
|
1195
|
+
() => GetIdentitySourceResponse,
|
|
1196
|
+
];
|
|
1197
|
+
var GetPolicyVersion = [
|
|
1198
|
+
9,
|
|
1199
|
+
n0,
|
|
1200
|
+
_GPV,
|
|
1201
|
+
{
|
|
1202
|
+
[_h]: ["GET", "/policy-versions/{PolicyVersionArn}", 200],
|
|
1203
|
+
},
|
|
1204
|
+
() => GetPolicyVersionRequest,
|
|
1205
|
+
() => GetPolicyVersionResponse,
|
|
1206
|
+
];
|
|
1207
|
+
var GetResourcePolicy = [
|
|
1208
|
+
9,
|
|
1209
|
+
n0,
|
|
1210
|
+
_GRP,
|
|
1211
|
+
{
|
|
1212
|
+
[_h]: ["POST", "/GetResourcePolicy", 200],
|
|
1213
|
+
},
|
|
1214
|
+
() => GetResourcePolicyRequest,
|
|
1215
|
+
() => GetResourcePolicyResponse,
|
|
1216
|
+
];
|
|
1217
|
+
var GetSession = [
|
|
1218
|
+
9,
|
|
1219
|
+
n0,
|
|
1220
|
+
_GS,
|
|
1221
|
+
{
|
|
1222
|
+
[_h]: ["GET", "/sessions/{SessionArn}", 200],
|
|
1223
|
+
},
|
|
1224
|
+
() => GetSessionRequest,
|
|
1225
|
+
() => GetSessionResponse,
|
|
1226
|
+
];
|
|
1227
|
+
var ListApprovalTeams = [
|
|
1228
|
+
9,
|
|
1229
|
+
n0,
|
|
1230
|
+
_LAT,
|
|
1231
|
+
{
|
|
1232
|
+
[_h]: ["POST", "/approval-teams/?List", 200],
|
|
1233
|
+
},
|
|
1234
|
+
() => ListApprovalTeamsRequest,
|
|
1235
|
+
() => ListApprovalTeamsResponse,
|
|
1236
|
+
];
|
|
1237
|
+
var ListIdentitySources = [
|
|
1238
|
+
9,
|
|
1239
|
+
n0,
|
|
1240
|
+
_LIS,
|
|
1241
|
+
{
|
|
1242
|
+
[_h]: ["POST", "/identity-sources/?List", 200],
|
|
1243
|
+
},
|
|
1244
|
+
() => ListIdentitySourcesRequest,
|
|
1245
|
+
() => ListIdentitySourcesResponse,
|
|
1246
|
+
];
|
|
1247
|
+
var ListPolicies = [
|
|
1248
|
+
9,
|
|
1249
|
+
n0,
|
|
1250
|
+
_LP,
|
|
1251
|
+
{
|
|
1252
|
+
[_h]: ["POST", "/policies/?List", 200],
|
|
1253
|
+
},
|
|
1254
|
+
() => ListPoliciesRequest,
|
|
1255
|
+
() => ListPoliciesResponse,
|
|
1256
|
+
];
|
|
1257
|
+
var ListPolicyVersions = [
|
|
1258
|
+
9,
|
|
1259
|
+
n0,
|
|
1260
|
+
_LPV,
|
|
1261
|
+
{
|
|
1262
|
+
[_h]: ["POST", "/policies/{PolicyArn}/?List", 200],
|
|
1263
|
+
},
|
|
1264
|
+
() => ListPolicyVersionsRequest,
|
|
1265
|
+
() => ListPolicyVersionsResponse,
|
|
1266
|
+
];
|
|
1267
|
+
var ListResourcePolicies = [
|
|
1268
|
+
9,
|
|
1269
|
+
n0,
|
|
1270
|
+
_LRP,
|
|
1271
|
+
{
|
|
1272
|
+
[_h]: ["POST", "/resource-policies/{ResourceArn}/?List", 200],
|
|
1273
|
+
},
|
|
1274
|
+
() => ListResourcePoliciesRequest,
|
|
1275
|
+
() => ListResourcePoliciesResponse,
|
|
1276
|
+
];
|
|
1277
|
+
var ListSessions = [
|
|
1278
|
+
9,
|
|
1279
|
+
n0,
|
|
1280
|
+
_LS,
|
|
1281
|
+
{
|
|
1282
|
+
[_h]: ["POST", "/approval-teams/{ApprovalTeamArn}/sessions/?List", 200],
|
|
1283
|
+
},
|
|
1284
|
+
() => ListSessionsRequest,
|
|
1285
|
+
() => ListSessionsResponse,
|
|
1286
|
+
];
|
|
1287
|
+
var ListTagsForResource = [
|
|
1288
|
+
9,
|
|
1289
|
+
n0,
|
|
1290
|
+
_LTFR,
|
|
1291
|
+
{
|
|
1292
|
+
[_h]: ["GET", "/tags/{ResourceArn}", 200],
|
|
1293
|
+
},
|
|
1294
|
+
() => ListTagsForResourceRequest,
|
|
1295
|
+
() => ListTagsForResourceResponse,
|
|
1296
|
+
];
|
|
1297
|
+
var StartActiveApprovalTeamDeletion = [
|
|
1298
|
+
9,
|
|
1299
|
+
n0,
|
|
1300
|
+
_SAATD,
|
|
1301
|
+
{
|
|
1302
|
+
[_h]: ["POST", "/approval-teams/{Arn}?Delete", 200],
|
|
1303
|
+
},
|
|
1304
|
+
() => StartActiveApprovalTeamDeletionRequest,
|
|
1305
|
+
() => StartActiveApprovalTeamDeletionResponse,
|
|
1306
|
+
];
|
|
1307
|
+
var TagResource = [
|
|
1308
|
+
9,
|
|
1309
|
+
n0,
|
|
1310
|
+
_TR,
|
|
1311
|
+
{
|
|
1312
|
+
[_h]: ["PUT", "/tags/{ResourceArn}", 200],
|
|
1313
|
+
},
|
|
1314
|
+
() => TagResourceRequest,
|
|
1315
|
+
() => TagResourceResponse,
|
|
1316
|
+
];
|
|
1317
|
+
var UntagResource = [
|
|
1318
|
+
9,
|
|
1319
|
+
n0,
|
|
1320
|
+
_UR,
|
|
1321
|
+
{
|
|
1322
|
+
[_h]: ["POST", "/tags/{ResourceArn}", 200],
|
|
1323
|
+
},
|
|
1324
|
+
() => UntagResourceRequest,
|
|
1325
|
+
() => UntagResourceResponse,
|
|
1326
|
+
];
|
|
1327
|
+
var UpdateApprovalTeam = [
|
|
1328
|
+
9,
|
|
1329
|
+
n0,
|
|
1330
|
+
_UAT,
|
|
1331
|
+
{
|
|
1332
|
+
[_h]: ["PATCH", "/approval-teams/{Arn}", 200],
|
|
1333
|
+
},
|
|
1334
|
+
() => UpdateApprovalTeamRequest,
|
|
1335
|
+
() => UpdateApprovalTeamResponse,
|
|
1336
|
+
];
|
|
1369
1337
|
|
|
1370
1338
|
class CancelSessionCommand extends smithyClient.Command
|
|
1371
1339
|
.classBuilder()
|
|
1372
1340
|
.ep(commonParams)
|
|
1373
1341
|
.m(function (Command, cs, config, o) {
|
|
1374
|
-
return [
|
|
1375
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1376
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1377
|
-
];
|
|
1342
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1378
1343
|
})
|
|
1379
1344
|
.s("AWSFluffyCoreService", "CancelSession", {})
|
|
1380
1345
|
.n("MPAClient", "CancelSessionCommand")
|
|
1381
|
-
.
|
|
1382
|
-
.ser(se_CancelSessionCommand)
|
|
1383
|
-
.de(de_CancelSessionCommand)
|
|
1346
|
+
.sc(CancelSession)
|
|
1384
1347
|
.build() {
|
|
1385
1348
|
}
|
|
1386
1349
|
|
|
@@ -1388,16 +1351,11 @@ class CreateApprovalTeamCommand extends smithyClient.Command
|
|
|
1388
1351
|
.classBuilder()
|
|
1389
1352
|
.ep(commonParams)
|
|
1390
1353
|
.m(function (Command, cs, config, o) {
|
|
1391
|
-
return [
|
|
1392
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1393
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1394
|
-
];
|
|
1354
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1395
1355
|
})
|
|
1396
1356
|
.s("AWSFluffyCoreService", "CreateApprovalTeam", {})
|
|
1397
1357
|
.n("MPAClient", "CreateApprovalTeamCommand")
|
|
1398
|
-
.
|
|
1399
|
-
.ser(se_CreateApprovalTeamCommand)
|
|
1400
|
-
.de(de_CreateApprovalTeamCommand)
|
|
1358
|
+
.sc(CreateApprovalTeam)
|
|
1401
1359
|
.build() {
|
|
1402
1360
|
}
|
|
1403
1361
|
|
|
@@ -1405,16 +1363,11 @@ class CreateIdentitySourceCommand extends smithyClient.Command
|
|
|
1405
1363
|
.classBuilder()
|
|
1406
1364
|
.ep(commonParams)
|
|
1407
1365
|
.m(function (Command, cs, config, o) {
|
|
1408
|
-
return [
|
|
1409
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1410
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1411
|
-
];
|
|
1366
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1412
1367
|
})
|
|
1413
1368
|
.s("AWSFluffyCoreService", "CreateIdentitySource", {})
|
|
1414
1369
|
.n("MPAClient", "CreateIdentitySourceCommand")
|
|
1415
|
-
.
|
|
1416
|
-
.ser(se_CreateIdentitySourceCommand)
|
|
1417
|
-
.de(de_CreateIdentitySourceCommand)
|
|
1370
|
+
.sc(CreateIdentitySource)
|
|
1418
1371
|
.build() {
|
|
1419
1372
|
}
|
|
1420
1373
|
|
|
@@ -1422,16 +1375,11 @@ class DeleteIdentitySourceCommand extends smithyClient.Command
|
|
|
1422
1375
|
.classBuilder()
|
|
1423
1376
|
.ep(commonParams)
|
|
1424
1377
|
.m(function (Command, cs, config, o) {
|
|
1425
|
-
return [
|
|
1426
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1427
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1428
|
-
];
|
|
1378
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1429
1379
|
})
|
|
1430
1380
|
.s("AWSFluffyCoreService", "DeleteIdentitySource", {})
|
|
1431
1381
|
.n("MPAClient", "DeleteIdentitySourceCommand")
|
|
1432
|
-
.
|
|
1433
|
-
.ser(se_DeleteIdentitySourceCommand)
|
|
1434
|
-
.de(de_DeleteIdentitySourceCommand)
|
|
1382
|
+
.sc(DeleteIdentitySource)
|
|
1435
1383
|
.build() {
|
|
1436
1384
|
}
|
|
1437
1385
|
|
|
@@ -1439,16 +1387,11 @@ class DeleteInactiveApprovalTeamVersionCommand extends smithyClient.Command
|
|
|
1439
1387
|
.classBuilder()
|
|
1440
1388
|
.ep(commonParams)
|
|
1441
1389
|
.m(function (Command, cs, config, o) {
|
|
1442
|
-
return [
|
|
1443
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1444
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1445
|
-
];
|
|
1390
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1446
1391
|
})
|
|
1447
1392
|
.s("AWSFluffyCoreService", "DeleteInactiveApprovalTeamVersion", {})
|
|
1448
1393
|
.n("MPAClient", "DeleteInactiveApprovalTeamVersionCommand")
|
|
1449
|
-
.
|
|
1450
|
-
.ser(se_DeleteInactiveApprovalTeamVersionCommand)
|
|
1451
|
-
.de(de_DeleteInactiveApprovalTeamVersionCommand)
|
|
1394
|
+
.sc(DeleteInactiveApprovalTeamVersion)
|
|
1452
1395
|
.build() {
|
|
1453
1396
|
}
|
|
1454
1397
|
|
|
@@ -1456,16 +1399,11 @@ class GetApprovalTeamCommand extends smithyClient.Command
|
|
|
1456
1399
|
.classBuilder()
|
|
1457
1400
|
.ep(commonParams)
|
|
1458
1401
|
.m(function (Command, cs, config, o) {
|
|
1459
|
-
return [
|
|
1460
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1461
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1462
|
-
];
|
|
1402
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1463
1403
|
})
|
|
1464
1404
|
.s("AWSFluffyCoreService", "GetApprovalTeam", {})
|
|
1465
1405
|
.n("MPAClient", "GetApprovalTeamCommand")
|
|
1466
|
-
.
|
|
1467
|
-
.ser(se_GetApprovalTeamCommand)
|
|
1468
|
-
.de(de_GetApprovalTeamCommand)
|
|
1406
|
+
.sc(GetApprovalTeam)
|
|
1469
1407
|
.build() {
|
|
1470
1408
|
}
|
|
1471
1409
|
|
|
@@ -1473,16 +1411,11 @@ class GetIdentitySourceCommand extends smithyClient.Command
|
|
|
1473
1411
|
.classBuilder()
|
|
1474
1412
|
.ep(commonParams)
|
|
1475
1413
|
.m(function (Command, cs, config, o) {
|
|
1476
|
-
return [
|
|
1477
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1478
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1479
|
-
];
|
|
1414
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1480
1415
|
})
|
|
1481
1416
|
.s("AWSFluffyCoreService", "GetIdentitySource", {})
|
|
1482
1417
|
.n("MPAClient", "GetIdentitySourceCommand")
|
|
1483
|
-
.
|
|
1484
|
-
.ser(se_GetIdentitySourceCommand)
|
|
1485
|
-
.de(de_GetIdentitySourceCommand)
|
|
1418
|
+
.sc(GetIdentitySource)
|
|
1486
1419
|
.build() {
|
|
1487
1420
|
}
|
|
1488
1421
|
|
|
@@ -1490,16 +1423,11 @@ class GetPolicyVersionCommand extends smithyClient.Command
|
|
|
1490
1423
|
.classBuilder()
|
|
1491
1424
|
.ep(commonParams)
|
|
1492
1425
|
.m(function (Command, cs, config, o) {
|
|
1493
|
-
return [
|
|
1494
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1495
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1496
|
-
];
|
|
1426
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1497
1427
|
})
|
|
1498
1428
|
.s("AWSFluffyCoreService", "GetPolicyVersion", {})
|
|
1499
1429
|
.n("MPAClient", "GetPolicyVersionCommand")
|
|
1500
|
-
.
|
|
1501
|
-
.ser(se_GetPolicyVersionCommand)
|
|
1502
|
-
.de(de_GetPolicyVersionCommand)
|
|
1430
|
+
.sc(GetPolicyVersion)
|
|
1503
1431
|
.build() {
|
|
1504
1432
|
}
|
|
1505
1433
|
|
|
@@ -1507,16 +1435,11 @@ class GetResourcePolicyCommand extends smithyClient.Command
|
|
|
1507
1435
|
.classBuilder()
|
|
1508
1436
|
.ep(commonParams)
|
|
1509
1437
|
.m(function (Command, cs, config, o) {
|
|
1510
|
-
return [
|
|
1511
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1512
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1513
|
-
];
|
|
1438
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1514
1439
|
})
|
|
1515
1440
|
.s("AWSFluffyCoreService", "GetResourcePolicy", {})
|
|
1516
1441
|
.n("MPAClient", "GetResourcePolicyCommand")
|
|
1517
|
-
.
|
|
1518
|
-
.ser(se_GetResourcePolicyCommand)
|
|
1519
|
-
.de(de_GetResourcePolicyCommand)
|
|
1442
|
+
.sc(GetResourcePolicy)
|
|
1520
1443
|
.build() {
|
|
1521
1444
|
}
|
|
1522
1445
|
|
|
@@ -1524,16 +1447,11 @@ class GetSessionCommand extends smithyClient.Command
|
|
|
1524
1447
|
.classBuilder()
|
|
1525
1448
|
.ep(commonParams)
|
|
1526
1449
|
.m(function (Command, cs, config, o) {
|
|
1527
|
-
return [
|
|
1528
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1529
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1530
|
-
];
|
|
1450
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1531
1451
|
})
|
|
1532
1452
|
.s("AWSFluffyCoreService", "GetSession", {})
|
|
1533
1453
|
.n("MPAClient", "GetSessionCommand")
|
|
1534
|
-
.
|
|
1535
|
-
.ser(se_GetSessionCommand)
|
|
1536
|
-
.de(de_GetSessionCommand)
|
|
1454
|
+
.sc(GetSession)
|
|
1537
1455
|
.build() {
|
|
1538
1456
|
}
|
|
1539
1457
|
|
|
@@ -1541,16 +1459,11 @@ class ListApprovalTeamsCommand extends smithyClient.Command
|
|
|
1541
1459
|
.classBuilder()
|
|
1542
1460
|
.ep(commonParams)
|
|
1543
1461
|
.m(function (Command, cs, config, o) {
|
|
1544
|
-
return [
|
|
1545
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1546
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1547
|
-
];
|
|
1462
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1548
1463
|
})
|
|
1549
1464
|
.s("AWSFluffyCoreService", "ListApprovalTeams", {})
|
|
1550
1465
|
.n("MPAClient", "ListApprovalTeamsCommand")
|
|
1551
|
-
.
|
|
1552
|
-
.ser(se_ListApprovalTeamsCommand)
|
|
1553
|
-
.de(de_ListApprovalTeamsCommand)
|
|
1466
|
+
.sc(ListApprovalTeams)
|
|
1554
1467
|
.build() {
|
|
1555
1468
|
}
|
|
1556
1469
|
|
|
@@ -1558,16 +1471,11 @@ class ListIdentitySourcesCommand extends smithyClient.Command
|
|
|
1558
1471
|
.classBuilder()
|
|
1559
1472
|
.ep(commonParams)
|
|
1560
1473
|
.m(function (Command, cs, config, o) {
|
|
1561
|
-
return [
|
|
1562
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1563
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1564
|
-
];
|
|
1474
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1565
1475
|
})
|
|
1566
1476
|
.s("AWSFluffyCoreService", "ListIdentitySources", {})
|
|
1567
1477
|
.n("MPAClient", "ListIdentitySourcesCommand")
|
|
1568
|
-
.
|
|
1569
|
-
.ser(se_ListIdentitySourcesCommand)
|
|
1570
|
-
.de(de_ListIdentitySourcesCommand)
|
|
1478
|
+
.sc(ListIdentitySources)
|
|
1571
1479
|
.build() {
|
|
1572
1480
|
}
|
|
1573
1481
|
|
|
@@ -1575,16 +1483,11 @@ class ListPoliciesCommand extends smithyClient.Command
|
|
|
1575
1483
|
.classBuilder()
|
|
1576
1484
|
.ep(commonParams)
|
|
1577
1485
|
.m(function (Command, cs, config, o) {
|
|
1578
|
-
return [
|
|
1579
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1580
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1581
|
-
];
|
|
1486
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1582
1487
|
})
|
|
1583
1488
|
.s("AWSFluffyCoreService", "ListPolicies", {})
|
|
1584
1489
|
.n("MPAClient", "ListPoliciesCommand")
|
|
1585
|
-
.
|
|
1586
|
-
.ser(se_ListPoliciesCommand)
|
|
1587
|
-
.de(de_ListPoliciesCommand)
|
|
1490
|
+
.sc(ListPolicies)
|
|
1588
1491
|
.build() {
|
|
1589
1492
|
}
|
|
1590
1493
|
|
|
@@ -1592,16 +1495,11 @@ class ListPolicyVersionsCommand extends smithyClient.Command
|
|
|
1592
1495
|
.classBuilder()
|
|
1593
1496
|
.ep(commonParams)
|
|
1594
1497
|
.m(function (Command, cs, config, o) {
|
|
1595
|
-
return [
|
|
1596
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1597
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1598
|
-
];
|
|
1498
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1599
1499
|
})
|
|
1600
1500
|
.s("AWSFluffyCoreService", "ListPolicyVersions", {})
|
|
1601
1501
|
.n("MPAClient", "ListPolicyVersionsCommand")
|
|
1602
|
-
.
|
|
1603
|
-
.ser(se_ListPolicyVersionsCommand)
|
|
1604
|
-
.de(de_ListPolicyVersionsCommand)
|
|
1502
|
+
.sc(ListPolicyVersions)
|
|
1605
1503
|
.build() {
|
|
1606
1504
|
}
|
|
1607
1505
|
|
|
@@ -1609,16 +1507,11 @@ class ListResourcePoliciesCommand extends smithyClient.Command
|
|
|
1609
1507
|
.classBuilder()
|
|
1610
1508
|
.ep(commonParams)
|
|
1611
1509
|
.m(function (Command, cs, config, o) {
|
|
1612
|
-
return [
|
|
1613
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1614
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1615
|
-
];
|
|
1510
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1616
1511
|
})
|
|
1617
1512
|
.s("AWSFluffyCoreService", "ListResourcePolicies", {})
|
|
1618
1513
|
.n("MPAClient", "ListResourcePoliciesCommand")
|
|
1619
|
-
.
|
|
1620
|
-
.ser(se_ListResourcePoliciesCommand)
|
|
1621
|
-
.de(de_ListResourcePoliciesCommand)
|
|
1514
|
+
.sc(ListResourcePolicies)
|
|
1622
1515
|
.build() {
|
|
1623
1516
|
}
|
|
1624
1517
|
|
|
@@ -1626,16 +1519,11 @@ class ListSessionsCommand extends smithyClient.Command
|
|
|
1626
1519
|
.classBuilder()
|
|
1627
1520
|
.ep(commonParams)
|
|
1628
1521
|
.m(function (Command, cs, config, o) {
|
|
1629
|
-
return [
|
|
1630
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1631
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1632
|
-
];
|
|
1522
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1633
1523
|
})
|
|
1634
1524
|
.s("AWSFluffyCoreService", "ListSessions", {})
|
|
1635
1525
|
.n("MPAClient", "ListSessionsCommand")
|
|
1636
|
-
.
|
|
1637
|
-
.ser(se_ListSessionsCommand)
|
|
1638
|
-
.de(de_ListSessionsCommand)
|
|
1526
|
+
.sc(ListSessions)
|
|
1639
1527
|
.build() {
|
|
1640
1528
|
}
|
|
1641
1529
|
|
|
@@ -1643,16 +1531,11 @@ class ListTagsForResourceCommand extends smithyClient.Command
|
|
|
1643
1531
|
.classBuilder()
|
|
1644
1532
|
.ep(commonParams)
|
|
1645
1533
|
.m(function (Command, cs, config, o) {
|
|
1646
|
-
return [
|
|
1647
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1648
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1649
|
-
];
|
|
1534
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1650
1535
|
})
|
|
1651
1536
|
.s("AWSFluffyCoreService", "ListTagsForResource", {})
|
|
1652
1537
|
.n("MPAClient", "ListTagsForResourceCommand")
|
|
1653
|
-
.
|
|
1654
|
-
.ser(se_ListTagsForResourceCommand)
|
|
1655
|
-
.de(de_ListTagsForResourceCommand)
|
|
1538
|
+
.sc(ListTagsForResource)
|
|
1656
1539
|
.build() {
|
|
1657
1540
|
}
|
|
1658
1541
|
|
|
@@ -1660,16 +1543,11 @@ class StartActiveApprovalTeamDeletionCommand extends smithyClient.Command
|
|
|
1660
1543
|
.classBuilder()
|
|
1661
1544
|
.ep(commonParams)
|
|
1662
1545
|
.m(function (Command, cs, config, o) {
|
|
1663
|
-
return [
|
|
1664
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1665
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1666
|
-
];
|
|
1546
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1667
1547
|
})
|
|
1668
1548
|
.s("AWSFluffyCoreService", "StartActiveApprovalTeamDeletion", {})
|
|
1669
1549
|
.n("MPAClient", "StartActiveApprovalTeamDeletionCommand")
|
|
1670
|
-
.
|
|
1671
|
-
.ser(se_StartActiveApprovalTeamDeletionCommand)
|
|
1672
|
-
.de(de_StartActiveApprovalTeamDeletionCommand)
|
|
1550
|
+
.sc(StartActiveApprovalTeamDeletion)
|
|
1673
1551
|
.build() {
|
|
1674
1552
|
}
|
|
1675
1553
|
|
|
@@ -1677,16 +1555,11 @@ class TagResourceCommand extends smithyClient.Command
|
|
|
1677
1555
|
.classBuilder()
|
|
1678
1556
|
.ep(commonParams)
|
|
1679
1557
|
.m(function (Command, cs, config, o) {
|
|
1680
|
-
return [
|
|
1681
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1682
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1683
|
-
];
|
|
1558
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1684
1559
|
})
|
|
1685
1560
|
.s("AWSFluffyCoreService", "TagResource", {})
|
|
1686
1561
|
.n("MPAClient", "TagResourceCommand")
|
|
1687
|
-
.
|
|
1688
|
-
.ser(se_TagResourceCommand)
|
|
1689
|
-
.de(de_TagResourceCommand)
|
|
1562
|
+
.sc(TagResource)
|
|
1690
1563
|
.build() {
|
|
1691
1564
|
}
|
|
1692
1565
|
|
|
@@ -1694,16 +1567,11 @@ class UntagResourceCommand extends smithyClient.Command
|
|
|
1694
1567
|
.classBuilder()
|
|
1695
1568
|
.ep(commonParams)
|
|
1696
1569
|
.m(function (Command, cs, config, o) {
|
|
1697
|
-
return [
|
|
1698
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1699
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1700
|
-
];
|
|
1570
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1701
1571
|
})
|
|
1702
1572
|
.s("AWSFluffyCoreService", "UntagResource", {})
|
|
1703
1573
|
.n("MPAClient", "UntagResourceCommand")
|
|
1704
|
-
.
|
|
1705
|
-
.ser(se_UntagResourceCommand)
|
|
1706
|
-
.de(de_UntagResourceCommand)
|
|
1574
|
+
.sc(UntagResource)
|
|
1707
1575
|
.build() {
|
|
1708
1576
|
}
|
|
1709
1577
|
|
|
@@ -1711,16 +1579,11 @@ class UpdateApprovalTeamCommand extends smithyClient.Command
|
|
|
1711
1579
|
.classBuilder()
|
|
1712
1580
|
.ep(commonParams)
|
|
1713
1581
|
.m(function (Command, cs, config, o) {
|
|
1714
|
-
return [
|
|
1715
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1716
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1717
|
-
];
|
|
1582
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1718
1583
|
})
|
|
1719
1584
|
.s("AWSFluffyCoreService", "UpdateApprovalTeam", {})
|
|
1720
1585
|
.n("MPAClient", "UpdateApprovalTeamCommand")
|
|
1721
|
-
.
|
|
1722
|
-
.ser(se_UpdateApprovalTeamCommand)
|
|
1723
|
-
.de(de_UpdateApprovalTeamCommand)
|
|
1586
|
+
.sc(UpdateApprovalTeam)
|
|
1724
1587
|
.build() {
|
|
1725
1588
|
}
|
|
1726
1589
|
|
|
@@ -1771,69 +1634,54 @@ Object.defineProperty(exports, "__Client", {
|
|
|
1771
1634
|
enumerable: true,
|
|
1772
1635
|
get: function () { return smithyClient.Client; }
|
|
1773
1636
|
});
|
|
1774
|
-
exports.AccessDeniedException = AccessDeniedException;
|
|
1637
|
+
exports.AccessDeniedException = AccessDeniedException$1;
|
|
1775
1638
|
exports.ActionCompletionStrategy = ActionCompletionStrategy;
|
|
1776
1639
|
exports.ApprovalTeamStatus = ApprovalTeamStatus;
|
|
1777
1640
|
exports.ApprovalTeamStatusCode = ApprovalTeamStatusCode;
|
|
1778
1641
|
exports.CancelSessionCommand = CancelSessionCommand;
|
|
1779
|
-
exports.ConflictException = ConflictException;
|
|
1642
|
+
exports.ConflictException = ConflictException$1;
|
|
1780
1643
|
exports.CreateApprovalTeamCommand = CreateApprovalTeamCommand;
|
|
1781
|
-
exports.CreateApprovalTeamRequestFilterSensitiveLog = CreateApprovalTeamRequestFilterSensitiveLog;
|
|
1782
1644
|
exports.CreateIdentitySourceCommand = CreateIdentitySourceCommand;
|
|
1783
|
-
exports.CreateIdentitySourceRequestFilterSensitiveLog = CreateIdentitySourceRequestFilterSensitiveLog;
|
|
1784
1645
|
exports.DeleteIdentitySourceCommand = DeleteIdentitySourceCommand;
|
|
1785
1646
|
exports.DeleteInactiveApprovalTeamVersionCommand = DeleteInactiveApprovalTeamVersionCommand;
|
|
1786
1647
|
exports.FilterField = FilterField;
|
|
1787
1648
|
exports.GetApprovalTeamCommand = GetApprovalTeamCommand;
|
|
1788
|
-
exports.GetApprovalTeamResponseFilterSensitiveLog = GetApprovalTeamResponseFilterSensitiveLog;
|
|
1789
1649
|
exports.GetIdentitySourceCommand = GetIdentitySourceCommand;
|
|
1790
1650
|
exports.GetPolicyVersionCommand = GetPolicyVersionCommand;
|
|
1791
|
-
exports.GetPolicyVersionResponseFilterSensitiveLog = GetPolicyVersionResponseFilterSensitiveLog;
|
|
1792
1651
|
exports.GetResourcePolicyCommand = GetResourcePolicyCommand;
|
|
1793
|
-
exports.GetResourcePolicyResponseFilterSensitiveLog = GetResourcePolicyResponseFilterSensitiveLog;
|
|
1794
1652
|
exports.GetSessionCommand = GetSessionCommand;
|
|
1795
|
-
exports.GetSessionResponseFilterSensitiveLog = GetSessionResponseFilterSensitiveLog;
|
|
1796
1653
|
exports.IdentitySourceStatus = IdentitySourceStatus;
|
|
1797
1654
|
exports.IdentitySourceStatusCode = IdentitySourceStatusCode;
|
|
1798
1655
|
exports.IdentitySourceType = IdentitySourceType;
|
|
1799
1656
|
exports.IdentityStatus = IdentityStatus;
|
|
1800
|
-
exports.InternalServerException = InternalServerException;
|
|
1801
|
-
exports.InvalidParameterException = InvalidParameterException;
|
|
1657
|
+
exports.InternalServerException = InternalServerException$1;
|
|
1658
|
+
exports.InvalidParameterException = InvalidParameterException$1;
|
|
1802
1659
|
exports.ListApprovalTeamsCommand = ListApprovalTeamsCommand;
|
|
1803
|
-
exports.ListApprovalTeamsResponseApprovalTeamFilterSensitiveLog = ListApprovalTeamsResponseApprovalTeamFilterSensitiveLog;
|
|
1804
|
-
exports.ListApprovalTeamsResponseFilterSensitiveLog = ListApprovalTeamsResponseFilterSensitiveLog;
|
|
1805
1660
|
exports.ListIdentitySourcesCommand = ListIdentitySourcesCommand;
|
|
1806
1661
|
exports.ListPoliciesCommand = ListPoliciesCommand;
|
|
1807
1662
|
exports.ListPolicyVersionsCommand = ListPolicyVersionsCommand;
|
|
1808
1663
|
exports.ListResourcePoliciesCommand = ListResourcePoliciesCommand;
|
|
1809
1664
|
exports.ListSessionsCommand = ListSessionsCommand;
|
|
1810
|
-
exports.ListSessionsResponseFilterSensitiveLog = ListSessionsResponseFilterSensitiveLog;
|
|
1811
|
-
exports.ListSessionsResponseSessionFilterSensitiveLog = ListSessionsResponseSessionFilterSensitiveLog;
|
|
1812
1665
|
exports.ListTagsForResourceCommand = ListTagsForResourceCommand;
|
|
1813
|
-
exports.ListTagsForResourceResponseFilterSensitiveLog = ListTagsForResourceResponseFilterSensitiveLog;
|
|
1814
1666
|
exports.MPA = MPA;
|
|
1815
1667
|
exports.MPAClient = MPAClient;
|
|
1816
|
-
exports.MPAServiceException = MPAServiceException;
|
|
1668
|
+
exports.MPAServiceException = MPAServiceException$1;
|
|
1817
1669
|
exports.Operator = Operator;
|
|
1818
1670
|
exports.PolicyStatus = PolicyStatus;
|
|
1819
1671
|
exports.PolicyType = PolicyType;
|
|
1820
|
-
exports.
|
|
1821
|
-
exports.
|
|
1822
|
-
exports.ServiceQuotaExceededException = ServiceQuotaExceededException;
|
|
1672
|
+
exports.ResourceNotFoundException = ResourceNotFoundException$1;
|
|
1673
|
+
exports.ServiceQuotaExceededException = ServiceQuotaExceededException$1;
|
|
1823
1674
|
exports.SessionExecutionStatus = SessionExecutionStatus;
|
|
1824
1675
|
exports.SessionResponse = SessionResponse;
|
|
1825
1676
|
exports.SessionStatus = SessionStatus;
|
|
1826
1677
|
exports.SessionStatusCode = SessionStatusCode;
|
|
1827
1678
|
exports.StartActiveApprovalTeamDeletionCommand = StartActiveApprovalTeamDeletionCommand;
|
|
1828
1679
|
exports.TagResourceCommand = TagResourceCommand;
|
|
1829
|
-
exports.
|
|
1830
|
-
exports.
|
|
1831
|
-
exports.TooManyTagsException = TooManyTagsException;
|
|
1680
|
+
exports.ThrottlingException = ThrottlingException$1;
|
|
1681
|
+
exports.TooManyTagsException = TooManyTagsException$1;
|
|
1832
1682
|
exports.UntagResourceCommand = UntagResourceCommand;
|
|
1833
|
-
exports.UntagResourceRequestFilterSensitiveLog = UntagResourceRequestFilterSensitiveLog;
|
|
1834
1683
|
exports.UpdateApprovalTeamCommand = UpdateApprovalTeamCommand;
|
|
1835
|
-
exports.
|
|
1836
|
-
exports.ValidationException = ValidationException;
|
|
1684
|
+
exports.ValidationException = ValidationException$1;
|
|
1837
1685
|
exports.paginateListApprovalTeams = paginateListApprovalTeams;
|
|
1838
1686
|
exports.paginateListIdentitySources = paginateListIdentitySources;
|
|
1839
1687
|
exports.paginateListPolicies = paginateListPolicies;
|