aws-sdk-licensemanager 1.10.0 → 1.11.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: ef0aa41e0dd2500c2d1f0a2c67d7596850ad0612
4
- data.tar.gz: f43bbc5273e55be32625ec3ce169336fffc18255
3
+ metadata.gz: d6ffa9ef90a852c42fb6eae750aba8380d12e544
4
+ data.tar.gz: d5bd4f64b99ff9242d117613434542af5777359f
5
5
  SHA512:
6
- metadata.gz: 2ac0af3a0deae8bc473b519d6cfd5e3d0ecd178bc2bd2e41f7c28e7ca5e0fb96de9b0011a4476a6bb0e25ebc25e46642036a3cf5ecf03da30d0dcd6b293ff12b
7
- data.tar.gz: 58498a66945e98f7246160c0bf82e478fffbe0e0d880b86f076a340d135f04228c2faa1d100ecc2c1a795814bc15e731ffd4de5af53ab1bea5bd3270c45708d1
6
+ metadata.gz: be4077f409813e6ad81876b823dd785522886314c2f38c9202b21dad3bb225a6380051eccbbfd768c1f0709eb335e5c01e04ac94896c02b4156db179c4272dde
7
+ data.tar.gz: a5658b36ef0f8b4866024fa8ecfeddc8fb34a16b36ec3016791a5d2770d7d44353e90c933cfd0a66e647ed4ed670af6f1afc59a4349773d076a8e3542b9aece0
@@ -42,6 +42,6 @@ require_relative 'aws-sdk-licensemanager/customizations'
42
42
  # @service
43
43
  module Aws::LicenseManager
44
44
 
45
- GEM_VERSION = '1.10.0'
45
+ GEM_VERSION = '1.11.0'
46
46
 
47
47
  end
@@ -264,39 +264,54 @@ module Aws::LicenseManager
264
264
 
265
265
  # @!group API Operations
266
266
 
267
- # Creates a new license configuration object. A license configuration is
268
- # an abstraction of a customer license agreement that can be consumed
269
- # and enforced by License Manager. Components include specifications for
270
- # the license type (licensing by instance, socket, CPU, or VCPU),
271
- # tenancy (shared tenancy, Amazon EC2 Dedicated Instance, Amazon EC2
272
- # Dedicated Host, or any of these), host affinity (how long a VM must be
273
- # associated with a host), the number of licenses purchased and used.
267
+ # Creates a license configuration.
268
+ #
269
+ # A license configuration is an abstraction of a customer license
270
+ # agreement that can be consumed and enforced by License Manager.
271
+ # Components include specifications for the license type (licensing by
272
+ # instance, socket, CPU, or vCPU), allowed tenancy (shared tenancy,
273
+ # Dedicated Instance, Dedicated Host, or all of these), host affinity
274
+ # (how long a VM must be associated with a host), and the number of
275
+ # licenses purchased and used.
274
276
  #
275
277
  # @option params [required, String] :name
276
278
  # Name of the license configuration.
277
279
  #
278
280
  # @option params [String] :description
279
- # Human-friendly description of the license configuration.
281
+ # Description of the license configuration.
280
282
  #
281
283
  # @option params [required, String] :license_counting_type
282
- # Dimension to use to track the license inventory.
284
+ # Dimension used to track the license inventory.
283
285
  #
284
286
  # @option params [Integer] :license_count
285
287
  # Number of licenses managed by the license configuration.
286
288
  #
287
289
  # @option params [Boolean] :license_count_hard_limit
288
- # Flag indicating whether hard or soft license enforcement is used.
289
- # Exceeding a hard limit results in the blocked deployment of new
290
- # instances.
290
+ # Indicates whether hard or soft license enforcement is used. Exceeding
291
+ # a hard limit blocks the launch of new instances.
291
292
  #
292
293
  # @option params [Array<String>] :license_rules
