aws-sdk-licensemanager 1.30.0 → 1.34.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
  SHA256:
3
- metadata.gz: 8a005bd7436a424874c17f359cd51b9f7de21cf73bc2865b220986b76cd1d686
4
- data.tar.gz: 2413d712e841ecc69f870fca6d9bd86a1b7b9ebecfeafb9e3037e08ec8392a01
3
+ metadata.gz: ddb56ac0bcfe9040ee0192e0637d6ee42111ba21d7cd8842e85d36f7578adbae
4
+ data.tar.gz: 5c188a9c7b580d2d92e067515f046f2c4e3e8f1db1b78199056423774b8189ac
5
5
  SHA512:
6
- metadata.gz: 669a4565ed8cc3ee5301744d633ceb061258dc7bc0a07cefe4de399cddf682cdfbb7e74bc61b3f547a4dd17c3c08f509917c4ad1fa2bd08a732e819b0b625ab5
7
- data.tar.gz: 8d95d690de1cf9c46aa5f71725f5e75f2bb3b1bb1243c8b04e786f99aeb194bd9db071792a9a82920adb1806c3925eea9dfe2abfe6a936805d9f3c090487774d
6
+ metadata.gz: 6c3e67d1f2d0763db804dc640be73f11a76fef3f62bfc36a20df9469d18fdcf624f4ab899002b880f6978deeb49547c348c044d1036b5ef86d1f6a5e02d51ea5
7
+ data.tar.gz: b6c4cdccabf0c93f957b829b2f581fb0d4527753cf5f11824e00eff92ce98eba0667f679bceb7cc6f636f13a830c82628dfe03eb4f950eaa25a10b17d51d5839
data/CHANGELOG.md CHANGED
@@ -1,6 +1,26 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.34.0 (2021-09-24)
5
+ ------------------
6
+
7
+ * Feature - AWS License Manager now allows customers to get the LicenseArn in the Checkout API Response.
8
+
9
+ 1.33.0 (2021-09-22)
10
+ ------------------
11
+
12
+ * Feature - AWS License Manager now allows customers to change their Windows Server or SQL license types from Bring-Your-Own-License (BYOL) to License Included or vice-versa (using the customer's media).
13
+
14
+ 1.32.0 (2021-09-01)
15
+ ------------------
16
+
17
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
18
+
19
+ 1.31.0 (2021-08-16)
20
+ ------------------
21
+
22
+ * Feature - AWS License Manager now allows end users to call CheckoutLicense API using new CheckoutType PERPETUAL. Perpetual checkouts allow sellers to check out a quantity of entitlements to be drawn down for consumption.
23
+
4
24
  1.30.0 (2021-07-30)
5
25
  ------------------
6
26
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.30.0
1
+ 1.34.0
@@ -515,12 +515,13 @@ module Aws::LicenseManager
515
515
  # * {Types::CheckoutLicenseResponse#node_id #node_id} => String
516
516
  # * {Types::CheckoutLicenseResponse#issued_at #issued_at} => String
517
517
  # * {Types::CheckoutLicenseResponse#expiration #expiration} => String
518
+ # * {Types::CheckoutLicenseResponse#license_arn #license_arn} => String
518
519
  #
519
520
  # @example Request syntax with placeholder values
520
521
  #
521
522
  # resp = client.checkout_license({
522
523
  # product_sku: "String", # required
523
- # checkout_type: "PROVISIONAL", # required, accepts PROVISIONAL
524
+ # checkout_type: "PROVISIONAL", # required, accepts PROVISIONAL, PERPETUAL
524
525
  # key_fingerprint: "String", # required
525
526
  # entitlements: [ # required
526
527
  # {
@@ -536,7 +537,7 @@ module Aws::LicenseManager
536
537
  #
537
538
  # @example Response structure
538
539
  #
539
- # resp.checkout_type #=> String, one of "PROVISIONAL"
540
+ # resp.checkout_type #=> String, one of "PROVISIONAL", "PERPETUAL"
540
541
  # resp.license_consumption_token #=> String
541
542
  # resp.entitlements_allowed #=> Array
542
543
  # resp.entitlements_allowed[0].name #=> String
@@ -546,6 +547,7 @@ module Aws::LicenseManager
546
547
  # resp.node_id #=> String
547
548
  # resp.issued_at #=> String
548
549
  # resp.expiration #=> String
550
+ # resp.license_arn #=> String
549
551
  #
550
552
  # @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/CheckoutLicense AWS API Documentation
551
553
  #
@@ -557,7 +559,7 @@ module Aws::LicenseManager
557
559
  end
558
560
 
559
561
  # Creates a grant for the specified license. A grant shares the use of
560
- # license entitlements with specific AWS accounts.
562
+ # license entitlements with specific Amazon Web Services accounts.
561
563
  #
562
564
  # @option params [required, String] :client_token
563
565
  # Unique, case-sensitive identifier that you provide to ensure the
@@ -629,6 +631,7 @@ module Aws::LicenseManager
629
631
  # Grant status.
630
632
  #
631
633
  # @option params [String] :status_reason
634
+ # Grant status reason.
632
635
  #
633
636
  # @option params [String] :source_version
634
637
  # Current version of the grant.
@@ -876,7 +879,60 @@ module Aws::LicenseManager
876
879
  req.send_request(options)
877
880
  end
878
881
 
879
- # Creates a new report generator.
882
+ # Creates a new license conversion task.
883
+ #
884
+ # @option params [required, String] :resource_arn
885
+ # Amazon Resource Name (ARN) of the resource you are converting the
886
+ # license type for.
887
+ #
888
+ # @option params [required, Types::LicenseConversionContext] :source_license_context
889
+ # Information that identifies the license type you are converting from.
890
+ # For the structure of the source license, see [Convert a license type
891
+ # using the AWS CLI][1] in the *License Manager User Guide*.
892
+ #
893
+ #
894
+ #
895
+ # [1]: https://docs.aws.amazon.com/license-manager/latest/userguide/conversion-procedures.html#conversion-cli
896
+ #
897
+ # @option params [required, Types::LicenseConversionContext] :destination_license_context
898
+ # Information that identifies the license type you are converting to.
899
+ # For the structure of the destination license, see [Convert a license
900
+ # type using the AWS CLI][1] in the *License Manager User Guide*.
901
+ #
902
+ #
903
+ #
904
+ # [1]: https://docs.aws.amazon.com/license-manager/latest/userguide/conversion-procedures.html#conversion-cli
905
+ #
906
+ # @return [Types::CreateLicenseConversionTaskForResourceResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
907
+ #
908
+ # * {Types::CreateLicenseConversionTaskForResourceResponse#license_conversion_task_id #license_conversion_task_id} => String
909
+ #
910
+ # @example Request syntax with placeholder values
911
+ #
912
+ # resp = client.create_license_conversion_task_for_resource({
913
+ # resource_arn: "Arn", # required
914
+ # source_license_context: { # required
915
+ # usage_operation: "UsageOperation",
916
+ # },
917
+ # destination_license_context: { # required
918
+ # usage_operation: "UsageOperation",
919
+ # },
920
+ # })
921
+ #
922
+ # @example Response structure
923
+ #
924
+ # resp.license_conversion_task_id #=> String
925
+ #
926
+ # @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/CreateLicenseConversionTaskForResource AWS API Documentation
927
+ #
928
+ # @overload create_license_conversion_task_for_resource(params = {})
929
+ # @param [Hash] params ({})
930
+ def create_license_conversion_task_for_resource(params = {}, options = {})
931
+ req = build_request(:create_license_conversion_task_for_resource, params)
932
+ req.send_request(options)
933
+ end
934
+
935
+ # Creates a report generator.
880
936
  #
881
937
  # @option params [required, String] :report_generator_name
882
938
  # Name of the report generator.
@@ -885,10 +941,10 @@ module Aws::LicenseManager
885
941
  # Type of reports to generate. The following report types an be
886
942
  # generated:
887
943
  #
888
- # * License configuration report - Reports on the number and details of
944
+ # * License configuration report - Reports the number and details of
889
945
  # consumed licenses for a license configuration.
890
946
  #
891
- # * Resource report - Reports on the tracked licenses and resource
947
+ # * Resource report - Reports the tracked licenses and resource
892
948
  # consumption for a license configuration.
893
949
  #
894
950
  # @option params [required, Types::ReportContext] :report_context
@@ -1119,6 +1175,7 @@ module Aws::LicenseManager
1119
1175
  # Amazon Resource Name (ARN) of the grant.
1120
1176
  #
1121
1177
  # @option params [String] :status_reason
1178
+ # The Status reason for the delete request.
1122
1179
  #
1123
1180
  # @option params [required, String] :version
1124
1181
  # Current version of the grant.
@@ -1210,15 +1267,14 @@ module Aws::LicenseManager
1210
1267
  req.send_request(options)
1211
1268
  end
1212
1269
 
1213
- # Delete an existing report generator.
1270
+ # Deletes the specified report generator.
1214
1271
  #
1215
1272
  # This action deletes the report generator, which stops it from
1216
- # generating future reports and cannot be reversed. However, the
1217
- # previous reports from this generator will remain in your S3 bucket.
1273
+ # generating future reports. The action cannot be reversed. It has no
1274
+ # effect on the previous reports from this generator.
1218
1275
  #
1219
1276
  # @option params [required, String] :license_manager_report_generator_arn
1220
- # Amazon Resource Number (ARN) of the report generator that will be
1221
- # deleted.
1277
+ # Amazon Resource Name (ARN) of the report generator to be deleted.
1222
1278
  #
1223
1279
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
1224
1280
  #
@@ -1503,11 +1559,54 @@ module Aws::LicenseManager
1503
1559
  req.send_request(options)
1504
1560
  end
1505
1561
 
1506
- # Gets information on the specified report generator.
1562
+ # Gets information about the specified license type conversion task.
1563
+ #
1564
+ # @option params [required, String] :license_conversion_task_id
1565
+ # ID of the license type conversion task to retrieve information on.
1566
+ #
1567
+ # @return [Types::GetLicenseConversionTaskResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1568
+ #
1569
+ # * {Types::GetLicenseConversionTaskResponse#license_conversion_task_id #license_conversion_task_id} => String
1570
+ # * {Types::GetLicenseConversionTaskResponse#resource_arn #resource_arn} => String
1571
+ # * {Types::GetLicenseConversionTaskResponse#source_license_context #source_license_context} => Types::LicenseConversionContext
1572
+ # * {Types::GetLicenseConversionTaskResponse#destination_license_context #destination_license_context} => Types::LicenseConversionContext
1573
+ # * {Types::GetLicenseConversionTaskResponse#status_message #status_message} => String
1574
+ # * {Types::GetLicenseConversionTaskResponse#status #status} => String
1575
+ # * {Types::GetLicenseConversionTaskResponse#start_time #start_time} => Time
1576
+ # * {Types::GetLicenseConversionTaskResponse#license_conversion_time #license_conversion_time} => Time
1577
+ # * {Types::GetLicenseConversionTaskResponse#end_time #end_time} => Time
1578
+ #
1579
+ # @example Request syntax with placeholder values
1580
+ #
1581
+ # resp = client.get_license_conversion_task({
1582
+ # license_conversion_task_id: "LicenseConversionTaskId", # required
1583
+ # })
1584
+ #
1585
+ # @example Response structure
1586
+ #
1587
+ # resp.license_conversion_task_id #=> String
1588
+ # resp.resource_arn #=> String
1589
+ # resp.source_license_context.usage_operation #=> String
1590
+ # resp.destination_license_context.usage_operation #=> String
1591
+ # resp.status_message #=> String
1592
+ # resp.status #=> String, one of "IN_PROGRESS", "SUCCEEDED", "FAILED"
1593
+ # resp.start_time #=> Time
1594
+ # resp.license_conversion_time #=> Time
1595
+ # resp.end_time #=> Time
1596
+ #
1597
+ # @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/GetLicenseConversionTask AWS API Documentation
1598
+ #
1599
+ # @overload get_license_conversion_task(params = {})
1600
+ # @param [Hash] params ({})
1601
+ def get_license_conversion_task(params = {}, options = {})
1602
+ req = build_request(:get_license_conversion_task, params)
1603
+ req.send_request(options)
1604
+ end
1605
+
1606
+ # Gets information about the specified report generator.
1507
1607
  #
1508
1608
  # @option params [required, String] :license_manager_report_generator_arn
1509
- # mazon Resource Number (ARN) of the report generator to retrieve
1510
- # information on.
1609
+ # Amazon Resource Name (ARN) of the report generator.
1511
1610
  #
1512
1611
  # @return [Types::GetLicenseManagerReportGeneratorResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1513
1612
  #
@@ -1788,9 +1887,9 @@ module Aws::LicenseManager
1788
1887
  # Filters to scope the results. The following filters and logical
1789
1888
  # operators are supported:
1790
1889
  #
1791
- # * `licenseCountingType` - The dimension on which licenses are counted.
1792
- # Possible values are `vCPU` \| `Instance` \| `Core` \| `Socket`.
1793
- # Logical operators are `EQUALS` \| `NOT_EQUALS`.
1890
+ # * `licenseCountingType` - The dimension for which licenses are
1891
+ # counted. Possible values are `vCPU` \| `Instance` \| `Core` \|
1892
+ # `Socket`. Logical operators are `EQUALS` \| `NOT_EQUALS`.
1794
1893
  #
1795
1894
  # * `enforceLicenseCount` - A Boolean value that indicates whether hard
1796
1895
  # license enforcement is used. Logical operators are `EQUALS` \|
@@ -1860,6 +1959,59 @@ module Aws::LicenseManager
1860
1959
  req.send_request(options)
1861
1960
  end
1862
1961
 
1962
+ # Lists the license type conversion tasks for your account.
1963
+ #
1964
+ # @option params [String] :next_token
1965
+ # Token for the next set of results.
1966
+ #
1967
+ # @option params [Integer] :max_results
1968
+ # Maximum number of results to return in a single call.
1969
+ #
1970
+ # @option params [Array<Types::Filter>] :filters
1971
+ # Filters to scope the results. Valid filters are `ResourceArns` and
1972
+ # `Status`.
1973
+ #
1974
+ # @return [Types::ListLicenseConversionTasksResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1975
+ #
1976
+ # * {Types::ListLicenseConversionTasksResponse#license_conversion_tasks #license_conversion_tasks} => Array&lt;Types::LicenseConversionTask&gt;
1977
+ # * {Types::ListLicenseConversionTasksResponse#next_token #next_token} => String
1978
+ #
1979
+ # @example Request syntax with placeholder values
1980
+ #
1981
+ # resp = client.list_license_conversion_tasks({
1982
+ # next_token: "String",
1983
+ # max_results: 1,
1984
+ # filters: [
1985
+ # {
1986
+ # name: "FilterName",
1987
+ # values: ["FilterValue"],
1988
+ # },
1989
+ # ],
1990
+ # })
1991
+ #
1992
+ # @example Response structure
1993
+ #
1994
+ # resp.license_conversion_tasks #=> Array
1995
+ # resp.license_conversion_tasks[0].license_conversion_task_id #=> String
1996
+ # resp.license_conversion_tasks[0].resource_arn #=> String
1997
+ # resp.license_conversion_tasks[0].source_license_context.usage_operation #=> String
1998
+ # resp.license_conversion_tasks[0].destination_license_context.usage_operation #=> String
1999
+ # resp.license_conversion_tasks[0].status #=> String, one of "IN_PROGRESS", "SUCCEEDED", "FAILED"
2000
+ # resp.license_conversion_tasks[0].status_message #=> String
2001
+ # resp.license_conversion_tasks[0].start_time #=> Time
2002
+ # resp.license_conversion_tasks[0].license_conversion_time #=> Time
2003
+ # resp.license_conversion_tasks[0].end_time #=> Time
2004
+ # resp.next_token #=> String
2005
+ #
2006
+ # @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/ListLicenseConversionTasks AWS API Documentation
2007
+ #
2008
+ # @overload list_license_conversion_tasks(params = {})
2009
+ # @param [Hash] params ({})
2010
+ def list_license_conversion_tasks(params = {}, options = {})
2011
+ req = build_request(:list_license_conversion_tasks, params)
2012
+ req.send_request(options)
2013
+ end
2014
+
1863
2015
  # Lists the report generators for your account.
1864
2016
  #
1865
2017
  # @option params [Array<Types::Filter>] :filters
@@ -2285,8 +2437,8 @@ module Aws::LicenseManager
2285
2437
  # Filters to scope the results. The following filters and logical
2286
2438
  # operators are supported:
2287
2439
  #
2288
- # * `account_id` - The ID of the AWS account that owns the resource.
2289
- # Logical operators are `EQUALS` \| `NOT_EQUALS`.
2440
+ # * `account_id` - The ID of the Amazon Web Services account that owns
2441
+ # the resource. Logical operators are `EQUALS` \| `NOT_EQUALS`.
2290
2442
  #
2291
2443
  # * `application_name` - The name of the application. Logical operators
2292
2444
  # are `EQUALS` \| `BEGINS_WITH`.
@@ -2659,33 +2811,29 @@ module Aws::LicenseManager
2659
2811
 
2660
2812
  # Updates a report generator.
2661
2813
  #
2662
- # After you make changes to a report generator, it will start generating
2663
- # new reports within 60 minutes of being updated.
2814
+ # After you make changes to a report generator, it starts generating new
2815
+ # reports within 60 minutes of being updated.
2664
2816
  #
2665
2817
  # @option params [required, String] :license_manager_report_generator_arn
2666
- # Amazon Resource Number (ARN) of the report generator to update.
2818
+ # Amazon Resource Name (ARN) of the report generator to update.
2667
2819
  #
2668
2820
  # @option params [required, String] :report_generator_name
2669
2821
  # Name of the report generator.
2670
2822
  #
2671
2823
  # @option params [required, Array<String>] :type
2672
- # Type of reports to generate. The following report types an be
2673
- # generated:
2824
+ # Type of reports to generate. The following report types are supported:
2674
2825
  #
2675
- # * License configuration report - Reports on the number and details of
2826
+ # * License configuration report - Reports the number and details of
2676
2827
  # consumed licenses for a license configuration.
2677
2828
  #
2678
- # * Resource report - Reports on the tracked licenses and resource
2829
+ # * Resource report - Reports the tracked licenses and resource
2679
2830
  # consumption for a license configuration.
2680
2831
  #
2681
2832
  # @option params [required, Types::ReportContext] :report_context
2682
- # ?
2833
+ # The report context.
2683
2834
  #
2684
2835
  # @option params [required, Types::ReportFrequency] :report_frequency
2685
- # Frequency by which reports are generated. The following options are
2686
- # avaiable:
2687
- #
2688
- # ??? What are the APi value options?
2836
+ # Frequency by which reports are generated.
2689
2837
  #
2690
2838
  # @option params [required, String] :client_token
2691
2839
  # Unique, case-sensitive identifier that you provide to ensure the
@@ -2723,15 +2871,15 @@ module Aws::LicenseManager
2723
2871
  end
2724
2872
 
2725
2873
  # Adds or removes the specified license configurations for the specified
2726
- # AWS resource.
2874
+ # Amazon Web Services resource.
2727
2875
  #
2728
2876
  # You can update the license specifications of AMIs, instances, and
2729
2877
  # hosts. You cannot update the license specifications for launch
2730
- # templates and AWS CloudFormation templates, as they send license
2878
+ # templates and CloudFormation templates, as they send license
2731
2879
  # configurations to the operation that creates the resource.
2732
2880
  #
2733
2881
  # @option params [required, String] :resource_arn
2734
- # Amazon Resource Name (ARN) of the AWS resource.
2882
+ # Amazon Resource Name (ARN) of the Amazon Web Services resource.
2735
2883
  #
2736
2884
  # @option params [Array<Types::LicenseSpecification>] :add_license_specifications
2737
2885
  # ARNs of the license configurations to add.
@@ -2779,8 +2927,7 @@ module Aws::LicenseManager
2779
2927
  # Manager alerts.
2780
2928
  #
2781
2929
  # @option params [Types::OrganizationConfiguration] :organization_configuration
2782
- # Enables integration with AWS Organizations for cross-account
2783
- # discovery.
2930
+ # Enables integration with Organizations for cross-account discovery.
2784
2931
  #
2785
2932
  # @option params [Boolean] :enable_cross_accounts_discovery
2786
2933
  # Activates cross-account discovery.
@@ -2820,7 +2967,7 @@ module Aws::LicenseManager
2820
2967
  params: params,
2821
2968
  config: config)
