aws-sdk-licensemanager 1.29.0 → 1.33.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: bc5c41f244f0ba42335a97480524fc4e6e9349c272024a0414ee08c4bb891baf
4
- data.tar.gz: 8b3b35d651f77353bc506387d51cfa9834ba88d2584bbf7c66003bf3e17621a6
3
+ metadata.gz: a823b6e38d585fc53b997fc617364e386df1a035ae9101e12788122cbec65d39
4
+ data.tar.gz: ae29e4f68ee3ccab6dd501a8726025d5e7722e06dcd038a80eb9cc79d41db101
5
5
  SHA512:
6
- metadata.gz: 1490eede09c9089990458a0cfd2014df651818320b57341cc9e3f373a68dd8c22a72b677024021aabb00032aaf4de5a4c31123f2b0e7987d37a84759aaa2d77d
7
- data.tar.gz: a6f1eccb6fcd01623a097248e23de9ca7bccc82d1539c0f5271061665b06a8fc03fe3b415e5aacca801ab19954ddb82c2efba2eeb75ddb85adf6ef71247c008b
6
+ metadata.gz: 61fd7ef6363959b3f8852246aee57fb680bd55a185dea6a4b225a5ac108d5f05bba489cfb0d4ca300ee5e54908cf4ecc17563b32718dcf78d62f6f9e1a775955
7
+ data.tar.gz: d7fd2aa7ba4209fea9ea45a57f574dc29c041c86337d6fb7e01326cf9f949268f6d53fd549d35372c763a663c587065d0e6cfb2a7cb76b7534c1fc159c075255
data/CHANGELOG.md CHANGED
@@ -1,6 +1,26 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.33.0 (2021-09-22)
5
+ ------------------
6
+
7
+ * 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).
8
+
9
+ 1.32.0 (2021-09-01)
10
+ ------------------
11
+
12
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
13
+
14
+ 1.31.0 (2021-08-16)
15
+ ------------------
16
+
17
+ * 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.
18
+
19
+ 1.30.0 (2021-07-30)
20
+ ------------------
21
+
22
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
23
+
4
24
  1.29.0 (2021-07-28)
5
25
  ------------------
6
26
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.29.0
1
+ 1.33.0
@@ -520,7 +520,7 @@ module Aws::LicenseManager
520
520
  #
521
521
  # resp = client.checkout_license({
522
522
  # product_sku: "String", # required
523
- # checkout_type: "PROVISIONAL", # required, accepts PROVISIONAL
523
+ # checkout_type: "PROVISIONAL", # required, accepts PROVISIONAL, PERPETUAL
524
524
  # key_fingerprint: "String", # required
525
525
  # entitlements: [ # required
526
526
  # {
@@ -536,7 +536,7 @@ module Aws::LicenseManager
536
536
  #
537
537
  # @example Response structure
538
538
  #
539
- # resp.checkout_type #=> String, one of "PROVISIONAL"
539
+ # resp.checkout_type #=> String, one of "PROVISIONAL", "PERPETUAL"
540
540
  # resp.license_consumption_token #=> String
541
541
  # resp.entitlements_allowed #=> Array
542
542
  # resp.entitlements_allowed[0].name #=> String
@@ -557,7 +557,7 @@ module Aws::LicenseManager
557
557
  end
558
558
 
559
559
  # Creates a grant for the specified license. A grant shares the use of
560
- # license entitlements with specific AWS accounts.
560
+ # license entitlements with specific Amazon Web Services accounts.
561
561
  #
562
562
  # @option params [required, String] :client_token
563
563
  # Unique, case-sensitive identifier that you provide to ensure the
@@ -629,6 +629,7 @@ module Aws::LicenseManager
629
629
  # Grant status.
630
630
  #
631
631
  # @option params [String] :status_reason
632
+ # Grant status reason.
632
633
  #
633
634
  # @option params [String] :source_version
634
635
  # Current version of the grant.
@@ -876,7 +877,60 @@ module Aws::LicenseManager
876
877
  req.send_request(options)
877
878
  end
878
879
 
879
- # Creates a new report generator.
880
+ # Creates a new license conversion task.
881
+ #
882
+ # @option params [required, String] :resource_arn
883
+ # Amazon Resource Name (ARN) of the resource you are converting the
884
+ # license type for.
885
+ #
886
+ # @option params [required, Types::LicenseConversionContext] :source_license_context
887
+ # Information that identifies the license type you are converting from.
888
+ # For the structure of the source license, see [Convert a license type
889
+ # using the AWS CLI][1] in the *License Manager User Guide*.
890
+ #
891
+ #
892
+ #
893
+ # [1]: https://docs.aws.amazon.com/license-manager/latest/userguide/conversion-procedures.html#conversion-cli
894
+ #
895
+ # @option params [required, Types::LicenseConversionContext] :destination_license_context
896
+ # Information that identifies the license type you are converting to.
897
+ # For the structure of the destination license, see [Convert a license
898
+ # type using the AWS CLI][1] in the *License Manager User Guide*.
899
+ #
900
+ #
901
+ #
902
+ # [1]: https://docs.aws.amazon.com/license-manager/latest/userguide/conversion-procedures.html#conversion-cli
903
+ #
904
+ # @return [Types::CreateLicenseConversionTaskForResourceResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
905
+ #
906
+ # * {Types::CreateLicenseConversionTaskForResourceResponse#license_conversion_task_id #license_conversion_task_id} => String
907
+ #
908
+ # @example Request syntax with placeholder values
909
+ #
910
+ # resp = client.create_license_conversion_task_for_resource({
911
+ # resource_arn: "Arn", # required
912
+ # source_license_context: { # required
913
+ # usage_operation: "UsageOperation",
914
+ # },
915
+ # destination_license_context: { # required
916
+ # usage_operation: "UsageOperation",
917
+ # },
918
+ # })
919
+ #
920
+ # @example Response structure
921
+ #
922
+ # resp.license_conversion_task_id #=> String
923
+ #
924
+ # @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/CreateLicenseConversionTaskForResource AWS API Documentation
925
+ #
926
+ # @overload create_license_conversion_task_for_resource(params = {})
927
+ # @param [Hash] params ({})
928
+ def create_license_conversion_task_for_resource(params = {}, options = {})
929
+ req = build_request(:create_license_conversion_task_for_resource, params)
930
+ req.send_request(options)
931
+ end
932
+
933
+ # Creates a report generator.
880
934
  #
881
935
  # @option params [required, String] :report_generator_name
882
936
  # Name of the report generator.
@@ -885,10 +939,10 @@ module Aws::LicenseManager
885
939
  # Type of reports to generate. The following report types an be
886
940
  # generated:
887
941
  #
888
- # * License configuration report - Reports on the number and details of
942
+ # * License configuration report - Reports the number and details of
889
943
  # consumed licenses for a license configuration.
890
944
  #
891
- # * Resource report - Reports on the tracked licenses and resource
945
+ # * Resource report - Reports the tracked licenses and resource
892
946
  # consumption for a license configuration.
893
947
  #
894
948
  # @option params [required, Types::ReportContext] :report_context
@@ -1119,6 +1173,7 @@ module Aws::LicenseManager
1119
1173
  # Amazon Resource Name (ARN) of the grant.
1120
1174
  #
1121
1175
  # @option params [String] :status_reason
1176
+ # The Status reason for the delete request.
1122
1177
  #
1123
1178
  # @option params [required, String] :version
1124
1179
  # Current version of the grant.