293
- # Array of configured License Manager rules.
294
+ # License rules. The syntax is #name=value (for example,
295
+ # #allowedTenancy=EC2-DedicatedHost). Available rules vary by dimension.
296
+ #
297
+ # * `Cores` dimension: `allowedTenancy` \| `maximumCores` \|
298
+ # `minimumCores`
299
+ #
300
+ # * `Instances` dimension: `allowedTenancy` \| `maximumCores` \|
301
+ # `minimumCores` \| `maximumSockets` \| `minimumSockets` \|
302
+ # `maximumVcpus` \| `minimumVcpus`
303
+ #
304
+ # * `Sockets` dimension: `allowedTenancy` \| `maximumSockets` \|
305
+ # `minimumSockets`
306
+ #
307
+ # * `vCPUs` dimension: `allowedTenancy` \| `honorVcpuOptimization` \|
308
+ # `maximumVcpus` \| `minimumVcpus`
294
309
  #
295
310
  # @option params [Array<Types::Tag>] :tags
296
- # The tags to apply to the resources during launch. You can only tag
297
- # instances and volumes on launch. The specified tags are applied to all
298
- # instances or volumes that are created during launch. To tag a resource
299
- # after it has been created, see CreateTags .
311
+ # Tags to add to the license configuration.
312
+ #
313
+ # @option params [Array<Types::ProductInformation>] :product_information_list
314
+ # Product information.
300
315
  #
301
316
  # @return [Types::CreateLicenseConfigurationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
302
317
  #
@@ -317,6 +332,18 @@ module Aws::LicenseManager
317
332
  # value: "String",
318
333
  # },
319
334
  # ],
335
+ # product_information_list: [
336
+ # {
337
+ # resource_type: "String", # required
338
+ # product_information_filter_list: [ # required
339
+ # {
340
+ # product_information_filter_name: "String", # required
341
+ # product_information_filter_value: ["String"], # required
342
+ # product_information_filter_comparator: "String", # required
343
+ # },
344
+ # ],
345
+ # },
346
+ # ],
320
347
  # })
321
348
  #
322
349
  # @example Response structure
@@ -332,11 +359,12 @@ module Aws::LicenseManager
332
359
  req.send_request(options)
333
360
  end
334
361
 
335
- # Deletes an existing license configuration. This action fails if the
336
- # configuration is in use.
362
+ # Deletes the specified license configuration.
363
+ #
364
+ # You cannot delete a license configuration that is in use.
337
365
  #
338
366
  # @option params [required, String] :license_configuration_arn
339
- # Unique ID of the configuration object to delete.
367
+ # ID of the license configuration.
340
368
  #
341
369
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
342
370
  #
@@ -355,10 +383,10 @@ module Aws::LicenseManager
355
383
  req.send_request(options)
356
384
  end
357
385
 
358
- # Returns a detailed description of a license configuration.
386
+ # Gets detailed information about the specified license configuration.
359
387
  #
360
388
  # @option params [required, String] :license_configuration_arn
361
- # ARN of the license configuration being requested.
389
+ # Amazon Resource Name (ARN) of the license configuration.
362
390
  #
363
391
  # @return [Types::GetLicenseConfigurationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
364
392
  #
@@ -376,6 +404,8 @@ module Aws::LicenseManager
376
404
  # * {Types::GetLicenseConfigurationResponse#consumed_license_summary_list #consumed_license_summary_list} => Array&lt;Types::ConsumedLicenseSummary&gt;
377
405
  # * {Types::GetLicenseConfigurationResponse#managed_resource_summary_list #managed_resource_summary_list} => Array&lt;Types::ManagedResourceSummary&gt;
378
406
  # * {Types::GetLicenseConfigurationResponse#tags #tags} => Array&lt;Types::Tag&gt;
407
+ # * {Types::GetLicenseConfigurationResponse#product_information_list #product_information_list} => Array&lt;Types::ProductInformation&gt;
408
+ # * {Types::GetLicenseConfigurationResponse#automated_discovery_information #automated_discovery_information} => Types::AutomatedDiscoveryInformation
379
409
  #
380
410
  # @example Request syntax with placeholder values
381
411
  #
@@ -398,14 +428,22 @@ module Aws::LicenseManager
398
428
  # resp.status #=> String
399
429
  # resp.owner_account_id #=> String
400
430
  # resp.consumed_license_summary_list #=> Array
401
- # resp.consumed_license_summary_list[0].resource_type #=> String, one of "EC2_INSTANCE", "EC2_HOST", "EC2_AMI"
431
+ # resp.consumed_license_summary_list[0].resource_type #=> String, one of "EC2_INSTANCE", "EC2_HOST", "EC2_AMI", "RDS", "SYSTEMS_MANAGER_MANAGED_INSTANCE"
402
432
  # resp.consumed_license_summary_list[0].consumed_licenses #=> Integer
