@aws-sdk/client-license-manager 3.934.0 → 3.935.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.
@@ -0,0 +1,320 @@
1
+ /**
2
+ * @public
3
+ * @enum
4
+ */
5
+ export declare const GrantStatus: {
6
+ readonly ACTIVE: "ACTIVE";
7
+ readonly DELETED: "DELETED";
8
+ readonly DISABLED: "DISABLED";
9
+ readonly FAILED_WORKFLOW: "FAILED_WORKFLOW";
10
+ readonly PENDING_ACCEPT: "PENDING_ACCEPT";
11
+ readonly PENDING_DELETE: "PENDING_DELETE";
12
+ readonly PENDING_WORKFLOW: "PENDING_WORKFLOW";
13
+ readonly REJECTED: "REJECTED";
14
+ readonly WORKFLOW_COMPLETED: "WORKFLOW_COMPLETED";
15
+ };
16
+ /**
17
+ * @public
18
+ */
19
+ export type GrantStatus = (typeof GrantStatus)[keyof typeof GrantStatus];
20
+ /**
21
+ * @public
22
+ * @enum
23
+ */
24
+ export declare const ActivationOverrideBehavior: {
25
+ readonly ALL_GRANTS_PERMITTED_BY_ISSUER: "ALL_GRANTS_PERMITTED_BY_ISSUER";
26
+ readonly DISTRIBUTED_GRANTS_ONLY: "DISTRIBUTED_GRANTS_ONLY";
27
+ };
28
+ /**
29
+ * @public
30
+ */
31
+ export type ActivationOverrideBehavior = (typeof ActivationOverrideBehavior)[keyof typeof ActivationOverrideBehavior];
32
+ /**
33
+ * @public
34
+ * @enum
35
+ */
36
+ export declare const AllowedOperation: {
37
+ readonly CHECKOUT_BORROW_LICENSE: "CheckoutBorrowLicense";
38
+ readonly CHECKOUT_LICENSE: "CheckoutLicense";
39
+ readonly CHECK_IN_LICENSE: "CheckInLicense";
40
+ readonly CREATE_GRANT: "CreateGrant";
41
+ readonly CREATE_TOKEN: "CreateToken";
42
+ readonly EXTEND_CONSUMPTION_LICENSE: "ExtendConsumptionLicense";
43
+ readonly LIST_PURCHASED_LICENSES: "ListPurchasedLicenses";
44
+ };
45
+ /**
46
+ * @public
47
+ */
48
+ export type AllowedOperation = (typeof AllowedOperation)[keyof typeof AllowedOperation];
49
+ /**
50
+ * @public
51
+ * @enum
52
+ */
53
+ export declare const DigitalSignatureMethod: {
54
+ readonly JWT_PS384: "JWT_PS384";
55
+ };
56
+ /**
57
+ * @public
58
+ */
59
+ export type DigitalSignatureMethod = (typeof DigitalSignatureMethod)[keyof typeof DigitalSignatureMethod];
60
+ /**
61
+ * @public
62
+ * @enum
63
+ */
64
+ export declare const EntitlementDataUnit: {
65
+ readonly BITS: "Bits";
66
+ readonly BITS_PER_SECOND: "Bits/Second";
67
+ readonly BYTES: "Bytes";
68
+ readonly BYTES_PER_SECOND: "Bytes/Second";
69
+ readonly COUNT: "Count";
70
+ readonly COUNT_PER_SECOND: "Count/Second";
71
+ readonly GIGABITS: "Gigabits";
72
+ readonly GIGABITS_PER_SECOND: "Gigabits/Second";
73
+ readonly GIGABYTES: "Gigabytes";
74
+ readonly GIGABYTES_PER_SECOND: "Gigabytes/Second";
75
+ readonly KILOBITS: "Kilobits";
76
+ readonly KILOBITS_PER_SECOND: "Kilobits/Second";
77
+ readonly KILOBYTES: "Kilobytes";
78
+ readonly KILOBYTES_PER_SECOND: "Kilobytes/Second";
79
+ readonly MEGABITS: "Megabits";
80
+ readonly MEGABITS_PER_SECOND: "Megabits/Second";
81
+ readonly MEGABYTES: "Megabytes";
82
+ readonly MEGABYTES_PER_SECOND: "Megabytes/Second";
83
+ readonly MICROSECONDS: "Microseconds";
84
+ readonly MILLISECONDS: "Milliseconds";
85
+ readonly NONE: "None";
86
+ readonly PERCENT: "Percent";
87
+ readonly SECONDS: "Seconds";
88
+ readonly TERABITS: "Terabits";
89
+ readonly TERABITS_PER_SECOND: "Terabits/Second";
90
+ readonly TERABYTES: "Terabytes";
91
+ readonly TERABYTES_PER_SECOND: "Terabytes/Second";
92
+ };
93
+ /**
94
+ * @public
95
+ */
96
+ export type EntitlementDataUnit = (typeof EntitlementDataUnit)[keyof typeof EntitlementDataUnit];
97
+ /**
98
+ * @public
99
+ * @enum
100
+ */
101
+ export declare const CheckoutType: {
102
+ readonly PERPETUAL: "PERPETUAL";
103
+ readonly PROVISIONAL: "PROVISIONAL";
104
+ };
105
+ /**
106
+ * @public
107
+ */
108
+ export type CheckoutType = (typeof CheckoutType)[keyof typeof CheckoutType];
109
+ /**
110
+ * @public
111
+ * @enum
112
+ */
113
+ export declare const RenewType: {
114
+ readonly MONTHLY: "Monthly";
115
+ readonly NONE: "None";
116
+ readonly WEEKLY: "Weekly";
117
+ };
118
+ /**
119
+ * @public
120
+ */
121
+ export type RenewType = (typeof RenewType)[keyof typeof RenewType];
122
+ /**
123
+ * @public
124
+ * @enum
125
+ */
126
+ export declare const EntitlementUnit: {
127
+ readonly BITS: "Bits";
128
+ readonly BITS_PER_SECOND: "Bits/Second";
129
+ readonly BYTES: "Bytes";
130
+ readonly BYTES_PER_SECOND: "Bytes/Second";
131
+ readonly COUNT: "Count";
132
+ readonly COUNT_PER_SECOND: "Count/Second";
133
+ readonly GIGABITS: "Gigabits";
134
+ readonly GIGABITS_PER_SECOND: "Gigabits/Second";
135
+ readonly GIGABYTES: "Gigabytes";
136
+ readonly GIGABYTES_PER_SECOND: "Gigabytes/Second";
137
+ readonly KILOBITS: "Kilobits";
138
+ readonly KILOBITS_PER_SECOND: "Kilobits/Second";
139
+ readonly KILOBYTES: "Kilobytes";
140
+ readonly KILOBYTES_PER_SECOND: "Kilobytes/Second";
141
+ readonly MEGABITS: "Megabits";
142
+ readonly MEGABITS_PER_SECOND: "Megabits/Second";
143
+ readonly MEGABYTES: "Megabytes";
144
+ readonly MEGABYTES_PER_SECOND: "Megabytes/Second";
145
+ readonly MICROSECONDS: "Microseconds";
146
+ readonly MILLISECONDS: "Milliseconds";
147
+ readonly NONE: "None";
148
+ readonly PERCENT: "Percent";
149
+ readonly SECONDS: "Seconds";
150
+ readonly TERABITS: "Terabits";
151
+ readonly TERABITS_PER_SECOND: "Terabits/Second";
152
+ readonly TERABYTES: "Terabytes";
153
+ readonly TERABYTES_PER_SECOND: "Terabytes/Second";
154
+ };
155
+ /**
156
+ * @public
157
+ */
158
+ export type EntitlementUnit = (typeof EntitlementUnit)[keyof typeof EntitlementUnit];
159
+ /**
160
+ * @public
161
+ * @enum
162
+ */
163
+ export declare const LicenseStatus: {
164
+ readonly AVAILABLE: "AVAILABLE";
165
+ readonly DEACTIVATED: "DEACTIVATED";
166
+ readonly DELETED: "DELETED";
167
+ readonly EXPIRED: "EXPIRED";
168
+ readonly PENDING_AVAILABLE: "PENDING_AVAILABLE";
169
+ readonly PENDING_DELETE: "PENDING_DELETE";
170
+ readonly SUSPENDED: "SUSPENDED";
171
+ };
172
+ /**
173
+ * @public
174
+ */
175
+ export type LicenseStatus = (typeof LicenseStatus)[keyof typeof LicenseStatus];
176
+ /**
177
+ * @public
178
+ * @enum
179
+ */
180
+ export declare const LicenseCountingType: {
181
+ readonly CORE: "Core";
182
+ readonly INSTANCE: "Instance";
183
+ readonly SOCKET: "Socket";
184
+ readonly VCPU: "vCPU";
185
+ };
186
+ /**
187
+ * @public
188
+ */
189
+ export type LicenseCountingType = (typeof LicenseCountingType)[keyof typeof LicenseCountingType];
190
+ /**
191
+ * @public
192
+ * @enum
193
+ */
194
+ export declare const ProductCodeType: {
195
+ readonly MARKETPLACE: "marketplace";
196
+ };
197
+ /**
198
+ * @public
199
+ */
200
+ export type ProductCodeType = (typeof ProductCodeType)[keyof typeof ProductCodeType];
201
+ /**
202
+ * @public
203
+ * @enum
204
+ */
205
+ export declare const ReportFrequencyType: {
206
+ readonly DAY: "DAY";
207
+ readonly MONTH: "MONTH";
208
+ readonly WEEK: "WEEK";
209
+ };
210
+ /**
211
+ * @public
212
+ */
213
+ export type ReportFrequencyType = (typeof ReportFrequencyType)[keyof typeof ReportFrequencyType];
214
+ /**
215
+ * @public
216
+ * @enum
217
+ */
218
+ export declare const ReportType: {
219
+ readonly LICENSE_CONFIGURATION_SUMMARY_REPORT: "LicenseConfigurationSummaryReport";
220
+ readonly LICENSE_CONFIGURATION_USAGE_REPORT: "LicenseConfigurationUsageReport";
221
+ };
222
+ /**
223
+ * @public
224
+ */
225
+ export type ReportType = (typeof ReportType)[keyof typeof ReportType];
226
+ /**
227
+ * @public
228
+ * @enum
229
+ */
230
+ export declare const TokenType: {
231
+ readonly REFRESH_TOKEN: "REFRESH_TOKEN";
232
+ };
233
+ /**
234
+ * @public
235
+ */
236
+ export type TokenType = (typeof TokenType)[keyof typeof TokenType];
237
+ /**
238
+ * @public
239
+ * @enum
240
+ */
241
+ export declare const LicenseDeletionStatus: {
242
+ readonly DELETED: "DELETED";
243
+ readonly PENDING_DELETE: "PENDING_DELETE";
244
+ };
245
+ /**
246
+ * @public
247
+ */
248
+ export type LicenseDeletionStatus = (typeof LicenseDeletionStatus)[keyof typeof LicenseDeletionStatus];
249
+ /**
250
+ * @public
251
+ * @enum
252
+ */
253
+ export declare const ResourceType: {
254
+ readonly EC2_AMI: "EC2_AMI";
255
+ readonly EC2_HOST: "EC2_HOST";
256
+ readonly EC2_INSTANCE: "EC2_INSTANCE";
257
+ readonly RDS: "RDS";
258
+ readonly SYSTEMS_MANAGER_MANAGED_INSTANCE: "SYSTEMS_MANAGER_MANAGED_INSTANCE";
259
+ };
260
+ /**
261
+ * @public
262
+ */
263
+ export type ResourceType = (typeof ResourceType)[keyof typeof ResourceType];
264
+ /**
265
+ * @public
266
+ * @enum
267
+ */
268
+ export declare const LicenseConversionTaskStatus: {
269
+ readonly FAILED: "FAILED";
270
+ readonly IN_PROGRESS: "IN_PROGRESS";
271
+ readonly SUCCEEDED: "SUCCEEDED";
272
+ };
273
+ /**
274
+ * @public
275
+ */
276
+ export type LicenseConversionTaskStatus = (typeof LicenseConversionTaskStatus)[keyof typeof LicenseConversionTaskStatus];
277
+ /**
278
+ * @public
279
+ * @enum
280
+ */
281
+ export declare const ReceivedStatus: {
282
+ readonly ACTIVE: "ACTIVE";
283
+ readonly DELETED: "DELETED";
284
+ readonly DISABLED: "DISABLED";
285
+ readonly FAILED_WORKFLOW: "FAILED_WORKFLOW";
286
+ readonly PENDING_ACCEPT: "PENDING_ACCEPT";
287
+ readonly PENDING_WORKFLOW: "PENDING_WORKFLOW";
288
+ readonly REJECTED: "REJECTED";
289
+ readonly WORKFLOW_COMPLETED: "WORKFLOW_COMPLETED";
290
+ };
291
+ /**
292
+ * @public
293
+ */
294
+ export type ReceivedStatus = (typeof ReceivedStatus)[keyof typeof ReceivedStatus];
295
+ /**
296
+ * @public
297
+ * @enum
298
+ */
299
+ export declare const InventoryFilterCondition: {
300
+ readonly BEGINS_WITH: "BEGINS_WITH";
301
+ readonly CONTAINS: "CONTAINS";
302
+ readonly EQUALS: "EQUALS";
303
+ readonly NOT_EQUALS: "NOT_EQUALS";
304
+ };
305
+ /**
306
+ * @public
307
+ */
308
+ export type InventoryFilterCondition = (typeof InventoryFilterCondition)[keyof typeof InventoryFilterCondition];
309
+ /**
310
+ * @public
311
+ * @enum
312
+ */
313
+ export declare const LicenseConfigurationStatus: {
314
+ readonly AVAILABLE: "AVAILABLE";
315
+ readonly DISABLED: "DISABLED";
316
+ };
317
+ /**
318
+ * @public
319
+ */
320
+ export type LicenseConfigurationStatus = (typeof LicenseConfigurationStatus)[keyof typeof LicenseConfigurationStatus];
@@ -0,0 +1,228 @@
1
+ import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
+ import { LicenseManagerServiceException as __BaseException } from "./LicenseManagerServiceException";
3
+ /**
4
+ * <p>Access to resource denied.</p>
5
+ * @public
6
+ */
7
+ export declare class AccessDeniedException extends __BaseException {
8
+ readonly name: "AccessDeniedException";
9
+ readonly $fault: "client";
10
+ Message?: string | undefined;
11
+ /**
12
+ * @internal
13
+ */
14
+ constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
15
+ }
16
+ /**
17
+ * <p>The Amazon Web Services user account does not have permission to perform the action. Check the IAM
18
+ * policy associated with this account.</p>
19
+ * @public
20
+ */
21
+ export declare class AuthorizationException extends __BaseException {
22
+ readonly name: "AuthorizationException";
23
+ readonly $fault: "client";
24
+ Message?: string | undefined;
25
+ /**
26
+ * @internal
27
+ */
28
+ constructor(opts: __ExceptionOptionType<AuthorizationException, __BaseException>);
29
+ }
30
+ /**
31
+ * <p>One or more parameter values are not valid.</p>
32
+ * @public
33
+ */
34
+ export declare class InvalidParameterValueException extends __BaseException {
35
+ readonly name: "InvalidParameterValueException";
36
+ readonly $fault: "client";
37
+ Message?: string | undefined;
38
+ /**
39
+ * @internal
40
+ */
41
+ constructor(opts: __ExceptionOptionType<InvalidParameterValueException, __BaseException>);
42
+ }
43
+ /**
44
+ * <p>Too many requests have been submitted. Try again after a brief wait.</p>
45
+ * @public
46
+ */
47
+ export declare class RateLimitExceededException extends __BaseException {
48
+ readonly name: "RateLimitExceededException";
49
+ readonly $fault: "client";
50
+ Message?: string | undefined;
51
+ /**
52
+ * @internal
53
+ */
54
+ constructor(opts: __ExceptionOptionType<RateLimitExceededException, __BaseException>);
55
+ }
56
+ /**
57
+ * <p>Your resource limits have been exceeded.</p>
58
+ * @public
59
+ */
60
+ export declare class ResourceLimitExceededException extends __BaseException {
61
+ readonly name: "ResourceLimitExceededException";
62
+ readonly $fault: "client";
63
+ Message?: string | undefined;
64
+ /**
65
+ * @internal
66
+ */
67
+ constructor(opts: __ExceptionOptionType<ResourceLimitExceededException, __BaseException>);
68
+ }
69
+ /**
70
+ * <p>The server experienced an internal error. Try again.</p>
71
+ * @public
72
+ */
73
+ export declare class ServerInternalException extends __BaseException {
74
+ readonly name: "ServerInternalException";
75
+ readonly $fault: "server";
76
+ Message?: string | undefined;
77
+ /**
78
+ * @internal
79
+ */
80
+ constructor(opts: __ExceptionOptionType<ServerInternalException, __BaseException>);
81
+ }
82
+ /**
83
+ * <p>The provided input is not valid. Try your request again.</p>
84
+ * @public
85
+ */
86
+ export declare class ValidationException extends __BaseException {
87
+ readonly name: "ValidationException";
88
+ readonly $fault: "client";
89
+ Message?: string | undefined;
90
+ /**
91
+ * @internal
92
+ */
93
+ constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
94
+ }
95
+ /**
96
+ * <p>There was a conflict processing the request. Try your request again.</p>
97
+ * @public
98
+ */
99
+ export declare class ConflictException extends __BaseException {
100
+ readonly name: "ConflictException";
101
+ readonly $fault: "client";
102
+ Message?: string | undefined;
103
+ /**
104
+ * @internal
105
+ */
106
+ constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
107
+ }
108
+ /**
109
+ * <p>The resource cannot be found.</p>
110
+ * @public
111
+ */
112
+ export declare class ResourceNotFoundException extends __BaseException {
113
+ readonly name: "ResourceNotFoundException";
114
+ readonly $fault: "client";
115
+ Message?: string | undefined;
116
+ /**
117
+ * @internal
118
+ */
119
+ constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
120
+ }
121
+ /**
122
+ * <p>The entitlement is not allowed.</p>
123
+ * @public
124
+ */
125
+ export declare class EntitlementNotAllowedException extends __BaseException {
126
+ readonly name: "EntitlementNotAllowedException";
127
+ readonly $fault: "client";
128
+ Message?: string | undefined;
129
+ /**
130
+ * @internal
131
+ */
132
+ constructor(opts: __ExceptionOptionType<EntitlementNotAllowedException, __BaseException>);
133
+ }
134
+ /**
135
+ * <p>There are no entitlements found for this license, or the entitlement maximum count is reached.</p>
136
+ * @public
137
+ */
138
+ export declare class NoEntitlementsAllowedException extends __BaseException {
139
+ readonly name: "NoEntitlementsAllowedException";
140
+ readonly $fault: "client";
141
+ Message?: string | undefined;
142
+ /**
143
+ * @internal
144
+ */
145
+ constructor(opts: __ExceptionOptionType<NoEntitlementsAllowedException, __BaseException>);
146
+ }
147
+ /**
148
+ * <p>This is not the correct Region for the resource. Try again.</p>
149
+ * @public
150
+ */
151
+ export declare class RedirectException extends __BaseException {
152
+ readonly name: "RedirectException";
153
+ readonly $fault: "client";
154
+ Location?: string | undefined;
155
+ Message?: string | undefined;
156
+ /**
157
+ * @internal
158
+ */
159
+ constructor(opts: __ExceptionOptionType<RedirectException, __BaseException>);
160
+ }
161
+ /**
162
+ * <p>The digital signature method is unsupported. Try your request again.</p>
163
+ * @public
164
+ */
165
+ export declare class UnsupportedDigitalSignatureMethodException extends __BaseException {
166
+ readonly name: "UnsupportedDigitalSignatureMethodException";
167
+ readonly $fault: "client";
168
+ Message?: string | undefined;
169
+ /**
170
+ * @internal
171
+ */
172
+ constructor(opts: __ExceptionOptionType<UnsupportedDigitalSignatureMethodException, __BaseException>);
173
+ }
174
+ /**
175
+ * <p>The request uses too many filters or too many filter values.</p>
176
+ * @public
177
+ */
178
+ export declare class FilterLimitExceededException extends __BaseException {
179
+ readonly name: "FilterLimitExceededException";
180
+ readonly $fault: "client";
181
+ Message?: string | undefined;
182
+ /**
183
+ * @internal
184
+ */
185
+ constructor(opts: __ExceptionOptionType<FilterLimitExceededException, __BaseException>);
186
+ }
187
+ /**
188
+ * <p>A dependency required to run the API is missing.</p>
189
+ * @public
190
+ */
191
+ export declare class FailedDependencyException extends __BaseException {
192
+ readonly name: "FailedDependencyException";
193
+ readonly $fault: "client";
194
+ Message?: string | undefined;
195
+ ErrorCode?: string | undefined;
196
+ /**
197
+ * @internal
198
+ */
199
+ constructor(opts: __ExceptionOptionType<FailedDependencyException, __BaseException>);
200
+ }
201
+ /**
202
+ * <p>License Manager cannot allocate a license to a resource because of its state. </p>
203
+ * <p>For example, you cannot allocate a license to an instance in the process of shutting
204
+ * down.</p>
205
+ * @public
206
+ */
207
+ export declare class InvalidResourceStateException extends __BaseException {
208
+ readonly name: "InvalidResourceStateException";
209
+ readonly $fault: "client";
210
+ Message?: string | undefined;
211
+ /**
212
+ * @internal
213
+ */
214
+ constructor(opts: __ExceptionOptionType<InvalidResourceStateException, __BaseException>);
215
+ }
216
+ /**
217
+ * <p>You do not have enough licenses available to support a new resource launch.</p>
218
+ * @public
219
+ */
220
+ export declare class LicenseUsageException extends __BaseException {
221
+ readonly name: "LicenseUsageException";
222
+ readonly $fault: "client";
223
+ Message?: string | undefined;
224
+ /**
225
+ * @internal
226
+ */
227
+ constructor(opts: __ExceptionOptionType<LicenseUsageException, __BaseException>);
228
+ }