2822
2969
  context[:gem_name] = 'aws-sdk-licensemanager'
2823
- context[:gem_version] = '1.30.0'
2970
+ context[:gem_version] = '1.34.0'
2824
2971
  Seahorse::Client::Request.new(handlers, context)
2825
2972
  end
2826
2973
 
@@ -46,6 +46,8 @@ module Aws::LicenseManager
46
46
  CreateGrantVersionResponse = Shapes::StructureShape.new(name: 'CreateGrantVersionResponse')
47
47
  CreateLicenseConfigurationRequest = Shapes::StructureShape.new(name: 'CreateLicenseConfigurationRequest')
48
48
  CreateLicenseConfigurationResponse = Shapes::StructureShape.new(name: 'CreateLicenseConfigurationResponse')
49
+ CreateLicenseConversionTaskForResourceRequest = Shapes::StructureShape.new(name: 'CreateLicenseConversionTaskForResourceRequest')
50
+ CreateLicenseConversionTaskForResourceResponse = Shapes::StructureShape.new(name: 'CreateLicenseConversionTaskForResourceResponse')
49
51
  CreateLicenseManagerReportGeneratorRequest = Shapes::StructureShape.new(name: 'CreateLicenseManagerReportGeneratorRequest')
50
52
  CreateLicenseManagerReportGeneratorResponse = Shapes::StructureShape.new(name: 'CreateLicenseManagerReportGeneratorResponse')