403
433
  # resp.managed_resource_summary_list #=> Array
404
- # resp.managed_resource_summary_list[0].resource_type #=> String, one of "EC2_INSTANCE", "EC2_HOST", "EC2_AMI"
434
+ # resp.managed_resource_summary_list[0].resource_type #=> String, one of "EC2_INSTANCE", "EC2_HOST", "EC2_AMI", "RDS", "SYSTEMS_MANAGER_MANAGED_INSTANCE"
405
435
  # resp.managed_resource_summary_list[0].association_count #=> Integer
406
436
  # resp.tags #=> Array
407
437
  # resp.tags[0].key #=> String
408
438
  # resp.tags[0].value #=> String
439
+ # resp.product_information_list #=> Array
440
+ # resp.product_information_list[0].resource_type #=> String
441
+ # resp.product_information_list[0].product_information_filter_list #=> Array
442
+ # resp.product_information_list[0].product_information_filter_list[0].product_information_filter_name #=> String
443
+ # resp.product_information_list[0].product_information_filter_list[0].product_information_filter_value #=> Array
444
+ # resp.product_information_list[0].product_information_filter_list[0].product_information_filter_value[0] #=> String
445
+ # resp.product_information_list[0].product_information_filter_list[0].product_information_filter_comparator #=> String
446
+ # resp.automated_discovery_information.last_run_time #=> Time
409
447
  #
410
448
  # @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/GetLicenseConfiguration AWS API Documentation
411
449
  #
@@ -416,8 +454,7 @@ module Aws::LicenseManager
416
454
  req.send_request(options)
417
455
  end
418
456
 
419
- # Gets License Manager settings for a region. Exposes the configured S3
420
- # bucket, SNS topic, etc., for inspection.
457
+ # Gets the License Manager settings for the current Region.
421
458
  #
422
459
  # @return [Types::GetServiceSettingsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
423
460
  #
@@ -425,6 +462,7 @@ module Aws::LicenseManager
425
462
  # * {Types::GetServiceSettingsResponse#sns_topic_arn #sns_topic_arn} => String
426
463
  # * {Types::GetServiceSettingsResponse#organization_configuration #organization_configuration} => Types::OrganizationConfiguration
427
464
  # * {Types::GetServiceSettingsResponse#enable_cross_accounts_discovery #enable_cross_accounts_discovery} => Boolean
465
+ # * {Types::GetServiceSettingsResponse#license_manager_resource_share_arn #license_manager_resource_share_arn} => String
428
466
  #
429
467
  # @example Response structure
430
468
  #
@@ -432,6 +470,7 @@ module Aws::LicenseManager
432
470
  # resp.sns_topic_arn #=> String
433
471
  # resp.organization_configuration.enable_integration #=> Boolean
434
472
  # resp.enable_cross_accounts_discovery #=> Boolean
473
+ # resp.license_manager_resource_share_arn #=> String
435
474
  #
436
475
  # @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/GetServiceSettings AWS API Documentation
437
476
  #
@@ -442,19 +481,18 @@ module Aws::LicenseManager
442
481
  req.send_request(options)
443
482
  end
444
483
 
445
- # Lists the resource associations for a license configuration. Resource
446
- # associations need not consume licenses from a license configuration.
447
- # For example, an AMI or a stopped instance may not consume a license
448
- # (depending on the license rules). Use this operation to find all
449
- # resources associated with a license configuration.
484
+ # Lists the resource associations for the specified license
485
+ # configuration.
486
+ #
487
+ # Resource associations need not consume licenses from a license
488
+ # configuration. For example, an AMI or a stopped instance might not
489
+ # consume a license (depending on the license rules).
450
490
  #
451
491
  # @option params [required, String] :license_configuration_arn
452
- # ARN of a `LicenseConfiguration` object.
492
+ # Amazon Resource Name (ARN) of a license configuration.
453
493
  #
454
494
  # @option params [Integer] :max_results
455
- # Maximum number of results to return in a single call. To retrieve the
456
- # remaining results, make another call with the returned `NextToken`
457
- # value.
495
+ # Maximum number of results to return in a single call.
458
496
  #
459
497
  # @option params [String] :next_token
