@aws-sdk/client-license-manager-user-subscriptions 3.489.0 → 3.495.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/LicenseManagerUserSubscriptions.js +1 -33
- package/dist-cjs/LicenseManagerUserSubscriptionsClient.js +1 -43
- package/dist-cjs/commands/AssociateUserCommand.js +1 -28
- package/dist-cjs/commands/DeregisterIdentityProviderCommand.js +1 -28
- package/dist-cjs/commands/DisassociateUserCommand.js +1 -28
- package/dist-cjs/commands/ListIdentityProvidersCommand.js +1 -28
- package/dist-cjs/commands/ListInstancesCommand.js +1 -28
- package/dist-cjs/commands/ListProductSubscriptionsCommand.js +1 -28
- package/dist-cjs/commands/ListUserAssociationsCommand.js +1 -28
- package/dist-cjs/commands/RegisterIdentityProviderCommand.js +1 -28
- package/dist-cjs/commands/StartProductSubscriptionCommand.js +1 -28
- package/dist-cjs/commands/StopProductSubscriptionCommand.js +1 -28
- package/dist-cjs/commands/UpdateIdentityProviderSettingsCommand.js +1 -28
- package/dist-cjs/commands/index.js +1 -14
- package/dist-cjs/endpoint/EndpointParameters.js +1 -18
- package/dist-cjs/extensionConfiguration.js +1 -2
- package/dist-cjs/index.js +1434 -11
- package/dist-cjs/models/LicenseManagerUserSubscriptionsServiceException.js +1 -12
- package/dist-cjs/models/index.js +1 -4
- package/dist-cjs/models/models_0.js +1 -103
- package/dist-cjs/pagination/Interfaces.js +1 -2
- package/dist-cjs/pagination/ListIdentityProvidersPaginator.js +1 -7
- package/dist-cjs/pagination/ListInstancesPaginator.js +1 -7
- package/dist-cjs/pagination/ListProductSubscriptionsPaginator.js +1 -7
- package/dist-cjs/pagination/ListUserAssociationsPaginator.js +1 -7
- package/dist-cjs/pagination/index.js +1 -8
- package/dist-cjs/protocols/Aws_restJson1.js +1 -900
- package/dist-cjs/runtimeExtensions.js +1 -22
- package/package.json +40 -40
package/dist-cjs/index.js
CHANGED
|
@@ -1,12 +1,1435 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
Object.defineProperty
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
var
|
|
12
|
-
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
|
|
7
|
+
var __export = (target, all) => {
|
|
8
|
+
for (var name in all)
|
|
9
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
10
|
+
};
|
|
11
|
+
var __copyProps = (to, from, except, desc) => {
|
|
12
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
13
|
+
for (let key of __getOwnPropNames(from))
|
|
14
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
15
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
16
|
+
}
|
|
17
|
+
return to;
|
|
18
|
+
};
|
|
19
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
20
|
+
|
|
21
|
+
// src/index.ts
|
|
22
|
+
var src_exports = {};
|
|
23
|
+
__export(src_exports, {
|
|
24
|
+
AccessDeniedException: () => AccessDeniedException,
|
|
25
|
+
AssociateUserCommand: () => AssociateUserCommand,
|
|
26
|
+
ConflictException: () => ConflictException,
|
|
27
|
+
DeregisterIdentityProviderCommand: () => DeregisterIdentityProviderCommand,
|
|
28
|
+
DisassociateUserCommand: () => DisassociateUserCommand,
|
|
29
|
+
IdentityProvider: () => IdentityProvider,
|
|
30
|
+
InternalServerException: () => InternalServerException,
|
|
31
|
+
LicenseManagerUserSubscriptions: () => LicenseManagerUserSubscriptions,
|
|
32
|
+
LicenseManagerUserSubscriptionsClient: () => LicenseManagerUserSubscriptionsClient,
|
|
33
|
+
LicenseManagerUserSubscriptionsServiceException: () => LicenseManagerUserSubscriptionsServiceException,
|
|
34
|
+
ListIdentityProvidersCommand: () => ListIdentityProvidersCommand,
|
|
35
|
+
ListInstancesCommand: () => ListInstancesCommand,
|
|
36
|
+
ListProductSubscriptionsCommand: () => ListProductSubscriptionsCommand,
|
|
37
|
+
ListUserAssociationsCommand: () => ListUserAssociationsCommand,
|
|
38
|
+
RegisterIdentityProviderCommand: () => RegisterIdentityProviderCommand,
|
|
39
|
+
ResourceNotFoundException: () => ResourceNotFoundException,
|
|
40
|
+
ServiceQuotaExceededException: () => ServiceQuotaExceededException,
|
|
41
|
+
StartProductSubscriptionCommand: () => StartProductSubscriptionCommand,
|
|
42
|
+
StopProductSubscriptionCommand: () => StopProductSubscriptionCommand,
|
|
43
|
+
ThrottlingException: () => ThrottlingException,
|
|
44
|
+
UpdateIdentityProviderSettingsCommand: () => UpdateIdentityProviderSettingsCommand,
|
|
45
|
+
ValidationException: () => ValidationException,
|
|
46
|
+
__Client: () => import_smithy_client.Client,
|
|
47
|
+
paginateListIdentityProviders: () => paginateListIdentityProviders,
|
|
48
|
+
paginateListInstances: () => paginateListInstances,
|
|
49
|
+
paginateListProductSubscriptions: () => paginateListProductSubscriptions,
|
|
50
|
+
paginateListUserAssociations: () => paginateListUserAssociations
|
|
51
|
+
});
|
|
52
|
+
module.exports = __toCommonJS(src_exports);
|
|
53
|
+
|
|
54
|
+
// src/LicenseManagerUserSubscriptionsClient.ts
|
|
55
|
+
var import_middleware_host_header = require("@aws-sdk/middleware-host-header");
|
|
56
|
+
var import_middleware_logger = require("@aws-sdk/middleware-logger");
|
|
57
|
+
var import_middleware_recursion_detection = require("@aws-sdk/middleware-recursion-detection");
|
|
58
|
+
var import_middleware_signing = require("@aws-sdk/middleware-signing");
|
|
59
|
+
var import_middleware_user_agent = require("@aws-sdk/middleware-user-agent");
|
|
60
|
+
var import_config_resolver = require("@smithy/config-resolver");
|
|
61
|
+
var import_middleware_content_length = require("@smithy/middleware-content-length");
|
|
62
|
+
var import_middleware_endpoint = require("@smithy/middleware-endpoint");
|
|
63
|
+
var import_middleware_retry = require("@smithy/middleware-retry");
|
|
64
|
+
|
|
65
|
+
|
|
66
|
+
// src/endpoint/EndpointParameters.ts
|
|
67
|
+
var resolveClientEndpointParameters = /* @__PURE__ */ __name((options) => {
|
|
68
|
+
return {
|
|
69
|
+
...options,
|
|
70
|
+
useDualstackEndpoint: options.useDualstackEndpoint ?? false,
|
|
71
|
+
useFipsEndpoint: options.useFipsEndpoint ?? false,
|
|
72
|
+
defaultSigningName: "license-manager-user-subscriptions"
|
|
73
|
+
};
|
|
74
|
+
}, "resolveClientEndpointParameters");
|
|
75
|
+
var commonParams = {
|
|
76
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
77
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
78
|
+
Region: { type: "builtInParams", name: "region" },
|
|
79
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }
|
|
80
|
+
};
|
|
81
|
+
|
|
82
|
+
// src/LicenseManagerUserSubscriptionsClient.ts
|
|
83
|
+
var import_runtimeConfig = require("././runtimeConfig");
|
|
84
|
+
|
|
85
|
+
// src/runtimeExtensions.ts
|
|
86
|
+
var import_region_config_resolver = require("@aws-sdk/region-config-resolver");
|
|
87
|
+
var import_protocol_http = require("@smithy/protocol-http");
|
|
88
|
+
var import_smithy_client = require("@smithy/smithy-client");
|
|
89
|
+
var asPartial = /* @__PURE__ */ __name((t) => t, "asPartial");
|
|
90
|
+
var resolveRuntimeExtensions = /* @__PURE__ */ __name((runtimeConfig, extensions) => {
|
|
91
|
+
const extensionConfiguration = {
|
|
92
|
+
...asPartial((0, import_region_config_resolver.getAwsRegionExtensionConfiguration)(runtimeConfig)),
|
|
93
|
+
...asPartial((0, import_smithy_client.getDefaultExtensionConfiguration)(runtimeConfig)),
|
|
94
|
+
...asPartial((0, import_protocol_http.getHttpHandlerExtensionConfiguration)(runtimeConfig))
|
|
95
|
+
};
|
|
96
|
+
extensions.forEach((extension) => extension.configure(extensionConfiguration));
|
|
97
|
+
return {
|
|
98
|
+
...runtimeConfig,
|
|
99
|
+
...(0, import_region_config_resolver.resolveAwsRegionExtensionConfiguration)(extensionConfiguration),
|
|
100
|
+
...(0, import_smithy_client.resolveDefaultRuntimeConfig)(extensionConfiguration),
|
|
101
|
+
...(0, import_protocol_http.resolveHttpHandlerRuntimeConfig)(extensionConfiguration)
|
|
102
|
+
};
|
|
103
|
+
}, "resolveRuntimeExtensions");
|
|
104
|
+
|
|
105
|
+
// src/LicenseManagerUserSubscriptionsClient.ts
|
|
106
|
+
var _LicenseManagerUserSubscriptionsClient = class _LicenseManagerUserSubscriptionsClient extends import_smithy_client.Client {
|
|
107
|
+
constructor(...[configuration]) {
|
|
108
|
+
const _config_0 = (0, import_runtimeConfig.getRuntimeConfig)(configuration || {});
|
|
109
|
+
const _config_1 = resolveClientEndpointParameters(_config_0);
|
|
110
|
+
const _config_2 = (0, import_config_resolver.resolveRegionConfig)(_config_1);
|
|
111
|
+
const _config_3 = (0, import_middleware_endpoint.resolveEndpointConfig)(_config_2);
|
|
112
|
+
const _config_4 = (0, import_middleware_retry.resolveRetryConfig)(_config_3);
|
|
113
|
+
const _config_5 = (0, import_middleware_host_header.resolveHostHeaderConfig)(_config_4);
|
|
114
|
+
const _config_6 = (0, import_middleware_signing.resolveAwsAuthConfig)(_config_5);
|
|
115
|
+
const _config_7 = (0, import_middleware_user_agent.resolveUserAgentConfig)(_config_6);
|
|
116
|
+
const _config_8 = resolveRuntimeExtensions(_config_7, (configuration == null ? void 0 : configuration.extensions) || []);
|
|
117
|
+
super(_config_8);
|
|
118
|
+
this.config = _config_8;
|
|
119
|
+
this.middlewareStack.use((0, import_middleware_retry.getRetryPlugin)(this.config));
|
|
120
|
+
this.middlewareStack.use((0, import_middleware_content_length.getContentLengthPlugin)(this.config));
|
|
121
|
+
this.middlewareStack.use((0, import_middleware_host_header.getHostHeaderPlugin)(this.config));
|
|
122
|
+
this.middlewareStack.use((0, import_middleware_logger.getLoggerPlugin)(this.config));
|
|
123
|
+
this.middlewareStack.use((0, import_middleware_recursion_detection.getRecursionDetectionPlugin)(this.config));
|
|
124
|
+
this.middlewareStack.use((0, import_middleware_signing.getAwsAuthPlugin)(this.config));
|
|
125
|
+
this.middlewareStack.use((0, import_middleware_user_agent.getUserAgentPlugin)(this.config));
|
|
126
|
+
}
|
|
127
|
+
/**
|
|
128
|
+
* Destroy underlying resources, like sockets. It's usually not necessary to do this.
|
|
129
|
+
* However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
|
|
130
|
+
* Otherwise, sockets might stay open for quite a long time before the server terminates them.
|
|
131
|
+
*/
|
|
132
|
+
destroy() {
|
|
133
|
+
super.destroy();
|
|
134
|
+
}
|
|
135
|
+
};
|
|
136
|
+
__name(_LicenseManagerUserSubscriptionsClient, "LicenseManagerUserSubscriptionsClient");
|
|
137
|
+
var LicenseManagerUserSubscriptionsClient = _LicenseManagerUserSubscriptionsClient;
|
|
138
|
+
|
|
139
|
+
// src/LicenseManagerUserSubscriptions.ts
|
|
140
|
+
|
|
141
|
+
|
|
142
|
+
// src/commands/AssociateUserCommand.ts
|
|
143
|
+
|
|
144
|
+
var import_middleware_serde = require("@smithy/middleware-serde");
|
|
145
|
+
|
|
146
|
+
var import_types = require("@smithy/types");
|
|
147
|
+
|
|
148
|
+
// src/protocols/Aws_restJson1.ts
|
|
149
|
+
var import_core = require("@smithy/core");
|
|
150
|
+
|
|
151
|
+
|
|
152
|
+
// src/models/LicenseManagerUserSubscriptionsServiceException.ts
|
|
153
|
+
|
|
154
|
+
var _LicenseManagerUserSubscriptionsServiceException = class _LicenseManagerUserSubscriptionsServiceException extends import_smithy_client.ServiceException {
|
|
155
|
+
/**
|
|
156
|
+
* @internal
|
|
157
|
+
*/
|
|
158
|
+
constructor(options) {
|
|
159
|
+
super(options);
|
|
160
|
+
Object.setPrototypeOf(this, _LicenseManagerUserSubscriptionsServiceException.prototype);
|
|
161
|
+
}
|
|
162
|
+
};
|
|
163
|
+
__name(_LicenseManagerUserSubscriptionsServiceException, "LicenseManagerUserSubscriptionsServiceException");
|
|
164
|
+
var LicenseManagerUserSubscriptionsServiceException = _LicenseManagerUserSubscriptionsServiceException;
|
|
165
|
+
|
|
166
|
+
// src/models/models_0.ts
|
|
167
|
+
var _AccessDeniedException = class _AccessDeniedException extends LicenseManagerUserSubscriptionsServiceException {
|
|
168
|
+
/**
|
|
169
|
+
* @internal
|
|
170
|
+
*/
|
|
171
|
+
constructor(opts) {
|
|
172
|
+
super({
|
|
173
|
+
name: "AccessDeniedException",
|
|
174
|
+
$fault: "client",
|
|
175
|
+
...opts
|
|
176
|
+
});
|
|
177
|
+
this.name = "AccessDeniedException";
|
|
178
|
+
this.$fault = "client";
|
|
179
|
+
Object.setPrototypeOf(this, _AccessDeniedException.prototype);
|
|
180
|
+
}
|
|
181
|
+
};
|
|
182
|
+
__name(_AccessDeniedException, "AccessDeniedException");
|
|
183
|
+
var AccessDeniedException = _AccessDeniedException;
|
|
184
|
+
var IdentityProvider;
|
|
185
|
+
((IdentityProvider3) => {
|
|
186
|
+
IdentityProvider3.visit = /* @__PURE__ */ __name((value, visitor) => {
|
|
187
|
+
if (value.ActiveDirectoryIdentityProvider !== void 0)
|
|
188
|
+
return visitor.ActiveDirectoryIdentityProvider(value.ActiveDirectoryIdentityProvider);
|
|
189
|
+
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
190
|
+
}, "visit");
|
|
191
|
+
})(IdentityProvider || (IdentityProvider = {}));
|
|
192
|
+
var _ConflictException = class _ConflictException extends LicenseManagerUserSubscriptionsServiceException {
|
|
193
|
+
/**
|
|
194
|
+
* @internal
|
|
195
|
+
*/
|
|
196
|
+
constructor(opts) {
|
|
197
|
+
super({
|
|
198
|
+
name: "ConflictException",
|
|
199
|
+
$fault: "server",
|
|
200
|
+
...opts
|
|
201
|
+
});
|
|
202
|
+
this.name = "ConflictException";
|
|
203
|
+
this.$fault = "server";
|
|
204
|
+
Object.setPrototypeOf(this, _ConflictException.prototype);
|
|
205
|
+
}
|
|
206
|
+
};
|
|
207
|
+
__name(_ConflictException, "ConflictException");
|
|
208
|
+
var ConflictException = _ConflictException;
|
|
209
|
+
var _InternalServerException = class _InternalServerException extends LicenseManagerUserSubscriptionsServiceException {
|
|
210
|
+
/**
|
|
211
|
+
* @internal
|
|
212
|
+
*/
|
|
213
|
+
constructor(opts) {
|
|
214
|
+
super({
|
|
215
|
+
name: "InternalServerException",
|
|
216
|
+
$fault: "server",
|
|
217
|
+
...opts
|
|
218
|
+
});
|
|
219
|
+
this.name = "InternalServerException";
|
|
220
|
+
this.$fault = "server";
|
|
221
|
+
Object.setPrototypeOf(this, _InternalServerException.prototype);
|
|
222
|
+
}
|
|
223
|
+
};
|
|
224
|
+
__name(_InternalServerException, "InternalServerException");
|
|
225
|
+
var InternalServerException = _InternalServerException;
|
|
226
|
+
var _ResourceNotFoundException = class _ResourceNotFoundException extends LicenseManagerUserSubscriptionsServiceException {
|
|
227
|
+
/**
|
|
228
|
+
* @internal
|
|
229
|
+
*/
|
|
230
|
+
constructor(opts) {
|
|
231
|
+
super({
|
|
232
|
+
name: "ResourceNotFoundException",
|
|
233
|
+
$fault: "client",
|
|
234
|
+
...opts
|
|
235
|
+
});
|
|
236
|
+
this.name = "ResourceNotFoundException";
|
|
237
|
+
this.$fault = "client";
|
|
238
|
+
Object.setPrototypeOf(this, _ResourceNotFoundException.prototype);
|
|
239
|
+
}
|
|
240
|
+
};
|
|
241
|
+
__name(_ResourceNotFoundException, "ResourceNotFoundException");
|
|
242
|
+
var ResourceNotFoundException = _ResourceNotFoundException;
|
|
243
|
+
var _ServiceQuotaExceededException = class _ServiceQuotaExceededException extends LicenseManagerUserSubscriptionsServiceException {
|
|
244
|
+
/**
|
|
245
|
+
* @internal
|
|
246
|
+
*/
|
|
247
|
+
constructor(opts) {
|
|
248
|
+
super({
|
|
249
|
+
name: "ServiceQuotaExceededException",
|
|
250
|
+
$fault: "client",
|
|
251
|
+
...opts
|
|
252
|
+
});
|
|
253
|
+
this.name = "ServiceQuotaExceededException";
|
|
254
|
+
this.$fault = "client";
|
|
255
|
+
Object.setPrototypeOf(this, _ServiceQuotaExceededException.prototype);
|
|
256
|
+
}
|
|
257
|
+
};
|
|
258
|
+
__name(_ServiceQuotaExceededException, "ServiceQuotaExceededException");
|
|
259
|
+
var ServiceQuotaExceededException = _ServiceQuotaExceededException;
|
|
260
|
+
var _ThrottlingException = class _ThrottlingException extends LicenseManagerUserSubscriptionsServiceException {
|
|
261
|
+
/**
|
|
262
|
+
* @internal
|
|
263
|
+
*/
|
|
264
|
+
constructor(opts) {
|
|
265
|
+
super({
|
|
266
|
+
name: "ThrottlingException",
|
|
267
|
+
$fault: "client",
|
|
268
|
+
...opts
|
|
269
|
+
});
|
|
270
|
+
this.name = "ThrottlingException";
|
|
271
|
+
this.$fault = "client";
|
|
272
|
+
Object.setPrototypeOf(this, _ThrottlingException.prototype);
|
|
273
|
+
}
|
|
274
|
+
};
|
|
275
|
+
__name(_ThrottlingException, "ThrottlingException");
|
|
276
|
+
var ThrottlingException = _ThrottlingException;
|
|
277
|
+
var _ValidationException = class _ValidationException extends LicenseManagerUserSubscriptionsServiceException {
|
|
278
|
+
/**
|
|
279
|
+
* @internal
|
|
280
|
+
*/
|
|
281
|
+
constructor(opts) {
|
|
282
|
+
super({
|
|
283
|
+
name: "ValidationException",
|
|
284
|
+
$fault: "client",
|
|
285
|
+
...opts
|
|
286
|
+
});
|
|
287
|
+
this.name = "ValidationException";
|
|
288
|
+
this.$fault = "client";
|
|
289
|
+
Object.setPrototypeOf(this, _ValidationException.prototype);
|
|
290
|
+
}
|
|
291
|
+
};
|
|
292
|
+
__name(_ValidationException, "ValidationException");
|
|
293
|
+
var ValidationException = _ValidationException;
|
|
294
|
+
|
|
295
|
+
// src/protocols/Aws_restJson1.ts
|
|
296
|
+
var se_AssociateUserCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
297
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
298
|
+
const headers = {
|
|
299
|
+
"content-type": "application/json"
|
|
300
|
+
};
|
|
301
|
+
b.bp("/user/AssociateUser");
|
|
302
|
+
let body;
|
|
303
|
+
body = JSON.stringify(
|
|
304
|
+
(0, import_smithy_client.take)(input, {
|
|
305
|
+
Domain: [],
|
|
306
|
+
IdentityProvider: (_) => (0, import_smithy_client._json)(_),
|
|
307
|
+
InstanceId: [],
|
|
308
|
+
Username: []
|
|
309
|
+
})
|
|
310
|
+
);
|
|
311
|
+
b.m("POST").h(headers).b(body);
|
|
312
|
+
return b.build();
|
|
313
|
+
}, "se_AssociateUserCommand");
|
|
314
|
+
var se_DeregisterIdentityProviderCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
315
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
316
|
+
const headers = {
|
|
317
|
+
"content-type": "application/json"
|
|
318
|
+
};
|
|
319
|
+
b.bp("/identity-provider/DeregisterIdentityProvider");
|
|
320
|
+
let body;
|
|
321
|
+
body = JSON.stringify(
|
|
322
|
+
(0, import_smithy_client.take)(input, {
|
|
323
|
+
IdentityProvider: (_) => (0, import_smithy_client._json)(_),
|
|
324
|
+
Product: []
|
|
325
|
+
})
|
|
326
|
+
);
|
|
327
|
+
b.m("POST").h(headers).b(body);
|
|
328
|
+
return b.build();
|
|
329
|
+
}, "se_DeregisterIdentityProviderCommand");
|
|
330
|
+
var se_DisassociateUserCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
331
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
332
|
+
const headers = {
|
|
333
|
+
"content-type": "application/json"
|
|
334
|
+
};
|
|
335
|
+
b.bp("/user/DisassociateUser");
|
|
336
|
+
let body;
|
|
337
|
+
body = JSON.stringify(
|
|
338
|
+
(0, import_smithy_client.take)(input, {
|
|
339
|
+
Domain: [],
|
|
340
|
+
IdentityProvider: (_) => (0, import_smithy_client._json)(_),
|
|
341
|
+
InstanceId: [],
|
|
342
|
+
Username: []
|
|
343
|
+
})
|
|
344
|
+
);
|
|
345
|
+
b.m("POST").h(headers).b(body);
|
|
346
|
+
return b.build();
|
|
347
|
+
}, "se_DisassociateUserCommand");
|
|
348
|
+
var se_ListIdentityProvidersCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
349
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
350
|
+
const headers = {
|
|
351
|
+
"content-type": "application/json"
|
|
352
|
+
};
|
|
353
|
+
b.bp("/identity-provider/ListIdentityProviders");
|
|
354
|
+
let body;
|
|
355
|
+
body = JSON.stringify(
|
|
356
|
+
(0, import_smithy_client.take)(input, {
|
|
357
|
+
MaxResults: [],
|
|
358
|
+
NextToken: []
|
|
359
|
+
})
|
|
360
|
+
);
|
|
361
|
+
b.m("POST").h(headers).b(body);
|
|
362
|
+
return b.build();
|
|
363
|
+
}, "se_ListIdentityProvidersCommand");
|
|
364
|
+
var se_ListInstancesCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
365
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
366
|
+
const headers = {
|
|
367
|
+
"content-type": "application/json"
|
|
368
|
+
};
|
|
369
|
+
b.bp("/instance/ListInstances");
|
|
370
|
+
let body;
|
|
371
|
+
body = JSON.stringify(
|
|
372
|
+
(0, import_smithy_client.take)(input, {
|
|
373
|
+
Filters: (_) => (0, import_smithy_client._json)(_),
|
|
374
|
+
MaxResults: [],
|
|
375
|
+
NextToken: []
|
|
376
|
+
})
|
|
377
|
+
);
|
|
378
|
+
b.m("POST").h(headers).b(body);
|
|
379
|
+
return b.build();
|
|
380
|
+
}, "se_ListInstancesCommand");
|
|
381
|
+
var se_ListProductSubscriptionsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
382
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
383
|
+
const headers = {
|
|
384
|
+
"content-type": "application/json"
|
|
385
|
+
};
|
|
386
|
+
b.bp("/user/ListProductSubscriptions");
|
|
387
|
+
let body;
|
|
388
|
+
body = JSON.stringify(
|
|
389
|
+
(0, import_smithy_client.take)(input, {
|
|
390
|
+
Filters: (_) => (0, import_smithy_client._json)(_),
|
|
391
|
+
IdentityProvider: (_) => (0, import_smithy_client._json)(_),
|
|
392
|
+
MaxResults: [],
|
|
393
|
+
NextToken: [],
|
|
394
|
+
Product: []
|
|
395
|
+
})
|
|
396
|
+
);
|
|
397
|
+
b.m("POST").h(headers).b(body);
|
|
398
|
+
return b.build();
|
|
399
|
+
}, "se_ListProductSubscriptionsCommand");
|
|
400
|
+
var se_ListUserAssociationsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
401
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
402
|
+
const headers = {
|
|
403
|
+
"content-type": "application/json"
|
|
404
|
+
};
|
|
405
|
+
b.bp("/user/ListUserAssociations");
|
|
406
|
+
let body;
|
|
407
|
+
body = JSON.stringify(
|
|
408
|
+
(0, import_smithy_client.take)(input, {
|
|
409
|
+
Filters: (_) => (0, import_smithy_client._json)(_),
|
|
410
|
+
IdentityProvider: (_) => (0, import_smithy_client._json)(_),
|
|
411
|
+
InstanceId: [],
|
|
412
|
+
MaxResults: [],
|
|
413
|
+
NextToken: []
|
|
414
|
+
})
|
|
415
|
+
);
|
|
416
|
+
b.m("POST").h(headers).b(body);
|
|
417
|
+
return b.build();
|
|
418
|
+
}, "se_ListUserAssociationsCommand");
|
|
419
|
+
var se_RegisterIdentityProviderCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
420
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
421
|
+
const headers = {
|
|
422
|
+
"content-type": "application/json"
|
|
423
|
+
};
|
|
424
|
+
b.bp("/identity-provider/RegisterIdentityProvider");
|
|
425
|
+
let body;
|
|
426
|
+
body = JSON.stringify(
|
|
427
|
+
(0, import_smithy_client.take)(input, {
|
|
428
|
+
IdentityProvider: (_) => (0, import_smithy_client._json)(_),
|
|
429
|
+
Product: [],
|
|
430
|
+
Settings: (_) => (0, import_smithy_client._json)(_)
|
|
431
|
+
})
|
|
432
|
+
);
|
|
433
|
+
b.m("POST").h(headers).b(body);
|
|
434
|
+
return b.build();
|
|
435
|
+
}, "se_RegisterIdentityProviderCommand");
|
|
436
|
+
var se_StartProductSubscriptionCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
437
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
438
|
+
const headers = {
|
|
439
|
+
"content-type": "application/json"
|
|
440
|
+
};
|
|
441
|
+
b.bp("/user/StartProductSubscription");
|
|
442
|
+
let body;
|
|
443
|
+
body = JSON.stringify(
|
|
444
|
+
(0, import_smithy_client.take)(input, {
|
|
445
|
+
Domain: [],
|
|
446
|
+
IdentityProvider: (_) => (0, import_smithy_client._json)(_),
|
|
447
|
+
Product: [],
|
|
448
|
+
Username: []
|
|
449
|
+
})
|
|
450
|
+
);
|
|
451
|
+
b.m("POST").h(headers).b(body);
|
|
452
|
+
return b.build();
|
|
453
|
+
}, "se_StartProductSubscriptionCommand");
|
|
454
|
+
var se_StopProductSubscriptionCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
455
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
456
|
+
const headers = {
|
|
457
|
+
"content-type": "application/json"
|
|
458
|
+
};
|
|
459
|
+
b.bp("/user/StopProductSubscription");
|
|
460
|
+
let body;
|
|
461
|
+
body = JSON.stringify(
|
|
462
|
+
(0, import_smithy_client.take)(input, {
|
|
463
|
+
Domain: [],
|
|
464
|
+
IdentityProvider: (_) => (0, import_smithy_client._json)(_),
|
|
465
|
+
Product: [],
|
|
466
|
+
Username: []
|
|
467
|
+
})
|
|
468
|
+
);
|
|
469
|
+
b.m("POST").h(headers).b(body);
|
|
470
|
+
return b.build();
|
|
471
|
+
}, "se_StopProductSubscriptionCommand");
|
|
472
|
+
var se_UpdateIdentityProviderSettingsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
473
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
474
|
+
const headers = {
|
|
475
|
+
"content-type": "application/json"
|
|
476
|
+
};
|
|
477
|
+
b.bp("/identity-provider/UpdateIdentityProviderSettings");
|
|
478
|
+
let body;
|
|
479
|
+
body = JSON.stringify(
|
|
480
|
+
(0, import_smithy_client.take)(input, {
|
|
481
|
+
IdentityProvider: (_) => (0, import_smithy_client._json)(_),
|
|
482
|
+
Product: [],
|
|
483
|
+
UpdateSettings: (_) => (0, import_smithy_client._json)(_)
|
|
484
|
+
})
|
|
485
|
+
);
|
|
486
|
+
b.m("POST").h(headers).b(body);
|
|
487
|
+
return b.build();
|
|
488
|
+
}, "se_UpdateIdentityProviderSettingsCommand");
|
|
489
|
+
var de_AssociateUserCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
490
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
491
|
+
return de_AssociateUserCommandError(output, context);
|
|
492
|
+
}
|
|
493
|
+
const contents = (0, import_smithy_client.map)({
|
|
494
|
+
$metadata: deserializeMetadata(output)
|
|
495
|
+
});
|
|
496
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
497
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
498
|
+
InstanceUserSummary: import_smithy_client._json
|
|
499
|
+
});
|
|
500
|
+
Object.assign(contents, doc);
|
|
501
|
+
return contents;
|
|
502
|
+
}, "de_AssociateUserCommand");
|
|
503
|
+
var de_AssociateUserCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
504
|
+
const parsedOutput = {
|
|
505
|
+
...output,
|
|
506
|
+
body: await parseErrorBody(output.body, context)
|
|
507
|
+
};
|
|
508
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
509
|
+
switch (errorCode) {
|
|
510
|
+
case "AccessDeniedException":
|
|
511
|
+
case "com.amazonaws.licensemanagerusersubscriptions#AccessDeniedException":
|
|
512
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
513
|
+
case "ConflictException":
|
|
514
|
+
case "com.amazonaws.licensemanagerusersubscriptions#ConflictException":
|
|
515
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
516
|
+
case "InternalServerException":
|
|
517
|
+
case "com.amazonaws.licensemanagerusersubscriptions#InternalServerException":
|
|
518
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
519
|
+
case "ResourceNotFoundException":
|
|
520
|
+
case "com.amazonaws.licensemanagerusersubscriptions#ResourceNotFoundException":
|
|
521
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
522
|
+
case "ServiceQuotaExceededException":
|
|
523
|
+
case "com.amazonaws.licensemanagerusersubscriptions#ServiceQuotaExceededException":
|
|
524
|
+
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
525
|
+
case "ThrottlingException":
|
|
526
|
+
case "com.amazonaws.licensemanagerusersubscriptions#ThrottlingException":
|
|
527
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
528
|
+
case "ValidationException":
|
|
529
|
+
case "com.amazonaws.licensemanagerusersubscriptions#ValidationException":
|
|
530
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
531
|
+
default:
|
|
532
|
+
const parsedBody = parsedOutput.body;
|
|
533
|
+
return throwDefaultError({
|
|
534
|
+
output,
|
|
535
|
+
parsedBody,
|
|
536
|
+
errorCode
|
|
537
|
+
});
|
|
538
|
+
}
|
|
539
|
+
}, "de_AssociateUserCommandError");
|
|
540
|
+
var de_DeregisterIdentityProviderCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
541
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
542
|
+
return de_DeregisterIdentityProviderCommandError(output, context);
|
|
543
|
+
}
|
|
544
|
+
const contents = (0, import_smithy_client.map)({
|
|
545
|
+
$metadata: deserializeMetadata(output)
|
|
546
|
+
});
|
|
547
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
548
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
549
|
+
IdentityProviderSummary: import_smithy_client._json
|
|
550
|
+
});
|
|
551
|
+
Object.assign(contents, doc);
|
|
552
|
+
return contents;
|
|
553
|
+
}, "de_DeregisterIdentityProviderCommand");
|
|
554
|
+
var de_DeregisterIdentityProviderCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
555
|
+
const parsedOutput = {
|
|
556
|
+
...output,
|
|
557
|
+
body: await parseErrorBody(output.body, context)
|
|
558
|
+
};
|
|
559
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
560
|
+
switch (errorCode) {
|
|
561
|
+
case "AccessDeniedException":
|
|
562
|
+
case "com.amazonaws.licensemanagerusersubscriptions#AccessDeniedException":
|
|
563
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
564
|
+
case "ConflictException":
|
|
565
|
+
case "com.amazonaws.licensemanagerusersubscriptions#ConflictException":
|
|
566
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
567
|
+
case "InternalServerException":
|
|
568
|
+
case "com.amazonaws.licensemanagerusersubscriptions#InternalServerException":
|
|
569
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
570
|
+
case "ResourceNotFoundException":
|
|
571
|
+
case "com.amazonaws.licensemanagerusersubscriptions#ResourceNotFoundException":
|
|
572
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
573
|
+
case "ServiceQuotaExceededException":
|
|
574
|
+
case "com.amazonaws.licensemanagerusersubscriptions#ServiceQuotaExceededException":
|
|
575
|
+
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
576
|
+
case "ThrottlingException":
|
|
577
|
+
case "com.amazonaws.licensemanagerusersubscriptions#ThrottlingException":
|
|
578
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
579
|
+
case "ValidationException":
|
|
580
|
+
case "com.amazonaws.licensemanagerusersubscriptions#ValidationException":
|
|
581
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
582
|
+
default:
|
|
583
|
+
const parsedBody = parsedOutput.body;
|
|
584
|
+
return throwDefaultError({
|
|
585
|
+
output,
|
|
586
|
+
parsedBody,
|
|
587
|
+
errorCode
|
|
588
|
+
});
|
|
589
|
+
}
|
|
590
|
+
}, "de_DeregisterIdentityProviderCommandError");
|
|
591
|
+
var de_DisassociateUserCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
592
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
593
|
+
return de_DisassociateUserCommandError(output, context);
|
|
594
|
+
}
|
|
595
|
+
const contents = (0, import_smithy_client.map)({
|
|
596
|
+
$metadata: deserializeMetadata(output)
|
|
597
|
+
});
|
|
598
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
599
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
600
|
+
InstanceUserSummary: import_smithy_client._json
|
|
601
|
+
});
|
|
602
|
+
Object.assign(contents, doc);
|
|
603
|
+
return contents;
|
|
604
|
+
}, "de_DisassociateUserCommand");
|
|
605
|
+
var de_DisassociateUserCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
606
|
+
const parsedOutput = {
|
|
607
|
+
...output,
|
|
608
|
+
body: await parseErrorBody(output.body, context)
|
|
609
|
+
};
|
|
610
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
611
|
+
switch (errorCode) {
|
|
612
|
+
case "AccessDeniedException":
|
|
613
|
+
case "com.amazonaws.licensemanagerusersubscriptions#AccessDeniedException":
|
|
614
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
615
|
+
case "ConflictException":
|
|
616
|
+
case "com.amazonaws.licensemanagerusersubscriptions#ConflictException":
|
|
617
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
618
|
+
case "InternalServerException":
|
|
619
|
+
case "com.amazonaws.licensemanagerusersubscriptions#InternalServerException":
|
|
620
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
621
|
+
case "ResourceNotFoundException":
|
|
622
|
+
case "com.amazonaws.licensemanagerusersubscriptions#ResourceNotFoundException":
|
|
623
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
624
|
+
case "ServiceQuotaExceededException":
|
|
625
|
+
case "com.amazonaws.licensemanagerusersubscriptions#ServiceQuotaExceededException":
|
|
626
|
+
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
627
|
+
case "ThrottlingException":
|
|
628
|
+
case "com.amazonaws.licensemanagerusersubscriptions#ThrottlingException":
|
|
629
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
630
|
+
case "ValidationException":
|
|
631
|
+
case "com.amazonaws.licensemanagerusersubscriptions#ValidationException":
|
|
632
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
633
|
+
default:
|
|
634
|
+
const parsedBody = parsedOutput.body;
|
|
635
|
+
return throwDefaultError({
|
|
636
|
+
output,
|
|
637
|
+
parsedBody,
|
|
638
|
+
errorCode
|
|
639
|
+
});
|
|
640
|
+
}
|
|
641
|
+
}, "de_DisassociateUserCommandError");
|
|
642
|
+
var de_ListIdentityProvidersCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
643
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
644
|
+
return de_ListIdentityProvidersCommandError(output, context);
|
|
645
|
+
}
|
|
646
|
+
const contents = (0, import_smithy_client.map)({
|
|
647
|
+
$metadata: deserializeMetadata(output)
|
|
648
|
+
});
|
|
649
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
650
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
651
|
+
IdentityProviderSummaries: import_smithy_client._json,
|
|
652
|
+
NextToken: import_smithy_client.expectString
|
|
653
|
+
});
|
|
654
|
+
Object.assign(contents, doc);
|
|
655
|
+
return contents;
|
|
656
|
+
}, "de_ListIdentityProvidersCommand");
|
|
657
|
+
var de_ListIdentityProvidersCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
658
|
+
const parsedOutput = {
|
|
659
|
+
...output,
|
|
660
|
+
body: await parseErrorBody(output.body, context)
|
|
661
|
+
};
|
|
662
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
663
|
+
switch (errorCode) {
|
|
664
|
+
case "AccessDeniedException":
|
|
665
|
+
case "com.amazonaws.licensemanagerusersubscriptions#AccessDeniedException":
|
|
666
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
667
|
+
case "ConflictException":
|
|
668
|
+
case "com.amazonaws.licensemanagerusersubscriptions#ConflictException":
|
|
669
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
670
|
+
case "InternalServerException":
|
|
671
|
+
case "com.amazonaws.licensemanagerusersubscriptions#InternalServerException":
|
|
672
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
673
|
+
case "ResourceNotFoundException":
|
|
674
|
+
case "com.amazonaws.licensemanagerusersubscriptions#ResourceNotFoundException":
|
|
675
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
676
|
+
case "ServiceQuotaExceededException":
|
|
677
|
+
case "com.amazonaws.licensemanagerusersubscriptions#ServiceQuotaExceededException":
|
|
678
|
+
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
679
|
+
case "ThrottlingException":
|
|
680
|
+
case "com.amazonaws.licensemanagerusersubscriptions#ThrottlingException":
|
|
681
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
682
|
+
case "ValidationException":
|
|
683
|
+
case "com.amazonaws.licensemanagerusersubscriptions#ValidationException":
|
|
684
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
685
|
+
default:
|
|
686
|
+
const parsedBody = parsedOutput.body;
|
|
687
|
+
return throwDefaultError({
|
|
688
|
+
output,
|
|
689
|
+
parsedBody,
|
|
690
|
+
errorCode
|
|
691
|
+
});
|
|
692
|
+
}
|
|
693
|
+
}, "de_ListIdentityProvidersCommandError");
|
|
694
|
+
var de_ListInstancesCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
695
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
696
|
+
return de_ListInstancesCommandError(output, context);
|
|
697
|
+
}
|
|
698
|
+
const contents = (0, import_smithy_client.map)({
|
|
699
|
+
$metadata: deserializeMetadata(output)
|
|
700
|
+
});
|
|
701
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
702
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
703
|
+
InstanceSummaries: import_smithy_client._json,
|
|
704
|
+
NextToken: import_smithy_client.expectString
|
|
705
|
+
});
|
|
706
|
+
Object.assign(contents, doc);
|
|
707
|
+
return contents;
|
|
708
|
+
}, "de_ListInstancesCommand");
|
|
709
|
+
var de_ListInstancesCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
710
|
+
const parsedOutput = {
|
|
711
|
+
...output,
|
|
712
|
+
body: await parseErrorBody(output.body, context)
|
|
713
|
+
};
|
|
714
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
715
|
+
switch (errorCode) {
|
|
716
|
+
case "AccessDeniedException":
|
|
717
|
+
case "com.amazonaws.licensemanagerusersubscriptions#AccessDeniedException":
|
|
718
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
719
|
+
case "ConflictException":
|
|
720
|
+
case "com.amazonaws.licensemanagerusersubscriptions#ConflictException":
|
|
721
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
722
|
+
case "InternalServerException":
|
|
723
|
+
case "com.amazonaws.licensemanagerusersubscriptions#InternalServerException":
|
|
724
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
725
|
+
case "ResourceNotFoundException":
|
|
726
|
+
case "com.amazonaws.licensemanagerusersubscriptions#ResourceNotFoundException":
|
|
727
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
728
|
+
case "ServiceQuotaExceededException":
|
|
729
|
+
case "com.amazonaws.licensemanagerusersubscriptions#ServiceQuotaExceededException":
|
|
730
|
+
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
731
|
+
case "ThrottlingException":
|
|
732
|
+
case "com.amazonaws.licensemanagerusersubscriptions#ThrottlingException":
|
|
733
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
734
|
+
case "ValidationException":
|
|
735
|
+
case "com.amazonaws.licensemanagerusersubscriptions#ValidationException":
|
|
736
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
737
|
+
default:
|
|
738
|
+
const parsedBody = parsedOutput.body;
|
|
739
|
+
return throwDefaultError({
|
|
740
|
+
output,
|
|
741
|
+
parsedBody,
|
|
742
|
+
errorCode
|
|
743
|
+
});
|
|
744
|
+
}
|
|
745
|
+
}, "de_ListInstancesCommandError");
|
|
746
|
+
var de_ListProductSubscriptionsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
747
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
748
|
+
return de_ListProductSubscriptionsCommandError(output, context);
|
|
749
|
+
}
|
|
750
|
+
const contents = (0, import_smithy_client.map)({
|
|
751
|
+
$metadata: deserializeMetadata(output)
|
|
752
|
+
});
|
|
753
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
754
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
755
|
+
NextToken: import_smithy_client.expectString,
|
|
756
|
+
ProductUserSummaries: import_smithy_client._json
|
|
757
|
+
});
|
|
758
|
+
Object.assign(contents, doc);
|
|
759
|
+
return contents;
|
|
760
|
+
}, "de_ListProductSubscriptionsCommand");
|
|
761
|
+
var de_ListProductSubscriptionsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
762
|
+
const parsedOutput = {
|
|
763
|
+
...output,
|
|
764
|
+
body: await parseErrorBody(output.body, context)
|
|
765
|
+
};
|
|
766
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
767
|
+
switch (errorCode) {
|
|
768
|
+
case "AccessDeniedException":
|
|
769
|
+
case "com.amazonaws.licensemanagerusersubscriptions#AccessDeniedException":
|
|
770
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
771
|
+
case "ConflictException":
|
|
772
|
+
case "com.amazonaws.licensemanagerusersubscriptions#ConflictException":
|
|
773
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
774
|
+
case "InternalServerException":
|
|
775
|
+
case "com.amazonaws.licensemanagerusersubscriptions#InternalServerException":
|
|
776
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
777
|
+
case "ResourceNotFoundException":
|
|
778
|
+
case "com.amazonaws.licensemanagerusersubscriptions#ResourceNotFoundException":
|
|
779
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
780
|
+
case "ServiceQuotaExceededException":
|
|
781
|
+
case "com.amazonaws.licensemanagerusersubscriptions#ServiceQuotaExceededException":
|
|
782
|
+
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
783
|
+
case "ThrottlingException":
|
|
784
|
+
case "com.amazonaws.licensemanagerusersubscriptions#ThrottlingException":
|
|
785
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
786
|
+
case "ValidationException":
|
|
787
|
+
case "com.amazonaws.licensemanagerusersubscriptions#ValidationException":
|
|
788
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
789
|
+
default:
|
|
790
|
+
const parsedBody = parsedOutput.body;
|
|
791
|
+
return throwDefaultError({
|
|
792
|
+
output,
|
|
793
|
+
parsedBody,
|
|
794
|
+
errorCode
|
|
795
|
+
});
|
|
796
|
+
}
|
|
797
|
+
}, "de_ListProductSubscriptionsCommandError");
|
|
798
|
+
var de_ListUserAssociationsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
799
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
800
|
+
return de_ListUserAssociationsCommandError(output, context);
|
|
801
|
+
}
|
|
802
|
+
const contents = (0, import_smithy_client.map)({
|
|
803
|
+
$metadata: deserializeMetadata(output)
|
|
804
|
+
});
|
|
805
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
806
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
807
|
+
InstanceUserSummaries: import_smithy_client._json,
|
|
808
|
+
NextToken: import_smithy_client.expectString
|
|
809
|
+
});
|
|
810
|
+
Object.assign(contents, doc);
|
|
811
|
+
return contents;
|
|
812
|
+
}, "de_ListUserAssociationsCommand");
|
|
813
|
+
var de_ListUserAssociationsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
814
|
+
const parsedOutput = {
|
|
815
|
+
...output,
|
|
816
|
+
body: await parseErrorBody(output.body, context)
|
|
817
|
+
};
|
|
818
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
819
|
+
switch (errorCode) {
|
|
820
|
+
case "AccessDeniedException":
|
|
821
|
+
case "com.amazonaws.licensemanagerusersubscriptions#AccessDeniedException":
|
|
822
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
823
|
+
case "ConflictException":
|
|
824
|
+
case "com.amazonaws.licensemanagerusersubscriptions#ConflictException":
|
|
825
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
826
|
+
case "InternalServerException":
|
|
827
|
+
case "com.amazonaws.licensemanagerusersubscriptions#InternalServerException":
|
|
828
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
829
|
+
case "ResourceNotFoundException":
|
|
830
|
+
case "com.amazonaws.licensemanagerusersubscriptions#ResourceNotFoundException":
|
|
831
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
832
|
+
case "ServiceQuotaExceededException":
|
|
833
|
+
case "com.amazonaws.licensemanagerusersubscriptions#ServiceQuotaExceededException":
|
|
834
|
+
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
835
|
+
case "ThrottlingException":
|
|
836
|
+
case "com.amazonaws.licensemanagerusersubscriptions#ThrottlingException":
|
|
837
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
838
|
+
case "ValidationException":
|
|
839
|
+
case "com.amazonaws.licensemanagerusersubscriptions#ValidationException":
|
|
840
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
841
|
+
default:
|
|
842
|
+
const parsedBody = parsedOutput.body;
|
|
843
|
+
return throwDefaultError({
|
|
844
|
+
output,
|
|
845
|
+
parsedBody,
|
|
846
|
+
errorCode
|
|
847
|
+
});
|
|
848
|
+
}
|
|
849
|
+
}, "de_ListUserAssociationsCommandError");
|
|
850
|
+
var de_RegisterIdentityProviderCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
851
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
852
|
+
return de_RegisterIdentityProviderCommandError(output, context);
|
|
853
|
+
}
|
|
854
|
+
const contents = (0, import_smithy_client.map)({
|
|
855
|
+
$metadata: deserializeMetadata(output)
|
|
856
|
+
});
|
|
857
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
858
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
859
|
+
IdentityProviderSummary: import_smithy_client._json
|
|
860
|
+
});
|
|
861
|
+
Object.assign(contents, doc);
|
|
862
|
+
return contents;
|
|
863
|
+
}, "de_RegisterIdentityProviderCommand");
|
|
864
|
+
var de_RegisterIdentityProviderCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
865
|
+
const parsedOutput = {
|
|
866
|
+
...output,
|
|
867
|
+
body: await parseErrorBody(output.body, context)
|
|
868
|
+
};
|
|
869
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
870
|
+
switch (errorCode) {
|
|
871
|
+
case "AccessDeniedException":
|
|
872
|
+
case "com.amazonaws.licensemanagerusersubscriptions#AccessDeniedException":
|
|
873
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
874
|
+
case "ConflictException":
|
|
875
|
+
case "com.amazonaws.licensemanagerusersubscriptions#ConflictException":
|
|
876
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
877
|
+
case "InternalServerException":
|
|
878
|
+
case "com.amazonaws.licensemanagerusersubscriptions#InternalServerException":
|
|
879
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
880
|
+
case "ResourceNotFoundException":
|
|
881
|
+
case "com.amazonaws.licensemanagerusersubscriptions#ResourceNotFoundException":
|
|
882
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
883
|
+
case "ServiceQuotaExceededException":
|
|
884
|
+
case "com.amazonaws.licensemanagerusersubscriptions#ServiceQuotaExceededException":
|
|
885
|
+
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
886
|
+
case "ThrottlingException":
|
|
887
|
+
case "com.amazonaws.licensemanagerusersubscriptions#ThrottlingException":
|
|
888
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
889
|
+
case "ValidationException":
|
|
890
|
+
case "com.amazonaws.licensemanagerusersubscriptions#ValidationException":
|
|
891
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
892
|
+
default:
|
|
893
|
+
const parsedBody = parsedOutput.body;
|
|
894
|
+
return throwDefaultError({
|
|
895
|
+
output,
|
|
896
|
+
parsedBody,
|
|
897
|
+
errorCode
|
|
898
|
+
});
|
|
899
|
+
}
|
|
900
|
+
}, "de_RegisterIdentityProviderCommandError");
|
|
901
|
+
var de_StartProductSubscriptionCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
902
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
903
|
+
return de_StartProductSubscriptionCommandError(output, context);
|
|
904
|
+
}
|
|
905
|
+
const contents = (0, import_smithy_client.map)({
|
|
906
|
+
$metadata: deserializeMetadata(output)
|
|
907
|
+
});
|
|
908
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
909
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
910
|
+
ProductUserSummary: import_smithy_client._json
|
|
911
|
+
});
|
|
912
|
+
Object.assign(contents, doc);
|
|
913
|
+
return contents;
|
|
914
|
+
}, "de_StartProductSubscriptionCommand");
|
|
915
|
+
var de_StartProductSubscriptionCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
916
|
+
const parsedOutput = {
|
|
917
|
+
...output,
|
|
918
|
+
body: await parseErrorBody(output.body, context)
|
|
919
|
+
};
|
|
920
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
921
|
+
switch (errorCode) {
|
|
922
|
+
case "AccessDeniedException":
|
|
923
|
+
case "com.amazonaws.licensemanagerusersubscriptions#AccessDeniedException":
|
|
924
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
925
|
+
case "ConflictException":
|
|
926
|
+
case "com.amazonaws.licensemanagerusersubscriptions#ConflictException":
|
|
927
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
928
|
+
case "InternalServerException":
|
|
929
|
+
case "com.amazonaws.licensemanagerusersubscriptions#InternalServerException":
|
|
930
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
931
|
+
case "ResourceNotFoundException":
|
|
932
|
+
case "com.amazonaws.licensemanagerusersubscriptions#ResourceNotFoundException":
|
|
933
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
934
|
+
case "ServiceQuotaExceededException":
|
|
935
|
+
case "com.amazonaws.licensemanagerusersubscriptions#ServiceQuotaExceededException":
|
|
936
|
+
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
937
|
+
case "ThrottlingException":
|
|
938
|
+
case "com.amazonaws.licensemanagerusersubscriptions#ThrottlingException":
|
|
939
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
940
|
+
case "ValidationException":
|
|
941
|
+
case "com.amazonaws.licensemanagerusersubscriptions#ValidationException":
|
|
942
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
943
|
+
default:
|
|
944
|
+
const parsedBody = parsedOutput.body;
|
|
945
|
+
return throwDefaultError({
|
|
946
|
+
output,
|
|
947
|
+
parsedBody,
|
|
948
|
+
errorCode
|
|
949
|
+
});
|
|
950
|
+
}
|
|
951
|
+
}, "de_StartProductSubscriptionCommandError");
|
|
952
|
+
var de_StopProductSubscriptionCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
953
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
954
|
+
return de_StopProductSubscriptionCommandError(output, context);
|
|
955
|
+
}
|
|
956
|
+
const contents = (0, import_smithy_client.map)({
|
|
957
|
+
$metadata: deserializeMetadata(output)
|
|
958
|
+
});
|
|
959
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
960
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
961
|
+
ProductUserSummary: import_smithy_client._json
|
|
962
|
+
});
|
|
963
|
+
Object.assign(contents, doc);
|
|
964
|
+
return contents;
|
|
965
|
+
}, "de_StopProductSubscriptionCommand");
|
|
966
|
+
var de_StopProductSubscriptionCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
967
|
+
const parsedOutput = {
|
|
968
|
+
...output,
|
|
969
|
+
body: await parseErrorBody(output.body, context)
|
|
970
|
+
};
|
|
971
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
972
|
+
switch (errorCode) {
|
|
973
|
+
case "AccessDeniedException":
|
|
974
|
+
case "com.amazonaws.licensemanagerusersubscriptions#AccessDeniedException":
|
|
975
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
976
|
+
case "ConflictException":
|
|
977
|
+
case "com.amazonaws.licensemanagerusersubscriptions#ConflictException":
|
|
978
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
979
|
+
case "InternalServerException":
|
|
980
|
+
case "com.amazonaws.licensemanagerusersubscriptions#InternalServerException":
|
|
981
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
982
|
+
case "ResourceNotFoundException":
|
|
983
|
+
case "com.amazonaws.licensemanagerusersubscriptions#ResourceNotFoundException":
|
|
984
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
985
|
+
case "ServiceQuotaExceededException":
|
|
986
|
+
case "com.amazonaws.licensemanagerusersubscriptions#ServiceQuotaExceededException":
|
|
987
|
+
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
988
|
+
case "ThrottlingException":
|
|
989
|
+
case "com.amazonaws.licensemanagerusersubscriptions#ThrottlingException":
|
|
990
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
991
|
+
case "ValidationException":
|
|
992
|
+
case "com.amazonaws.licensemanagerusersubscriptions#ValidationException":
|
|
993
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
994
|
+
default:
|
|
995
|
+
const parsedBody = parsedOutput.body;
|
|
996
|
+
return throwDefaultError({
|
|
997
|
+
output,
|
|
998
|
+
parsedBody,
|
|
999
|
+
errorCode
|
|
1000
|
+
});
|
|
1001
|
+
}
|
|
1002
|
+
}, "de_StopProductSubscriptionCommandError");
|
|
1003
|
+
var de_UpdateIdentityProviderSettingsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1004
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1005
|
+
return de_UpdateIdentityProviderSettingsCommandError(output, context);
|
|
1006
|
+
}
|
|
1007
|
+
const contents = (0, import_smithy_client.map)({
|
|
1008
|
+
$metadata: deserializeMetadata(output)
|
|
1009
|
+
});
|
|
1010
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
1011
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1012
|
+
IdentityProviderSummary: import_smithy_client._json
|
|
1013
|
+
});
|
|
1014
|
+
Object.assign(contents, doc);
|
|
1015
|
+
return contents;
|
|
1016
|
+
}, "de_UpdateIdentityProviderSettingsCommand");
|
|
1017
|
+
var de_UpdateIdentityProviderSettingsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1018
|
+
const parsedOutput = {
|
|
1019
|
+
...output,
|
|
1020
|
+
body: await parseErrorBody(output.body, context)
|
|
1021
|
+
};
|
|
1022
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1023
|
+
switch (errorCode) {
|
|
1024
|
+
case "AccessDeniedException":
|
|
1025
|
+
case "com.amazonaws.licensemanagerusersubscriptions#AccessDeniedException":
|
|
1026
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
1027
|
+
case "InternalServerException":
|
|
1028
|
+
case "com.amazonaws.licensemanagerusersubscriptions#InternalServerException":
|
|
1029
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
1030
|
+
case "ThrottlingException":
|
|
1031
|
+
case "com.amazonaws.licensemanagerusersubscriptions#ThrottlingException":
|
|
1032
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
1033
|
+
case "ValidationException":
|
|
1034
|
+
case "com.amazonaws.licensemanagerusersubscriptions#ValidationException":
|
|
1035
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1036
|
+
default:
|
|
1037
|
+
const parsedBody = parsedOutput.body;
|
|
1038
|
+
return throwDefaultError({
|
|
1039
|
+
output,
|
|
1040
|
+
parsedBody,
|
|
1041
|
+
errorCode
|
|
1042
|
+
});
|
|
1043
|
+
}
|
|
1044
|
+
}, "de_UpdateIdentityProviderSettingsCommandError");
|
|
1045
|
+
var throwDefaultError = (0, import_smithy_client.withBaseException)(LicenseManagerUserSubscriptionsServiceException);
|
|
1046
|
+
var de_AccessDeniedExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1047
|
+
const contents = (0, import_smithy_client.map)({});
|
|
1048
|
+
const data = parsedOutput.body;
|
|
1049
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1050
|
+
message: import_smithy_client.expectString
|
|
1051
|
+
});
|
|
1052
|
+
Object.assign(contents, doc);
|
|
1053
|
+
const exception = new AccessDeniedException({
|
|
1054
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1055
|
+
...contents
|
|
1056
|
+
});
|
|
1057
|
+
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
1058
|
+
}, "de_AccessDeniedExceptionRes");
|
|
1059
|
+
var de_ConflictExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1060
|
+
const contents = (0, import_smithy_client.map)({});
|
|
1061
|
+
const data = parsedOutput.body;
|
|
1062
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1063
|
+
message: import_smithy_client.expectString
|
|
1064
|
+
});
|
|
1065
|
+
Object.assign(contents, doc);
|
|
1066
|
+
const exception = new ConflictException({
|
|
1067
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1068
|
+
...contents
|
|
1069
|
+
});
|
|
1070
|
+
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
1071
|
+
}, "de_ConflictExceptionRes");
|
|
1072
|
+
var de_InternalServerExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1073
|
+
const contents = (0, import_smithy_client.map)({});
|
|
1074
|
+
const data = parsedOutput.body;
|
|
1075
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1076
|
+
message: import_smithy_client.expectString
|
|
1077
|
+
});
|
|
1078
|
+
Object.assign(contents, doc);
|
|
1079
|
+
const exception = new InternalServerException({
|
|
1080
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1081
|
+
...contents
|
|
1082
|
+
});
|
|
1083
|
+
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
1084
|
+
}, "de_InternalServerExceptionRes");
|
|
1085
|
+
var de_ResourceNotFoundExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1086
|
+
const contents = (0, import_smithy_client.map)({});
|
|
1087
|
+
const data = parsedOutput.body;
|
|
1088
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1089
|
+
message: import_smithy_client.expectString
|
|
1090
|
+
});
|
|
1091
|
+
Object.assign(contents, doc);
|
|
1092
|
+
const exception = new ResourceNotFoundException({
|
|
1093
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1094
|
+
...contents
|
|
1095
|
+
});
|
|
1096
|
+
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
1097
|
+
}, "de_ResourceNotFoundExceptionRes");
|
|
1098
|
+
var de_ServiceQuotaExceededExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1099
|
+
const contents = (0, import_smithy_client.map)({});
|
|
1100
|
+
const data = parsedOutput.body;
|
|
1101
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1102
|
+
message: import_smithy_client.expectString
|
|
1103
|
+
});
|
|
1104
|
+
Object.assign(contents, doc);
|
|
1105
|
+
const exception = new ServiceQuotaExceededException({
|
|
1106
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1107
|
+
...contents
|
|
1108
|
+
});
|
|
1109
|
+
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
1110
|
+
}, "de_ServiceQuotaExceededExceptionRes");
|
|
1111
|
+
var de_ThrottlingExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1112
|
+
const contents = (0, import_smithy_client.map)({});
|
|
1113
|
+
const data = parsedOutput.body;
|
|
1114
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1115
|
+
message: import_smithy_client.expectString
|
|
1116
|
+
});
|
|
1117
|
+
Object.assign(contents, doc);
|
|
1118
|
+
const exception = new ThrottlingException({
|
|
1119
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1120
|
+
...contents
|
|
1121
|
+
});
|
|
1122
|
+
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
1123
|
+
}, "de_ThrottlingExceptionRes");
|
|
1124
|
+
var de_ValidationExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1125
|
+
const contents = (0, import_smithy_client.map)({});
|
|
1126
|
+
const data = parsedOutput.body;
|
|
1127
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1128
|
+
message: import_smithy_client.expectString
|
|
1129
|
+
});
|
|
1130
|
+
Object.assign(contents, doc);
|
|
1131
|
+
const exception = new ValidationException({
|
|
1132
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1133
|
+
...contents
|
|
1134
|
+
});
|
|
1135
|
+
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
1136
|
+
}, "de_ValidationExceptionRes");
|
|
1137
|
+
var deserializeMetadata = /* @__PURE__ */ __name((output) => ({
|
|
1138
|
+
httpStatusCode: output.statusCode,
|
|
1139
|
+
requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
|
|
1140
|
+
extendedRequestId: output.headers["x-amz-id-2"],
|
|
1141
|
+
cfId: output.headers["x-amz-cf-id"]
|
|
1142
|
+
}), "deserializeMetadata");
|
|
1143
|
+
var collectBodyString = /* @__PURE__ */ __name((streamBody, context) => (0, import_smithy_client.collectBody)(streamBody, context).then((body) => context.utf8Encoder(body)), "collectBodyString");
|
|
1144
|
+
var parseBody = /* @__PURE__ */ __name((streamBody, context) => collectBodyString(streamBody, context).then((encoded) => {
|
|
1145
|
+
if (encoded.length) {
|
|
1146
|
+
return JSON.parse(encoded);
|
|
1147
|
+
}
|
|
1148
|
+
return {};
|
|
1149
|
+
}), "parseBody");
|
|
1150
|
+
var parseErrorBody = /* @__PURE__ */ __name(async (errorBody, context) => {
|
|
1151
|
+
const value = await parseBody(errorBody, context);
|
|
1152
|
+
value.message = value.message ?? value.Message;
|
|
1153
|
+
return value;
|
|
1154
|
+
}, "parseErrorBody");
|
|
1155
|
+
var loadRestJsonErrorCode = /* @__PURE__ */ __name((output, data) => {
|
|
1156
|
+
const findKey = /* @__PURE__ */ __name((object, key) => Object.keys(object).find((k) => k.toLowerCase() === key.toLowerCase()), "findKey");
|
|
1157
|
+
const sanitizeErrorCode = /* @__PURE__ */ __name((rawValue) => {
|
|
1158
|
+
let cleanValue = rawValue;
|
|
1159
|
+
if (typeof cleanValue === "number") {
|
|
1160
|
+
cleanValue = cleanValue.toString();
|
|
1161
|
+
}
|
|
1162
|
+
if (cleanValue.indexOf(",") >= 0) {
|
|
1163
|
+
cleanValue = cleanValue.split(",")[0];
|
|
1164
|
+
}
|
|
1165
|
+
if (cleanValue.indexOf(":") >= 0) {
|
|
1166
|
+
cleanValue = cleanValue.split(":")[0];
|
|
1167
|
+
}
|
|
1168
|
+
if (cleanValue.indexOf("#") >= 0) {
|
|
1169
|
+
cleanValue = cleanValue.split("#")[1];
|
|
1170
|
+
}
|
|
1171
|
+
return cleanValue;
|
|
1172
|
+
}, "sanitizeErrorCode");
|
|
1173
|
+
const headerKey = findKey(output.headers, "x-amzn-errortype");
|
|
1174
|
+
if (headerKey !== void 0) {
|
|
1175
|
+
return sanitizeErrorCode(output.headers[headerKey]);
|
|
1176
|
+
}
|
|
1177
|
+
if (data.code !== void 0) {
|
|
1178
|
+
return sanitizeErrorCode(data.code);
|
|
1179
|
+
}
|
|
1180
|
+
if (data["__type"] !== void 0) {
|
|
1181
|
+
return sanitizeErrorCode(data["__type"]);
|
|
1182
|
+
}
|
|
1183
|
+
}, "loadRestJsonErrorCode");
|
|
1184
|
+
|
|
1185
|
+
// src/commands/AssociateUserCommand.ts
|
|
1186
|
+
var _AssociateUserCommand = class _AssociateUserCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
1187
|
+
...commonParams
|
|
1188
|
+
}).m(function(Command, cs, config, o) {
|
|
1189
|
+
return [
|
|
1190
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1191
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1192
|
+
];
|
|
1193
|
+
}).s("LicenseManagerUserSubscriptions", "AssociateUser", {}).n("LicenseManagerUserSubscriptionsClient", "AssociateUserCommand").f(void 0, void 0).ser(se_AssociateUserCommand).de(de_AssociateUserCommand).build() {
|
|
1194
|
+
};
|
|
1195
|
+
__name(_AssociateUserCommand, "AssociateUserCommand");
|
|
1196
|
+
var AssociateUserCommand = _AssociateUserCommand;
|
|
1197
|
+
|
|
1198
|
+
// src/commands/DeregisterIdentityProviderCommand.ts
|
|
1199
|
+
|
|
1200
|
+
|
|
1201
|
+
|
|
1202
|
+
|
|
1203
|
+
var _DeregisterIdentityProviderCommand = class _DeregisterIdentityProviderCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
1204
|
+
...commonParams
|
|
1205
|
+
}).m(function(Command, cs, config, o) {
|
|
1206
|
+
return [
|
|
1207
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1208
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1209
|
+
];
|
|
1210
|
+
}).s("LicenseManagerUserSubscriptions", "DeregisterIdentityProvider", {}).n("LicenseManagerUserSubscriptionsClient", "DeregisterIdentityProviderCommand").f(void 0, void 0).ser(se_DeregisterIdentityProviderCommand).de(de_DeregisterIdentityProviderCommand).build() {
|
|
1211
|
+
};
|
|
1212
|
+
__name(_DeregisterIdentityProviderCommand, "DeregisterIdentityProviderCommand");
|
|
1213
|
+
var DeregisterIdentityProviderCommand = _DeregisterIdentityProviderCommand;
|
|
1214
|
+
|
|
1215
|
+
// src/commands/DisassociateUserCommand.ts
|
|
1216
|
+
|
|
1217
|
+
|
|
1218
|
+
|
|
1219
|
+
|
|
1220
|
+
var _DisassociateUserCommand = class _DisassociateUserCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
1221
|
+
...commonParams
|
|
1222
|
+
}).m(function(Command, cs, config, o) {
|
|
1223
|
+
return [
|
|
1224
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1225
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1226
|
+
];
|
|
1227
|
+
}).s("LicenseManagerUserSubscriptions", "DisassociateUser", {}).n("LicenseManagerUserSubscriptionsClient", "DisassociateUserCommand").f(void 0, void 0).ser(se_DisassociateUserCommand).de(de_DisassociateUserCommand).build() {
|
|
1228
|
+
};
|
|
1229
|
+
__name(_DisassociateUserCommand, "DisassociateUserCommand");
|
|
1230
|
+
var DisassociateUserCommand = _DisassociateUserCommand;
|
|
1231
|
+
|
|
1232
|
+
// src/commands/ListIdentityProvidersCommand.ts
|
|
1233
|
+
|
|
1234
|
+
|
|
1235
|
+
|
|
1236
|
+
|
|
1237
|
+
var _ListIdentityProvidersCommand = class _ListIdentityProvidersCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
1238
|
+
...commonParams
|
|
1239
|
+
}).m(function(Command, cs, config, o) {
|
|
1240
|
+
return [
|
|
1241
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1242
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1243
|
+
];
|
|
1244
|
+
}).s("LicenseManagerUserSubscriptions", "ListIdentityProviders", {}).n("LicenseManagerUserSubscriptionsClient", "ListIdentityProvidersCommand").f(void 0, void 0).ser(se_ListIdentityProvidersCommand).de(de_ListIdentityProvidersCommand).build() {
|
|
1245
|
+
};
|
|
1246
|
+
__name(_ListIdentityProvidersCommand, "ListIdentityProvidersCommand");
|
|
1247
|
+
var ListIdentityProvidersCommand = _ListIdentityProvidersCommand;
|
|
1248
|
+
|
|
1249
|
+
// src/commands/ListInstancesCommand.ts
|
|
1250
|
+
|
|
1251
|
+
|
|
1252
|
+
|
|
1253
|
+
|
|
1254
|
+
var _ListInstancesCommand = class _ListInstancesCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
1255
|
+
...commonParams
|
|
1256
|
+
}).m(function(Command, cs, config, o) {
|
|
1257
|
+
return [
|
|
1258
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1259
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1260
|
+
];
|
|
1261
|
+
}).s("LicenseManagerUserSubscriptions", "ListInstances", {}).n("LicenseManagerUserSubscriptionsClient", "ListInstancesCommand").f(void 0, void 0).ser(se_ListInstancesCommand).de(de_ListInstancesCommand).build() {
|
|
1262
|
+
};
|
|
1263
|
+
__name(_ListInstancesCommand, "ListInstancesCommand");
|
|
1264
|
+
var ListInstancesCommand = _ListInstancesCommand;
|
|
1265
|
+
|
|
1266
|
+
// src/commands/ListProductSubscriptionsCommand.ts
|
|
1267
|
+
|
|
1268
|
+
|
|
1269
|
+
|
|
1270
|
+
|
|
1271
|
+
var _ListProductSubscriptionsCommand = class _ListProductSubscriptionsCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
1272
|
+
...commonParams
|
|
1273
|
+
}).m(function(Command, cs, config, o) {
|
|
1274
|
+
return [
|
|
1275
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1276
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1277
|
+
];
|
|
1278
|
+
}).s("LicenseManagerUserSubscriptions", "ListProductSubscriptions", {}).n("LicenseManagerUserSubscriptionsClient", "ListProductSubscriptionsCommand").f(void 0, void 0).ser(se_ListProductSubscriptionsCommand).de(de_ListProductSubscriptionsCommand).build() {
|
|
1279
|
+
};
|
|
1280
|
+
__name(_ListProductSubscriptionsCommand, "ListProductSubscriptionsCommand");
|
|
1281
|
+
var ListProductSubscriptionsCommand = _ListProductSubscriptionsCommand;
|
|
1282
|
+
|
|
1283
|
+
// src/commands/ListUserAssociationsCommand.ts
|
|
1284
|
+
|
|
1285
|
+
|
|
1286
|
+
|
|
1287
|
+
|
|
1288
|
+
var _ListUserAssociationsCommand = class _ListUserAssociationsCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
1289
|
+
...commonParams
|
|
1290
|
+
}).m(function(Command, cs, config, o) {
|
|
1291
|
+
return [
|
|
1292
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1293
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1294
|
+
];
|
|
1295
|
+
}).s("LicenseManagerUserSubscriptions", "ListUserAssociations", {}).n("LicenseManagerUserSubscriptionsClient", "ListUserAssociationsCommand").f(void 0, void 0).ser(se_ListUserAssociationsCommand).de(de_ListUserAssociationsCommand).build() {
|
|
1296
|
+
};
|
|
1297
|
+
__name(_ListUserAssociationsCommand, "ListUserAssociationsCommand");
|
|
1298
|
+
var ListUserAssociationsCommand = _ListUserAssociationsCommand;
|
|
1299
|
+
|
|
1300
|
+
// src/commands/RegisterIdentityProviderCommand.ts
|
|
1301
|
+
|
|
1302
|
+
|
|
1303
|
+
|
|
1304
|
+
|
|
1305
|
+
var _RegisterIdentityProviderCommand = class _RegisterIdentityProviderCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
1306
|
+
...commonParams
|
|
1307
|
+
}).m(function(Command, cs, config, o) {
|
|
1308
|
+
return [
|
|
1309
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1310
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1311
|
+
];
|
|
1312
|
+
}).s("LicenseManagerUserSubscriptions", "RegisterIdentityProvider", {}).n("LicenseManagerUserSubscriptionsClient", "RegisterIdentityProviderCommand").f(void 0, void 0).ser(se_RegisterIdentityProviderCommand).de(de_RegisterIdentityProviderCommand).build() {
|
|
1313
|
+
};
|
|
1314
|
+
__name(_RegisterIdentityProviderCommand, "RegisterIdentityProviderCommand");
|
|
1315
|
+
var RegisterIdentityProviderCommand = _RegisterIdentityProviderCommand;
|
|
1316
|
+
|
|
1317
|
+
// src/commands/StartProductSubscriptionCommand.ts
|
|
1318
|
+
|
|
1319
|
+
|
|
1320
|
+
|
|
1321
|
+
|
|
1322
|
+
var _StartProductSubscriptionCommand = class _StartProductSubscriptionCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
1323
|
+
...commonParams
|
|
1324
|
+
}).m(function(Command, cs, config, o) {
|
|
1325
|
+
return [
|
|
1326
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1327
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1328
|
+
];
|
|
1329
|
+
}).s("LicenseManagerUserSubscriptions", "StartProductSubscription", {}).n("LicenseManagerUserSubscriptionsClient", "StartProductSubscriptionCommand").f(void 0, void 0).ser(se_StartProductSubscriptionCommand).de(de_StartProductSubscriptionCommand).build() {
|
|
1330
|
+
};
|
|
1331
|
+
__name(_StartProductSubscriptionCommand, "StartProductSubscriptionCommand");
|
|
1332
|
+
var StartProductSubscriptionCommand = _StartProductSubscriptionCommand;
|
|
1333
|
+
|
|
1334
|
+
// src/commands/StopProductSubscriptionCommand.ts
|
|
1335
|
+
|
|
1336
|
+
|
|
1337
|
+
|
|
1338
|
+
|
|
1339
|
+
var _StopProductSubscriptionCommand = class _StopProductSubscriptionCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
1340
|
+
...commonParams
|
|
1341
|
+
}).m(function(Command, cs, config, o) {
|
|
1342
|
+
return [
|
|
1343
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1344
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1345
|
+
];
|
|
1346
|
+
}).s("LicenseManagerUserSubscriptions", "StopProductSubscription", {}).n("LicenseManagerUserSubscriptionsClient", "StopProductSubscriptionCommand").f(void 0, void 0).ser(se_StopProductSubscriptionCommand).de(de_StopProductSubscriptionCommand).build() {
|
|
1347
|
+
};
|
|
1348
|
+
__name(_StopProductSubscriptionCommand, "StopProductSubscriptionCommand");
|
|
1349
|
+
var StopProductSubscriptionCommand = _StopProductSubscriptionCommand;
|
|
1350
|
+
|
|
1351
|
+
// src/commands/UpdateIdentityProviderSettingsCommand.ts
|
|
1352
|
+
|
|
1353
|
+
|
|
1354
|
+
|
|
1355
|
+
|
|
1356
|
+
var _UpdateIdentityProviderSettingsCommand = class _UpdateIdentityProviderSettingsCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
1357
|
+
...commonParams
|
|
1358
|
+
}).m(function(Command, cs, config, o) {
|
|
1359
|
+
return [
|
|
1360
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1361
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1362
|
+
];
|
|
1363
|
+
}).s("LicenseManagerUserSubscriptions", "UpdateIdentityProviderSettings", {}).n("LicenseManagerUserSubscriptionsClient", "UpdateIdentityProviderSettingsCommand").f(void 0, void 0).ser(se_UpdateIdentityProviderSettingsCommand).de(de_UpdateIdentityProviderSettingsCommand).build() {
|
|
1364
|
+
};
|
|
1365
|
+
__name(_UpdateIdentityProviderSettingsCommand, "UpdateIdentityProviderSettingsCommand");
|
|
1366
|
+
var UpdateIdentityProviderSettingsCommand = _UpdateIdentityProviderSettingsCommand;
|
|
1367
|
+
|
|
1368
|
+
// src/LicenseManagerUserSubscriptions.ts
|
|
1369
|
+
var commands = {
|
|
1370
|
+
AssociateUserCommand,
|
|
1371
|
+
DeregisterIdentityProviderCommand,
|
|
1372
|
+
DisassociateUserCommand,
|
|
1373
|
+
ListIdentityProvidersCommand,
|
|
1374
|
+
ListInstancesCommand,
|
|
1375
|
+
ListProductSubscriptionsCommand,
|
|
1376
|
+
ListUserAssociationsCommand,
|
|
1377
|
+
RegisterIdentityProviderCommand,
|
|
1378
|
+
StartProductSubscriptionCommand,
|
|
1379
|
+
StopProductSubscriptionCommand,
|
|
1380
|
+
UpdateIdentityProviderSettingsCommand
|
|
1381
|
+
};
|
|
1382
|
+
var _LicenseManagerUserSubscriptions = class _LicenseManagerUserSubscriptions extends LicenseManagerUserSubscriptionsClient {
|
|
1383
|
+
};
|
|
1384
|
+
__name(_LicenseManagerUserSubscriptions, "LicenseManagerUserSubscriptions");
|
|
1385
|
+
var LicenseManagerUserSubscriptions = _LicenseManagerUserSubscriptions;
|
|
1386
|
+
(0, import_smithy_client.createAggregatedClient)(commands, LicenseManagerUserSubscriptions);
|
|
1387
|
+
|
|
1388
|
+
// src/pagination/ListIdentityProvidersPaginator.ts
|
|
1389
|
+
|
|
1390
|
+
var paginateListIdentityProviders = (0, import_core.createPaginator)(LicenseManagerUserSubscriptionsClient, ListIdentityProvidersCommand, "NextToken", "NextToken", "MaxResults");
|
|
1391
|
+
|
|
1392
|
+
// src/pagination/ListInstancesPaginator.ts
|
|
1393
|
+
|
|
1394
|
+
var paginateListInstances = (0, import_core.createPaginator)(LicenseManagerUserSubscriptionsClient, ListInstancesCommand, "NextToken", "NextToken", "MaxResults");
|
|
1395
|
+
|
|
1396
|
+
// src/pagination/ListProductSubscriptionsPaginator.ts
|
|
1397
|
+
|
|
1398
|
+
var paginateListProductSubscriptions = (0, import_core.createPaginator)(LicenseManagerUserSubscriptionsClient, ListProductSubscriptionsCommand, "NextToken", "NextToken", "MaxResults");
|
|
1399
|
+
|
|
1400
|
+
// src/pagination/ListUserAssociationsPaginator.ts
|
|
1401
|
+
|
|
1402
|
+
var paginateListUserAssociations = (0, import_core.createPaginator)(LicenseManagerUserSubscriptionsClient, ListUserAssociationsCommand, "NextToken", "NextToken", "MaxResults");
|
|
1403
|
+
|
|
1404
|
+
// src/index.ts
|
|
1405
|
+
var import_util_endpoints = require("@aws-sdk/util-endpoints");
|
|
1406
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
1407
|
+
0 && (module.exports = {
|
|
1408
|
+
AccessDeniedException,
|
|
1409
|
+
AssociateUserCommand,
|
|
1410
|
+
ConflictException,
|
|
1411
|
+
DeregisterIdentityProviderCommand,
|
|
1412
|
+
DisassociateUserCommand,
|
|
1413
|
+
IdentityProvider,
|
|
1414
|
+
InternalServerException,
|
|
1415
|
+
LicenseManagerUserSubscriptions,
|
|
1416
|
+
LicenseManagerUserSubscriptionsClient,
|
|
1417
|
+
LicenseManagerUserSubscriptionsServiceException,
|
|
1418
|
+
ListIdentityProvidersCommand,
|
|
1419
|
+
ListInstancesCommand,
|
|
1420
|
+
ListProductSubscriptionsCommand,
|
|
1421
|
+
ListUserAssociationsCommand,
|
|
1422
|
+
RegisterIdentityProviderCommand,
|
|
1423
|
+
ResourceNotFoundException,
|
|
1424
|
+
ServiceQuotaExceededException,
|
|
1425
|
+
StartProductSubscriptionCommand,
|
|
1426
|
+
StopProductSubscriptionCommand,
|
|
1427
|
+
ThrottlingException,
|
|
1428
|
+
UpdateIdentityProviderSettingsCommand,
|
|
1429
|
+
ValidationException,
|
|
1430
|
+
__Client,
|
|
1431
|
+
paginateListIdentityProviders,
|
|
1432
|
+
paginateListInstances,
|
|
1433
|
+
paginateListProductSubscriptions,
|
|
1434
|
+
paginateListUserAssociations
|
|
1435
|
+
});
|