@aws-sdk/client-pca-connector-scep 3.987.0 → 3.989.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.
@@ -0,0 +1,144 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ValidationException = exports.ThrottlingException = exports.ServiceQuotaExceededException = exports.ResourceNotFoundException = exports.InternalServerException = exports.ConflictException = exports.BadRequestException = exports.AccessDeniedException = void 0;
4
+ const PcaConnectorScepServiceException_1 = require("./PcaConnectorScepServiceException");
5
+ class AccessDeniedException extends PcaConnectorScepServiceException_1.PcaConnectorScepServiceException {
6
+ name = "AccessDeniedException";
7
+ $fault = "client";
8
+ Message;
9
+ constructor(opts) {
10
+ super({
11
+ name: "AccessDeniedException",
12
+ $fault: "client",
13
+ ...opts,
14
+ });
15
+ Object.setPrototypeOf(this, AccessDeniedException.prototype);
16
+ this.Message = opts.Message;
17
+ }
18
+ }
19
+ exports.AccessDeniedException = AccessDeniedException;
20
+ class BadRequestException extends PcaConnectorScepServiceException_1.PcaConnectorScepServiceException {
21
+ name = "BadRequestException";
22
+ $fault = "client";
23
+ Message;
24
+ constructor(opts) {
25
+ super({
26
+ name: "BadRequestException",
27
+ $fault: "client",
28
+ ...opts,
29
+ });
30
+ Object.setPrototypeOf(this, BadRequestException.prototype);
31
+ this.Message = opts.Message;
32
+ }
33
+ }
34
+ exports.BadRequestException = BadRequestException;
35
+ class ConflictException extends PcaConnectorScepServiceException_1.PcaConnectorScepServiceException {
36
+ name = "ConflictException";
37
+ $fault = "client";
38
+ Message;
39
+ ResourceId;
40
+ ResourceType;
41
+ constructor(opts) {
42
+ super({
43
+ name: "ConflictException",
44
+ $fault: "client",
45
+ ...opts,
46
+ });
47
+ Object.setPrototypeOf(this, ConflictException.prototype);
48
+ this.Message = opts.Message;
49
+ this.ResourceId = opts.ResourceId;
50
+ this.ResourceType = opts.ResourceType;
51
+ }
52
+ }
53
+ exports.ConflictException = ConflictException;
54
+ class InternalServerException extends PcaConnectorScepServiceException_1.PcaConnectorScepServiceException {
55
+ name = "InternalServerException";
56
+ $fault = "server";
57
+ $retryable = {};
58
+ Message;
59
+ constructor(opts) {
60
+ super({
61
+ name: "InternalServerException",
62
+ $fault: "server",
63
+ ...opts,
64
+ });
65
+ Object.setPrototypeOf(this, InternalServerException.prototype);
66
+ this.Message = opts.Message;
67
+ }
68
+ }
69
+ exports.InternalServerException = InternalServerException;
70
+ class ResourceNotFoundException extends PcaConnectorScepServiceException_1.PcaConnectorScepServiceException {
71
+ name = "ResourceNotFoundException";
72
+ $fault = "client";
73
+ Message;
74
+ ResourceId;
75
+ ResourceType;
76
+ constructor(opts) {
77
+ super({
78
+ name: "ResourceNotFoundException",
79
+ $fault: "client",
80
+ ...opts,
81
+ });
82
+ Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
83
+ this.Message = opts.Message;
84
+ this.ResourceId = opts.ResourceId;
85
+ this.ResourceType = opts.ResourceType;
86
+ }
87
+ }
88
+ exports.ResourceNotFoundException = ResourceNotFoundException;
89
+ class ServiceQuotaExceededException extends PcaConnectorScepServiceException_1.PcaConnectorScepServiceException {
90
+ name = "ServiceQuotaExceededException";
91
+ $fault = "client";
92
+ Message;
93
+ ResourceType;
94
+ ServiceCode;
95
+ QuotaCode;
96
+ constructor(opts) {
97
+ super({
98
+ name: "ServiceQuotaExceededException",
99
+ $fault: "client",
100
+ ...opts,
101
+ });
102
+ Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
103
+ this.Message = opts.Message;
104
+ this.ResourceType = opts.ResourceType;
105
+ this.ServiceCode = opts.ServiceCode;
106
+ this.QuotaCode = opts.QuotaCode;
107
+ }
108
+ }
109
+ exports.ServiceQuotaExceededException = ServiceQuotaExceededException;
110
+ class ThrottlingException extends PcaConnectorScepServiceException_1.PcaConnectorScepServiceException {
111
+ name = "ThrottlingException";
112
+ $fault = "client";
113
+ $retryable = {
114
+ throttling: true,
115
+ };
116
+ Message;
117
+ constructor(opts) {
118
+ super({
119
+ name: "ThrottlingException",
120
+ $fault: "client",
121
+ ...opts,
122
+ });
123
+ Object.setPrototypeOf(this, ThrottlingException.prototype);
124
+ this.Message = opts.Message;
125
+ }
126
+ }
127
+ exports.ThrottlingException = ThrottlingException;
128
+ class ValidationException extends PcaConnectorScepServiceException_1.PcaConnectorScepServiceException {
129
+ name = "ValidationException";
130
+ $fault = "client";
131
+ Message;
132
+ Reason;
133
+ constructor(opts) {
134
+ super({
135
+ name: "ValidationException",
136
+ $fault: "client",
137
+ ...opts,
138
+ });
139
+ Object.setPrototypeOf(this, ValidationException.prototype);
140
+ this.Message = opts.Message;
141
+ this.Reason = opts.Reason;
142
+ }
143
+ }
144
+ exports.ValidationException = ValidationException;
@@ -9,6 +9,7 @@ const util_base64_1 = require("@smithy/util-base64");
9
9
  const util_utf8_1 = require("@smithy/util-utf8");
