@aws-sdk/client-supportauthz 3.1077.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.
Files changed (112) hide show
  1. package/LICENSE +201 -0
  2. package/README.md +258 -0
  3. package/dist-cjs/index.js +984 -0
  4. package/dist-es/SupportAuthZ.js +37 -0
  5. package/dist-es/SupportAuthZClient.js +47 -0
  6. package/dist-es/auth/httpAuthExtensionConfiguration.js +38 -0
  7. package/dist-es/auth/httpAuthSchemeProvider.js +40 -0
  8. package/dist-es/commands/CreateSupportPermitCommand.js +16 -0
  9. package/dist-es/commands/DeleteSupportPermitCommand.js +16 -0
  10. package/dist-es/commands/GetActionCommand.js +16 -0
  11. package/dist-es/commands/GetSupportPermitCommand.js +16 -0
  12. package/dist-es/commands/ListActionsCommand.js +16 -0
  13. package/dist-es/commands/ListSupportPermitRequestsCommand.js +16 -0
  14. package/dist-es/commands/ListSupportPermitsCommand.js +16 -0
  15. package/dist-es/commands/ListTagsForResourceCommand.js +16 -0
  16. package/dist-es/commands/RejectSupportPermitRequestCommand.js +16 -0
  17. package/dist-es/commands/TagResourceCommand.js +16 -0
  18. package/dist-es/commands/UntagResourceCommand.js +16 -0
  19. package/dist-es/commands/index.js +11 -0
  20. package/dist-es/endpoint/EndpointParameters.js +11 -0
  21. package/dist-es/endpoint/bdd.js +29 -0
  22. package/dist-es/endpoint/endpointResolver.js +14 -0
  23. package/dist-es/extensionConfiguration.js +1 -0
  24. package/dist-es/index.js +9 -0
  25. package/dist-es/models/SupportAuthZServiceException.js +8 -0
  26. package/dist-es/models/enums.js +11 -0
  27. package/dist-es/models/errors.js +111 -0
  28. package/dist-es/models/models_0.js +1 -0
  29. package/dist-es/pagination/Interfaces.js +1 -0
  30. package/dist-es/pagination/ListActionsPaginator.js +4 -0
  31. package/dist-es/pagination/ListSupportPermitRequestsPaginator.js +4 -0
  32. package/dist-es/pagination/ListSupportPermitsPaginator.js +4 -0
  33. package/dist-es/pagination/index.js +4 -0
  34. package/dist-es/runtimeConfig.browser.js +29 -0
  35. package/dist-es/runtimeConfig.js +43 -0
  36. package/dist-es/runtimeConfig.native.js +9 -0
  37. package/dist-es/runtimeConfig.shared.js +40 -0
  38. package/dist-es/runtimeExtensions.js +9 -0
  39. package/dist-es/schemas/schemas_0.js +365 -0
  40. package/dist-types/SupportAuthZ.d.ts +110 -0
  41. package/dist-types/SupportAuthZClient.d.ts +197 -0
  42. package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +29 -0
  43. package/dist-types/auth/httpAuthSchemeProvider.d.ts +75 -0
  44. package/dist-types/commands/CreateSupportPermitCommand.d.ts +154 -0
  45. package/dist-types/commands/DeleteSupportPermitCommand.d.ts +119 -0
  46. package/dist-types/commands/GetActionCommand.d.ts +93 -0
  47. package/dist-types/commands/GetSupportPermitCommand.d.ts +122 -0
  48. package/dist-types/commands/ListActionsCommand.d.ts +97 -0
  49. package/dist-types/commands/ListSupportPermitRequestsCommand.d.ts +119 -0
  50. package/dist-types/commands/ListSupportPermitsCommand.d.ts +124 -0
  51. package/dist-types/commands/ListTagsForResourceCommand.d.ts +93 -0
  52. package/dist-types/commands/RejectSupportPermitRequestCommand.d.ts +94 -0
  53. package/dist-types/commands/TagResourceCommand.d.ts +92 -0
  54. package/dist-types/commands/UntagResourceCommand.d.ts +92 -0
  55. package/dist-types/commands/index.d.ts +11 -0
  56. package/dist-types/endpoint/EndpointParameters.d.ts +44 -0
  57. package/dist-types/endpoint/bdd.d.ts +2 -0
  58. package/dist-types/endpoint/endpointResolver.d.ts +8 -0
  59. package/dist-types/extensionConfiguration.d.ts +9 -0
  60. package/dist-types/index.d.ts +17 -0
  61. package/dist-types/models/SupportAuthZServiceException.d.ts +14 -0
  62. package/dist-types/models/enums.d.ts +48 -0
  63. package/dist-types/models/errors.d.ts +146 -0
  64. package/dist-types/models/models_0.d.ts +729 -0
  65. package/dist-types/pagination/Interfaces.d.ts +8 -0
  66. package/dist-types/pagination/ListActionsPaginator.d.ts +7 -0
  67. package/dist-types/pagination/ListSupportPermitRequestsPaginator.d.ts +7 -0
  68. package/dist-types/pagination/ListSupportPermitsPaginator.d.ts +7 -0
  69. package/dist-types/pagination/index.d.ts +4 -0
  70. package/dist-types/runtimeConfig.browser.d.ts +55 -0
  71. package/dist-types/runtimeConfig.d.ts +55 -0
  72. package/dist-types/runtimeConfig.native.d.ts +54 -0
  73. package/dist-types/runtimeConfig.shared.d.ts +28 -0
  74. package/dist-types/runtimeExtensions.d.ts +17 -0
  75. package/dist-types/schemas/schemas_0.d.ts +58 -0
  76. package/dist-types/ts3.4/SupportAuthZ.d.ts +221 -0
  77. package/dist-types/ts3.4/SupportAuthZClient.d.ts +177 -0
  78. package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +32 -0
  79. package/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +47 -0
  80. package/dist-types/ts3.4/commands/CreateSupportPermitCommand.d.ts +53 -0
  81. package/dist-types/ts3.4/commands/DeleteSupportPermitCommand.d.ts +53 -0
  82. package/dist-types/ts3.4/commands/GetActionCommand.d.ts +45 -0
  83. package/dist-types/ts3.4/commands/GetSupportPermitCommand.d.ts +52 -0
  84. package/dist-types/ts3.4/commands/ListActionsCommand.d.ts +49 -0
  85. package/dist-types/ts3.4/commands/ListSupportPermitRequestsCommand.d.ts +53 -0
  86. package/dist-types/ts3.4/commands/ListSupportPermitsCommand.d.ts +53 -0
  87. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +53 -0
  88. package/dist-types/ts3.4/commands/RejectSupportPermitRequestCommand.d.ts +53 -0
  89. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +49 -0
  90. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +49 -0
  91. package/dist-types/ts3.4/commands/index.d.ts +11 -0
  92. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +45 -0
  93. package/dist-types/ts3.4/endpoint/bdd.d.ts +2 -0
  94. package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
  95. package/dist-types/ts3.4/extensionConfiguration.d.ts +9 -0
  96. package/dist-types/ts3.4/index.d.ts +12 -0
  97. package/dist-types/ts3.4/models/SupportAuthZServiceException.d.ts +9 -0
  98. package/dist-types/ts3.4/models/enums.d.ts +15 -0
  99. package/dist-types/ts3.4/models/errors.d.ts +65 -0
  100. package/dist-types/ts3.4/models/models_0.d.ts +232 -0
  101. package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
  102. package/dist-types/ts3.4/pagination/ListActionsPaginator.d.ts +11 -0
  103. package/dist-types/ts3.4/pagination/ListSupportPermitRequestsPaginator.d.ts +11 -0
  104. package/dist-types/ts3.4/pagination/ListSupportPermitsPaginator.d.ts +11 -0
  105. package/dist-types/ts3.4/pagination/index.d.ts +4 -0
  106. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +106 -0
  107. package/dist-types/ts3.4/runtimeConfig.d.ts +101 -0
  108. package/dist-types/ts3.4/runtimeConfig.native.d.ts +110 -0
  109. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +31 -0
  110. package/dist-types/ts3.4/runtimeExtensions.d.ts +11 -0
  111. package/dist-types/ts3.4/schemas/schemas_0.d.ts +58 -0
  112. package/package.json +69 -0