51
53
  CreateLicenseRequest = Shapes::StructureShape.new(name: 'CreateLicenseRequest')
@@ -92,6 +94,8 @@ module Aws::LicenseManager
92
94
  GetGrantResponse = Shapes::StructureShape.new(name: 'GetGrantResponse')
93
95
  GetLicenseConfigurationRequest = Shapes::StructureShape.new(name: 'GetLicenseConfigurationRequest')
94
96
  GetLicenseConfigurationResponse = Shapes::StructureShape.new(name: 'GetLicenseConfigurationResponse')
97
+ GetLicenseConversionTaskRequest = Shapes::StructureShape.new(name: 'GetLicenseConversionTaskRequest')
98
+ GetLicenseConversionTaskResponse = Shapes::StructureShape.new(name: 'GetLicenseConversionTaskResponse')
95
99
  GetLicenseManagerReportGeneratorRequest = Shapes::StructureShape.new(name: 'GetLicenseManagerReportGeneratorRequest')
96
100
  GetLicenseManagerReportGeneratorResponse = Shapes::StructureShape.new(name: 'GetLicenseManagerReportGeneratorResponse')
97
101
  GetLicenseRequest = Shapes::StructureShape.new(name: 'GetLicenseRequest')
@@ -122,6 +126,11 @@ module Aws::LicenseManager
122
126
  LicenseConfigurationUsage = Shapes::StructureShape.new(name: 'LicenseConfigurationUsage')
123
127
  LicenseConfigurationUsageList = Shapes::ListShape.new(name: 'LicenseConfigurationUsageList')
124
128
  LicenseConfigurations = Shapes::ListShape.new(name: 'LicenseConfigurations')
129
+ LicenseConversionContext = Shapes::StructureShape.new(name: 'LicenseConversionContext')
130
+ LicenseConversionTask = Shapes::StructureShape.new(name: 'LicenseConversionTask')
131
+ LicenseConversionTaskId = Shapes::StringShape.new(name: 'LicenseConversionTaskId')
132
+ LicenseConversionTaskStatus = Shapes::StringShape.new(name: 'LicenseConversionTaskStatus')
133
+ LicenseConversionTasks = Shapes::ListShape.new(name: 'LicenseConversionTasks')
125
134
  LicenseCountingType = Shapes::StringShape.new(name: 'LicenseCountingType')
126
135
  LicenseDeletionStatus = Shapes::StringShape.new(name: 'LicenseDeletionStatus')
127
136
  LicenseList = Shapes::ListShape.new(name: 'LicenseList')
@@ -140,6 +149,8 @@ module Aws::LicenseManager
140
149
  ListFailuresForLicenseConfigurationOperationsResponse = Shapes::StructureShape.new(name: 'ListFailuresForLicenseConfigurationOperationsResponse')
141
150
  ListLicenseConfigurationsRequest = Shapes::StructureShape.new(name: 'ListLicenseConfigurationsRequest')
142
151
  ListLicenseConfigurationsResponse = Shapes::StructureShape.new(name: 'ListLicenseConfigurationsResponse')
152
+ ListLicenseConversionTasksRequest = Shapes::StructureShape.new(name: 'ListLicenseConversionTasksRequest')
153
+ ListLicenseConversionTasksResponse = Shapes::StructureShape.new(name: 'ListLicenseConversionTasksResponse')
143
154
  ListLicenseManagerReportGeneratorsRequest = Shapes::StructureShape.new(name: 'ListLicenseManagerReportGeneratorsRequest')
144
155
  ListLicenseManagerReportGeneratorsResponse = Shapes::StructureShape.new(name: 'ListLicenseManagerReportGeneratorsResponse')
145
156
  ListLicenseSpecificationsForResourceRequest = Shapes::StructureShape.new(name: 'ListLicenseSpecificationsForResourceRequest')
@@ -223,6 +234,7 @@ module Aws::LicenseManager
223
234
  UpdateLicenseSpecificationsForResourceResponse = Shapes::StructureShape.new(name: 'UpdateLicenseSpecificationsForResourceResponse')
224
235
  UpdateServiceSettingsRequest = Shapes::StructureShape.new(name: 'UpdateServiceSettingsRequest')
225
236
  UpdateServiceSettingsResponse = Shapes::StructureShape.new(name: 'UpdateServiceSettingsResponse')
237
+ UsageOperation = Shapes::StringShape.new(name: 'UsageOperation')
226
238
  ValidationException = Shapes::StructureShape.new(name: 'ValidationException')
227
239
 
228
240
  AcceptGrantRequest.add_member(:grant_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "GrantArn"))