460
498
  # Token for the next set of results.
@@ -476,7 +514,7 @@ module Aws::LicenseManager
476
514
  #
477
515
  # resp.license_configuration_associations #=> Array
478
516
  # resp.license_configuration_associations[0].resource_arn #=> String
479
- # resp.license_configuration_associations[0].resource_type #=> String, one of "EC2_INSTANCE", "EC2_HOST", "EC2_AMI"
517
+ # resp.license_configuration_associations[0].resource_type #=> String, one of "EC2_INSTANCE", "EC2_HOST", "EC2_AMI", "RDS", "SYSTEMS_MANAGER_MANAGED_INSTANCE"
480
518
  # resp.license_configuration_associations[0].resource_owner_id #=> String
481
519
  # resp.license_configuration_associations[0].association_time #=> Time
482
520
  # resp.next_token #=> String
@@ -490,23 +528,79 @@ module Aws::LicenseManager
490
528
  req.send_request(options)
491
529
  end
492
530
 
493
- # Lists license configuration objects for an account, each containing
494
- # the name, description, license type, and other license terms modeled
495
- # from a license agreement.
531
+ # Lists the license configuration operations that failed.
532
+ #
533
+ # @option params [required, String] :license_configuration_arn
534
+ # Amazon Resource Name of the license configuration.
535
+ #
536
+ # @option params [Integer] :max_results
537
+ # Maximum number of results to return in a single call.
538
+ #
539
+ # @option params [String] :next_token
540
+ # Token for the next set of results.
541
+ #
542
+ # @return [Types::ListFailuresForLicenseConfigurationOperationsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
543
+ #
544
+ # * {Types::ListFailuresForLicenseConfigurationOperationsResponse#license_operation_failure_list #license_operation_failure_list} => Array&lt;Types::LicenseOperationFailure&gt;
545
+ # * {Types::ListFailuresForLicenseConfigurationOperationsResponse#next_token #next_token} => String
546
+ #
547
+ # @example Request syntax with placeholder values
548
+ #
549
+ # resp = client.list_failures_for_license_configuration_operations({
550
+ # license_configuration_arn: "String", # required
551
+ # max_results: 1,
552
+ # next_token: "String",
553
+ # })
554
+ #
555
+ # @example Response structure
556
+ #
557
+ # resp.license_operation_failure_list #=> Array
558
+ # resp.license_operation_failure_list[0].resource_arn #=> String
559
+ # resp.license_operation_failure_list[0].resource_type #=> String, one of "EC2_INSTANCE", "EC2_HOST", "EC2_AMI", "RDS", "SYSTEMS_MANAGER_MANAGED_INSTANCE"
560
+ # resp.license_operation_failure_list[0].error_message #=> String
561
+ # resp.license_operation_failure_list[0].failure_time #=> Time
562
+ # resp.license_operation_failure_list[0].operation_name #=> String
563
+ # resp.license_operation_failure_list[0].resource_owner_id #=> String
564
+ # resp.license_operation_failure_list[0].operation_requested_by #=> String
565
+ # resp.license_operation_failure_list[0].metadata_list #=> Array
566
+ # resp.license_operation_failure_list[0].metadata_list[0].name #=> String
567
+ # resp.license_operation_failure_list[0].metadata_list[0].value #=> String
568
+ # resp.next_token #=> String
569
+ #
570
+ # @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/ListFailuresForLicenseConfigurationOperations AWS API Documentation
571
+ #
572
+ # @overload list_failures_for_license_configuration_operations(params = {})
573
+ # @param [Hash] params ({})
574
+ def list_failures_for_license_configuration_operations(params = {}, options = {})
575
+ req = build_request(:list_failures_for_license_configuration_operations, params)
576
+ req.send_request(options)
577
+ end
578
+
579
+ # Lists the license configurations for your account.
496
580
  #
497
581
  # @option params [Array<String>] :license_configuration_arns
498
- # An array of ARNs for the calling account’s license configurations.
582
+ # Amazon Resource Names (ARN) of the license configurations.
499
583
  #
500
584
  # @option params [Integer] :max_results
501
- # Maximum number of results to return in a single call. To retrieve the
502
- # remaining results, make another call with the returned `NextToken`
503
- # value.
585
+ # Maximum number of results to return in a single call.
504
586
  #
