@aws-sdk/client-license-manager-user-subscriptions 3.142.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/CHANGELOG.md +11 -0
- package/LICENSE +201 -0
- package/README.md +211 -0
- package/dist-cjs/LicenseManagerUserSubscriptions.js +157 -0
- package/dist-cjs/LicenseManagerUserSubscriptionsClient.js +37 -0
- package/dist-cjs/commands/AssociateUserCommand.js +36 -0
- package/dist-cjs/commands/DeregisterIdentityProviderCommand.js +36 -0
- package/dist-cjs/commands/DisassociateUserCommand.js +36 -0
- package/dist-cjs/commands/ListIdentityProvidersCommand.js +36 -0
- package/dist-cjs/commands/ListInstancesCommand.js +36 -0
- package/dist-cjs/commands/ListProductSubscriptionsCommand.js +36 -0
- package/dist-cjs/commands/ListUserAssociationsCommand.js +36 -0
- package/dist-cjs/commands/RegisterIdentityProviderCommand.js +36 -0
- package/dist-cjs/commands/StartProductSubscriptionCommand.js +36 -0
- package/dist-cjs/commands/StopProductSubscriptionCommand.js +36 -0
- package/dist-cjs/commands/index.js +13 -0
- package/dist-cjs/endpoints.js +168 -0
- package/dist-cjs/index.js +11 -0
- package/dist-cjs/models/LicenseManagerUserSubscriptionsServiceException.js +11 -0
- package/dist-cjs/models/index.js +4 -0
- package/dist-cjs/models/models_0.js +250 -0
- package/dist-cjs/pagination/Interfaces.js +2 -0
- package/dist-cjs/pagination/ListIdentityProvidersPaginator.js +36 -0
- package/dist-cjs/pagination/ListInstancesPaginator.js +36 -0
- package/dist-cjs/pagination/ListProductSubscriptionsPaginator.js +36 -0
- package/dist-cjs/pagination/ListUserAssociationsPaginator.js +36 -0
- package/dist-cjs/pagination/index.js +8 -0
- package/dist-cjs/protocols/Aws_restJson1.js +1072 -0
- package/dist-cjs/runtimeConfig.browser.js +45 -0
- package/dist-cjs/runtimeConfig.js +52 -0
- package/dist-cjs/runtimeConfig.native.js +16 -0
- package/dist-cjs/runtimeConfig.shared.js +17 -0
- package/dist-es/LicenseManagerUserSubscriptions.js +160 -0
- package/dist-es/LicenseManagerUserSubscriptionsClient.js +39 -0
- package/dist-es/commands/AssociateUserCommand.js +39 -0
- package/dist-es/commands/DeregisterIdentityProviderCommand.js +39 -0
- package/dist-es/commands/DisassociateUserCommand.js +39 -0
- package/dist-es/commands/ListIdentityProvidersCommand.js +39 -0
- package/dist-es/commands/ListInstancesCommand.js +39 -0
- package/dist-es/commands/ListProductSubscriptionsCommand.js +39 -0
- package/dist-es/commands/ListUserAssociationsCommand.js +39 -0
- package/dist-es/commands/RegisterIdentityProviderCommand.js +39 -0
- package/dist-es/commands/StartProductSubscriptionCommand.js +39 -0
- package/dist-es/commands/StopProductSubscriptionCommand.js +39 -0
- package/dist-es/commands/index.js +10 -0
- package/dist-es/endpoints.js +164 -0
- package/dist-es/index.js +6 -0
- package/dist-es/models/LicenseManagerUserSubscriptionsServiceException.js +12 -0
- package/dist-es/models/index.js +1 -0
- package/dist-es/models/models_0.js +145 -0
- package/dist-es/pagination/Interfaces.js +1 -0
- package/dist-es/pagination/ListIdentityProvidersPaginator.js +75 -0
- package/dist-es/pagination/ListInstancesPaginator.js +75 -0
- package/dist-es/pagination/ListProductSubscriptionsPaginator.js +75 -0
- package/dist-es/pagination/ListUserAssociationsPaginator.js +75 -0
- package/dist-es/pagination/index.js +5 -0
- package/dist-es/protocols/Aws_restJson1.js +1356 -0
- package/dist-es/runtimeConfig.browser.js +26 -0
- package/dist-es/runtimeConfig.js +30 -0
- package/dist-es/runtimeConfig.native.js +8 -0
- package/dist-es/runtimeConfig.shared.js +13 -0
- package/dist-types/LicenseManagerUserSubscriptions.d.ts +77 -0
- package/dist-types/LicenseManagerUserSubscriptionsClient.d.ts +154 -0
- package/dist-types/commands/AssociateUserCommand.d.ts +35 -0
- package/dist-types/commands/DeregisterIdentityProviderCommand.d.ts +35 -0
- package/dist-types/commands/DisassociateUserCommand.d.ts +35 -0
- package/dist-types/commands/ListIdentityProvidersCommand.d.ts +35 -0
- package/dist-types/commands/ListInstancesCommand.d.ts +35 -0
- package/dist-types/commands/ListProductSubscriptionsCommand.d.ts +35 -0
- package/dist-types/commands/ListUserAssociationsCommand.d.ts +35 -0
- package/dist-types/commands/RegisterIdentityProviderCommand.d.ts +35 -0
- package/dist-types/commands/StartProductSubscriptionCommand.d.ts +35 -0
- package/dist-types/commands/StopProductSubscriptionCommand.d.ts +35 -0
- package/dist-types/commands/index.d.ts +10 -0
- package/dist-types/endpoints.d.ts +2 -0
- package/dist-types/index.d.ts +6 -0
- package/dist-types/models/LicenseManagerUserSubscriptionsServiceException.d.ts +10 -0
- package/dist-types/models/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +596 -0
- package/dist-types/pagination/Interfaces.d.ts +6 -0
- package/dist-types/pagination/ListIdentityProvidersPaginator.d.ts +4 -0
- package/dist-types/pagination/ListInstancesPaginator.d.ts +4 -0
- package/dist-types/pagination/ListProductSubscriptionsPaginator.d.ts +4 -0
- package/dist-types/pagination/ListUserAssociationsPaginator.d.ts +4 -0
- package/dist-types/pagination/index.d.ts +5 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +32 -0
- package/dist-types/runtimeConfig.browser.d.ts +40 -0
- package/dist-types/runtimeConfig.d.ts +40 -0
- package/dist-types/runtimeConfig.native.d.ts +39 -0
- package/dist-types/runtimeConfig.shared.d.ts +13 -0
- package/dist-types/ts3.4/LicenseManagerUserSubscriptions.d.ts +55 -0
- package/dist-types/ts3.4/LicenseManagerUserSubscriptionsClient.d.ts +83 -0
- package/dist-types/ts3.4/commands/AssociateUserCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeregisterIdentityProviderCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DisassociateUserCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListIdentityProvidersCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListInstancesCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListProductSubscriptionsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListUserAssociationsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/RegisterIdentityProviderCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/StartProductSubscriptionCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/StopProductSubscriptionCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/index.d.ts +10 -0
- package/dist-types/ts3.4/endpoints.d.ts +2 -0
- package/dist-types/ts3.4/index.d.ts +6 -0
- package/dist-types/ts3.4/models/LicenseManagerUserSubscriptionsServiceException.d.ts +6 -0
- package/dist-types/ts3.4/models/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +340 -0
- package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
- package/dist-types/ts3.4/pagination/ListIdentityProvidersPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/ListInstancesPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/ListProductSubscriptionsPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/ListUserAssociationsPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/index.d.ts +5 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +32 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +38 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +38 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +37 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +11 -0
- package/package.json +94 -0
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.DeregisterIdentityProviderCommand = void 0;
|
|
4
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
5
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
|
+
const models_0_1 = require("../models/models_0");
|
|
7
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
|
+
class DeregisterIdentityProviderCommand extends smithy_client_1.Command {
|
|
9
|
+
constructor(input) {
|
|
10
|
+
super();
|
|
11
|
+
this.input = input;
|
|
12
|
+
}
|
|
13
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
15
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
const { logger } = configuration;
|
|
17
|
+
const clientName = "LicenseManagerUserSubscriptionsClient";
|
|
18
|
+
const commandName = "DeregisterIdentityProviderCommand";
|
|
19
|
+
const handlerExecutionContext = {
|
|
20
|
+
logger,
|
|
21
|
+
clientName,
|
|
22
|
+
commandName,
|
|
23
|
+
inputFilterSensitiveLog: models_0_1.DeregisterIdentityProviderRequestFilterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: models_0_1.DeregisterIdentityProviderResponseFilterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
const { requestHandler } = configuration;
|
|
27
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
|
+
}
|
|
29
|
+
serialize(input, context) {
|
|
30
|
+
return (0, Aws_restJson1_1.serializeAws_restJson1DeregisterIdentityProviderCommand)(input, context);
|
|
31
|
+
}
|
|
32
|
+
deserialize(output, context) {
|
|
33
|
+
return (0, Aws_restJson1_1.deserializeAws_restJson1DeregisterIdentityProviderCommand)(output, context);
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
exports.DeregisterIdentityProviderCommand = DeregisterIdentityProviderCommand;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.DisassociateUserCommand = void 0;
|
|
4
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
5
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
|
+
const models_0_1 = require("../models/models_0");
|
|
7
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
|
+
class DisassociateUserCommand extends smithy_client_1.Command {
|
|
9
|
+
constructor(input) {
|
|
10
|
+
super();
|
|
11
|
+
this.input = input;
|
|
12
|
+
}
|
|
13
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
15
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
const { logger } = configuration;
|
|
17
|
+
const clientName = "LicenseManagerUserSubscriptionsClient";
|
|
18
|
+
const commandName = "DisassociateUserCommand";
|
|
19
|
+
const handlerExecutionContext = {
|
|
20
|
+
logger,
|
|
21
|
+
clientName,
|
|
22
|
+
commandName,
|
|
23
|
+
inputFilterSensitiveLog: models_0_1.DisassociateUserRequestFilterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: models_0_1.DisassociateUserResponseFilterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
const { requestHandler } = configuration;
|
|
27
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
|
+
}
|
|
29
|
+
serialize(input, context) {
|
|
30
|
+
return (0, Aws_restJson1_1.serializeAws_restJson1DisassociateUserCommand)(input, context);
|
|
31
|
+
}
|
|
32
|
+
deserialize(output, context) {
|
|
33
|
+
return (0, Aws_restJson1_1.deserializeAws_restJson1DisassociateUserCommand)(output, context);
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
exports.DisassociateUserCommand = DisassociateUserCommand;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ListIdentityProvidersCommand = void 0;
|
|
4
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
5
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
|
+
const models_0_1 = require("../models/models_0");
|
|
7
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
|
+
class ListIdentityProvidersCommand extends smithy_client_1.Command {
|
|
9
|
+
constructor(input) {
|
|
10
|
+
super();
|
|
11
|
+
this.input = input;
|
|
12
|
+
}
|
|
13
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
15
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
const { logger } = configuration;
|
|
17
|
+
const clientName = "LicenseManagerUserSubscriptionsClient";
|
|
18
|
+
const commandName = "ListIdentityProvidersCommand";
|
|
19
|
+
const handlerExecutionContext = {
|
|
20
|
+
logger,
|
|
21
|
+
clientName,
|
|
22
|
+
commandName,
|
|
23
|
+
inputFilterSensitiveLog: models_0_1.ListIdentityProvidersRequestFilterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: models_0_1.ListIdentityProvidersResponseFilterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
const { requestHandler } = configuration;
|
|
27
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
|
+
}
|
|
29
|
+
serialize(input, context) {
|
|
30
|
+
return (0, Aws_restJson1_1.serializeAws_restJson1ListIdentityProvidersCommand)(input, context);
|
|
31
|
+
}
|
|
32
|
+
deserialize(output, context) {
|
|
33
|
+
return (0, Aws_restJson1_1.deserializeAws_restJson1ListIdentityProvidersCommand)(output, context);
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
exports.ListIdentityProvidersCommand = ListIdentityProvidersCommand;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ListInstancesCommand = void 0;
|
|
4
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
5
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
|
+
const models_0_1 = require("../models/models_0");
|
|
7
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
|
+
class ListInstancesCommand extends smithy_client_1.Command {
|
|
9
|
+
constructor(input) {
|
|
10
|
+
super();
|
|
11
|
+
this.input = input;
|
|
12
|
+
}
|
|
13
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
15
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
const { logger } = configuration;
|
|
17
|
+
const clientName = "LicenseManagerUserSubscriptionsClient";
|
|
18
|
+
const commandName = "ListInstancesCommand";
|
|
19
|
+
const handlerExecutionContext = {
|
|
20
|
+
logger,
|
|
21
|
+
clientName,
|
|
22
|
+
commandName,
|
|
23
|
+
inputFilterSensitiveLog: models_0_1.ListInstancesRequestFilterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: models_0_1.ListInstancesResponseFilterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
const { requestHandler } = configuration;
|
|
27
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
|
+
}
|
|
29
|
+
serialize(input, context) {
|
|
30
|
+
return (0, Aws_restJson1_1.serializeAws_restJson1ListInstancesCommand)(input, context);
|
|
31
|
+
}
|
|
32
|
+
deserialize(output, context) {
|
|
33
|
+
return (0, Aws_restJson1_1.deserializeAws_restJson1ListInstancesCommand)(output, context);
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
exports.ListInstancesCommand = ListInstancesCommand;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ListProductSubscriptionsCommand = void 0;
|
|
4
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
5
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
|
+
const models_0_1 = require("../models/models_0");
|
|
7
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
|
+
class ListProductSubscriptionsCommand extends smithy_client_1.Command {
|
|
9
|
+
constructor(input) {
|
|
10
|
+
super();
|
|
11
|
+
this.input = input;
|
|
12
|
+
}
|
|
13
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
15
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
const { logger } = configuration;
|
|
17
|
+
const clientName = "LicenseManagerUserSubscriptionsClient";
|
|
18
|
+
const commandName = "ListProductSubscriptionsCommand";
|
|
19
|
+
const handlerExecutionContext = {
|
|
20
|
+
logger,
|
|
21
|
+
clientName,
|
|
22
|
+
commandName,
|
|
23
|
+
inputFilterSensitiveLog: models_0_1.ListProductSubscriptionsRequestFilterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: models_0_1.ListProductSubscriptionsResponseFilterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
const { requestHandler } = configuration;
|
|
27
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
|
+
}
|
|
29
|
+
serialize(input, context) {
|
|
30
|
+
return (0, Aws_restJson1_1.serializeAws_restJson1ListProductSubscriptionsCommand)(input, context);
|
|
31
|
+
}
|
|
32
|
+
deserialize(output, context) {
|
|
33
|
+
return (0, Aws_restJson1_1.deserializeAws_restJson1ListProductSubscriptionsCommand)(output, context);
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
exports.ListProductSubscriptionsCommand = ListProductSubscriptionsCommand;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ListUserAssociationsCommand = void 0;
|
|
4
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
5
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
|
+
const models_0_1 = require("../models/models_0");
|
|
7
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
|
+
class ListUserAssociationsCommand extends smithy_client_1.Command {
|
|
9
|
+
constructor(input) {
|
|
10
|
+
super();
|
|
11
|
+
this.input = input;
|
|
12
|
+
}
|
|
13
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
15
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
const { logger } = configuration;
|
|
17
|
+
const clientName = "LicenseManagerUserSubscriptionsClient";
|
|
18
|
+
const commandName = "ListUserAssociationsCommand";
|
|
19
|
+
const handlerExecutionContext = {
|
|
20
|
+
logger,
|
|
21
|
+
clientName,
|
|
22
|
+
commandName,
|
|
23
|
+
inputFilterSensitiveLog: models_0_1.ListUserAssociationsRequestFilterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: models_0_1.ListUserAssociationsResponseFilterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
const { requestHandler } = configuration;
|
|
27
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
|
+
}
|
|
29
|
+
serialize(input, context) {
|
|
30
|
+
return (0, Aws_restJson1_1.serializeAws_restJson1ListUserAssociationsCommand)(input, context);
|
|
31
|
+
}
|
|
32
|
+
deserialize(output, context) {
|
|
33
|
+
return (0, Aws_restJson1_1.deserializeAws_restJson1ListUserAssociationsCommand)(output, context);
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
exports.ListUserAssociationsCommand = ListUserAssociationsCommand;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.RegisterIdentityProviderCommand = void 0;
|
|
4
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
5
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
|
+
const models_0_1 = require("../models/models_0");
|
|
7
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
|
+
class RegisterIdentityProviderCommand extends smithy_client_1.Command {
|
|
9
|
+
constructor(input) {
|
|
10
|
+
super();
|
|
11
|
+
this.input = input;
|
|
12
|
+
}
|
|
13
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
15
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
const { logger } = configuration;
|
|
17
|
+
const clientName = "LicenseManagerUserSubscriptionsClient";
|
|
18
|
+
const commandName = "RegisterIdentityProviderCommand";
|
|
19
|
+
const handlerExecutionContext = {
|
|
20
|
+
logger,
|
|
21
|
+
clientName,
|
|
22
|
+
commandName,
|
|
23
|
+
inputFilterSensitiveLog: models_0_1.RegisterIdentityProviderRequestFilterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: models_0_1.RegisterIdentityProviderResponseFilterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
const { requestHandler } = configuration;
|
|
27
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
|
+
}
|
|
29
|
+
serialize(input, context) {
|
|
30
|
+
return (0, Aws_restJson1_1.serializeAws_restJson1RegisterIdentityProviderCommand)(input, context);
|
|
31
|
+
}
|
|
32
|
+
deserialize(output, context) {
|
|
33
|
+
return (0, Aws_restJson1_1.deserializeAws_restJson1RegisterIdentityProviderCommand)(output, context);
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
exports.RegisterIdentityProviderCommand = RegisterIdentityProviderCommand;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.StartProductSubscriptionCommand = void 0;
|
|
4
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
5
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
|
+
const models_0_1 = require("../models/models_0");
|
|
7
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
|
+
class StartProductSubscriptionCommand extends smithy_client_1.Command {
|
|
9
|
+
constructor(input) {
|
|
10
|
+
super();
|
|
11
|
+
this.input = input;
|
|
12
|
+
}
|
|
13
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
15
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
const { logger } = configuration;
|
|
17
|
+
const clientName = "LicenseManagerUserSubscriptionsClient";
|
|
18
|
+
const commandName = "StartProductSubscriptionCommand";
|
|
19
|
+
const handlerExecutionContext = {
|
|
20
|
+
logger,
|
|
21
|
+
clientName,
|
|
22
|
+
commandName,
|
|
23
|
+
inputFilterSensitiveLog: models_0_1.StartProductSubscriptionRequestFilterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: models_0_1.StartProductSubscriptionResponseFilterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
const { requestHandler } = configuration;
|
|
27
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
|
+
}
|
|
29
|
+
serialize(input, context) {
|
|
30
|
+
return (0, Aws_restJson1_1.serializeAws_restJson1StartProductSubscriptionCommand)(input, context);
|
|
31
|
+
}
|
|
32
|
+
deserialize(output, context) {
|
|
33
|
+
return (0, Aws_restJson1_1.deserializeAws_restJson1StartProductSubscriptionCommand)(output, context);
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
exports.StartProductSubscriptionCommand = StartProductSubscriptionCommand;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.StopProductSubscriptionCommand = void 0;
|
|
4
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
5
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
|
+
const models_0_1 = require("../models/models_0");
|
|
7
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
|
+
class StopProductSubscriptionCommand extends smithy_client_1.Command {
|
|
9
|
+
constructor(input) {
|
|
10
|
+
super();
|
|
11
|
+
this.input = input;
|
|
12
|
+
}
|
|
13
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
15
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
const { logger } = configuration;
|
|
17
|
+
const clientName = "LicenseManagerUserSubscriptionsClient";
|
|
18
|
+
const commandName = "StopProductSubscriptionCommand";
|
|
19
|
+
const handlerExecutionContext = {
|
|
20
|
+
logger,
|
|
21
|
+
clientName,
|
|
22
|
+
commandName,
|
|
23
|
+
inputFilterSensitiveLog: models_0_1.StopProductSubscriptionRequestFilterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: models_0_1.StopProductSubscriptionResponseFilterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
const { requestHandler } = configuration;
|
|
27
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
|
+
}
|
|
29
|
+
serialize(input, context) {
|
|
30
|
+
return (0, Aws_restJson1_1.serializeAws_restJson1StopProductSubscriptionCommand)(input, context);
|
|
31
|
+
}
|
|
32
|
+
deserialize(output, context) {
|
|
33
|
+
return (0, Aws_restJson1_1.deserializeAws_restJson1StopProductSubscriptionCommand)(output, context);
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
exports.StopProductSubscriptionCommand = StopProductSubscriptionCommand;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const tslib_1 = require("tslib");
|
|
4
|
+
tslib_1.__exportStar(require("./AssociateUserCommand"), exports);
|
|
5
|
+
tslib_1.__exportStar(require("./DeregisterIdentityProviderCommand"), exports);
|
|
6
|
+
tslib_1.__exportStar(require("./DisassociateUserCommand"), exports);
|
|
7
|
+
tslib_1.__exportStar(require("./ListIdentityProvidersCommand"), exports);
|
|
8
|
+
tslib_1.__exportStar(require("./ListInstancesCommand"), exports);
|
|
9
|
+
tslib_1.__exportStar(require("./ListProductSubscriptionsCommand"), exports);
|
|
10
|
+
tslib_1.__exportStar(require("./ListUserAssociationsCommand"), exports);
|
|
11
|
+
tslib_1.__exportStar(require("./RegisterIdentityProviderCommand"), exports);
|
|
12
|
+
tslib_1.__exportStar(require("./StartProductSubscriptionCommand"), exports);
|
|
13
|
+
tslib_1.__exportStar(require("./StopProductSubscriptionCommand"), exports);
|
|
@@ -0,0 +1,168 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.defaultRegionInfoProvider = void 0;
|
|
4
|
+
const config_resolver_1 = require("@aws-sdk/config-resolver");
|
|
5
|
+
const regionHash = {
|
|
6
|
+
"us-east-1": {
|
|
7
|
+
variants: [
|
|
8
|
+
{
|
|
9
|
+
hostname: "license-manager-user-subscriptions-fips.us-east-1.amazonaws.com",
|
|
10
|
+
tags: ["fips"],
|
|
11
|
+
},
|
|
12
|
+
],
|
|
13
|
+
},
|
|
14
|
+
"us-east-2": {
|
|
15
|
+
variants: [
|
|
16
|
+
{
|
|
17
|
+
hostname: "license-manager-user-subscriptions-fips.us-east-2.amazonaws.com",
|
|
18
|
+
tags: ["fips"],
|
|
19
|
+
},
|
|
20
|
+
],
|
|
21
|
+
},
|
|
22
|
+
"us-west-1": {
|
|
23
|
+
variants: [
|
|
24
|
+
{
|
|
25
|
+
hostname: "license-manager-user-subscriptions-fips.us-west-1.amazonaws.com",
|
|
26
|
+
tags: ["fips"],
|
|
27
|
+
},
|
|
28
|
+
],
|
|
29
|
+
},
|
|
30
|
+
"us-west-2": {
|
|
31
|
+
variants: [
|
|
32
|
+
{
|
|
33
|
+
hostname: "license-manager-user-subscriptions-fips.us-west-2.amazonaws.com",
|
|
34
|
+
tags: ["fips"],
|
|
35
|
+
},
|
|
36
|
+
],
|
|
37
|
+
},
|
|
38
|
+
};
|
|
39
|
+
const partitionHash = {
|
|
40
|
+
aws: {
|
|
41
|
+
regions: [
|
|
42
|
+
"af-south-1",
|
|
43
|
+
"ap-east-1",
|
|
44
|
+
"ap-northeast-1",
|
|
45
|
+
"ap-northeast-2",
|
|
46
|
+
"ap-northeast-3",
|
|
47
|
+
"ap-south-1",
|
|
48
|
+
"ap-southeast-1",
|
|
49
|
+
"ap-southeast-2",
|
|
50
|
+
"ap-southeast-3",
|
|
51
|
+
"ca-central-1",
|
|
52
|
+
"eu-central-1",
|
|
53
|
+
"eu-north-1",
|
|
54
|
+
"eu-south-1",
|
|
55
|
+
"eu-west-1",
|
|
56
|
+
"eu-west-2",
|
|
57
|
+
"eu-west-3",
|
|
58
|
+
"fips-us-east-1",
|
|
59
|
+
"fips-us-east-2",
|
|
60
|
+
"fips-us-west-1",
|
|
61
|
+
"fips-us-west-2",
|
|
62
|
+
"me-south-1",
|
|
63
|
+
"sa-east-1",
|
|
64
|
+
"us-east-1",
|
|
65
|
+
"us-east-2",
|
|
66
|
+
"us-west-1",
|
|
67
|
+
"us-west-2",
|
|
68
|
+
],
|
|
69
|
+
regionRegex: "^(us|eu|ap|sa|ca|me|af)\\-\\w+\\-\\d+$",
|
|
70
|
+
variants: [
|
|
71
|
+
{
|
|
72
|
+
hostname: "license-manager-user-subscriptions.{region}.amazonaws.com",
|
|
73
|
+
tags: [],
|
|
74
|
+
},
|
|
75
|
+
{
|
|
76
|
+
hostname: "license-manager-user-subscriptions-fips.{region}.amazonaws.com",
|
|
77
|
+
tags: ["fips"],
|
|
78
|
+
},
|
|
79
|
+
{
|
|
80
|
+
hostname: "license-manager-user-subscriptions-fips.{region}.api.aws",
|
|
81
|
+
tags: ["dualstack", "fips"],
|
|
82
|
+
},
|
|
83
|
+
{
|
|
84
|
+
hostname: "license-manager-user-subscriptions.{region}.api.aws",
|
|
85
|
+
tags: ["dualstack"],
|
|
86
|
+
},
|
|
87
|
+
],
|
|
88
|
+
},
|
|
89
|
+
"aws-cn": {
|
|
90
|
+
regions: ["cn-north-1", "cn-northwest-1"],
|
|
91
|
+
regionRegex: "^cn\\-\\w+\\-\\d+$",
|
|
92
|
+
variants: [
|
|
93
|
+
{
|
|
94
|
+
hostname: "license-manager-user-subscriptions.{region}.amazonaws.com.cn",
|
|
95
|
+
tags: [],
|
|
96
|
+
},
|
|
97
|
+
{
|
|
98
|
+
hostname: "license-manager-user-subscriptions-fips.{region}.amazonaws.com.cn",
|
|
99
|
+
tags: ["fips"],
|
|
100
|
+
},
|
|
101
|
+
{
|
|
102
|
+
hostname: "license-manager-user-subscriptions-fips.{region}.api.amazonwebservices.com.cn",
|
|
103
|
+
tags: ["dualstack", "fips"],
|
|
104
|
+
},
|
|
105
|
+
{
|
|
106
|
+
hostname: "license-manager-user-subscriptions.{region}.api.amazonwebservices.com.cn",
|
|
107
|
+
tags: ["dualstack"],
|
|
108
|
+
},
|
|
109
|
+
],
|
|
110
|
+
},
|
|
111
|
+
"aws-iso": {
|
|
112
|
+
regions: ["us-iso-east-1", "us-iso-west-1"],
|
|
113
|
+
regionRegex: "^us\\-iso\\-\\w+\\-\\d+$",
|
|
114
|
+
variants: [
|
|
115
|
+
{
|
|
116
|
+
hostname: "license-manager-user-subscriptions.{region}.c2s.ic.gov",
|
|
117
|
+
tags: [],
|
|
118
|
+
},
|
|
119
|
+
{
|
|
120
|
+
hostname: "license-manager-user-subscriptions-fips.{region}.c2s.ic.gov",
|
|
121
|
+
tags: ["fips"],
|
|
122
|
+
},
|
|
123
|
+
],
|
|
124
|
+
},
|
|
125
|
+
"aws-iso-b": {
|
|
126
|
+
regions: ["us-isob-east-1"],
|
|
127
|
+
regionRegex: "^us\\-isob\\-\\w+\\-\\d+$",
|
|
128
|
+
variants: [
|
|
129
|
+
{
|
|
130
|
+
hostname: "license-manager-user-subscriptions.{region}.sc2s.sgov.gov",
|
|
131
|
+
tags: [],
|
|
132
|
+
},
|
|
133
|
+
{
|
|
134
|
+
hostname: "license-manager-user-subscriptions-fips.{region}.sc2s.sgov.gov",
|
|
135
|
+
tags: ["fips"],
|
|
136
|
+
},
|
|
137
|
+
],
|
|
138
|
+
},
|
|
139
|
+
"aws-us-gov": {
|
|
140
|
+
regions: ["us-gov-east-1", "us-gov-west-1"],
|
|
141
|
+
regionRegex: "^us\\-gov\\-\\w+\\-\\d+$",
|
|
142
|
+
variants: [
|
|
143
|
+
{
|
|
144
|
+
hostname: "license-manager-user-subscriptions.{region}.amazonaws.com",
|
|
145
|
+
tags: [],
|
|
146
|
+
},
|
|
147
|
+
{
|
|
148
|
+
hostname: "license-manager-user-subscriptions-fips.{region}.amazonaws.com",
|
|
149
|
+
tags: ["fips"],
|
|
150
|
+
},
|
|
151
|
+
{
|
|
152
|
+
hostname: "license-manager-user-subscriptions-fips.{region}.api.aws",
|
|
153
|
+
tags: ["dualstack", "fips"],
|
|
154
|
+
},
|
|
155
|
+
{
|
|
156
|
+
hostname: "license-manager-user-subscriptions.{region}.api.aws",
|
|
157
|
+
tags: ["dualstack"],
|
|
158
|
+
},
|
|
159
|
+
],
|
|
160
|
+
},
|
|
161
|
+
};
|
|
162
|
+
const defaultRegionInfoProvider = async (region, options) => (0, config_resolver_1.getRegionInfo)(region, {
|
|
163
|
+
...options,
|
|
164
|
+
signingService: "license-manager-user-subscriptions",
|
|
165
|
+
regionHash,
|
|
166
|
+
partitionHash,
|
|
167
|
+
});
|
|
168
|
+
exports.defaultRegionInfoProvider = defaultRegionInfoProvider;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.LicenseManagerUserSubscriptionsServiceException = void 0;
|
|
4
|
+
const tslib_1 = require("tslib");
|
|
5
|
+
tslib_1.__exportStar(require("./LicenseManagerUserSubscriptions"), exports);
|
|
6
|
+
tslib_1.__exportStar(require("./LicenseManagerUserSubscriptionsClient"), exports);
|
|
7
|
+
tslib_1.__exportStar(require("./commands"), exports);
|
|
8
|
+
tslib_1.__exportStar(require("./models"), exports);
|
|
9
|
+
tslib_1.__exportStar(require("./pagination"), exports);
|
|
10
|
+
var LicenseManagerUserSubscriptionsServiceException_1 = require("./models/LicenseManagerUserSubscriptionsServiceException");
|
|
11
|
+
Object.defineProperty(exports, "LicenseManagerUserSubscriptionsServiceException", { enumerable: true, get: function () { return LicenseManagerUserSubscriptionsServiceException_1.LicenseManagerUserSubscriptionsServiceException; } });
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.LicenseManagerUserSubscriptionsServiceException = void 0;
|
|
4
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
5
|
+
class LicenseManagerUserSubscriptionsServiceException extends smithy_client_1.ServiceException {
|
|
6
|
+
constructor(options) {
|
|
7
|
+
super(options);
|
|
8
|
+
Object.setPrototypeOf(this, LicenseManagerUserSubscriptionsServiceException.prototype);
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
exports.LicenseManagerUserSubscriptionsServiceException = LicenseManagerUserSubscriptionsServiceException;
|