@@ -290,6 +302,7 @@ module Aws::LicenseManager
290
302
  CheckoutLicenseResponse.add_member(:node_id, Shapes::ShapeRef.new(shape: String, location_name: "NodeId"))
291
303
  CheckoutLicenseResponse.add_member(:issued_at, Shapes::ShapeRef.new(shape: ISO8601DateTime, location_name: "IssuedAt"))
292
304
  CheckoutLicenseResponse.add_member(:expiration, Shapes::ShapeRef.new(shape: ISO8601DateTime, location_name: "Expiration"))
305
+ CheckoutLicenseResponse.add_member(:license_arn, Shapes::ShapeRef.new(shape: String, location_name: "LicenseArn"))
293
306
  CheckoutLicenseResponse.struct_class = Types::CheckoutLicenseResponse
294
307
 
295
308
  ConflictException.add_member(:message, Shapes::ShapeRef.new(shape: Message, location_name: "Message"))
@@ -347,6 +360,14 @@ module Aws::LicenseManager
347
360
  CreateLicenseConfigurationResponse.add_member(:license_configuration_arn, Shapes::ShapeRef.new(shape: String, location_name: "LicenseConfigurationArn"))
348
361
  CreateLicenseConfigurationResponse.struct_class = Types::CreateLicenseConfigurationResponse
349
362
 
363
+ CreateLicenseConversionTaskForResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "ResourceArn"))
364
+ CreateLicenseConversionTaskForResourceRequest.add_member(:source_license_context, Shapes::ShapeRef.new(shape: LicenseConversionContext, required: true, location_name: "SourceLicenseContext"))
365
+ CreateLicenseConversionTaskForResourceRequest.add_member(:destination_license_context, Shapes::ShapeRef.new(shape: LicenseConversionContext, required: true, location_name: "DestinationLicenseContext"))
366
+ CreateLicenseConversionTaskForResourceRequest.struct_class = Types::CreateLicenseConversionTaskForResourceRequest
367
+
368
+ CreateLicenseConversionTaskForResourceResponse.add_member(:license_conversion_task_id, Shapes::ShapeRef.new(shape: LicenseConversionTaskId, location_name: "LicenseConversionTaskId"))
369
+ CreateLicenseConversionTaskForResourceResponse.struct_class = Types::CreateLicenseConversionTaskForResourceResponse
370
+
350
371
  CreateLicenseManagerReportGeneratorRequest.add_member(:report_generator_name, Shapes::ShapeRef.new(shape: ReportGeneratorName, required: true, location_name: "ReportGeneratorName"))
351
372
  CreateLicenseManagerReportGeneratorRequest.add_member(:type, Shapes::ShapeRef.new(shape: ReportTypeList, required: true, location_name: "Type"))
352
373
  CreateLicenseManagerReportGeneratorRequest.add_member(:report_context, Shapes::ShapeRef.new(shape: ReportContext, required: true, location_name: "ReportContext"))
@@ -534,6 +555,20 @@ module Aws::LicenseManager
534
555
  GetLicenseConfigurationResponse.add_member(:disassociate_when_not_found, Shapes::ShapeRef.new(shape: BoxBoolean, location_name: "DisassociateWhenNotFound"))
535
556
  GetLicenseConfigurationResponse.struct_class = Types::GetLicenseConfigurationResponse
536
557
 
558
+ GetLicenseConversionTaskRequest.add_member(:license_conversion_task_id, Shapes::ShapeRef.new(shape: LicenseConversionTaskId, required: true, location_name: "LicenseConversionTaskId"))
559
+ GetLicenseConversionTaskRequest.struct_class = Types::GetLicenseConversionTaskRequest
560
+
561
+ GetLicenseConversionTaskResponse.add_member(:license_conversion_task_id, Shapes::ShapeRef.new(shape: LicenseConversionTaskId, location_name: "LicenseConversionTaskId"))
562
+ GetLicenseConversionTaskResponse.add_member(:resource_arn, Shapes::ShapeRef.new(shape: String, location_name: "ResourceArn"))
563
+ GetLicenseConversionTaskResponse.add_member(:source_license_context, Shapes::ShapeRef.new(shape: LicenseConversionContext, location_name: "SourceLicenseContext"))
564
+ GetLicenseConversionTaskResponse.add_member(:destination_license_context, Shapes::ShapeRef.new(shape: LicenseConversionContext, location_name: "DestinationLicenseContext"))
565
+ GetLicenseConversionTaskResponse.add_member(:status_message, Shapes::ShapeRef.new(shape: String, location_name: "StatusMessage"))
566
+ GetLicenseConversionTaskResponse.add_member(:status, Shapes::ShapeRef.new(shape: LicenseConversionTaskStatus, location_name: "Status"))
567
+ GetLicenseConversionTaskResponse.add_member(:start_time, Shapes::ShapeRef.new(shape: DateTime, location_name: "StartTime"))
568
+ GetLicenseConversionTaskResponse.add_member(:license_conversion_time, Shapes::ShapeRef.new(shape: DateTime, location_name: "LicenseConversionTime"))
569
+ GetLicenseConversionTaskResponse.add_member(:end_time, Shapes::ShapeRef.new(shape: DateTime, location_name: "EndTime"))
570
+ GetLicenseConversionTaskResponse.struct_class = Types::GetLicenseConversionTaskResponse
571
+
537
572
  GetLicenseManagerReportGeneratorRequest.add_member(:license_manager_report_generator_arn, Shapes::ShapeRef.new(shape: String, required: true, location_name: "LicenseManagerReportGeneratorArn"))
538
573
  GetLicenseManagerReportGeneratorRequest.struct_class = Types::GetLicenseManagerReportGeneratorRequest
539
574
 
@@ -672,6 +707,22 @@ module Aws::LicenseManager
672
707
 
673
708
  LicenseConfigurations.member = Shapes::ShapeRef.new(shape: LicenseConfiguration)
674
709
 
710
+ LicenseConversionContext.add_member(:usage_operation, Shapes::ShapeRef.new(shape: UsageOperation, location_name: "UsageOperation"))
711
+ LicenseConversionContext.struct_class = Types::LicenseConversionContext
712
+
713
+ LicenseConversionTask.add_member(:license_conversion_task_id, Shapes::ShapeRef.new(shape: LicenseConversionTaskId, location_name: "LicenseConversionTaskId"))
714
+ LicenseConversionTask.add_member(:resource_arn, Shapes::ShapeRef.new(shape: String, location_name: "ResourceArn"))
715
+ LicenseConversionTask.add_member(:source_license_context, Shapes::ShapeRef.new(shape: LicenseConversionContext, location_name: "SourceLicenseContext"))
716
+ LicenseConversionTask.add_member(:destination_license_context, Shapes::ShapeRef.new(shape: LicenseConversionContext, location_name: "DestinationLicenseContext"))
717
+ LicenseConversionTask.add_member(:status, Shapes::ShapeRef.new(shape: LicenseConversionTaskStatus, location_name: "Status"))
718
+ LicenseConversionTask.add_member(:status_message, Shapes::ShapeRef.new(shape: String, location_name: "StatusMessage"))
719
+ LicenseConversionTask.add_member(:start_time, Shapes::ShapeRef.new(shape: DateTime, location_name: "StartTime"))
720
+ LicenseConversionTask.add_member(:license_conversion_time, Shapes::ShapeRef.new(shape: DateTime, location_name: "LicenseConversionTime"))
721
+ LicenseConversionTask.add_member(:end_time, Shapes::ShapeRef.new(shape: DateTime, location_name: "EndTime"))
722
+ LicenseConversionTask.struct_class = Types::LicenseConversionTask
723
+
724
+ LicenseConversionTasks.member = Shapes::ShapeRef.new(shape: LicenseConversionTask)
725
+
675
726
  LicenseList.member = Shapes::ShapeRef.new(shape: License)
676
727
 
677
728
  LicenseOperationFailure.add_member(:resource_arn, Shapes::ShapeRef.new(shape: String, location_name: "ResourceArn"))
@@ -736,6 +787,15 @@ module Aws::LicenseManager
736
787
  ListLicenseConfigurationsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
737
788
  ListLicenseConfigurationsResponse.struct_class = Types::ListLicenseConfigurationsResponse
738
789
 
790
+ ListLicenseConversionTasksRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
791
+ ListLicenseConversionTasksRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: BoxInteger, location_name: "MaxResults"))
792
+ ListLicenseConversionTasksRequest.add_member(:filters, Shapes::ShapeRef.new(shape: Filters, location_name: "Filters"))
793
+ ListLicenseConversionTasksRequest.struct_class = Types::ListLicenseConversionTasksRequest
794
+
795
+ ListLicenseConversionTasksResponse.add_member(:license_conversion_tasks, Shapes::ShapeRef.new(shape: LicenseConversionTasks, location_name: "LicenseConversionTasks"))
796
+ ListLicenseConversionTasksResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
797
+ ListLicenseConversionTasksResponse.struct_class = Types::ListLicenseConversionTasksResponse
798
+
739
799
  ListLicenseManagerReportGeneratorsRequest.add_member(:filters, Shapes::ShapeRef.new(shape: FilterList, location_name: "Filters"))