505
587
  # @option params [String] :next_token
506
588
  # Token for the next set of results.
507
589
  #
508
590
  # @option params [Array<Types::Filter>] :filters
509
- # One or more filters.
591
+ # Filters to scope the results. The following filters and logical
592
+ # operators are supported:
593
+ #
594
+ # * `licenseCountingType` - The dimension on which licenses are counted
595
+ # (vCPU). Logical operators are `EQUALS` \| `NOT_EQUALS`.
596
+ #
597
+ # * `enforceLicenseCount` - A Boolean value that indicates whether hard
598
+ # license enforcement is used. Logical operators are `EQUALS` \|
599
+ # `NOT_EQUALS`.
600
+ #
601
+ # * `usagelimitExceeded` - A Boolean value that indicates whether the
602
+ # available licenses have been exceeded. Logical operators are
603
+ # `EQUALS` \| `NOT_EQUALS`.
510
604
  #
511
605
  # @return [Types::ListLicenseConfigurationsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
512
606
  #
@@ -543,11 +637,19 @@ module Aws::LicenseManager
543
637
  # resp.license_configurations[0].status #=> String
544
638
  # resp.license_configurations[0].owner_account_id #=> String
545
639
  # resp.license_configurations[0].consumed_license_summary_list #=> Array
546
- # resp.license_configurations[0].consumed_license_summary_list[0].resource_type #=> String, one of "EC2_INSTANCE", "EC2_HOST", "EC2_AMI"
640
+ # resp.license_configurations[0].consumed_license_summary_list[0].resource_type #=> String, one of "EC2_INSTANCE", "EC2_HOST", "EC2_AMI", "RDS", "SYSTEMS_MANAGER_MANAGED_INSTANCE"
547
641
  # resp.license_configurations[0].consumed_license_summary_list[0].consumed_licenses #=> Integer
548
642
  # resp.license_configurations[0].managed_resource_summary_list #=> Array
549
- # resp.license_configurations[0].managed_resource_summary_list[0].resource_type #=> String, one of "EC2_INSTANCE", "EC2_HOST", "EC2_AMI"
643
+ # resp.license_configurations[0].managed_resource_summary_list[0].resource_type #=> String, one of "EC2_INSTANCE", "EC2_HOST", "EC2_AMI", "RDS", "SYSTEMS_MANAGER_MANAGED_INSTANCE"
550
644
  # resp.license_configurations[0].managed_resource_summary_list[0].association_count #=> Integer
645
+ # resp.license_configurations[0].product_information_list #=> Array
646
+ # resp.license_configurations[0].product_information_list[0].resource_type #=> String
647
+ # resp.license_configurations[0].product_information_list[0].product_information_filter_list #=> Array
648
+ # resp.license_configurations[0].product_information_list[0].product_information_filter_list[0].product_information_filter_name #=> String
649
+ # resp.license_configurations[0].product_information_list[0].product_information_filter_list[0].product_information_filter_value #=> Array
650
+ # resp.license_configurations[0].product_information_list[0].product_information_filter_list[0].product_information_filter_value[0] #=> String
651
+ # resp.license_configurations[0].product_information_list[0].product_information_filter_list[0].product_information_filter_comparator #=> String
652
+ # resp.license_configurations[0].automated_discovery_information.last_run_time #=> Time
551
653
  # resp.next_token #=> String
552
654
  #
553
655
  # @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/ListLicenseConfigurations AWS API Documentation
@@ -559,16 +661,14 @@ module Aws::LicenseManager
559
661
  req.send_request(options)
560
662
  end
561
663
 
562
- # Returns the license configuration for a resource.
664
+ # Describes the license configurations for the specified resource.
563
665
  #
564
666
  # @option params [required, String] :resource_arn
565
- # ARN of an AMI or Amazon EC2 instance that has an associated license
566
- # configuration.
667
+ # Amazon Resource Name (ARN) of a resource that has an associated
668
+ # license configuration.
567
669
  #
568
670
  # @option params [Integer] :max_results
569
- # Maximum number of results to return in a single call. To retrieve the
570
- # remaining results, make another call with the returned `NextToken`
571
- # value.
671
+ # Maximum number of results to return in a single call.
572
672
  #
573
673
  # @option params [String] :next_token
574
674
  # Token for the next set of results.