10
10
  const httpAuthSchemeProvider_1 = require("./auth/httpAuthSchemeProvider");
11
11
  const endpointResolver_1 = require("./endpoint/endpointResolver");
12
+ const schemas_0_1 = require("./schemas/schemas_0");
12
13
  const getRuntimeConfig = (config) => {
13
14
  return {
14
15
  apiVersion: "2018-05-10",
@@ -29,6 +30,7 @@ const getRuntimeConfig = (config) => {
29
30
  protocol: config?.protocol ?? protocols_1.AwsRestJsonProtocol,
30
31
  protocolSettings: config?.protocolSettings ?? {
31
32
  defaultNamespace: "com.amazonaws.pcaconnectorscep",
33
+ errorTypeRegistries: schemas_0_1.errorTypeRegistries,
32
34
  version: "2018-05-10",
33
35
  serviceTarget: "PcaConnectorScep",
34
36
  },
@@ -0,0 +1,339 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.UntagResource$ = exports.TagResource$ = exports.ListTagsForResource$ = exports.ListConnectors$ = exports.ListChallengeMetadata$ = exports.GetConnector$ = exports.GetChallengePassword$ = exports.GetChallengeMetadata$ = exports.DeleteConnector$ = exports.DeleteChallenge$ = exports.CreateConnector$ = exports.CreateChallenge$ = exports.MobileDeviceManagement$ = exports.UntagResourceRequest$ = exports.TagResourceRequest$ = exports.OpenIdConfiguration$ = exports.ListTagsForResourceResponse$ = exports.ListTagsForResourceRequest$ = exports.ListConnectorsResponse$ = exports.ListConnectorsRequest$ = exports.ListChallengeMetadataResponse$ = exports.ListChallengeMetadataRequest$ = exports.IntuneConfiguration$ = exports.GetConnectorResponse$ = exports.GetConnectorRequest$ = exports.GetChallengePasswordResponse$ = exports.GetChallengePasswordRequest$ = exports.GetChallengeMetadataResponse$ = exports.GetChallengeMetadataRequest$ = exports.DeleteConnectorRequest$ = exports.DeleteChallengeRequest$ = exports.CreateConnectorResponse$ = exports.CreateConnectorRequest$ = exports.CreateChallengeResponse$ = exports.CreateChallengeRequest$ = exports.ConnectorSummary$ = exports.Connector$ = exports.ChallengeMetadataSummary$ = exports.ChallengeMetadata$ = exports.Challenge$ = exports.errorTypeRegistries = exports.ValidationException$ = exports.ThrottlingException$ = exports.ServiceQuotaExceededException$ = exports.ResourceNotFoundException$ = exports.InternalServerException$ = exports.ConflictException$ = exports.BadRequestException$ = exports.AccessDeniedException$ = exports.PcaConnectorScepServiceException$ = void 0;
4
+ const _A = "Arn";
5
+ const _AAI = "AzureApplicationId";
6
+ const _ADE = "AccessDeniedException";
7
+ const _Au = "Audience";
8
+ const _BRE = "BadRequestException";
9
+ const _C = "Challenge";
10
+ const _CA = "ConnectorArn";
11
+ const _CAA = "CertificateAuthorityArn";
12
+ const _CAh = "ChallengeArn";
13
+ const _CAr = "CreatedAt";
14
+ const _CC = "CreateChallenge";
15
+ const _CCR = "CreateChallengeRequest";
16
+ const _CCRr = "CreateChallengeResponse";
17
+ const _CCRre = "CreateConnectorRequest";
18
+ const _CCRrea = "CreateConnectorResponse";
19
+ const _CCr = "CreateConnector";
20
+ const _CE = "ConflictException";
21
+ const _CL = "ConnectorList";
22
+ const _CM = "ChallengeMetadata";
23
+ const _CML = "ChallengeMetadataList";
24
+ const _CMS = "ChallengeMetadataSummary";
25
+ const _CS = "ConnectorSummary";
26
+ const _CT = "ClientToken";
27
+ const _Ch = "Challenges";
28
+ const _Co = "Connector";
29
+ const _Con = "Connectors";
30
+ const _D = "Domain";
31
+ const _DC = "DeleteChallenge";
32
+ const _DCR = "DeleteChallengeRequest";
33
+ const _DCRe = "DeleteConnectorRequest";
34
+ const _DCe = "DeleteConnector";
35
+ const _E = "Endpoint";
36
+ const _GC = "GetConnector";
37
+ const _GCM = "GetChallengeMetadata";
38
+ const _GCMR = "GetChallengeMetadataRequest";
39
+ const _GCMRe = "GetChallengeMetadataResponse";
40
+ const _GCP = "GetChallengePassword";
41
+ const _GCPR = "GetChallengePasswordRequest";
42
+ const _GCPRe = "GetChallengePasswordResponse";
43
+ const _GCR = "GetConnectorRequest";
44
+ const _GCRe = "GetConnectorResponse";
45
+ const _I = "Issuer";
46
+ const _IC = "IntuneConfiguration";
47
+ const _ISE = "InternalServerException";
48
+ const _In = "Intune";
49
+ const _LC = "ListConnectors";
50
+ const _LCM = "ListChallengeMetadata";
51
+ const _LCMR = "ListChallengeMetadataRequest";
52
+ const _LCMRi = "ListChallengeMetadataResponse";
53
+ const _LCR = "ListConnectorsRequest";
54
+ const _LCRi = "ListConnectorsResponse";
55
+ const _LTFR = "ListTagsForResource";
56
+ const _LTFRR = "ListTagsForResourceRequest";
57
+ const _LTFRRi = "ListTagsForResourceResponse";
58
+ const _M = "Message";
59
+ const _MDM = "MobileDeviceManagement";
60
+ const _MR = "MaxResults";
61
+ const _NT = "NextToken";
62
+ const _OIC = "OpenIdConfiguration";
63
+ const _P = "Password";
64
+ const _QC = "QuotaCode";
65
+ const _R = "Reason";
66
+ const _RA = "ResourceArn";
67
+ const _RI = "ResourceId";
68
+ const _RNFE = "ResourceNotFoundException";
69
+ const _RT = "ResourceType";
70
+ const _S = "Status";
71
+ const _SC = "ServiceCode";
72
+ const _SQEE = "ServiceQuotaExceededException";
73
+ const _SR = "StatusReason";
74
+ const _SS = "SensitiveString";
75
+ const _Su = "Subject";
76
+ const _T = "Type";
77
+ const _TE = "ThrottlingException";
78
+ const _TK = "TagKeys";
79
+ const _TR = "TagResource";
80
+ const _TRR = "TagResourceRequest";
81
+ const _Ta = "Tags";
82
+ const _UA = "UpdatedAt";
83
+ const _UR = "UntagResource";
84
+ const _URR = "UntagResourceRequest";
85
+ const _VE = "ValidationException";
86
+ const _c = "client";
87
+ const _e = "error";
88
+ const _h = "http";
89
+ const _hE = "httpError";
90
+ const _hQ = "httpQuery";
91
+ const _s = "smithy.ts.sdk.synthetic.com.amazonaws.pcaconnectorscep";
92
+ const _se = "server";
93
+ const _tK = "tagKeys";
94
+ const n0 = "com.amazonaws.pcaconnectorscep";
95
+ const schema_1 = require("@smithy/core/schema");
96
+ const errors_1 = require("../models/errors");
97
+ const PcaConnectorScepServiceException_1 = require("../models/PcaConnectorScepServiceException");
98
+ const _s_registry = schema_1.TypeRegistry.for(_s);
99
+ exports.PcaConnectorScepServiceException$ = [-3, _s, "PcaConnectorScepServiceException", 0, [], []];
100
+ _s_registry.registerError(exports.PcaConnectorScepServiceException$, PcaConnectorScepServiceException_1.PcaConnectorScepServiceException);
101
+ const n0_registry = schema_1.TypeRegistry.for(n0);
102
+ exports.AccessDeniedException$ = [-3, n0, _ADE,
103
+ { [_e]: _c, [_hE]: 403 },
104
+ [_M],
105
+ [0], 1
106
+ ];
107
+ n0_registry.registerError(exports.AccessDeniedException$, errors_1.AccessDeniedException);
108
+ exports.BadRequestException$ = [-3, n0, _BRE,
109
+ { [_e]: _c, [_hE]: 400 },
110
+ [_M],
111
+ [0], 1
112
+ ];
113
+ n0_registry.registerError(exports.BadRequestException$, errors_1.BadRequestException);
114
+ exports.ConflictException$ = [-3, n0, _CE,
115
+ { [_e]: _c, [_hE]: 409 },
116
+ [_M, _RI, _RT],
117
+ [0, 0, 0], 3
118
+ ];
119
+ n0_registry.registerError(exports.ConflictException$, errors_1.ConflictException);
120
+ exports.InternalServerException$ = [-3, n0, _ISE,
121
+ { [_e]: _se, [_hE]: 500 },
122
+ [_M],
123
+ [0], 1
124
+ ];
125
+ n0_registry.registerError(exports.InternalServerException$, errors_1.InternalServerException);
126
+ exports.ResourceNotFoundException$ = [-3, n0, _RNFE,
127
+ { [_e]: _c, [_hE]: 404 },
128
+ [_M, _RI, _RT],
129
+ [0, 0, 0], 3
130
+ ];
131
+ n0_registry.registerError(exports.ResourceNotFoundException$, errors_1.ResourceNotFoundException);
132
+ exports.ServiceQuotaExceededException$ = [-3, n0, _SQEE,
133
+ { [_e]: _c, [_hE]: 402 },
134
+ [_M, _RT, _SC, _QC],
135
+ [0, 0, 0, 0], 4
136
+ ];
137
+ n0_registry.registerError(exports.ServiceQuotaExceededException$, errors_1.ServiceQuotaExceededException);
138
+ exports.ThrottlingException$ = [-3, n0, _TE,
139
+ { [_e]: _c, [_hE]: 429 },
140
+ [_M],
141
+ [0], 1
142
+ ];
143
+ n0_registry.registerError(exports.ThrottlingException$, errors_1.ThrottlingException);
144
+ exports.ValidationException$ = [-3, n0, _VE,
145
+ { [_e]: _c, [_hE]: 400 },
146
+ [_M, _R],
147
+ [0, 0], 1
148
+ ];
149
+ n0_registry.registerError(exports.ValidationException$, errors_1.ValidationException);
150
+ exports.errorTypeRegistries = [
151
+ _s_registry,
152
+ n0_registry,
153
+ ];
154
+ var SensitiveString = [0, n0, _SS, 8, 0];
155
+ exports.Challenge$ = [3, n0, _C,
156
+ 0,
157
+ [_A, _CA, _CAr, _UA, _P],
158
+ [0, 0, 4, 4, [() => SensitiveString, 0]]
159
+ ];
160
+ exports.ChallengeMetadata$ = [3, n0, _CM,
161
+ 0,
162
+ [_A, _CA, _CAr, _UA],
163
+ [0, 0, 4, 4]
164
+ ];
165
+ exports.ChallengeMetadataSummary$ = [3, n0, _CMS,
166
+ 0,
167
+ [_A, _CA, _CAr, _UA],
168
+ [0, 0, 4, 4]
169
+ ];
170
+ exports.Connector$ = [3, n0, _Co,
171
+ 0,
172
+ [_A, _CAA, _T, _MDM, _OIC, _S, _SR, _E, _CAr, _UA],
173
+ [0, 0, 0, () => exports.MobileDeviceManagement$, () => exports.OpenIdConfiguration$, 0, 0, 0, 4, 4]
174
+ ];
175
+ exports.ConnectorSummary$ = [3, n0, _CS,
176
+ 0,
177
+ [_A, _CAA, _T, _MDM, _OIC, _S, _SR, _E, _CAr, _UA],
178
+ [0, 0, 0, () => exports.MobileDeviceManagement$, () => exports.OpenIdConfiguration$, 0, 0, 0, 4, 4]
179
+ ];
180
+ exports.CreateChallengeRequest$ = [3, n0, _CCR,
181
+ 0,
182
+ [_CA, _CT, _Ta],
183
+ [0, [0, 4], 128 | 0], 1
184
+ ];
185
+ exports.CreateChallengeResponse$ = [3, n0, _CCRr,
186
+ 0,
187
+ [_C],
188
+ [[() => exports.Challenge$, 0]]
189
+ ];
190
+ exports.CreateConnectorRequest$ = [3, n0, _CCRre,
191
+ 0,
192
+ [_CAA, _MDM, _CT, _Ta],
193
+ [0, () => exports.MobileDeviceManagement$, [0, 4], 128 | 0], 1
194
+ ];
195
+ exports.CreateConnectorResponse$ = [3, n0, _CCRrea,
196
+ 0,
197
+ [_CA],
198
+ [0]
199
+ ];
200
+ exports.DeleteChallengeRequest$ = [3, n0, _DCR,
201
+ 0,
202
+ [_CAh],
203
+ [[0, 1]], 1
204
+ ];
205
+ exports.DeleteConnectorRequest$ = [3, n0, _DCRe,
206
+ 0,
207
+ [_CA],
208
+ [[0, 1]], 1
209
+ ];
210
+ exports.GetChallengeMetadataRequest$ = [3, n0, _GCMR,
211
+ 0,
212
+ [_CAh],
213
+ [[0, 1]], 1
214
+ ];
215
+ exports.GetChallengeMetadataResponse$ = [3, n0, _GCMRe,
216
+ 0,
217
+ [_CM],
218
+ [() => exports.ChallengeMetadata$]
219
+ ];
220
+ exports.GetChallengePasswordRequest$ = [3, n0, _GCPR,
221
+ 0,
222
+ [_CAh],
223
+ [[0, 1]], 1
224
+ ];
225
+ exports.GetChallengePasswordResponse$ = [3, n0, _GCPRe,
226
+ 0,
227
+ [_P],
228
+ [[() => SensitiveString, 0]]
229
+ ];
230
+ exports.GetConnectorRequest$ = [3, n0, _GCR,
231
+ 0,
232
+ [_CA],
233
+ [[0, 1]], 1
234
+ ];
235
+ exports.GetConnectorResponse$ = [3, n0, _GCRe,
236
+ 0,
237
+ [_Co],
238
+ [() => exports.Connector$]
239
+ ];
240
+ exports.IntuneConfiguration$ = [3, n0, _IC,
241
+ 0,
242
+ [_AAI, _D],
243
+ [0, 0], 2
244
+ ];
245
+ exports.ListChallengeMetadataRequest$ = [3, n0, _LCMR,
246
+ 0,
247
+ [_CA, _MR, _NT],
248
+ [[0, { [_hQ]: _CA }], [1, { [_hQ]: _MR }], [0, { [_hQ]: _NT }]], 1
249
+ ];
250
+ exports.ListChallengeMetadataResponse$ = [3, n0, _LCMRi,
251
+ 0,
252
+ [_Ch, _NT],
253
+ [() => ChallengeMetadataList, 0]
254
+ ];
255
+ exports.ListConnectorsRequest$ = [3, n0, _LCR,
256
+ 0,
257
+ [_MR, _NT],
258
+ [[1, { [_hQ]: _MR }], [0, { [_hQ]: _NT }]]
259
+ ];
260
+ exports.ListConnectorsResponse$ = [3, n0, _LCRi,
261
+ 0,
262
+ [_Con, _NT],
263
+ [() => ConnectorList, 0]
264
+ ];
265
+ exports.ListTagsForResourceRequest$ = [3, n0, _LTFRR,
266
+ 0,
267
+ [_RA],
268
+ [[0, 1]], 1
269
+ ];
270
+ exports.ListTagsForResourceResponse$ = [3, n0, _LTFRRi,
271
+ 0,
272
+ [_Ta],
273
+ [128 | 0]
274
+ ];
275
+ exports.OpenIdConfiguration$ = [3, n0, _OIC,
276
+ 0,
277
+ [_I, _Su, _Au],
278
+ [0, 0, 0]
279
+ ];
280
+ exports.TagResourceRequest$ = [3, n0, _TRR,
281
+ 0,
282
+ [_RA, _Ta],
283
+ [[0, 1], 128 | 0], 2
284
+ ];
285
+ exports.UntagResourceRequest$ = [3, n0, _URR,
286
+ 0,
287
+ [_RA, _TK],
288
+ [[0, 1], [64 | 0, { [_hQ]: _tK }]], 2
289
+ ];
290
+ var __Unit = "unit";
291
+ var ChallengeMetadataList = [1, n0, _CML,
292
+ 0, () => exports.ChallengeMetadataSummary$
293
+ ];
294
+ var ConnectorList = [1, n0, _CL,
295
+ 0, () => exports.ConnectorSummary$
296
+ ];
297
+ var TagKeyList = 64 | 0;
298
+ var Tags = 128 | 0;
299
+ exports.MobileDeviceManagement$ = [4, n0, _MDM,
300
+ 0,
301
+ [_In],
302
+ [() => exports.IntuneConfiguration$]
303
+ ];
304
+ exports.CreateChallenge$ = [9, n0, _CC,
305
+ { [_h]: ["POST", "/challenges", 202] }, () => exports.CreateChallengeRequest$, () => exports.CreateChallengeResponse$
306
+ ];
307
+ exports.CreateConnector$ = [9, n0, _CCr,
308
+ { [_h]: ["POST", "/connectors", 202] }, () => exports.CreateConnectorRequest$, () => exports.CreateConnectorResponse$
309
+ ];
310
+ exports.DeleteChallenge$ = [9, n0, _DC,
311
+ { [_h]: ["DELETE", "/challenges/{ChallengeArn}", 202] }, () => exports.DeleteChallengeRequest$, () => __Unit
312
+ ];
313
+ exports.DeleteConnector$ = [9, n0, _DCe,
314
+ { [_h]: ["DELETE", "/connectors/{ConnectorArn}", 202] }, () => exports.DeleteConnectorRequest$, () => __Unit
315
+ ];
316
+ exports.GetChallengeMetadata$ = [9, n0, _GCM,
317
+ { [_h]: ["GET", "/challengeMetadata/{ChallengeArn}", 200] }, () => exports.GetChallengeMetadataRequest$, () => exports.GetChallengeMetadataResponse$
318
+ ];
319
+ exports.GetChallengePassword$ = [9, n0, _GCP,
320
+ { [_h]: ["GET", "/challengePasswords/{ChallengeArn}", 200] }, () => exports.GetChallengePasswordRequest$, () => exports.GetChallengePasswordResponse$
321
+ ];
322
+ exports.GetConnector$ = [9, n0, _GC,
323
+ { [_h]: ["GET", "/connectors/{ConnectorArn}", 200] }, () => exports.GetConnectorRequest$, () => exports.GetConnectorResponse$
324
+ ];
325
+ exports.ListChallengeMetadata$ = [9, n0, _LCM,
326
+ { [_h]: ["GET", "/challengeMetadata", 200] }, () => exports.ListChallengeMetadataRequest$, () => exports.ListChallengeMetadataResponse$
327
+ ];
328
+ exports.ListConnectors$ = [9, n0, _LC,
329
+ { [_h]: ["GET", "/connectors", 200] }, () => exports.ListConnectorsRequest$, () => exports.ListConnectorsResponse$
330
+ ];
331
+ exports.ListTagsForResource$ = [9, n0, _LTFR,
332
+ { [_h]: ["GET", "/tags/{ResourceArn}", 200] }, () => exports.ListTagsForResourceRequest$, () => exports.ListTagsForResourceResponse$
333
+ ];
334
+ exports.TagResource$ = [9, n0, _TR,
335
+ { [_h]: ["POST", "/tags/{ResourceArn}", 204] }, () => exports.TagResourceRequest$, () => __Unit
336
+ ];
337
+ exports.UntagResource$ = [9, n0, _UR,
338
+ { [_h]: ["DELETE", "/tags/{ResourceArn}", 204] }, () => exports.UntagResourceRequest$, () => __Unit
339
+ ];
@@ -6,6 +6,7 @@ import { fromBase64, toBase64 } from "@smithy/util-base64";
6
6
  import { fromUtf8, toUtf8 } from "@smithy/util-utf8";
7
7
  import { defaultPcaConnectorScepHttpAuthSchemeProvider } from "./auth/httpAuthSchemeProvider";
8
8
  import { defaultEndpointResolver } from "./endpoint/endpointResolver";
9
+ import { errorTypeRegistries } from "./schemas/schemas_0";
9
10
  export const getRuntimeConfig = (config) => {
10
11
  return {
11
12
  apiVersion: "2018-05-10",
@@ -26,6 +27,7 @@ export const getRuntimeConfig = (config) => {
26
27
  protocol: config?.protocol ?? AwsRestJsonProtocol,
27
28
  protocolSettings: config?.protocolSettings ?? {
28
29
  defaultNamespace: "com.amazonaws.pcaconnectorscep",
30
+ errorTypeRegistries,
29
31
  version: "2018-05-10",
30
32
  serviceTarget: "PcaConnectorScep",
31
33
  },
@@ -85,26 +85,70 @@ const _e = "error";
85
85
  const _h = "http";
86
86
  const _hE = "httpError";
87
87
  const _hQ = "httpQuery";
88
- const _s = "server";
89
- const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.pcaconnectorscep";
88
+ const _s = "smithy.ts.sdk.synthetic.com.amazonaws.pcaconnectorscep";
89
+ const _se = "server";
90
90
  const _tK = "tagKeys";
91
91
  const n0 = "com.amazonaws.pcaconnectorscep";
92
92
  import { TypeRegistry } from "@smithy/core/schema";
93
93
  import { AccessDeniedException, BadRequestException, ConflictException, InternalServerException, ResourceNotFoundException, ServiceQuotaExceededException, ThrottlingException, ValidationException, } from "../models/errors";
94
94
  import { PcaConnectorScepServiceException } from "../models/PcaConnectorScepServiceException";
95
- var SensitiveString = [0, n0, _SS, 8, 0];
95
+ const _s_registry = TypeRegistry.for(_s);
96
+ export var PcaConnectorScepServiceException$ = [-3, _s, "PcaConnectorScepServiceException", 0, [], []];
97
+ _s_registry.registerError(PcaConnectorScepServiceException$, PcaConnectorScepServiceException);
98
+ const n0_registry = TypeRegistry.for(n0);
96
99
  export var AccessDeniedException$ = [-3, n0, _ADE,
97
100
  { [_e]: _c, [_hE]: 403 },
98
101
  [_M],
99
102
  [0], 1
100
103
  ];
101
- TypeRegistry.for(n0).registerError(AccessDeniedException$, AccessDeniedException);
104
+ n0_registry.registerError(AccessDeniedException$, AccessDeniedException);
102
105
  export var BadRequestException$ = [-3, n0, _BRE,
103
106
  { [_e]: _c, [_hE]: 400 },
104
107
  [_M],
105
108
  [0], 1
106
109
  ];
107
- TypeRegistry.for(n0).registerError(BadRequestException$, BadRequestException);
110
+ n0_registry.registerError(BadRequestException$, BadRequestException);
111
+ export var ConflictException$ = [-3, n0, _CE,
112
+ { [_e]: _c, [_hE]: 409 },
113
+ [_M, _RI, _RT],
114
+ [0, 0, 0], 3
115
+ ];
116
+ n0_registry.registerError(ConflictException$, ConflictException);
117
+ export var InternalServerException$ = [-3, n0, _ISE,
118
+ { [_e]: _se, [_hE]: 500 },
119
+ [_M],
120
+ [0], 1
121
+ ];
122
+ n0_registry.registerError(InternalServerException$, InternalServerException);
123
+ export var ResourceNotFoundException$ = [-3, n0, _RNFE,
124
+ { [_e]: _c, [_hE]: 404 },
125
+ [_M, _RI, _RT],
126
+ [0, 0, 0], 3
127
+ ];
128
+ n0_registry.registerError(ResourceNotFoundException$, ResourceNotFoundException);
129
+ export var ServiceQuotaExceededException$ = [-3, n0, _SQEE,
130
+ { [_e]: _c, [_hE]: 402 },
131
+ [_M, _RT, _SC, _QC],
132
+ [0, 0, 0, 0], 4
133
+ ];
134
+ n0_registry.registerError(ServiceQuotaExceededException$, ServiceQuotaExceededException);
135
+ export var ThrottlingException$ = [-3, n0, _TE,
136
+ { [_e]: _c, [_hE]: 429 },
137
+ [_M],
138
+ [0], 1
139
+ ];
140
+ n0_registry.registerError(ThrottlingException$, ThrottlingException);
141
+ export var ValidationException$ = [-3, n0, _VE,
142
+ { [_e]: _c, [_hE]: 400 },
143
+ [_M, _R],
144
+ [0, 0], 1
145
+ ];
146
+ n0_registry.registerError(ValidationException$, ValidationException);
147
+ export const errorTypeRegistries = [
148
+ _s_registry,
149
+ n0_registry,
150
+ ];
151
+ var SensitiveString = [0, n0, _SS, 8, 0];
108
152
  export var Challenge$ = [3, n0, _C,
109
153
  0,
110
154
  [_A, _CA, _CAr, _UA, _P],
@@ -120,12 +164,6 @@ export var ChallengeMetadataSummary$ = [3, n0, _CMS,
120
164
  [_A, _CA, _CAr, _UA],
121
165
  [0, 0, 4, 4]
122
166
  ];
123
- export var ConflictException$ = [-3, n0, _CE,
124
- { [_e]: _c, [_hE]: 409 },
125
- [_M, _RI, _RT],
126
- [0, 0, 0], 3
127
- ];
128
- TypeRegistry.for(n0).registerError(ConflictException$, ConflictException);
129
167
  export var Connector$ = [3, n0, _Co,
130
168
  0,
131
169
  [_A, _CAA, _T, _MDM, _OIC, _S, _SR, _E, _CAr, _UA],
@@ -196,12 +234,6 @@ export var GetConnectorResponse$ = [3, n0, _GCRe,
196
234
  [_Co],
197
235
  [() => Connector$]
198
236
  ];
199
- export var InternalServerException$ = [-3, n0, _ISE,
200
- { [_e]: _s, [_hE]: 500 },
201
- [_M],
202
- [0], 1
203
- ];
204
- TypeRegistry.for(n0).registerError(InternalServerException$, InternalServerException);
205
237
  export var IntuneConfiguration$ = [3, n0, _IC,
206
238
  0,
207
239
  [_AAI, _D],
@@ -242,43 +274,17 @@ export var OpenIdConfiguration$ = [3, n0, _OIC,
242
274
  [_I, _Su, _Au],
243
275
  [0, 0, 0]
244
276
  ];
245
- export var ResourceNotFoundException$ = [-3, n0, _RNFE,
246
- { [_e]: _c, [_hE]: 404 },
247
- [_M, _RI, _RT],
248
- [0, 0, 0], 3
249
- ];
250
- TypeRegistry.for(n0).registerError(ResourceNotFoundException$, ResourceNotFoundException);
251
- export var ServiceQuotaExceededException$ = [-3, n0, _SQEE,
252
- { [_e]: _c, [_hE]: 402 },
253
- [_M, _RT, _SC, _QC],
254
- [0, 0, 0, 0], 4
255
- ];
256
- TypeRegistry.for(n0).registerError(ServiceQuotaExceededException$, ServiceQuotaExceededException);
257
277
  export var TagResourceRequest$ = [3, n0, _TRR,
258
278
  0,
259
279
  [_RA, _Ta],
260
280
  [[0, 1], 128 | 0], 2
261
281
  ];
262
- export var ThrottlingException$ = [-3, n0, _TE,
263
- { [_e]: _c, [_hE]: 429 },
264
- [_M],
265
- [0], 1
266
- ];
267
- TypeRegistry.for(n0).registerError(ThrottlingException$, ThrottlingException);
268
282
  export var UntagResourceRequest$ = [3, n0, _URR,
269
283
  0,
270
284
  [_RA, _TK],
271
285
  [[0, 1], [64 | 0, { [_hQ]: _tK }]], 2
272
286
  ];
273
- export var ValidationException$ = [-3, n0, _VE,
274
- { [_e]: _c, [_hE]: 400 },
275
- [_M, _R],
276
- [0, 0], 1
277
- ];
278
- TypeRegistry.for(n0).registerError(ValidationException$, ValidationException);
279
287
  var __Unit = "unit";
280
- export var PcaConnectorScepServiceException$ = [-3, _sm, "PcaConnectorScepServiceException", 0, [], []];
281
- TypeRegistry.for(_sm).registerError(PcaConnectorScepServiceException$, PcaConnectorScepServiceException);
282
288
  var ChallengeMetadataList = [1, n0, _CML,
283
289
  0, () => ChallengeMetadataSummary$
284
290
  ];