aws-sdk-licensemanager 1.41.0 → 1.42.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-licensemanager/client.rb +153 -4
- data/lib/aws-sdk-licensemanager/client_api.rb +53 -0
- data/lib/aws-sdk-licensemanager/endpoints.rb +28 -0
- data/lib/aws-sdk-licensemanager/plugins/endpoints.rb +4 -0
- data/lib/aws-sdk-licensemanager/types.rb +126 -4
- data/lib/aws-sdk-licensemanager.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9aca18e3533b4cb5718247a78cf2ffec90ef538bacb14f6acdfc7862b864bdfa
|
4
|
+
data.tar.gz: 7ffd555e91ba73c4ad6f29211d4f5e2d3678aaa5dfbf8b84b759e437c065cb11
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2c1da4ff066ae8281023b2550f42bae53dbaa3b7a6e537a28e90a45870ce556de45f0c5b75e3f2cd2ebdf7cc98209da8e9134cb5b118c0197753fc0dc151f1a4
|
7
|
+
data.tar.gz: be4d164b9bc6c62579b1dc894065908c338d4d902363aabbc281fc8a384be55efa00cccab536bb9671e7ab8581f773d3a0df28d52200f54a829c3cf0a31c7645
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,11 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.42.0 (2022-11-11)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - AWS License Manager now supports onboarded Management Accounts or Delegated Admins to view granted licenses aggregated from all accounts in the organization.
|
8
|
+
|
4
9
|
1.41.0 (2022-10-25)
|
5
10
|
------------------
|
6
11
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.42.0
|
@@ -525,6 +525,11 @@ module Aws::LicenseManager
|
|
525
525
|
|
526
526
|
# Checks out the specified license.
|
527
527
|
#
|
528
|
+
# <note markdown="1"> If the account that created the license is the same that is performing
|
529
|
+
# the check out, you must specify the account as the beneficiary.
|
530
|
+
#
|
531
|
+
# </note>
|
532
|
+
#
|
528
533
|
# @option params [required, String] :product_sku
|
529
534
|
# Product SKU.
|
530
535
|
#
|
@@ -613,7 +618,8 @@ module Aws::LicenseManager
|
|
613
618
|
# Amazon Resource Name (ARN) of the license.
|
614
619
|
#
|
615
620
|
# @option params [required, Array<String>] :principals
|
616
|
-
# The grant principals.
|
621
|
+
# The grant principals. This value should be specified as an Amazon
|
622
|
+
# Resource Name (ARN).
|
617
623
|
#
|
618
624
|
# @option params [required, String] :home_region
|
619
625
|
# Home Region of the grant.
|
@@ -929,7 +935,8 @@ module Aws::LicenseManager
|
|
929
935
|
# @option params [required, Types::LicenseConversionContext] :source_license_context
|
930
936
|
# Information that identifies the license type you are converting from.
|
931
937
|
# For the structure of the source license, see [Convert a license type
|
932
|
-
# using the
|
938
|
+
# using the Amazon Web Services CLI][1] in the *License Manager User
|
939
|
+
# Guide*.
|
933
940
|
#
|
934
941
|
#
|
935
942
|
#
|
@@ -938,7 +945,8 @@ module Aws::LicenseManager
|
|
938
945
|
# @option params [required, Types::LicenseConversionContext] :destination_license_context
|
939
946
|
# Information that identifies the license type you are converting to.
|
940
947
|
# For the structure of the destination license, see [Convert a license
|
941
|
-
# type using the
|
948
|
+
# type using the Amazon Web Services CLI][1] in the *License Manager
|
949
|
+
# User Guide*.
|
942
950
|
#
|
943
951
|
#
|
944
952
|
#
|
@@ -2377,6 +2385,68 @@ module Aws::LicenseManager
|
|
2377
2385
|
req.send_request(options)
|
2378
2386
|
end
|
2379
2387
|
|
2388
|
+
# Lists the grants received for all accounts in the organization.
|
2389
|
+
#
|
2390
|
+
# @option params [required, String] :license_arn
|
2391
|
+
# The Amazon Resource Name (ARN) of the received license.
|
2392
|
+
#
|
2393
|
+
# @option params [Array<Types::Filter>] :filters
|
2394
|
+
# Filters to scope the results. The following filters are supported:
|
2395
|
+
#
|
2396
|
+
# * `ParentArn`
|
2397
|
+
#
|
2398
|
+
# * `GranteePrincipalArn`
|
2399
|
+
#
|
2400
|
+
# @option params [String] :next_token
|
2401
|
+
# Token for the next set of results.
|
2402
|
+
#
|
2403
|
+
# @option params [Integer] :max_results
|
2404
|
+
# Maximum number of results to return in a single call.
|
2405
|
+
#
|
2406
|
+
# @return [Types::ListReceivedGrantsForOrganizationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2407
|
+
#
|
2408
|
+
# * {Types::ListReceivedGrantsForOrganizationResponse#grants #grants} => Array<Types::Grant>
|
2409
|
+
# * {Types::ListReceivedGrantsForOrganizationResponse#next_token #next_token} => String
|
2410
|
+
#
|
2411
|
+
# @example Request syntax with placeholder values
|
2412
|
+
#
|
2413
|
+
# resp = client.list_received_grants_for_organization({
|
2414
|
+
# license_arn: "Arn", # required
|
2415
|
+
# filters: [
|
2416
|
+
# {
|
2417
|
+
# name: "FilterName",
|
2418
|
+
# values: ["FilterValue"],
|
2419
|
+
# },
|
2420
|
+
# ],
|
2421
|
+
# next_token: "String",
|
2422
|
+
# max_results: 1,
|
2423
|
+
# })
|
2424
|
+
#
|
2425
|
+
# @example Response structure
|
2426
|
+
#
|
2427
|
+
# resp.grants #=> Array
|
2428
|
+
# resp.grants[0].grant_arn #=> String
|
2429
|
+
# resp.grants[0].grant_name #=> String
|
2430
|
+
# resp.grants[0].parent_arn #=> String
|
2431
|
+
# resp.grants[0].license_arn #=> String
|
2432
|
+
# resp.grants[0].grantee_principal_arn #=> String
|
2433
|
+
# resp.grants[0].home_region #=> String
|
2434
|
+
# resp.grants[0].grant_status #=> String, one of "PENDING_WORKFLOW", "PENDING_ACCEPT", "REJECTED", "ACTIVE", "FAILED_WORKFLOW", "DELETED", "PENDING_DELETE", "DISABLED", "WORKFLOW_COMPLETED"
|
2435
|
+
# resp.grants[0].status_reason #=> String
|
2436
|
+
# resp.grants[0].version #=> String
|
2437
|
+
# resp.grants[0].granted_operations #=> Array
|
2438
|
+
# resp.grants[0].granted_operations[0] #=> String, one of "CreateGrant", "CheckoutLicense", "CheckoutBorrowLicense", "CheckInLicense", "ExtendConsumptionLicense", "ListPurchasedLicenses", "CreateToken"
|
2439
|
+
# resp.next_token #=> String
|
2440
|
+
#
|
2441
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/ListReceivedGrantsForOrganization AWS API Documentation
|
2442
|
+
#
|
2443
|
+
# @overload list_received_grants_for_organization(params = {})
|
2444
|
+
# @param [Hash] params ({})
|
2445
|
+
def list_received_grants_for_organization(params = {}, options = {})
|
2446
|
+
req = build_request(:list_received_grants_for_organization, params)
|
2447
|
+
req.send_request(options)
|
2448
|
+
end
|
2449
|
+
|
2380
2450
|
# Lists received licenses.
|
2381
2451
|
#
|
2382
2452
|
# @option params [Array<String>] :license_arns
|
@@ -2466,6 +2536,85 @@ module Aws::LicenseManager
|
|
2466
2536
|
req.send_request(options)
|
2467
2537
|
end
|
2468
2538
|
|
2539
|
+
# Lists the licenses received for all accounts in the organization.
|
2540
|
+
#
|
2541
|
+
# @option params [Array<Types::Filter>] :filters
|
2542
|
+
# Filters to scope the results. The following filters are supported:
|
2543
|
+
#
|
2544
|
+
# * `Beneficiary`
|
2545
|
+
#
|
2546
|
+
# * `ProductSKU`
|
2547
|
+
#
|
2548
|
+
# @option params [String] :next_token
|
2549
|
+
# Token for the next set of results.
|
2550
|
+
#
|
2551
|
+
# @option params [Integer] :max_results
|
2552
|
+
# Maximum number of results to return in a single call.
|
2553
|
+
#
|
2554
|
+
# @return [Types::ListReceivedLicensesForOrganizationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2555
|
+
#
|
2556
|
+
# * {Types::ListReceivedLicensesForOrganizationResponse#licenses #licenses} => Array<Types::GrantedLicense>
|
2557
|
+
# * {Types::ListReceivedLicensesForOrganizationResponse#next_token #next_token} => String
|
2558
|
+
#
|
2559
|
+
# @example Request syntax with placeholder values
|
2560
|
+
#
|
2561
|
+
# resp = client.list_received_licenses_for_organization({
|
2562
|
+
# filters: [
|
2563
|
+
# {
|
2564
|
+
# name: "FilterName",
|
2565
|
+
# values: ["FilterValue"],
|
2566
|
+
# },
|
2567
|
+
# ],
|
2568
|
+
# next_token: "String",
|
2569
|
+
# max_results: 1,
|
2570
|
+
# })
|
2571
|
+
#
|
2572
|
+
# @example Response structure
|
2573
|
+
#
|
2574
|
+
# resp.licenses #=> Array
|
2575
|
+
# resp.licenses[0].license_arn #=> String
|
2576
|
+
# resp.licenses[0].license_name #=> String
|
2577
|
+
# resp.licenses[0].product_name #=> String
|
2578
|
+
# resp.licenses[0].product_sku #=> String
|
2579
|
+
# resp.licenses[0].issuer.name #=> String
|
2580
|
+
# resp.licenses[0].issuer.sign_key #=> String
|
2581
|
+
# resp.licenses[0].issuer.key_fingerprint #=> String
|
2582
|
+
# resp.licenses[0].home_region #=> String
|
2583
|
+
# resp.licenses[0].status #=> String, one of "AVAILABLE", "PENDING_AVAILABLE", "DEACTIVATED", "SUSPENDED", "EXPIRED", "PENDING_DELETE", "DELETED"
|
2584
|
+
# resp.licenses[0].validity.begin #=> String
|
2585
|
+
# resp.licenses[0].validity.end #=> String
|
2586
|
+
# resp.licenses[0].beneficiary #=> String
|
2587
|
+
# resp.licenses[0].entitlements #=> Array
|
2588
|
+
# resp.licenses[0].entitlements[0].name #=> String
|
2589
|
+
# resp.licenses[0].entitlements[0].value #=> String
|
2590
|
+
# resp.licenses[0].entitlements[0].max_count #=> Integer
|
2591
|
+
# resp.licenses[0].entitlements[0].overage #=> Boolean
|
2592
|
+
# resp.licenses[0].entitlements[0].unit #=> String, one of "Count", "None", "Seconds", "Microseconds", "Milliseconds", "Bytes", "Kilobytes", "Megabytes", "Gigabytes", "Terabytes", "Bits", "Kilobits", "Megabits", "Gigabits", "Terabits", "Percent", "Bytes/Second", "Kilobytes/Second", "Megabytes/Second", "Gigabytes/Second", "Terabytes/Second", "Bits/Second", "Kilobits/Second", "Megabits/Second", "Gigabits/Second", "Terabits/Second", "Count/Second"
|
2593
|
+
# resp.licenses[0].entitlements[0].allow_check_in #=> Boolean
|
2594
|
+
# resp.licenses[0].consumption_configuration.renew_type #=> String, one of "None", "Weekly", "Monthly"
|
2595
|
+
# resp.licenses[0].consumption_configuration.provisional_configuration.max_time_to_live_in_minutes #=> Integer
|
2596
|
+
# resp.licenses[0].consumption_configuration.borrow_configuration.allow_early_check_in #=> Boolean
|
2597
|
+
# resp.licenses[0].consumption_configuration.borrow_configuration.max_time_to_live_in_minutes #=> Integer
|
2598
|
+
# resp.licenses[0].license_metadata #=> Array
|
2599
|
+
# resp.licenses[0].license_metadata[0].name #=> String
|
2600
|
+
# resp.licenses[0].license_metadata[0].value #=> String
|
2601
|
+
# resp.licenses[0].create_time #=> String
|
2602
|
+
# resp.licenses[0].version #=> String
|
2603
|
+
# resp.licenses[0].received_metadata.received_status #=> String, one of "PENDING_WORKFLOW", "PENDING_ACCEPT", "REJECTED", "ACTIVE", "FAILED_WORKFLOW", "DELETED", "DISABLED", "WORKFLOW_COMPLETED"
|
2604
|
+
# resp.licenses[0].received_metadata.received_status_reason #=> String
|
2605
|
+
# resp.licenses[0].received_metadata.allowed_operations #=> Array
|
2606
|
+
# resp.licenses[0].received_metadata.allowed_operations[0] #=> String, one of "CreateGrant", "CheckoutLicense", "CheckoutBorrowLicense", "CheckInLicense", "ExtendConsumptionLicense", "ListPurchasedLicenses", "CreateToken"
|
2607
|
+
# resp.next_token #=> String
|
2608
|
+
#
|
2609
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/ListReceivedLicensesForOrganization AWS API Documentation
|
2610
|
+
#
|
2611
|
+
# @overload list_received_licenses_for_organization(params = {})
|
2612
|
+
# @param [Hash] params ({})
|
2613
|
+
def list_received_licenses_for_organization(params = {}, options = {})
|
2614
|
+
req = build_request(:list_received_licenses_for_organization, params)
|
2615
|
+
req.send_request(options)
|
2616
|
+
end
|
2617
|
+
|
2469
2618
|
# Lists resources managed using Systems Manager inventory.
|
2470
2619
|
#
|
2471
2620
|
# @option params [Integer] :max_results
|
@@ -3008,7 +3157,7 @@ module Aws::LicenseManager
|
|
3008
3157
|
params: params,
|
3009
3158
|
config: config)
|
3010
3159
|
context[:gem_name] = 'aws-sdk-licensemanager'
|
3011
|
-
context[:gem_version] = '1.
|
3160
|
+
context[:gem_version] = '1.42.0'
|
3012
3161
|
Seahorse::Client::Request.new(handlers, context)
|
3013
3162
|
end
|
3014
3163
|
|
@@ -159,8 +159,12 @@ module Aws::LicenseManager
|
|
159
159
|
ListLicenseVersionsResponse = Shapes::StructureShape.new(name: 'ListLicenseVersionsResponse')
|
160
160
|
ListLicensesRequest = Shapes::StructureShape.new(name: 'ListLicensesRequest')
|
161
161
|
ListLicensesResponse = Shapes::StructureShape.new(name: 'ListLicensesResponse')
|
162
|
+
ListReceivedGrantsForOrganizationRequest = Shapes::StructureShape.new(name: 'ListReceivedGrantsForOrganizationRequest')
|
163
|
+
ListReceivedGrantsForOrganizationResponse = Shapes::StructureShape.new(name: 'ListReceivedGrantsForOrganizationResponse')
|
162
164
|
ListReceivedGrantsRequest = Shapes::StructureShape.new(name: 'ListReceivedGrantsRequest')
|
163
165
|
ListReceivedGrantsResponse = Shapes::StructureShape.new(name: 'ListReceivedGrantsResponse')
|
166
|
+
ListReceivedLicensesForOrganizationRequest = Shapes::StructureShape.new(name: 'ListReceivedLicensesForOrganizationRequest')
|
167
|
+
ListReceivedLicensesForOrganizationResponse = Shapes::StructureShape.new(name: 'ListReceivedLicensesForOrganizationResponse')
|
164
168
|
ListReceivedLicensesRequest = Shapes::StructureShape.new(name: 'ListReceivedLicensesRequest')
|
165
169
|
ListReceivedLicensesResponse = Shapes::StructureShape.new(name: 'ListReceivedLicensesResponse')
|
166
170
|
ListResourceInventoryRequest = Shapes::StructureShape.new(name: 'ListResourceInventoryRequest')
|
@@ -833,6 +837,16 @@ module Aws::LicenseManager
|
|
833
837
|
ListLicensesResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
|
834
838
|
ListLicensesResponse.struct_class = Types::ListLicensesResponse
|
835
839
|
|
840
|
+
ListReceivedGrantsForOrganizationRequest.add_member(:license_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "LicenseArn"))
|
841
|
+
ListReceivedGrantsForOrganizationRequest.add_member(:filters, Shapes::ShapeRef.new(shape: FilterList, location_name: "Filters"))
|
842
|
+
ListReceivedGrantsForOrganizationRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
|
843
|
+
ListReceivedGrantsForOrganizationRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxSize100, location_name: "MaxResults"))
|
844
|
+
ListReceivedGrantsForOrganizationRequest.struct_class = Types::ListReceivedGrantsForOrganizationRequest
|
845
|
+
|
846
|
+
ListReceivedGrantsForOrganizationResponse.add_member(:grants, Shapes::ShapeRef.new(shape: GrantList, location_name: "Grants"))
|
847
|
+
ListReceivedGrantsForOrganizationResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
|
848
|
+
ListReceivedGrantsForOrganizationResponse.struct_class = Types::ListReceivedGrantsForOrganizationResponse
|
849
|
+
|
836
850
|
ListReceivedGrantsRequest.add_member(:grant_arns, Shapes::ShapeRef.new(shape: ArnList, location_name: "GrantArns"))
|
837
851
|
ListReceivedGrantsRequest.add_member(:filters, Shapes::ShapeRef.new(shape: FilterList, location_name: "Filters"))
|
838
852
|
ListReceivedGrantsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
|
@@ -843,6 +857,15 @@ module Aws::LicenseManager
|
|
843
857
|
ListReceivedGrantsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
|
844
858
|
ListReceivedGrantsResponse.struct_class = Types::ListReceivedGrantsResponse
|
845
859
|
|
860
|
+
ListReceivedLicensesForOrganizationRequest.add_member(:filters, Shapes::ShapeRef.new(shape: FilterList, location_name: "Filters"))
|
861
|
+
ListReceivedLicensesForOrganizationRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
|
862
|
+
ListReceivedLicensesForOrganizationRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxSize100, location_name: "MaxResults"))
|
863
|
+
ListReceivedLicensesForOrganizationRequest.struct_class = Types::ListReceivedLicensesForOrganizationRequest
|
864
|
+
|
865
|
+
ListReceivedLicensesForOrganizationResponse.add_member(:licenses, Shapes::ShapeRef.new(shape: GrantedLicenseList, location_name: "Licenses"))
|
866
|
+
ListReceivedLicensesForOrganizationResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
|
867
|
+
ListReceivedLicensesForOrganizationResponse.struct_class = Types::ListReceivedLicensesForOrganizationResponse
|
868
|
+
|
846
869
|
ListReceivedLicensesRequest.add_member(:license_arns, Shapes::ShapeRef.new(shape: ArnList, location_name: "LicenseArns"))
|
847
870
|
ListReceivedLicensesRequest.add_member(:filters, Shapes::ShapeRef.new(shape: FilterList, location_name: "Filters"))
|
848
871
|
ListReceivedLicensesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
|
@@ -1620,6 +1643,21 @@ module Aws::LicenseManager
|
|
1620
1643
|
o.errors << Shapes::ShapeRef.new(shape: RateLimitExceededException)
|
1621
1644
|
end)
|
1622
1645
|
|
1646
|
+
api.add_operation(:list_received_grants_for_organization, Seahorse::Model::Operation.new.tap do |o|
|
1647
|
+
o.name = "ListReceivedGrantsForOrganization"
|
1648
|
+
o.http_method = "POST"
|
1649
|
+
o.http_request_uri = "/"
|
1650
|
+
o.input = Shapes::ShapeRef.new(shape: ListReceivedGrantsForOrganizationRequest)
|
1651
|
+
o.output = Shapes::ShapeRef.new(shape: ListReceivedGrantsForOrganizationResponse)
|
1652
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
1653
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
|
1654
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceLimitExceededException)
|
1655
|
+
o.errors << Shapes::ShapeRef.new(shape: ServerInternalException)
|
1656
|
+
o.errors << Shapes::ShapeRef.new(shape: AuthorizationException)
|
1657
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
1658
|
+
o.errors << Shapes::ShapeRef.new(shape: RateLimitExceededException)
|
1659
|
+
end)
|
1660
|
+
|
1623
1661
|
api.add_operation(:list_received_licenses, Seahorse::Model::Operation.new.tap do |o|
|
1624
1662
|
o.name = "ListReceivedLicenses"
|
1625
1663
|
o.http_method = "POST"
|
@@ -1635,6 +1673,21 @@ module Aws::LicenseManager
|
|
1635
1673
|
o.errors << Shapes::ShapeRef.new(shape: RateLimitExceededException)
|
1636
1674
|
end)
|
1637
1675
|
|
1676
|
+
api.add_operation(:list_received_licenses_for_organization, Seahorse::Model::Operation.new.tap do |o|
|
1677
|
+
o.name = "ListReceivedLicensesForOrganization"
|
1678
|
+
o.http_method = "POST"
|
1679
|
+
o.http_request_uri = "/"
|
1680
|
+
o.input = Shapes::ShapeRef.new(shape: ListReceivedLicensesForOrganizationRequest)
|
1681
|
+
o.output = Shapes::ShapeRef.new(shape: ListReceivedLicensesForOrganizationResponse)
|
1682
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
1683
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
|
1684
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceLimitExceededException)
|
1685
|
+
o.errors << Shapes::ShapeRef.new(shape: ServerInternalException)
|
1686
|
+
o.errors << Shapes::ShapeRef.new(shape: AuthorizationException)
|
1687
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
1688
|
+
o.errors << Shapes::ShapeRef.new(shape: RateLimitExceededException)
|
1689
|
+
end)
|
1690
|
+
|
1638
1691
|
api.add_operation(:list_resource_inventory, Seahorse::Model::Operation.new.tap do |o|
|
1639
1692
|
o.name = "ListResourceInventory"
|
1640
1693
|
o.http_method = "POST"
|
@@ -515,6 +515,20 @@ module Aws::LicenseManager
|
|
515
515
|
end
|
516
516
|
end
|
517
517
|
|
518
|
+
class ListReceivedGrantsForOrganization
|
519
|
+
def self.build(context)
|
520
|
+
unless context.config.regional_endpoint
|
521
|
+
endpoint = context.config.endpoint.to_s
|
522
|
+
end
|
523
|
+
Aws::LicenseManager::EndpointParameters.new(
|
524
|
+
region: context.config.region,
|
525
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
526
|
+
use_fips: context.config.use_fips_endpoint,
|
527
|
+
endpoint: endpoint,
|
528
|
+
)
|
529
|
+
end
|
530
|
+
end
|
531
|
+
|
518
532
|
class ListReceivedLicenses
|
519
533
|
def self.build(context)
|
520
534
|
unless context.config.regional_endpoint
|
@@ -529,6 +543,20 @@ module Aws::LicenseManager
|
|
529
543
|
end
|
530
544
|
end
|
531
545
|
|
546
|
+
class ListReceivedLicensesForOrganization
|
547
|
+
def self.build(context)
|
548
|
+
unless context.config.regional_endpoint
|
549
|
+
endpoint = context.config.endpoint.to_s
|
550
|
+
end
|
551
|
+
Aws::LicenseManager::EndpointParameters.new(
|
552
|
+
region: context.config.region,
|
553
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
554
|
+
use_fips: context.config.use_fips_endpoint,
|
555
|
+
endpoint: endpoint,
|
556
|
+
)
|
557
|
+
end
|
558
|
+
end
|
559
|
+
|
532
560
|
class ListResourceInventory
|
533
561
|
def self.build(context)
|
534
562
|
unless context.config.regional_endpoint
|
@@ -128,8 +128,12 @@ module Aws::LicenseManager
|
|
128
128
|
Aws::LicenseManager::Endpoints::ListLicenses.build(context)
|
129
129
|
when :list_received_grants
|
130
130
|
Aws::LicenseManager::Endpoints::ListReceivedGrants.build(context)
|
131
|
+
when :list_received_grants_for_organization
|
132
|
+
Aws::LicenseManager::Endpoints::ListReceivedGrantsForOrganization.build(context)
|
131
133
|
when :list_received_licenses
|
132
134
|
Aws::LicenseManager::Endpoints::ListReceivedLicenses.build(context)
|
135
|
+
when :list_received_licenses_for_organization
|
136
|
+
Aws::LicenseManager::Endpoints::ListReceivedLicensesForOrganization.build(context)
|
133
137
|
when :list_resource_inventory
|
134
138
|
Aws::LicenseManager::Endpoints::ListResourceInventory.build(context)
|
135
139
|
when :list_tags_for_resource
|
@@ -468,7 +468,8 @@ module Aws::LicenseManager
|
|
468
468
|
# @return [String]
|
469
469
|
#
|
470
470
|
# @!attribute [rw] principals
|
471
|
-
# The grant principals.
|
471
|
+
# The grant principals. This value should be specified as an Amazon
|
472
|
+
# Resource Name (ARN).
|
472
473
|
# @return [Array<String>]
|
473
474
|
#
|
474
475
|
# @!attribute [rw] home_region
|
@@ -729,8 +730,8 @@ module Aws::LicenseManager
|
|
729
730
|
# @!attribute [rw] source_license_context
|
730
731
|
# Information that identifies the license type you are converting
|
731
732
|
# from. For the structure of the source license, see [Convert a
|
732
|
-
# license type using the
|
733
|
-
# Guide*.
|
733
|
+
# license type using the Amazon Web Services CLI][1] in the *License
|
734
|
+
# Manager User Guide*.
|
734
735
|
#
|
735
736
|
#
|
736
737
|
#
|
@@ -740,7 +741,8 @@ module Aws::LicenseManager
|
|
740
741
|
# @!attribute [rw] destination_license_context
|
741
742
|
# Information that identifies the license type you are converting to.
|
742
743
|
# For the structure of the destination license, see [Convert a license
|
743
|
-
# type using the
|
744
|
+
# type using the Amazon Web Services CLI][1] in the *License Manager
|
745
|
+
# User Guide*.
|
744
746
|
#
|
745
747
|
#
|
746
748
|
#
|
@@ -3234,6 +3236,69 @@ module Aws::LicenseManager
|
|
3234
3236
|
include Aws::Structure
|
3235
3237
|
end
|
3236
3238
|
|
3239
|
+
# @note When making an API call, you may pass ListReceivedGrantsForOrganizationRequest
|
3240
|
+
# data as a hash:
|
3241
|
+
#
|
3242
|
+
# {
|
3243
|
+
# license_arn: "Arn", # required
|
3244
|
+
# filters: [
|
3245
|
+
# {
|
3246
|
+
# name: "FilterName",
|
3247
|
+
# values: ["FilterValue"],
|
3248
|
+
# },
|
3249
|
+
# ],
|
3250
|
+
# next_token: "String",
|
3251
|
+
# max_results: 1,
|
3252
|
+
# }
|
3253
|
+
#
|
3254
|
+
# @!attribute [rw] license_arn
|
3255
|
+
# The Amazon Resource Name (ARN) of the received license.
|
3256
|
+
# @return [String]
|
3257
|
+
#
|
3258
|
+
# @!attribute [rw] filters
|
3259
|
+
# Filters to scope the results. The following filters are supported:
|
3260
|
+
#
|
3261
|
+
# * `ParentArn`
|
3262
|
+
#
|
3263
|
+
# * `GranteePrincipalArn`
|
3264
|
+
# @return [Array<Types::Filter>]
|
3265
|
+
#
|
3266
|
+
# @!attribute [rw] next_token
|
3267
|
+
# Token for the next set of results.
|
3268
|
+
# @return [String]
|
3269
|
+
#
|
3270
|
+
# @!attribute [rw] max_results
|
3271
|
+
# Maximum number of results to return in a single call.
|
3272
|
+
# @return [Integer]
|
3273
|
+
#
|
3274
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/ListReceivedGrantsForOrganizationRequest AWS API Documentation
|
3275
|
+
#
|
3276
|
+
class ListReceivedGrantsForOrganizationRequest < Struct.new(
|
3277
|
+
:license_arn,
|
3278
|
+
:filters,
|
3279
|
+
:next_token,
|
3280
|
+
:max_results)
|
3281
|
+
SENSITIVE = []
|
3282
|
+
include Aws::Structure
|
3283
|
+
end
|
3284
|
+
|
3285
|
+
# @!attribute [rw] grants
|
3286
|
+
# Lists the grants the organization has received.
|
3287
|
+
# @return [Array<Types::Grant>]
|
3288
|
+
#
|
3289
|
+
# @!attribute [rw] next_token
|
3290
|
+
# Token for the next set of results.
|
3291
|
+
# @return [String]
|
3292
|
+
#
|
3293
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/ListReceivedGrantsForOrganizationResponse AWS API Documentation
|
3294
|
+
#
|
3295
|
+
class ListReceivedGrantsForOrganizationResponse < Struct.new(
|
3296
|
+
:grants,
|
3297
|
+
:next_token)
|
3298
|
+
SENSITIVE = []
|
3299
|
+
include Aws::Structure
|
3300
|
+
end
|
3301
|
+
|
3237
3302
|
# @note When making an API call, you may pass ListReceivedGrantsRequest
|
3238
3303
|
# data as a hash:
|
3239
3304
|
#
|
@@ -3303,6 +3368,63 @@ module Aws::LicenseManager
|
|
3303
3368
|
include Aws::Structure
|
3304
3369
|
end
|
3305
3370
|
|
3371
|
+
# @note When making an API call, you may pass ListReceivedLicensesForOrganizationRequest
|
3372
|
+
# data as a hash:
|
3373
|
+
#
|
3374
|
+
# {
|
3375
|
+
# filters: [
|
3376
|
+
# {
|
3377
|
+
# name: "FilterName",
|
3378
|
+
# values: ["FilterValue"],
|
3379
|
+
# },
|
3380
|
+
# ],
|
3381
|
+
# next_token: "String",
|
3382
|
+
# max_results: 1,
|
3383
|
+
# }
|
3384
|
+
#
|
3385
|
+
# @!attribute [rw] filters
|
3386
|
+
# Filters to scope the results. The following filters are supported:
|
3387
|
+
#
|
3388
|
+
# * `Beneficiary`
|
3389
|
+
#
|
3390
|
+
# * `ProductSKU`
|
3391
|
+
# @return [Array<Types::Filter>]
|
3392
|
+
#
|
3393
|
+
# @!attribute [rw] next_token
|
3394
|
+
# Token for the next set of results.
|
3395
|
+
# @return [String]
|
3396
|
+
#
|
3397
|
+
# @!attribute [rw] max_results
|
3398
|
+
# Maximum number of results to return in a single call.
|
3399
|
+
# @return [Integer]
|
3400
|
+
#
|
3401
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/ListReceivedLicensesForOrganizationRequest AWS API Documentation
|
3402
|
+
#
|
3403
|
+
class ListReceivedLicensesForOrganizationRequest < Struct.new(
|
3404
|
+
:filters,
|
3405
|
+
:next_token,
|
3406
|
+
:max_results)
|
3407
|
+
SENSITIVE = []
|
3408
|
+
include Aws::Structure
|
3409
|
+
end
|
3410
|
+
|
3411
|
+
# @!attribute [rw] licenses
|
3412
|
+
# Lists the licenses the organization has received.
|
3413
|
+
# @return [Array<Types::GrantedLicense>]
|
3414
|
+
#
|
3415
|
+
# @!attribute [rw] next_token
|
3416
|
+
# Token for the next set of results.
|
3417
|
+
# @return [String]
|
3418
|
+
#
|
3419
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/license-manager-2018-08-01/ListReceivedLicensesForOrganizationResponse AWS API Documentation
|
3420
|
+
#
|
3421
|
+
class ListReceivedLicensesForOrganizationResponse < Struct.new(
|
3422
|
+
:licenses,
|
3423
|
+
:next_token)
|
3424
|
+
SENSITIVE = []
|
3425
|
+
include Aws::Structure
|
3426
|
+
end
|
3427
|
+
|
3306
3428
|
# @note When making an API call, you may pass ListReceivedLicensesRequest
|
3307
3429
|
# data as a hash:
|
3308
3430
|
#
|
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.
|
4
|
+
version: 1.42.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: 2022-
|
11
|
+
date: 2022-11-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|