@@ -601,18 +701,34 @@ module Aws::LicenseManager
601
701
  req.send_request(options)
602
702
  end
603
703
 
604
- # Returns a detailed list of resources.
704
+ # Lists resources managed using Systems Manager inventory.
605
705
  #
606
706
  # @option params [Integer] :max_results
607
- # Maximum number of results to return in a single call. To retrieve the
608
- # remaining results, make another call with the returned `NextToken`
609
- # value.
707
+ # Maximum number of results to return in a single call.
610
708
  #
611
709
  # @option params [String] :next_token
612
710
  # Token for the next set of results.
613
711
  #
614
712
  # @option params [Array<Types::InventoryFilter>] :filters
615
- # One or more filters.
713
+ # Filters to scope the results. The following filters and logical
714
+ # operators are supported:
715
+ #
716
+ # * `account_id` - The ID of the AWS account that owns the resource.
717
+ # Logical operators are `EQUALS` \| `NOT_EQUALS`.
718
+ #
719
+ # * `application_name` - The name of the application. Logical operators
720
+ # are `EQUALS` \| `BEGINS_WITH`.
721
+ #
722
+ # * `license_included` - The type of license included. Logical operators
723
+ # are `EQUALS` \| `NOT_EQUALS`. Possible values are
724
+ # `sql-server-enterprise` \| `sql-server-standard` \| `sql-server-web`
725
+ # \| `windows-server-datacenter`.
726
+ #
727
+ # * `platform` - The platform of the resource. Logical operators are
728
+ # `EQUALS` \| `BEGINS_WITH`.
729
+ #
730
+ # * `resource_id` - The ID of the resource. Logical operators are
731
+ # `EQUALS` \| `NOT_EQUALS`.
616
732
  #
617
733
  # @return [Types::ListResourceInventoryResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
618
734
  #
@@ -637,7 +753,7 @@ module Aws::LicenseManager
637
753
  #
638
754
  # resp.resource_inventory_list #=> Array
639
755
  # resp.resource_inventory_list[0].resource_id #=> String
640
- # resp.resource_inventory_list[0].resource_type #=> String, one of "EC2_INSTANCE", "EC2_HOST", "EC2_AMI"
756
+ # resp.resource_inventory_list[0].resource_type #=> String, one of "EC2_INSTANCE", "EC2_HOST", "EC2_AMI", "RDS", "SYSTEMS_MANAGER_MANAGED_INSTANCE"
641
757
  # resp.resource_inventory_list[0].resource_arn #=> String
642
758
  # resp.resource_inventory_list[0].platform #=> String
643
759
  # resp.resource_inventory_list[0].platform_version #=> String
@@ -653,10 +769,10 @@ module Aws::LicenseManager
653
769
  req.send_request(options)
654
770
  end
655
771
 
656
- # Lists tags attached to a resource.
772
+ # Lists the tags for the specified license configuration.
657
773
  #
658
774
  # @option params [required, String] :resource_arn
659
- # ARN for the resource.
775
+ # Amazon Resource Name (ARN) of the license configuration.
660
776
  #
661
777
  # @return [Types::ListTagsForResourceResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
662
778
  #
@@ -689,18 +805,27 @@ module Aws::LicenseManager
689
805
  # any license inventory and configuration.
690
806
  #
691
807
  # @option params [required, String] :license_configuration_arn
692
- # ARN of the targeted `LicenseConfiguration` object.
808
+ # Amazon Resource Name (ARN) of the license configuration.
693
809
  #
694
810
  # @option params [Integer] :max_results
695
- # Maximum number of results to return in a single call. To retrieve the
696
- # remaining results, make another call with the returned `NextToken`
697
- # value.
811
+ # Maximum number of results to return in a single call.
698
812
  #
699
813
  # @option params [String] :next_token
700
814
  # Token for the next set of results.
701
815
  #
702
816
  # @option params [Array<Types::Filter>] :filters
703
- # List of filters to apply.
817
+ # Filters to scope the results. The following filters and logical
818
+ # operators are supported:
819
+ #
820
+ # * `resourceArn` - The ARN of the license configuration resource.
821
+ # Logical operators are `EQUALS` \| `NOT_EQUALS`.
822
+ #
823
+ # * `resourceType` - The resource type (EC2\_INSTANCE \| EC2\_HOST \|
824
+ # EC2\_AMI \| SYSTEMS\_MANAGER\_MANAGED\_INSTANCE). Logical operators
825
+ # are `EQUALS` \| `NOT_EQUALS`.
826
+ #
827
+ # * `resourceAccount` - The ID of the account that owns the resource.
828
+ # Logical operators are `EQUALS` \| `NOT_EQUALS`.
704
829
  #