@@ -1210,15 +1265,14 @@ module Aws::LicenseManager
1210
1265
  req.send_request(options)
1211
1266
  end
1212
1267
 
1213
- # Delete an existing report generator.
1268
+ # Deletes the specified report generator.
1214
1269
  #
1215
1270
  # 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.
1271
+ # generating future reports. The action cannot be reversed. It has no
1272
+ # effect on the previous reports from this generator.
1218
1273
  #
1219
1274
  # @option params [required, String] :license_manager_report_generator_arn
1220
- # Amazon Resource Number (ARN) of the report generator that will be
1221
- # deleted.
1275
+ # Amazon Resource Name (ARN) of the report generator to be deleted.
1222
1276
  #
1223
1277
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
1224
1278
  #
@@ -1503,11 +1557,54 @@ module Aws::LicenseManager
1503
1557
  req.send_request(options)
1504
1558
  end
1505
1559
 
1506
- # Gets information on the specified report generator.
1560
+ # Gets information about the specified license type conversion task.
1561
+ #
1562
+ # @option params [required, String] :license_conversion_task_id
1563
+ # ID of the license type conversion task to retrieve information on.
1564
+ #
1565
+ # @return [Types::GetLicenseConversionTaskResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1566
+ #
1567
+ # * {Types::GetLicenseConversionTaskResponse#license_conversion_task_id #license_conversion_task_id} => String
1568
+ # * {Types::GetLicenseConversionTaskResponse#resource_arn #resource_arn} => String
1569
+ # * {Types::GetLicenseConversionTaskResponse#source_license_context #source_license_context} => Types::LicenseConversionContext
1570
+ # * {Types::GetLicenseConversionTaskResponse#destination_license_context #destination_license_context} => Types::LicenseConversionContext
1571
+ # * {Types::GetLicenseConversionTaskResponse#status_message #status_message} => String
1572
+ # * {Types::GetLicenseConversionTaskResponse#status #status} => String
1573
+ # * {Types::GetLicenseConversionTaskResponse#start_time #start_time} => Time
1574
+ # * {Types::GetLicenseConversionTaskResponse#license_conversion_time #license_conversion_time} => Time
1575
+ # * {Types::GetLicenseConversionTaskResponse#end_time #end_time} => Time
1576
+ #
1577
+ # @example Request syntax with placeholder values
1578
+ #
1579
+ # resp = client.get_license_conversion_task({
1580
+ # license_conversion_task_id: "LicenseConversionTaskId", # required
1581
+ # })
1582
+ #
1583
+ # @example Response structure
1584
+ #
1585
+ # resp.license_conversion_task_id #=> String
1586
+ # resp.resource_arn #=> String
1587
+ # resp.source_license_context.usage_operation #=> String
1588
+ # resp.destination_license_context.usage_operation #=> String
1589
+ # resp.status_message #=> String
1590
+ # resp.status #=> String, one of "IN_PROGRESS", "SUCCEEDED", "FAILED"
1591
+ # resp.start_time #=> Time
1592
+ # resp.license_conversion_time #=> Time
1593
+ # resp.end_time #=> Time
1594
+ #
1595
+ # @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/GetLicenseConversionTask AWS API Documentation
1596
+ #
1597
+ # @overload get_license_conversion_task(params = {})
1598
+ # @param [Hash] params ({})
1599
+ def get_license_conversion_task(params = {}, options = {})
1600
+ req = build_request(:get_license_conversion_task, params)
1601
+ req.send_request(options)
1602
+ end
1603
+
1604
+ # Gets information about the specified report generator.
1507
1605
  #
1508
1606
  # @option params [required, String] :license_manager_report_generator_arn
1509
- # mazon Resource Number (ARN) of the report generator to retrieve
1510
- # information on.
1607
+ # Amazon Resource Name (ARN) of the report generator.
1511
1608
  #
1512
1609
  # @return [Types::GetLicenseManagerReportGeneratorResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1513
1610
  #
@@ -1788,9 +1885,9 @@ module Aws::LicenseManager
1788
1885
  # Filters to scope the results. The following filters and logical
1789
1886
  # operators are supported:
1790
1887
  #
1791
- # * `licenseCountingType` - The dimension on which licenses are counted.
1792
- # Possible values are `vCPU` \| `Instance` \| `Core` \| `Socket`.
1793
- # Logical operators are `EQUALS` \| `NOT_EQUALS`.
1888
+ # * `licenseCountingType` - The dimension for which licenses are
1889
+ # counted. Possible values are `vCPU` \| `Instance` \| `Core` \|
1890
+ # `Socket`. Logical operators are `EQUALS` \| `NOT_EQUALS`.
1794
1891
  #
1795
1892
  # * `enforceLicenseCount` - A Boolean value that indicates whether hard
1796
1893
  # license enforcement is used. Logical operators are `EQUALS` \|
@@ -1860,6 +1957,59 @@ module Aws::LicenseManager
1860
1957
  req.send_request(options)
1861
1958
  end
1862
1959
 
1960
+ # Lists the license type conversion tasks for your account.
1961
+ #
1962
+ # @option params [String] :next_token
1963
+ # Token for the next set of results.
1964
+ #
1965
+ # @option params [Integer] :max_results
1966
+ # Maximum number of results to return in a single call.
1967
+ #
1968
+ # @option params [Array<Types::Filter>] :filters
1969
+ # Filters to scope the results. Valid filters are `ResourceArns` and
1970
+ # `Status`.
1971
+ #
1972
+ # @return [Types::ListLicenseConversionTasksResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1973
+ #
1974
+ # * {Types::ListLicenseConversionTasksResponse#license_conversion_tasks #license_conversion_tasks} => Array&lt;Types::LicenseConversionTask&gt;
1975
+ # * {Types::ListLicenseConversionTasksResponse#next_token #next_token} => String
1976
+ #
1977
+ # @example Request syntax with placeholder values
1978
+ #
1979
+ # resp = client.list_license_conversion_tasks({
1980
+ # next_token: "String",
1981
+ # max_results: 1,
1982
+ # filters: [
1983
+ # {
1984
+ # name: "FilterName",
1985
+ # values: ["FilterValue"],
1986
+ # },
1987
+ # ],
1988
+ # })
1989
+ #
1990
+ # @example Response structure
1991
+ #
1992
+ # resp.license_conversion_tasks #=> Array
1993
+ # resp.license_conversion_tasks[0].license_conversion_task_id #=> String
1994
+ # resp.license_conversion_tasks[0].resource_arn #=> String
1995
+ # resp.license_conversion_tasks[0].source_license_context.usage_operation #=> String
1996
+ # resp.license_conversion_tasks[0].destination_license_context.usage_operation #=> String
1997
+ # resp.license_conversion_tasks[0].status #=> String, one of "IN_PROGRESS", "SUCCEEDED", "FAILED"
1998
+ # resp.license_conversion_tasks[0].status_message #=> String
1999
+ # resp.license_conversion_tasks[0].start_time #=> Time
2000
+ # resp.license_conversion_tasks[0].license_conversion_time #=> Time
2001
+ # resp.license_conversion_tasks[0].end_time #=> Time
2002
+ # resp.next_token #=> String
2003
+ #
2004
+ # @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/ListLicenseConversionTasks AWS API Documentation
2005
+ #
2006
+ # @overload list_license_conversion_tasks(params = {})
2007
+ # @param [Hash] params ({})
2008
+ def list_license_conversion_tasks(params = {}, options = {})
2009
+ req = build_request(:list_license_conversion_tasks, params)
2010
+ req.send_request(options)
2011
+ end
2012
+
1863
2013
  # Lists the report generators for your account.
