1 | import {Request} from '../lib/request';
|
2 | import {Response} from '../lib/response';
|
3 | import {AWSError} from '../lib/error';
|
4 | import {Service} from '../lib/service';
|
5 | import {ServiceConfigurationOptions} from '../lib/service';
|
6 | import {ConfigBase as Config} from '../lib/config';
|
7 | interface Blob {}
|
8 | declare class LicenseManager extends Service {
|
9 | |
10 |
|
11 |
|
12 | constructor(options?: LicenseManager.Types.ClientConfiguration)
|
13 | config: Config & LicenseManager.Types.ClientConfiguration;
|
14 | /**
|
15 | * Creates a new license configuration object. A license configuration is an abstraction of a customer license agreement that can be consumed and enforced by License Manager. Components include specifications for the license type (licensing by instance, socket, CPU, or VCPU), tenancy (shared tenancy, Amazon EC2 Dedicated Instance, Amazon EC2 Dedicated Host, or any of these), host affinity (how long a VM must be associated with a host), the number of licenses purchased and used.
|
16 | */
|
17 | createLicenseConfiguration(params: LicenseManager.Types.CreateLicenseConfigurationRequest, callback?: (err: AWSError, data: LicenseManager.Types.CreateLicenseConfigurationResponse) => void): Request<LicenseManager.Types.CreateLicenseConfigurationResponse, AWSError>;
|
18 | /**
|
19 | * Creates a new license configuration object. A license configuration is an abstraction of a customer license agreement that can be consumed and enforced by License Manager. Components include specifications for the license type (licensing by instance, socket, CPU, or VCPU), tenancy (shared tenancy, Amazon EC2 Dedicated Instance, Amazon EC2 Dedicated Host, or any of these), host affinity (how long a VM must be associated with a host), the number of licenses purchased and used.
|
20 | */
|
21 | createLicenseConfiguration(callback?: (err: AWSError, data: LicenseManager.Types.CreateLicenseConfigurationResponse) => void): Request<LicenseManager.Types.CreateLicenseConfigurationResponse, AWSError>;
|
22 | /**
|
23 | * Deletes an existing license configuration. This action fails if the configuration is in use.
|
24 | */
|
25 | deleteLicenseConfiguration(params: LicenseManager.Types.DeleteLicenseConfigurationRequest, callback?: (err: AWSError, data: LicenseManager.Types.DeleteLicenseConfigurationResponse) => void): Request<LicenseManager.Types.DeleteLicenseConfigurationResponse, AWSError>;
|
26 | /**
|
27 | * Deletes an existing license configuration. This action fails if the configuration is in use.
|
28 | */
|
29 | deleteLicenseConfiguration(callback?: (err: AWSError, data: LicenseManager.Types.DeleteLicenseConfigurationResponse) => void): Request<LicenseManager.Types.DeleteLicenseConfigurationResponse, AWSError>;
|
30 | /**
|
31 | * Returns a detailed description of a license configuration.
|
32 | */
|
33 | getLicenseConfiguration(params: LicenseManager.Types.GetLicenseConfigurationRequest, callback?: (err: AWSError, data: LicenseManager.Types.GetLicenseConfigurationResponse) => void): Request<LicenseManager.Types.GetLicenseConfigurationResponse, AWSError>;
|
34 | /**
|
35 | * Returns a detailed description of a license configuration.
|
36 | */
|
37 | getLicenseConfiguration(callback?: (err: AWSError, data: LicenseManager.Types.GetLicenseConfigurationResponse) => void): Request<LicenseManager.Types.GetLicenseConfigurationResponse, AWSError>;
|
38 | /**
|
39 | * Gets License Manager settings for a region. Exposes the configured S3 bucket, SNS topic, etc., for inspection.
|
40 | */
|
41 | getServiceSettings(params: LicenseManager.Types.GetServiceSettingsRequest, callback?: (err: AWSError, data: LicenseManager.Types.GetServiceSettingsResponse) => void): Request<LicenseManager.Types.GetServiceSettingsResponse, AWSError>;
|
42 | /**
|
43 | * Gets License Manager settings for a region. Exposes the configured S3 bucket, SNS topic, etc., for inspection.
|
44 | */
|
45 | getServiceSettings(callback?: (err: AWSError, data: LicenseManager.Types.GetServiceSettingsResponse) => void): Request<LicenseManager.Types.GetServiceSettingsResponse, AWSError>;
|
46 | /**
|
47 | * Lists the resource associations for a license configuration. Resource associations need not consume licenses from a license configuration. For example, an AMI or a stopped instance may not consume a license (depending on the license rules). Use this operation to find all resources associated with a license configuration.
|
48 | */
|
49 | listAssociationsForLicenseConfiguration(params: LicenseManager.Types.ListAssociationsForLicenseConfigurationRequest, callback?: (err: AWSError, data: LicenseManager.Types.ListAssociationsForLicenseConfigurationResponse) => void): Request<LicenseManager.Types.ListAssociationsForLicenseConfigurationResponse, AWSError>;
|
50 | /**
|
51 | * Lists the resource associations for a license configuration. Resource associations need not consume licenses from a license configuration. For example, an AMI or a stopped instance may not consume a license (depending on the license rules). Use this operation to find all resources associated with a license configuration.
|
52 | */
|
53 | listAssociationsForLicenseConfiguration(callback?: (err: AWSError, data: LicenseManager.Types.ListAssociationsForLicenseConfigurationResponse) => void): Request<LicenseManager.Types.ListAssociationsForLicenseConfigurationResponse, AWSError>;
|
54 | /**
|
55 | * Lists license configuration objects for an account, each containing the name, description, license type, and other license terms modeled from a license agreement.
|
56 | */
|
57 | listLicenseConfigurations(params: LicenseManager.Types.ListLicenseConfigurationsRequest, callback?: (err: AWSError, data: LicenseManager.Types.ListLicenseConfigurationsResponse) => void): Request<LicenseManager.Types.ListLicenseConfigurationsResponse, AWSError>;
|
58 | /**
|
59 | * Lists license configuration objects for an account, each containing the name, description, license type, and other license terms modeled from a license agreement.
|
60 | */
|
61 | listLicenseConfigurations(callback?: (err: AWSError, data: LicenseManager.Types.ListLicenseConfigurationsResponse) => void): Request<LicenseManager.Types.ListLicenseConfigurationsResponse, AWSError>;
|
62 | /**
|
63 | * Returns the license configuration for a resource.
|
64 | */
|
65 | listLicenseSpecificationsForResource(params: LicenseManager.Types.ListLicenseSpecificationsForResourceRequest, callback?: (err: AWSError, data: LicenseManager.Types.ListLicenseSpecificationsForResourceResponse) => void): Request<LicenseManager.Types.ListLicenseSpecificationsForResourceResponse, AWSError>;
|
66 | /**
|
67 | * Returns the license configuration for a resource.
|
68 | */
|
69 | listLicenseSpecificationsForResource(callback?: (err: AWSError, data: LicenseManager.Types.ListLicenseSpecificationsForResourceResponse) => void): Request<LicenseManager.Types.ListLicenseSpecificationsForResourceResponse, AWSError>;
|
70 | /**
|
71 | * Returns a detailed list of resources.
|
72 | */
|
73 | listResourceInventory(params: LicenseManager.Types.ListResourceInventoryRequest, callback?: (err: AWSError, data: LicenseManager.Types.ListResourceInventoryResponse) => void): Request<LicenseManager.Types.ListResourceInventoryResponse, AWSError>;
|
74 | /**
|
75 | * Returns a detailed list of resources.
|
76 | */
|
77 | listResourceInventory(callback?: (err: AWSError, data: LicenseManager.Types.ListResourceInventoryResponse) => void): Request<LicenseManager.Types.ListResourceInventoryResponse, AWSError>;
|
78 | /**
|
79 | * Lists tags attached to a resource.
|
80 | */
|
81 | listTagsForResource(params: LicenseManager.Types.ListTagsForResourceRequest, callback?: (err: AWSError, data: LicenseManager.Types.ListTagsForResourceResponse) => void): Request<LicenseManager.Types.ListTagsForResourceResponse, AWSError>;
|
82 | /**
|
83 | * Lists tags attached to a resource.
|
84 | */
|
85 | listTagsForResource(callback?: (err: AWSError, data: LicenseManager.Types.ListTagsForResourceResponse) => void): Request<LicenseManager.Types.ListTagsForResourceResponse, AWSError>;
|
86 | /**
|
87 | * Lists all license usage records for a license configuration, displaying license consumption details by resource at a selected point in time. Use this action to audit the current license consumption for any license inventory and configuration.
|
88 | */
|
89 | listUsageForLicenseConfiguration(params: LicenseManager.Types.ListUsageForLicenseConfigurationRequest, callback?: (err: AWSError, data: LicenseManager.Types.ListUsageForLicenseConfigurationResponse) => void): Request<LicenseManager.Types.ListUsageForLicenseConfigurationResponse, AWSError>;
|
90 | /**
|
91 | * Lists all license usage records for a license configuration, displaying license consumption details by resource at a selected point in time. Use this action to audit the current license consumption for any license inventory and configuration.
|
92 | */
|
93 | listUsageForLicenseConfiguration(callback?: (err: AWSError, data: LicenseManager.Types.ListUsageForLicenseConfigurationResponse) => void): Request<LicenseManager.Types.ListUsageForLicenseConfigurationResponse, AWSError>;
|
94 | /**
|
95 | * Attach one of more tags to any resource.
|
96 | */
|
97 | tagResource(params: LicenseManager.Types.TagResourceRequest, callback?: (err: AWSError, data: LicenseManager.Types.TagResourceResponse) => void): Request<LicenseManager.Types.TagResourceResponse, AWSError>;
|
98 | /**
|
99 | * Attach one of more tags to any resource.
|
100 | */
|
101 | tagResource(callback?: (err: AWSError, data: LicenseManager.Types.TagResourceResponse) => void): Request<LicenseManager.Types.TagResourceResponse, AWSError>;
|
102 | /**
|
103 | * Remove tags from a resource.
|
104 | */
|
105 | untagResource(params: LicenseManager.Types.UntagResourceRequest, callback?: (err: AWSError, data: LicenseManager.Types.UntagResourceResponse) => void): Request<LicenseManager.Types.UntagResourceResponse, AWSError>;
|
106 | /**
|
107 | * Remove tags from a resource.
|
108 | */
|
109 | untagResource(callback?: (err: AWSError, data: LicenseManager.Types.UntagResourceResponse) => void): Request<LicenseManager.Types.UntagResourceResponse, AWSError>;
|
110 | /**
|
111 | * Modifies the attributes of an existing license configuration object. A license configuration is an abstraction of a customer license agreement that can be consumed and enforced by License Manager. Components include specifications for the license type (Instances, cores, sockets, VCPUs), tenancy (shared or Dedicated Host), host affinity (how long a VM is associated with a host), the number of licenses purchased and used.
|
112 | */
|
113 | updateLicenseConfiguration(params: LicenseManager.Types.UpdateLicenseConfigurationRequest, callback?: (err: AWSError, data: LicenseManager.Types.UpdateLicenseConfigurationResponse) => void): Request<LicenseManager.Types.UpdateLicenseConfigurationResponse, AWSError>;
|
114 | /**
|
115 | * Modifies the attributes of an existing license configuration object. A license configuration is an abstraction of a customer license agreement that can be consumed and enforced by License Manager. Components include specifications for the license type (Instances, cores, sockets, VCPUs), tenancy (shared or Dedicated Host), host affinity (how long a VM is associated with a host), the number of licenses purchased and used.
|
116 | */
|
117 | updateLicenseConfiguration(callback?: (err: AWSError, data: LicenseManager.Types.UpdateLicenseConfigurationResponse) => void): Request<LicenseManager.Types.UpdateLicenseConfigurationResponse, AWSError>;
|
118 | /**
|
119 | * Adds or removes license configurations for a specified AWS resource. This operation currently supports updating the license specifications of AMIs, instances, and hosts. Launch templates and AWS CloudFormation templates are not managed from this operation as those resources send the license configurations directly to a resource creation operation, such as RunInstances.
|
120 | */
|
121 | updateLicenseSpecificationsForResource(params: LicenseManager.Types.UpdateLicenseSpecificationsForResourceRequest, callback?: (err: AWSError, data: LicenseManager.Types.UpdateLicenseSpecificationsForResourceResponse) => void): Request<LicenseManager.Types.UpdateLicenseSpecificationsForResourceResponse, AWSError>;
|
122 | /**
|
123 | * Adds or removes license configurations for a specified AWS resource. This operation currently supports updating the license specifications of AMIs, instances, and hosts. Launch templates and AWS CloudFormation templates are not managed from this operation as those resources send the license configurations directly to a resource creation operation, such as RunInstances.
|
124 | */
|
125 | updateLicenseSpecificationsForResource(callback?: (err: AWSError, data: LicenseManager.Types.UpdateLicenseSpecificationsForResourceResponse) => void): Request<LicenseManager.Types.UpdateLicenseSpecificationsForResourceResponse, AWSError>;
|
126 | /**
|
127 | * Updates License Manager service settings.
|
128 | */
|
129 | updateServiceSettings(params: LicenseManager.Types.UpdateServiceSettingsRequest, callback?: (err: AWSError, data: LicenseManager.Types.UpdateServiceSettingsResponse) => void): Request<LicenseManager.Types.UpdateServiceSettingsResponse, AWSError>;
|
130 | /**
|
131 | * Updates License Manager service settings.
|
132 | */
|
133 | updateServiceSettings(callback?: (err: AWSError, data: LicenseManager.Types.UpdateServiceSettingsResponse) => void): Request<LicenseManager.Types.UpdateServiceSettingsResponse, AWSError>;
|
134 | }
|
135 | declare namespace LicenseManager {
|
136 | export type Boolean = boolean;
|
137 | export type BoxBoolean = boolean;
|
138 | export type BoxInteger = number;
|
139 | export type BoxLong = number;
|
140 | export interface ConsumedLicenseSummary {
|
141 | |
142 |
|
143 |
|
144 | ResourceType?: ResourceType;
|
145 | |
146 |
|
147 |
|
148 | ConsumedLicenses?: BoxLong;
|
149 | }
|
150 | export type ConsumedLicenseSummaryList = ConsumedLicenseSummary[];
|
151 | export interface CreateLicenseConfigurationRequest {
|
152 | |
153 |
|
154 |
|
155 | Name: String;
|
156 | |
157 |
|
158 |
|
159 | Description?: String;
|
160 | |
161 |
|
162 |
|
163 | LicenseCountingType: LicenseCountingType;
|
164 | |
165 |
|
166 |
|
167 | LicenseCount?: BoxLong;
|
168 | |
169 |
|
170 |
|
171 | LicenseCountHardLimit?: BoxBoolean;
|
172 | |
173 |
|
174 |
|
175 | LicenseRules?: StringList;
|
176 | |
177 |
|
178 |
|
179 | Tags?: TagList;
|
180 | }
|
181 | export interface CreateLicenseConfigurationResponse {
|
182 | |
183 |
|
184 |
|
185 | LicenseConfigurationArn?: String;
|
186 | }
|
187 | export type DateTime = Date;
|
188 | export interface DeleteLicenseConfigurationRequest {
|
189 | |
190 |
|
191 |
|
192 | LicenseConfigurationArn: String;
|
193 | }
|
194 | export interface DeleteLicenseConfigurationResponse {
|
195 | }
|
196 | export interface Filter {
|
197 | |
198 |
|
199 |
|
200 | Name?: FilterName;
|
201 | |
202 |
|
203 |
|
204 | Values?: FilterValues;
|
205 | }
|
206 | export type FilterName = string;
|
207 | export type FilterValue = string;
|
208 | export type FilterValues = FilterValue[];
|
209 | export type Filters = Filter[];
|
210 | export interface GetLicenseConfigurationRequest {
|
211 | |
212 |
|
213 |
|
214 | LicenseConfigurationArn: String;
|
215 | }
|
216 | export interface GetLicenseConfigurationResponse {
|
217 | |
218 |
|
219 |
|
220 | LicenseConfigurationId?: String;
|
221 | |
222 |
|
223 |
|
224 | LicenseConfigurationArn?: String;
|
225 | |
226 |
|
227 |
|
228 | Name?: String;
|
229 | |
230 |
|
231 |
|
232 | Description?: String;
|
233 | |
234 |
|
235 |
|
236 | LicenseCountingType?: LicenseCountingType;
|
237 | |
238 |
|
239 |
|
240 | LicenseRules?: StringList;
|
241 | |
242 |
|
243 |
|
244 | LicenseCount?: BoxLong;
|
245 | |
246 |
|
247 |
|
248 | LicenseCountHardLimit?: BoxBoolean;
|
249 | |
250 |
|
251 |
|
252 | ConsumedLicenses?: BoxLong;
|
253 | |
254 |
|
255 |
|
256 | Status?: String;
|
257 | |
258 |
|
259 |
|
260 | OwnerAccountId?: String;
|
261 | |
262 |
|
263 |
|
264 | ConsumedLicenseSummaryList?: ConsumedLicenseSummaryList;
|
265 | |
266 |
|
267 |
|
268 | ManagedResourceSummaryList?: ManagedResourceSummaryList;
|
269 | |
270 |
|
271 |
|
272 | Tags?: TagList;
|
273 | }
|
274 | export interface GetServiceSettingsRequest {
|
275 | }
|
276 | export interface GetServiceSettingsResponse {
|
277 | |
278 |
|
279 |
|
280 | S3BucketArn?: String;
|
281 | |
282 |
|
283 |
|
284 | SnsTopicArn?: String;
|
285 | |
286 |
|
287 |
|
288 | OrganizationConfiguration?: OrganizationConfiguration;
|
289 | |
290 |
|
291 |
|
292 | EnableCrossAccountsDiscovery?: BoxBoolean;
|
293 | }
|
294 | export interface InventoryFilter {
|
295 | |
296 |
|
297 |
|
298 | Name: String;
|
299 | |
300 |
|
301 |
|
302 | Condition: InventoryFilterCondition;
|
303 | |
304 |
|
305 |
|
306 | Value?: String;
|
307 | }
|
308 | export type InventoryFilterCondition = "EQUALS"|"NOT_EQUALS"|"BEGINS_WITH"|"CONTAINS"|string;
|
309 | export type InventoryFilterList = InventoryFilter[];
|
310 | export interface LicenseConfiguration {
|
311 | |
312 |
|
313 |
|
314 | LicenseConfigurationId?: String;
|
315 | |
316 |
|
317 |
|
318 | LicenseConfigurationArn?: String;
|
319 | |
320 |
|
321 |
|
322 | Name?: String;
|
323 | |
324 |
|
325 |
|
326 | Description?: String;
|
327 | |
328 |
|
329 |
|
330 | LicenseCountingType?: LicenseCountingType;
|
331 | |
332 |
|
333 |
|
334 | LicenseRules?: StringList;
|
335 | |
336 |
|
337 |
|
338 | LicenseCount?: BoxLong;
|
339 | |
340 |
|
341 |
|
342 | LicenseCountHardLimit?: BoxBoolean;
|
343 | |
344 |
|
345 |
|
346 | ConsumedLicenses?: BoxLong;
|
347 | |
348 |
|
349 |
|
350 | Status?: String;
|
351 | |
352 |
|
353 |
|
354 | OwnerAccountId?: String;
|
355 | |
356 |
|
357 |
|
358 | ConsumedLicenseSummaryList?: ConsumedLicenseSummaryList;
|
359 | |
360 |
|
361 |
|
362 | ManagedResourceSummaryList?: ManagedResourceSummaryList;
|
363 | }
|
364 | export interface LicenseConfigurationAssociation {
|
365 | |
366 |
|
367 |
|
368 | ResourceArn?: String;
|
369 | |
370 |
|
371 |
|
372 | ResourceType?: ResourceType;
|
373 | |
374 |
|
375 |
|
376 | ResourceOwnerId?: String;
|
377 | |
378 |
|
379 |
|
380 | AssociationTime?: DateTime;
|
381 | }
|
382 | export type LicenseConfigurationAssociations = LicenseConfigurationAssociation[];
|
383 | export type LicenseConfigurationStatus = "AVAILABLE"|"DISABLED"|string;
|
384 | export interface LicenseConfigurationUsage {
|
385 | |
386 |
|
387 |
|
388 | ResourceArn?: String;
|
389 | |
390 |
|
391 |
|
392 | ResourceType?: ResourceType;
|
393 | |
394 |
|
395 |
|
396 | ResourceStatus?: String;
|
397 | |
398 |
|
399 |
|
400 | ResourceOwnerId?: String;
|
401 | |
402 |
|
403 |
|
404 | AssociationTime?: DateTime;
|
405 | |
406 |
|
407 |
|
408 | ConsumedLicenses?: BoxLong;
|
409 | }
|
410 | export type LicenseConfigurationUsageList = LicenseConfigurationUsage[];
|
411 | export type LicenseConfigurations = LicenseConfiguration[];
|
412 | export type LicenseCountingType = "vCPU"|"Instance"|"Core"|"Socket"|string;
|
413 | export interface LicenseSpecification {
|
414 | |
415 |
|
416 |
|
417 | LicenseConfigurationArn: String;
|
418 | }
|
419 | export type LicenseSpecifications = LicenseSpecification[];
|
420 | export interface ListAssociationsForLicenseConfigurationRequest {
|
421 | |
422 |
|
423 |
|
424 | LicenseConfigurationArn: String;
|
425 | |
426 |
|
427 |
|
428 | MaxResults?: BoxInteger;
|
429 | |
430 |
|
431 |
|
432 | NextToken?: String;
|
433 | }
|
434 | export interface ListAssociationsForLicenseConfigurationResponse {
|
435 | |
436 |
|
437 |
|
438 | LicenseConfigurationAssociations?: LicenseConfigurationAssociations;
|
439 | |
440 |
|
441 |
|
442 | NextToken?: String;
|
443 | }
|
444 | export interface ListLicenseConfigurationsRequest {
|
445 | |
446 |
|
447 |
|
448 | LicenseConfigurationArns?: StringList;
|
449 | |
450 |
|
451 |
|
452 | MaxResults?: BoxInteger;
|
453 | |
454 |
|
455 |
|
456 | NextToken?: String;
|
457 | |
458 |
|
459 |
|
460 | Filters?: Filters;
|
461 | }
|
462 | export interface ListLicenseConfigurationsResponse {
|
463 | |
464 |
|
465 |
|
466 | LicenseConfigurations?: LicenseConfigurations;
|
467 | |
468 |
|
469 |
|
470 | NextToken?: String;
|
471 | }
|
472 | export interface ListLicenseSpecificationsForResourceRequest {
|
473 | |
474 |
|
475 |
|
476 | ResourceArn: String;
|
477 | |
478 |
|
479 |
|
480 | MaxResults?: BoxInteger;
|
481 | |
482 |
|
483 |
|
484 | NextToken?: String;
|
485 | }
|
486 | export interface ListLicenseSpecificationsForResourceResponse {
|
487 | |
488 |
|
489 |
|
490 | LicenseSpecifications?: LicenseSpecifications;
|
491 | |
492 |
|
493 |
|
494 | NextToken?: String;
|
495 | }
|
496 | export interface ListResourceInventoryRequest {
|
497 | |
498 |
|
499 |
|
500 | MaxResults?: BoxInteger;
|
501 | |
502 |
|
503 |
|
504 | NextToken?: String;
|
505 | |
506 |
|
507 |
|
508 | Filters?: InventoryFilterList;
|
509 | }
|
510 | export interface ListResourceInventoryResponse {
|
511 | |
512 |
|
513 |
|
514 | ResourceInventoryList?: ResourceInventoryList;
|
515 | |
516 |
|
517 |
|
518 | NextToken?: String;
|
519 | }
|
520 | export interface ListTagsForResourceRequest {
|
521 | |
522 |
|
523 |
|
524 | ResourceArn: String;
|
525 | }
|
526 | export interface ListTagsForResourceResponse {
|
527 | |
528 |
|
529 |
|
530 | Tags?: TagList;
|
531 | }
|
532 | export interface ListUsageForLicenseConfigurationRequest {
|
533 | |
534 |
|
535 |
|
536 | LicenseConfigurationArn: String;
|
537 | |
538 |
|
539 |
|
540 | MaxResults?: BoxInteger;
|
541 | |
542 |
|
543 |
|
544 | NextToken?: String;
|
545 | |
546 |
|
547 |
|
548 | Filters?: Filters;
|
549 | }
|
550 | export interface ListUsageForLicenseConfigurationResponse {
|
551 | |
552 |
|
553 |
|
554 | LicenseConfigurationUsageList?: LicenseConfigurationUsageList;
|
555 | |
556 |
|
557 |
|
558 | NextToken?: String;
|
559 | }
|
560 | export interface ManagedResourceSummary {
|
561 | |
562 |
|
563 |
|
564 | ResourceType?: ResourceType;
|
565 | |
566 |
|
567 |
|
568 | AssociationCount?: BoxLong;
|
569 | }
|
570 | export type ManagedResourceSummaryList = ManagedResourceSummary[];
|
571 | export interface OrganizationConfiguration {
|
572 | |
573 |
|
574 |
|
575 | EnableIntegration: Boolean;
|
576 | }
|
577 | export interface ResourceInventory {
|
578 | |
579 |
|
580 |
|
581 | ResourceId?: String;
|
582 | |
583 |
|
584 |
|
585 | ResourceType?: ResourceType;
|
586 | |
587 |
|
588 |
|
589 | ResourceArn?: String;
|
590 | |
591 |
|
592 |
|
593 | Platform?: String;
|
594 | |
595 |
|
596 |
|
597 | PlatformVersion?: String;
|
598 | |
599 |
|
600 |
|
601 | ResourceOwningAccountId?: String;
|
602 | }
|
603 | export type ResourceInventoryList = ResourceInventory[];
|
604 | export type ResourceType = "EC2_INSTANCE"|"EC2_HOST"|"EC2_AMI"|string;
|
605 | export type String = string;
|
606 | export type StringList = String[];
|
607 | export interface Tag {
|
608 | |
609 |
|
610 |
|
611 | Key?: String;
|
612 | |
613 |
|
614 |
|
615 | Value?: String;
|
616 | }
|
617 | export type TagKeyList = String[];
|
618 | export type TagList = Tag[];
|
619 | export interface TagResourceRequest {
|
620 | |
621 |
|
622 |
|
623 | ResourceArn: String;
|
624 | |
625 |
|
626 |
|
627 | Tags: TagList;
|
628 | }
|
629 | export interface TagResourceResponse {
|
630 | }
|
631 | export interface UntagResourceRequest {
|
632 | |
633 |
|
634 |
|
635 | ResourceArn: String;
|
636 | |
637 |
|
638 |
|
639 | TagKeys: TagKeyList;
|
640 | }
|
641 | export interface UntagResourceResponse {
|
642 | }
|
643 | export interface UpdateLicenseConfigurationRequest {
|
644 | |
645 |
|
646 |
|
647 | LicenseConfigurationArn: String;
|
648 | |
649 |
|
650 |
|
651 | LicenseConfigurationStatus?: LicenseConfigurationStatus;
|
652 | |
653 |
|
654 |
|
655 | LicenseRules?: StringList;
|
656 | |
657 |
|
658 |
|
659 | LicenseCount?: BoxLong;
|
660 | |
661 |
|
662 |
|
663 | LicenseCountHardLimit?: BoxBoolean;
|
664 | |
665 |
|
666 |
|
667 | Name?: String;
|
668 | |
669 |
|
670 |
|
671 | Description?: String;
|
672 | }
|
673 | export interface UpdateLicenseConfigurationResponse {
|
674 | }
|
675 | export interface UpdateLicenseSpecificationsForResourceRequest {
|
676 | |
677 |
|
678 |
|
679 | ResourceArn: String;
|
680 | |
681 |
|
682 |
|
683 | AddLicenseSpecifications?: LicenseSpecifications;
|
684 | |
685 |
|
686 |
|
687 | RemoveLicenseSpecifications?: LicenseSpecifications;
|
688 | }
|
689 | export interface UpdateLicenseSpecificationsForResourceResponse {
|
690 | }
|
691 | export interface UpdateServiceSettingsRequest {
|
692 | |
693 |
|
694 |
|
695 | S3BucketArn?: String;
|
696 | |
697 |
|
698 |
|
699 | SnsTopicArn?: String;
|
700 | |
701 |
|
702 |
|
703 | OrganizationConfiguration?: OrganizationConfiguration;
|
704 | |
705 |
|
706 |
|
707 | EnableCrossAccountsDiscovery?: BoxBoolean;
|
708 | }
|
709 | export interface UpdateServiceSettingsResponse {
|
710 | }
|
711 | |
712 |
|
713 |
|
714 | export type apiVersion = "2018-08-01"|"latest"|string;
|
715 | export interface ClientApiVersions {
|
716 | |
717 |
|
718 |
|
719 | apiVersion?: apiVersion;
|
720 | }
|
721 | export type ClientConfiguration = ServiceConfigurationOptions & ClientApiVersions;
|
722 | |
723 |
|
724 |
|
725 | export import Types = LicenseManager;
|
726 | }
|
727 | export = LicenseManager;
|