@aws-sdk/client-license-manager-user-subscriptions 3.216.0 → 3.219.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/README.md +2 -1
- package/dist-cjs/LicenseManagerUserSubscriptions.js +15 -0
- package/dist-cjs/commands/UpdateIdentityProviderSettingsCommand.js +46 -0
- package/dist-cjs/commands/index.js +1 -0
- package/dist-cjs/models/models_0.js +21 -1
- package/dist-cjs/protocols/Aws_restJson1.js +111 -1
- package/dist-es/LicenseManagerUserSubscriptions.js +15 -0
- package/dist-es/commands/UpdateIdentityProviderSettingsCommand.js +42 -0
- package/dist-es/commands/index.js +1 -0
- package/dist-es/models/models_0.js +16 -0
- package/dist-es/protocols/Aws_restJson1.js +108 -0
- package/dist-types/LicenseManagerUserSubscriptions.d.ts +20 -1
- package/dist-types/LicenseManagerUserSubscriptionsClient.d.ts +5 -3
- package/dist-types/commands/AssociateUserCommand.d.ts +5 -0
- package/dist-types/commands/StartProductSubscriptionCommand.d.ts +5 -0
- package/dist-types/commands/UpdateIdentityProviderSettingsCommand.d.ts +38 -0
- package/dist-types/commands/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +100 -4
- package/dist-types/protocols/Aws_restJson1.d.ts +3 -0
- package/dist-types/ts3.4/LicenseManagerUserSubscriptions.d.ts +17 -0
- package/dist-types/ts3.4/LicenseManagerUserSubscriptionsClient.d.ts +8 -2
- package/dist-types/ts3.4/commands/UpdateIdentityProviderSettingsCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +29 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +12 -0
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -9,7 +9,8 @@
|
|
|
9
9
|
|
|
10
10
|
AWS SDK for JavaScript LicenseManagerUserSubscriptions Client for Node.js, Browser and React Native.
|
|
11
11
|
|
|
12
|
-
<p>With License Manager, you can create user-based subscriptions to utilize licensed software with
|
|
12
|
+
<p>With License Manager, you can create user-based subscriptions to utilize licensed software with
|
|
13
|
+
a per user subscription fee on Amazon EC2 instances.</p>
|
|
13
14
|
|
|
14
15
|
## Installing
|
|
15
16
|
|
|
@@ -11,6 +11,7 @@ const ListUserAssociationsCommand_1 = require("./commands/ListUserAssociationsCo
|
|
|
11
11
|
const RegisterIdentityProviderCommand_1 = require("./commands/RegisterIdentityProviderCommand");
|
|
12
12
|
const StartProductSubscriptionCommand_1 = require("./commands/StartProductSubscriptionCommand");
|
|
13
13
|
const StopProductSubscriptionCommand_1 = require("./commands/StopProductSubscriptionCommand");
|
|
14
|
+
const UpdateIdentityProviderSettingsCommand_1 = require("./commands/UpdateIdentityProviderSettingsCommand");
|
|
14
15
|
const LicenseManagerUserSubscriptionsClient_1 = require("./LicenseManagerUserSubscriptionsClient");
|
|
15
16
|
class LicenseManagerUserSubscriptions extends LicenseManagerUserSubscriptionsClient_1.LicenseManagerUserSubscriptionsClient {
|
|
16
17
|
associateUser(args, optionsOrCb, cb) {
|
|
@@ -153,5 +154,19 @@ class LicenseManagerUserSubscriptions extends LicenseManagerUserSubscriptionsCli
|
|
|
153
154
|
return this.send(command, optionsOrCb);
|
|
154
155
|
}
|
|
155
156
|
}
|
|
157
|
+
updateIdentityProviderSettings(args, optionsOrCb, cb) {
|
|
158
|
+
const command = new UpdateIdentityProviderSettingsCommand_1.UpdateIdentityProviderSettingsCommand(args);
|
|
159
|
+
if (typeof optionsOrCb === "function") {
|
|
160
|
+
this.send(command, optionsOrCb);
|
|
161
|
+
}
|
|
162
|
+
else if (typeof cb === "function") {
|
|
163
|
+
if (typeof optionsOrCb !== "object")
|
|
164
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
165
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
166
|
+
}
|
|
167
|
+
else {
|
|
168
|
+
return this.send(command, optionsOrCb);
|
|
169
|
+
}
|
|
170
|
+
}
|
|
156
171
|
}
|
|
157
172
|
exports.LicenseManagerUserSubscriptions = LicenseManagerUserSubscriptions;
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.UpdateIdentityProviderSettingsCommand = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
5
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
|
+
const models_0_1 = require("../models/models_0");
|
|
8
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
9
|
+
class UpdateIdentityProviderSettingsCommand extends smithy_client_1.Command {
|
|
10
|
+
constructor(input) {
|
|
11
|
+
super();
|
|
12
|
+
this.input = input;
|
|
13
|
+
}
|
|
14
|
+
static getEndpointParameterInstructions() {
|
|
15
|
+
return {
|
|
16
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
17
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
18
|
+
Region: { type: "builtInParams", name: "region" },
|
|
19
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
20
|
+
};
|
|
21
|
+
}
|
|
22
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
23
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
24
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, UpdateIdentityProviderSettingsCommand.getEndpointParameterInstructions()));
|
|
25
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
26
|
+
const { logger } = configuration;
|
|
27
|
+
const clientName = "LicenseManagerUserSubscriptionsClient";
|
|
28
|
+
const commandName = "UpdateIdentityProviderSettingsCommand";
|
|
29
|
+
const handlerExecutionContext = {
|
|
30
|
+
logger,
|
|
31
|
+
clientName,
|
|
32
|
+
commandName,
|
|
33
|
+
inputFilterSensitiveLog: models_0_1.UpdateIdentityProviderSettingsRequestFilterSensitiveLog,
|
|
34
|
+
outputFilterSensitiveLog: models_0_1.UpdateIdentityProviderSettingsResponseFilterSensitiveLog,
|
|
35
|
+
};
|
|
36
|
+
const { requestHandler } = configuration;
|
|
37
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
38
|
+
}
|
|
39
|
+
serialize(input, context) {
|
|
40
|
+
return (0, Aws_restJson1_1.serializeAws_restJson1UpdateIdentityProviderSettingsCommand)(input, context);
|
|
41
|
+
}
|
|
42
|
+
deserialize(output, context) {
|
|
43
|
+
return (0, Aws_restJson1_1.deserializeAws_restJson1UpdateIdentityProviderSettingsCommand)(output, context);
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
exports.UpdateIdentityProviderSettingsCommand = UpdateIdentityProviderSettingsCommand;
|
|
@@ -11,3 +11,4 @@ tslib_1.__exportStar(require("./ListUserAssociationsCommand"), exports);
|
|
|
11
11
|
tslib_1.__exportStar(require("./RegisterIdentityProviderCommand"), exports);
|
|
12
12
|
tslib_1.__exportStar(require("./StartProductSubscriptionCommand"), exports);
|
|
13
13
|
tslib_1.__exportStar(require("./StopProductSubscriptionCommand"), exports);
|
|
14
|
+
tslib_1.__exportStar(require("./UpdateIdentityProviderSettingsCommand"), exports);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.StopProductSubscriptionResponseFilterSensitiveLog = exports.StopProductSubscriptionRequestFilterSensitiveLog = exports.StartProductSubscriptionResponseFilterSensitiveLog = exports.StartProductSubscriptionRequestFilterSensitiveLog = exports.RegisterIdentityProviderResponseFilterSensitiveLog = exports.RegisterIdentityProviderRequestFilterSensitiveLog = exports.ListUserAssociationsResponseFilterSensitiveLog = exports.ListUserAssociationsRequestFilterSensitiveLog = exports.ListProductSubscriptionsResponseFilterSensitiveLog = exports.ProductUserSummaryFilterSensitiveLog = exports.ListProductSubscriptionsRequestFilterSensitiveLog = exports.ListInstancesResponseFilterSensitiveLog = exports.ListInstancesRequestFilterSensitiveLog = exports.ListIdentityProvidersResponseFilterSensitiveLog = exports.ListIdentityProvidersRequestFilterSensitiveLog = exports.InstanceSummaryFilterSensitiveLog = exports.FilterFilterSensitiveLog = exports.DisassociateUserResponseFilterSensitiveLog = exports.DisassociateUserRequestFilterSensitiveLog = exports.DeregisterIdentityProviderResponseFilterSensitiveLog = exports.IdentityProviderSummaryFilterSensitiveLog = exports.DeregisterIdentityProviderRequestFilterSensitiveLog = exports.AssociateUserResponseFilterSensitiveLog = exports.InstanceUserSummaryFilterSensitiveLog = exports.AssociateUserRequestFilterSensitiveLog = exports.IdentityProviderFilterSensitiveLog = exports.ActiveDirectoryIdentityProviderFilterSensitiveLog = exports.ValidationException = exports.ThrottlingException = exports.ServiceQuotaExceededException = exports.ResourceNotFoundException = exports.InternalServerException = exports.ConflictException = exports.IdentityProvider = exports.AccessDeniedException = void 0;
|
|
3
|
+
exports.UpdateIdentityProviderSettingsResponseFilterSensitiveLog = exports.UpdateIdentityProviderSettingsRequestFilterSensitiveLog = exports.UpdateSettingsFilterSensitiveLog = exports.StopProductSubscriptionResponseFilterSensitiveLog = exports.StopProductSubscriptionRequestFilterSensitiveLog = exports.StartProductSubscriptionResponseFilterSensitiveLog = exports.StartProductSubscriptionRequestFilterSensitiveLog = exports.RegisterIdentityProviderResponseFilterSensitiveLog = exports.RegisterIdentityProviderRequestFilterSensitiveLog = exports.ListUserAssociationsResponseFilterSensitiveLog = exports.ListUserAssociationsRequestFilterSensitiveLog = exports.ListProductSubscriptionsResponseFilterSensitiveLog = exports.ProductUserSummaryFilterSensitiveLog = exports.ListProductSubscriptionsRequestFilterSensitiveLog = exports.ListInstancesResponseFilterSensitiveLog = exports.ListInstancesRequestFilterSensitiveLog = exports.ListIdentityProvidersResponseFilterSensitiveLog = exports.ListIdentityProvidersRequestFilterSensitiveLog = exports.InstanceSummaryFilterSensitiveLog = exports.FilterFilterSensitiveLog = exports.DisassociateUserResponseFilterSensitiveLog = exports.DisassociateUserRequestFilterSensitiveLog = exports.DeregisterIdentityProviderResponseFilterSensitiveLog = exports.IdentityProviderSummaryFilterSensitiveLog = exports.SettingsFilterSensitiveLog = exports.DeregisterIdentityProviderRequestFilterSensitiveLog = exports.AssociateUserResponseFilterSensitiveLog = exports.InstanceUserSummaryFilterSensitiveLog = exports.AssociateUserRequestFilterSensitiveLog = exports.IdentityProviderFilterSensitiveLog = exports.ActiveDirectoryIdentityProviderFilterSensitiveLog = exports.ValidationException = exports.ThrottlingException = exports.ServiceQuotaExceededException = exports.ResourceNotFoundException = exports.InternalServerException = exports.ConflictException = exports.IdentityProvider = exports.AccessDeniedException = void 0;
|
|
4
4
|
const LicenseManagerUserSubscriptionsServiceException_1 = require("./LicenseManagerUserSubscriptionsServiceException");
|
|
5
5
|
class AccessDeniedException extends LicenseManagerUserSubscriptionsServiceException_1.LicenseManagerUserSubscriptionsServiceException {
|
|
6
6
|
constructor(opts) {
|
|
@@ -136,6 +136,10 @@ const DeregisterIdentityProviderRequestFilterSensitiveLog = (obj) => ({
|
|
|
136
136
|
...(obj.IdentityProvider && { IdentityProvider: (0, exports.IdentityProviderFilterSensitiveLog)(obj.IdentityProvider) }),
|
|
137
137
|
});
|
|
138
138
|
exports.DeregisterIdentityProviderRequestFilterSensitiveLog = DeregisterIdentityProviderRequestFilterSensitiveLog;
|
|
139
|
+
const SettingsFilterSensitiveLog = (obj) => ({
|
|
140
|
+
...obj,
|
|
141
|
+
});
|
|
142
|
+
exports.SettingsFilterSensitiveLog = SettingsFilterSensitiveLog;
|
|
139
143
|
const IdentityProviderSummaryFilterSensitiveLog = (obj) => ({
|
|
140
144
|
...obj,
|
|
141
145
|
...(obj.IdentityProvider && { IdentityProvider: (0, exports.IdentityProviderFilterSensitiveLog)(obj.IdentityProvider) }),
|
|
@@ -248,3 +252,19 @@ const StopProductSubscriptionResponseFilterSensitiveLog = (obj) => ({
|
|
|
248
252
|
...(obj.ProductUserSummary && { ProductUserSummary: (0, exports.ProductUserSummaryFilterSensitiveLog)(obj.ProductUserSummary) }),
|
|
249
253
|
});
|
|
250
254
|
exports.StopProductSubscriptionResponseFilterSensitiveLog = StopProductSubscriptionResponseFilterSensitiveLog;
|
|
255
|
+
const UpdateSettingsFilterSensitiveLog = (obj) => ({
|
|
256
|
+
...obj,
|
|
257
|
+
});
|
|
258
|
+
exports.UpdateSettingsFilterSensitiveLog = UpdateSettingsFilterSensitiveLog;
|
|
259
|
+
const UpdateIdentityProviderSettingsRequestFilterSensitiveLog = (obj) => ({
|
|
260
|
+
...obj,
|
|
261
|
+
...(obj.IdentityProvider && { IdentityProvider: (0, exports.IdentityProviderFilterSensitiveLog)(obj.IdentityProvider) }),
|
|
262
|
+
});
|
|
263
|
+
exports.UpdateIdentityProviderSettingsRequestFilterSensitiveLog = UpdateIdentityProviderSettingsRequestFilterSensitiveLog;
|
|
264
|
+
const UpdateIdentityProviderSettingsResponseFilterSensitiveLog = (obj) => ({
|
|
265
|
+
...obj,
|
|
266
|
+
...(obj.IdentityProviderSummary && {
|
|
267
|
+
IdentityProviderSummary: (0, exports.IdentityProviderSummaryFilterSensitiveLog)(obj.IdentityProviderSummary),
|
|
268
|
+
}),
|
|
269
|
+
});
|
|
270
|
+
exports.UpdateIdentityProviderSettingsResponseFilterSensitiveLog = UpdateIdentityProviderSettingsResponseFilterSensitiveLog;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.deserializeAws_restJson1StopProductSubscriptionCommand = exports.deserializeAws_restJson1StartProductSubscriptionCommand = exports.deserializeAws_restJson1RegisterIdentityProviderCommand = exports.deserializeAws_restJson1ListUserAssociationsCommand = exports.deserializeAws_restJson1ListProductSubscriptionsCommand = exports.deserializeAws_restJson1ListInstancesCommand = exports.deserializeAws_restJson1ListIdentityProvidersCommand = exports.deserializeAws_restJson1DisassociateUserCommand = exports.deserializeAws_restJson1DeregisterIdentityProviderCommand = exports.deserializeAws_restJson1AssociateUserCommand = exports.serializeAws_restJson1StopProductSubscriptionCommand = exports.serializeAws_restJson1StartProductSubscriptionCommand = exports.serializeAws_restJson1RegisterIdentityProviderCommand = exports.serializeAws_restJson1ListUserAssociationsCommand = exports.serializeAws_restJson1ListProductSubscriptionsCommand = exports.serializeAws_restJson1ListInstancesCommand = exports.serializeAws_restJson1ListIdentityProvidersCommand = exports.serializeAws_restJson1DisassociateUserCommand = exports.serializeAws_restJson1DeregisterIdentityProviderCommand = exports.serializeAws_restJson1AssociateUserCommand = void 0;
|
|
3
|
+
exports.deserializeAws_restJson1UpdateIdentityProviderSettingsCommand = exports.deserializeAws_restJson1StopProductSubscriptionCommand = exports.deserializeAws_restJson1StartProductSubscriptionCommand = exports.deserializeAws_restJson1RegisterIdentityProviderCommand = exports.deserializeAws_restJson1ListUserAssociationsCommand = exports.deserializeAws_restJson1ListProductSubscriptionsCommand = exports.deserializeAws_restJson1ListInstancesCommand = exports.deserializeAws_restJson1ListIdentityProvidersCommand = exports.deserializeAws_restJson1DisassociateUserCommand = exports.deserializeAws_restJson1DeregisterIdentityProviderCommand = exports.deserializeAws_restJson1AssociateUserCommand = exports.serializeAws_restJson1UpdateIdentityProviderSettingsCommand = exports.serializeAws_restJson1StopProductSubscriptionCommand = exports.serializeAws_restJson1StartProductSubscriptionCommand = exports.serializeAws_restJson1RegisterIdentityProviderCommand = exports.serializeAws_restJson1ListUserAssociationsCommand = exports.serializeAws_restJson1ListProductSubscriptionsCommand = exports.serializeAws_restJson1ListInstancesCommand = exports.serializeAws_restJson1ListIdentityProvidersCommand = exports.serializeAws_restJson1DisassociateUserCommand = exports.serializeAws_restJson1DeregisterIdentityProviderCommand = exports.serializeAws_restJson1AssociateUserCommand = void 0;
|
|
4
4
|
const protocol_http_1 = require("@aws-sdk/protocol-http");
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const LicenseManagerUserSubscriptionsServiceException_1 = require("../models/LicenseManagerUserSubscriptionsServiceException");
|
|
@@ -194,6 +194,7 @@ const serializeAws_restJson1RegisterIdentityProviderCommand = async (input, cont
|
|
|
194
194
|
IdentityProvider: serializeAws_restJson1IdentityProvider(input.IdentityProvider, context),
|
|
195
195
|
}),
|
|
196
196
|
...(input.Product != null && { Product: input.Product }),
|
|
197
|
+
...(input.Settings != null && { Settings: serializeAws_restJson1Settings(input.Settings, context) }),
|
|
197
198
|
});
|
|
198
199
|
return new protocol_http_1.HttpRequest({
|
|
199
200
|
protocol,
|
|
@@ -258,6 +259,34 @@ const serializeAws_restJson1StopProductSubscriptionCommand = async (input, conte
|
|
|
258
259
|
});
|
|
259
260
|
};
|
|
260
261
|
exports.serializeAws_restJson1StopProductSubscriptionCommand = serializeAws_restJson1StopProductSubscriptionCommand;
|
|
262
|
+
const serializeAws_restJson1UpdateIdentityProviderSettingsCommand = async (input, context) => {
|
|
263
|
+
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
264
|
+
const headers = {
|
|
265
|
+
"content-type": "application/json",
|
|
266
|
+
};
|
|
267
|
+
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
268
|
+
"/identity-provider/UpdateIdentityProviderSettings";
|
|
269
|
+
let body;
|
|
270
|
+
body = JSON.stringify({
|
|
271
|
+
...(input.IdentityProvider != null && {
|
|
272
|
+
IdentityProvider: serializeAws_restJson1IdentityProvider(input.IdentityProvider, context),
|
|
273
|
+
}),
|
|
274
|
+
...(input.Product != null && { Product: input.Product }),
|
|
275
|
+
...(input.UpdateSettings != null && {
|
|
276
|
+
UpdateSettings: serializeAws_restJson1UpdateSettings(input.UpdateSettings, context),
|
|
277
|
+
}),
|
|
278
|
+
});
|
|
279
|
+
return new protocol_http_1.HttpRequest({
|
|
280
|
+
protocol,
|
|
281
|
+
hostname,
|
|
282
|
+
port,
|
|
283
|
+
method: "POST",
|
|
284
|
+
headers,
|
|
285
|
+
path: resolvedPath,
|
|
286
|
+
body,
|
|
287
|
+
});
|
|
288
|
+
};
|
|
289
|
+
exports.serializeAws_restJson1UpdateIdentityProviderSettingsCommand = serializeAws_restJson1UpdateIdentityProviderSettingsCommand;
|
|
261
290
|
const deserializeAws_restJson1AssociateUserCommand = async (output, context) => {
|
|
262
291
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
263
292
|
return deserializeAws_restJson1AssociateUserCommandError(output, context);
|
|
@@ -790,6 +819,49 @@ const deserializeAws_restJson1StopProductSubscriptionCommandError = async (outpu
|
|
|
790
819
|
});
|
|
791
820
|
}
|
|
792
821
|
};
|
|
822
|
+
const deserializeAws_restJson1UpdateIdentityProviderSettingsCommand = async (output, context) => {
|
|
823
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
824
|
+
return deserializeAws_restJson1UpdateIdentityProviderSettingsCommandError(output, context);
|
|
825
|
+
}
|
|
826
|
+
const contents = map({
|
|
827
|
+
$metadata: deserializeMetadata(output),
|
|
828
|
+
});
|
|
829
|
+
const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body");
|
|
830
|
+
if (data.IdentityProviderSummary != null) {
|
|
831
|
+
contents.IdentityProviderSummary = deserializeAws_restJson1IdentityProviderSummary(data.IdentityProviderSummary, context);
|
|
832
|
+
}
|
|
833
|
+
return contents;
|
|
834
|
+
};
|
|
835
|
+
exports.deserializeAws_restJson1UpdateIdentityProviderSettingsCommand = deserializeAws_restJson1UpdateIdentityProviderSettingsCommand;
|
|
836
|
+
const deserializeAws_restJson1UpdateIdentityProviderSettingsCommandError = async (output, context) => {
|
|
837
|
+
const parsedOutput = {
|
|
838
|
+
...output,
|
|
839
|
+
body: await parseErrorBody(output.body, context),
|
|
840
|
+
};
|
|
841
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
842
|
+
switch (errorCode) {
|
|
843
|
+
case "AccessDeniedException":
|
|
844
|
+
case "com.amazonaws.licensemanagerusersubscriptions#AccessDeniedException":
|
|
845
|
+
throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
|
|
846
|
+
case "InternalServerException":
|
|
847
|
+
case "com.amazonaws.licensemanagerusersubscriptions#InternalServerException":
|
|
848
|
+
throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
|
|
849
|
+
case "ThrottlingException":
|
|
850
|
+
case "com.amazonaws.licensemanagerusersubscriptions#ThrottlingException":
|
|
851
|
+
throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
|
|
852
|
+
case "ValidationException":
|
|
853
|
+
case "com.amazonaws.licensemanagerusersubscriptions#ValidationException":
|
|
854
|
+
throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
|
|
855
|
+
default:
|
|
856
|
+
const parsedBody = parsedOutput.body;
|
|
857
|
+
(0, smithy_client_1.throwDefaultError)({
|
|
858
|
+
output,
|
|
859
|
+
parsedBody,
|
|
860
|
+
exceptionCtor: LicenseManagerUserSubscriptionsServiceException_1.LicenseManagerUserSubscriptionsServiceException,
|
|
861
|
+
errorCode,
|
|
862
|
+
});
|
|
863
|
+
}
|
|
864
|
+
};
|
|
793
865
|
const map = smithy_client_1.map;
|
|
794
866
|
const deserializeAws_restJson1AccessDeniedExceptionResponse = async (parsedOutput, context) => {
|
|
795
867
|
const contents = map({});
|
|
@@ -902,6 +974,26 @@ const serializeAws_restJson1IdentityProvider = (input, context) => {
|
|
|
902
974
|
_: (name, value) => ({ name: value }),
|
|
903
975
|
});
|
|
904
976
|
};
|
|
977
|
+
const serializeAws_restJson1Settings = (input, context) => {
|
|
978
|
+
return {
|
|
979
|
+
...(input.SecurityGroupId != null && { SecurityGroupId: input.SecurityGroupId }),
|
|
980
|
+
...(input.Subnets != null && { Subnets: serializeAws_restJson1Subnets(input.Subnets, context) }),
|
|
981
|
+
};
|
|
982
|
+
};
|
|
983
|
+
const serializeAws_restJson1Subnets = (input, context) => {
|
|
984
|
+
return input
|
|
985
|
+
.filter((e) => e != null)
|
|
986
|
+
.map((entry) => {
|
|
987
|
+
return entry;
|
|
988
|
+
});
|
|
989
|
+
};
|
|
990
|
+
const serializeAws_restJson1UpdateSettings = (input, context) => {
|
|
991
|
+
return {
|
|
992
|
+
...(input.AddSubnets != null && { AddSubnets: serializeAws_restJson1Subnets(input.AddSubnets, context) }),
|
|
993
|
+
...(input.RemoveSubnets != null && { RemoveSubnets: serializeAws_restJson1Subnets(input.RemoveSubnets, context) }),
|
|
994
|
+
...(input.SecurityGroupId != null && { SecurityGroupId: input.SecurityGroupId }),
|
|
995
|
+
};
|
|
996
|
+
};
|
|
905
997
|
const deserializeAws_restJson1ActiveDirectoryIdentityProvider = (output, context) => {
|
|
906
998
|
return {
|
|
907
999
|
DirectoryId: (0, smithy_client_1.expectString)(output.DirectoryId),
|
|
@@ -922,6 +1014,7 @@ const deserializeAws_restJson1IdentityProviderSummary = (output, context) => {
|
|
|
922
1014
|
? deserializeAws_restJson1IdentityProvider((0, smithy_client_1.expectUnion)(output.IdentityProvider), context)
|
|
923
1015
|
: undefined,
|
|
924
1016
|
Product: (0, smithy_client_1.expectString)(output.Product),
|
|
1017
|
+
Settings: output.Settings != null ? deserializeAws_restJson1Settings(output.Settings, context) : undefined,
|
|
925
1018
|
Status: (0, smithy_client_1.expectString)(output.Status),
|
|
926
1019
|
};
|
|
927
1020
|
};
|
|
@@ -1006,6 +1099,12 @@ const deserializeAws_restJson1ProductUserSummaryList = (output, context) => {
|
|
|
1006
1099
|
});
|
|
1007
1100
|
return retVal;
|
|
1008
1101
|
};
|
|
1102
|
+
const deserializeAws_restJson1Settings = (output, context) => {
|
|
1103
|
+
return {
|
|
1104
|
+
SecurityGroupId: (0, smithy_client_1.expectString)(output.SecurityGroupId),
|
|
1105
|
+
Subnets: output.Subnets != null ? deserializeAws_restJson1Subnets(output.Subnets, context) : undefined,
|
|
1106
|
+
};
|
|
1107
|
+
};
|
|
1009
1108
|
const deserializeAws_restJson1StringList = (output, context) => {
|
|
1010
1109
|
const retVal = (output || [])
|
|
1011
1110
|
.filter((e) => e != null)
|
|
@@ -1017,6 +1116,17 @@ const deserializeAws_restJson1StringList = (output, context) => {
|
|
|
1017
1116
|
});
|
|
1018
1117
|
return retVal;
|
|
1019
1118
|
};
|
|
1119
|
+
const deserializeAws_restJson1Subnets = (output, context) => {
|
|
1120
|
+
const retVal = (output || [])
|
|
1121
|
+
.filter((e) => e != null)
|
|
1122
|
+
.map((entry) => {
|
|
1123
|
+
if (entry === null) {
|
|
1124
|
+
return null;
|
|
1125
|
+
}
|
|
1126
|
+
return (0, smithy_client_1.expectString)(entry);
|
|
1127
|
+
});
|
|
1128
|
+
return retVal;
|
|
1129
|
+
};
|
|
1020
1130
|
const deserializeMetadata = (output) => ({
|
|
1021
1131
|
httpStatusCode: output.statusCode,
|
|
1022
1132
|
requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
|
|
@@ -8,6 +8,7 @@ import { ListUserAssociationsCommand, } from "./commands/ListUserAssociationsCom
|
|
|
8
8
|
import { RegisterIdentityProviderCommand, } from "./commands/RegisterIdentityProviderCommand";
|
|
9
9
|
import { StartProductSubscriptionCommand, } from "./commands/StartProductSubscriptionCommand";
|
|
10
10
|
import { StopProductSubscriptionCommand, } from "./commands/StopProductSubscriptionCommand";
|
|
11
|
+
import { UpdateIdentityProviderSettingsCommand, } from "./commands/UpdateIdentityProviderSettingsCommand";
|
|
11
12
|
import { LicenseManagerUserSubscriptionsClient } from "./LicenseManagerUserSubscriptionsClient";
|
|
12
13
|
export class LicenseManagerUserSubscriptions extends LicenseManagerUserSubscriptionsClient {
|
|
13
14
|
associateUser(args, optionsOrCb, cb) {
|
|
@@ -150,4 +151,18 @@ export class LicenseManagerUserSubscriptions extends LicenseManagerUserSubscript
|
|
|
150
151
|
return this.send(command, optionsOrCb);
|
|
151
152
|
}
|
|
152
153
|
}
|
|
154
|
+
updateIdentityProviderSettings(args, optionsOrCb, cb) {
|
|
155
|
+
const command = new UpdateIdentityProviderSettingsCommand(args);
|
|
156
|
+
if (typeof optionsOrCb === "function") {
|
|
157
|
+
this.send(command, optionsOrCb);
|
|
158
|
+
}
|
|
159
|
+
else if (typeof cb === "function") {
|
|
160
|
+
if (typeof optionsOrCb !== "object")
|
|
161
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
162
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
163
|
+
}
|
|
164
|
+
else {
|
|
165
|
+
return this.send(command, optionsOrCb);
|
|
166
|
+
}
|
|
167
|
+
}
|
|
153
168
|
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { UpdateIdentityProviderSettingsRequestFilterSensitiveLog, UpdateIdentityProviderSettingsResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_restJson1UpdateIdentityProviderSettingsCommand, serializeAws_restJson1UpdateIdentityProviderSettingsCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
+
export class UpdateIdentityProviderSettingsCommand extends $Command {
|
|
7
|
+
constructor(input) {
|
|
8
|
+
super();
|
|
9
|
+
this.input = input;
|
|
10
|
+
}
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
14
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
15
|
+
Region: { type: "builtInParams", name: "region" },
|
|
16
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
20
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
21
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, UpdateIdentityProviderSettingsCommand.getEndpointParameterInstructions()));
|
|
22
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
23
|
+
const { logger } = configuration;
|
|
24
|
+
const clientName = "LicenseManagerUserSubscriptionsClient";
|
|
25
|
+
const commandName = "UpdateIdentityProviderSettingsCommand";
|
|
26
|
+
const handlerExecutionContext = {
|
|
27
|
+
logger,
|
|
28
|
+
clientName,
|
|
29
|
+
commandName,
|
|
30
|
+
inputFilterSensitiveLog: UpdateIdentityProviderSettingsRequestFilterSensitiveLog,
|
|
31
|
+
outputFilterSensitiveLog: UpdateIdentityProviderSettingsResponseFilterSensitiveLog,
|
|
32
|
+
};
|
|
33
|
+
const { requestHandler } = configuration;
|
|
34
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
35
|
+
}
|
|
36
|
+
serialize(input, context) {
|
|
37
|
+
return serializeAws_restJson1UpdateIdentityProviderSettingsCommand(input, context);
|
|
38
|
+
}
|
|
39
|
+
deserialize(output, context) {
|
|
40
|
+
return deserializeAws_restJson1UpdateIdentityProviderSettingsCommand(output, context);
|
|
41
|
+
}
|
|
42
|
+
}
|
|
@@ -120,6 +120,9 @@ export const DeregisterIdentityProviderRequestFilterSensitiveLog = (obj) => ({
|
|
|
120
120
|
...obj,
|
|
121
121
|
...(obj.IdentityProvider && { IdentityProvider: IdentityProviderFilterSensitiveLog(obj.IdentityProvider) }),
|
|
122
122
|
});
|
|
123
|
+
export const SettingsFilterSensitiveLog = (obj) => ({
|
|
124
|
+
...obj,
|
|
125
|
+
});
|
|
123
126
|
export const IdentityProviderSummaryFilterSensitiveLog = (obj) => ({
|
|
124
127
|
...obj,
|
|
125
128
|
...(obj.IdentityProvider && { IdentityProvider: IdentityProviderFilterSensitiveLog(obj.IdentityProvider) }),
|
|
@@ -211,3 +214,16 @@ export const StopProductSubscriptionResponseFilterSensitiveLog = (obj) => ({
|
|
|
211
214
|
...obj,
|
|
212
215
|
...(obj.ProductUserSummary && { ProductUserSummary: ProductUserSummaryFilterSensitiveLog(obj.ProductUserSummary) }),
|
|
213
216
|
});
|
|
217
|
+
export const UpdateSettingsFilterSensitiveLog = (obj) => ({
|
|
218
|
+
...obj,
|
|
219
|
+
});
|
|
220
|
+
export const UpdateIdentityProviderSettingsRequestFilterSensitiveLog = (obj) => ({
|
|
221
|
+
...obj,
|
|
222
|
+
...(obj.IdentityProvider && { IdentityProvider: IdentityProviderFilterSensitiveLog(obj.IdentityProvider) }),
|
|
223
|
+
});
|
|
224
|
+
export const UpdateIdentityProviderSettingsResponseFilterSensitiveLog = (obj) => ({
|
|
225
|
+
...obj,
|
|
226
|
+
...(obj.IdentityProviderSummary && {
|
|
227
|
+
IdentityProviderSummary: IdentityProviderSummaryFilterSensitiveLog(obj.IdentityProviderSummary),
|
|
228
|
+
}),
|
|
229
|
+
});
|
|
@@ -184,6 +184,7 @@ export const serializeAws_restJson1RegisterIdentityProviderCommand = async (inpu
|
|
|
184
184
|
IdentityProvider: serializeAws_restJson1IdentityProvider(input.IdentityProvider, context),
|
|
185
185
|
}),
|
|
186
186
|
...(input.Product != null && { Product: input.Product }),
|
|
187
|
+
...(input.Settings != null && { Settings: serializeAws_restJson1Settings(input.Settings, context) }),
|
|
187
188
|
});
|
|
188
189
|
return new __HttpRequest({
|
|
189
190
|
protocol,
|
|
@@ -245,6 +246,33 @@ export const serializeAws_restJson1StopProductSubscriptionCommand = async (input
|
|
|
245
246
|
body,
|
|
246
247
|
});
|
|
247
248
|
};
|
|
249
|
+
export const serializeAws_restJson1UpdateIdentityProviderSettingsCommand = async (input, context) => {
|
|
250
|
+
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
251
|
+
const headers = {
|
|
252
|
+
"content-type": "application/json",
|
|
253
|
+
};
|
|
254
|
+
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` +
|
|
255
|
+
"/identity-provider/UpdateIdentityProviderSettings";
|
|
256
|
+
let body;
|
|
257
|
+
body = JSON.stringify({
|
|
258
|
+
...(input.IdentityProvider != null && {
|
|
259
|
+
IdentityProvider: serializeAws_restJson1IdentityProvider(input.IdentityProvider, context),
|
|
260
|
+
}),
|
|
261
|
+
...(input.Product != null && { Product: input.Product }),
|
|
262
|
+
...(input.UpdateSettings != null && {
|
|
263
|
+
UpdateSettings: serializeAws_restJson1UpdateSettings(input.UpdateSettings, context),
|
|
264
|
+
}),
|
|
265
|
+
});
|
|
266
|
+
return new __HttpRequest({
|
|
267
|
+
protocol,
|
|
268
|
+
hostname,
|
|
269
|
+
port,
|
|
270
|
+
method: "POST",
|
|
271
|
+
headers,
|
|
272
|
+
path: resolvedPath,
|
|
273
|
+
body,
|
|
274
|
+
});
|
|
275
|
+
};
|
|
248
276
|
export const deserializeAws_restJson1AssociateUserCommand = async (output, context) => {
|
|
249
277
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
250
278
|
return deserializeAws_restJson1AssociateUserCommandError(output, context);
|
|
@@ -767,6 +795,48 @@ const deserializeAws_restJson1StopProductSubscriptionCommandError = async (outpu
|
|
|
767
795
|
});
|
|
768
796
|
}
|
|
769
797
|
};
|
|
798
|
+
export const deserializeAws_restJson1UpdateIdentityProviderSettingsCommand = async (output, context) => {
|
|
799
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
800
|
+
return deserializeAws_restJson1UpdateIdentityProviderSettingsCommandError(output, context);
|
|
801
|
+
}
|
|
802
|
+
const contents = map({
|
|
803
|
+
$metadata: deserializeMetadata(output),
|
|
804
|
+
});
|
|
805
|
+
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
806
|
+
if (data.IdentityProviderSummary != null) {
|
|
807
|
+
contents.IdentityProviderSummary = deserializeAws_restJson1IdentityProviderSummary(data.IdentityProviderSummary, context);
|
|
808
|
+
}
|
|
809
|
+
return contents;
|
|
810
|
+
};
|
|
811
|
+
const deserializeAws_restJson1UpdateIdentityProviderSettingsCommandError = async (output, context) => {
|
|
812
|
+
const parsedOutput = {
|
|
813
|
+
...output,
|
|
814
|
+
body: await parseErrorBody(output.body, context),
|
|
815
|
+
};
|
|
816
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
817
|
+
switch (errorCode) {
|
|
818
|
+
case "AccessDeniedException":
|
|
819
|
+
case "com.amazonaws.licensemanagerusersubscriptions#AccessDeniedException":
|
|
820
|
+
throw await deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context);
|
|
821
|
+
case "InternalServerException":
|
|
822
|
+
case "com.amazonaws.licensemanagerusersubscriptions#InternalServerException":
|
|
823
|
+
throw await deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context);
|
|
824
|
+
case "ThrottlingException":
|
|
825
|
+
case "com.amazonaws.licensemanagerusersubscriptions#ThrottlingException":
|
|
826
|
+
throw await deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context);
|
|
827
|
+
case "ValidationException":
|
|
828
|
+
case "com.amazonaws.licensemanagerusersubscriptions#ValidationException":
|
|
829
|
+
throw await deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context);
|
|
830
|
+
default:
|
|
831
|
+
const parsedBody = parsedOutput.body;
|
|
832
|
+
throwDefaultError({
|
|
833
|
+
output,
|
|
834
|
+
parsedBody,
|
|
835
|
+
exceptionCtor: __BaseException,
|
|
836
|
+
errorCode,
|
|
837
|
+
});
|
|
838
|
+
}
|
|
839
|
+
};
|
|
770
840
|
const map = __map;
|
|
771
841
|
const deserializeAws_restJson1AccessDeniedExceptionResponse = async (parsedOutput, context) => {
|
|
772
842
|
const contents = map({});
|
|
@@ -879,6 +949,26 @@ const serializeAws_restJson1IdentityProvider = (input, context) => {
|
|
|
879
949
|
_: (name, value) => ({ name: value }),
|
|
880
950
|
});
|
|
881
951
|
};
|
|
952
|
+
const serializeAws_restJson1Settings = (input, context) => {
|
|
953
|
+
return {
|
|
954
|
+
...(input.SecurityGroupId != null && { SecurityGroupId: input.SecurityGroupId }),
|
|
955
|
+
...(input.Subnets != null && { Subnets: serializeAws_restJson1Subnets(input.Subnets, context) }),
|
|
956
|
+
};
|
|
957
|
+
};
|
|
958
|
+
const serializeAws_restJson1Subnets = (input, context) => {
|
|
959
|
+
return input
|
|
960
|
+
.filter((e) => e != null)
|
|
961
|
+
.map((entry) => {
|
|
962
|
+
return entry;
|
|
963
|
+
});
|
|
964
|
+
};
|
|
965
|
+
const serializeAws_restJson1UpdateSettings = (input, context) => {
|
|
966
|
+
return {
|
|
967
|
+
...(input.AddSubnets != null && { AddSubnets: serializeAws_restJson1Subnets(input.AddSubnets, context) }),
|
|
968
|
+
...(input.RemoveSubnets != null && { RemoveSubnets: serializeAws_restJson1Subnets(input.RemoveSubnets, context) }),
|
|
969
|
+
...(input.SecurityGroupId != null && { SecurityGroupId: input.SecurityGroupId }),
|
|
970
|
+
};
|
|
971
|
+
};
|
|
882
972
|
const deserializeAws_restJson1ActiveDirectoryIdentityProvider = (output, context) => {
|
|
883
973
|
return {
|
|
884
974
|
DirectoryId: __expectString(output.DirectoryId),
|
|
@@ -899,6 +989,7 @@ const deserializeAws_restJson1IdentityProviderSummary = (output, context) => {
|
|
|
899
989
|
? deserializeAws_restJson1IdentityProvider(__expectUnion(output.IdentityProvider), context)
|
|
900
990
|
: undefined,
|
|
901
991
|
Product: __expectString(output.Product),
|
|
992
|
+
Settings: output.Settings != null ? deserializeAws_restJson1Settings(output.Settings, context) : undefined,
|
|
902
993
|
Status: __expectString(output.Status),
|
|
903
994
|
};
|
|
904
995
|
};
|
|
@@ -983,6 +1074,12 @@ const deserializeAws_restJson1ProductUserSummaryList = (output, context) => {
|
|
|
983
1074
|
});
|
|
984
1075
|
return retVal;
|
|
985
1076
|
};
|
|
1077
|
+
const deserializeAws_restJson1Settings = (output, context) => {
|
|
1078
|
+
return {
|
|
1079
|
+
SecurityGroupId: __expectString(output.SecurityGroupId),
|
|
1080
|
+
Subnets: output.Subnets != null ? deserializeAws_restJson1Subnets(output.Subnets, context) : undefined,
|
|
1081
|
+
};
|
|
1082
|
+
};
|
|
986
1083
|
const deserializeAws_restJson1StringList = (output, context) => {
|
|
987
1084
|
const retVal = (output || [])
|
|
988
1085
|
.filter((e) => e != null)
|
|
@@ -994,6 +1091,17 @@ const deserializeAws_restJson1StringList = (output, context) => {
|
|
|
994
1091
|
});
|
|
995
1092
|
return retVal;
|
|
996
1093
|
};
|
|
1094
|
+
const deserializeAws_restJson1Subnets = (output, context) => {
|
|
1095
|
+
const retVal = (output || [])
|
|
1096
|
+
.filter((e) => e != null)
|
|
1097
|
+
.map((entry) => {
|
|
1098
|
+
if (entry === null) {
|
|
1099
|
+
return null;
|
|
1100
|
+
}
|
|
1101
|
+
return __expectString(entry);
|
|
1102
|
+
});
|
|
1103
|
+
return retVal;
|
|
1104
|
+
};
|
|
997
1105
|
const deserializeMetadata = (output) => ({
|
|
998
1106
|
httpStatusCode: output.statusCode,
|
|
999
1107
|
requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
|
|
@@ -9,13 +9,20 @@ import { ListUserAssociationsCommandInput, ListUserAssociationsCommandOutput } f
|
|
|
9
9
|
import { RegisterIdentityProviderCommandInput, RegisterIdentityProviderCommandOutput } from "./commands/RegisterIdentityProviderCommand";
|
|
10
10
|
import { StartProductSubscriptionCommandInput, StartProductSubscriptionCommandOutput } from "./commands/StartProductSubscriptionCommand";
|
|
11
11
|
import { StopProductSubscriptionCommandInput, StopProductSubscriptionCommandOutput } from "./commands/StopProductSubscriptionCommand";
|
|
12
|
+
import { UpdateIdentityProviderSettingsCommandInput, UpdateIdentityProviderSettingsCommandOutput } from "./commands/UpdateIdentityProviderSettingsCommand";
|
|
12
13
|
import { LicenseManagerUserSubscriptionsClient } from "./LicenseManagerUserSubscriptionsClient";
|
|
13
14
|
/**
|
|
14
|
-
* <p>With License Manager, you can create user-based subscriptions to utilize licensed software with
|
|
15
|
+
* <p>With License Manager, you can create user-based subscriptions to utilize licensed software with
|
|
16
|
+
* a per user subscription fee on Amazon EC2 instances.</p>
|
|
15
17
|
*/
|
|
16
18
|
export declare class LicenseManagerUserSubscriptions extends LicenseManagerUserSubscriptionsClient {
|
|
17
19
|
/**
|
|
18
20
|
* <p>Associates the user to an EC2 instance to utilize user-based subscriptions.</p>
|
|
21
|
+
* <note>
|
|
22
|
+
* <p>Your estimated bill for charges on the number of users and related costs will take 48
|
|
23
|
+
* hours to appear for billing periods that haven't closed (marked as <b>Pending</b> billing status) in Amazon Web Services Billing. For more information, see <a href="https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/invoice.html">Viewing your
|
|
24
|
+
* monthly charges</a> in the <i>Amazon Web Services Billing User Guide</i>.</p>
|
|
25
|
+
* </note>
|
|
19
26
|
*/
|
|
20
27
|
associateUser(args: AssociateUserCommandInput, options?: __HttpHandlerOptions): Promise<AssociateUserCommandOutput>;
|
|
21
28
|
associateUser(args: AssociateUserCommandInput, cb: (err: any, data?: AssociateUserCommandOutput) => void): void;
|
|
@@ -64,6 +71,11 @@ export declare class LicenseManagerUserSubscriptions extends LicenseManagerUserS
|
|
|
64
71
|
registerIdentityProvider(args: RegisterIdentityProviderCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: RegisterIdentityProviderCommandOutput) => void): void;
|
|
65
72
|
/**
|
|
66
73
|
* <p>Starts a product subscription for a user with the specified identity provider.</p>
|
|
74
|
+
* <note>
|
|
75
|
+
* <p>Your estimated bill for charges on the number of users and related costs will take 48
|
|
76
|
+
* hours to appear for billing periods that haven't closed (marked as <b>Pending</b> billing status) in Amazon Web Services Billing. For more information, see <a href="https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/invoice.html">Viewing your
|
|
77
|
+
* monthly charges</a> in the <i>Amazon Web Services Billing User Guide</i>.</p>
|
|
78
|
+
* </note>
|
|
67
79
|
*/
|
|
68
80
|
startProductSubscription(args: StartProductSubscriptionCommandInput, options?: __HttpHandlerOptions): Promise<StartProductSubscriptionCommandOutput>;
|
|
69
81
|
startProductSubscription(args: StartProductSubscriptionCommandInput, cb: (err: any, data?: StartProductSubscriptionCommandOutput) => void): void;
|
|
@@ -74,4 +86,11 @@ export declare class LicenseManagerUserSubscriptions extends LicenseManagerUserS
|
|
|
74
86
|
stopProductSubscription(args: StopProductSubscriptionCommandInput, options?: __HttpHandlerOptions): Promise<StopProductSubscriptionCommandOutput>;
|
|
75
87
|
stopProductSubscription(args: StopProductSubscriptionCommandInput, cb: (err: any, data?: StopProductSubscriptionCommandOutput) => void): void;
|
|
76
88
|
stopProductSubscription(args: StopProductSubscriptionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StopProductSubscriptionCommandOutput) => void): void;
|
|
89
|
+
/**
|
|
90
|
+
* <p>Updates additional product configuration settings for the registered identity
|
|
91
|
+
* provider.</p>
|
|
92
|
+
*/
|
|
93
|
+
updateIdentityProviderSettings(args: UpdateIdentityProviderSettingsCommandInput, options?: __HttpHandlerOptions): Promise<UpdateIdentityProviderSettingsCommandOutput>;
|
|
94
|
+
updateIdentityProviderSettings(args: UpdateIdentityProviderSettingsCommandInput, cb: (err: any, data?: UpdateIdentityProviderSettingsCommandOutput) => void): void;
|
|
95
|
+
updateIdentityProviderSettings(args: UpdateIdentityProviderSettingsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateIdentityProviderSettingsCommandOutput) => void): void;
|
|
77
96
|
}
|
|
@@ -17,9 +17,10 @@ import { ListUserAssociationsCommandInput, ListUserAssociationsCommandOutput } f
|
|
|
17
17
|
import { RegisterIdentityProviderCommandInput, RegisterIdentityProviderCommandOutput } from "./commands/RegisterIdentityProviderCommand";
|
|
18
18
|
import { StartProductSubscriptionCommandInput, StartProductSubscriptionCommandOutput } from "./commands/StartProductSubscriptionCommand";
|
|
19
19
|
import { StopProductSubscriptionCommandInput, StopProductSubscriptionCommandOutput } from "./commands/StopProductSubscriptionCommand";
|
|
20
|
+
import { UpdateIdentityProviderSettingsCommandInput, UpdateIdentityProviderSettingsCommandOutput } from "./commands/UpdateIdentityProviderSettingsCommand";
|
|
20
21
|
import { ClientInputEndpointParameters, ClientResolvedEndpointParameters, EndpointParameters } from "./endpoint/EndpointParameters";
|
|
21
|
-
export declare type ServiceInputTypes = AssociateUserCommandInput | DeregisterIdentityProviderCommandInput | DisassociateUserCommandInput | ListIdentityProvidersCommandInput | ListInstancesCommandInput | ListProductSubscriptionsCommandInput | ListUserAssociationsCommandInput | RegisterIdentityProviderCommandInput | StartProductSubscriptionCommandInput | StopProductSubscriptionCommandInput;
|
|
22
|
-
export declare type ServiceOutputTypes = AssociateUserCommandOutput | DeregisterIdentityProviderCommandOutput | DisassociateUserCommandOutput | ListIdentityProvidersCommandOutput | ListInstancesCommandOutput | ListProductSubscriptionsCommandOutput | ListUserAssociationsCommandOutput | RegisterIdentityProviderCommandOutput | StartProductSubscriptionCommandOutput | StopProductSubscriptionCommandOutput;
|
|
22
|
+
export declare type ServiceInputTypes = AssociateUserCommandInput | DeregisterIdentityProviderCommandInput | DisassociateUserCommandInput | ListIdentityProvidersCommandInput | ListInstancesCommandInput | ListProductSubscriptionsCommandInput | ListUserAssociationsCommandInput | RegisterIdentityProviderCommandInput | StartProductSubscriptionCommandInput | StopProductSubscriptionCommandInput | UpdateIdentityProviderSettingsCommandInput;
|
|
23
|
+
export declare type ServiceOutputTypes = AssociateUserCommandOutput | DeregisterIdentityProviderCommandOutput | DisassociateUserCommandOutput | ListIdentityProvidersCommandOutput | ListInstancesCommandOutput | ListProductSubscriptionsCommandOutput | ListUserAssociationsCommandOutput | RegisterIdentityProviderCommandOutput | StartProductSubscriptionCommandOutput | StopProductSubscriptionCommandOutput | UpdateIdentityProviderSettingsCommandOutput;
|
|
23
24
|
export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
|
|
24
25
|
/**
|
|
25
26
|
* The HTTP handler to use. Fetch in browser and Https in Nodejs.
|
|
@@ -133,7 +134,8 @@ declare type LicenseManagerUserSubscriptionsClientResolvedConfigType = __SmithyR
|
|
|
133
134
|
export interface LicenseManagerUserSubscriptionsClientResolvedConfig extends LicenseManagerUserSubscriptionsClientResolvedConfigType {
|
|
134
135
|
}
|
|
135
136
|
/**
|
|
136
|
-
* <p>With License Manager, you can create user-based subscriptions to utilize licensed software with
|
|
137
|
+
* <p>With License Manager, you can create user-based subscriptions to utilize licensed software with
|
|
138
|
+
* a per user subscription fee on Amazon EC2 instances.</p>
|
|
137
139
|
*/
|
|
138
140
|
export declare class LicenseManagerUserSubscriptionsClient extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, LicenseManagerUserSubscriptionsClientResolvedConfig> {
|
|
139
141
|
/**
|
|
@@ -9,6 +9,11 @@ export interface AssociateUserCommandOutput extends AssociateUserResponse, __Met
|
|
|
9
9
|
}
|
|
10
10
|
/**
|
|
11
11
|
* <p>Associates the user to an EC2 instance to utilize user-based subscriptions.</p>
|
|
12
|
+
* <note>
|
|
13
|
+
* <p>Your estimated bill for charges on the number of users and related costs will take 48
|
|
14
|
+
* hours to appear for billing periods that haven't closed (marked as <b>Pending</b> billing status) in Amazon Web Services Billing. For more information, see <a href="https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/invoice.html">Viewing your
|
|
15
|
+
* monthly charges</a> in the <i>Amazon Web Services Billing User Guide</i>.</p>
|
|
16
|
+
* </note>
|
|
12
17
|
* @example
|
|
13
18
|
* Use a bare-bones client and the command you need to make an API call.
|
|
14
19
|
* ```javascript
|
|
@@ -9,6 +9,11 @@ export interface StartProductSubscriptionCommandOutput extends StartProductSubsc
|
|
|
9
9
|
}
|
|
10
10
|
/**
|
|
11
11
|
* <p>Starts a product subscription for a user with the specified identity provider.</p>
|
|
12
|
+
* <note>
|
|
13
|
+
* <p>Your estimated bill for charges on the number of users and related costs will take 48
|
|
14
|
+
* hours to appear for billing periods that haven't closed (marked as <b>Pending</b> billing status) in Amazon Web Services Billing. For more information, see <a href="https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/invoice.html">Viewing your
|
|
15
|
+
* monthly charges</a> in the <i>Amazon Web Services Billing User Guide</i>.</p>
|
|
16
|
+
* </note>
|
|
12
17
|
* @example
|
|
13
18
|
* Use a bare-bones client and the command you need to make an API call.
|
|
14
19
|
* ```javascript
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
|
+
import { LicenseManagerUserSubscriptionsClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LicenseManagerUserSubscriptionsClient";
|
|
5
|
+
import { UpdateIdentityProviderSettingsRequest, UpdateIdentityProviderSettingsResponse } from "../models/models_0";
|
|
6
|
+
export interface UpdateIdentityProviderSettingsCommandInput extends UpdateIdentityProviderSettingsRequest {
|
|
7
|
+
}
|
|
8
|
+
export interface UpdateIdentityProviderSettingsCommandOutput extends UpdateIdentityProviderSettingsResponse, __MetadataBearer {
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* <p>Updates additional product configuration settings for the registered identity
|
|
12
|
+
* provider.</p>
|
|
13
|
+
* @example
|
|
14
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
15
|
+
* ```javascript
|
|
16
|
+
* import { LicenseManagerUserSubscriptionsClient, UpdateIdentityProviderSettingsCommand } from "@aws-sdk/client-license-manager-user-subscriptions"; // ES Modules import
|
|
17
|
+
* // const { LicenseManagerUserSubscriptionsClient, UpdateIdentityProviderSettingsCommand } = require("@aws-sdk/client-license-manager-user-subscriptions"); // CommonJS import
|
|
18
|
+
* const client = new LicenseManagerUserSubscriptionsClient(config);
|
|
19
|
+
* const command = new UpdateIdentityProviderSettingsCommand(input);
|
|
20
|
+
* const response = await client.send(command);
|
|
21
|
+
* ```
|
|
22
|
+
*
|
|
23
|
+
* @see {@link UpdateIdentityProviderSettingsCommandInput} for command's `input` shape.
|
|
24
|
+
* @see {@link UpdateIdentityProviderSettingsCommandOutput} for command's `response` shape.
|
|
25
|
+
* @see {@link LicenseManagerUserSubscriptionsClientResolvedConfig | config} for LicenseManagerUserSubscriptionsClient's `config` shape.
|
|
26
|
+
*
|
|
27
|
+
*/
|
|
28
|
+
export declare class UpdateIdentityProviderSettingsCommand extends $Command<UpdateIdentityProviderSettingsCommandInput, UpdateIdentityProviderSettingsCommandOutput, LicenseManagerUserSubscriptionsClientResolvedConfig> {
|
|
29
|
+
readonly input: UpdateIdentityProviderSettingsCommandInput;
|
|
30
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
31
|
+
constructor(input: UpdateIdentityProviderSettingsCommandInput);
|
|
32
|
+
/**
|
|
33
|
+
* @internal
|
|
34
|
+
*/
|
|
35
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: LicenseManagerUserSubscriptionsClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UpdateIdentityProviderSettingsCommandInput, UpdateIdentityProviderSettingsCommandOutput>;
|
|
36
|
+
private serialize;
|
|
37
|
+
private deserialize;
|
|
38
|
+
}
|
|
@@ -104,7 +104,8 @@ export interface AssociateUserResponse {
|
|
|
104
104
|
InstanceUserSummary: InstanceUserSummary | undefined;
|
|
105
105
|
}
|
|
106
106
|
/**
|
|
107
|
-
* <p>The request couldn't be completed because it conflicted with the current state of the
|
|
107
|
+
* <p>The request couldn't be completed because it conflicted with the current state of the
|
|
108
|
+
* resource.</p>
|
|
108
109
|
*/
|
|
109
110
|
export declare class ConflictException extends __BaseException {
|
|
110
111
|
readonly name: "ConflictException";
|
|
@@ -179,6 +180,23 @@ export interface DeregisterIdentityProviderRequest {
|
|
|
179
180
|
*/
|
|
180
181
|
Product: string | undefined;
|
|
181
182
|
}
|
|
183
|
+
/**
|
|
184
|
+
* <p>The registered identity provider’s product related configuration settings such as the
|
|
185
|
+
* subnets to provision VPC endpoints, and the security group ID that is associated with the VPC
|
|
186
|
+
* endpoints. The security group should permit inbound TCP port 1688 communication from resources
|
|
187
|
+
* in the VPC.</p>
|
|
188
|
+
*/
|
|
189
|
+
export interface Settings {
|
|
190
|
+
/**
|
|
191
|
+
* <p>The subnets defined for the registered identity provider.</p>
|
|
192
|
+
*/
|
|
193
|
+
Subnets: string[] | undefined;
|
|
194
|
+
/**
|
|
195
|
+
* <p>A security group ID that allows inbound TCP port 1688 communication between resources in
|
|
196
|
+
* your VPC and the VPC endpoint for activation servers.</p>
|
|
197
|
+
*/
|
|
198
|
+
SecurityGroupId: string | undefined;
|
|
199
|
+
}
|
|
182
200
|
/**
|
|
183
201
|
* <p>Describes an identity provider.</p>
|
|
184
202
|
*/
|
|
@@ -187,6 +205,11 @@ export interface IdentityProviderSummary {
|
|
|
187
205
|
* <p>An object that specifies details for the identity provider.</p>
|
|
188
206
|
*/
|
|
189
207
|
IdentityProvider: IdentityProvider | undefined;
|
|
208
|
+
/**
|
|
209
|
+
* <p>An object that details the registered identity provider’s product related configuration
|
|
210
|
+
* settings such as the subnets to provision VPC endpoints.</p>
|
|
211
|
+
*/
|
|
212
|
+
Settings: Settings | undefined;
|
|
190
213
|
/**
|
|
191
214
|
* <p>The name of the user-based subscription product.</p>
|
|
192
215
|
*/
|
|
@@ -231,9 +254,9 @@ export interface DisassociateUserResponse {
|
|
|
231
254
|
InstanceUserSummary: InstanceUserSummary | undefined;
|
|
232
255
|
}
|
|
233
256
|
/**
|
|
234
|
-
* <p>A filter name and value pair that is used to return more specific results from a
|
|
235
|
-
*
|
|
236
|
-
*
|
|
257
|
+
* <p>A filter name and value pair that is used to return more specific results from a describe
|
|
258
|
+
* operation. Filters can be used to match a set of resources by specific criteria, such as tags,
|
|
259
|
+
* attributes, or IDs.</p>
|
|
237
260
|
*/
|
|
238
261
|
export interface Filter {
|
|
239
262
|
/**
|
|
@@ -431,6 +454,11 @@ export interface RegisterIdentityProviderRequest {
|
|
|
431
454
|
* <p>The name of the user-based subscription product.</p>
|
|
432
455
|
*/
|
|
433
456
|
Product: string | undefined;
|
|
457
|
+
/**
|
|
458
|
+
* <p>The registered identity provider’s product related configuration settings such as the
|
|
459
|
+
* subnets to provision VPC endpoints.</p>
|
|
460
|
+
*/
|
|
461
|
+
Settings?: Settings;
|
|
434
462
|
}
|
|
435
463
|
export interface RegisterIdentityProviderResponse {
|
|
436
464
|
/**
|
|
@@ -486,6 +514,58 @@ export interface StopProductSubscriptionResponse {
|
|
|
486
514
|
*/
|
|
487
515
|
ProductUserSummary: ProductUserSummary | undefined;
|
|
488
516
|
}
|
|
517
|
+
/**
|
|
518
|
+
* <p>Updates the registered identity provider’s product related configuration settings such as
|
|
519
|
+
* the subnets to provision VPC endpoints.</p>
|
|
520
|
+
*/
|
|
521
|
+
export interface UpdateSettings {
|
|
522
|
+
/**
|
|
523
|
+
* <p>The ID of one or more subnets in which License Manager will create a VPC endpoint for products that
|
|
524
|
+
* require connectivity to activation servers.</p>
|
|
525
|
+
*/
|
|
526
|
+
AddSubnets: string[] | undefined;
|
|
527
|
+
/**
|
|
528
|
+
* <p>The ID of one or more subnets to remove.</p>
|
|
529
|
+
*/
|
|
530
|
+
RemoveSubnets: string[] | undefined;
|
|
531
|
+
/**
|
|
532
|
+
* <p>A security group ID that allows inbound TCP port 1688 communication between resources in
|
|
533
|
+
* your VPC and the VPC endpoints for activation servers.</p>
|
|
534
|
+
*/
|
|
535
|
+
SecurityGroupId?: string;
|
|
536
|
+
}
|
|
537
|
+
export interface UpdateIdentityProviderSettingsRequest {
|
|
538
|
+
/**
|
|
539
|
+
* <p>Details about an identity provider.</p>
|
|
540
|
+
*/
|
|
541
|
+
IdentityProvider: IdentityProvider | undefined;
|
|
542
|
+
/**
|
|
543
|
+
* <p>The name of the user-based subscription product.</p>
|
|
544
|
+
*/
|
|
545
|
+
Product: string | undefined;
|
|
546
|
+
/**
|
|
547
|
+
* <p>Updates the registered identity provider’s product related configuration settings. You can
|
|
548
|
+
* update any combination of settings in a single operation such as the:</p>
|
|
549
|
+
* <ul>
|
|
550
|
+
* <li>
|
|
551
|
+
* <p>Subnets which you want to add to provision VPC endpoints.</p>
|
|
552
|
+
* </li>
|
|
553
|
+
* <li>
|
|
554
|
+
* <p>Subnets which you want to remove the VPC endpoints from.</p>
|
|
555
|
+
* </li>
|
|
556
|
+
* <li>
|
|
557
|
+
* <p>Security group ID which permits traffic to the VPC endpoints.</p>
|
|
558
|
+
* </li>
|
|
559
|
+
* </ul>
|
|
560
|
+
*/
|
|
561
|
+
UpdateSettings: UpdateSettings | undefined;
|
|
562
|
+
}
|
|
563
|
+
export interface UpdateIdentityProviderSettingsResponse {
|
|
564
|
+
/**
|
|
565
|
+
* <p>Describes an identity provider.</p>
|
|
566
|
+
*/
|
|
567
|
+
IdentityProviderSummary: IdentityProviderSummary | undefined;
|
|
568
|
+
}
|
|
489
569
|
/**
|
|
490
570
|
* @internal
|
|
491
571
|
*/
|
|
@@ -510,6 +590,10 @@ export declare const AssociateUserResponseFilterSensitiveLog: (obj: AssociateUse
|
|
|
510
590
|
* @internal
|
|
511
591
|
*/
|
|
512
592
|
export declare const DeregisterIdentityProviderRequestFilterSensitiveLog: (obj: DeregisterIdentityProviderRequest) => any;
|
|
593
|
+
/**
|
|
594
|
+
* @internal
|
|
595
|
+
*/
|
|
596
|
+
export declare const SettingsFilterSensitiveLog: (obj: Settings) => any;
|
|
513
597
|
/**
|
|
514
598
|
* @internal
|
|
515
599
|
*/
|
|
@@ -594,3 +678,15 @@ export declare const StopProductSubscriptionRequestFilterSensitiveLog: (obj: Sto
|
|
|
594
678
|
* @internal
|
|
595
679
|
*/
|
|
596
680
|
export declare const StopProductSubscriptionResponseFilterSensitiveLog: (obj: StopProductSubscriptionResponse) => any;
|
|
681
|
+
/**
|
|
682
|
+
* @internal
|
|
683
|
+
*/
|
|
684
|
+
export declare const UpdateSettingsFilterSensitiveLog: (obj: UpdateSettings) => any;
|
|
685
|
+
/**
|
|
686
|
+
* @internal
|
|
687
|
+
*/
|
|
688
|
+
export declare const UpdateIdentityProviderSettingsRequestFilterSensitiveLog: (obj: UpdateIdentityProviderSettingsRequest) => any;
|
|
689
|
+
/**
|
|
690
|
+
* @internal
|
|
691
|
+
*/
|
|
692
|
+
export declare const UpdateIdentityProviderSettingsResponseFilterSensitiveLog: (obj: UpdateIdentityProviderSettingsResponse) => any;
|
|
@@ -10,6 +10,7 @@ import { ListUserAssociationsCommandInput, ListUserAssociationsCommandOutput } f
|
|
|
10
10
|
import { RegisterIdentityProviderCommandInput, RegisterIdentityProviderCommandOutput } from "../commands/RegisterIdentityProviderCommand";
|
|
11
11
|
import { StartProductSubscriptionCommandInput, StartProductSubscriptionCommandOutput } from "../commands/StartProductSubscriptionCommand";
|
|
12
12
|
import { StopProductSubscriptionCommandInput, StopProductSubscriptionCommandOutput } from "../commands/StopProductSubscriptionCommand";
|
|
13
|
+
import { UpdateIdentityProviderSettingsCommandInput, UpdateIdentityProviderSettingsCommandOutput } from "../commands/UpdateIdentityProviderSettingsCommand";
|
|
13
14
|
export declare const serializeAws_restJson1AssociateUserCommand: (input: AssociateUserCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
14
15
|
export declare const serializeAws_restJson1DeregisterIdentityProviderCommand: (input: DeregisterIdentityProviderCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
15
16
|
export declare const serializeAws_restJson1DisassociateUserCommand: (input: DisassociateUserCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
@@ -20,6 +21,7 @@ export declare const serializeAws_restJson1ListUserAssociationsCommand: (input:
|
|
|
20
21
|
export declare const serializeAws_restJson1RegisterIdentityProviderCommand: (input: RegisterIdentityProviderCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
21
22
|
export declare const serializeAws_restJson1StartProductSubscriptionCommand: (input: StartProductSubscriptionCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
22
23
|
export declare const serializeAws_restJson1StopProductSubscriptionCommand: (input: StopProductSubscriptionCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
24
|
+
export declare const serializeAws_restJson1UpdateIdentityProviderSettingsCommand: (input: UpdateIdentityProviderSettingsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
23
25
|
export declare const deserializeAws_restJson1AssociateUserCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<AssociateUserCommandOutput>;
|
|
24
26
|
export declare const deserializeAws_restJson1DeregisterIdentityProviderCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DeregisterIdentityProviderCommandOutput>;
|
|
25
27
|
export declare const deserializeAws_restJson1DisassociateUserCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DisassociateUserCommandOutput>;
|
|
@@ -30,3 +32,4 @@ export declare const deserializeAws_restJson1ListUserAssociationsCommand: (outpu
|
|
|
30
32
|
export declare const deserializeAws_restJson1RegisterIdentityProviderCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<RegisterIdentityProviderCommandOutput>;
|
|
31
33
|
export declare const deserializeAws_restJson1StartProductSubscriptionCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<StartProductSubscriptionCommandOutput>;
|
|
32
34
|
export declare const deserializeAws_restJson1StopProductSubscriptionCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<StopProductSubscriptionCommandOutput>;
|
|
35
|
+
export declare const deserializeAws_restJson1UpdateIdentityProviderSettingsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdateIdentityProviderSettingsCommandOutput>;
|
|
@@ -39,6 +39,10 @@ import {
|
|
|
39
39
|
StopProductSubscriptionCommandInput,
|
|
40
40
|
StopProductSubscriptionCommandOutput,
|
|
41
41
|
} from "./commands/StopProductSubscriptionCommand";
|
|
42
|
+
import {
|
|
43
|
+
UpdateIdentityProviderSettingsCommandInput,
|
|
44
|
+
UpdateIdentityProviderSettingsCommandOutput,
|
|
45
|
+
} from "./commands/UpdateIdentityProviderSettingsCommand";
|
|
42
46
|
import { LicenseManagerUserSubscriptionsClient } from "./LicenseManagerUserSubscriptionsClient";
|
|
43
47
|
export declare class LicenseManagerUserSubscriptions extends LicenseManagerUserSubscriptionsClient {
|
|
44
48
|
associateUser(
|
|
@@ -171,4 +175,17 @@ export declare class LicenseManagerUserSubscriptions extends LicenseManagerUserS
|
|
|
171
175
|
options: __HttpHandlerOptions,
|
|
172
176
|
cb: (err: any, data?: StopProductSubscriptionCommandOutput) => void
|
|
173
177
|
): void;
|
|
178
|
+
updateIdentityProviderSettings(
|
|
179
|
+
args: UpdateIdentityProviderSettingsCommandInput,
|
|
180
|
+
options?: __HttpHandlerOptions
|
|
181
|
+
): Promise<UpdateIdentityProviderSettingsCommandOutput>;
|
|
182
|
+
updateIdentityProviderSettings(
|
|
183
|
+
args: UpdateIdentityProviderSettingsCommandInput,
|
|
184
|
+
cb: (err: any, data?: UpdateIdentityProviderSettingsCommandOutput) => void
|
|
185
|
+
): void;
|
|
186
|
+
updateIdentityProviderSettings(
|
|
187
|
+
args: UpdateIdentityProviderSettingsCommandInput,
|
|
188
|
+
options: __HttpHandlerOptions,
|
|
189
|
+
cb: (err: any, data?: UpdateIdentityProviderSettingsCommandOutput) => void
|
|
190
|
+
): void;
|
|
174
191
|
}
|
|
@@ -83,6 +83,10 @@ import {
|
|
|
83
83
|
StopProductSubscriptionCommandInput,
|
|
84
84
|
StopProductSubscriptionCommandOutput,
|
|
85
85
|
} from "./commands/StopProductSubscriptionCommand";
|
|
86
|
+
import {
|
|
87
|
+
UpdateIdentityProviderSettingsCommandInput,
|
|
88
|
+
UpdateIdentityProviderSettingsCommandOutput,
|
|
89
|
+
} from "./commands/UpdateIdentityProviderSettingsCommand";
|
|
86
90
|
import {
|
|
87
91
|
ClientInputEndpointParameters,
|
|
88
92
|
ClientResolvedEndpointParameters,
|
|
@@ -98,7 +102,8 @@ export declare type ServiceInputTypes =
|
|
|
98
102
|
| ListUserAssociationsCommandInput
|
|
99
103
|
| RegisterIdentityProviderCommandInput
|
|
100
104
|
| StartProductSubscriptionCommandInput
|
|
101
|
-
| StopProductSubscriptionCommandInput
|
|
105
|
+
| StopProductSubscriptionCommandInput
|
|
106
|
+
| UpdateIdentityProviderSettingsCommandInput;
|
|
102
107
|
export declare type ServiceOutputTypes =
|
|
103
108
|
| AssociateUserCommandOutput
|
|
104
109
|
| DeregisterIdentityProviderCommandOutput
|
|
@@ -109,7 +114,8 @@ export declare type ServiceOutputTypes =
|
|
|
109
114
|
| ListUserAssociationsCommandOutput
|
|
110
115
|
| RegisterIdentityProviderCommandOutput
|
|
111
116
|
| StartProductSubscriptionCommandOutput
|
|
112
|
-
| StopProductSubscriptionCommandOutput
|
|
117
|
+
| StopProductSubscriptionCommandOutput
|
|
118
|
+
| UpdateIdentityProviderSettingsCommandOutput;
|
|
113
119
|
export interface ClientDefaults
|
|
114
120
|
extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
|
|
115
121
|
requestHandler?: __HttpHandler;
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
|
+
import {
|
|
4
|
+
Handler,
|
|
5
|
+
HttpHandlerOptions as __HttpHandlerOptions,
|
|
6
|
+
MetadataBearer as __MetadataBearer,
|
|
7
|
+
MiddlewareStack,
|
|
8
|
+
} from "@aws-sdk/types";
|
|
9
|
+
import {
|
|
10
|
+
LicenseManagerUserSubscriptionsClientResolvedConfig,
|
|
11
|
+
ServiceInputTypes,
|
|
12
|
+
ServiceOutputTypes,
|
|
13
|
+
} from "../LicenseManagerUserSubscriptionsClient";
|
|
14
|
+
import {
|
|
15
|
+
UpdateIdentityProviderSettingsRequest,
|
|
16
|
+
UpdateIdentityProviderSettingsResponse,
|
|
17
|
+
} from "../models/models_0";
|
|
18
|
+
export interface UpdateIdentityProviderSettingsCommandInput
|
|
19
|
+
extends UpdateIdentityProviderSettingsRequest {}
|
|
20
|
+
export interface UpdateIdentityProviderSettingsCommandOutput
|
|
21
|
+
extends UpdateIdentityProviderSettingsResponse,
|
|
22
|
+
__MetadataBearer {}
|
|
23
|
+
export declare class UpdateIdentityProviderSettingsCommand extends $Command<
|
|
24
|
+
UpdateIdentityProviderSettingsCommandInput,
|
|
25
|
+
UpdateIdentityProviderSettingsCommandOutput,
|
|
26
|
+
LicenseManagerUserSubscriptionsClientResolvedConfig
|
|
27
|
+
> {
|
|
28
|
+
readonly input: UpdateIdentityProviderSettingsCommandInput;
|
|
29
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
30
|
+
constructor(input: UpdateIdentityProviderSettingsCommandInput);
|
|
31
|
+
resolveMiddleware(
|
|
32
|
+
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
33
|
+
configuration: LicenseManagerUserSubscriptionsClientResolvedConfig,
|
|
34
|
+
options?: __HttpHandlerOptions
|
|
35
|
+
): Handler<
|
|
36
|
+
UpdateIdentityProviderSettingsCommandInput,
|
|
37
|
+
UpdateIdentityProviderSettingsCommandOutput
|
|
38
|
+
>;
|
|
39
|
+
private serialize;
|
|
40
|
+
private deserialize;
|
|
41
|
+
}
|
|
@@ -93,8 +93,13 @@ export interface DeregisterIdentityProviderRequest {
|
|
|
93
93
|
IdentityProvider: IdentityProvider | undefined;
|
|
94
94
|
Product: string | undefined;
|
|
95
95
|
}
|
|
96
|
+
export interface Settings {
|
|
97
|
+
Subnets: string[] | undefined;
|
|
98
|
+
SecurityGroupId: string | undefined;
|
|
99
|
+
}
|
|
96
100
|
export interface IdentityProviderSummary {
|
|
97
101
|
IdentityProvider: IdentityProvider | undefined;
|
|
102
|
+
Settings: Settings | undefined;
|
|
98
103
|
Product: string | undefined;
|
|
99
104
|
Status: string | undefined;
|
|
100
105
|
FailureMessage?: string;
|
|
@@ -175,6 +180,7 @@ export interface ListUserAssociationsResponse {
|
|
|
175
180
|
export interface RegisterIdentityProviderRequest {
|
|
176
181
|
IdentityProvider: IdentityProvider | undefined;
|
|
177
182
|
Product: string | undefined;
|
|
183
|
+
Settings?: Settings;
|
|
178
184
|
}
|
|
179
185
|
export interface RegisterIdentityProviderResponse {
|
|
180
186
|
IdentityProviderSummary: IdentityProviderSummary | undefined;
|
|
@@ -197,6 +203,19 @@ export interface StopProductSubscriptionRequest {
|
|
|
197
203
|
export interface StopProductSubscriptionResponse {
|
|
198
204
|
ProductUserSummary: ProductUserSummary | undefined;
|
|
199
205
|
}
|
|
206
|
+
export interface UpdateSettings {
|
|
207
|
+
AddSubnets: string[] | undefined;
|
|
208
|
+
RemoveSubnets: string[] | undefined;
|
|
209
|
+
SecurityGroupId?: string;
|
|
210
|
+
}
|
|
211
|
+
export interface UpdateIdentityProviderSettingsRequest {
|
|
212
|
+
IdentityProvider: IdentityProvider | undefined;
|
|
213
|
+
Product: string | undefined;
|
|
214
|
+
UpdateSettings: UpdateSettings | undefined;
|
|
215
|
+
}
|
|
216
|
+
export interface UpdateIdentityProviderSettingsResponse {
|
|
217
|
+
IdentityProviderSummary: IdentityProviderSummary | undefined;
|
|
218
|
+
}
|
|
200
219
|
export declare const ActiveDirectoryIdentityProviderFilterSensitiveLog: (
|
|
201
220
|
obj: ActiveDirectoryIdentityProvider
|
|
202
221
|
) => any;
|
|
@@ -215,6 +234,7 @@ export declare const AssociateUserResponseFilterSensitiveLog: (
|
|
|
215
234
|
export declare const DeregisterIdentityProviderRequestFilterSensitiveLog: (
|
|
216
235
|
obj: DeregisterIdentityProviderRequest
|
|
217
236
|
) => any;
|
|
237
|
+
export declare const SettingsFilterSensitiveLog: (obj: Settings) => any;
|
|
218
238
|
export declare const IdentityProviderSummaryFilterSensitiveLog: (
|
|
219
239
|
obj: IdentityProviderSummary
|
|
220
240
|
) => any;
|
|
@@ -276,3 +296,12 @@ export declare const StopProductSubscriptionRequestFilterSensitiveLog: (
|
|
|
276
296
|
export declare const StopProductSubscriptionResponseFilterSensitiveLog: (
|
|
277
297
|
obj: StopProductSubscriptionResponse
|
|
278
298
|
) => any;
|
|
299
|
+
export declare const UpdateSettingsFilterSensitiveLog: (
|
|
300
|
+
obj: UpdateSettings
|
|
301
|
+
) => any;
|
|
302
|
+
export declare const UpdateIdentityProviderSettingsRequestFilterSensitiveLog: (
|
|
303
|
+
obj: UpdateIdentityProviderSettingsRequest
|
|
304
|
+
) => any;
|
|
305
|
+
export declare const UpdateIdentityProviderSettingsResponseFilterSensitiveLog: (
|
|
306
|
+
obj: UpdateIdentityProviderSettingsResponse
|
|
307
|
+
) => any;
|
|
@@ -43,6 +43,10 @@ import {
|
|
|
43
43
|
StopProductSubscriptionCommandInput,
|
|
44
44
|
StopProductSubscriptionCommandOutput,
|
|
45
45
|
} from "../commands/StopProductSubscriptionCommand";
|
|
46
|
+
import {
|
|
47
|
+
UpdateIdentityProviderSettingsCommandInput,
|
|
48
|
+
UpdateIdentityProviderSettingsCommandOutput,
|
|
49
|
+
} from "../commands/UpdateIdentityProviderSettingsCommand";
|
|
46
50
|
export declare const serializeAws_restJson1AssociateUserCommand: (
|
|
47
51
|
input: AssociateUserCommandInput,
|
|
48
52
|
context: __SerdeContext
|
|
@@ -83,6 +87,10 @@ export declare const serializeAws_restJson1StopProductSubscriptionCommand: (
|
|
|
83
87
|
input: StopProductSubscriptionCommandInput,
|
|
84
88
|
context: __SerdeContext
|
|
85
89
|
) => Promise<__HttpRequest>;
|
|
90
|
+
export declare const serializeAws_restJson1UpdateIdentityProviderSettingsCommand: (
|
|
91
|
+
input: UpdateIdentityProviderSettingsCommandInput,
|
|
92
|
+
context: __SerdeContext
|
|
93
|
+
) => Promise<__HttpRequest>;
|
|
86
94
|
export declare const deserializeAws_restJson1AssociateUserCommand: (
|
|
87
95
|
output: __HttpResponse,
|
|
88
96
|
context: __SerdeContext
|
|
@@ -123,3 +131,7 @@ export declare const deserializeAws_restJson1StopProductSubscriptionCommand: (
|
|
|
123
131
|
output: __HttpResponse,
|
|
124
132
|
context: __SerdeContext
|
|
125
133
|
) => Promise<StopProductSubscriptionCommandOutput>;
|
|
134
|
+
export declare const deserializeAws_restJson1UpdateIdentityProviderSettingsCommand: (
|
|
135
|
+
output: __HttpResponse,
|
|
136
|
+
context: __SerdeContext
|
|
137
|
+
) => Promise<UpdateIdentityProviderSettingsCommandOutput>;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-license-manager-user-subscriptions",
|
|
3
3
|
"description": "AWS SDK for JavaScript License Manager User Subscriptions Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.219.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -19,9 +19,9 @@
|
|
|
19
19
|
"dependencies": {
|
|
20
20
|
"@aws-crypto/sha256-browser": "2.0.0",
|
|
21
21
|
"@aws-crypto/sha256-js": "2.0.0",
|
|
22
|
-
"@aws-sdk/client-sts": "3.
|
|
22
|
+
"@aws-sdk/client-sts": "3.218.0",
|
|
23
23
|
"@aws-sdk/config-resolver": "3.215.0",
|
|
24
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
24
|
+
"@aws-sdk/credential-provider-node": "3.218.0",
|
|
25
25
|
"@aws-sdk/fetch-http-handler": "3.215.0",
|
|
26
26
|
"@aws-sdk/hash-node": "3.215.0",
|
|
27
27
|
"@aws-sdk/invalid-dependency": "3.215.0",
|