740
800
  ListLicenseManagerReportGeneratorsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
741
801
  ListLicenseManagerReportGeneratorsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxSize100, location_name: "MaxResults"))
@@ -1158,6 +1218,20 @@ module Aws::LicenseManager
1158
1218
  o.errors << Shapes::ShapeRef.new(shape: RateLimitExceededException)
1159
1219
  end)
1160
1220
 
1221
+ api.add_operation(:create_license_conversion_task_for_resource, Seahorse::Model::Operation.new.tap do |o|
1222
+ o.name = "CreateLicenseConversionTaskForResource"
1223
+ o.http_method = "POST"
1224
+ o.http_request_uri = "/"
1225
+ o.input = Shapes::ShapeRef.new(shape: CreateLicenseConversionTaskForResourceRequest)
1226
+ o.output = Shapes::ShapeRef.new(shape: CreateLicenseConversionTaskForResourceResponse)
1227
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
1228
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1229
+ o.errors << Shapes::ShapeRef.new(shape: ServerInternalException)
1230
+ o.errors << Shapes::ShapeRef.new(shape: AuthorizationException)
1231
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1232
+ o.errors << Shapes::ShapeRef.new(shape: RateLimitExceededException)
1233
+ end)
1234
+
1161
1235
  api.add_operation(:create_license_manager_report_generator, Seahorse::Model::Operation.new.tap do |o|
1162
1236
  o.name = "CreateLicenseManagerReportGenerator"
1163
1237
  o.http_method = "POST"
@@ -1351,6 +1425,19 @@ module Aws::LicenseManager
1351
1425
  o.errors << Shapes::ShapeRef.new(shape: RateLimitExceededException)
1352
1426
  end)
1353
1427
 
1428
+ api.add_operation(:get_license_conversion_task, Seahorse::Model::Operation.new.tap do |o|
1429
+ o.name = "GetLicenseConversionTask"
1430
+ o.http_method = "POST"
1431
+ o.http_request_uri = "/"
1432
+ o.input = Shapes::ShapeRef.new(shape: GetLicenseConversionTaskRequest)
1433
+ o.output = Shapes::ShapeRef.new(shape: GetLicenseConversionTaskResponse)
1434
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
1435
+ o.errors << Shapes::ShapeRef.new(shape: ServerInternalException)
1436
+ o.errors << Shapes::ShapeRef.new(shape: AuthorizationException)
1437
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1438
+ o.errors << Shapes::ShapeRef.new(shape: RateLimitExceededException)
1439
+ end)
1440
+
1354
1441
  api.add_operation(:get_license_manager_report_generator, Seahorse::Model::Operation.new.tap do |o|
1355
1442
  o.name = "GetLicenseManagerReportGenerator"
1356
1443
  o.http_method = "POST"
@@ -1449,6 +1536,19 @@ module Aws::LicenseManager
1449
1536
  o.errors << Shapes::ShapeRef.new(shape: RateLimitExceededException)
1450
1537
  end)
1451
1538
 
1539
+ api.add_operation(:list_license_conversion_tasks, Seahorse::Model::Operation.new.tap do |o|
1540
+ o.name = "ListLicenseConversionTasks"
1541
+ o.http_method = "POST"
1542
+ o.http_request_uri = "/"
1543
+ o.input = Shapes::ShapeRef.new(shape: ListLicenseConversionTasksRequest)
1544
+ o.output = Shapes::ShapeRef.new(shape: ListLicenseConversionTasksResponse)
1545
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
1546
+ o.errors << Shapes::ShapeRef.new(shape: ServerInternalException)
1547
+ o.errors << Shapes::ShapeRef.new(shape: AuthorizationException)
1548
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1549
+ o.errors << Shapes::ShapeRef.new(shape: RateLimitExceededException)
1550
+ end)
1551
+
1452
1552
  api.add_operation(:list_license_manager_report_generators, Seahorse::Model::Operation.new.tap do |o|
1453
1553
  o.name = "ListLicenseManagerReportGenerators"
1454
1554
  o.http_method = "POST"
@@ -64,8 +64,8 @@ module Aws::LicenseManager
64
64
  include Aws::Structure
65
65
  end
66
66
 
67
- # The AWS user account does not have permission to perform the action.
68
- # Check the IAM policy associated with this account.
67
+ # The Amazon Web Services user account does not have permission to
68
+ # perform the action. Check the IAM policy associated with this account.
69
69
  #
70
70
  # @!attribute [rw] message
71
71
  # @return [String]
@@ -268,7 +268,7 @@ module Aws::LicenseManager
268
268
  #
269
269
  # {
270
270
  # product_sku: "String", # required
271
- # checkout_type: "PROVISIONAL", # required, accepts PROVISIONAL
271
+ # checkout_type: "PROVISIONAL", # required, accepts PROVISIONAL, PERPETUAL
272
272
  # key_fingerprint: "String", # required
273
273
  # entitlements: [ # required
274
274
  # {
@@ -353,6 +353,10 @@ module Aws::LicenseManager
353
353
  # Date and time at which the license checkout expires.
354
354
  # @return [String]
355
355
  #
356
+ # @!attribute [rw] license_arn
357
+ # Amazon Resource Name (ARN) of the checkout license.
358
+ # @return [String]
359
+ #
356
360
  # @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/CheckoutLicenseResponse AWS API Documentation
357
361
  #
358
362
  class CheckoutLicenseResponse < Struct.new(
@@ -362,7 +366,8 @@ module Aws::LicenseManager
362
366
  :signed_token,
363
367
  :node_id,
364
368
  :issued_at,
365
- :expiration)
369
+ :expiration,
370
+ :license_arn)
366
371
  SENSITIVE = []
367
372
  include Aws::Structure
368
373
  end
@@ -544,6 +549,7 @@ module Aws::LicenseManager
544
549
  # @return [String]
545
550
  #
546
551
  # @!attribute [rw] status_reason
552
+ # Grant status reason.
547
553
  # @return [String]
548
554
  #
549
555
  # @!attribute [rw] source_version
@@ -702,6 +708,67 @@ module Aws::LicenseManager
702
708
  include Aws::Structure
703
709
  end
704
710
 
711
+ # @note When making an API call, you may pass CreateLicenseConversionTaskForResourceRequest
712
+ # data as a hash:
713
+ #
714
+ # {
715
+ # resource_arn: "Arn", # required
716
+ # source_license_context: { # required
717
+ # usage_operation: "UsageOperation",
718
+ # },
719
+ # destination_license_context: { # required
720
+ # usage_operation: "UsageOperation",
721
+ # },
722
+ # }
723
+ #
724
+ # @!attribute [rw] resource_arn
725
+ # Amazon Resource Name (ARN) of the resource you are converting the
726
+ # license type for.
727
+ # @return [String]
728
+ #
729
+ # @!attribute [rw] source_license_context
730
+ # Information that identifies the license type you are converting
731
+ # from. For the structure of the source license, see [Convert a
732
+ # license type using the AWS CLI][1] in the *License Manager User
733
+ # Guide*.
734
+ #
735
+ #
736
+ #
737
+ # [1]: https://docs.aws.amazon.com/license-manager/latest/userguide/conversion-procedures.html#conversion-cli
738
+ # @return [Types::LicenseConversionContext]
739
+ #
740
+ # @!attribute [rw] destination_license_context
741
+ # Information that identifies the license type you are converting to.
742
+ # For the structure of the destination license, see [Convert a license
743
+ # type using the AWS CLI][1] in the *License Manager User Guide*.
744
+ #
745
+ #
746
+ #
747
+ # [1]: https://docs.aws.amazon.com/license-manager/latest/userguide/conversion-procedures.html#conversion-cli
748
+ # @return [Types::LicenseConversionContext]
749
+ #
750
+ # @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/CreateLicenseConversionTaskForResourceRequest AWS API Documentation
751
+ #
752
+ class CreateLicenseConversionTaskForResourceRequest < Struct.new(
753
+ :resource_arn,
754
+ :source_license_context,
755
+ :destination_license_context)
756
+ SENSITIVE = []
757
+ include Aws::Structure
758
+ end
759
+
760
+ # @!attribute [rw] license_conversion_task_id
761
+ # The ID of the created license type conversion task.
762
+ # @return [String]
763
+ #
764
+ # @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/CreateLicenseConversionTaskForResourceResponse AWS API Documentation
765
+ #
766
+ class CreateLicenseConversionTaskForResourceResponse < Struct.new(
767
+ :license_conversion_task_id)
768
+ SENSITIVE = []
769
+ include Aws::Structure
770
+ end
771
+
705
772
  # @note When making an API call, you may pass CreateLicenseManagerReportGeneratorRequest
706
773
  # data as a hash:
707
774
  #