1864
2014
  #
1865
2015
  # @option params [Array<Types::Filter>] :filters
@@ -2285,8 +2435,8 @@ module Aws::LicenseManager
2285
2435
  # Filters to scope the results. The following filters and logical
2286
2436
  # operators are supported:
2287
2437
  #
2288
- # * `account_id` - The ID of the AWS account that owns the resource.
2289
- # Logical operators are `EQUALS` \| `NOT_EQUALS`.
2438
+ # * `account_id` - The ID of the Amazon Web Services account that owns
2439
+ # the resource. Logical operators are `EQUALS` \| `NOT_EQUALS`.
2290
2440
  #
2291
2441
  # * `application_name` - The name of the application. Logical operators
2292
2442
  # are `EQUALS` \| `BEGINS_WITH`.
@@ -2659,33 +2809,29 @@ module Aws::LicenseManager
2659
2809
 
2660
2810
  # Updates a report generator.
2661
2811
  #
2662
- # After you make changes to a report generator, it will start generating
2663
- # new reports within 60 minutes of being updated.
2812
+ # After you make changes to a report generator, it starts generating new
2813
+ # reports within 60 minutes of being updated.
2664
2814
  #
2665
2815
  # @option params [required, String] :license_manager_report_generator_arn
2666
- # Amazon Resource Number (ARN) of the report generator to update.
2816
+ # Amazon Resource Name (ARN) of the report generator to update.
2667
2817
  #
2668
2818
  # @option params [required, String] :report_generator_name
2669
2819
  # Name of the report generator.
2670
2820
  #
2671
2821
  # @option params [required, Array<String>] :type
2672
- # Type of reports to generate. The following report types an be
2673
- # generated:
2822
+ # Type of reports to generate. The following report types are supported:
2674
2823
  #
2675
- # * License configuration report - Reports on the number and details of
2824
+ # * License configuration report - Reports the number and details of
2676
2825
  # consumed licenses for a license configuration.
2677
2826
  #
2678
- # * Resource report - Reports on the tracked licenses and resource
2827
+ # * Resource report - Reports the tracked licenses and resource
2679
2828
  # consumption for a license configuration.
2680
2829
  #
2681
2830
  # @option params [required, Types::ReportContext] :report_context
2682
- # ?
2831
+ # The report context.
2683
2832
  #
2684
2833
  # @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?
2834
+ # Frequency by which reports are generated.
2689
2835
  #
2690
2836
  # @option params [required, String] :client_token
2691
2837
  # Unique, case-sensitive identifier that you provide to ensure the
@@ -2723,15 +2869,15 @@ module Aws::LicenseManager
2723
2869
  end
2724
2870
 
2725
2871
  # Adds or removes the specified license configurations for the specified
2726
- # AWS resource.
2872
+ # Amazon Web Services resource.
2727
2873
  #
2728
2874
  # You can update the license specifications of AMIs, instances, and
2729
2875
  # hosts. You cannot update the license specifications for launch
2730
- # templates and AWS CloudFormation templates, as they send license
2876
+ # templates and CloudFormation templates, as they send license
2731
2877
  # configurations to the operation that creates the resource.
2732
2878
  #
2733
2879
  # @option params [required, String] :resource_arn
2734
- # Amazon Resource Name (ARN) of the AWS resource.
2880
+ # Amazon Resource Name (ARN) of the Amazon Web Services resource.
2735
2881
  #
2736
2882
  # @option params [Array<Types::LicenseSpecification>] :add_license_specifications
2737
2883
  # ARNs of the license configurations to add.
@@ -2779,8 +2925,7 @@ module Aws::LicenseManager
2779
2925
  # Manager alerts.
2780
2926
  #
2781
2927
  # @option params [Types::OrganizationConfiguration] :organization_configuration
2782
- # Enables integration with AWS Organizations for cross-account
2783
- # discovery.
2928
+ # Enables integration with Organizations for cross-account discovery.
2784
2929
  #
2785
2930
  # @option params [Boolean] :enable_cross_accounts_discovery
2786
2931
  # Activates cross-account discovery.
@@ -2820,7 +2965,7 @@ module Aws::LicenseManager
2820
2965
  params: params,
2821
2966
  config: config)
2822
2967
  context[:gem_name] = 'aws-sdk-licensemanager'
2823
- context[:gem_version] = '1.29.0'
2968
+ context[:gem_version] = '1.33.0'
2824
2969
  Seahorse::Client::Request.new(handlers, context)
2825
2970
  end
2826
2971
 
@@ -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"))
@@ -347,6 +359,14 @@ module Aws::LicenseManager
347
359
  CreateLicenseConfigurationResponse.add_member(:license_configuration_arn, Shapes::ShapeRef.new(shape: String, location_name: "LicenseConfigurationArn"))
348
360
  CreateLicenseConfigurationResponse.struct_class = Types::CreateLicenseConfigurationResponse
349
361
 
362
+ CreateLicenseConversionTaskForResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "ResourceArn"))
363
+ CreateLicenseConversionTaskForResourceRequest.add_member(:source_license_context, Shapes::ShapeRef.new(shape: LicenseConversionContext, required: true, location_name: "SourceLicenseContext"))
364
+ CreateLicenseConversionTaskForResourceRequest.add_member(:destination_license_context, Shapes::ShapeRef.new(shape: LicenseConversionContext, required: true, location_name: "DestinationLicenseContext"))
365
+ CreateLicenseConversionTaskForResourceRequest.struct_class = Types::CreateLicenseConversionTaskForResourceRequest
366
+
367
+ CreateLicenseConversionTaskForResourceResponse.add_member(:license_conversion_task_id, Shapes::ShapeRef.new(shape: LicenseConversionTaskId, location_name: "LicenseConversionTaskId"))
368
+ CreateLicenseConversionTaskForResourceResponse.struct_class = Types::CreateLicenseConversionTaskForResourceResponse
369
+
350
370
  CreateLicenseManagerReportGeneratorRequest.add_member(:report_generator_name, Shapes::ShapeRef.new(shape: ReportGeneratorName, required: true, location_name: "ReportGeneratorName"))
351
371
  CreateLicenseManagerReportGeneratorRequest.add_member(:type, Shapes::ShapeRef.new(shape: ReportTypeList, required: true, location_name: "Type"))
352
372
  CreateLicenseManagerReportGeneratorRequest.add_member(:report_context, Shapes::ShapeRef.new(shape: ReportContext, required: true, location_name: "ReportContext"))
@@ -534,6 +554,20 @@ module Aws::LicenseManager
534
554
  GetLicenseConfigurationResponse.add_member(:disassociate_when_not_found, Shapes::ShapeRef.new(shape: BoxBoolean, location_name: "DisassociateWhenNotFound"))
535
555
  GetLicenseConfigurationResponse.struct_class = Types::GetLicenseConfigurationResponse
536
556
 
