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