@aws-sdk/client-license-manager-linux-subscriptions 3.609.0 → 3.614.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 +56 -0
- package/dist-cjs/index.js +484 -56
- package/dist-es/LicenseManagerLinuxSubscriptions.js +14 -0
- package/dist-es/commands/DeregisterSubscriptionProviderCommand.js +24 -0
- package/dist-es/commands/GetRegisteredSubscriptionProviderCommand.js +24 -0
- package/dist-es/commands/ListRegisteredSubscriptionProvidersCommand.js +24 -0
- package/dist-es/commands/ListTagsForResourceCommand.js +25 -0
- package/dist-es/commands/RegisterSubscriptionProviderCommand.js +25 -0
- package/dist-es/commands/TagResourceCommand.js +25 -0
- package/dist-es/commands/UntagResourceCommand.js +25 -0
- package/dist-es/commands/index.js +7 -0
- package/dist-es/models/models_0.js +56 -19
- package/dist-es/pagination/ListRegisteredSubscriptionProvidersPaginator.js +4 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/protocols/Aws_restJson1.js +206 -1
- package/dist-types/LicenseManagerLinuxSubscriptions.d.ts +50 -0
- package/dist-types/LicenseManagerLinuxSubscriptionsClient.d.ts +9 -2
- package/dist-types/commands/DeregisterSubscriptionProviderCommand.d.ts +71 -0
- package/dist-types/commands/GetRegisteredSubscriptionProviderCommand.d.ts +77 -0
- package/dist-types/commands/GetServiceSettingsCommand.d.ts +1 -1
- package/dist-types/commands/ListLinuxSubscriptionInstancesCommand.d.ts +5 -0
- package/dist-types/commands/ListRegisteredSubscriptionProvidersCommand.d.ts +83 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +72 -0
- package/dist-types/commands/RegisterSubscriptionProviderCommand.d.ts +75 -0
- package/dist-types/commands/TagResourceCommand.d.ts +70 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +67 -0
- package/dist-types/commands/index.d.ts +7 -0
- package/dist-types/models/models_0.d.ts +420 -56
- package/dist-types/pagination/ListRegisteredSubscriptionProvidersPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +63 -0
- package/dist-types/ts3.4/LicenseManagerLinuxSubscriptions.d.ts +132 -0
- package/dist-types/ts3.4/LicenseManagerLinuxSubscriptionsClient.d.ts +42 -0
- package/dist-types/ts3.4/commands/DeregisterSubscriptionProviderCommand.d.ts +40 -0
- package/dist-types/ts3.4/commands/GetRegisteredSubscriptionProviderCommand.d.ts +40 -0
- package/dist-types/ts3.4/commands/ListRegisteredSubscriptionProvidersCommand.d.ts +40 -0
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +40 -0
- package/dist-types/ts3.4/commands/RegisterSubscriptionProviderCommand.d.ts +40 -0
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +36 -0
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/index.d.ts +7 -0
- package/dist-types/ts3.4/models/models_0.d.ts +115 -21
- package/dist-types/ts3.4/pagination/ListRegisteredSubscriptionProvidersPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +1 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +84 -0
- package/package.json +20 -20
|
@@ -1,5 +1,68 @@
|
|
|
1
1
|
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
2
|
import { LicenseManagerLinuxSubscriptionsServiceException as __BaseException } from "./LicenseManagerLinuxSubscriptionsServiceException";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export interface DeregisterSubscriptionProviderRequest {
|
|
7
|
+
/**
|
|
8
|
+
* <p>The Amazon Resource Name (ARN) of the subscription provider resource to deregister.</p>
|
|
9
|
+
* @public
|
|
10
|
+
*/
|
|
11
|
+
SubscriptionProviderArn: string | undefined;
|
|
12
|
+
}
|
|
13
|
+
/**
|
|
14
|
+
* @public
|
|
15
|
+
*/
|
|
16
|
+
export interface DeregisterSubscriptionProviderResponse {
|
|
17
|
+
}
|
|
18
|
+
/**
|
|
19
|
+
* <p>An exception occurred with the service.</p>
|
|
20
|
+
* @public
|
|
21
|
+
*/
|
|
22
|
+
export declare class InternalServerException extends __BaseException {
|
|
23
|
+
readonly name: "InternalServerException";
|
|
24
|
+
readonly $fault: "server";
|
|
25
|
+
/**
|
|
26
|
+
* @internal
|
|
27
|
+
*/
|
|
28
|
+
constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
|
|
29
|
+
}
|
|
30
|
+
/**
|
|
31
|
+
* <p>Unable to find the requested Amazon Web Services resource.</p>
|
|
32
|
+
* @public
|
|
33
|
+
*/
|
|
34
|
+
export declare class ResourceNotFoundException extends __BaseException {
|
|
35
|
+
readonly name: "ResourceNotFoundException";
|
|
36
|
+
readonly $fault: "client";
|
|
37
|
+
/**
|
|
38
|
+
* @internal
|
|
39
|
+
*/
|
|
40
|
+
constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
|
|
41
|
+
}
|
|
42
|
+
/**
|
|
43
|
+
* <p>The request was denied due to request throttling.</p>
|
|
44
|
+
* @public
|
|
45
|
+
*/
|
|
46
|
+
export declare class ThrottlingException extends __BaseException {
|
|
47
|
+
readonly name: "ThrottlingException";
|
|
48
|
+
readonly $fault: "client";
|
|
49
|
+
/**
|
|
50
|
+
* @internal
|
|
51
|
+
*/
|
|
52
|
+
constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
|
|
53
|
+
}
|
|
54
|
+
/**
|
|
55
|
+
* <p>The provided input is not valid. Try your request again.</p>
|
|
56
|
+
* @public
|
|
57
|
+
*/
|
|
58
|
+
export declare class ValidationException extends __BaseException {
|
|
59
|
+
readonly name: "ValidationException";
|
|
60
|
+
readonly $fault: "client";
|
|
61
|
+
/**
|
|
62
|
+
* @internal
|
|
63
|
+
*/
|
|
64
|
+
constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
|
|
65
|
+
}
|
|
3
66
|
/**
|
|
4
67
|
* @public
|
|
5
68
|
* @enum
|
|
@@ -44,6 +107,91 @@ export interface Filter {
|
|
|
44
107
|
*/
|
|
45
108
|
Operator?: Operator;
|
|
46
109
|
}
|
|
110
|
+
/**
|
|
111
|
+
* @public
|
|
112
|
+
*/
|
|
113
|
+
export interface GetRegisteredSubscriptionProviderRequest {
|
|
114
|
+
/**
|
|
115
|
+
* <p>The Amazon Resource Name (ARN) of the BYOL registration resource to get details for.</p>
|
|
116
|
+
* @public
|
|
117
|
+
*/
|
|
118
|
+
SubscriptionProviderArn: string | undefined;
|
|
119
|
+
}
|
|
120
|
+
/**
|
|
121
|
+
* @public
|
|
122
|
+
* @enum
|
|
123
|
+
*/
|
|
124
|
+
export declare const SubscriptionProviderSource: {
|
|
125
|
+
/**
|
|
126
|
+
* RedHat subscription provider namespace
|
|
127
|
+
*/
|
|
128
|
+
readonly RedHat: "RedHat";
|
|
129
|
+
};
|
|
130
|
+
/**
|
|
131
|
+
* @public
|
|
132
|
+
*/
|
|
133
|
+
export type SubscriptionProviderSource = (typeof SubscriptionProviderSource)[keyof typeof SubscriptionProviderSource];
|
|
134
|
+
/**
|
|
135
|
+
* @public
|
|
136
|
+
* @enum
|
|
137
|
+
*/
|
|
138
|
+
export declare const SubscriptionProviderStatus: {
|
|
139
|
+
/**
|
|
140
|
+
* ACTIVE status
|
|
141
|
+
*/
|
|
142
|
+
readonly ACTIVE: "ACTIVE";
|
|
143
|
+
/**
|
|
144
|
+
* INVALID status
|
|
145
|
+
*/
|
|
146
|
+
readonly INVALID: "INVALID";
|
|
147
|
+
/**
|
|
148
|
+
* PENDING status
|
|
149
|
+
*/
|
|
150
|
+
readonly PENDING: "PENDING";
|
|
151
|
+
};
|
|
152
|
+
/**
|
|
153
|
+
* @public
|
|
154
|
+
*/
|
|
155
|
+
export type SubscriptionProviderStatus = (typeof SubscriptionProviderStatus)[keyof typeof SubscriptionProviderStatus];
|
|
156
|
+
/**
|
|
157
|
+
* @public
|
|
158
|
+
*/
|
|
159
|
+
export interface GetRegisteredSubscriptionProviderResponse {
|
|
160
|
+
/**
|
|
161
|
+
* <p>The Amazon Resource Name (ARN) for the BYOL registration resource specified in the request.</p>
|
|
162
|
+
* @public
|
|
163
|
+
*/
|
|
164
|
+
SubscriptionProviderArn?: string;
|
|
165
|
+
/**
|
|
166
|
+
* <p>The subscription provider for the BYOL registration resource specified
|
|
167
|
+
* in the request.</p>
|
|
168
|
+
* @public
|
|
169
|
+
*/
|
|
170
|
+
SubscriptionProviderSource?: SubscriptionProviderSource;
|
|
171
|
+
/**
|
|
172
|
+
* <p>The Amazon Resource Name (ARN) of the third-party access secret stored in Secrets Manager for the BYOL
|
|
173
|
+
* registration resource specified in the request.</p>
|
|
174
|
+
* @public
|
|
175
|
+
*/
|
|
176
|
+
SecretArn?: string;
|
|
177
|
+
/**
|
|
178
|
+
* <p>The status of the Linux subscription provider access token from the last
|
|
179
|
+
* successful subscription data request.</p>
|
|
180
|
+
* @public
|
|
181
|
+
*/
|
|
182
|
+
SubscriptionProviderStatus?: SubscriptionProviderStatus;
|
|
183
|
+
/**
|
|
184
|
+
* <p>The detailed message from your subscription provider token status.</p>
|
|
185
|
+
* @public
|
|
186
|
+
*/
|
|
187
|
+
SubscriptionProviderStatusMessage?: string;
|
|
188
|
+
/**
|
|
189
|
+
* <p>The timestamp from the last time License Manager retrieved subscription details
|
|
190
|
+
* from your registered third-party Linux subscription provider.</p>
|
|
191
|
+
* @public
|
|
192
|
+
*/
|
|
193
|
+
LastSuccessfulDataRetrievalTime?: string;
|
|
194
|
+
}
|
|
47
195
|
/**
|
|
48
196
|
* @public
|
|
49
197
|
*/
|
|
@@ -159,42 +307,6 @@ export interface GetServiceSettingsResponse {
|
|
|
159
307
|
*/
|
|
160
308
|
HomeRegions?: string[];
|
|
161
309
|
}
|
|
162
|
-
/**
|
|
163
|
-
* <p>An exception occurred with the service.</p>
|
|
164
|
-
* @public
|
|
165
|
-
*/
|
|
166
|
-
export declare class InternalServerException extends __BaseException {
|
|
167
|
-
readonly name: "InternalServerException";
|
|
168
|
-
readonly $fault: "server";
|
|
169
|
-
/**
|
|
170
|
-
* @internal
|
|
171
|
-
*/
|
|
172
|
-
constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
|
|
173
|
-
}
|
|
174
|
-
/**
|
|
175
|
-
* <p>The request was denied due to request throttling.</p>
|
|
176
|
-
* @public
|
|
177
|
-
*/
|
|
178
|
-
export declare class ThrottlingException extends __BaseException {
|
|
179
|
-
readonly name: "ThrottlingException";
|
|
180
|
-
readonly $fault: "client";
|
|
181
|
-
/**
|
|
182
|
-
* @internal
|
|
183
|
-
*/
|
|
184
|
-
constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
|
|
185
|
-
}
|
|
186
|
-
/**
|
|
187
|
-
* <p>The provided input is not valid. Try your request again.</p>
|
|
188
|
-
* @public
|
|
189
|
-
*/
|
|
190
|
-
export declare class ValidationException extends __BaseException {
|
|
191
|
-
readonly name: "ValidationException";
|
|
192
|
-
readonly $fault: "client";
|
|
193
|
-
/**
|
|
194
|
-
* @internal
|
|
195
|
-
*/
|
|
196
|
-
constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
|
|
197
|
-
}
|
|
198
310
|
/**
|
|
199
311
|
* <p>Details discovered information about a running instance using Linux subscriptions.</p>
|
|
200
312
|
* @public
|
|
@@ -249,10 +361,39 @@ export interface Instance {
|
|
|
249
361
|
*/
|
|
250
362
|
LastUpdatedTime?: string;
|
|
251
363
|
/**
|
|
252
|
-
* <p>The name of the subscription
|
|
364
|
+
* <p>The name of the license subscription that the instance uses.</p>
|
|
253
365
|
* @public
|
|
254
366
|
*/
|
|
255
367
|
SubscriptionName?: string;
|
|
368
|
+
/**
|
|
369
|
+
* <p>The operating system software version that runs on your instance.</p>
|
|
370
|
+
* @public
|
|
371
|
+
*/
|
|
372
|
+
OsVersion?: string;
|
|
373
|
+
/**
|
|
374
|
+
* <p>The timestamp when you registered the third-party Linux subscription
|
|
375
|
+
* provider for the subscription that the instance uses.</p>
|
|
376
|
+
* @public
|
|
377
|
+
*/
|
|
378
|
+
SubscriptionProviderCreateTime?: string;
|
|
379
|
+
/**
|
|
380
|
+
* <p>The timestamp from the last time that the instance synced with the registered
|
|
381
|
+
* third-party Linux subscription provider.</p>
|
|
382
|
+
* @public
|
|
383
|
+
*/
|
|
384
|
+
SubscriptionProviderUpdateTime?: string;
|
|
385
|
+
/**
|
|
386
|
+
* <p>Indicates that you have two different license subscriptions for
|
|
387
|
+
* the same software on your instance.</p>
|
|
388
|
+
* @public
|
|
389
|
+
*/
|
|
390
|
+
DualSubscription?: string;
|
|
391
|
+
/**
|
|
392
|
+
* <p>Indicates that your instance uses a BYOL license subscription from
|
|
393
|
+
* a third-party Linux subscription provider that you've registered with License Manager.</p>
|
|
394
|
+
* @public
|
|
395
|
+
*/
|
|
396
|
+
RegisteredWithSubscriptionProvider?: string;
|
|
256
397
|
}
|
|
257
398
|
/**
|
|
258
399
|
* NextToken length limit is half of ddb accepted limit.
|
|
@@ -261,54 +402,61 @@ export interface Instance {
|
|
|
261
402
|
*/
|
|
262
403
|
export interface ListLinuxSubscriptionInstancesRequest {
|
|
263
404
|
/**
|
|
264
|
-
* <p>An array of structures that you can use to filter the results
|
|
265
|
-
*
|
|
266
|
-
*
|
|
267
|
-
*
|
|
268
|
-
* <p>
|
|
405
|
+
* <p>An array of structures that you can use to filter the results by your specified criteria.
|
|
406
|
+
* For example, you can specify <code>Region</code> in the <code>Name</code>, with the
|
|
407
|
+
* <code>contains</code> operator to list all subscriptions that match a partial string in the
|
|
408
|
+
* <code>Value</code>, such as <code>us-west</code>.</p>
|
|
409
|
+
* <p>For each filter, you can specify one of the following values for the <code>Name</code> key
|
|
410
|
+
* to streamline results:</p>
|
|
269
411
|
* <ul>
|
|
270
412
|
* <li>
|
|
271
413
|
* <p>
|
|
414
|
+
* <code>AccountID</code>
|
|
415
|
+
* </p>
|
|
416
|
+
* </li>
|
|
417
|
+
* <li>
|
|
418
|
+
* <p>
|
|
272
419
|
* <code>AmiID</code>
|
|
273
420
|
* </p>
|
|
274
421
|
* </li>
|
|
275
422
|
* <li>
|
|
276
423
|
* <p>
|
|
277
|
-
* <code>
|
|
424
|
+
* <code>DualSubscription</code>
|
|
278
425
|
* </p>
|
|
279
426
|
* </li>
|
|
280
427
|
* <li>
|
|
281
428
|
* <p>
|
|
282
|
-
* <code>
|
|
429
|
+
* <code>InstanceID</code>
|
|
283
430
|
* </p>
|
|
284
431
|
* </li>
|
|
285
432
|
* <li>
|
|
286
433
|
* <p>
|
|
287
|
-
* <code>
|
|
434
|
+
* <code>InstanceType</code>
|
|
288
435
|
* </p>
|
|
289
436
|
* </li>
|
|
290
437
|
* <li>
|
|
291
438
|
* <p>
|
|
292
|
-
* <code>
|
|
439
|
+
* <code>ProductCode</code>
|
|
293
440
|
* </p>
|
|
294
441
|
* </li>
|
|
295
442
|
* <li>
|
|
296
443
|
* <p>
|
|
297
|
-
* <code>
|
|
444
|
+
* <code>Region</code>
|
|
298
445
|
* </p>
|
|
299
446
|
* </li>
|
|
300
447
|
* <li>
|
|
301
448
|
* <p>
|
|
302
|
-
* <code>
|
|
449
|
+
* <code>Status</code>
|
|
303
450
|
* </p>
|
|
304
451
|
* </li>
|
|
305
452
|
* <li>
|
|
306
453
|
* <p>
|
|
307
|
-
* <code>
|
|
454
|
+
* <code>UsageOperation</code>
|
|
308
455
|
* </p>
|
|
309
456
|
* </li>
|
|
310
457
|
* </ul>
|
|
311
|
-
* <p>
|
|
458
|
+
* <p>For each filter, you can use one of the following <code>Operator</code> values to
|
|
459
|
+
* define the behavior of the filter:</p>
|
|
312
460
|
* <ul>
|
|
313
461
|
* <li>
|
|
314
462
|
* <p>
|
|
@@ -330,12 +478,13 @@ export interface ListLinuxSubscriptionInstancesRequest {
|
|
|
330
478
|
*/
|
|
331
479
|
Filters?: Filter[];
|
|
332
480
|
/**
|
|
333
|
-
* <p>
|
|
481
|
+
* <p>The maximum items to return in a request.</p>
|
|
334
482
|
* @public
|
|
335
483
|
*/
|
|
336
484
|
MaxResults?: number;
|
|
337
485
|
/**
|
|
338
|
-
* <p>
|
|
486
|
+
* <p>A token to specify where to start paginating. This
|
|
487
|
+
* is the nextToken from a previously truncated response.</p>
|
|
339
488
|
* @public
|
|
340
489
|
*/
|
|
341
490
|
NextToken?: string;
|
|
@@ -350,7 +499,10 @@ export interface ListLinuxSubscriptionInstancesResponse {
|
|
|
350
499
|
*/
|
|
351
500
|
Instances?: Instance[];
|
|
352
501
|
/**
|
|
353
|
-
* <p>
|
|
502
|
+
* <p>The next token used for paginated responses. When this
|
|
503
|
+
* field isn't empty, there are additional elements that the service hasn't
|
|
504
|
+
* included in this request. Use this token with the next request to retrieve
|
|
505
|
+
* additional objects.</p>
|
|
354
506
|
* @public
|
|
355
507
|
*/
|
|
356
508
|
NextToken?: string;
|
|
@@ -396,12 +548,13 @@ export interface ListLinuxSubscriptionsRequest {
|
|
|
396
548
|
*/
|
|
397
549
|
Filters?: Filter[];
|
|
398
550
|
/**
|
|
399
|
-
* <p>
|
|
551
|
+
* <p>The maximum items to return in a request.</p>
|
|
400
552
|
* @public
|
|
401
553
|
*/
|
|
402
554
|
MaxResults?: number;
|
|
403
555
|
/**
|
|
404
|
-
* <p>
|
|
556
|
+
* <p>A token to specify where to start paginating. This
|
|
557
|
+
* is the nextToken from a previously truncated response.</p>
|
|
405
558
|
* @public
|
|
406
559
|
*/
|
|
407
560
|
NextToken?: string;
|
|
@@ -439,11 +592,206 @@ export interface ListLinuxSubscriptionsResponse {
|
|
|
439
592
|
*/
|
|
440
593
|
Subscriptions?: Subscription[];
|
|
441
594
|
/**
|
|
442
|
-
* <p>
|
|
595
|
+
* <p>The next token used for paginated responses. When this
|
|
596
|
+
* field isn't empty, there are additional elements that the service hasn't
|
|
597
|
+
* included in this request. Use this token with the next request to retrieve
|
|
598
|
+
* additional objects.</p>
|
|
599
|
+
* @public
|
|
600
|
+
*/
|
|
601
|
+
NextToken?: string;
|
|
602
|
+
}
|
|
603
|
+
/**
|
|
604
|
+
* @public
|
|
605
|
+
*/
|
|
606
|
+
export interface ListRegisteredSubscriptionProvidersRequest {
|
|
607
|
+
/**
|
|
608
|
+
* <p>To filter your results, specify which subscription providers to return
|
|
609
|
+
* in the list.</p>
|
|
610
|
+
* @public
|
|
611
|
+
*/
|
|
612
|
+
SubscriptionProviderSources?: SubscriptionProviderSource[];
|
|
613
|
+
/**
|
|
614
|
+
* <p>The maximum items to return in a request.</p>
|
|
615
|
+
* @public
|
|
616
|
+
*/
|
|
617
|
+
MaxResults?: number;
|
|
618
|
+
/**
|
|
619
|
+
* <p>A token to specify where to start paginating. This
|
|
620
|
+
* is the nextToken from a previously truncated response.</p>
|
|
621
|
+
* @public
|
|
622
|
+
*/
|
|
623
|
+
NextToken?: string;
|
|
624
|
+
}
|
|
625
|
+
/**
|
|
626
|
+
* <p>A third-party provider for operating system (OS) platform software and license
|
|
627
|
+
* subscriptions, such as Red Hat. When you register a third-party Linux subscription
|
|
628
|
+
* provider, License Manager can get subscription data from the registered provider.</p>
|
|
629
|
+
* @public
|
|
630
|
+
*/
|
|
631
|
+
export interface RegisteredSubscriptionProvider {
|
|
632
|
+
/**
|
|
633
|
+
* <p>The Amazon Resource Name (ARN) of the Linux subscription provider resource that you registered.</p>
|
|
634
|
+
* @public
|
|
635
|
+
*/
|
|
636
|
+
SubscriptionProviderArn?: string;
|
|
637
|
+
/**
|
|
638
|
+
* <p>A supported third-party Linux subscription provider. License Manager currently supports
|
|
639
|
+
* Red Hat subscriptions.</p>
|
|
640
|
+
* @public
|
|
641
|
+
*/
|
|
642
|
+
SubscriptionProviderSource?: SubscriptionProviderSource;
|
|
643
|
+
/**
|
|
644
|
+
* <p>The Amazon Resource Name (ARN) of the Secrets Manager secret that stores your registered Linux subscription provider
|
|
645
|
+
* access token. For RHEL account subscriptions, this is the offline token.</p>
|
|
646
|
+
* @public
|
|
647
|
+
*/
|
|
648
|
+
SecretArn?: string;
|
|
649
|
+
/**
|
|
650
|
+
* <p>Indicates the status of your registered Linux subscription provider access token
|
|
651
|
+
* from the last time License Manager retrieved subscription data. For RHEL account subscriptions,
|
|
652
|
+
* this is the status of the offline token.</p>
|
|
653
|
+
* @public
|
|
654
|
+
*/
|
|
655
|
+
SubscriptionProviderStatus?: SubscriptionProviderStatus;
|
|
656
|
+
/**
|
|
657
|
+
* <p>A detailed message that's associated with your BYOL subscription
|
|
658
|
+
* provider token status.</p>
|
|
659
|
+
* @public
|
|
660
|
+
*/
|
|
661
|
+
SubscriptionProviderStatusMessage?: string;
|
|
662
|
+
/**
|
|
663
|
+
* <p>The timestamp from the last time that License Manager accessed third-party subscription data
|
|
664
|
+
* for your account from your registered Linux subscription provider.</p>
|
|
665
|
+
* @public
|
|
666
|
+
*/
|
|
667
|
+
LastSuccessfulDataRetrievalTime?: string;
|
|
668
|
+
}
|
|
669
|
+
/**
|
|
670
|
+
* @public
|
|
671
|
+
*/
|
|
672
|
+
export interface ListRegisteredSubscriptionProvidersResponse {
|
|
673
|
+
/**
|
|
674
|
+
* <p>The list of BYOL registration resources that fit the criteria
|
|
675
|
+
* you specified in the request.</p>
|
|
676
|
+
* @public
|
|
677
|
+
*/
|
|
678
|
+
RegisteredSubscriptionProviders?: RegisteredSubscriptionProvider[];
|
|
679
|
+
/**
|
|
680
|
+
* <p>The next token used for paginated responses. When this
|
|
681
|
+
* field isn't empty, there are additional elements that the service hasn't
|
|
682
|
+
* included in this request. Use this token with the next request to retrieve
|
|
683
|
+
* additional objects.</p>
|
|
443
684
|
* @public
|
|
444
685
|
*/
|
|
445
686
|
NextToken?: string;
|
|
446
687
|
}
|
|
688
|
+
/**
|
|
689
|
+
* @public
|
|
690
|
+
*/
|
|
691
|
+
export interface ListTagsForResourceRequest {
|
|
692
|
+
/**
|
|
693
|
+
* <p>The Amazon Resource Name (ARN) of the resource for which to list metadata tags.</p>
|
|
694
|
+
* @public
|
|
695
|
+
*/
|
|
696
|
+
resourceArn: string | undefined;
|
|
697
|
+
}
|
|
698
|
+
/**
|
|
699
|
+
* @public
|
|
700
|
+
*/
|
|
701
|
+
export interface ListTagsForResourceResponse {
|
|
702
|
+
/**
|
|
703
|
+
* <p>The metadata tags for the requested resource.</p>
|
|
704
|
+
* @public
|
|
705
|
+
*/
|
|
706
|
+
tags?: Record<string, string>;
|
|
707
|
+
}
|
|
708
|
+
/**
|
|
709
|
+
* @public
|
|
710
|
+
*/
|
|
711
|
+
export interface RegisterSubscriptionProviderRequest {
|
|
712
|
+
/**
|
|
713
|
+
* <p>The supported Linux subscription provider to register.</p>
|
|
714
|
+
* @public
|
|
715
|
+
*/
|
|
716
|
+
SubscriptionProviderSource: SubscriptionProviderSource | undefined;
|
|
717
|
+
/**
|
|
718
|
+
* <p>The Amazon Resource Name (ARN) of the secret where you've stored your subscription provider's access token. For
|
|
719
|
+
* RHEL subscriptions managed through the Red Hat Subscription Manager (RHSM), the secret contains
|
|
720
|
+
* your Red Hat Offline token.</p>
|
|
721
|
+
* @public
|
|
722
|
+
*/
|
|
723
|
+
SecretArn: string | undefined;
|
|
724
|
+
/**
|
|
725
|
+
* <p>The metadata tags to assign to your registered Linux subscription provider
|
|
726
|
+
* resource.</p>
|
|
727
|
+
* @public
|
|
728
|
+
*/
|
|
729
|
+
Tags?: Record<string, string>;
|
|
730
|
+
}
|
|
731
|
+
/**
|
|
732
|
+
* @public
|
|
733
|
+
*/
|
|
734
|
+
export interface RegisterSubscriptionProviderResponse {
|
|
735
|
+
/**
|
|
736
|
+
* <p>The Linux subscription provider that you registered.</p>
|
|
737
|
+
* @public
|
|
738
|
+
*/
|
|
739
|
+
SubscriptionProviderSource?: SubscriptionProviderSource;
|
|
740
|
+
/**
|
|
741
|
+
* <p>The Amazon Resource Name (ARN) of the Linux subscription provider resource that you registered.</p>
|
|
742
|
+
* @public
|
|
743
|
+
*/
|
|
744
|
+
SubscriptionProviderArn?: string;
|
|
745
|
+
/**
|
|
746
|
+
* <p>Indicates the status of the registration action for the Linux subscription provider
|
|
747
|
+
* that you requested.</p>
|
|
748
|
+
* @public
|
|
749
|
+
*/
|
|
750
|
+
SubscriptionProviderStatus?: SubscriptionProviderStatus;
|
|
751
|
+
}
|
|
752
|
+
/**
|
|
753
|
+
* @public
|
|
754
|
+
*/
|
|
755
|
+
export interface TagResourceRequest {
|
|
756
|
+
/**
|
|
757
|
+
* <p>The Amazon Resource Name (ARN) of the Amazon Web Services resource to which to add the specified
|
|
758
|
+
* metadata tags.</p>
|
|
759
|
+
* @public
|
|
760
|
+
*/
|
|
761
|
+
resourceArn: string | undefined;
|
|
762
|
+
/**
|
|
763
|
+
* <p>The metadata tags to assign to the Amazon Web Services resource. Tags are
|
|
764
|
+
* formatted as key value pairs.</p>
|
|
765
|
+
* @public
|
|
766
|
+
*/
|
|
767
|
+
tags: Record<string, string> | undefined;
|
|
768
|
+
}
|
|
769
|
+
/**
|
|
770
|
+
* @public
|
|
771
|
+
*/
|
|
772
|
+
export interface TagResourceResponse {
|
|
773
|
+
}
|
|
774
|
+
/**
|
|
775
|
+
* @public
|
|
776
|
+
*/
|
|
777
|
+
export interface UntagResourceRequest {
|
|
778
|
+
/**
|
|
779
|
+
* <p>The Amazon Resource Name (ARN) of the Amazon Web Services resource to remove the metadata tags from.</p>
|
|
780
|
+
* @public
|
|
781
|
+
*/
|
|
782
|
+
resourceArn: string | undefined;
|
|
783
|
+
/**
|
|
784
|
+
* <p>A list of metadata tag keys to remove from the requested
|
|
785
|
+
* resource.</p>
|
|
786
|
+
* @public
|
|
787
|
+
*/
|
|
788
|
+
tagKeys: string[] | undefined;
|
|
789
|
+
}
|
|
790
|
+
/**
|
|
791
|
+
* @public
|
|
792
|
+
*/
|
|
793
|
+
export interface UntagResourceResponse {
|
|
794
|
+
}
|
|
447
795
|
/**
|
|
448
796
|
* @public
|
|
449
797
|
*/
|
|
@@ -498,3 +846,19 @@ export interface UpdateServiceSettingsResponse {
|
|
|
498
846
|
*/
|
|
499
847
|
HomeRegions?: string[];
|
|
500
848
|
}
|
|
849
|
+
/**
|
|
850
|
+
* @internal
|
|
851
|
+
*/
|
|
852
|
+
export declare const ListTagsForResourceResponseFilterSensitiveLog: (obj: ListTagsForResourceResponse) => any;
|
|
853
|
+
/**
|
|
854
|
+
* @internal
|
|
855
|
+
*/
|
|
856
|
+
export declare const RegisterSubscriptionProviderRequestFilterSensitiveLog: (obj: RegisterSubscriptionProviderRequest) => any;
|
|
857
|
+
/**
|
|
858
|
+
* @internal
|
|
859
|
+
*/
|
|
860
|
+
export declare const TagResourceRequestFilterSensitiveLog: (obj: TagResourceRequest) => any;
|
|
861
|
+
/**
|
|
862
|
+
* @internal
|
|
863
|
+
*/
|
|
864
|
+
export declare const UntagResourceRequestFilterSensitiveLog: (obj: UntagResourceRequest) => any;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { Paginator } from "@smithy/types";
|
|
2
|
+
import { ListRegisteredSubscriptionProvidersCommandInput, ListRegisteredSubscriptionProvidersCommandOutput } from "../commands/ListRegisteredSubscriptionProvidersCommand";
|
|
3
|
+
import { LicenseManagerLinuxSubscriptionsPaginationConfiguration } from "./Interfaces";
|
|
4
|
+
/**
|
|
5
|
+
* @public
|
|
6
|
+
*/
|
|
7
|
+
export declare const paginateListRegisteredSubscriptionProviders: (config: LicenseManagerLinuxSubscriptionsPaginationConfiguration, input: ListRegisteredSubscriptionProvidersCommandInput, ...rest: any[]) => Paginator<ListRegisteredSubscriptionProvidersCommandOutput>;
|
|
@@ -1,9 +1,24 @@
|
|
|
1
1
|
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@smithy/protocol-http";
|
|
2
2
|
import { SerdeContext as __SerdeContext } from "@smithy/types";
|
|
3
|
+
import { DeregisterSubscriptionProviderCommandInput, DeregisterSubscriptionProviderCommandOutput } from "../commands/DeregisterSubscriptionProviderCommand";
|
|
4
|
+
import { GetRegisteredSubscriptionProviderCommandInput, GetRegisteredSubscriptionProviderCommandOutput } from "../commands/GetRegisteredSubscriptionProviderCommand";
|
|
3
5
|
import { GetServiceSettingsCommandInput, GetServiceSettingsCommandOutput } from "../commands/GetServiceSettingsCommand";
|
|
4
6
|
import { ListLinuxSubscriptionInstancesCommandInput, ListLinuxSubscriptionInstancesCommandOutput } from "../commands/ListLinuxSubscriptionInstancesCommand";
|
|
5
7
|
import { ListLinuxSubscriptionsCommandInput, ListLinuxSubscriptionsCommandOutput } from "../commands/ListLinuxSubscriptionsCommand";
|
|
8
|
+
import { ListRegisteredSubscriptionProvidersCommandInput, ListRegisteredSubscriptionProvidersCommandOutput } from "../commands/ListRegisteredSubscriptionProvidersCommand";
|
|
9
|
+
import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "../commands/ListTagsForResourceCommand";
|
|
10
|
+
import { RegisterSubscriptionProviderCommandInput, RegisterSubscriptionProviderCommandOutput } from "../commands/RegisterSubscriptionProviderCommand";
|
|
11
|
+
import { TagResourceCommandInput, TagResourceCommandOutput } from "../commands/TagResourceCommand";
|
|
12
|
+
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "../commands/UntagResourceCommand";
|
|
6
13
|
import { UpdateServiceSettingsCommandInput, UpdateServiceSettingsCommandOutput } from "../commands/UpdateServiceSettingsCommand";
|
|
14
|
+
/**
|
|
15
|
+
* serializeAws_restJson1DeregisterSubscriptionProviderCommand
|
|
16
|
+
*/
|
|
17
|
+
export declare const se_DeregisterSubscriptionProviderCommand: (input: DeregisterSubscriptionProviderCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
18
|
+
/**
|
|
19
|
+
* serializeAws_restJson1GetRegisteredSubscriptionProviderCommand
|
|
20
|
+
*/
|
|
21
|
+
export declare const se_GetRegisteredSubscriptionProviderCommand: (input: GetRegisteredSubscriptionProviderCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
7
22
|
/**
|
|
8
23
|
* serializeAws_restJson1GetServiceSettingsCommand
|
|
9
24
|
*/
|
|
@@ -16,10 +31,38 @@ export declare const se_ListLinuxSubscriptionInstancesCommand: (input: ListLinux
|
|
|
16
31
|
* serializeAws_restJson1ListLinuxSubscriptionsCommand
|
|
17
32
|
*/
|
|
18
33
|
export declare const se_ListLinuxSubscriptionsCommand: (input: ListLinuxSubscriptionsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
34
|
+
/**
|
|
35
|
+
* serializeAws_restJson1ListRegisteredSubscriptionProvidersCommand
|
|
36
|
+
*/
|
|
37
|
+
export declare const se_ListRegisteredSubscriptionProvidersCommand: (input: ListRegisteredSubscriptionProvidersCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
38
|
+
/**
|
|
39
|
+
* serializeAws_restJson1ListTagsForResourceCommand
|
|
40
|
+
*/
|
|
41
|
+
export declare const se_ListTagsForResourceCommand: (input: ListTagsForResourceCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
42
|
+
/**
|
|
43
|
+
* serializeAws_restJson1RegisterSubscriptionProviderCommand
|
|
44
|
+
*/
|
|
45
|
+
export declare const se_RegisterSubscriptionProviderCommand: (input: RegisterSubscriptionProviderCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
46
|
+
/**
|
|
47
|
+
* serializeAws_restJson1TagResourceCommand
|
|
48
|
+
*/
|
|
49
|
+
export declare const se_TagResourceCommand: (input: TagResourceCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
50
|
+
/**
|
|
51
|
+
* serializeAws_restJson1UntagResourceCommand
|
|
52
|
+
*/
|
|
53
|
+
export declare const se_UntagResourceCommand: (input: UntagResourceCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
19
54
|
/**
|
|
20
55
|
* serializeAws_restJson1UpdateServiceSettingsCommand
|
|
21
56
|
*/
|
|
22
57
|
export declare const se_UpdateServiceSettingsCommand: (input: UpdateServiceSettingsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
58
|
+
/**
|
|
59
|
+
* deserializeAws_restJson1DeregisterSubscriptionProviderCommand
|
|
60
|
+
*/
|
|
61
|
+
export declare const de_DeregisterSubscriptionProviderCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DeregisterSubscriptionProviderCommandOutput>;
|
|
62
|
+
/**
|
|
63
|
+
* deserializeAws_restJson1GetRegisteredSubscriptionProviderCommand
|
|
64
|
+
*/
|
|
65
|
+
export declare const de_GetRegisteredSubscriptionProviderCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetRegisteredSubscriptionProviderCommandOutput>;
|
|
23
66
|
/**
|
|
24
67
|
* deserializeAws_restJson1GetServiceSettingsCommand
|
|
25
68
|
*/
|
|
@@ -32,6 +75,26 @@ export declare const de_ListLinuxSubscriptionInstancesCommand: (output: __HttpRe
|
|
|
32
75
|
* deserializeAws_restJson1ListLinuxSubscriptionsCommand
|
|
33
76
|
*/
|
|
34
77
|
export declare const de_ListLinuxSubscriptionsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListLinuxSubscriptionsCommandOutput>;
|
|
78
|
+
/**
|
|
79
|
+
* deserializeAws_restJson1ListRegisteredSubscriptionProvidersCommand
|
|
80
|
+
*/
|
|
81
|
+
export declare const de_ListRegisteredSubscriptionProvidersCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListRegisteredSubscriptionProvidersCommandOutput>;
|
|
82
|
+
/**
|
|
83
|
+
* deserializeAws_restJson1ListTagsForResourceCommand
|
|
84
|
+
*/
|
|
85
|
+
export declare const de_ListTagsForResourceCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListTagsForResourceCommandOutput>;
|
|
86
|
+
/**
|
|
87
|
+
* deserializeAws_restJson1RegisterSubscriptionProviderCommand
|
|
88
|
+
*/
|
|
89
|
+
export declare const de_RegisterSubscriptionProviderCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<RegisterSubscriptionProviderCommandOutput>;
|
|
90
|
+
/**
|
|
91
|
+
* deserializeAws_restJson1TagResourceCommand
|
|
92
|
+
*/
|
|
93
|
+
export declare const de_TagResourceCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<TagResourceCommandOutput>;
|
|
94
|
+
/**
|
|
95
|
+
* deserializeAws_restJson1UntagResourceCommand
|
|
96
|
+
*/
|
|
97
|
+
export declare const de_UntagResourceCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UntagResourceCommandOutput>;
|
|
35
98
|
/**
|
|
36
99
|
* deserializeAws_restJson1UpdateServiceSettingsCommand
|
|
37
100
|
*/
|