@@ -733,10 +800,10 @@ module Aws::LicenseManager
733
800
  # Type of reports to generate. The following report types an be
734
801
  # generated:
735
802
  #
736
- # * License configuration report - Reports on the number and details
737
- # of consumed licenses for a license configuration.
803
+ # * License configuration report - Reports the number and details of
804
+ # consumed licenses for a license configuration.
738
805
  #
739
- # * Resource report - Reports on the tracked licenses and resource
806
+ # * Resource report - Reports the tracked licenses and resource
740
807
  # consumption for a license configuration.
741
808
  # @return [Array<String>]
742
809
  #
@@ -778,7 +845,7 @@ module Aws::LicenseManager
778
845
  end
779
846
 
780
847
  # @!attribute [rw] license_manager_report_generator_arn
781
- # The Amazon Resource Number (ARN) of the new report generator.
848
+ # The Amazon Resource Name (ARN) of the new report generator.
782
849
  # @return [String]
783
850
  #
784
851
  # @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/CreateLicenseManagerReportGeneratorResponse AWS API Documentation
@@ -1173,6 +1240,7 @@ module Aws::LicenseManager
1173
1240
  # @return [String]
1174
1241
  #
1175
1242
  # @!attribute [rw] status_reason
1243
+ # The Status reason for the delete request.
1176
1244
  # @return [String]
1177
1245
  #
1178
1246
  # @!attribute [rw] version
@@ -1242,8 +1310,7 @@ module Aws::LicenseManager
1242
1310
  # }
1243
1311
  #
1244
1312
  # @!attribute [rw] license_manager_report_generator_arn
1245
- # Amazon Resource Number (ARN) of the report generator that will be
1246
- # deleted.
1313
+ # Amazon Resource Name (ARN) of the report generator to be deleted.
1247
1314
  # @return [String]
1248
1315
  #
1249
1316
  # @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/DeleteLicenseManagerReportGeneratorRequest AWS API Documentation
@@ -1288,7 +1355,7 @@ module Aws::LicenseManager
1288
1355
  # @return [String]
1289
1356
  #
1290
1357
  # @!attribute [rw] deletion_date
1291
- # Date on which the license is deleted.
1358
+ # Date when the license is deleted.
1292
1359
  # @return [String]
1293
1360
  #
1294
1361
  # @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/DeleteLicenseResponse AWS API Documentation
@@ -1662,7 +1729,7 @@ module Aws::LicenseManager
1662
1729
  # @return [String]
1663
1730
  #
1664
1731
  # @!attribute [rw] license_counting_type
1665
- # Dimension on which the licenses are counted.
1732
+ # Dimension for which the licenses are counted.
1666
1733
  # @return [String]
1667
1734
  #
1668
1735
  # @!attribute [rw] license_rules
@@ -1737,6 +1804,78 @@ module Aws::LicenseManager
1737
1804
  include Aws::Structure
1738
1805
  end
1739
1806
 
1807
+ # @note When making an API call, you may pass GetLicenseConversionTaskRequest
1808
+ # data as a hash:
1809
+ #
1810
+ # {
1811
+ # license_conversion_task_id: "LicenseConversionTaskId", # required
1812
+ # }
1813
+ #
1814
+ # @!attribute [rw] license_conversion_task_id
1815
+ # ID of the license type conversion task to retrieve information on.
1816
+ # @return [String]
1817
+ #
1818
+ # @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/GetLicenseConversionTaskRequest AWS API Documentation
1819
+ #
1820
+ class GetLicenseConversionTaskRequest < Struct.new(
1821
+ :license_conversion_task_id)
1822
+ SENSITIVE = []
1823
+ include Aws::Structure
1824
+ end
1825
+
1826
+ # @!attribute [rw] license_conversion_task_id
1827
+ # ID of the license type conversion task.
1828
+ # @return [String]
1829
+ #
1830
+ # @!attribute [rw] resource_arn
1831
+ # Amazon Resource Names (ARN) of the resources the license conversion
1832
+ # task is associated with.
1833
+ # @return [String]
1834
+ #
1835
+ # @!attribute [rw] source_license_context
1836
+ # Information about the license type converted from.
1837
+ # @return [Types::LicenseConversionContext]
1838
+ #
1839
+ # @!attribute [rw] destination_license_context
1840
+ # Information about the license type converted to.
1841
+ # @return [Types::LicenseConversionContext]
1842
+ #
1843
+ # @!attribute [rw] status_message
1844
+ # The status message for the conversion task.
1845
+ # @return [String]
1846
+ #
1847
+ # @!attribute [rw] status
1848
+ # Status of the license type conversion task.
1849
+ # @return [String]
1850
+ #
1851
+ # @!attribute [rw] start_time
1852
+ # Time at which the license type conversion task was started .
1853
+ # @return [Time]
1854
+ #
1855
+ # @!attribute [rw] license_conversion_time
1856
+ # Amount of time to complete the license type conversion.
1857
+ # @return [Time]
1858
+ #
1859
+ # @!attribute [rw] end_time
1860
+ # Time at which the license type conversion task was completed.
1861
+ # @return [Time]
1862
+ #
1863
+ # @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/GetLicenseConversionTaskResponse AWS API Documentation
1864
+ #
1865
+ class GetLicenseConversionTaskResponse < Struct.new(
1866
+ :license_conversion_task_id,
1867
+ :resource_arn,
1868
+ :source_license_context,
1869
+ :destination_license_context,
1870
+ :status_message,
1871
+ :status,
1872
+ :start_time,
1873
+ :license_conversion_time,
1874
+ :end_time)
1875
+ SENSITIVE = []
1876
+ include Aws::Structure
1877
+ end
1878
+
1740
1879
  # @note When making an API call, you may pass GetLicenseManagerReportGeneratorRequest
1741
1880
  # data as a hash:
1742
1881
  #
@@ -1745,8 +1884,7 @@ module Aws::LicenseManager
1745
1884
  # }
1746
1885
  #
1747
1886
  # @!attribute [rw] license_manager_report_generator_arn
1748
- # mazon Resource Number (ARN) of the report generator to retrieve
1749
- # information on.
1887
+ # Amazon Resource Name (ARN) of the report generator.
1750
1888
  # @return [String]
1751
1889
  #
1752
1890
  # @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/GetLicenseManagerReportGeneratorRequest AWS API Documentation
@@ -1758,7 +1896,7 @@ module Aws::LicenseManager
1758
1896
  end
1759
1897
 
1760
1898
  # @!attribute [rw] report_generator
1761
- # A report generator that creates periodic reports on your license
1899
+ # A report generator that creates periodic reports about your license
1762
1900
  # configurations.
1763
1901
  # @return [Types::ReportGenerator]
1764
1902
  #
@@ -1854,8 +1992,8 @@ module Aws::LicenseManager
1854
1992
  # @return [String]
1855
1993
  #
1856
1994
  # @!attribute [rw] organization_configuration
1857
- # Indicates whether AWS Organizations is integrated with License
1858
- # Manager for cross-account discovery.
1995
+ # Indicates whether Organizations is integrated with License Manager
1996
+ # for cross-account discovery.
1859
1997
  # @return [Types::OrganizationConfiguration]
1860
1998
  #
1861
1999
  # @!attribute [rw] enable_cross_accounts_discovery
@@ -1863,7 +2001,7 @@ module Aws::LicenseManager
1863
2001
  # @return [Boolean]
1864
2002
  #
1865
2003
  # @!attribute [rw] license_manager_resource_share_arn
1866
- # Amazon Resource Name (ARN) of the AWS resource share. The License
2004
+ # Amazon Resource Name (ARN) of the resource share. The License
1867
2005
  # Manager management account provides member accounts with access to
1868
2006
  # this share.
1869
2007
  # @return [String]
@@ -2102,9 +2240,9 @@ module Aws::LicenseManager
2102
2240
  # @return [String]
2103
2241
  #
2104
2242
  # @!attribute [rw] sign_key
2105
- # Asymmetric CMK from AWS Key Management Service. The CMK must have a
2106
- # key usage of sign and verify, and support the RSASSA-PSS SHA-256
2107
- # signing algorithm.
2243
+ # Asymmetric KMS key from Key Management Service. The KMS key must
2244
+ # have a key usage of sign and verify, and support the RSASSA-PSS
2245
+ # SHA-256 signing algorithm.
2108
2246
  # @return [String]
2109
2247
  #
2110
2248
  # @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/Issuer AWS API Documentation
@@ -2123,9 +2261,9 @@ module Aws::LicenseManager
2123
2261
  # @return [String]
2124
2262
  #
2125
2263
  # @!attribute [rw] sign_key
2126
- # Asymmetric CMK from AWS Key Management Service. The CMK must have a
2127
- # key usage of sign and verify, and support the RSASSA-PSS SHA-256
2128
- # signing algorithm.
2264
+ # Asymmetric KMS key from Key Management Service. The KMS key must
2265
+ # have a key usage of sign and verify, and support the RSASSA-PSS
2266
+ # SHA-256 signing algorithm.
2129
2267
  # @return [String]