705
830
  # @return [Types::ListUsageForLicenseConfigurationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
706
831
  #
@@ -725,7 +850,7 @@ module Aws::LicenseManager
725
850
  #
726
851
  # resp.license_configuration_usage_list #=> Array
727
852
  # resp.license_configuration_usage_list[0].resource_arn #=> String
728
- # resp.license_configuration_usage_list[0].resource_type #=> String, one of "EC2_INSTANCE", "EC2_HOST", "EC2_AMI"
853
+ # resp.license_configuration_usage_list[0].resource_type #=> String, one of "EC2_INSTANCE", "EC2_HOST", "EC2_AMI", "RDS", "SYSTEMS_MANAGER_MANAGED_INSTANCE"
729
854
  # resp.license_configuration_usage_list[0].resource_status #=> String
730
855
  # resp.license_configuration_usage_list[0].resource_owner_id #=> String
731
856
  # resp.license_configuration_usage_list[0].association_time #=> Time
@@ -741,13 +866,13 @@ module Aws::LicenseManager
741
866
  req.send_request(options)
742
867
  end
743
868
 
744
- # Attach one of more tags to any resource.
869
+ # Adds the specified tags to the specified license configuration.
745
870
  #
746
871
  # @option params [required, String] :resource_arn
747
- # Resource of the ARN to be tagged.
872
+ # Amazon Resource Name (ARN) of the license configuration.
748
873
  #
749
874
  # @option params [required, Array<Types::Tag>] :tags
750
- # Names of the tags to attach to the resource.
875
+ # One or more tags.
751
876
  #
752
877
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
753
878
  #
@@ -772,13 +897,13 @@ module Aws::LicenseManager
772
897
  req.send_request(options)
773
898
  end
774
899
 
775
- # Remove tags from a resource.
900
+ # Removes the specified tags from the specified license configuration.
776
901
  #
777
902
  # @option params [required, String] :resource_arn
778
- # ARN of the resource.
903
+ # Amazon Resource Name (ARN) of the license configuration.
779
904
  #
780
905
  # @option params [required, Array<String>] :tag_keys
781
- # List keys identifying tags to remove.
906
+ # Keys identifying the tags to remove.
782
907
  #
783
908
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
784
909
  #
@@ -798,34 +923,39 @@ module Aws::LicenseManager
798
923
  req.send_request(options)
799
924
  end
800
925
 
801
- # Modifies the attributes of an existing license configuration object. A
802
- # license configuration is an abstraction of a customer license
926
+ # Modifies the attributes of an existing license configuration.
927
+ #
928
+ # A license configuration is an abstraction of a customer license
803
929
  # agreement that can be consumed and enforced by License Manager.
804
- # Components include specifications for the license type (Instances,
805
- # cores, sockets, VCPUs), tenancy (shared or Dedicated Host), host
806
- # affinity (how long a VM is associated with a host), the number of
930
+ # Components include specifications for the license type (licensing by
931
+ # instance, socket, CPU, or vCPU), allowed tenancy (shared tenancy,
932
+ # Dedicated Instance, Dedicated Host, or all of these), host affinity
933
+ # (how long a VM must be associated with a host), and the number of
807
934
  # licenses purchased and used.
808
935
  #
809
936
  # @option params [required, String] :license_configuration_arn
810
- # ARN for a license configuration.
937
+ # Amazon Resource Name (ARN) of the license configuration.
811
938
  #
812
939
  # @option params [String] :license_configuration_status
813
- # New status of the license configuration (`ACTIVE` or `INACTIVE`).
940
+ # New status of the license configuration.
814
941
  #
815
942
  # @option params [Array<String>] :license_rules
816
- # List of flexible text strings designating license rules.
943
+ # New license rules.
817
944
  #
818
945
  # @option params [Integer] :license_count
819
946
  # New number of licenses managed by the license configuration.
820
947
  #
821
948
  # @option params [Boolean] :license_count_hard_limit
