@aws-sdk/client-license-manager-user-subscriptions 3.315.0 → 3.319.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.
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.LicenseManagerUserSubscriptions = void 0;
|
|
4
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
4
5
|
const AssociateUserCommand_1 = require("./commands/AssociateUserCommand");
|
|
5
6
|
const DeregisterIdentityProviderCommand_1 = require("./commands/DeregisterIdentityProviderCommand");
|
|
6
7
|
const DisassociateUserCommand_1 = require("./commands/DisassociateUserCommand");
|
|
@@ -13,160 +14,20 @@ const StartProductSubscriptionCommand_1 = require("./commands/StartProductSubscr
|
|
|
13
14
|
const StopProductSubscriptionCommand_1 = require("./commands/StopProductSubscriptionCommand");
|
|
14
15
|
const UpdateIdentityProviderSettingsCommand_1 = require("./commands/UpdateIdentityProviderSettingsCommand");
|
|
15
16
|
const LicenseManagerUserSubscriptionsClient_1 = require("./LicenseManagerUserSubscriptionsClient");
|
|
17
|
+
const commands = {
|
|
18
|
+
AssociateUserCommand: AssociateUserCommand_1.AssociateUserCommand,
|
|
19
|
+
DeregisterIdentityProviderCommand: DeregisterIdentityProviderCommand_1.DeregisterIdentityProviderCommand,
|
|
20
|
+
DisassociateUserCommand: DisassociateUserCommand_1.DisassociateUserCommand,
|
|
21
|
+
ListIdentityProvidersCommand: ListIdentityProvidersCommand_1.ListIdentityProvidersCommand,
|
|
22
|
+
ListInstancesCommand: ListInstancesCommand_1.ListInstancesCommand,
|
|
23
|
+
ListProductSubscriptionsCommand: ListProductSubscriptionsCommand_1.ListProductSubscriptionsCommand,
|
|
24
|
+
ListUserAssociationsCommand: ListUserAssociationsCommand_1.ListUserAssociationsCommand,
|
|
25
|
+
RegisterIdentityProviderCommand: RegisterIdentityProviderCommand_1.RegisterIdentityProviderCommand,
|
|
26
|
+
StartProductSubscriptionCommand: StartProductSubscriptionCommand_1.StartProductSubscriptionCommand,
|
|
27
|
+
StopProductSubscriptionCommand: StopProductSubscriptionCommand_1.StopProductSubscriptionCommand,
|
|
28
|
+
UpdateIdentityProviderSettingsCommand: UpdateIdentityProviderSettingsCommand_1.UpdateIdentityProviderSettingsCommand,
|
|
29
|
+
};
|
|
16
30
|
class LicenseManagerUserSubscriptions extends LicenseManagerUserSubscriptionsClient_1.LicenseManagerUserSubscriptionsClient {
|
|
17
|
-
associateUser(args, optionsOrCb, cb) {
|
|
18
|
-
const command = new AssociateUserCommand_1.AssociateUserCommand(args);
|
|
19
|
-
if (typeof optionsOrCb === "function") {
|
|
20
|
-
this.send(command, optionsOrCb);
|
|
21
|
-
}
|
|
22
|
-
else if (typeof cb === "function") {
|
|
23
|
-
if (typeof optionsOrCb !== "object")
|
|
24
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
25
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
26
|
-
}
|
|
27
|
-
else {
|
|
28
|
-
return this.send(command, optionsOrCb);
|
|
29
|
-
}
|
|
30
|
-
}
|
|
31
|
-
deregisterIdentityProvider(args, optionsOrCb, cb) {
|
|
32
|
-
const command = new DeregisterIdentityProviderCommand_1.DeregisterIdentityProviderCommand(args);
|
|
33
|
-
if (typeof optionsOrCb === "function") {
|
|
34
|
-
this.send(command, optionsOrCb);
|
|
35
|
-
}
|
|
36
|
-
else if (typeof cb === "function") {
|
|
37
|
-
if (typeof optionsOrCb !== "object")
|
|
38
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
39
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
40
|
-
}
|
|
41
|
-
else {
|
|
42
|
-
return this.send(command, optionsOrCb);
|
|
43
|
-
}
|
|
44
|
-
}
|
|
45
|
-
disassociateUser(args, optionsOrCb, cb) {
|
|
46
|
-
const command = new DisassociateUserCommand_1.DisassociateUserCommand(args);
|
|
47
|
-
if (typeof optionsOrCb === "function") {
|
|
48
|
-
this.send(command, optionsOrCb);
|
|
49
|
-
}
|
|
50
|
-
else if (typeof cb === "function") {
|
|
51
|
-
if (typeof optionsOrCb !== "object")
|
|
52
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
53
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
54
|
-
}
|
|
55
|
-
else {
|
|
56
|
-
return this.send(command, optionsOrCb);
|
|
57
|
-
}
|
|
58
|
-
}
|
|
59
|
-
listIdentityProviders(args, optionsOrCb, cb) {
|
|
60
|
-
const command = new ListIdentityProvidersCommand_1.ListIdentityProvidersCommand(args);
|
|
61
|
-
if (typeof optionsOrCb === "function") {
|
|
62
|
-
this.send(command, optionsOrCb);
|
|
63
|
-
}
|
|
64
|
-
else if (typeof cb === "function") {
|
|
65
|
-
if (typeof optionsOrCb !== "object")
|
|
66
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
67
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
68
|
-
}
|
|
69
|
-
else {
|
|
70
|
-
return this.send(command, optionsOrCb);
|
|
71
|
-
}
|
|
72
|
-
}
|
|
73
|
-
listInstances(args, optionsOrCb, cb) {
|
|
74
|
-
const command = new ListInstancesCommand_1.ListInstancesCommand(args);
|
|
75
|
-
if (typeof optionsOrCb === "function") {
|
|
76
|
-
this.send(command, optionsOrCb);
|
|
77
|
-
}
|
|
78
|
-
else if (typeof cb === "function") {
|
|
79
|
-
if (typeof optionsOrCb !== "object")
|
|
80
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
81
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
82
|
-
}
|
|
83
|
-
else {
|
|
84
|
-
return this.send(command, optionsOrCb);
|
|
85
|
-
}
|
|
86
|
-
}
|
|
87
|
-
listProductSubscriptions(args, optionsOrCb, cb) {
|
|
88
|
-
const command = new ListProductSubscriptionsCommand_1.ListProductSubscriptionsCommand(args);
|
|
89
|
-
if (typeof optionsOrCb === "function") {
|
|
90
|
-
this.send(command, optionsOrCb);
|
|
91
|
-
}
|
|
92
|
-
else if (typeof cb === "function") {
|
|
93
|
-
if (typeof optionsOrCb !== "object")
|
|
94
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
95
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
96
|
-
}
|
|
97
|
-
else {
|
|
98
|
-
return this.send(command, optionsOrCb);
|
|
99
|
-
}
|
|
100
|
-
}
|
|
101
|
-
listUserAssociations(args, optionsOrCb, cb) {
|
|
102
|
-
const command = new ListUserAssociationsCommand_1.ListUserAssociationsCommand(args);
|
|
103
|
-
if (typeof optionsOrCb === "function") {
|
|
104
|
-
this.send(command, optionsOrCb);
|
|
105
|
-
}
|
|
106
|
-
else if (typeof cb === "function") {
|
|
107
|
-
if (typeof optionsOrCb !== "object")
|
|
108
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
109
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
110
|
-
}
|
|
111
|
-
else {
|
|
112
|
-
return this.send(command, optionsOrCb);
|
|
113
|
-
}
|
|
114
|
-
}
|
|
115
|
-
registerIdentityProvider(args, optionsOrCb, cb) {
|
|
116
|
-
const command = new RegisterIdentityProviderCommand_1.RegisterIdentityProviderCommand(args);
|
|
117
|
-
if (typeof optionsOrCb === "function") {
|
|
118
|
-
this.send(command, optionsOrCb);
|
|
119
|
-
}
|
|
120
|
-
else if (typeof cb === "function") {
|
|
121
|
-
if (typeof optionsOrCb !== "object")
|
|
122
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
123
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
124
|
-
}
|
|
125
|
-
else {
|
|
126
|
-
return this.send(command, optionsOrCb);
|
|
127
|
-
}
|
|
128
|
-
}
|
|
129
|
-
startProductSubscription(args, optionsOrCb, cb) {
|
|
130
|
-
const command = new StartProductSubscriptionCommand_1.StartProductSubscriptionCommand(args);
|
|
131
|
-
if (typeof optionsOrCb === "function") {
|
|
132
|
-
this.send(command, optionsOrCb);
|
|
133
|
-
}
|
|
134
|
-
else if (typeof cb === "function") {
|
|
135
|
-
if (typeof optionsOrCb !== "object")
|
|
136
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
137
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
138
|
-
}
|
|
139
|
-
else {
|
|
140
|
-
return this.send(command, optionsOrCb);
|
|
141
|
-
}
|
|
142
|
-
}
|
|
143
|
-
stopProductSubscription(args, optionsOrCb, cb) {
|
|
144
|
-
const command = new StopProductSubscriptionCommand_1.StopProductSubscriptionCommand(args);
|
|
145
|
-
if (typeof optionsOrCb === "function") {
|
|
146
|
-
this.send(command, optionsOrCb);
|
|
147
|
-
}
|
|
148
|
-
else if (typeof cb === "function") {
|
|
149
|
-
if (typeof optionsOrCb !== "object")
|
|
150
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
151
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
152
|
-
}
|
|
153
|
-
else {
|
|
154
|
-
return this.send(command, optionsOrCb);
|
|
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
|
-
}
|
|
171
31
|
}
|
|
172
32
|
exports.LicenseManagerUserSubscriptions = LicenseManagerUserSubscriptions;
|
|
33
|
+
(0, smithy_client_1.createAggregatedClient)(commands, LicenseManagerUserSubscriptions);
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { createAggregatedClient } from "@aws-sdk/smithy-client";
|
|
1
2
|
import { AssociateUserCommand, } from "./commands/AssociateUserCommand";
|
|
2
3
|
import { DeregisterIdentityProviderCommand, } from "./commands/DeregisterIdentityProviderCommand";
|
|
3
4
|
import { DisassociateUserCommand, } from "./commands/DisassociateUserCommand";
|
|
@@ -9,160 +10,20 @@ import { RegisterIdentityProviderCommand, } from "./commands/RegisterIdentityPro
|
|
|
9
10
|
import { StartProductSubscriptionCommand, } from "./commands/StartProductSubscriptionCommand";
|
|
10
11
|
import { StopProductSubscriptionCommand, } from "./commands/StopProductSubscriptionCommand";
|
|
11
12
|
import { UpdateIdentityProviderSettingsCommand, } from "./commands/UpdateIdentityProviderSettingsCommand";
|
|
12
|
-
import { LicenseManagerUserSubscriptionsClient } from "./LicenseManagerUserSubscriptionsClient";
|
|
13
|
+
import { LicenseManagerUserSubscriptionsClient, } from "./LicenseManagerUserSubscriptionsClient";
|
|
14
|
+
const commands = {
|
|
15
|
+
AssociateUserCommand,
|
|
16
|
+
DeregisterIdentityProviderCommand,
|
|
17
|
+
DisassociateUserCommand,
|
|
18
|
+
ListIdentityProvidersCommand,
|
|
19
|
+
ListInstancesCommand,
|
|
20
|
+
ListProductSubscriptionsCommand,
|
|
21
|
+
ListUserAssociationsCommand,
|
|
22
|
+
RegisterIdentityProviderCommand,
|
|
23
|
+
StartProductSubscriptionCommand,
|
|
24
|
+
StopProductSubscriptionCommand,
|
|
25
|
+
UpdateIdentityProviderSettingsCommand,
|
|
26
|
+
};
|
|
13
27
|
export class LicenseManagerUserSubscriptions extends LicenseManagerUserSubscriptionsClient {
|
|
14
|
-
associateUser(args, optionsOrCb, cb) {
|
|
15
|
-
const command = new AssociateUserCommand(args);
|
|
16
|
-
if (typeof optionsOrCb === "function") {
|
|
17
|
-
this.send(command, optionsOrCb);
|
|
18
|
-
}
|
|
19
|
-
else if (typeof cb === "function") {
|
|
20
|
-
if (typeof optionsOrCb !== "object")
|
|
21
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
22
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
23
|
-
}
|
|
24
|
-
else {
|
|
25
|
-
return this.send(command, optionsOrCb);
|
|
26
|
-
}
|
|
27
|
-
}
|
|
28
|
-
deregisterIdentityProvider(args, optionsOrCb, cb) {
|
|
29
|
-
const command = new DeregisterIdentityProviderCommand(args);
|
|
30
|
-
if (typeof optionsOrCb === "function") {
|
|
31
|
-
this.send(command, optionsOrCb);
|
|
32
|
-
}
|
|
33
|
-
else if (typeof cb === "function") {
|
|
34
|
-
if (typeof optionsOrCb !== "object")
|
|
35
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
36
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
37
|
-
}
|
|
38
|
-
else {
|
|
39
|
-
return this.send(command, optionsOrCb);
|
|
40
|
-
}
|
|
41
|
-
}
|
|
42
|
-
disassociateUser(args, optionsOrCb, cb) {
|
|
43
|
-
const command = new DisassociateUserCommand(args);
|
|
44
|
-
if (typeof optionsOrCb === "function") {
|
|
45
|
-
this.send(command, optionsOrCb);
|
|
46
|
-
}
|
|
47
|
-
else if (typeof cb === "function") {
|
|
48
|
-
if (typeof optionsOrCb !== "object")
|
|
49
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
50
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
51
|
-
}
|
|
52
|
-
else {
|
|
53
|
-
return this.send(command, optionsOrCb);
|
|
54
|
-
}
|
|
55
|
-
}
|
|
56
|
-
listIdentityProviders(args, optionsOrCb, cb) {
|
|
57
|
-
const command = new ListIdentityProvidersCommand(args);
|
|
58
|
-
if (typeof optionsOrCb === "function") {
|
|
59
|
-
this.send(command, optionsOrCb);
|
|
60
|
-
}
|
|
61
|
-
else if (typeof cb === "function") {
|
|
62
|
-
if (typeof optionsOrCb !== "object")
|
|
63
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
64
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
65
|
-
}
|
|
66
|
-
else {
|
|
67
|
-
return this.send(command, optionsOrCb);
|
|
68
|
-
}
|
|
69
|
-
}
|
|
70
|
-
listInstances(args, optionsOrCb, cb) {
|
|
71
|
-
const command = new ListInstancesCommand(args);
|
|
72
|
-
if (typeof optionsOrCb === "function") {
|
|
73
|
-
this.send(command, optionsOrCb);
|
|
74
|
-
}
|
|
75
|
-
else if (typeof cb === "function") {
|
|
76
|
-
if (typeof optionsOrCb !== "object")
|
|
77
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
78
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
79
|
-
}
|
|
80
|
-
else {
|
|
81
|
-
return this.send(command, optionsOrCb);
|
|
82
|
-
}
|
|
83
|
-
}
|
|
84
|
-
listProductSubscriptions(args, optionsOrCb, cb) {
|
|
85
|
-
const command = new ListProductSubscriptionsCommand(args);
|
|
86
|
-
if (typeof optionsOrCb === "function") {
|
|
87
|
-
this.send(command, optionsOrCb);
|
|
88
|
-
}
|
|
89
|
-
else if (typeof cb === "function") {
|
|
90
|
-
if (typeof optionsOrCb !== "object")
|
|
91
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
92
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
93
|
-
}
|
|
94
|
-
else {
|
|
95
|
-
return this.send(command, optionsOrCb);
|
|
96
|
-
}
|
|
97
|
-
}
|
|
98
|
-
listUserAssociations(args, optionsOrCb, cb) {
|
|
99
|
-
const command = new ListUserAssociationsCommand(args);
|
|
100
|
-
if (typeof optionsOrCb === "function") {
|
|
101
|
-
this.send(command, optionsOrCb);
|
|
102
|
-
}
|
|
103
|
-
else if (typeof cb === "function") {
|
|
104
|
-
if (typeof optionsOrCb !== "object")
|
|
105
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
106
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
107
|
-
}
|
|
108
|
-
else {
|
|
109
|
-
return this.send(command, optionsOrCb);
|
|
110
|
-
}
|
|
111
|
-
}
|
|
112
|
-
registerIdentityProvider(args, optionsOrCb, cb) {
|
|
113
|
-
const command = new RegisterIdentityProviderCommand(args);
|
|
114
|
-
if (typeof optionsOrCb === "function") {
|
|
115
|
-
this.send(command, optionsOrCb);
|
|
116
|
-
}
|
|
117
|
-
else if (typeof cb === "function") {
|
|
118
|
-
if (typeof optionsOrCb !== "object")
|
|
119
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
120
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
121
|
-
}
|
|
122
|
-
else {
|
|
123
|
-
return this.send(command, optionsOrCb);
|
|
124
|
-
}
|
|
125
|
-
}
|
|
126
|
-
startProductSubscription(args, optionsOrCb, cb) {
|
|
127
|
-
const command = new StartProductSubscriptionCommand(args);
|
|
128
|
-
if (typeof optionsOrCb === "function") {
|
|
129
|
-
this.send(command, optionsOrCb);
|
|
130
|
-
}
|
|
131
|
-
else if (typeof cb === "function") {
|
|
132
|
-
if (typeof optionsOrCb !== "object")
|
|
133
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
134
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
135
|
-
}
|
|
136
|
-
else {
|
|
137
|
-
return this.send(command, optionsOrCb);
|
|
138
|
-
}
|
|
139
|
-
}
|
|
140
|
-
stopProductSubscription(args, optionsOrCb, cb) {
|
|
141
|
-
const command = new StopProductSubscriptionCommand(args);
|
|
142
|
-
if (typeof optionsOrCb === "function") {
|
|
143
|
-
this.send(command, optionsOrCb);
|
|
144
|
-
}
|
|
145
|
-
else if (typeof cb === "function") {
|
|
146
|
-
if (typeof optionsOrCb !== "object")
|
|
147
|
-
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
148
|
-
this.send(command, optionsOrCb || {}, cb);
|
|
149
|
-
}
|
|
150
|
-
else {
|
|
151
|
-
return this.send(command, optionsOrCb);
|
|
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
|
-
}
|
|
168
28
|
}
|
|
29
|
+
createAggregatedClient(commands, LicenseManagerUserSubscriptions);
|
|
@@ -11,98 +11,78 @@ import { StartProductSubscriptionCommandInput, StartProductSubscriptionCommandOu
|
|
|
11
11
|
import { StopProductSubscriptionCommandInput, StopProductSubscriptionCommandOutput } from "./commands/StopProductSubscriptionCommand";
|
|
12
12
|
import { UpdateIdentityProviderSettingsCommandInput, UpdateIdentityProviderSettingsCommandOutput } from "./commands/UpdateIdentityProviderSettingsCommand";
|
|
13
13
|
import { LicenseManagerUserSubscriptionsClient } from "./LicenseManagerUserSubscriptionsClient";
|
|
14
|
-
|
|
15
|
-
* @public
|
|
16
|
-
* <p>With License Manager, you can create user-based subscriptions to utilize licensed software with
|
|
17
|
-
* a per user subscription fee on Amazon EC2 instances.</p>
|
|
18
|
-
*/
|
|
19
|
-
export declare class LicenseManagerUserSubscriptions extends LicenseManagerUserSubscriptionsClient {
|
|
14
|
+
export interface LicenseManagerUserSubscriptions {
|
|
20
15
|
/**
|
|
21
|
-
* @
|
|
22
|
-
* <p>Associates the user to an EC2 instance to utilize user-based subscriptions.</p>
|
|
23
|
-
* <note>
|
|
24
|
-
* <p>Your estimated bill for charges on the number of users and related costs will take 48
|
|
25
|
-
* 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
|
|
26
|
-
* monthly charges</a> in the <i>Amazon Web Services Billing User Guide</i>.</p>
|
|
27
|
-
* </note>
|
|
16
|
+
* @see {@link AssociateUserCommand}
|
|
28
17
|
*/
|
|
29
18
|
associateUser(args: AssociateUserCommandInput, options?: __HttpHandlerOptions): Promise<AssociateUserCommandOutput>;
|
|
30
19
|
associateUser(args: AssociateUserCommandInput, cb: (err: any, data?: AssociateUserCommandOutput) => void): void;
|
|
31
20
|
associateUser(args: AssociateUserCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: AssociateUserCommandOutput) => void): void;
|
|
32
21
|
/**
|
|
33
|
-
* @
|
|
34
|
-
* <p>Deregisters the identity provider from providing user-based subscriptions.</p>
|
|
22
|
+
* @see {@link DeregisterIdentityProviderCommand}
|
|
35
23
|
*/
|
|
36
24
|
deregisterIdentityProvider(args: DeregisterIdentityProviderCommandInput, options?: __HttpHandlerOptions): Promise<DeregisterIdentityProviderCommandOutput>;
|
|
37
25
|
deregisterIdentityProvider(args: DeregisterIdentityProviderCommandInput, cb: (err: any, data?: DeregisterIdentityProviderCommandOutput) => void): void;
|
|
38
26
|
deregisterIdentityProvider(args: DeregisterIdentityProviderCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeregisterIdentityProviderCommandOutput) => void): void;
|
|
39
27
|
/**
|
|
40
|
-
* @
|
|
41
|
-
* <p>Disassociates the user from an EC2 instance providing user-based subscriptions.</p>
|
|
28
|
+
* @see {@link DisassociateUserCommand}
|
|
42
29
|
*/
|
|
43
30
|
disassociateUser(args: DisassociateUserCommandInput, options?: __HttpHandlerOptions): Promise<DisassociateUserCommandOutput>;
|
|
44
31
|
disassociateUser(args: DisassociateUserCommandInput, cb: (err: any, data?: DisassociateUserCommandOutput) => void): void;
|
|
45
32
|
disassociateUser(args: DisassociateUserCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DisassociateUserCommandOutput) => void): void;
|
|
46
33
|
/**
|
|
47
|
-
* @
|
|
48
|
-
* <p>Lists the identity providers for user-based subscriptions.</p>
|
|
34
|
+
* @see {@link ListIdentityProvidersCommand}
|
|
49
35
|
*/
|
|
50
36
|
listIdentityProviders(args: ListIdentityProvidersCommandInput, options?: __HttpHandlerOptions): Promise<ListIdentityProvidersCommandOutput>;
|
|
51
37
|
listIdentityProviders(args: ListIdentityProvidersCommandInput, cb: (err: any, data?: ListIdentityProvidersCommandOutput) => void): void;
|
|
52
38
|
listIdentityProviders(args: ListIdentityProvidersCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListIdentityProvidersCommandOutput) => void): void;
|
|
53
39
|
/**
|
|
54
|
-
* @
|
|
55
|
-
* <p>Lists the EC2 instances providing user-based subscriptions.</p>
|
|
40
|
+
* @see {@link ListInstancesCommand}
|
|
56
41
|
*/
|
|
57
42
|
listInstances(args: ListInstancesCommandInput, options?: __HttpHandlerOptions): Promise<ListInstancesCommandOutput>;
|
|
58
43
|
listInstances(args: ListInstancesCommandInput, cb: (err: any, data?: ListInstancesCommandOutput) => void): void;
|
|
59
44
|
listInstances(args: ListInstancesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListInstancesCommandOutput) => void): void;
|
|
60
45
|
/**
|
|
61
|
-
* @
|
|
62
|
-
* <p>Lists the user-based subscription products available from an identity provider.</p>
|
|
46
|
+
* @see {@link ListProductSubscriptionsCommand}
|
|
63
47
|
*/
|
|
64
48
|
listProductSubscriptions(args: ListProductSubscriptionsCommandInput, options?: __HttpHandlerOptions): Promise<ListProductSubscriptionsCommandOutput>;
|
|
65
49
|
listProductSubscriptions(args: ListProductSubscriptionsCommandInput, cb: (err: any, data?: ListProductSubscriptionsCommandOutput) => void): void;
|
|
66
50
|
listProductSubscriptions(args: ListProductSubscriptionsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListProductSubscriptionsCommandOutput) => void): void;
|
|
67
51
|
/**
|
|
68
|
-
* @
|
|
69
|
-
* <p>Lists user associations for an identity provider.</p>
|
|
52
|
+
* @see {@link ListUserAssociationsCommand}
|
|
70
53
|
*/
|
|
71
54
|
listUserAssociations(args: ListUserAssociationsCommandInput, options?: __HttpHandlerOptions): Promise<ListUserAssociationsCommandOutput>;
|
|
72
55
|
listUserAssociations(args: ListUserAssociationsCommandInput, cb: (err: any, data?: ListUserAssociationsCommandOutput) => void): void;
|
|
73
56
|
listUserAssociations(args: ListUserAssociationsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListUserAssociationsCommandOutput) => void): void;
|
|
74
57
|
/**
|
|
75
|
-
* @
|
|
76
|
-
* <p>Registers an identity provider for user-based subscriptions.</p>
|
|
58
|
+
* @see {@link RegisterIdentityProviderCommand}
|
|
77
59
|
*/
|
|
78
60
|
registerIdentityProvider(args: RegisterIdentityProviderCommandInput, options?: __HttpHandlerOptions): Promise<RegisterIdentityProviderCommandOutput>;
|
|
79
61
|
registerIdentityProvider(args: RegisterIdentityProviderCommandInput, cb: (err: any, data?: RegisterIdentityProviderCommandOutput) => void): void;
|
|
80
62
|
registerIdentityProvider(args: RegisterIdentityProviderCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: RegisterIdentityProviderCommandOutput) => void): void;
|
|
81
63
|
/**
|
|
82
|
-
* @
|
|
83
|
-
* <p>Starts a product subscription for a user with the specified identity provider.</p>
|
|
84
|
-
* <note>
|
|
85
|
-
* <p>Your estimated bill for charges on the number of users and related costs will take 48
|
|
86
|
-
* 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
|
|
87
|
-
* monthly charges</a> in the <i>Amazon Web Services Billing User Guide</i>.</p>
|
|
88
|
-
* </note>
|
|
64
|
+
* @see {@link StartProductSubscriptionCommand}
|
|
89
65
|
*/
|
|
90
66
|
startProductSubscription(args: StartProductSubscriptionCommandInput, options?: __HttpHandlerOptions): Promise<StartProductSubscriptionCommandOutput>;
|
|
91
67
|
startProductSubscription(args: StartProductSubscriptionCommandInput, cb: (err: any, data?: StartProductSubscriptionCommandOutput) => void): void;
|
|
92
68
|
startProductSubscription(args: StartProductSubscriptionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StartProductSubscriptionCommandOutput) => void): void;
|
|
93
69
|
/**
|
|
94
|
-
* @
|
|
95
|
-
* <p>Stops a product subscription for a user with the specified identity provider.</p>
|
|
70
|
+
* @see {@link StopProductSubscriptionCommand}
|
|
96
71
|
*/
|
|
97
72
|
stopProductSubscription(args: StopProductSubscriptionCommandInput, options?: __HttpHandlerOptions): Promise<StopProductSubscriptionCommandOutput>;
|
|
98
73
|
stopProductSubscription(args: StopProductSubscriptionCommandInput, cb: (err: any, data?: StopProductSubscriptionCommandOutput) => void): void;
|
|
99
74
|
stopProductSubscription(args: StopProductSubscriptionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StopProductSubscriptionCommandOutput) => void): void;
|
|
100
75
|
/**
|
|
101
|
-
* @
|
|
102
|
-
* <p>Updates additional product configuration settings for the registered identity
|
|
103
|
-
* provider.</p>
|
|
76
|
+
* @see {@link UpdateIdentityProviderSettingsCommand}
|
|
104
77
|
*/
|
|
105
78
|
updateIdentityProviderSettings(args: UpdateIdentityProviderSettingsCommandInput, options?: __HttpHandlerOptions): Promise<UpdateIdentityProviderSettingsCommandOutput>;
|
|
106
79
|
updateIdentityProviderSettings(args: UpdateIdentityProviderSettingsCommandInput, cb: (err: any, data?: UpdateIdentityProviderSettingsCommandOutput) => void): void;
|
|
107
80
|
updateIdentityProviderSettings(args: UpdateIdentityProviderSettingsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateIdentityProviderSettingsCommandOutput) => void): void;
|
|
108
81
|
}
|
|
82
|
+
/**
|
|
83
|
+
* @public
|
|
84
|
+
* <p>With License Manager, you can create user-based subscriptions to utilize licensed software with
|
|
85
|
+
* a per user subscription fee on Amazon EC2 instances.</p>
|
|
86
|
+
*/
|
|
87
|
+
export declare class LicenseManagerUserSubscriptions extends LicenseManagerUserSubscriptionsClient implements LicenseManagerUserSubscriptions {
|
|
88
|
+
}
|
|
@@ -44,7 +44,7 @@ import {
|
|
|
44
44
|
UpdateIdentityProviderSettingsCommandOutput,
|
|
45
45
|
} from "./commands/UpdateIdentityProviderSettingsCommand";
|
|
46
46
|
import { LicenseManagerUserSubscriptionsClient } from "./LicenseManagerUserSubscriptionsClient";
|
|
47
|
-
export
|
|
47
|
+
export interface LicenseManagerUserSubscriptions {
|
|
48
48
|
associateUser(
|
|
49
49
|
args: AssociateUserCommandInput,
|
|
50
50
|
options?: __HttpHandlerOptions
|
|
@@ -189,3 +189,6 @@ export declare class LicenseManagerUserSubscriptions extends LicenseManagerUserS
|
|
|
189
189
|
cb: (err: any, data?: UpdateIdentityProviderSettingsCommandOutput) => void
|
|
190
190
|
): void;
|
|
191
191
|
}
|
|
192
|
+
export declare class LicenseManagerUserSubscriptions
|
|
193
|
+
extends LicenseManagerUserSubscriptionsClient
|
|
194
|
+
implements LicenseManagerUserSubscriptions {}
|
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.319.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",
|
|
@@ -21,9 +21,9 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
24
|
+
"@aws-sdk/client-sts": "3.319.0",
|
|
25
25
|
"@aws-sdk/config-resolver": "3.310.0",
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.319.0",
|
|
27
27
|
"@aws-sdk/fetch-http-handler": "3.310.0",
|
|
28
28
|
"@aws-sdk/hash-node": "3.310.0",
|
|
29
29
|
"@aws-sdk/invalid-dependency": "3.310.0",
|
|
@@ -36,19 +36,19 @@
|
|
|
36
36
|
"@aws-sdk/middleware-serde": "3.310.0",
|
|
37
37
|
"@aws-sdk/middleware-signing": "3.310.0",
|
|
38
38
|
"@aws-sdk/middleware-stack": "3.310.0",
|
|
39
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
39
|
+
"@aws-sdk/middleware-user-agent": "3.319.0",
|
|
40
40
|
"@aws-sdk/node-config-provider": "3.310.0",
|
|
41
41
|
"@aws-sdk/node-http-handler": "3.310.0",
|
|
42
42
|
"@aws-sdk/protocol-http": "3.310.0",
|
|
43
|
-
"@aws-sdk/smithy-client": "3.
|
|
43
|
+
"@aws-sdk/smithy-client": "3.316.0",
|
|
44
44
|
"@aws-sdk/types": "3.310.0",
|
|
45
45
|
"@aws-sdk/url-parser": "3.310.0",
|
|
46
46
|
"@aws-sdk/util-base64": "3.310.0",
|
|
47
47
|
"@aws-sdk/util-body-length-browser": "3.310.0",
|
|
48
48
|
"@aws-sdk/util-body-length-node": "3.310.0",
|
|
49
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
50
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
51
|
-
"@aws-sdk/util-endpoints": "3.
|
|
49
|
+
"@aws-sdk/util-defaults-mode-browser": "3.316.0",
|
|
50
|
+
"@aws-sdk/util-defaults-mode-node": "3.316.0",
|
|
51
|
+
"@aws-sdk/util-endpoints": "3.319.0",
|
|
52
52
|
"@aws-sdk/util-retry": "3.310.0",
|
|
53
53
|
"@aws-sdk/util-user-agent-browser": "3.310.0",
|
|
54
54
|
"@aws-sdk/util-user-agent-node": "3.310.0",
|