2130
2268
  #
2131
2269
  # @!attribute [rw] key_fingerprint
@@ -2142,7 +2280,7 @@ module Aws::LicenseManager
2142
2280
  include Aws::Structure
2143
2281
  end
2144
2282
 
2145
- # Software license that is managed in AWS License Manager.
2283
+ # Software license that is managed in License Manager.
2146
2284
  #
2147
2285
  # @!attribute [rw] license_arn
2148
2286
  # Amazon Resource Name (ARN) of the license.
@@ -2328,7 +2466,8 @@ module Aws::LicenseManager
2328
2466
  # @return [String]
2329
2467
  #
2330
2468
  # @!attribute [rw] resource_owner_id
2331
- # ID of the AWS account that owns the resource consuming licenses.
2469
+ # ID of the Amazon Web Services account that owns the resource
2470
+ # consuming licenses.
2332
2471
  # @return [String]
2333
2472
  #
2334
2473
  # @!attribute [rw] association_time
@@ -2393,6 +2532,91 @@ module Aws::LicenseManager
2393
2532
  include Aws::Structure
2394
2533
  end
2395
2534
 
2535
+ # Information about a license type conversion task.
2536
+ #
2537
+ # @note When making an API call, you may pass LicenseConversionContext
2538
+ # data as a hash:
2539
+ #
2540
+ # {
2541
+ # usage_operation: "UsageOperation",
2542
+ # }
2543
+ #
2544
+ # @!attribute [rw] usage_operation
2545
+ # The Usage operation value that corresponds to the license type you
2546
+ # are converting your resource from. For more information about which
2547
+ # platforms correspond to which usage operation values see [Sample
2548
+ # data: usage operation by platform ][1]
2549
+ #
2550
+ #
2551
+ #
2552
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/billing-info-fields.html#billing-info
2553
+ # @return [String]
2554
+ #
2555
+ # @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/LicenseConversionContext AWS API Documentation
2556
+ #
2557
+ class LicenseConversionContext < Struct.new(
2558
+ :usage_operation)
2559
+ SENSITIVE = []
2560
+ include Aws::Structure
2561
+ end
2562
+
2563
+ # Information about a license type conversion task.
2564
+ #
2565
+ # @!attribute [rw] license_conversion_task_id
2566
+ # The ID of the license type conversion task.
2567
+ # @return [String]
2568
+ #
2569
+ # @!attribute [rw] resource_arn
2570
+ # The Amazon Resource Name (ARN) of the resource associated with the
2571
+ # license type conversion task.
2572
+ # @return [String]
2573
+ #
2574
+ # @!attribute [rw] source_license_context
2575
+ # Information about the license type this conversion task converted
2576
+ # from.
2577
+ # @return [Types::LicenseConversionContext]
2578
+ #
2579
+ # @!attribute [rw] destination_license_context
2580
+ # Information about the license type this conversion task converted
2581
+ # to.
2582
+ # @return [Types::LicenseConversionContext]
2583
+ #
2584
+ # @!attribute [rw] status
2585
+ # The status of the conversion task.
2586
+ # @return [String]
2587
+ #
2588
+ # @!attribute [rw] status_message
2589
+ # The status message for the conversion task.
2590
+ # @return [String]
2591
+ #
2592
+ # @!attribute [rw] start_time
2593
+ # The time the conversion task was started at.
2594
+ # @return [Time]
2595
+ #
2596
+ # @!attribute [rw] license_conversion_time
2597
+ # The time the usage operation value of the resource was changed.
2598
+ # @return [Time]
2599
+ #
2600
+ # @!attribute [rw] end_time
2601
+ # The time the conversion task was completed.
2602
+ # @return [Time]
2603
+ #
2604
+ # @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/LicenseConversionTask AWS API Documentation
2605
+ #
2606
+ class LicenseConversionTask < Struct.new(
2607
+ :license_conversion_task_id,
2608
+ :resource_arn,
2609
+ :source_license_context,
2610
+ :destination_license_context,
2611
+ :status,
2612
+ :status_message,
2613
+ :start_time,
2614
+ :license_conversion_time,
2615
+ :end_time)
2616
+ SENSITIVE = []
2617
+ include Aws::Structure
2618
+ end
2619
+
2396
2620
  # Describes the failure of a license operation.
2397
2621
  #
2398
2622
  # @!attribute [rw] resource_arn
@@ -2416,7 +2640,7 @@ module Aws::LicenseManager
2416
2640
  # @return [String]
2417
2641
  #
2418
2642
  # @!attribute [rw] resource_owner_id
2419
- # ID of the AWS account that owns the resource.
2643
+ # ID of the Amazon Web Services account that owns the resource.
2420
2644
  # @return [String]
2421
2645
  #
2422
2646
  # @!attribute [rw] operation_requested_by
@@ -2693,7 +2917,7 @@ module Aws::LicenseManager
2693
2917
  # Filters to scope the results. The following filters and logical
2694
2918
  # operators are supported:
2695
2919
  #
2696
- # * `licenseCountingType` - The dimension on which licenses are
2920
+ # * `licenseCountingType` - The dimension for which licenses are
2697
2921
  # counted. Possible values are `vCPU` \| `Instance` \| `Core` \|
2698
2922
  # `Socket`. Logical operators are `EQUALS` \| `NOT_EQUALS`.
2699
2923
  #
@@ -2734,6 +2958,60 @@ module Aws::LicenseManager
2734
2958
  include Aws::Structure
2735
2959
  end
2736
2960
 
2961
+ # @note When making an API call, you may pass ListLicenseConversionTasksRequest
2962
+ # data as a hash:
2963
+ #
2964
+ # {
2965
+ # next_token: "String",
2966
+ # max_results: 1,
2967
+ # filters: [
2968
+ # {
2969
+ # name: "FilterName",
2970
+ # values: ["FilterValue"],
2971
+ # },
2972
+ # ],
2973
+ # }
2974
+ #
2975
+ # @!attribute [rw] next_token
2976
+ # Token for the next set of results.
2977
+ # @return [String]
2978
+ #
2979
+ # @!attribute [rw] max_results
2980
+ # Maximum number of results to return in a single call.
2981
+ # @return [Integer]
2982
+ #
2983
+ # @!attribute [rw] filters
2984
+ # Filters to scope the results. Valid filters are `ResourceArns` and
2985
+ # `Status`.
2986
+ # @return [Array<Types::Filter>]
2987
+ #
2988
+ # @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/ListLicenseConversionTasksRequest AWS API Documentation
2989
+ #
2990
+ class ListLicenseConversionTasksRequest < Struct.new(
2991
+ :next_token,
2992
+ :max_results,
2993
+ :filters)
2994
+ SENSITIVE = []
2995
+ include Aws::Structure
2996
+ end
2997
+
2998
+ # @!attribute [rw] license_conversion_tasks
2999
+ # Information about the license configuration tasks for your account.
3000
+ # @return [Array<Types::LicenseConversionTask>]
3001
+ #
3002
+ # @!attribute [rw] next_token
3003
+ # Token for the next set of results.
3004
+ # @return [String]
3005
+ #
3006
+ # @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/ListLicenseConversionTasksResponse AWS API Documentation
3007
+ #
3008
+ class ListLicenseConversionTasksResponse < Struct.new(
3009
+ :license_conversion_tasks,
3010
+ :next_token)
3011
+ SENSITIVE = []
3012
+ include Aws::Structure
3013
+ end
3014
+
2737
3015
  # @note When making an API call, you may pass ListLicenseManagerReportGeneratorsRequest
2738
3016
  # data as a hash:
2739
3017
  #
@@ -2775,7 +3053,7 @@ module Aws::LicenseManager
2775
3053
  end
2776
3054
 
2777
3055
  # @!attribute [rw] report_generators
2778
- # A report generator that creates periodic reports on your license
3056
+ # A report generator that creates periodic reports about your license
2779
3057
  # configurations.
2780
3058
  # @return [Array<Types::ReportGenerator>]
2781
3059
  #
@@ -3121,8 +3399,8 @@ module Aws::LicenseManager
3121
3399
  # Filters to scope the results. The following filters and logical
3122
3400
  # operators are supported:
3123
3401
  #
3124
- # * `account_id` - The ID of the AWS account that owns the resource.
3125
- # Logical operators are `EQUALS` \| `NOT_EQUALS`.
3402
+ # * `account_id` - The ID of the Amazon Web Services account that owns
3403
+ # the resource. Logical operators are `EQUALS` \| `NOT_EQUALS`.
3126
3404
  #
3127
3405
  # * `application_name` - The name of the application. Logical
3128
3406
  # operators are `EQUALS` \| `BEGINS_WITH`.
@@ -3394,7 +3672,7 @@ module Aws::LicenseManager
3394
3672
  include Aws::Structure
3395
3673
  end
3396
3674
 