@@ -0,0 +1,984 @@
1
+ const { awsEndpointFunctions, emitWarningIfUnsupportedVersion: emitWarningIfUnsupportedVersion$1, createDefaultUserAgentProvider, NODE_APP_ID_CONFIG_OPTIONS, getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration, resolveUserAgentConfig, resolveHostHeaderConfig, getUserAgentPlugin, getHostHeaderPlugin, getLoggerPlugin, getRecursionDetectionPlugin } = require("@aws-sdk/core/client");
2
+ const { getHttpAuthSchemeEndpointRuleSetPlugin, DefaultIdentityProviderConfig, getHttpSigningPlugin, createPaginator } = require("@smithy/core");
3
+ const { normalizeProvider, getSmithyContext, ServiceException, NoOpLogger, emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode, getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client, Command, createAggregatedClient } = require("@smithy/core/client");
4
+ exports.$Command = Command;
5
+ exports.__Client = Client;
6
+ const { resolveDefaultsModeConfig, loadConfig, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS, resolveRegionConfig } = require("@smithy/core/config");
7
+ const { BinaryDecisionDiagram, EndpointCache, decideEndpoint, customEndpointFunctions, resolveEndpointConfig, getEndpointPlugin } = require("@smithy/core/endpoints");
8
+ const { parseUrl, getHttpHandlerExtensionConfiguration, resolveHttpHandlerRuntimeConfig, getContentLengthPlugin } = require("@smithy/core/protocols");
9
+ const { DEFAULT_RETRY_MODE, NODE_RETRY_MODE_CONFIG_OPTIONS, NODE_MAX_ATTEMPT_CONFIG_OPTIONS, resolveRetryConfig, getRetryPlugin } = require("@smithy/core/retry");
10
+ const { TypeRegistry, getSchemaSerdePlugin } = require("@smithy/core/schema");
11
+ const { resolveAwsSdkSigV4Config, AwsSdkSigV4Signer, NODE_AUTH_SCHEME_PREFERENCE_OPTIONS } = require("@aws-sdk/core/httpAuthSchemes");
12
+ const { defaultProvider } = require("@aws-sdk/credential-provider-node");
13
+ const { toUtf8, fromUtf8, toBase64, fromBase64, calculateBodyLength } = require("@smithy/core/serde");
14
+ const { streamCollector, NodeHttpHandler } = require("@smithy/node-http-handler");
15
+ const { AwsRestJsonProtocol } = require("@aws-sdk/core/protocols");
16
+ const { Sha256 } = require("@smithy/core/checksum");
17
+
18
+ const defaultSupportAuthZHttpAuthSchemeParametersProvider = async (config, context, input) => {
19
+ return {
20
+ operation: getSmithyContext(context).operation,
21
+ region: await normalizeProvider(config.region)() || (() => {
22
+ throw new Error("expected `region` to be configured for `aws.auth#sigv4`");
23
+ })(),
24
+ };
25
+ };
26
+ function createAwsAuthSigv4HttpAuthOption(authParameters) {
27
+ return {
28
+ schemeId: "aws.auth#sigv4",
29
+ signingProperties: {
30
+ name: "supportauthz",
31
+ region: authParameters.region,
32
+ },
33
+ propertiesExtractor: (config, context) => ({
34
+ signingProperties: {
35
+ config,
36
+ context,
37
+ },
38
+ }),
39
+ };
40
+ }
41
+ const defaultSupportAuthZHttpAuthSchemeProvider = (authParameters) => {
42
+ const options = [];
43
+ switch (authParameters.operation) {
44
+ default: {
45
+ options.push(createAwsAuthSigv4HttpAuthOption(authParameters));
46
+ }
47
+ }
48
+ return options;
49
+ };
50
+ const resolveHttpAuthSchemeConfig = (config) => {
51
+ const config_0 = resolveAwsSdkSigV4Config(config);
52
+ return Object.assign(config_0, {
53
+ authSchemePreference: normalizeProvider(config.authSchemePreference ?? []),
54
+ });
55
+ };
56
+
57
+ const resolveClientEndpointParameters = (options) => {
58
+ return Object.assign(options, {
59
+ useFipsEndpoint: options.useFipsEndpoint ?? false,
60
+ defaultSigningName: "supportauthz",
61
+ });
62
+ };
63
+ const commonParams = {
64
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
65
+ Endpoint: { type: "builtInParams", name: "endpoint" },
66
+ Region: { type: "builtInParams", name: "region" },
67
+ };
68
+
69
+ var version = "3.0.0";
70
+ var packageInfo = {
71
+ version: version};
72
+
73
+ const a = "isSet", b = { "ref": "Endpoint" }, c = [{ "ref": "Region" }];
74
+ const _data = {
75
+ conditions: [
76
+ [a, [b]],
77
+ [a, c],
78
+ ["aws.partition", c, "PartitionResult"],
79
+ ["booleanEquals", [{ ref: "UseFIPS" }, true]]
80
+ ],
81
+ results: [
82
+ [-1],
83
+ [-1, "Invalid Configuration: FIPS and custom endpoint are not supported"],
84
+ [b, {}],
85
+ ["https://supportauthz-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", {}],
86
+ ["https://supportauthz.{Region}.{PartitionResult#dualStackDnsSuffix}", {}],
87
+ [-1, "Invalid Configuration: Missing Region"]
88
+ ]
89
+ };
90
+ const root = 2;
91
+ const r = 100_000_000;
92
+ const nodes = new Int32Array([
93
+ -1, 1, -1,
94
+ 0, 6, 3,
95
+ 1, 4, r + 5,
96
+ 2, 5, r + 5,
97
+ 3, r + 3, r + 4,
98
+ 3, r + 1, r + 2,
99
+ ]);
100
+ const bdd = BinaryDecisionDiagram.from(nodes, root, _data.conditions, _data.results);
101
+
102
+ const cache = new EndpointCache({
103
+ size: 50,
104
+ params: ["Endpoint", "Region", "UseFIPS"],
105
+ });
106
+ const defaultEndpointResolver = (endpointParams, context = {}) => {
107
+ return cache.get(endpointParams, () => decideEndpoint(bdd, {
108
+ endpointParams: endpointParams,
109
+ logger: context.logger,
110
+ }));
111
+ };
112
+ customEndpointFunctions.aws = awsEndpointFunctions;
113
+
114
+ class SupportAuthZServiceException extends ServiceException {
115
+ constructor(options) {
116
+ super(options);
117
+ Object.setPrototypeOf(this, SupportAuthZServiceException.prototype);
118
+ }
119
+ }
120
+
121
+ class AccessDeniedException extends SupportAuthZServiceException {
122
+ name = "AccessDeniedException";
123
+ $fault = "client";
124
+ constructor(opts) {
125
+ super({
126
+ name: "AccessDeniedException",
127
+ $fault: "client",
128
+ ...opts,
129
+ });
130
+ Object.setPrototypeOf(this, AccessDeniedException.prototype);
131
+ }
132
+ }
133
+ class ConflictException extends SupportAuthZServiceException {
134
+ name = "ConflictException";
135
+ $fault = "client";
136
+ resourceId;
137
+ resourceType;
138
+ constructor(opts) {
139
+ super({
140
+ name: "ConflictException",
141
+ $fault: "client",
142
+ ...opts,
143
+ });
144
+ Object.setPrototypeOf(this, ConflictException.prototype);
145
+ this.resourceId = opts.resourceId;
146
+ this.resourceType = opts.resourceType;
147
+ }
148
+ }
149
+ class InternalServerException extends SupportAuthZServiceException {
150
+ name = "InternalServerException";
151
+ $fault = "server";
152
+ $retryable = {};
153
+ retryAfterSeconds;
154
+ constructor(opts) {
155
+ super({
156
+ name: "InternalServerException",
157
+ $fault: "server",
158
+ ...opts,
159
+ });
160
+ Object.setPrototypeOf(this, InternalServerException.prototype);
161
+ this.retryAfterSeconds = opts.retryAfterSeconds;
162
+ }
163
+ }
164
+ class ServiceQuotaExceededException extends SupportAuthZServiceException {
165
+ name = "ServiceQuotaExceededException";
166
+ $fault = "client";
167
+ resourceId;
168
+ resourceType;
169
+ serviceCode;
170
+ quotaCode;
171
+ constructor(opts) {
172
+ super({
173
+ name: "ServiceQuotaExceededException",
174
+ $fault: "client",
175
+ ...opts,
176
+ });
177
+ Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
178
+ this.resourceId = opts.resourceId;
179
+ this.resourceType = opts.resourceType;
180
+ this.serviceCode = opts.serviceCode;
181
+ this.quotaCode = opts.quotaCode;
182
+ }
183
+ }
184
+ class ThrottlingException extends SupportAuthZServiceException {
185
+ name = "ThrottlingException";
186
+ $fault = "client";
187
+ $retryable = {
188
+ throttling: true,
189
+ };
190
+ retryAfterSeconds;
191
+ constructor(opts) {
192
+ super({
193
+ name: "ThrottlingException",
194
+ $fault: "client",
195
+ ...opts,
196
+ });
197
+ Object.setPrototypeOf(this, ThrottlingException.prototype);
198
+ this.retryAfterSeconds = opts.retryAfterSeconds;
199
+ }
200
+ }
201
+ class ValidationException extends SupportAuthZServiceException {
202
+ name = "ValidationException";
203
+ $fault = "client";
204
+ fieldList;
205
+ constructor(opts) {
206
+ super({
207
+ name: "ValidationException",
208
+ $fault: "client",
209
+ ...opts,
210
+ });
211
+ Object.setPrototypeOf(this, ValidationException.prototype);
212
+ this.fieldList = opts.fieldList;
213
+ }
214
+ }
215
+ class ResourceNotFoundException extends SupportAuthZServiceException {
216
+ name = "ResourceNotFoundException";
217
+ $fault = "client";
218
+ resourceId;
219
+ resourceType;
220
+ constructor(opts) {
221
+ super({
222
+ name: "ResourceNotFoundException",
223
+ $fault: "client",
224
+ ...opts,
225
+ });
226
+ Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
227
+ this.resourceId = opts.resourceId;
228
+ this.resourceType = opts.resourceType;
229
+ }
230
+ }
231
+
232
+ const _ADE = "AccessDeniedException";
233
+ const _AS = "ActionSummary";
234
+ const _ASc = "ActionSummaries";
235
+ const _ASct = "ActionSet";
236
+ const _C = "Conditions";
237
+ const _CE = "ConflictException";
238
+ const _CSP = "CreateSupportPermit";
239
+ const _CSPI = "CreateSupportPermitInput";
240
+ const _CSPO = "CreateSupportPermitOutput";
241
+ const _Co = "Condition";
242
+ const _DSP = "DeleteSupportPermit";
243
+ const _DSPI = "DeleteSupportPermitInput";
244
+ const _DSPO = "DeleteSupportPermitOutput";
245
+ const _GA = "GetAction";
246
+ const _GAI = "GetActionInput";
247
+ const _GAO = "GetActionOutput";
248
+ const _GSP = "GetSupportPermit";
249
+ const _GSPI = "GetSupportPermitInput";
250
+ const _GSPO = "GetSupportPermitOutput";
251
+ const _ISE = "InternalServerException";
252
+ const _LA = "ListActions";
253
+ const _LAI = "ListActionsInput";
254
+ const _LAO = "ListActionsOutput";
255
+ const _LSP = "ListSupportPermits";
256
+ const _LSPI = "ListSupportPermitsInput";
257
+ const _LSPO = "ListSupportPermitsOutput";
258
+ const _LSPR = "ListSupportPermitRequests";
259
+ const _LSPRI = "ListSupportPermitRequestsInput";
260
+ const _LSPRO = "ListSupportPermitRequestsOutput";
261
+ const _LTFR = "ListTagsForResource";
262
+ const _LTFRI = "ListTagsForResourceInput";
263
+ const _LTFRO = "ListTagsForResourceOutput";
264
+ const _P = "Permit";
265
+ const _RA = "Retry-After";
266
+ const _RNFE = "ResourceNotFoundException";
267
+ const _RS = "ResourceSet";
268
+ const _RSPR = "RejectSupportPermitRequest";
269
+ const _RSPRI = "RejectSupportPermitRequestInput";
270
+ const _RSPRO = "RejectSupportPermitRequestOutput";
271
+ const _SKI = "SigningKeyInfo";
272
+ const _SPR = "SupportPermitRequest";
273
+ const _SPRu = "SupportPermitRequests";
274
+ const _SPS = "SupportPermitSummary";
275
+ const _SPSu = "SupportPermitSummaries";
276
+ const _SQEE = "ServiceQuotaExceededException";
277
+ const _TE = "ThrottlingException";
278
+ const _TR = "TagResource";
279
+ const _TRI = "TagResourceInput";
280
+ const _TRO = "TagResourceOutput";
281
+ const _UR = "UntagResource";
282
+ const _URI = "UntagResourceInput";
283
+ const _URO = "UntagResourceOutput";
284
+ const _VE = "ValidationException";
285
+ const _VEF = "ValidationExceptionField";
286
+ const _VEFL = "ValidationExceptionFieldList";
287
+ const _a = "action";
288
+ const _aA = "allActions";
289
+ const _aAl = "allowAfter";
290
+ const _aB = "allowBefore";
291
+ const _aRIR = "allResourcesInRegion";
292
+ const _aS = "actionSummaries";
293
+ const _ac = "actions";
294
+ const _ar = "arn";
295
+ const _c = "client";
296
+ const _cA = "createdAt";
297
+ const _cT = "clientToken";
298
+ const _co = "conditions";
299
+ const _d = "description";
300
+ const _e = "error";
301
+ const _fL = "fieldList";
302
+ const _h = "http";
303
+ const _hE = "httpError";
304
+ const _hH = "httpHeader";
305
+ const _hQ = "httpQuery";
306
+ const _kK = "kmsKey";
307
+ const _m = "message";
308
+ const _mR = "maxResults";
309
+ const _n = "name";
310
+ const _nT = "nextToken";
311
+ const _p = "permit";
312
+ const _pa = "path";
313
+ const _qC = "quotaCode";
314
+ const _r = "resources";
315
+ const _rA = "resourceArn";
316
+ const _rAS = "retryAfterSeconds";
317
+ const _rAe = "requestArn";
318
+ const _rI = "resourceId";
319
+ const _rT = "resourceType";
320
+ const _s = "smithy.ts.sdk.synthetic.com.amazonaws.supportauthz";
321
+ const _sC = "serviceCode";
322
+ const _sCDI = "supportCaseDisplayId";
323
+ const _sKI = "signingKeyInfo";
324
+ const _sP = "supportPermits";
325
+ const _sPI = "supportPermitIdentifier";
326
+ const _sPR = "supportPermitRequests";
327
+ const _sPS = "supportPermitStatuses";
328
+ const _se = "server";
329
+ const _ser = "service";
330
+ const _st = "status";
331
+ const _t = "tags";
332
+ const _tK = "tagKeys";
333
+ const _uA = "updatedAt";
334
+ const n0 = "com.amazonaws.supportauthz";
335
+ const _s_registry = TypeRegistry.for(_s);
336
+ var SupportAuthZServiceException$ = [-3, _s, "SupportAuthZServiceException", 0, [], []];
337
+ _s_registry.registerError(SupportAuthZServiceException$, SupportAuthZServiceException);
338
+ const n0_registry = TypeRegistry.for(n0);
339
+ var AccessDeniedException$ = [-3, n0, _ADE,
340
+ { [_e]: _c, [_hE]: 403 },
341
+ [_m],
342
+ [0], 1
343
+ ];
344
+ n0_registry.registerError(AccessDeniedException$, AccessDeniedException);
345
+ var ConflictException$ = [-3, n0, _CE,
346
+ { [_e]: _c, [_hE]: 409 },
347
+ [_m, _rI, _rT],
348
+ [0, 0, 0], 3
349
+ ];
350
+ n0_registry.registerError(ConflictException$, ConflictException);
351
+ var InternalServerException$ = [-3, n0, _ISE,
352
+ { [_e]: _se, [_hE]: 500 },
353
+ [_m, _rAS],
354
+ [0, [1, { [_hH]: _RA }]], 1
355
+ ];
356
+ n0_registry.registerError(InternalServerException$, InternalServerException);
357
+ var ResourceNotFoundException$ = [-3, n0, _RNFE,
358
+ { [_e]: _c, [_hE]: 404 },
359
+ [_m, _rI, _rT],
360
+ [0, 0, 0], 3
361
+ ];
362
+ n0_registry.registerError(ResourceNotFoundException$, ResourceNotFoundException);
363
+ var ServiceQuotaExceededException$ = [-3, n0, _SQEE,
364
+ { [_e]: _c, [_hE]: 402 },
365
+ [_m, _rI, _rT, _sC, _qC],
366
+ [0, 0, 0, 0, 0], 5
367
+ ];
368
+ n0_registry.registerError(ServiceQuotaExceededException$, ServiceQuotaExceededException);
369
+ var ThrottlingException$ = [-3, n0, _TE,
370
+ { [_e]: _c, [_hE]: 429 },
371
+ [_m, _rAS],
372
+ [0, [1, { [_hH]: _RA }]], 1
373
+ ];
374
+ n0_registry.registerError(ThrottlingException$, ThrottlingException);
375
+ var ValidationException$ = [-3, n0, _VE,
376
+ { [_e]: _c },
377
+ [_m, _fL],
378
+ [0, () => ValidationExceptionFieldList], 1
379
+ ];
380
+ n0_registry.registerError(ValidationException$, ValidationException);
381
+ const errorTypeRegistries = [
382
+ _s_registry,
383
+ n0_registry,
384
+ ];
385
+ var ActionSummary$ = [3, n0, _AS,
386
+ 0,
387
+ [_a, _ser, _d],
388
+ [0, 0, 0], 3
389
+ ];
390
+ var CreateSupportPermitInput$ = [3, n0, _CSPI,
391
+ 0,
392
+ [_p, _n, _sKI, _d, _sCDI, _cT, _t],
393
+ [() => Permit$, 0, () => SigningKeyInfo$, 0, 0, [0, 4], 128 | 0], 3
394
+ ];
395
+ var CreateSupportPermitOutput$ = [3, n0, _CSPO,
396
+ 0,
397
+ [_n, _ar, _p, _st, _sKI, _cA, _d, _sCDI, _t],
398
+ [0, 0, () => Permit$, 0, () => SigningKeyInfo$, 4, 0, 0, 128 | 0], 6
399
+ ];
400
+ var DeleteSupportPermitInput$ = [3, n0, _DSPI,
401
+ 0,
402
+ [_sPI],
403
+ [[0, 1]], 1
404
+ ];
405
+ var DeleteSupportPermitOutput$ = [3, n0, _DSPO,
406
+ 0,
407
+ [_n, _ar, _p, _st, _sKI, _cA, _d, _sCDI],
408
+ [0, 0, () => Permit$, 0, () => SigningKeyInfo$, 4, 0, 0], 6
409
+ ];
410
+ var GetActionInput$ = [3, n0, _GAI,
411
+ 0,
412
+ [_a],
413
+ [[0, 1]], 1
414
+ ];
415
+ var GetActionOutput$ = [3, n0, _GAO,
416
+ 0,
417
+ [_a, _ser, _d],
418
+ [0, 0, 0], 3
419
+ ];
420
+ var GetSupportPermitInput$ = [3, n0, _GSPI,
421
+ 0,
422
+ [_sPI],
423
+ [[0, 1]], 1
424
+ ];
425
+ var GetSupportPermitOutput$ = [3, n0, _GSPO,
426
+ 0,
427
+ [_n, _ar, _p, _st, _sKI, _cA, _d, _sCDI, _t],
428
+ [0, 0, () => Permit$, 0, () => SigningKeyInfo$, 4, 0, 0, 128 | 0], 6
429
+ ];
430
+ var ListActionsInput$ = [3, n0, _LAI,
431
+ 0,
432
+ [_ser, _nT, _mR],
433
+ [[0, { [_hQ]: _ser }], [0, { [_hQ]: _nT }], [1, { [_hQ]: _mR }]], 1
434
+ ];
435
+ var ListActionsOutput$ = [3, n0, _LAO,
436
+ 0,
437
+ [_aS, _nT],
438
+ [() => ActionSummaries, 0], 1
439
+ ];
440
+ var ListSupportPermitRequestsInput$ = [3, n0, _LSPRI,
441
+ 0,
442
+ [_nT, _mR, _sCDI],
443
+ [[0, { [_hQ]: _nT }], [1, { [_hQ]: _mR }], [0, { [_hQ]: _sCDI }]]
444
+ ];
445
+ var ListSupportPermitRequestsOutput$ = [3, n0, _LSPRO,
446
+ 0,
447
+ [_sPR, _nT],
448
+ [() => SupportPermitRequests, 0], 1
449
+ ];
450
+ var ListSupportPermitsInput$ = [3, n0, _LSPI,
451
+ 0,
452
+ [_nT, _mR, _sPS],
453
+ [[0, { [_hQ]: _nT }], [1, { [_hQ]: _mR }], [64 | 0, { [_hQ]: _sPS }]]
454
+ ];
455
+ var ListSupportPermitsOutput$ = [3, n0, _LSPO,
456
+ 0,
457
+ [_sP, _nT],
458
+ [() => SupportPermitSummaries, 0], 1
459
+ ];
460
+ var ListTagsForResourceInput$ = [3, n0, _LTFRI,
461
+ 0,
462
+ [_rA],
463
+ [[0, 1]], 1
464
+ ];
465
+ var ListTagsForResourceOutput$ = [3, n0, _LTFRO,
466
+ 0,
467
+ [_t],
468
+ [128 | 0]
469
+ ];
470
+ var Permit$ = [3, n0, _P,
471
+ 0,
472
+ [_ac, _r, _co],
473
+ [() => ActionSet$, () => ResourceSet$, () => Conditions], 2
474
+ ];
475
+ var RejectSupportPermitRequestInput$ = [3, n0, _RSPRI,
476
+ 0,
477
+ [_rAe],
478
+ [[0, 1]], 1
479
+ ];
480
+ var RejectSupportPermitRequestOutput$ = [3, n0, _RSPRO,
481
+ 0,
482
+ [_rAe],
483
+ [0], 1
484
+ ];
485
+ var SupportPermitRequest$ = [3, n0, _SPR,
486
+ 0,
487
+ [_rAe, _p, _sCDI, _st, _cA, _uA],
488
+ [0, () => Permit$, 0, 0, 4, 4], 6
489
+ ];
490
+ var SupportPermitSummary$ = [3, n0, _SPS,
491
+ 0,
492
+ [_n, _ar, _p, _st, _sKI, _cA, _sCDI],
493
+ [0, 0, () => Permit$, 0, () => SigningKeyInfo$, 4, 0], 6
494
+ ];
495
+ var TagResourceInput$ = [3, n0, _TRI,
496
+ 0,
497
+ [_rA, _t],
498
+ [[0, 1], 128 | 0], 2
499
+ ];
500
+ var TagResourceOutput$ = [3, n0, _TRO,
501
+ 0,
502
+ [],
503
+ []
504
+ ];
505
+ var UntagResourceInput$ = [3, n0, _URI,
506
+ 0,
507
+ [_rA, _tK],
508
+ [[0, 1], [64 | 0, { [_hQ]: _tK }]], 2
509
+ ];
510
+ var UntagResourceOutput$ = [3, n0, _URO,
511
+ 0,
512
+ [],
513
+ []
514
+ ];
515
+ var ValidationExceptionField$ = [3, n0, _VEF,
516
+ 0,
517
+ [_pa, _m],
518
+ [0, 0], 2
519
+ ];
520
+ var __Unit = "unit";
521
+ var ActionSummaries = [1, n0, _ASc,
522
+ 0, () => ActionSummary$
523
+ ];
524
+ var Conditions = [1, n0, _C,
525
+ 0, () => Condition$
526
+ ];
527
+ var SupportPermitRequests = [1, n0, _SPRu,
528
+ 0, () => SupportPermitRequest$
529
+ ];
530
+ var SupportPermitSummaries = [1, n0, _SPSu,
531
+ 0, () => SupportPermitSummary$
532
+ ];
533
+ var ValidationExceptionFieldList = [1, n0, _VEFL,
534
+ 0, () => ValidationExceptionField$
535
+ ];
536
+ var ActionSet$ = [4, n0, _ASct,
537
+ 0,
538
+ [_aA, _ac],
539
+ [() => __Unit, 64 | 0]
540
+ ];
541
+ var Condition$ = [4, n0, _Co,
542
+ 0,
543
+ [_aAl, _aB],
544
+ [4, 4]
545
+ ];
546
+ var ResourceSet$ = [4, n0, _RS,
547
+ 0,
548
+ [_aRIR, _r],
549
+ [() => __Unit, 64 | 0]
550
+ ];
551
+ var SigningKeyInfo$ = [4, n0, _SKI,
552
+ 0,
553
+ [_kK],
554
+ [0]
555
+ ];
556
+ var CreateSupportPermit$ = [9, n0, _CSP,
557
+ { [_h]: ["POST", "/support-permits", 200] }, () => CreateSupportPermitInput$, () => CreateSupportPermitOutput$
558
+ ];
559
+ var DeleteSupportPermit$ = [9, n0, _DSP,
560
+ { [_h]: ["DELETE", "/support-permits/{supportPermitIdentifier}", 200] }, () => DeleteSupportPermitInput$, () => DeleteSupportPermitOutput$
561
+ ];
562
+ var GetAction$ = [9, n0, _GA,
563
+ { [_h]: ["GET", "/actions/{action}", 200] }, () => GetActionInput$, () => GetActionOutput$
564
+ ];
565
+ var GetSupportPermit$ = [9, n0, _GSP,
566
+ { [_h]: ["GET", "/support-permits/{supportPermitIdentifier}", 200] }, () => GetSupportPermitInput$, () => GetSupportPermitOutput$
567
+ ];
568
+ var ListActions$ = [9, n0, _LA,
569
+ { [_h]: ["GET", "/actions", 200] }, () => ListActionsInput$, () => ListActionsOutput$
570
+ ];
571
+ var ListSupportPermitRequests$ = [9, n0, _LSPR,
572
+ { [_h]: ["GET", "/support-permit-requests", 200] }, () => ListSupportPermitRequestsInput$, () => ListSupportPermitRequestsOutput$
573
+ ];
574
+ var ListSupportPermits$ = [9, n0, _LSP,
575
+ { [_h]: ["GET", "/support-permits", 200] }, () => ListSupportPermitsInput$, () => ListSupportPermitsOutput$
576
+ ];
577
+ var ListTagsForResource$ = [9, n0, _LTFR,
578
+ { [_h]: ["GET", "/tags/{resourceArn}", 200] }, () => ListTagsForResourceInput$, () => ListTagsForResourceOutput$
579
+ ];
580
+ var RejectSupportPermitRequest$ = [9, n0, _RSPR,
581
+ { [_h]: ["PUT", "/support-permit-requests/{requestArn}/reject", 200] }, () => RejectSupportPermitRequestInput$, () => RejectSupportPermitRequestOutput$
582
+ ];
583
+ var TagResource$ = [9, n0, _TR,
584
+ { [_h]: ["POST", "/tags/{resourceArn}", 204] }, () => TagResourceInput$, () => TagResourceOutput$
585
+ ];
586
+ var UntagResource$ = [9, n0, _UR,
587
+ { [_h]: ["DELETE", "/tags/{resourceArn}", 204] }, () => UntagResourceInput$, () => UntagResourceOutput$
588
+ ];
589
+
590
+ const getRuntimeConfig$1 = (config) => {
591
+ return {
592
+ apiVersion: "2026-06-30",
593
+ base64Decoder: config?.base64Decoder ?? fromBase64,
594
+ base64Encoder: config?.base64Encoder ?? toBase64,
595
+ disableHostPrefix: config?.disableHostPrefix ?? false,
596
+ endpointProvider: config?.endpointProvider ?? defaultEndpointResolver,
597
+ extensions: config?.extensions ?? [],
598
+ httpAuthSchemeProvider: config?.httpAuthSchemeProvider ?? defaultSupportAuthZHttpAuthSchemeProvider,
599
+ httpAuthSchemes: config?.httpAuthSchemes ?? [
600
+ {
601
+ schemeId: "aws.auth#sigv4",
602
+ identityProvider: (ipc) => ipc.getIdentityProvider("aws.auth#sigv4"),
603
+ signer: new AwsSdkSigV4Signer(),
604
+ },
605
+ ],
606
+ logger: config?.logger ?? new NoOpLogger(),
607
+ protocol: config?.protocol ?? AwsRestJsonProtocol,
608
+ protocolSettings: config?.protocolSettings ?? {
609
+ defaultNamespace: "com.amazonaws.supportauthz",
610
+ errorTypeRegistries,
611
+ version: "2026-06-30",
612
+ serviceTarget: "SupportAuthZ",
613
+ },
614
+ serviceId: config?.serviceId ?? "SupportAuthZ",
615
+ sha256: config?.sha256 ?? Sha256,
616
+ urlParser: config?.urlParser ?? parseUrl,
617
+ utf8Decoder: config?.utf8Decoder ?? fromUtf8,
618
+ utf8Encoder: config?.utf8Encoder ?? toUtf8,
619
+ };
620
+ };
621
+
622
+ const getRuntimeConfig = (config) => {
623
+ emitWarningIfUnsupportedVersion(process.version);
624
+ const defaultsMode = resolveDefaultsModeConfig(config);
625
+ const defaultConfigProvider = () => defaultsMode().then(loadConfigsForDefaultMode);
626
+ const clientSharedValues = getRuntimeConfig$1(config);
627
+ emitWarningIfUnsupportedVersion$1(process.version);
628
+ const loaderConfig = {
629
+ profile: config?.profile,
630
+ logger: clientSharedValues.logger,
631
+ };
632
+ return {
633
+ ...clientSharedValues,
634
+ ...config,
635
+ runtime: "node",
636
+ defaultsMode,
637
+ authSchemePreference: config?.authSchemePreference ?? loadConfig(NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, loaderConfig),
638
+ bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength,
639
+ credentialDefaultProvider: config?.credentialDefaultProvider ?? defaultProvider,
640
+ defaultUserAgentProvider: config?.defaultUserAgentProvider ?? createDefaultUserAgentProvider({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),
641
+ maxAttempts: config?.maxAttempts ?? loadConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config),
642
+ region: config?.region ?? loadConfig(NODE_REGION_CONFIG_OPTIONS, { ...NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }),
643
+ requestHandler: NodeHttpHandler.create(config?.requestHandler ?? defaultConfigProvider),
644
+ retryMode: config?.retryMode ??
645
+ loadConfig({
646
+ ...NODE_RETRY_MODE_CONFIG_OPTIONS,
647
+ default: async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE,
648
+ }, config),
649
+ streamCollector: config?.streamCollector ?? streamCollector,
650
+ useDualstackEndpoint: config?.useDualstackEndpoint ?? loadConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
651
+ useFipsEndpoint: config?.useFipsEndpoint ?? loadConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
652
+ userAgentAppId: config?.userAgentAppId ?? loadConfig(NODE_APP_ID_CONFIG_OPTIONS, loaderConfig),
653
+ };
654
+ };
655
+
656
+ const getHttpAuthExtensionConfiguration = (runtimeConfig) => {
657
+ const _httpAuthSchemes = runtimeConfig.httpAuthSchemes;
658
+ let _httpAuthSchemeProvider = runtimeConfig.httpAuthSchemeProvider;
659
+ let _credentials = runtimeConfig.credentials;
660
+ return {
661
+ setHttpAuthScheme(httpAuthScheme) {
662
+ const index = _httpAuthSchemes.findIndex((scheme) => scheme.schemeId === httpAuthScheme.schemeId);
663
+ if (index === -1) {
664
+ _httpAuthSchemes.push(httpAuthScheme);
665
+ }
666
+ else {
667
+ _httpAuthSchemes.splice(index, 1, httpAuthScheme);
668
+ }
669
+ },
670
+ httpAuthSchemes() {
671
+ return _httpAuthSchemes;
672
+ },
673
+ setHttpAuthSchemeProvider(httpAuthSchemeProvider) {
674
+ _httpAuthSchemeProvider = httpAuthSchemeProvider;
675
+ },
676
+ httpAuthSchemeProvider() {
677
+ return _httpAuthSchemeProvider;
678
+ },
679
+ setCredentials(credentials) {
680
+ _credentials = credentials;
681
+ },
682
+ credentials() {
683
+ return _credentials;
684
+ },
685
+ };
686
+ };
687
+ const resolveHttpAuthRuntimeConfig = (config) => {
688
+ return {
689
+ httpAuthSchemes: config.httpAuthSchemes(),
690
+ httpAuthSchemeProvider: config.httpAuthSchemeProvider(),
691
+ credentials: config.credentials(),
692
+ };
693
+ };
694
+
695
+ const resolveRuntimeExtensions = (runtimeConfig, extensions) => {
696
+ const extensionConfiguration = Object.assign(getAwsRegionExtensionConfiguration(runtimeConfig), getDefaultExtensionConfiguration(runtimeConfig), getHttpHandlerExtensionConfiguration(runtimeConfig), getHttpAuthExtensionConfiguration(runtimeConfig));
697
+ extensions.forEach((extension) => extension.configure(extensionConfiguration));
698
+ return Object.assign(runtimeConfig, resolveAwsRegionExtensionConfiguration(extensionConfiguration), resolveDefaultRuntimeConfig(extensionConfiguration), resolveHttpHandlerRuntimeConfig(extensionConfiguration), resolveHttpAuthRuntimeConfig(extensionConfiguration));
699
+ };
700
+
701
+ class SupportAuthZClient extends Client {
702
+ config;
703
+ constructor(...[configuration]) {
704
+ const _config_0 = getRuntimeConfig(configuration || {});
705
+ super(_config_0);
706
+ this.initConfig = _config_0;
707
+ const _config_1 = resolveClientEndpointParameters(_config_0);
708
+ const _config_2 = resolveUserAgentConfig(_config_1);
709
+ const _config_3 = resolveRetryConfig(_config_2);
710
+ const _config_4 = resolveRegionConfig(_config_3);
711
+ const _config_5 = resolveHostHeaderConfig(_config_4);
712
+ const _config_6 = resolveEndpointConfig(_config_5);
713
+ const _config_7 = resolveHttpAuthSchemeConfig(_config_6);
714
+ const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
715
+ this.config = _config_8;
716
+ this.middlewareStack.use(getSchemaSerdePlugin(this.config));
717
+ this.middlewareStack.use(getUserAgentPlugin(this.config));
718
+ this.middlewareStack.use(getRetryPlugin(this.config));
719
+ this.middlewareStack.use(getContentLengthPlugin(this.config));
720
+ this.middlewareStack.use(getHostHeaderPlugin(this.config));
721
+ this.middlewareStack.use(getLoggerPlugin(this.config));
722
+ this.middlewareStack.use(getRecursionDetectionPlugin(this.config));
723
+ this.middlewareStack.use(getHttpAuthSchemeEndpointRuleSetPlugin(this.config, {
724
+ httpAuthSchemeParametersProvider: defaultSupportAuthZHttpAuthSchemeParametersProvider,
725
+ identityProviderConfigProvider: async (config) => new DefaultIdentityProviderConfig({
726
+ "aws.auth#sigv4": config.credentials,
727
+ }),
728
+ }));
729
+ this.middlewareStack.use(getHttpSigningPlugin(this.config));
730
+ }
731
+ destroy() {
732
+ super.destroy();
733
+ }
734
+ }
735
+
736
+ class CreateSupportPermitCommand extends Command
737
+ .classBuilder()
738
+ .ep(commonParams)
739
+ .m(function (Command, cs, config, o) {
740
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
741
+ })
742
+ .s("SupportAuthZ", "CreateSupportPermit", {})
743
+ .n("SupportAuthZClient", "CreateSupportPermitCommand")
744
+ .sc(CreateSupportPermit$)
745
+ .build() {
746
+ }
747
+
748
+ class DeleteSupportPermitCommand extends Command
749
+ .classBuilder()
750
+ .ep(commonParams)
751
+ .m(function (Command, cs, config, o) {
752
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
753
+ })
754
+ .s("SupportAuthZ", "DeleteSupportPermit", {})
755
+ .n("SupportAuthZClient", "DeleteSupportPermitCommand")
756
+ .sc(DeleteSupportPermit$)
757
+ .build() {
758
+ }
759
+
760
+ class GetActionCommand extends Command
761
+ .classBuilder()
762
+ .ep(commonParams)
763
+ .m(function (Command, cs, config, o) {
764
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
765
+ })
766
+ .s("SupportAuthZ", "GetAction", {})
767
+ .n("SupportAuthZClient", "GetActionCommand")
768
+ .sc(GetAction$)
769
+ .build() {
770
+ }
771
+
772
+ class GetSupportPermitCommand extends Command
773
+ .classBuilder()
774
+ .ep(commonParams)
775
+ .m(function (Command, cs, config, o) {
776
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
777
+ })
778
+ .s("SupportAuthZ", "GetSupportPermit", {})
779
+ .n("SupportAuthZClient", "GetSupportPermitCommand")
780
+ .sc(GetSupportPermit$)
781
+ .build() {
782
+ }
783
+
784
+ class ListActionsCommand extends Command
785
+ .classBuilder()
786
+ .ep(commonParams)
787
+ .m(function (Command, cs, config, o) {
788
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
789
+ })
790
+ .s("SupportAuthZ", "ListActions", {})
791
+ .n("SupportAuthZClient", "ListActionsCommand")
792
+ .sc(ListActions$)
793
+ .build() {
794
+ }
795
+
796
+ class ListSupportPermitRequestsCommand extends Command
797
+ .classBuilder()
798
+ .ep(commonParams)
799
+ .m(function (Command, cs, config, o) {
800
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
801
+ })
802
+ .s("SupportAuthZ", "ListSupportPermitRequests", {})
803
+ .n("SupportAuthZClient", "ListSupportPermitRequestsCommand")
804
+ .sc(ListSupportPermitRequests$)
805
+ .build() {
806
+ }
807
+
808
+ class ListSupportPermitsCommand extends Command
809
+ .classBuilder()
810
+ .ep(commonParams)
811
+ .m(function (Command, cs, config, o) {
812
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
813
+ })
814
+ .s("SupportAuthZ", "ListSupportPermits", {})
815
+ .n("SupportAuthZClient", "ListSupportPermitsCommand")
816
+ .sc(ListSupportPermits$)
817
+ .build() {
818
+ }
819
+
820
+ class ListTagsForResourceCommand extends Command
821
+ .classBuilder()
822
+ .ep(commonParams)
823
+ .m(function (Command, cs, config, o) {
824
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
825
+ })
826
+ .s("SupportAuthZ", "ListTagsForResource", {})
827
+ .n("SupportAuthZClient", "ListTagsForResourceCommand")
828
+ .sc(ListTagsForResource$)
829
+ .build() {
830
+ }
831
+
832
+ class RejectSupportPermitRequestCommand extends Command
833
+ .classBuilder()
834
+ .ep(commonParams)
835
+ .m(function (Command, cs, config, o) {
836
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
837
+ })
838
+ .s("SupportAuthZ", "RejectSupportPermitRequest", {})
839
+ .n("SupportAuthZClient", "RejectSupportPermitRequestCommand")
840
+ .sc(RejectSupportPermitRequest$)
841
+ .build() {
842
+ }
843
+
844
+ class TagResourceCommand extends Command
845
+ .classBuilder()
846
+ .ep(commonParams)
847
+ .m(function (Command, cs, config, o) {
848
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
849
+ })
850
+ .s("SupportAuthZ", "TagResource", {})
851
+ .n("SupportAuthZClient", "TagResourceCommand")
852
+ .sc(TagResource$)
853
+ .build() {
854
+ }
855
+
856
+ class UntagResourceCommand extends Command
857
+ .classBuilder()
858
+ .ep(commonParams)
859
+ .m(function (Command, cs, config, o) {
860
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
861
+ })
862
+ .s("SupportAuthZ", "UntagResource", {})
863
+ .n("SupportAuthZClient", "UntagResourceCommand")
864
+ .sc(UntagResource$)
865
+ .build() {
866
+ }
867
+
868
+ const paginateListActions = createPaginator(SupportAuthZClient, ListActionsCommand, "nextToken", "nextToken", "maxResults");
869
+
870
+ const paginateListSupportPermitRequests = createPaginator(SupportAuthZClient, ListSupportPermitRequestsCommand, "nextToken", "nextToken", "maxResults");
871
+
872
+ const paginateListSupportPermits = createPaginator(SupportAuthZClient, ListSupportPermitsCommand, "nextToken", "nextToken", "maxResults");
873
+
874
+ const commands = {
875
+ CreateSupportPermitCommand,
876
+ DeleteSupportPermitCommand,
877
+ GetActionCommand,
878
+ GetSupportPermitCommand,
879
+ ListActionsCommand,
880
+ ListSupportPermitRequestsCommand,
881
+ ListSupportPermitsCommand,
882
+ ListTagsForResourceCommand,
883
+ RejectSupportPermitRequestCommand,
884
+ TagResourceCommand,
885
+ UntagResourceCommand,
886
+ };
887
+ const paginators = {
888
+ paginateListActions,
889
+ paginateListSupportPermitRequests,
890
+ paginateListSupportPermits,
891
+ };
892
+ class SupportAuthZ extends SupportAuthZClient {
893
+ }
894
+ createAggregatedClient(commands, SupportAuthZ, { paginators });
895
+
896
+ const SupportPermitStatus = {
897
+ ACTIVE: "ACTIVE",
898
+ DELETING: "DELETING",
899
+ INACTIVE: "INACTIVE",
900
+ };
901
+ const SupportPermitRequestStatus = {
902
+ ACCEPTED: "ACCEPTED",
903
+ CANCELLED: "CANCELLED",
904
+ PENDING: "PENDING",
905
+ REJECTED: "REJECTED",
906
+ };
907
+
908
+ exports.AccessDeniedException = AccessDeniedException;
909
+ exports.AccessDeniedException$ = AccessDeniedException$;
910
+ exports.ActionSet$ = ActionSet$;
911
+ exports.ActionSummary$ = ActionSummary$;
912
+ exports.Condition$ = Condition$;
913
+ exports.ConflictException = ConflictException;
914
+ exports.ConflictException$ = ConflictException$;
915
+ exports.CreateSupportPermit$ = CreateSupportPermit$;
916
+ exports.CreateSupportPermitCommand = CreateSupportPermitCommand;
917
+ exports.CreateSupportPermitInput$ = CreateSupportPermitInput$;
918
+ exports.CreateSupportPermitOutput$ = CreateSupportPermitOutput$;
919
+ exports.DeleteSupportPermit$ = DeleteSupportPermit$;
920
+ exports.DeleteSupportPermitCommand = DeleteSupportPermitCommand;
921
+ exports.DeleteSupportPermitInput$ = DeleteSupportPermitInput$;
922
+ exports.DeleteSupportPermitOutput$ = DeleteSupportPermitOutput$;
923
+ exports.GetAction$ = GetAction$;
924
+ exports.GetActionCommand = GetActionCommand;
925
+ exports.GetActionInput$ = GetActionInput$;
926
+ exports.GetActionOutput$ = GetActionOutput$;
927
+ exports.GetSupportPermit$ = GetSupportPermit$;
928
+ exports.GetSupportPermitCommand = GetSupportPermitCommand;
929
+ exports.GetSupportPermitInput$ = GetSupportPermitInput$;
930
+ exports.GetSupportPermitOutput$ = GetSupportPermitOutput$;
931
+ exports.InternalServerException = InternalServerException;
932
+ exports.InternalServerException$ = InternalServerException$;
933
+ exports.ListActions$ = ListActions$;
934
+ exports.ListActionsCommand = ListActionsCommand;
935
+ exports.ListActionsInput$ = ListActionsInput$;
936
+ exports.ListActionsOutput$ = ListActionsOutput$;
937
+ exports.ListSupportPermitRequests$ = ListSupportPermitRequests$;
938
+ exports.ListSupportPermitRequestsCommand = ListSupportPermitRequestsCommand;
939
+ exports.ListSupportPermitRequestsInput$ = ListSupportPermitRequestsInput$;
940
+ exports.ListSupportPermitRequestsOutput$ = ListSupportPermitRequestsOutput$;
941
+ exports.ListSupportPermits$ = ListSupportPermits$;
942
+ exports.ListSupportPermitsCommand = ListSupportPermitsCommand;
943
+ exports.ListSupportPermitsInput$ = ListSupportPermitsInput$;
944
+ exports.ListSupportPermitsOutput$ = ListSupportPermitsOutput$;
945
+ exports.ListTagsForResource$ = ListTagsForResource$;
946
+ exports.ListTagsForResourceCommand = ListTagsForResourceCommand;
947
+ exports.ListTagsForResourceInput$ = ListTagsForResourceInput$;
948
+ exports.ListTagsForResourceOutput$ = ListTagsForResourceOutput$;
949
+ exports.Permit$ = Permit$;
950
+ exports.RejectSupportPermitRequest$ = RejectSupportPermitRequest$;
951
+ exports.RejectSupportPermitRequestCommand = RejectSupportPermitRequestCommand;
952
+ exports.RejectSupportPermitRequestInput$ = RejectSupportPermitRequestInput$;
953
+ exports.RejectSupportPermitRequestOutput$ = RejectSupportPermitRequestOutput$;
954
+ exports.ResourceNotFoundException = ResourceNotFoundException;
955
+ exports.ResourceNotFoundException$ = ResourceNotFoundException$;
956
+ exports.ResourceSet$ = ResourceSet$;
957
+ exports.ServiceQuotaExceededException = ServiceQuotaExceededException;
958
+ exports.ServiceQuotaExceededException$ = ServiceQuotaExceededException$;
959
+ exports.SigningKeyInfo$ = SigningKeyInfo$;
960
+ exports.SupportAuthZ = SupportAuthZ;
961
+ exports.SupportAuthZClient = SupportAuthZClient;
962
+ exports.SupportAuthZServiceException = SupportAuthZServiceException;
963
+ exports.SupportAuthZServiceException$ = SupportAuthZServiceException$;
964
+ exports.SupportPermitRequest$ = SupportPermitRequest$;
965
+ exports.SupportPermitRequestStatus = SupportPermitRequestStatus;
966
+ exports.SupportPermitStatus = SupportPermitStatus;
967
+ exports.SupportPermitSummary$ = SupportPermitSummary$;
968
+ exports.TagResource$ = TagResource$;
969
+ exports.TagResourceCommand = TagResourceCommand;
970
+ exports.TagResourceInput$ = TagResourceInput$;
971
+ exports.TagResourceOutput$ = TagResourceOutput$;
972
+ exports.ThrottlingException = ThrottlingException;
973
+ exports.ThrottlingException$ = ThrottlingException$;
974
+ exports.UntagResource$ = UntagResource$;
975
+ exports.UntagResourceCommand = UntagResourceCommand;
976
+ exports.UntagResourceInput$ = UntagResourceInput$;
977
+ exports.UntagResourceOutput$ = UntagResourceOutput$;
978
+ exports.ValidationException = ValidationException;
979
+ exports.ValidationException$ = ValidationException$;
980
+ exports.ValidationExceptionField$ = ValidationExceptionField$;
981
+ exports.errorTypeRegistries = errorTypeRegistries;
982
+ exports.paginateListActions = paginateListActions;
983
+ exports.paginateListSupportPermitRequests = paginateListSupportPermitRequests;
984
+ exports.paginateListSupportPermits = paginateListSupportPermits;