@aws-sdk/client-pca-connector-scep 3.928.0 → 3.929.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 +492 -647
- package/dist-cjs/runtimeConfig.shared.js +2 -0
- package/dist-es/PcaConnectorScepClient.js +2 -0
- package/dist-es/commands/CreateChallengeCommand.js +3 -10
- package/dist-es/commands/CreateConnectorCommand.js +3 -9
- package/dist-es/commands/DeleteChallengeCommand.js +3 -9
- package/dist-es/commands/DeleteConnectorCommand.js +3 -9
- package/dist-es/commands/GetChallengeMetadataCommand.js +3 -9
- package/dist-es/commands/GetChallengePasswordCommand.js +3 -10
- package/dist-es/commands/GetConnectorCommand.js +3 -9
- package/dist-es/commands/ListChallengeMetadataCommand.js +3 -9
- package/dist-es/commands/ListConnectorsCommand.js +3 -9
- package/dist-es/commands/ListTagsForResourceCommand.js +3 -9
- package/dist-es/commands/TagResourceCommand.js +3 -9
- package/dist-es/commands/UntagResourceCommand.js +3 -9
- package/dist-es/models/models_0.js +0 -13
- package/dist-es/runtimeConfig.shared.js +2 -0
- package/dist-es/schemas/schemas_0.js +449 -0
- package/dist-types/PcaConnectorScepClient.d.ts +10 -1
- package/dist-types/models/models_0.d.ts +0 -12
- 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 +56 -0
- package/dist-types/ts3.4/PcaConnectorScepClient.d.ts +4 -0
- package/dist-types/ts3.4/models/models_0.d.ts +0 -7
- 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 +62 -0
- package/package.json +2 -3
- package/dist-es/protocols/Aws_restJson1.js +0 -530
- package/dist-types/protocols/Aws_restJson1.d.ts +0 -110
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +0 -149
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, {
|
|
@@ -92,6 +90,7 @@ class PcaConnectorScepClient extends smithyClient.Client {
|
|
|
92
90
|
const _config_7 = httpAuthSchemeProvider.resolveHttpAuthSchemeConfig(_config_6);
|
|
93
91
|
const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
|
|
94
92
|
this.config = _config_8;
|
|
93
|
+
this.middlewareStack.use(schema.getSchemaSerdePlugin(this.config));
|
|
95
94
|
this.middlewareStack.use(middlewareUserAgent.getUserAgentPlugin(this.config));
|
|
96
95
|
this.middlewareStack.use(middlewareRetry.getRetryPlugin(this.config));
|
|
97
96
|
this.middlewareStack.use(middlewareContentLength.getContentLengthPlugin(this.config));
|
|
@@ -111,14 +110,14 @@ class PcaConnectorScepClient extends smithyClient.Client {
|
|
|
111
110
|
}
|
|
112
111
|
}
|
|
113
112
|
|
|
114
|
-
class PcaConnectorScepServiceException extends smithyClient.ServiceException {
|
|
113
|
+
let PcaConnectorScepServiceException$1 = class PcaConnectorScepServiceException extends smithyClient.ServiceException {
|
|
115
114
|
constructor(options) {
|
|
116
115
|
super(options);
|
|
117
116
|
Object.setPrototypeOf(this, PcaConnectorScepServiceException.prototype);
|
|
118
117
|
}
|
|
119
|
-
}
|
|
118
|
+
};
|
|
120
119
|
|
|
121
|
-
class AccessDeniedException extends PcaConnectorScepServiceException {
|
|
120
|
+
let AccessDeniedException$1 = class AccessDeniedException extends PcaConnectorScepServiceException$1 {
|
|
122
121
|
name = "AccessDeniedException";
|
|
123
122
|
$fault = "client";
|
|
124
123
|
Message;
|
|
@@ -131,8 +130,8 @@ class AccessDeniedException extends PcaConnectorScepServiceException {
|
|
|
131
130
|
Object.setPrototypeOf(this, AccessDeniedException.prototype);
|
|
132
131
|
this.Message = opts.Message;
|
|
133
132
|
}
|
|
134
|
-
}
|
|
135
|
-
class BadRequestException extends PcaConnectorScepServiceException {
|
|
133
|
+
};
|
|
134
|
+
let BadRequestException$1 = class BadRequestException extends PcaConnectorScepServiceException$1 {
|
|
136
135
|
name = "BadRequestException";
|
|
137
136
|
$fault = "client";
|
|
138
137
|
Message;
|
|
@@ -145,8 +144,8 @@ class BadRequestException extends PcaConnectorScepServiceException {
|
|
|
145
144
|
Object.setPrototypeOf(this, BadRequestException.prototype);
|
|
146
145
|
this.Message = opts.Message;
|
|
147
146
|
}
|
|
148
|
-
}
|
|
149
|
-
class ConflictException extends PcaConnectorScepServiceException {
|
|
147
|
+
};
|
|
148
|
+
let ConflictException$1 = class ConflictException extends PcaConnectorScepServiceException$1 {
|
|
150
149
|
name = "ConflictException";
|
|
151
150
|
$fault = "client";
|
|
152
151
|
Message;
|
|
@@ -163,8 +162,8 @@ class ConflictException extends PcaConnectorScepServiceException {
|
|
|
163
162
|
this.ResourceId = opts.ResourceId;
|
|
164
163
|
this.ResourceType = opts.ResourceType;
|
|
165
164
|
}
|
|
166
|
-
}
|
|
167
|
-
class InternalServerException extends PcaConnectorScepServiceException {
|
|
165
|
+
};
|
|
166
|
+
let InternalServerException$1 = class InternalServerException extends PcaConnectorScepServiceException$1 {
|
|
168
167
|
name = "InternalServerException";
|
|
169
168
|
$fault = "server";
|
|
170
169
|
$retryable = {};
|
|
@@ -178,8 +177,8 @@ class InternalServerException extends PcaConnectorScepServiceException {
|
|
|
178
177
|
Object.setPrototypeOf(this, InternalServerException.prototype);
|
|
179
178
|
this.Message = opts.Message;
|
|
180
179
|
}
|
|
181
|
-
}
|
|
182
|
-
class ResourceNotFoundException extends PcaConnectorScepServiceException {
|
|
180
|
+
};
|
|
181
|
+
let ResourceNotFoundException$1 = class ResourceNotFoundException extends PcaConnectorScepServiceException$1 {
|
|
183
182
|
name = "ResourceNotFoundException";
|
|
184
183
|
$fault = "client";
|
|
185
184
|
Message;
|
|
@@ -196,8 +195,8 @@ class ResourceNotFoundException extends PcaConnectorScepServiceException {
|
|
|
196
195
|
this.ResourceId = opts.ResourceId;
|
|
197
196
|
this.ResourceType = opts.ResourceType;
|
|
198
197
|
}
|
|
199
|
-
}
|
|
200
|
-
class ServiceQuotaExceededException extends PcaConnectorScepServiceException {
|
|
198
|
+
};
|
|
199
|
+
let ServiceQuotaExceededException$1 = class ServiceQuotaExceededException extends PcaConnectorScepServiceException$1 {
|
|
201
200
|
name = "ServiceQuotaExceededException";
|
|
202
201
|
$fault = "client";
|
|
203
202
|
Message;
|
|
@@ -216,8 +215,8 @@ class ServiceQuotaExceededException extends PcaConnectorScepServiceException {
|
|
|
216
215
|
this.ServiceCode = opts.ServiceCode;
|
|
217
216
|
this.QuotaCode = opts.QuotaCode;
|
|
218
217
|
}
|
|
219
|
-
}
|
|
220
|
-
class ThrottlingException extends PcaConnectorScepServiceException {
|
|
218
|
+
};
|
|
219
|
+
let ThrottlingException$1 = class ThrottlingException extends PcaConnectorScepServiceException$1 {
|
|
221
220
|
name = "ThrottlingException";
|
|
222
221
|
$fault = "client";
|
|
223
222
|
$retryable = {
|
|
@@ -233,7 +232,7 @@ class ThrottlingException extends PcaConnectorScepServiceException {
|
|
|
233
232
|
Object.setPrototypeOf(this, ThrottlingException.prototype);
|
|
234
233
|
this.Message = opts.Message;
|
|
235
234
|
}
|
|
236
|
-
}
|
|
235
|
+
};
|
|
237
236
|
const ValidationExceptionReason = {
|
|
238
237
|
CA_CERT_VALIDITY_TOO_SHORT: "CA_CERT_VALIDITY_TOO_SHORT",
|
|
239
238
|
INVALID_CA_USAGE_MODE: "INVALID_CA_USAGE_MODE",
|
|
@@ -243,7 +242,7 @@ const ValidationExceptionReason = {
|
|
|
243
242
|
OTHER: "OTHER",
|
|
244
243
|
UNKNOWN_OPERATION: "UNKNOWN_OPERATION",
|
|
245
244
|
};
|
|
246
|
-
class ValidationException extends PcaConnectorScepServiceException {
|
|
245
|
+
let ValidationException$1 = class ValidationException extends PcaConnectorScepServiceException$1 {
|
|
247
246
|
name = "ValidationException";
|
|
248
247
|
$fault = "client";
|
|
249
248
|
Message;
|
|
@@ -258,7 +257,7 @@ class ValidationException extends PcaConnectorScepServiceException {
|
|
|
258
257
|
this.Message = opts.Message;
|
|
259
258
|
this.Reason = opts.Reason;
|
|
260
259
|
}
|
|
261
|
-
}
|
|
260
|
+
};
|
|
262
261
|
exports.MobileDeviceManagement = void 0;
|
|
263
262
|
(function (MobileDeviceManagement) {
|
|
264
263
|
MobileDeviceManagement.visit = (value, visitor) => {
|
|
@@ -283,557 +282,461 @@ const ConnectorType = {
|
|
|
283
282
|
GENERAL_PURPOSE: "GENERAL_PURPOSE",
|
|
284
283
|
INTUNE: "INTUNE",
|
|
285
284
|
};
|
|
286
|
-
const ChallengeFilterSensitiveLog = (obj) => ({
|
|
287
|
-
...obj,
|
|
288
|
-
...(obj.Password && { Password: smithyClient.SENSITIVE_STRING }),
|
|
289
|
-
});
|
|
290
|
-
const CreateChallengeResponseFilterSensitiveLog = (obj) => ({
|
|
291
|
-
...obj,
|
|
292
|
-
...(obj.Challenge && { Challenge: ChallengeFilterSensitiveLog(obj.Challenge) }),
|
|
293
|
-
});
|
|
294
|
-
const GetChallengePasswordResponseFilterSensitiveLog = (obj) => ({
|
|
295
|
-
...obj,
|
|
296
|
-
...(obj.Password && { Password: smithyClient.SENSITIVE_STRING }),
|
|
297
|
-
});
|
|
298
285
|
|
|
299
|
-
const
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
let body;
|
|
306
|
-
body = JSON.stringify(smithyClient.take(input, {
|
|
307
|
-
ClientToken: [true, (_) => _ ?? uuid.v4()],
|
|
308
|
-
ConnectorArn: [],
|
|
309
|
-
Tags: (_) => smithyClient._json(_),
|
|
310
|
-
}));
|
|
311
|
-
b.m("POST").h(headers).b(body);
|
|
312
|
-
return b.build();
|
|
313
|
-
};
|
|
314
|
-
const se_CreateConnectorCommand = async (input, context) => {
|
|
315
|
-
const b = core.requestBuilder(input, context);
|
|
316
|
-
const headers = {
|
|
317
|
-
"content-type": "application/json",
|
|
318
|
-
};
|
|
319
|
-
b.bp("/connectors");
|
|
320
|
-
let body;
|
|
321
|
-
body = JSON.stringify(smithyClient.take(input, {
|
|
322
|
-
CertificateAuthorityArn: [],
|
|
323
|
-
ClientToken: [true, (_) => _ ?? uuid.v4()],
|
|
324
|
-
MobileDeviceManagement: (_) => smithyClient._json(_),
|
|
325
|
-
Tags: (_) => smithyClient._json(_),
|
|
326
|
-
}));
|
|
327
|
-
b.m("POST").h(headers).b(body);
|
|
328
|
-
return b.build();
|
|
329
|
-
};
|
|
330
|
-
const se_DeleteChallengeCommand = async (input, context) => {
|
|
331
|
-
const b = core.requestBuilder(input, context);
|
|
332
|
-
const headers = {};
|
|
333
|
-
b.bp("/challenges/{ChallengeArn}");
|
|
334
|
-
b.p("ChallengeArn", () => input.ChallengeArn, "{ChallengeArn}", false);
|
|
335
|
-
let body;
|
|
336
|
-
b.m("DELETE").h(headers).b(body);
|
|
337
|
-
return b.build();
|
|
338
|
-
};
|
|
339
|
-
const se_DeleteConnectorCommand = async (input, context) => {
|
|
340
|
-
const b = core.requestBuilder(input, context);
|
|
341
|
-
const headers = {};
|
|
342
|
-
b.bp("/connectors/{ConnectorArn}");
|
|
343
|
-
b.p("ConnectorArn", () => input.ConnectorArn, "{ConnectorArn}", false);
|
|
344
|
-
let body;
|
|
345
|
-
b.m("DELETE").h(headers).b(body);
|
|
346
|
-
return b.build();
|
|
347
|
-
};
|
|
348
|
-
const se_GetChallengeMetadataCommand = async (input, context) => {
|
|
349
|
-
const b = core.requestBuilder(input, context);
|
|
350
|
-
const headers = {};
|
|
351
|
-
b.bp("/challengeMetadata/{ChallengeArn}");
|
|
352
|
-
b.p("ChallengeArn", () => input.ChallengeArn, "{ChallengeArn}", false);
|
|
353
|
-
let body;
|
|
354
|
-
b.m("GET").h(headers).b(body);
|
|
355
|
-
return b.build();
|
|
356
|
-
};
|
|
357
|
-
const se_GetChallengePasswordCommand = async (input, context) => {
|
|
358
|
-
const b = core.requestBuilder(input, context);
|
|
359
|
-
const headers = {};
|
|
360
|
-
b.bp("/challengePasswords/{ChallengeArn}");
|
|
361
|
-
b.p("ChallengeArn", () => input.ChallengeArn, "{ChallengeArn}", false);
|
|
362
|
-
let body;
|
|
363
|
-
b.m("GET").h(headers).b(body);
|
|
364
|
-
return b.build();
|
|
365
|
-
};
|
|
366
|
-
const se_GetConnectorCommand = async (input, context) => {
|
|
367
|
-
const b = core.requestBuilder(input, context);
|
|
368
|
-
const headers = {};
|
|
369
|
-
b.bp("/connectors/{ConnectorArn}");
|
|
370
|
-
b.p("ConnectorArn", () => input.ConnectorArn, "{ConnectorArn}", false);
|
|
371
|
-
let body;
|
|
372
|
-
b.m("GET").h(headers).b(body);
|
|
373
|
-
return b.build();
|
|
374
|
-
};
|
|
375
|
-
const se_ListChallengeMetadataCommand = async (input, context) => {
|
|
376
|
-
const b = core.requestBuilder(input, context);
|
|
377
|
-
const headers = {};
|
|
378
|
-
b.bp("/challengeMetadata");
|
|
379
|
-
const query = smithyClient.map({
|
|
380
|
-
[_MR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
|
|
381
|
-
[_NT]: [, input[_NT]],
|
|
382
|
-
[_CA]: [, smithyClient.expectNonNull(input[_CA], `ConnectorArn`)],
|
|
383
|
-
});
|
|
384
|
-
let body;
|
|
385
|
-
b.m("GET").h(headers).q(query).b(body);
|
|
386
|
-
return b.build();
|
|
387
|
-
};
|
|
388
|
-
const se_ListConnectorsCommand = async (input, context) => {
|
|
389
|
-
const b = core.requestBuilder(input, context);
|
|
390
|
-
const headers = {};
|
|
391
|
-
b.bp("/connectors");
|
|
392
|
-
const query = smithyClient.map({
|
|
393
|
-
[_MR]: [() => input.MaxResults !== void 0, () => input[_MR].toString()],
|
|
394
|
-
[_NT]: [, input[_NT]],
|
|
395
|
-
});
|
|
396
|
-
let body;
|
|
397
|
-
b.m("GET").h(headers).q(query).b(body);
|
|
398
|
-
return b.build();
|
|
399
|
-
};
|
|
400
|
-
const se_ListTagsForResourceCommand = async (input, context) => {
|
|
401
|
-
const b = core.requestBuilder(input, context);
|
|
402
|
-
const headers = {};
|
|
403
|
-
b.bp("/tags/{ResourceArn}");
|
|
404
|
-
b.p("ResourceArn", () => input.ResourceArn, "{ResourceArn}", false);
|
|
405
|
-
let body;
|
|
406
|
-
b.m("GET").h(headers).b(body);
|
|
407
|
-
return b.build();
|
|
408
|
-
};
|
|
409
|
-
const se_TagResourceCommand = async (input, context) => {
|
|
410
|
-
const b = core.requestBuilder(input, context);
|
|
411
|
-
const headers = {
|
|
412
|
-
"content-type": "application/json",
|
|
413
|
-
};
|
|
414
|
-
b.bp("/tags/{ResourceArn}");
|
|
415
|
-
b.p("ResourceArn", () => input.ResourceArn, "{ResourceArn}", false);
|
|
416
|
-
let body;
|
|
417
|
-
body = JSON.stringify(smithyClient.take(input, {
|
|
418
|
-
Tags: (_) => smithyClient._json(_),
|
|
419
|
-
}));
|
|
420
|
-
b.m("POST").h(headers).b(body);
|
|
421
|
-
return b.build();
|
|
422
|
-
};
|
|
423
|
-
const se_UntagResourceCommand = async (input, context) => {
|
|
424
|
-
const b = core.requestBuilder(input, context);
|
|
425
|
-
const headers = {};
|
|
426
|
-
b.bp("/tags/{ResourceArn}");
|
|
427
|
-
b.p("ResourceArn", () => input.ResourceArn, "{ResourceArn}", false);
|
|
428
|
-
const query = smithyClient.map({
|
|
429
|
-
[_tK]: [smithyClient.expectNonNull(input.TagKeys, `TagKeys`) != null, () => input[_TK] || []],
|
|
430
|
-
});
|
|
431
|
-
let body;
|
|
432
|
-
b.m("DELETE").h(headers).q(query).b(body);
|
|
433
|
-
return b.build();
|
|
434
|
-
};
|
|
435
|
-
const de_CreateChallengeCommand = async (output, context) => {
|
|
436
|
-
if (output.statusCode !== 202 && output.statusCode >= 300) {
|
|
437
|
-
return de_CommandError(output, context);
|
|
438
|
-
}
|
|
439
|
-
const contents = smithyClient.map({
|
|
440
|
-
$metadata: deserializeMetadata(output),
|
|
441
|
-
});
|
|
442
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
443
|
-
const doc = smithyClient.take(data, {
|
|
444
|
-
Challenge: (_) => de_Challenge(_),
|
|
445
|
-
});
|
|
446
|
-
Object.assign(contents, doc);
|
|
447
|
-
return contents;
|
|
448
|
-
};
|
|
449
|
-
const de_CreateConnectorCommand = async (output, context) => {
|
|
450
|
-
if (output.statusCode !== 202 && output.statusCode >= 300) {
|
|
451
|
-
return de_CommandError(output, context);
|
|
452
|
-
}
|
|
453
|
-
const contents = smithyClient.map({
|
|
454
|
-
$metadata: deserializeMetadata(output),
|
|
455
|
-
});
|
|
456
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
457
|
-
const doc = smithyClient.take(data, {
|
|
458
|
-
ConnectorArn: smithyClient.expectString,
|
|
459
|
-
});
|
|
460
|
-
Object.assign(contents, doc);
|
|
461
|
-
return contents;
|
|
462
|
-
};
|
|
463
|
-
const de_DeleteChallengeCommand = async (output, context) => {
|
|
464
|
-
if (output.statusCode !== 202 && output.statusCode >= 300) {
|
|
465
|
-
return de_CommandError(output, context);
|
|
466
|
-
}
|
|
467
|
-
const contents = smithyClient.map({
|
|
468
|
-
$metadata: deserializeMetadata(output),
|
|
469
|
-
});
|
|
470
|
-
await smithyClient.collectBody(output.body, context);
|
|
471
|
-
return contents;
|
|
472
|
-
};
|
|
473
|
-
const de_DeleteConnectorCommand = async (output, context) => {
|
|
474
|
-
if (output.statusCode !== 202 && output.statusCode >= 300) {
|
|
475
|
-
return de_CommandError(output, context);
|
|
476
|
-
}
|
|
477
|
-
const contents = smithyClient.map({
|
|
478
|
-
$metadata: deserializeMetadata(output),
|
|
479
|
-
});
|
|
480
|
-
await smithyClient.collectBody(output.body, context);
|
|
481
|
-
return contents;
|
|
482
|
-
};
|
|
483
|
-
const de_GetChallengeMetadataCommand = async (output, context) => {
|
|
484
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
485
|
-
return de_CommandError(output, context);
|
|
486
|
-
}
|
|
487
|
-
const contents = smithyClient.map({
|
|
488
|
-
$metadata: deserializeMetadata(output),
|
|
489
|
-
});
|
|
490
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
491
|
-
const doc = smithyClient.take(data, {
|
|
492
|
-
ChallengeMetadata: (_) => de_ChallengeMetadata(_),
|
|
493
|
-
});
|
|
494
|
-
Object.assign(contents, doc);
|
|
495
|
-
return contents;
|
|
496
|
-
};
|
|
497
|
-
const de_GetChallengePasswordCommand = async (output, context) => {
|
|
498
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
499
|
-
return de_CommandError(output, context);
|
|
500
|
-
}
|
|
501
|
-
const contents = smithyClient.map({
|
|
502
|
-
$metadata: deserializeMetadata(output),
|
|
503
|
-
});
|
|
504
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
505
|
-
const doc = smithyClient.take(data, {
|
|
506
|
-
Password: smithyClient.expectString,
|
|
507
|
-
});
|
|
508
|
-
Object.assign(contents, doc);
|
|
509
|
-
return contents;
|
|
510
|
-
};
|
|
511
|
-
const de_GetConnectorCommand = async (output, context) => {
|
|
512
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
513
|
-
return de_CommandError(output, context);
|
|
514
|
-
}
|
|
515
|
-
const contents = smithyClient.map({
|
|
516
|
-
$metadata: deserializeMetadata(output),
|
|
517
|
-
});
|
|
518
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
519
|
-
const doc = smithyClient.take(data, {
|
|
520
|
-
Connector: (_) => de_Connector(_),
|
|
521
|
-
});
|
|
522
|
-
Object.assign(contents, doc);
|
|
523
|
-
return contents;
|
|
524
|
-
};
|
|
525
|
-
const de_ListChallengeMetadataCommand = async (output, context) => {
|
|
526
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
527
|
-
return de_CommandError(output, context);
|
|
528
|
-
}
|
|
529
|
-
const contents = smithyClient.map({
|
|
530
|
-
$metadata: deserializeMetadata(output),
|
|
531
|
-
});
|
|
532
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
533
|
-
const doc = smithyClient.take(data, {
|
|
534
|
-
Challenges: (_) => de_ChallengeMetadataList(_),
|
|
535
|
-
NextToken: smithyClient.expectString,
|
|
536
|
-
});
|
|
537
|
-
Object.assign(contents, doc);
|
|
538
|
-
return contents;
|
|
539
|
-
};
|
|
540
|
-
const de_ListConnectorsCommand = async (output, context) => {
|
|
541
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
542
|
-
return de_CommandError(output, context);
|
|
543
|
-
}
|
|
544
|
-
const contents = smithyClient.map({
|
|
545
|
-
$metadata: deserializeMetadata(output),
|
|
546
|
-
});
|
|
547
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
548
|
-
const doc = smithyClient.take(data, {
|
|
549
|
-
Connectors: (_) => de_ConnectorList(_),
|
|
550
|
-
NextToken: smithyClient.expectString,
|
|
551
|
-
});
|
|
552
|
-
Object.assign(contents, doc);
|
|
553
|
-
return contents;
|
|
554
|
-
};
|
|
555
|
-
const de_ListTagsForResourceCommand = async (output, context) => {
|
|
556
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
557
|
-
return de_CommandError(output, context);
|
|
558
|
-
}
|
|
559
|
-
const contents = smithyClient.map({
|
|
560
|
-
$metadata: deserializeMetadata(output),
|
|
561
|
-
});
|
|
562
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
563
|
-
const doc = smithyClient.take(data, {
|
|
564
|
-
Tags: smithyClient._json,
|
|
565
|
-
});
|
|
566
|
-
Object.assign(contents, doc);
|
|
567
|
-
return contents;
|
|
568
|
-
};
|
|
569
|
-
const de_TagResourceCommand = async (output, context) => {
|
|
570
|
-
if (output.statusCode !== 204 && output.statusCode >= 300) {
|
|
571
|
-
return de_CommandError(output, context);
|
|
572
|
-
}
|
|
573
|
-
const contents = smithyClient.map({
|
|
574
|
-
$metadata: deserializeMetadata(output),
|
|
575
|
-
});
|
|
576
|
-
await smithyClient.collectBody(output.body, context);
|
|
577
|
-
return contents;
|
|
578
|
-
};
|
|
579
|
-
const de_UntagResourceCommand = async (output, context) => {
|
|
580
|
-
if (output.statusCode !== 204 && output.statusCode >= 300) {
|
|
581
|
-
return de_CommandError(output, context);
|
|
582
|
-
}
|
|
583
|
-
const contents = smithyClient.map({
|
|
584
|
-
$metadata: deserializeMetadata(output),
|
|
585
|
-
});
|
|
586
|
-
await smithyClient.collectBody(output.body, context);
|
|
587
|
-
return contents;
|
|
588
|
-
};
|
|
589
|
-
const de_CommandError = async (output, context) => {
|
|
590
|
-
const parsedOutput = {
|
|
591
|
-
...output,
|
|
592
|
-
body: await core$1.parseJsonErrorBody(output.body, context),
|
|
593
|
-
};
|
|
594
|
-
const errorCode = core$1.loadRestJsonErrorCode(output, parsedOutput.body);
|
|
595
|
-
switch (errorCode) {
|
|
596
|
-
case "AccessDeniedException":
|
|
597
|
-
case "com.amazonaws.pcaconnectorscep#AccessDeniedException":
|
|
598
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput);
|
|
599
|
-
case "BadRequestException":
|
|
600
|
-
case "com.amazonaws.pcaconnectorscep#BadRequestException":
|
|
601
|
-
throw await de_BadRequestExceptionRes(parsedOutput);
|
|
602
|
-
case "ConflictException":
|
|
603
|
-
case "com.amazonaws.pcaconnectorscep#ConflictException":
|
|
604
|
-
throw await de_ConflictExceptionRes(parsedOutput);
|
|
605
|
-
case "InternalServerException":
|
|
606
|
-
case "com.amazonaws.pcaconnectorscep#InternalServerException":
|
|
607
|
-
throw await de_InternalServerExceptionRes(parsedOutput);
|
|
608
|
-
case "ResourceNotFoundException":
|
|
609
|
-
case "com.amazonaws.pcaconnectorscep#ResourceNotFoundException":
|
|
610
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput);
|
|
611
|
-
case "ServiceQuotaExceededException":
|
|
612
|
-
case "com.amazonaws.pcaconnectorscep#ServiceQuotaExceededException":
|
|
613
|
-
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput);
|
|
614
|
-
case "ThrottlingException":
|
|
615
|
-
case "com.amazonaws.pcaconnectorscep#ThrottlingException":
|
|
616
|
-
throw await de_ThrottlingExceptionRes(parsedOutput);
|
|
617
|
-
case "ValidationException":
|
|
618
|
-
case "com.amazonaws.pcaconnectorscep#ValidationException":
|
|
619
|
-
throw await de_ValidationExceptionRes(parsedOutput);
|
|
620
|
-
default:
|
|
621
|
-
const parsedBody = parsedOutput.body;
|
|
622
|
-
return throwDefaultError({
|
|
623
|
-
output,
|
|
624
|
-
parsedBody,
|
|
625
|
-
errorCode,
|
|
626
|
-
});
|
|
627
|
-
}
|
|
628
|
-
};
|
|
629
|
-
const throwDefaultError = smithyClient.withBaseException(PcaConnectorScepServiceException);
|
|
630
|
-
const de_AccessDeniedExceptionRes = async (parsedOutput, context) => {
|
|
631
|
-
const contents = smithyClient.map({});
|
|
632
|
-
const data = parsedOutput.body;
|
|
633
|
-
const doc = smithyClient.take(data, {
|
|
634
|
-
Message: smithyClient.expectString,
|
|
635
|
-
});
|
|
636
|
-
Object.assign(contents, doc);
|
|
637
|
-
const exception = new AccessDeniedException({
|
|
638
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
639
|
-
...contents,
|
|
640
|
-
});
|
|
641
|
-
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
642
|
-
};
|
|
643
|
-
const de_BadRequestExceptionRes = async (parsedOutput, context) => {
|
|
644
|
-
const contents = smithyClient.map({});
|
|
645
|
-
const data = parsedOutput.body;
|
|
646
|
-
const doc = smithyClient.take(data, {
|
|
647
|
-
Message: smithyClient.expectString,
|
|
648
|
-
});
|
|
649
|
-
Object.assign(contents, doc);
|
|
650
|
-
const exception = new BadRequestException({
|
|
651
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
652
|
-
...contents,
|
|
653
|
-
});
|
|
654
|
-
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
655
|
-
};
|
|
656
|
-
const de_ConflictExceptionRes = async (parsedOutput, context) => {
|
|
657
|
-
const contents = smithyClient.map({});
|
|
658
|
-
const data = parsedOutput.body;
|
|
659
|
-
const doc = smithyClient.take(data, {
|
|
660
|
-
Message: smithyClient.expectString,
|
|
661
|
-
ResourceId: smithyClient.expectString,
|
|
662
|
-
ResourceType: smithyClient.expectString,
|
|
663
|
-
});
|
|
664
|
-
Object.assign(contents, doc);
|
|
665
|
-
const exception = new ConflictException({
|
|
666
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
667
|
-
...contents,
|
|
668
|
-
});
|
|
669
|
-
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
670
|
-
};
|
|
671
|
-
const de_InternalServerExceptionRes = async (parsedOutput, context) => {
|
|
672
|
-
const contents = smithyClient.map({});
|
|
673
|
-
const data = parsedOutput.body;
|
|
674
|
-
const doc = smithyClient.take(data, {
|
|
675
|
-
Message: smithyClient.expectString,
|
|
676
|
-
});
|
|
677
|
-
Object.assign(contents, doc);
|
|
678
|
-
const exception = new InternalServerException({
|
|
679
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
680
|
-
...contents,
|
|
681
|
-
});
|
|
682
|
-
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
683
|
-
};
|
|
684
|
-
const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
685
|
-
const contents = smithyClient.map({});
|
|
686
|
-
const data = parsedOutput.body;
|
|
687
|
-
const doc = smithyClient.take(data, {
|
|
688
|
-
Message: smithyClient.expectString,
|
|
689
|
-
ResourceId: smithyClient.expectString,
|
|
690
|
-
ResourceType: smithyClient.expectString,
|
|
691
|
-
});
|
|
692
|
-
Object.assign(contents, doc);
|
|
693
|
-
const exception = new ResourceNotFoundException({
|
|
694
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
695
|
-
...contents,
|
|
696
|
-
});
|
|
697
|
-
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
698
|
-
};
|
|
699
|
-
const de_ServiceQuotaExceededExceptionRes = async (parsedOutput, context) => {
|
|
700
|
-
const contents = smithyClient.map({});
|
|
701
|
-
const data = parsedOutput.body;
|
|
702
|
-
const doc = smithyClient.take(data, {
|
|
703
|
-
Message: smithyClient.expectString,
|
|
704
|
-
QuotaCode: smithyClient.expectString,
|
|
705
|
-
ResourceType: smithyClient.expectString,
|
|
706
|
-
ServiceCode: smithyClient.expectString,
|
|
707
|
-
});
|
|
708
|
-
Object.assign(contents, doc);
|
|
709
|
-
const exception = new ServiceQuotaExceededException({
|
|
710
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
711
|
-
...contents,
|
|
712
|
-
});
|
|
713
|
-
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
714
|
-
};
|
|
715
|
-
const de_ThrottlingExceptionRes = async (parsedOutput, context) => {
|
|
716
|
-
const contents = smithyClient.map({});
|
|
717
|
-
const data = parsedOutput.body;
|
|
718
|
-
const doc = smithyClient.take(data, {
|
|
719
|
-
Message: smithyClient.expectString,
|
|
720
|
-
});
|
|
721
|
-
Object.assign(contents, doc);
|
|
722
|
-
const exception = new ThrottlingException({
|
|
723
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
724
|
-
...contents,
|
|
725
|
-
});
|
|
726
|
-
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
727
|
-
};
|
|
728
|
-
const de_ValidationExceptionRes = async (parsedOutput, context) => {
|
|
729
|
-
const contents = smithyClient.map({});
|
|
730
|
-
const data = parsedOutput.body;
|
|
731
|
-
const doc = smithyClient.take(data, {
|
|
732
|
-
Message: smithyClient.expectString,
|
|
733
|
-
Reason: smithyClient.expectString,
|
|
734
|
-
});
|
|
735
|
-
Object.assign(contents, doc);
|
|
736
|
-
const exception = new ValidationException({
|
|
737
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
738
|
-
...contents,
|
|
739
|
-
});
|
|
740
|
-
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
741
|
-
};
|
|
742
|
-
const de_Challenge = (output, context) => {
|
|
743
|
-
return smithyClient.take(output, {
|
|
744
|
-
Arn: smithyClient.expectString,
|
|
745
|
-
ConnectorArn: smithyClient.expectString,
|
|
746
|
-
CreatedAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
|
|
747
|
-
Password: smithyClient.expectString,
|
|
748
|
-
UpdatedAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
|
|
749
|
-
});
|
|
750
|
-
};
|
|
751
|
-
const de_ChallengeMetadata = (output, context) => {
|
|
752
|
-
return smithyClient.take(output, {
|
|
753
|
-
Arn: smithyClient.expectString,
|
|
754
|
-
ConnectorArn: smithyClient.expectString,
|
|
755
|
-
CreatedAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
|
|
756
|
-
UpdatedAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
|
|
757
|
-
});
|
|
758
|
-
};
|
|
759
|
-
const de_ChallengeMetadataList = (output, context) => {
|
|
760
|
-
const retVal = (output || [])
|
|
761
|
-
.filter((e) => e != null)
|
|
762
|
-
.map((entry) => {
|
|
763
|
-
return de_ChallengeMetadataSummary(entry);
|
|
764
|
-
});
|
|
765
|
-
return retVal;
|
|
766
|
-
};
|
|
767
|
-
const de_ChallengeMetadataSummary = (output, context) => {
|
|
768
|
-
return smithyClient.take(output, {
|
|
769
|
-
Arn: smithyClient.expectString,
|
|
770
|
-
ConnectorArn: smithyClient.expectString,
|
|
771
|
-
CreatedAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
|
|
772
|
-
UpdatedAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
|
|
773
|
-
});
|
|
774
|
-
};
|
|
775
|
-
const de_Connector = (output, context) => {
|
|
776
|
-
return smithyClient.take(output, {
|
|
777
|
-
Arn: smithyClient.expectString,
|
|
778
|
-
CertificateAuthorityArn: smithyClient.expectString,
|
|
779
|
-
CreatedAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
|
|
780
|
-
Endpoint: smithyClient.expectString,
|
|
781
|
-
MobileDeviceManagement: (_) => smithyClient._json(core$1.awsExpectUnion(_)),
|
|
782
|
-
OpenIdConfiguration: smithyClient._json,
|
|
783
|
-
Status: smithyClient.expectString,
|
|
784
|
-
StatusReason: smithyClient.expectString,
|
|
785
|
-
Type: smithyClient.expectString,
|
|
786
|
-
UpdatedAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
|
|
787
|
-
});
|
|
788
|
-
};
|
|
789
|
-
const de_ConnectorList = (output, context) => {
|
|
790
|
-
const retVal = (output || [])
|
|
791
|
-
.filter((e) => e != null)
|
|
792
|
-
.map((entry) => {
|
|
793
|
-
return de_ConnectorSummary(entry);
|
|
794
|
-
});
|
|
795
|
-
return retVal;
|
|
796
|
-
};
|
|
797
|
-
const de_ConnectorSummary = (output, context) => {
|
|
798
|
-
return smithyClient.take(output, {
|
|
799
|
-
Arn: smithyClient.expectString,
|
|
800
|
-
CertificateAuthorityArn: smithyClient.expectString,
|
|
801
|
-
CreatedAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
|
|
802
|
-
Endpoint: smithyClient.expectString,
|
|
803
|
-
MobileDeviceManagement: (_) => smithyClient._json(core$1.awsExpectUnion(_)),
|
|
804
|
-
OpenIdConfiguration: smithyClient._json,
|
|
805
|
-
Status: smithyClient.expectString,
|
|
806
|
-
StatusReason: smithyClient.expectString,
|
|
807
|
-
Type: smithyClient.expectString,
|
|
808
|
-
UpdatedAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
|
|
809
|
-
});
|
|
810
|
-
};
|
|
811
|
-
const deserializeMetadata = (output) => ({
|
|
812
|
-
httpStatusCode: output.statusCode,
|
|
813
|
-
requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
|
|
814
|
-
extendedRequestId: output.headers["x-amz-id-2"],
|
|
815
|
-
cfId: output.headers["x-amz-cf-id"],
|
|
816
|
-
});
|
|
286
|
+
const _A = "Arn";
|
|
287
|
+
const _AAI = "AzureApplicationId";
|
|
288
|
+
const _ADE = "AccessDeniedException";
|
|
289
|
+
const _Au = "Audience";
|
|
290
|
+
const _BRE = "BadRequestException";
|
|
291
|
+
const _C = "Challenge";
|
|
817
292
|
const _CA = "ConnectorArn";
|
|
293
|
+
const _CAA = "CertificateAuthorityArn";
|
|
294
|
+
const _CAh = "ChallengeArn";
|
|
295
|
+
const _CAr = "CreatedAt";
|
|
296
|
+
const _CC = "CreateChallenge";
|
|
297
|
+
const _CCR = "CreateChallengeRequest";
|
|
298
|
+
const _CCRr = "CreateChallengeResponse";
|
|
299
|
+
const _CCRre = "CreateConnectorRequest";
|
|
300
|
+
const _CCRrea = "CreateConnectorResponse";
|
|
301
|
+
const _CCr = "CreateConnector";
|
|
302
|
+
const _CE = "ConflictException";
|
|
303
|
+
const _CL = "ConnectorList";
|
|
304
|
+
const _CM = "ChallengeMetadata";
|
|
305
|
+
const _CML = "ChallengeMetadataList";
|
|
306
|
+
const _CMS = "ChallengeMetadataSummary";
|
|
307
|
+
const _CS = "ConnectorSummary";
|
|
308
|
+
const _CT = "ClientToken";
|
|
309
|
+
const _Ch = "Challenges";
|
|
310
|
+
const _Co = "Connector";
|
|
311
|
+
const _Con = "Connectors";
|
|
312
|
+
const _D = "Domain";
|
|
313
|
+
const _DC = "DeleteChallenge";
|
|
314
|
+
const _DCR = "DeleteChallengeRequest";
|
|
315
|
+
const _DCRe = "DeleteConnectorRequest";
|
|
316
|
+
const _DCe = "DeleteConnector";
|
|
317
|
+
const _E = "Endpoint";
|
|
318
|
+
const _GC = "GetConnector";
|
|
319
|
+
const _GCM = "GetChallengeMetadata";
|
|
320
|
+
const _GCMR = "GetChallengeMetadataRequest";
|
|
321
|
+
const _GCMRe = "GetChallengeMetadataResponse";
|
|
322
|
+
const _GCP = "GetChallengePassword";
|
|
323
|
+
const _GCPR = "GetChallengePasswordRequest";
|
|
324
|
+
const _GCPRe = "GetChallengePasswordResponse";
|
|
325
|
+
const _GCR = "GetConnectorRequest";
|
|
326
|
+
const _GCRe = "GetConnectorResponse";
|
|
327
|
+
const _I = "Issuer";
|
|
328
|
+
const _IC = "IntuneConfiguration";
|
|
329
|
+
const _ISE = "InternalServerException";
|
|
330
|
+
const _In = "Intune";
|
|
331
|
+
const _LC = "ListConnectors";
|
|
332
|
+
const _LCM = "ListChallengeMetadata";
|
|
333
|
+
const _LCMR = "ListChallengeMetadataRequest";
|
|
334
|
+
const _LCMRi = "ListChallengeMetadataResponse";
|
|
335
|
+
const _LCR = "ListConnectorsRequest";
|
|
336
|
+
const _LCRi = "ListConnectorsResponse";
|
|
337
|
+
const _LTFR = "ListTagsForResource";
|
|
338
|
+
const _LTFRR = "ListTagsForResourceRequest";
|
|
339
|
+
const _LTFRRi = "ListTagsForResourceResponse";
|
|
340
|
+
const _M = "Message";
|
|
341
|
+
const _MDM = "MobileDeviceManagement";
|
|
818
342
|
const _MR = "MaxResults";
|
|
819
343
|
const _NT = "NextToken";
|
|
344
|
+
const _OIC = "OpenIdConfiguration";
|
|
345
|
+
const _P = "Password";
|
|
346
|
+
const _QC = "QuotaCode";
|
|
347
|
+
const _R = "Reason";
|
|
348
|
+
const _RA = "ResourceArn";
|
|
349
|
+
const _RI = "ResourceId";
|
|
350
|
+
const _RNFE = "ResourceNotFoundException";
|
|
351
|
+
const _RT = "ResourceType";
|
|
352
|
+
const _S = "Status";
|
|
353
|
+
const _SC = "ServiceCode";
|
|
354
|
+
const _SQEE = "ServiceQuotaExceededException";
|
|
355
|
+
const _SR = "StatusReason";
|
|
356
|
+
const _SS = "SensitiveString";
|
|
357
|
+
const _Su = "Subject";
|
|
358
|
+
const _T = "Type";
|
|
359
|
+
const _TE = "ThrottlingException";
|
|
820
360
|
const _TK = "TagKeys";
|
|
361
|
+
const _TR = "TagResource";
|
|
362
|
+
const _TRR = "TagResourceRequest";
|
|
363
|
+
const _Ta = "Tags";
|
|
364
|
+
const _UA = "UpdatedAt";
|
|
365
|
+
const _UR = "UntagResource";
|
|
366
|
+
const _URR = "UntagResourceRequest";
|
|
367
|
+
const _VE = "ValidationException";
|
|
368
|
+
const _c = "client";
|
|
369
|
+
const _e = "error";
|
|
370
|
+
const _h = "http";
|
|
371
|
+
const _hE = "httpError";
|
|
372
|
+
const _hQ = "httpQuery";
|
|
373
|
+
const _s = "server";
|
|
374
|
+
const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.pcaconnectorscep";
|
|
821
375
|
const _tK = "tagKeys";
|
|
376
|
+
const n0 = "com.amazonaws.pcaconnectorscep";
|
|
377
|
+
var SensitiveString = [0, n0, _SS, 8, 0];
|
|
378
|
+
var AccessDeniedException = [
|
|
379
|
+
-3,
|
|
380
|
+
n0,
|
|
381
|
+
_ADE,
|
|
382
|
+
{
|
|
383
|
+
[_e]: _c,
|
|
384
|
+
[_hE]: 403,
|
|
385
|
+
},
|
|
386
|
+
[_M],
|
|
387
|
+
[0],
|
|
388
|
+
];
|
|
389
|
+
schema.TypeRegistry.for(n0).registerError(AccessDeniedException, AccessDeniedException$1);
|
|
390
|
+
var BadRequestException = [
|
|
391
|
+
-3,
|
|
392
|
+
n0,
|
|
393
|
+
_BRE,
|
|
394
|
+
{
|
|
395
|
+
[_e]: _c,
|
|
396
|
+
[_hE]: 400,
|
|
397
|
+
},
|
|
398
|
+
[_M],
|
|
399
|
+
[0],
|
|
400
|
+
];
|
|
401
|
+
schema.TypeRegistry.for(n0).registerError(BadRequestException, BadRequestException$1);
|
|
402
|
+
var Challenge = [
|
|
403
|
+
3,
|
|
404
|
+
n0,
|
|
405
|
+
_C,
|
|
406
|
+
0,
|
|
407
|
+
[_A, _CA, _CAr, _UA, _P],
|
|
408
|
+
[0, 0, 4, 4, [() => SensitiveString, 0]],
|
|
409
|
+
];
|
|
410
|
+
var ChallengeMetadata = [3, n0, _CM, 0, [_A, _CA, _CAr, _UA], [0, 0, 4, 4]];
|
|
411
|
+
var ChallengeMetadataSummary = [3, n0, _CMS, 0, [_A, _CA, _CAr, _UA], [0, 0, 4, 4]];
|
|
412
|
+
var ConflictException = [
|
|
413
|
+
-3,
|
|
414
|
+
n0,
|
|
415
|
+
_CE,
|
|
416
|
+
{
|
|
417
|
+
[_e]: _c,
|
|
418
|
+
[_hE]: 409,
|
|
419
|
+
},
|
|
420
|
+
[_M, _RI, _RT],
|
|
421
|
+
[0, 0, 0],
|
|
422
|
+
];
|
|
423
|
+
schema.TypeRegistry.for(n0).registerError(ConflictException, ConflictException$1);
|
|
424
|
+
var Connector = [
|
|
425
|
+
3,
|
|
426
|
+
n0,
|
|
427
|
+
_Co,
|
|
428
|
+
0,
|
|
429
|
+
[_A, _CAA, _T, _MDM, _OIC, _S, _SR, _E, _CAr, _UA],
|
|
430
|
+
[0, 0, 0, () => MobileDeviceManagement, () => OpenIdConfiguration, 0, 0, 0, 4, 4],
|
|
431
|
+
];
|
|
432
|
+
var ConnectorSummary = [
|
|
433
|
+
3,
|
|
434
|
+
n0,
|
|
435
|
+
_CS,
|
|
436
|
+
0,
|
|
437
|
+
[_A, _CAA, _T, _MDM, _OIC, _S, _SR, _E, _CAr, _UA],
|
|
438
|
+
[0, 0, 0, () => MobileDeviceManagement, () => OpenIdConfiguration, 0, 0, 0, 4, 4],
|
|
439
|
+
];
|
|
440
|
+
var CreateChallengeRequest = [3, n0, _CCR, 0, [_CA, _CT, _Ta], [0, [0, 4], 128 | 0]];
|
|
441
|
+
var CreateChallengeResponse = [3, n0, _CCRr, 0, [_C], [[() => Challenge, 0]]];
|
|
442
|
+
var CreateConnectorRequest = [
|
|
443
|
+
3,
|
|
444
|
+
n0,
|
|
445
|
+
_CCRre,
|
|
446
|
+
0,
|
|
447
|
+
[_CAA, _MDM, _CT, _Ta],
|
|
448
|
+
[0, () => MobileDeviceManagement, [0, 4], 128 | 0],
|
|
449
|
+
];
|
|
450
|
+
var CreateConnectorResponse = [3, n0, _CCRrea, 0, [_CA], [0]];
|
|
451
|
+
var DeleteChallengeRequest = [3, n0, _DCR, 0, [_CAh], [[0, 1]]];
|
|
452
|
+
var DeleteConnectorRequest = [3, n0, _DCRe, 0, [_CA], [[0, 1]]];
|
|
453
|
+
var GetChallengeMetadataRequest = [3, n0, _GCMR, 0, [_CAh], [[0, 1]]];
|
|
454
|
+
var GetChallengeMetadataResponse = [3, n0, _GCMRe, 0, [_CM], [() => ChallengeMetadata]];
|
|
455
|
+
var GetChallengePasswordRequest = [3, n0, _GCPR, 0, [_CAh], [[0, 1]]];
|
|
456
|
+
var GetChallengePasswordResponse = [3, n0, _GCPRe, 0, [_P], [[() => SensitiveString, 0]]];
|
|
457
|
+
var GetConnectorRequest = [3, n0, _GCR, 0, [_CA], [[0, 1]]];
|
|
458
|
+
var GetConnectorResponse = [3, n0, _GCRe, 0, [_Co], [() => Connector]];
|
|
459
|
+
var InternalServerException = [
|
|
460
|
+
-3,
|
|
461
|
+
n0,
|
|
462
|
+
_ISE,
|
|
463
|
+
{
|
|
464
|
+
[_e]: _s,
|
|
465
|
+
[_hE]: 500,
|
|
466
|
+
},
|
|
467
|
+
[_M],
|
|
468
|
+
[0],
|
|
469
|
+
];
|
|
470
|
+
schema.TypeRegistry.for(n0).registerError(InternalServerException, InternalServerException$1);
|
|
471
|
+
var IntuneConfiguration = [3, n0, _IC, 0, [_AAI, _D], [0, 0]];
|
|
472
|
+
var ListChallengeMetadataRequest = [
|
|
473
|
+
3,
|
|
474
|
+
n0,
|
|
475
|
+
_LCMR,
|
|
476
|
+
0,
|
|
477
|
+
[_MR, _NT, _CA],
|
|
478
|
+
[
|
|
479
|
+
[
|
|
480
|
+
1,
|
|
481
|
+
{
|
|
482
|
+
[_hQ]: _MR,
|
|
483
|
+
},
|
|
484
|
+
],
|
|
485
|
+
[
|
|
486
|
+
0,
|
|
487
|
+
{
|
|
488
|
+
[_hQ]: _NT,
|
|
489
|
+
},
|
|
490
|
+
],
|
|
491
|
+
[
|
|
492
|
+
0,
|
|
493
|
+
{
|
|
494
|
+
[_hQ]: _CA,
|
|
495
|
+
},
|
|
496
|
+
],
|
|
497
|
+
],
|
|
498
|
+
];
|
|
499
|
+
var ListChallengeMetadataResponse = [
|
|
500
|
+
3,
|
|
501
|
+
n0,
|
|
502
|
+
_LCMRi,
|
|
503
|
+
0,
|
|
504
|
+
[_Ch, _NT],
|
|
505
|
+
[() => ChallengeMetadataList, 0],
|
|
506
|
+
];
|
|
507
|
+
var ListConnectorsRequest = [
|
|
508
|
+
3,
|
|
509
|
+
n0,
|
|
510
|
+
_LCR,
|
|
511
|
+
0,
|
|
512
|
+
[_MR, _NT],
|
|
513
|
+
[
|
|
514
|
+
[
|
|
515
|
+
1,
|
|
516
|
+
{
|
|
517
|
+
[_hQ]: _MR,
|
|
518
|
+
},
|
|
519
|
+
],
|
|
520
|
+
[
|
|
521
|
+
0,
|
|
522
|
+
{
|
|
523
|
+
[_hQ]: _NT,
|
|
524
|
+
},
|
|
525
|
+
],
|
|
526
|
+
],
|
|
527
|
+
];
|
|
528
|
+
var ListConnectorsResponse = [3, n0, _LCRi, 0, [_Con, _NT], [() => ConnectorList, 0]];
|
|
529
|
+
var ListTagsForResourceRequest = [3, n0, _LTFRR, 0, [_RA], [[0, 1]]];
|
|
530
|
+
var ListTagsForResourceResponse = [3, n0, _LTFRRi, 0, [_Ta], [128 | 0]];
|
|
531
|
+
var OpenIdConfiguration = [3, n0, _OIC, 0, [_I, _Su, _Au], [0, 0, 0]];
|
|
532
|
+
var ResourceNotFoundException = [
|
|
533
|
+
-3,
|
|
534
|
+
n0,
|
|
535
|
+
_RNFE,
|
|
536
|
+
{
|
|
537
|
+
[_e]: _c,
|
|
538
|
+
[_hE]: 404,
|
|
539
|
+
},
|
|
540
|
+
[_M, _RI, _RT],
|
|
541
|
+
[0, 0, 0],
|
|
542
|
+
];
|
|
543
|
+
schema.TypeRegistry.for(n0).registerError(ResourceNotFoundException, ResourceNotFoundException$1);
|
|
544
|
+
var ServiceQuotaExceededException = [
|
|
545
|
+
-3,
|
|
546
|
+
n0,
|
|
547
|
+
_SQEE,
|
|
548
|
+
{
|
|
549
|
+
[_e]: _c,
|
|
550
|
+
[_hE]: 402,
|
|
551
|
+
},
|
|
552
|
+
[_M, _RT, _SC, _QC],
|
|
553
|
+
[0, 0, 0, 0],
|
|
554
|
+
];
|
|
555
|
+
schema.TypeRegistry.for(n0).registerError(ServiceQuotaExceededException, ServiceQuotaExceededException$1);
|
|
556
|
+
var TagResourceRequest = [3, n0, _TRR, 0, [_RA, _Ta], [[0, 1], 128 | 0]];
|
|
557
|
+
var ThrottlingException = [
|
|
558
|
+
-3,
|
|
559
|
+
n0,
|
|
560
|
+
_TE,
|
|
561
|
+
{
|
|
562
|
+
[_e]: _c,
|
|
563
|
+
[_hE]: 429,
|
|
564
|
+
},
|
|
565
|
+
[_M],
|
|
566
|
+
[0],
|
|
567
|
+
];
|
|
568
|
+
schema.TypeRegistry.for(n0).registerError(ThrottlingException, ThrottlingException$1);
|
|
569
|
+
var UntagResourceRequest = [
|
|
570
|
+
3,
|
|
571
|
+
n0,
|
|
572
|
+
_URR,
|
|
573
|
+
0,
|
|
574
|
+
[_RA, _TK],
|
|
575
|
+
[
|
|
576
|
+
[0, 1],
|
|
577
|
+
[
|
|
578
|
+
64 | 0,
|
|
579
|
+
{
|
|
580
|
+
[_hQ]: _tK,
|
|
581
|
+
},
|
|
582
|
+
],
|
|
583
|
+
],
|
|
584
|
+
];
|
|
585
|
+
var ValidationException = [
|
|
586
|
+
-3,
|
|
587
|
+
n0,
|
|
588
|
+
_VE,
|
|
589
|
+
{
|
|
590
|
+
[_e]: _c,
|
|
591
|
+
[_hE]: 400,
|
|
592
|
+
},
|
|
593
|
+
[_M, _R],
|
|
594
|
+
[0, 0],
|
|
595
|
+
];
|
|
596
|
+
schema.TypeRegistry.for(n0).registerError(ValidationException, ValidationException$1);
|
|
597
|
+
var __Unit = "unit";
|
|
598
|
+
var PcaConnectorScepServiceException = [
|
|
599
|
+
-3,
|
|
600
|
+
_sm,
|
|
601
|
+
"PcaConnectorScepServiceException",
|
|
602
|
+
0,
|
|
603
|
+
[],
|
|
604
|
+
[],
|
|
605
|
+
];
|
|
606
|
+
schema.TypeRegistry.for(_sm).registerError(PcaConnectorScepServiceException, PcaConnectorScepServiceException$1);
|
|
607
|
+
var ChallengeMetadataList = [1, n0, _CML, 0, () => ChallengeMetadataSummary];
|
|
608
|
+
var ConnectorList = [1, n0, _CL, 0, () => ConnectorSummary];
|
|
609
|
+
var MobileDeviceManagement = [3, n0, _MDM, 0, [_In], [() => IntuneConfiguration]];
|
|
610
|
+
var CreateChallenge = [
|
|
611
|
+
9,
|
|
612
|
+
n0,
|
|
613
|
+
_CC,
|
|
614
|
+
{
|
|
615
|
+
[_h]: ["POST", "/challenges", 202],
|
|
616
|
+
},
|
|
617
|
+
() => CreateChallengeRequest,
|
|
618
|
+
() => CreateChallengeResponse,
|
|
619
|
+
];
|
|
620
|
+
var CreateConnector = [
|
|
621
|
+
9,
|
|
622
|
+
n0,
|
|
623
|
+
_CCr,
|
|
624
|
+
{
|
|
625
|
+
[_h]: ["POST", "/connectors", 202],
|
|
626
|
+
},
|
|
627
|
+
() => CreateConnectorRequest,
|
|
628
|
+
() => CreateConnectorResponse,
|
|
629
|
+
];
|
|
630
|
+
var DeleteChallenge = [
|
|
631
|
+
9,
|
|
632
|
+
n0,
|
|
633
|
+
_DC,
|
|
634
|
+
{
|
|
635
|
+
[_h]: ["DELETE", "/challenges/{ChallengeArn}", 202],
|
|
636
|
+
},
|
|
637
|
+
() => DeleteChallengeRequest,
|
|
638
|
+
() => __Unit,
|
|
639
|
+
];
|
|
640
|
+
var DeleteConnector = [
|
|
641
|
+
9,
|
|
642
|
+
n0,
|
|
643
|
+
_DCe,
|
|
644
|
+
{
|
|
645
|
+
[_h]: ["DELETE", "/connectors/{ConnectorArn}", 202],
|
|
646
|
+
},
|
|
647
|
+
() => DeleteConnectorRequest,
|
|
648
|
+
() => __Unit,
|
|
649
|
+
];
|
|
650
|
+
var GetChallengeMetadata = [
|
|
651
|
+
9,
|
|
652
|
+
n0,
|
|
653
|
+
_GCM,
|
|
654
|
+
{
|
|
655
|
+
[_h]: ["GET", "/challengeMetadata/{ChallengeArn}", 200],
|
|
656
|
+
},
|
|
657
|
+
() => GetChallengeMetadataRequest,
|
|
658
|
+
() => GetChallengeMetadataResponse,
|
|
659
|
+
];
|
|
660
|
+
var GetChallengePassword = [
|
|
661
|
+
9,
|
|
662
|
+
n0,
|
|
663
|
+
_GCP,
|
|
664
|
+
{
|
|
665
|
+
[_h]: ["GET", "/challengePasswords/{ChallengeArn}", 200],
|
|
666
|
+
},
|
|
667
|
+
() => GetChallengePasswordRequest,
|
|
668
|
+
() => GetChallengePasswordResponse,
|
|
669
|
+
];
|
|
670
|
+
var GetConnector = [
|
|
671
|
+
9,
|
|
672
|
+
n0,
|
|
673
|
+
_GC,
|
|
674
|
+
{
|
|
675
|
+
[_h]: ["GET", "/connectors/{ConnectorArn}", 200],
|
|
676
|
+
},
|
|
677
|
+
() => GetConnectorRequest,
|
|
678
|
+
() => GetConnectorResponse,
|
|
679
|
+
];
|
|
680
|
+
var ListChallengeMetadata = [
|
|
681
|
+
9,
|
|
682
|
+
n0,
|
|
683
|
+
_LCM,
|
|
684
|
+
{
|
|
685
|
+
[_h]: ["GET", "/challengeMetadata", 200],
|
|
686
|
+
},
|
|
687
|
+
() => ListChallengeMetadataRequest,
|
|
688
|
+
() => ListChallengeMetadataResponse,
|
|
689
|
+
];
|
|
690
|
+
var ListConnectors = [
|
|
691
|
+
9,
|
|
692
|
+
n0,
|
|
693
|
+
_LC,
|
|
694
|
+
{
|
|
695
|
+
[_h]: ["GET", "/connectors", 200],
|
|
696
|
+
},
|
|
697
|
+
() => ListConnectorsRequest,
|
|
698
|
+
() => ListConnectorsResponse,
|
|
699
|
+
];
|
|
700
|
+
var ListTagsForResource = [
|
|
701
|
+
9,
|
|
702
|
+
n0,
|
|
703
|
+
_LTFR,
|
|
704
|
+
{
|
|
705
|
+
[_h]: ["GET", "/tags/{ResourceArn}", 200],
|
|
706
|
+
},
|
|
707
|
+
() => ListTagsForResourceRequest,
|
|
708
|
+
() => ListTagsForResourceResponse,
|
|
709
|
+
];
|
|
710
|
+
var TagResource = [
|
|
711
|
+
9,
|
|
712
|
+
n0,
|
|
713
|
+
_TR,
|
|
714
|
+
{
|
|
715
|
+
[_h]: ["POST", "/tags/{ResourceArn}", 204],
|
|
716
|
+
},
|
|
717
|
+
() => TagResourceRequest,
|
|
718
|
+
() => __Unit,
|
|
719
|
+
];
|
|
720
|
+
var UntagResource = [
|
|
721
|
+
9,
|
|
722
|
+
n0,
|
|
723
|
+
_UR,
|
|
724
|
+
{
|
|
725
|
+
[_h]: ["DELETE", "/tags/{ResourceArn}", 204],
|
|
726
|
+
},
|
|
727
|
+
() => UntagResourceRequest,
|
|
728
|
+
() => __Unit,
|
|
729
|
+
];
|
|
822
730
|
|
|
823
731
|
class CreateChallengeCommand extends smithyClient.Command
|
|
824
732
|
.classBuilder()
|
|
825
733
|
.ep(commonParams)
|
|
826
734
|
.m(function (Command, cs, config, o) {
|
|
827
|
-
return [
|
|
828
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
829
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
830
|
-
];
|
|
735
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
831
736
|
})
|
|
832
737
|
.s("PcaConnectorScep", "CreateChallenge", {})
|
|
833
738
|
.n("PcaConnectorScepClient", "CreateChallengeCommand")
|
|
834
|
-
.
|
|
835
|
-
.ser(se_CreateChallengeCommand)
|
|
836
|
-
.de(de_CreateChallengeCommand)
|
|
739
|
+
.sc(CreateChallenge)
|
|
837
740
|
.build() {
|
|
838
741
|
}
|
|
839
742
|
|
|
@@ -841,16 +744,11 @@ class CreateConnectorCommand extends smithyClient.Command
|
|
|
841
744
|
.classBuilder()
|
|
842
745
|
.ep(commonParams)
|
|
843
746
|
.m(function (Command, cs, config, o) {
|
|
844
|
-
return [
|
|
845
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
846
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
847
|
-
];
|
|
747
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
848
748
|
})
|
|
849
749
|
.s("PcaConnectorScep", "CreateConnector", {})
|
|
850
750
|
.n("PcaConnectorScepClient", "CreateConnectorCommand")
|
|
851
|
-
.
|
|
852
|
-
.ser(se_CreateConnectorCommand)
|
|
853
|
-
.de(de_CreateConnectorCommand)
|
|
751
|
+
.sc(CreateConnector)
|
|
854
752
|
.build() {
|
|
855
753
|
}
|
|
856
754
|
|
|
@@ -858,16 +756,11 @@ class DeleteChallengeCommand extends smithyClient.Command
|
|
|
858
756
|
.classBuilder()
|
|
859
757
|
.ep(commonParams)
|
|
860
758
|
.m(function (Command, cs, config, o) {
|
|
861
|
-
return [
|
|
862
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
863
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
864
|
-
];
|
|
759
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
865
760
|
})
|
|
866
761
|
.s("PcaConnectorScep", "DeleteChallenge", {})
|
|
867
762
|
.n("PcaConnectorScepClient", "DeleteChallengeCommand")
|
|
868
|
-
.
|
|
869
|
-
.ser(se_DeleteChallengeCommand)
|
|
870
|
-
.de(de_DeleteChallengeCommand)
|
|
763
|
+
.sc(DeleteChallenge)
|
|
871
764
|
.build() {
|
|
872
765
|
}
|
|
873
766
|
|
|
@@ -875,16 +768,11 @@ class DeleteConnectorCommand extends smithyClient.Command
|
|
|
875
768
|
.classBuilder()
|
|
876
769
|
.ep(commonParams)
|
|
877
770
|
.m(function (Command, cs, config, o) {
|
|
878
|
-
return [
|
|
879
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
880
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
881
|
-
];
|
|
771
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
882
772
|
})
|
|
883
773
|
.s("PcaConnectorScep", "DeleteConnector", {})
|
|
884
774
|
.n("PcaConnectorScepClient", "DeleteConnectorCommand")
|
|
885
|
-
.
|
|
886
|
-
.ser(se_DeleteConnectorCommand)
|
|
887
|
-
.de(de_DeleteConnectorCommand)
|
|
775
|
+
.sc(DeleteConnector)
|
|
888
776
|
.build() {
|
|
889
777
|
}
|
|
890
778
|
|
|
@@ -892,16 +780,11 @@ class GetChallengeMetadataCommand extends smithyClient.Command
|
|
|
892
780
|
.classBuilder()
|
|
893
781
|
.ep(commonParams)
|
|
894
782
|
.m(function (Command, cs, config, o) {
|
|
895
|
-
return [
|
|
896
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
897
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
898
|
-
];
|
|
783
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
899
784
|
})
|
|
900
785
|
.s("PcaConnectorScep", "GetChallengeMetadata", {})
|
|
901
786
|
.n("PcaConnectorScepClient", "GetChallengeMetadataCommand")
|
|
902
|
-
.
|
|
903
|
-
.ser(se_GetChallengeMetadataCommand)
|
|
904
|
-
.de(de_GetChallengeMetadataCommand)
|
|
787
|
+
.sc(GetChallengeMetadata)
|
|
905
788
|
.build() {
|
|
906
789
|
}
|
|
907
790
|
|
|
@@ -909,16 +792,11 @@ class GetChallengePasswordCommand extends smithyClient.Command
|
|
|
909
792
|
.classBuilder()
|
|
910
793
|
.ep(commonParams)
|
|
911
794
|
.m(function (Command, cs, config, o) {
|
|
912
|
-
return [
|
|
913
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
914
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
915
|
-
];
|
|
795
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
916
796
|
})
|
|
917
797
|
.s("PcaConnectorScep", "GetChallengePassword", {})
|
|
918
798
|
.n("PcaConnectorScepClient", "GetChallengePasswordCommand")
|
|
919
|
-
.
|
|
920
|
-
.ser(se_GetChallengePasswordCommand)
|
|
921
|
-
.de(de_GetChallengePasswordCommand)
|
|
799
|
+
.sc(GetChallengePassword)
|
|
922
800
|
.build() {
|
|
923
801
|
}
|
|
924
802
|
|
|
@@ -926,16 +804,11 @@ class GetConnectorCommand extends smithyClient.Command
|
|
|
926
804
|
.classBuilder()
|
|
927
805
|
.ep(commonParams)
|
|
928
806
|
.m(function (Command, cs, config, o) {
|
|
929
|
-
return [
|
|
930
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
931
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
932
|
-
];
|
|
807
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
933
808
|
})
|
|
934
809
|
.s("PcaConnectorScep", "GetConnector", {})
|
|
935
810
|
.n("PcaConnectorScepClient", "GetConnectorCommand")
|
|
936
|
-
.
|
|
937
|
-
.ser(se_GetConnectorCommand)
|
|
938
|
-
.de(de_GetConnectorCommand)
|
|
811
|
+
.sc(GetConnector)
|
|
939
812
|
.build() {
|
|
940
813
|
}
|
|
941
814
|
|
|
@@ -943,16 +816,11 @@ class ListChallengeMetadataCommand extends smithyClient.Command
|
|
|
943
816
|
.classBuilder()
|
|
944
817
|
.ep(commonParams)
|
|
945
818
|
.m(function (Command, cs, config, o) {
|
|
946
|
-
return [
|
|
947
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
948
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
949
|
-
];
|
|
819
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
950
820
|
})
|
|
951
821
|
.s("PcaConnectorScep", "ListChallengeMetadata", {})
|
|
952
822
|
.n("PcaConnectorScepClient", "ListChallengeMetadataCommand")
|
|
953
|
-
.
|
|
954
|
-
.ser(se_ListChallengeMetadataCommand)
|
|
955
|
-
.de(de_ListChallengeMetadataCommand)
|
|
823
|
+
.sc(ListChallengeMetadata)
|
|
956
824
|
.build() {
|
|
957
825
|
}
|
|
958
826
|
|
|
@@ -960,16 +828,11 @@ class ListConnectorsCommand extends smithyClient.Command
|
|
|
960
828
|
.classBuilder()
|
|
961
829
|
.ep(commonParams)
|
|
962
830
|
.m(function (Command, cs, config, o) {
|
|
963
|
-
return [
|
|
964
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
965
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
966
|
-
];
|
|
831
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
967
832
|
})
|
|
968
833
|
.s("PcaConnectorScep", "ListConnectors", {})
|
|
969
834
|
.n("PcaConnectorScepClient", "ListConnectorsCommand")
|
|
970
|
-
.
|
|
971
|
-
.ser(se_ListConnectorsCommand)
|
|
972
|
-
.de(de_ListConnectorsCommand)
|
|
835
|
+
.sc(ListConnectors)
|
|
973
836
|
.build() {
|
|
974
837
|
}
|
|
975
838
|
|
|
@@ -977,16 +840,11 @@ class ListTagsForResourceCommand extends smithyClient.Command
|
|
|
977
840
|
.classBuilder()
|
|
978
841
|
.ep(commonParams)
|
|
979
842
|
.m(function (Command, cs, config, o) {
|
|
980
|
-
return [
|
|
981
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
982
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
983
|
-
];
|
|
843
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
984
844
|
})
|
|
985
845
|
.s("PcaConnectorScep", "ListTagsForResource", {})
|
|
986
846
|
.n("PcaConnectorScepClient", "ListTagsForResourceCommand")
|
|
987
|
-
.
|
|
988
|
-
.ser(se_ListTagsForResourceCommand)
|
|
989
|
-
.de(de_ListTagsForResourceCommand)
|
|
847
|
+
.sc(ListTagsForResource)
|
|
990
848
|
.build() {
|
|
991
849
|
}
|
|
992
850
|
|
|
@@ -994,16 +852,11 @@ class TagResourceCommand extends smithyClient.Command
|
|
|
994
852
|
.classBuilder()
|
|
995
853
|
.ep(commonParams)
|
|
996
854
|
.m(function (Command, cs, config, o) {
|
|
997
|
-
return [
|
|
998
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
999
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1000
|
-
];
|
|
855
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1001
856
|
})
|
|
1002
857
|
.s("PcaConnectorScep", "TagResource", {})
|
|
1003
858
|
.n("PcaConnectorScepClient", "TagResourceCommand")
|
|
1004
|
-
.
|
|
1005
|
-
.ser(se_TagResourceCommand)
|
|
1006
|
-
.de(de_TagResourceCommand)
|
|
859
|
+
.sc(TagResource)
|
|
1007
860
|
.build() {
|
|
1008
861
|
}
|
|
1009
862
|
|
|
@@ -1011,16 +864,11 @@ class UntagResourceCommand extends smithyClient.Command
|
|
|
1011
864
|
.classBuilder()
|
|
1012
865
|
.ep(commonParams)
|
|
1013
866
|
.m(function (Command, cs, config, o) {
|
|
1014
|
-
return [
|
|
1015
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1016
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
1017
|
-
];
|
|
867
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
1018
868
|
})
|
|
1019
869
|
.s("PcaConnectorScep", "UntagResource", {})
|
|
1020
870
|
.n("PcaConnectorScepClient", "UntagResourceCommand")
|
|
1021
|
-
.
|
|
1022
|
-
.ser(se_UntagResourceCommand)
|
|
1023
|
-
.de(de_UntagResourceCommand)
|
|
871
|
+
.sc(UntagResource)
|
|
1024
872
|
.build() {
|
|
1025
873
|
}
|
|
1026
874
|
|
|
@@ -1054,35 +902,32 @@ Object.defineProperty(exports, "__Client", {
|
|
|
1054
902
|
enumerable: true,
|
|
1055
903
|
get: function () { return smithyClient.Client; }
|
|
1056
904
|
});
|
|
1057
|
-
exports.AccessDeniedException = AccessDeniedException;
|
|
1058
|
-
exports.BadRequestException = BadRequestException;
|
|
1059
|
-
exports.
|
|
1060
|
-
exports.ConflictException = ConflictException;
|
|
905
|
+
exports.AccessDeniedException = AccessDeniedException$1;
|
|
906
|
+
exports.BadRequestException = BadRequestException$1;
|
|
907
|
+
exports.ConflictException = ConflictException$1;
|
|
1061
908
|
exports.ConnectorStatus = ConnectorStatus;
|
|
1062
909
|
exports.ConnectorStatusReason = ConnectorStatusReason;
|
|
1063
910
|
exports.ConnectorType = ConnectorType;
|
|
1064
911
|
exports.CreateChallengeCommand = CreateChallengeCommand;
|
|
1065
|
-
exports.CreateChallengeResponseFilterSensitiveLog = CreateChallengeResponseFilterSensitiveLog;
|
|
1066
912
|
exports.CreateConnectorCommand = CreateConnectorCommand;
|
|
1067
913
|
exports.DeleteChallengeCommand = DeleteChallengeCommand;
|
|
1068
914
|
exports.DeleteConnectorCommand = DeleteConnectorCommand;
|
|
1069
915
|
exports.GetChallengeMetadataCommand = GetChallengeMetadataCommand;
|
|
1070
916
|
exports.GetChallengePasswordCommand = GetChallengePasswordCommand;
|
|
1071
|
-
exports.GetChallengePasswordResponseFilterSensitiveLog = GetChallengePasswordResponseFilterSensitiveLog;
|
|
1072
917
|
exports.GetConnectorCommand = GetConnectorCommand;
|
|
1073
|
-
exports.InternalServerException = InternalServerException;
|
|
918
|
+
exports.InternalServerException = InternalServerException$1;
|
|
1074
919
|
exports.ListChallengeMetadataCommand = ListChallengeMetadataCommand;
|
|
1075
920
|
exports.ListConnectorsCommand = ListConnectorsCommand;
|
|
1076
921
|
exports.ListTagsForResourceCommand = ListTagsForResourceCommand;
|
|
1077
922
|
exports.PcaConnectorScep = PcaConnectorScep;
|
|
1078
923
|
exports.PcaConnectorScepClient = PcaConnectorScepClient;
|
|
1079
|
-
exports.PcaConnectorScepServiceException = PcaConnectorScepServiceException;
|
|
1080
|
-
exports.ResourceNotFoundException = ResourceNotFoundException;
|
|
1081
|
-
exports.ServiceQuotaExceededException = ServiceQuotaExceededException;
|
|
924
|
+
exports.PcaConnectorScepServiceException = PcaConnectorScepServiceException$1;
|
|
925
|
+
exports.ResourceNotFoundException = ResourceNotFoundException$1;
|
|
926
|
+
exports.ServiceQuotaExceededException = ServiceQuotaExceededException$1;
|
|
1082
927
|
exports.TagResourceCommand = TagResourceCommand;
|
|
1083
|
-
exports.ThrottlingException = ThrottlingException;
|
|
928
|
+
exports.ThrottlingException = ThrottlingException$1;
|
|
1084
929
|
exports.UntagResourceCommand = UntagResourceCommand;
|
|
1085
|
-
exports.ValidationException = ValidationException;
|
|
930
|
+
exports.ValidationException = ValidationException$1;
|
|
1086
931
|
exports.ValidationExceptionReason = ValidationExceptionReason;
|
|
1087
932
|
exports.paginateListChallengeMetadata = paginateListChallengeMetadata;
|
|
1088
933
|
exports.paginateListConnectors = paginateListConnectors;
|