822
- # Sets the number of available licenses as a hard limit.
949
+ # New hard limit of the number of available licenses.
823
950
  #
824
951
  # @option params [String] :name
825
952
  # New name of the license configuration.
826
953
  #
827
954
  # @option params [String] :description
828
- # New human-friendly description of the license configuration.
955
+ # New description of the license configuration.
956
+ #
957
+ # @option params [Array<Types::ProductInformation>] :product_information_list
958
+ # New product information.
829
959
  #
830
960
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
831
961
  #
@@ -839,6 +969,18 @@ module Aws::LicenseManager
839
969
  # license_count_hard_limit: false,
840
970
  # name: "String",
841
971
  # description: "String",
972
+ # product_information_list: [
973
+ # {
974
+ # resource_type: "String", # required
975
+ # product_information_filter_list: [ # required
976
+ # {
977
+ # product_information_filter_name: "String", # required
978
+ # product_information_filter_value: ["String"], # required
979
+ # product_information_filter_comparator: "String", # required
980
+ # },
981
+ # ],
982
+ # },
983
+ # ],
842
984
  # })
843
985
  #
844
986
  # @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/UpdateLicenseConfiguration AWS API Documentation
@@ -850,21 +992,22 @@ module Aws::LicenseManager
850
992
  req.send_request(options)
851
993
  end
852
994
 
853
- # Adds or removes license configurations for a specified AWS resource.
854
- # This operation currently supports updating the license specifications
855
- # of AMIs, instances, and hosts. Launch templates and AWS CloudFormation
856
- # templates are not managed from this operation as those resources send
857
- # the license configurations directly to a resource creation operation,
858
- # such as `RunInstances`.
995
+ # Adds or removes the specified license configurations for the specified
996
+ # AWS resource.
997
+ #
998
+ # You can update the license specifications of AMIs, instances, and
999
+ # hosts. You cannot update the license specifications for launch
1000
+ # templates and AWS CloudFormation templates, as they send license
1001
+ # configurations to the operation that creates the resource.
859
1002
  #
860
1003
  # @option params [required, String] :resource_arn
861
- # ARN for an AWS server resource.
1004
+ # Amazon Resource Name (ARN) of the AWS resource.
862
1005
  #
863
1006
  # @option params [Array<Types::LicenseSpecification>] :add_license_specifications
864
- # License configuration ARNs to be added to a resource.
1007
+ # ARNs of the license configurations to add.
865
1008
  #
866
1009
  # @option params [Array<Types::LicenseSpecification>] :remove_license_specifications
867
- # License configuration ARNs to be removed from a resource.
1010
+ # ARNs of the license configurations to remove.
868
1011
  #
869
1012
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
870
1013
  #
@@ -893,17 +1036,18 @@ module Aws::LicenseManager
893
1036
  req.send_request(options)
894
1037
  end
895
1038
 
896
- # Updates License Manager service settings.
1039
+ # Updates License Manager settings for the current Region.
897
1040
  #
898
1041
  # @option params [String] :s3_bucket_arn
899
- # ARN of the Amazon S3 bucket where License Manager information is
900
- # stored.
1042
+ # Amazon Resource Name (ARN) of the Amazon S3 bucket where the License
1043
+ # Manager information is stored.
901
1044
  #
902
1045
  # @option params [String] :sns_topic_arn
903
- # ARN of the Amazon SNS topic used for License Manager alerts.
1046
+ # Amazon Resource Name (ARN) of the Amazon SNS topic used for License
1047
+ # Manager alerts.
904
1048
  #
905
1049
  # @option params [Types::OrganizationConfiguration] :organization_configuration
906
- # Integrates AWS Organizations with License Manager for cross-account
1050
+ # Enables integration with AWS Organizations for cross-account
907
1051
  # discovery.
908
1052
  #
909
1053
  # @option params [Boolean] :enable_cross_accounts_discovery
@@ -944,7 +1088,7 @@ module Aws::LicenseManager
944
1088
  params: params,
945
1089
  config: config)
946
1090
  context[:gem_name] = 'aws-sdk-licensemanager'
947
- context[:gem_version] = '1.10.0'
1091
+ context[:gem_version] = '1.11.0'
948
1092
  Seahorse::Client::Request.new(handlers, context)
949
1093
  end
950
1094