3397
- # Configuration information for AWS Organizations.
3675
+ # Configuration information for Organizations.
3398
3676
  #
3399
3677
  # @note When making an API call, you may pass OrganizationConfiguration
3400
3678
  # data as a hash:
@@ -3404,7 +3682,7 @@ module Aws::LicenseManager
3404
3682
  # }
3405
3683
  #
3406
3684
  # @!attribute [rw] enable_integration
3407
- # Enables AWS Organization integration.
3685
+ # Enables Organizations integration.
3408
3686
  # @return [Boolean]
3409
3687
  #
3410
3688
  # @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/OrganizationConfiguration AWS API Documentation
@@ -3463,15 +3741,15 @@ module Aws::LicenseManager
3463
3741
  #
3464
3742
  # * `Platform Type` - The platform type. Logical operator is `EQUALS`.
3465
3743
  #
3466
- # * `Tag:key` - The key of a tag attached to an AWS resource you wish
3467
- # to exclude from automated discovery. Logical operator is
3468
- # `NOT_EQUALS`. The key for your tag must be appended to `Tag:`
3469
- # following the example: `Tag:name-of-your-key`.
3744
+ # * `Tag:key` - The key of a tag attached to an Amazon Web Services
3745
+ # resource you wish to exclude from automated discovery. Logical
3746
+ # operator is `NOT_EQUALS`. The key for your tag must be appended to
3747
+ # `Tag:` following the example: `Tag:name-of-your-key`.
3470
3748
  # `ProductInformationFilterValue` is optional if you are not using
3471
3749
  # values for the key.
3472
3750
  #
3473
- # * `AccountId` - The 12-digit ID of an AWS account you wish to
3474
- # exclude from automated discovery. Logical operator is
3751
+ # * `AccountId` - The 12-digit ID of an Amazon Web Services account
3752
+ # you wish to exclude from automated discovery. Logical operator is
3475
3753
  # `NOT_EQUALS`.
3476
3754
  #
3477
3755
  # * `License Included` - The type of license included. Logical
@@ -3574,6 +3852,7 @@ module Aws::LicenseManager
3574
3852
  # @return [String]
3575
3853
  #
3576
3854
  # @!attribute [rw] received_status_reason
3855
+ # Received status reason.
3577
3856
  # @return [String]
3578
3857
  #
3579
3858
  # @!attribute [rw] allowed_operations
@@ -3658,7 +3937,7 @@ module Aws::LicenseManager
3658
3937
  # }
3659
3938
  #
3660
3939
  # @!attribute [rw] license_configuration_arns
3661
- # Amazon Resource Number (ARN) of the license configuration that this
3940
+ # Amazon Resource Name (ARN) of the license configuration that this
3662
3941
  # generator reports on.
3663
3942
  # @return [Array<String>]
3664
3943
  #
@@ -3670,7 +3949,7 @@ module Aws::LicenseManager
3670
3949
  include Aws::Structure
3671
3950
  end
3672
3951
 
3673
- # Details on how frequently reports are generated.
3952
+ # Details about how frequently reports are generated.
3674
3953
  #
3675
3954
  # @note When making an API call, you may pass ReportFrequency
3676
3955
  # data as a hash:
@@ -3681,8 +3960,8 @@ module Aws::LicenseManager
3681
3960
  # }
3682
3961
  #
3683
3962
  # @!attribute [rw] value
3684
- # Number of times within the frequency period that a report will be
3685
- # generated. Currently only `1` is supported.
3963
+ # Number of times within the frequency period that a report is
3964
+ # generated. The only supported value is `1`.
3686
3965
  # @return [Integer]
3687
3966
  #
3688
3967
  # @!attribute [rw] period
@@ -3710,15 +3989,15 @@ module Aws::LicenseManager
3710
3989
  # @return [Array<String>]
3711
3990
  #
3712
3991
  # @!attribute [rw] report_context
3713
- # License configuration type this generator reports on.
3992
+ # License configuration type for this generator.
3714
3993
  # @return [Types::ReportContext]
3715
3994
  #
3716
3995
  # @!attribute [rw] report_frequency
3717
- # Details on how frequently reports are generated.
3996
+ # Details about how frequently reports are generated.
3718
3997
  # @return [Types::ReportFrequency]
3719
3998
  #
3720
3999
  # @!attribute [rw] license_manager_report_generator_arn
3721
- # Amazon Resource Number (ARN) of the report generator.
4000
+ # Amazon Resource Name (ARN) of the report generator.
3722
4001
  # @return [String]
3723
4002
  #
3724
4003
  # @!attribute [rw] last_run_status
@@ -3734,7 +4013,8 @@ module Aws::LicenseManager
3734
4013
  # @return [String]
3735
4014
  #
3736
4015
  # @!attribute [rw] report_creator_account
3737
- # The AWS account ID used to create the report generator.
4016
+ # The Amazon Web Services account ID used to create the report
4017
+ # generator.
3738
4018
  # @return [String]
3739
4019
  #
3740
4020
  # @!attribute [rw] description
@@ -4121,7 +4401,7 @@ module Aws::LicenseManager
4121
4401
  # }
4122
4402
  #
4123
4403
  # @!attribute [rw] license_manager_report_generator_arn
4124
- # Amazon Resource Number (ARN) of the report generator to update.
4404
+ # Amazon Resource Name (ARN) of the report generator to update.
4125
4405
  # @return [String]
4126
4406
  #
4127
4407
  # @!attribute [rw] report_generator_name
@@ -4129,25 +4409,22 @@ module Aws::LicenseManager
4129
4409
  # @return [String]
4130
4410
  #
4131
4411
  # @!attribute [rw] type
4132
- # Type of reports to generate. The following report types an be
4133
- # generated:
4412
+ # Type of reports to generate. The following report types are
4413
+ # supported:
4134
4414
  #
4135
- # * License configuration report - Reports on the number and details
4136
- # of consumed licenses for a license configuration.
4415
+ # * License configuration report - Reports the number and details of
4416
+ # consumed licenses for a license configuration.
4137
4417
  #
4138
- # * Resource report - Reports on the tracked licenses and resource
4418
+ # * Resource report - Reports the tracked licenses and resource
4139
4419
  # consumption for a license configuration.
4140
4420
  # @return [Array<String>]
4141
4421
  #
4142
4422
  # @!attribute [rw] report_context
4143
- # ?
4423
+ # The report context.
4144
4424
  # @return [Types::ReportContext]
4145
4425
  #
4146
4426
  # @!attribute [rw] report_frequency
4147
- # Frequency by which reports are generated. The following options are
4148
- # avaiable:
4149
- #
4150
- # ??? What are the APi value options?
4427
+ # Frequency by which reports are generated.
4151
4428
  # @return [Types::ReportFrequency]
4152
4429
  #
4153
4430
  # @!attribute [rw] client_token
@@ -4197,7 +4474,7 @@ module Aws::LicenseManager
4197
4474
  # }
4198
4475
  #
4199
4476
  # @!attribute [rw] resource_arn
4200
- # Amazon Resource Name (ARN) of the AWS resource.
4477
+ # Amazon Resource Name (ARN) of the Amazon Web Services resource.
4201
4478
  # @return [String]
4202
4479
  #
4203
4480
  # @!attribute [rw] add_license_specifications
@@ -4245,8 +4522,7 @@ module Aws::LicenseManager
4245
4522
  # @return [String]
4246
4523
  #
4247
4524
  # @!attribute [rw] organization_configuration
4248
- # Enables integration with AWS Organizations for cross-account
4249
- # discovery.
4525
+ # Enables integration with Organizations for cross-account discovery.
4250
4526
  # @return [Types::OrganizationConfiguration]
4251
4527
  #
4252
4528
  # @!attribute [rw] enable_cross_accounts_discovery
@@ -48,6 +48,6 @@ require_relative 'aws-sdk-licensemanager/customizations'
48
48
  # @!group service
49
49
  module Aws::LicenseManager
50
50
 
51
- GEM_VERSION = '1.30.0'
51
+ GEM_VERSION = '1.34.0'
52
52
 
53
53
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-licensemanager
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.30.0
4
+ version: 1.34.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-07-30 00:00:00.000000000 Z
11
+ date: 2021-09-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core
@@ -19,7 +19,7 @@ dependencies:
19
19
  version: '3'
20
20
  - - ">="
21
21
  - !ruby/object:Gem::Version
22
- version: 3.119.0
22
+ version: 3.120.0
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
@@ -29,7 +29,7 @@ dependencies:
29
29
  version: '3'
30
30
  - - ">="
31
31
  - !ruby/object:Gem::Version
32
- version: 3.119.0
32
+ version: 3.120.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement
@@ -76,7 +76,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
76
76
  requirements:
77
77
  - - ">="
78
78
  - !ruby/object:Gem::Version
79
- version: '0'
79
+ version: '2.3'
80
80
  required_rubygems_version: !ruby/object:Gem::Requirement
81
81
  requirements:
82
82
  - - ">="