557
+ GetLicenseConversionTaskRequest.add_member(:license_conversion_task_id, Shapes::ShapeRef.new(shape: LicenseConversionTaskId, required: true, location_name: "LicenseConversionTaskId"))
558
+ GetLicenseConversionTaskRequest.struct_class = Types::GetLicenseConversionTaskRequest
559
+
560
+ GetLicenseConversionTaskResponse.add_member(:license_conversion_task_id, Shapes::ShapeRef.new(shape: LicenseConversionTaskId, location_name: "LicenseConversionTaskId"))
561
+ GetLicenseConversionTaskResponse.add_member(:resource_arn, Shapes::ShapeRef.new(shape: String, location_name: "ResourceArn"))
562
+ GetLicenseConversionTaskResponse.add_member(:source_license_context, Shapes::ShapeRef.new(shape: LicenseConversionContext, location_name: "SourceLicenseContext"))
563
+ GetLicenseConversionTaskResponse.add_member(:destination_license_context, Shapes::ShapeRef.new(shape: LicenseConversionContext, location_name: "DestinationLicenseContext"))
564
+ GetLicenseConversionTaskResponse.add_member(:status_message, Shapes::ShapeRef.new(shape: String, location_name: "StatusMessage"))
565
+ GetLicenseConversionTaskResponse.add_member(:status, Shapes::ShapeRef.new(shape: LicenseConversionTaskStatus, location_name: "Status"))
566
+ GetLicenseConversionTaskResponse.add_member(:start_time, Shapes::ShapeRef.new(shape: DateTime, location_name: "StartTime"))
567
+ GetLicenseConversionTaskResponse.add_member(:license_conversion_time, Shapes::ShapeRef.new(shape: DateTime, location_name: "LicenseConversionTime"))
568
+ GetLicenseConversionTaskResponse.add_member(:end_time, Shapes::ShapeRef.new(shape: DateTime, location_name: "EndTime"))
569
+ GetLicenseConversionTaskResponse.struct_class = Types::GetLicenseConversionTaskResponse
570
+
537
571
  GetLicenseManagerReportGeneratorRequest.add_member(:license_manager_report_generator_arn, Shapes::ShapeRef.new(shape: String, required: true, location_name: "LicenseManagerReportGeneratorArn"))
538
572
  GetLicenseManagerReportGeneratorRequest.struct_class = Types::GetLicenseManagerReportGeneratorRequest
539
573
 
@@ -672,6 +706,22 @@ module Aws::LicenseManager
672
706
 
673
707
  LicenseConfigurations.member = Shapes::ShapeRef.new(shape: LicenseConfiguration)
674
708
 
709
+ LicenseConversionContext.add_member(:usage_operation, Shapes::ShapeRef.new(shape: UsageOperation, location_name: "UsageOperation"))
710
+ LicenseConversionContext.struct_class = Types::LicenseConversionContext
711
+
712
+ LicenseConversionTask.add_member(:license_conversion_task_id, Shapes::ShapeRef.new(shape: LicenseConversionTaskId, location_name: "LicenseConversionTaskId"))
713
+ LicenseConversionTask.add_member(:resource_arn, Shapes::ShapeRef.new(shape: String, location_name: "ResourceArn"))
714
+ LicenseConversionTask.add_member(:source_license_context, Shapes::ShapeRef.new(shape: LicenseConversionContext, location_name: "SourceLicenseContext"))
715
+ LicenseConversionTask.add_member(:destination_license_context, Shapes::ShapeRef.new(shape: LicenseConversionContext, location_name: "DestinationLicenseContext"))
716
+ LicenseConversionTask.add_member(:status, Shapes::ShapeRef.new(shape: LicenseConversionTaskStatus, location_name: "Status"))
717
+ LicenseConversionTask.add_member(:status_message, Shapes::ShapeRef.new(shape: String, location_name: "StatusMessage"))
718
+ LicenseConversionTask.add_member(:start_time, Shapes::ShapeRef.new(shape: DateTime, location_name: "StartTime"))
719
+ LicenseConversionTask.add_member(:license_conversion_time, Shapes::ShapeRef.new(shape: DateTime, location_name: "LicenseConversionTime"))
720
+ LicenseConversionTask.add_member(:end_time, Shapes::ShapeRef.new(shape: DateTime, location_name: "EndTime"))
721
+ LicenseConversionTask.struct_class = Types::LicenseConversionTask
722
+
723
+ LicenseConversionTasks.member = Shapes::ShapeRef.new(shape: LicenseConversionTask)
724
+
675
725
  LicenseList.member = Shapes::ShapeRef.new(shape: License)
676
726
 
677
727
  LicenseOperationFailure.add_member(:resource_arn, Shapes::ShapeRef.new(shape: String, location_name: "ResourceArn"))
@@ -736,6 +786,15 @@ module Aws::LicenseManager
736
786
  ListLicenseConfigurationsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
737
787
  ListLicenseConfigurationsResponse.struct_class = Types::ListLicenseConfigurationsResponse
738
788
 
789
+ ListLicenseConversionTasksRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
790
+ ListLicenseConversionTasksRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: BoxInteger, location_name: "MaxResults"))
791
+ ListLicenseConversionTasksRequest.add_member(:filters, Shapes::ShapeRef.new(shape: Filters, location_name: "Filters"))
792
+ ListLicenseConversionTasksRequest.struct_class = Types::ListLicenseConversionTasksRequest
793
+
794
+ ListLicenseConversionTasksResponse.add_member(:license_conversion_tasks, Shapes::ShapeRef.new(shape: LicenseConversionTasks, location_name: "LicenseConversionTasks"))
795
+ ListLicenseConversionTasksResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
796
+ ListLicenseConversionTasksResponse.struct_class = Types::ListLicenseConversionTasksResponse
797
+
739
798
  ListLicenseManagerReportGeneratorsRequest.add_member(:filters, Shapes::ShapeRef.new(shape: FilterList, location_name: "Filters"))
740
799
  ListLicenseManagerReportGeneratorsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
741
800
  ListLicenseManagerReportGeneratorsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxSize100, location_name: "MaxResults"))
@@ -1158,6 +1217,20 @@ module Aws::LicenseManager
1158
1217
  o.errors << Shapes::ShapeRef.new(shape: RateLimitExceededException)
1159
1218
  end)
1160
1219
 
1220
+ api.add_operation(:create_license_conversion_task_for_resource, Seahorse::Model::Operation.new.tap do |o|
1221
+ o.name = "CreateLicenseConversionTaskForResource"
1222
+ o.http_method = "POST"
1223
+ o.http_request_uri = "/"
1224
+ o.input = Shapes::ShapeRef.new(shape: CreateLicenseConversionTaskForResourceRequest)
1225
+ o.output = Shapes::ShapeRef.new(shape: CreateLicenseConversionTaskForResourceResponse)
1226
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
1227
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1228
+ o.errors << Shapes::ShapeRef.new(shape: ServerInternalException)
1229
+ o.errors << Shapes::ShapeRef.new(shape: AuthorizationException)
1230
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1231
+ o.errors << Shapes::ShapeRef.new(shape: RateLimitExceededException)
1232
+ end)
1233
+
1161
1234
  api.add_operation(:create_license_manager_report_generator, Seahorse::Model::Operation.new.tap do |o|
1162
1235
  o.name = "CreateLicenseManagerReportGenerator"
1163
1236
  o.http_method = "POST"
@@ -1351,6 +1424,19 @@ module Aws::LicenseManager
1351
1424
  o.errors << Shapes::ShapeRef.new(shape: RateLimitExceededException)
1352
1425
  end)
1353
1426
 
1427
+ api.add_operation(:get_license_conversion_task, Seahorse::Model::Operation.new.tap do |o|
1428
+ o.name = "GetLicenseConversionTask"
1429
+ o.http_method = "POST"
1430
+ o.http_request_uri = "/"
1431
+ o.input = Shapes::ShapeRef.new(shape: GetLicenseConversionTaskRequest)
1432
+ o.output = Shapes::ShapeRef.new(shape: GetLicenseConversionTaskResponse)
1433
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
1434
+ o.errors << Shapes::ShapeRef.new(shape: ServerInternalException)
1435
+ o.errors << Shapes::ShapeRef.new(shape: AuthorizationException)
1436
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1437
+ o.errors << Shapes::ShapeRef.new(shape: RateLimitExceededException)
1438
+ end)
1439
+
1354
1440
  api.add_operation(:get_license_manager_report_generator, Seahorse::Model::Operation.new.tap do |o|
1355
1441
  o.name = "GetLicenseManagerReportGenerator"
1356
1442
  o.http_method = "POST"
@@ -1449,6 +1535,19 @@ module Aws::LicenseManager
1449
1535
  o.errors << Shapes::ShapeRef.new(shape: RateLimitExceededException)
1450
1536
  end)
1451
1537
 
1538
+ api.add_operation(:list_license_conversion_tasks, Seahorse::Model::Operation.new.tap do |o|
1539
+ o.name = "ListLicenseConversionTasks"
1540
+ o.http_method = "POST"
1541
+ o.http_request_uri = "/"
1542
+ o.input = Shapes::ShapeRef.new(shape: ListLicenseConversionTasksRequest)
1543
+ o.output = Shapes::ShapeRef.new(shape: ListLicenseConversionTasksResponse)
1544
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
1545
+ o.errors << Shapes::ShapeRef.new(shape: ServerInternalException)
1546
+ o.errors << Shapes::ShapeRef.new(shape: AuthorizationException)
1547
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1548
+ o.errors << Shapes::ShapeRef.new(shape: RateLimitExceededException)
1549
+ end)
1550
+
1452
1551
  api.add_operation(:list_license_manager_report_generators, Seahorse::Model::Operation.new.tap do |o|
1453
1552
  o.name = "ListLicenseManagerReportGenerators"
1454
1553
  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
  # {
@@ -544,6 +544,7 @@ module Aws::LicenseManager
544
544
  # @return [String]
545
545
  #
546
546
  # @!attribute [rw] status_reason
547
+ # Grant status reason.
547
548
  # @return [String]
548
549
  #
549
550
  # @!attribute [rw] source_version
@@ -702,6 +703,67 @@ module Aws::LicenseManager
702
703
  include Aws::Structure
703
704
  end
704
705
 
706
+ # @note When making an API call, you may pass CreateLicenseConversionTaskForResourceRequest
707
+ # data as a hash:
708
+ #
709
+ # {
710
+ # resource_arn: "Arn", # required
711
+ # source_license_context: { # required
712
+ # usage_operation: "UsageOperation",
713
+ # },
714
+ # destination_license_context: { # required
715
+ # usage_operation: "UsageOperation",
716
+ # },
717
+ # }
718
+ #
719
+ # @!attribute [rw] resource_arn
720
+ # Amazon Resource Name (ARN) of the resource you are converting the
721
+ # license type for.
722
+ # @return [String]
723
+ #
724
+ # @!attribute [rw] source_license_context
725
+ # Information that identifies the license type you are converting
726
+ # from. For the structure of the source license, see [Convert a
727
+ # license type using the AWS CLI][1] in the *License Manager User
728
+ # Guide*.
729
+ #
730
+ #
731
+ #
732
+ # [1]: https://docs.aws.amazon.com/license-manager/latest/userguide/conversion-procedures.html#conversion-cli
733
+ # @return [Types::LicenseConversionContext]
734
+ #
735
+ # @!attribute [rw] destination_license_context
736
+ # Information that identifies the license type you are converting to.
737
+ # For the structure of the destination license, see [Convert a license
738
+ # type using the AWS CLI][1] in the *License Manager User Guide*.
739
+ #
740
+ #
741
+ #
742
+ # [1]: https://docs.aws.amazon.com/license-manager/latest/userguide/conversion-procedures.html#conversion-cli
743
+ # @return [Types::LicenseConversionContext]
744
+ #
745
+ # @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/CreateLicenseConversionTaskForResourceRequest AWS API Documentation
746
+ #
747
+ class CreateLicenseConversionTaskForResourceRequest < Struct.new(
748
+ :resource_arn,
749
+ :source_license_context,
750
+ :destination_license_context)
751
+ SENSITIVE = []
752
+ include Aws::Structure
753
+ end
754
+
755
+ # @!attribute [rw] license_conversion_task_id
756
+ # The ID of the created license type conversion task.
757
+ # @return [String]
758
+ #
759
+ # @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/CreateLicenseConversionTaskForResourceResponse AWS API Documentation
760
+ #
761
+ class CreateLicenseConversionTaskForResourceResponse < Struct.new(
762
+ :license_conversion_task_id)
763
+ SENSITIVE = []
764
+ include Aws::Structure
765
+ end
766
+
705
767
  # @note When making an API call, you may pass CreateLicenseManagerReportGeneratorRequest
706
768
  # data as a hash:
707
769
  #
@@ -733,10 +795,10 @@ module Aws::LicenseManager
733
795
  # Type of reports to generate. The following report types an be
734
796
  # generated:
735
797
  #
736
- # * License configuration report - Reports on the number and details
737
- # of consumed licenses for a license configuration.
798
+ # * License configuration report - Reports the number and details of
799
+ # consumed licenses for a license configuration.
738
800
  #
739
- # * Resource report - Reports on the tracked licenses and resource
801
+ # * Resource report - Reports the tracked licenses and resource
740
802
  # consumption for a license configuration.
741
803
  # @return [Array<String>]
742
804
  #
@@ -778,7 +840,7 @@ module Aws::LicenseManager
778
840
  end
779
841
 
780
842
  # @!attribute [rw] license_manager_report_generator_arn
781
- # The Amazon Resource Number (ARN) of the new report generator.
843
+ # The Amazon Resource Name (ARN) of the new report generator.
782
844
  # @return [String]
783
845
  #
784
846
  # @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/CreateLicenseManagerReportGeneratorResponse AWS API Documentation
@@ -1173,6 +1235,7 @@ module Aws::LicenseManager
1173
1235
  # @return [String]
1174
1236
  #
1175
1237
  # @!attribute [rw] status_reason
1238
+ # The Status reason for the delete request.
1176
1239
  # @return [String]
1177
1240
  #
1178
1241
  # @!attribute [rw] version
@@ -1242,8 +1305,7 @@ module Aws::LicenseManager
1242
1305
  # }
1243
1306
  #
1244
1307
  # @!attribute [rw] license_manager_report_generator_arn
1245
- # Amazon Resource Number (ARN) of the report generator that will be
1246
- # deleted.
1308
+ # Amazon Resource Name (ARN) of the report generator to be deleted.
1247
1309
  # @return [String]
1248
1310
  #
1249
1311
  # @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/DeleteLicenseManagerReportGeneratorRequest AWS API Documentation
@@ -1288,7 +1350,7 @@ module Aws::LicenseManager
1288
1350
  # @return [String]
1289
1351
  #
1290
1352
  # @!attribute [rw] deletion_date
1291
- # Date on which the license is deleted.
1353
+ # Date when the license is deleted.
1292
1354
  # @return [String]
1293
1355
  #
1294
1356
  # @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/DeleteLicenseResponse AWS API Documentation
@@ -1662,7 +1724,7 @@ module Aws::LicenseManager
1662
1724
  # @return [String]
1663
1725
  #
1664
1726
  # @!attribute [rw] license_counting_type
1665
- # Dimension on which the licenses are counted.
1727
+ # Dimension for which the licenses are counted.
1666
1728
  # @return [String]
1667
1729
  #
1668
1730
  # @!attribute [rw] license_rules
@@ -1737,6 +1799,78 @@ module Aws::LicenseManager
1737
1799
  include Aws::Structure
1738
1800
  end
1739
1801
 
1802
+ # @note When making an API call, you may pass GetLicenseConversionTaskRequest
1803
+ # data as a hash:
1804
+ #
1805
+ # {
1806
+ # license_conversion_task_id: "LicenseConversionTaskId", # required
1807
+ # }
1808
+ #
1809
+ # @!attribute [rw] license_conversion_task_id
1810
+ # ID of the license type conversion task to retrieve information on.
1811
+ # @return [String]
1812
+ #
1813
+ # @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/GetLicenseConversionTaskRequest AWS API Documentation
1814
+ #
1815
+ class GetLicenseConversionTaskRequest < Struct.new(
1816
+ :license_conversion_task_id)
1817
+ SENSITIVE = []
1818
+ include Aws::Structure
1819
+ end
1820
+
1821
+ # @!attribute [rw] license_conversion_task_id
1822
+ # ID of the license type conversion task.
1823
+ # @return [String]
1824
+ #
1825
+ # @!attribute [rw] resource_arn
1826
+ # Amazon Resource Names (ARN) of the resources the license conversion
1827
+ # task is associated with.
1828
+ # @return [String]
1829
+ #
1830
+ # @!attribute [rw] source_license_context
1831
+ # Information about the license type converted from.
1832
+ # @return [Types::LicenseConversionContext]
1833
+ #
1834
+ # @!attribute [rw] destination_license_context
1835
+ # Information about the license type converted to.
1836
+ # @return [Types::LicenseConversionContext]
1837
+ #
1838
+ # @!attribute [rw] status_message
1839
+ # The status message for the conversion task.
1840
+ # @return [String]
1841
+ #
1842
+ # @!attribute [rw] status
1843
+ # Status of the license type conversion task.
1844
+ # @return [String]
1845
+ #
1846
+ # @!attribute [rw] start_time
1847
+ # Time at which the license type conversion task was started .
1848
+ # @return [Time]
1849
+ #
1850
+ # @!attribute [rw] license_conversion_time
1851
+ # Amount of time to complete the license type conversion.
1852
+ # @return [Time]
1853
+ #
1854
+ # @!attribute [rw] end_time
1855
+ # Time at which the license type conversion task was completed.
1856
+ # @return [Time]
1857
+ #
1858
+ # @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/GetLicenseConversionTaskResponse AWS API Documentation
1859
+ #
1860
+ class GetLicenseConversionTaskResponse < Struct.new(
1861
+ :license_conversion_task_id,
1862
+ :resource_arn,
1863
+ :source_license_context,
1864
+ :destination_license_context,
1865
+ :status_message,
1866
+ :status,
1867
+ :start_time,
1868
+ :license_conversion_time,
1869
+ :end_time)
1870
+ SENSITIVE = []
1871
+ include Aws::Structure
1872
+ end
1873
+
1740
1874
  # @note When making an API call, you may pass GetLicenseManagerReportGeneratorRequest
1741
1875
  # data as a hash:
1742
1876
  #
@@ -1745,8 +1879,7 @@ module Aws::LicenseManager
1745
1879
  # }
1746
1880
  #
1747
1881
  # @!attribute [rw] license_manager_report_generator_arn
1748
- # mazon Resource Number (ARN) of the report generator to retrieve
1749
- # information on.
1882
+ # Amazon Resource Name (ARN) of the report generator.
1750
1883
  # @return [String]
1751
1884
  #
1752
1885
  # @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/GetLicenseManagerReportGeneratorRequest AWS API Documentation
@@ -1758,7 +1891,7 @@ module Aws::LicenseManager
1758
1891
  end
1759
1892
 
1760
1893
  # @!attribute [rw] report_generator
1761
- # A report generator that creates periodic reports on your license
1894
+ # A report generator that creates periodic reports about your license
1762
1895
  # configurations.
1763
1896
  # @return [Types::ReportGenerator]
1764
1897
  #
@@ -1854,8 +1987,8 @@ module Aws::LicenseManager
1854
1987
  # @return [String]
1855
1988
  #
1856
1989
  # @!attribute [rw] organization_configuration
1857
- # Indicates whether AWS Organizations is integrated with License
1858
- # Manager for cross-account discovery.
1990
+ # Indicates whether Organizations is integrated with License Manager
1991
+ # for cross-account discovery.
1859
1992
  # @return [Types::OrganizationConfiguration]
1860
1993
  #
1861
1994
  # @!attribute [rw] enable_cross_accounts_discovery
@@ -1863,7 +1996,7 @@ module Aws::LicenseManager
1863
1996
  # @return [Boolean]
1864
1997
  #
1865
1998
  # @!attribute [rw] license_manager_resource_share_arn
1866
- # Amazon Resource Name (ARN) of the AWS resource share. The License
1999
+ # Amazon Resource Name (ARN) of the resource share. The License
1867
2000
  # Manager management account provides member accounts with access to
1868
2001
  # this share.
1869
2002
  # @return [String]
@@ -2102,9 +2235,9 @@ module Aws::LicenseManager
2102
2235
  # @return [String]
2103
2236
  #
2104
2237
  # @!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.
2238
+ # Asymmetric KMS key from Key Management Service. The KMS key must
2239
+ # have a key usage of sign and verify, and support the RSASSA-PSS
2240
+ # SHA-256 signing algorithm.
2108
2241
  # @return [String]
2109
2242
  #
2110
2243
  # @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/Issuer AWS API Documentation
@@ -2123,9 +2256,9 @@ module Aws::LicenseManager
2123
2256
  # @return [String]
2124
2257
  #
2125
2258
  # @!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.
2259
+ # Asymmetric KMS key from Key Management Service. The KMS key must
2260
+ # have a key usage of sign and verify, and support the RSASSA-PSS
2261
+ # SHA-256 signing algorithm.
2129
2262
  # @return [String]
2130
2263
  #
2131
2264
  # @!attribute [rw] key_fingerprint
@@ -2142,7 +2275,7 @@ module Aws::LicenseManager
2142
2275
  include Aws::Structure
2143
2276
  end
2144
2277
 
2145
- # Software license that is managed in AWS License Manager.
2278
+ # Software license that is managed in License Manager.
2146
2279
  #
2147
2280
  # @!attribute [rw] license_arn
2148
2281
  # Amazon Resource Name (ARN) of the license.
@@ -2328,7 +2461,8 @@ module Aws::LicenseManager
2328
2461
  # @return [String]
2329
2462
  #
2330
2463
  # @!attribute [rw] resource_owner_id
2331
- # ID of the AWS account that owns the resource consuming licenses.
2464
+ # ID of the Amazon Web Services account that owns the resource
2465
+ # consuming licenses.
2332
2466
  # @return [String]
2333
2467
  #
2334
2468
  # @!attribute [rw] association_time
@@ -2393,6 +2527,91 @@ module Aws::LicenseManager
2393
2527
  include Aws::Structure
2394
2528
  end
2395
2529
 
2530
+ # Information about a license type conversion task.
2531
+ #
2532
+ # @note When making an API call, you may pass LicenseConversionContext
2533
+ # data as a hash:
2534
+ #
2535
+ # {
2536
+ # usage_operation: "UsageOperation",
2537
+ # }
2538
+ #
2539
+ # @!attribute [rw] usage_operation
2540
+ # The Usage operation value that corresponds to the license type you
2541
+ # are converting your resource from. For more information about which
2542
+ # platforms correspond to which usage operation values see [Sample
2543
+ # data: usage operation by platform ][1]
2544
+ #
2545
+ #
2546
+ #
2547
+ # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/billing-info-fields.html#billing-info
2548
+ # @return [String]
2549
+ #
2550
+ # @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/LicenseConversionContext AWS API Documentation
2551
+ #
2552
+ class LicenseConversionContext < Struct.new(
2553
+ :usage_operation)
2554
+ SENSITIVE = []
2555
+ include Aws::Structure
2556
+ end
2557
+
2558
+ # Information about a license type conversion task.
2559
+ #
2560
+ # @!attribute [rw] license_conversion_task_id
2561
+ # The ID of the license type conversion task.
2562
+ # @return [String]
2563
+ #
2564
+ # @!attribute [rw] resource_arn
2565
+ # The Amazon Resource Name (ARN) of the resource associated with the
2566
+ # license type conversion task.
2567
+ # @return [String]
2568
+ #
2569
+ # @!attribute [rw] source_license_context
2570
+ # Information about the license type this conversion task converted
2571
+ # from.
2572
+ # @return [Types::LicenseConversionContext]
2573
+ #
2574
+ # @!attribute [rw] destination_license_context
2575
+ # Information about the license type this conversion task converted
2576
+ # to.
2577
+ # @return [Types::LicenseConversionContext]
2578
+ #
2579
+ # @!attribute [rw] status
2580
+ # The status of the conversion task.
2581
+ # @return [String]
2582
+ #
2583
+ # @!attribute [rw] status_message
2584
+ # The status message for the conversion task.
2585
+ # @return [String]
2586
+ #
2587
+ # @!attribute [rw] start_time
2588
+ # The time the conversion task was started at.
2589
+ # @return [Time]
2590
+ #
2591
+ # @!attribute [rw] license_conversion_time
2592
+ # The time the usage operation value of the resource was changed.
2593
+ # @return [Time]
2594
+ #
2595
+ # @!attribute [rw] end_time
2596
+ # The time the conversion task was completed.
2597
+ # @return [Time]
2598
+ #
2599
+ # @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/LicenseConversionTask AWS API Documentation
2600
+ #
2601
+ class LicenseConversionTask < Struct.new(
2602
+ :license_conversion_task_id,
2603
+ :resource_arn,
2604
+ :source_license_context,
2605
+ :destination_license_context,
2606
+ :status,
2607
+ :status_message,
2608
+ :start_time,
2609
+ :license_conversion_time,
2610
+ :end_time)
2611
+ SENSITIVE = []
2612
+ include Aws::Structure
2613
+ end
2614
+
2396
2615
  # Describes the failure of a license operation.
2397
2616
  #
2398
2617
  # @!attribute [rw] resource_arn
@@ -2416,7 +2635,7 @@ module Aws::LicenseManager
2416
2635
  # @return [String]
2417
2636
  #
2418
2637
  # @!attribute [rw] resource_owner_id
2419
- # ID of the AWS account that owns the resource.
2638
+ # ID of the Amazon Web Services account that owns the resource.
2420
2639
  # @return [String]
2421
2640
  #
2422
2641
  # @!attribute [rw] operation_requested_by
@@ -2693,7 +2912,7 @@ module Aws::LicenseManager
2693
2912
  # Filters to scope the results. The following filters and logical
2694
2913
  # operators are supported:
2695
2914
  #
2696
- # * `licenseCountingType` - The dimension on which licenses are
2915
+ # * `licenseCountingType` - The dimension for which licenses are
2697
2916
  # counted. Possible values are `vCPU` \| `Instance` \| `Core` \|
2698
2917
  # `Socket`. Logical operators are `EQUALS` \| `NOT_EQUALS`.
2699
2918
  #
@@ -2734,6 +2953,60 @@ module Aws::LicenseManager
2734
2953
  include Aws::Structure
2735
2954
  end
2736
2955
 
2956
+ # @note When making an API call, you may pass ListLicenseConversionTasksRequest
2957
+ # data as a hash:
2958
+ #
2959
+ # {
2960
+ # next_token: "String",
2961
+ # max_results: 1,
2962
+ # filters: [
2963
+ # {
2964
+ # name: "FilterName",
2965
+ # values: ["FilterValue"],
2966
+ # },
2967
+ # ],
2968
+ # }
2969
+ #
2970
+ # @!attribute [rw] next_token
2971
+ # Token for the next set of results.
2972
+ # @return [String]
2973
+ #
2974
+ # @!attribute [rw] max_results
2975
+ # Maximum number of results to return in a single call.
2976
+ # @return [Integer]
2977
+ #
2978
+ # @!attribute [rw] filters
2979
+ # Filters to scope the results. Valid filters are `ResourceArns` and
2980
+ # `Status`.
2981
+ # @return [Array<Types::Filter>]
2982
+ #
2983
+ # @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/ListLicenseConversionTasksRequest AWS API Documentation
2984
+ #
2985
+ class ListLicenseConversionTasksRequest < Struct.new(
2986
+ :next_token,
2987
+ :max_results,
2988
+ :filters)
2989
+ SENSITIVE = []
2990
+ include Aws::Structure
2991
+ end
2992
+
2993
+ # @!attribute [rw] license_conversion_tasks
2994
+ # Information about the license configuration tasks for your account.
2995
+ # @return [Array<Types::LicenseConversionTask>]
2996
+ #
2997
+ # @!attribute [rw] next_token
2998
+ # Token for the next set of results.
2999
+ # @return [String]
3000
+ #
3001
+ # @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/ListLicenseConversionTasksResponse AWS API Documentation
3002
+ #
3003
+ class ListLicenseConversionTasksResponse < Struct.new(
3004
+ :license_conversion_tasks,
3005
+ :next_token)
3006
+ SENSITIVE = []
3007
+ include Aws::Structure
3008
+ end
3009
+
2737
3010
  # @note When making an API call, you may pass ListLicenseManagerReportGeneratorsRequest
2738
3011
  # data as a hash:
2739
3012
  #
@@ -2775,7 +3048,7 @@ module Aws::LicenseManager
2775
3048
  end
2776
3049
 
2777
3050
  # @!attribute [rw] report_generators
2778
- # A report generator that creates periodic reports on your license
3051
+ # A report generator that creates periodic reports about your license
2779
3052
  # configurations.
2780
3053
  # @return [Array<Types::ReportGenerator>]
2781
3054
  #
@@ -3121,8 +3394,8 @@ module Aws::LicenseManager
3121
3394
  # Filters to scope the results. The following filters and logical
3122
3395
  # operators are supported:
3123
3396
  #
3124
- # * `account_id` - The ID of the AWS account that owns the resource.
3125
- # Logical operators are `EQUALS` \| `NOT_EQUALS`.
3397
+ # * `account_id` - The ID of the Amazon Web Services account that owns
3398
+ # the resource. Logical operators are `EQUALS` \| `NOT_EQUALS`.
3126
3399
  #
3127
3400
  # * `application_name` - The name of the application. Logical
3128
3401
  # operators are `EQUALS` \| `BEGINS_WITH`.
@@ -3394,7 +3667,7 @@ module Aws::LicenseManager
3394
3667
  include Aws::Structure
3395
3668
  end
3396
3669
 
3397
- # Configuration information for AWS Organizations.
3670
+ # Configuration information for Organizations.
3398
3671
  #
3399
3672
  # @note When making an API call, you may pass OrganizationConfiguration
3400
3673
  # data as a hash:
@@ -3404,7 +3677,7 @@ module Aws::LicenseManager
3404
3677
  # }
3405
3678
  #
3406
3679
  # @!attribute [rw] enable_integration
3407
- # Enables AWS Organization integration.
3680
+ # Enables Organizations integration.
3408
3681
  # @return [Boolean]
3409
3682
  #
3410
3683
  # @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/OrganizationConfiguration AWS API Documentation
@@ -3463,15 +3736,15 @@ module Aws::LicenseManager
3463
3736
  #
3464
3737
  # * `Platform Type` - The platform type. Logical operator is `EQUALS`.
3465
3738
  #
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`.
3739
+ # * `Tag:key` - The key of a tag attached to an Amazon Web Services
3740
+ # resource you wish to exclude from automated discovery. Logical
3741
+ # operator is `NOT_EQUALS`. The key for your tag must be appended to
3742
+ # `Tag:` following the example: `Tag:name-of-your-key`.
3470
3743
  # `ProductInformationFilterValue` is optional if you are not using
3471
3744
  # values for the key.
3472
3745
  #
3473
- # * `AccountId` - The 12-digit ID of an AWS account you wish to
3474
- # exclude from automated discovery. Logical operator is
3746
+ # * `AccountId` - The 12-digit ID of an Amazon Web Services account
3747
+ # you wish to exclude from automated discovery. Logical operator is
3475
3748
  # `NOT_EQUALS`.
3476
3749
  #
3477
3750
  # * `License Included` - The type of license included. Logical
@@ -3574,6 +3847,7 @@ module Aws::LicenseManager
3574
3847
  # @return [String]
3575
3848
  #
3576
3849
  # @!attribute [rw] received_status_reason
3850
+ # Received status reason.
3577
3851
  # @return [String]
3578
3852
  #
3579
3853
  # @!attribute [rw] allowed_operations
@@ -3658,7 +3932,7 @@ module Aws::LicenseManager
3658
3932
  # }
3659
3933
  #
3660
3934
  # @!attribute [rw] license_configuration_arns
3661
- # Amazon Resource Number (ARN) of the license configuration that this
3935
+ # Amazon Resource Name (ARN) of the license configuration that this
3662
3936
  # generator reports on.
3663
3937
  # @return [Array<String>]
3664
3938
  #
@@ -3670,7 +3944,7 @@ module Aws::LicenseManager
3670
3944
  include Aws::Structure
3671
3945
  end
3672
3946
 
3673
- # Details on how frequently reports are generated.
3947
+ # Details about how frequently reports are generated.
3674
3948
  #
3675
3949
  # @note When making an API call, you may pass ReportFrequency
3676
3950
  # data as a hash:
@@ -3681,8 +3955,8 @@ module Aws::LicenseManager
3681
3955
  # }
3682
3956
  #
3683
3957
  # @!attribute [rw] value
3684
- # Number of times within the frequency period that a report will be
3685
- # generated. Currently only `1` is supported.
3958
+ # Number of times within the frequency period that a report is
3959
+ # generated. The only supported value is `1`.
3686
3960
  # @return [Integer]
3687
3961
  #
3688
3962
  # @!attribute [rw] period
@@ -3710,15 +3984,15 @@ module Aws::LicenseManager
3710
3984
  # @return [Array<String>]
3711
3985
  #
3712
3986
  # @!attribute [rw] report_context
3713
- # License configuration type this generator reports on.
3987
+ # License configuration type for this generator.
3714
3988
  # @return [Types::ReportContext]
3715
3989
  #
3716
3990
  # @!attribute [rw] report_frequency
3717
- # Details on how frequently reports are generated.
3991
+ # Details about how frequently reports are generated.
3718
3992
  # @return [Types::ReportFrequency]
3719
3993
  #
3720
3994
  # @!attribute [rw] license_manager_report_generator_arn
3721
- # Amazon Resource Number (ARN) of the report generator.
3995
+ # Amazon Resource Name (ARN) of the report generator.
3722
3996
  # @return [String]
3723
3997
  #
3724
3998
  # @!attribute [rw] last_run_status
@@ -3734,7 +4008,8 @@ module Aws::LicenseManager
3734
4008
  # @return [String]
3735
4009
  #
3736
4010
  # @!attribute [rw] report_creator_account
3737
- # The AWS account ID used to create the report generator.
4011
+ # The Amazon Web Services account ID used to create the report
4012
+ # generator.
3738
4013
  # @return [String]
3739
4014
  #
3740
4015
  # @!attribute [rw] description
@@ -4121,7 +4396,7 @@ module Aws::LicenseManager
4121
4396
  # }
4122
4397
  #
4123
4398
  # @!attribute [rw] license_manager_report_generator_arn
4124
- # Amazon Resource Number (ARN) of the report generator to update.
4399
+ # Amazon Resource Name (ARN) of the report generator to update.
4125
4400
  # @return [String]
4126
4401
  #
4127
4402
  # @!attribute [rw] report_generator_name
@@ -4129,25 +4404,22 @@ module Aws::LicenseManager
4129
4404
  # @return [String]
4130
4405
  #
4131
4406
  # @!attribute [rw] type
4132
- # Type of reports to generate. The following report types an be
4133
- # generated:
4407
+ # Type of reports to generate. The following report types are
4408
+ # supported:
4134
4409
  #
4135
- # * License configuration report - Reports on the number and details
4136
- # of consumed licenses for a license configuration.
4410
+ # * License configuration report - Reports the number and details of
4411
+ # consumed licenses for a license configuration.
4137
4412
  #
4138
- # * Resource report - Reports on the tracked licenses and resource
4413
+ # * Resource report - Reports the tracked licenses and resource
4139
4414
  # consumption for a license configuration.
4140
4415
  # @return [Array<String>]
4141
4416
  #
4142
4417
  # @!attribute [rw] report_context
4143
- # ?
4418
+ # The report context.
4144
4419
  # @return [Types::ReportContext]
4145
4420
  #
4146
4421
  # @!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?
4422
+ # Frequency by which reports are generated.
4151
4423
  # @return [Types::ReportFrequency]
4152
4424
  #
4153
4425
  # @!attribute [rw] client_token
@@ -4197,7 +4469,7 @@ module Aws::LicenseManager
4197
4469
  # }
4198
4470
  #
4199
4471
  # @!attribute [rw] resource_arn
4200
- # Amazon Resource Name (ARN) of the AWS resource.
4472
+ # Amazon Resource Name (ARN) of the Amazon Web Services resource.
4201
4473
  # @return [String]
4202
4474
  #
4203
4475
  # @!attribute [rw] add_license_specifications
@@ -4245,8 +4517,7 @@ module Aws::LicenseManager
4245
4517
  # @return [String]
4246
4518
  #
4247
4519
  # @!attribute [rw] organization_configuration
4248
- # Enables integration with AWS Organizations for cross-account
4249
- # discovery.
4520
+ # Enables integration with Organizations for cross-account discovery.
4250
4521
  # @return [Types::OrganizationConfiguration]
4251
4522
  #
4252
4523
  # @!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.29.0'
51
+ GEM_VERSION = '1.33.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.29.0
4
+ version: 1.33.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-28 00:00:00.000000000 Z
11
+ date: 2021-09-22 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.118.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.118.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
  - - ">="