Class: Aws::LicenseManager::Client
- Inherits:
-
Seahorse::Client::Base
- Object
- Seahorse::Client::Base
- Aws::LicenseManager::Client
- Includes:
- ClientStubs
- Defined in:
- gems/aws-sdk-licensemanager/lib/aws-sdk-licensemanager/client.rb
Overview
An API client for LicenseManager. To construct a client, you need to configure a :region and :credentials.
client = Aws::LicenseManager::Client.new(
region: region_name,
credentials: credentials,
# ...
)
For details on configuring region and credentials see the developer guide.
See #initialize for a full list of supported configuration options.
Instance Attribute Summary
Attributes inherited from Seahorse::Client::Base
API Operations collapse
-
#accept_grant(params = {}) ⇒ Types::AcceptGrantResponse
Accepts the specified grant.
-
#check_in_license(params = {}) ⇒ Struct
Checks in the specified license.
-
#checkout_borrow_license(params = {}) ⇒ Types::CheckoutBorrowLicenseResponse
Checks out the specified license for offline use.
-
#checkout_license(params = {}) ⇒ Types::CheckoutLicenseResponse
Checks out the specified license.
-
#create_grant(params = {}) ⇒ Types::CreateGrantResponse
Creates a grant for the specified license.
-
#create_grant_version(params = {}) ⇒ Types::CreateGrantVersionResponse
Creates a new version of the specified grant.
-
#create_license(params = {}) ⇒ Types::CreateLicenseResponse
Creates a license.
-
#create_license_asset_group(params = {}) ⇒ Types::CreateLicenseAssetGroupResponse
Creates a license asset group.
-
#create_license_asset_ruleset(params = {}) ⇒ Types::CreateLicenseAssetRulesetResponse
Creates a license asset ruleset.
-
#create_license_configuration(params = {}) ⇒ Types::CreateLicenseConfigurationResponse
Creates a license configuration.
-
#create_license_conversion_task_for_resource(params = {}) ⇒ Types::CreateLicenseConversionTaskForResourceResponse
Creates a new license conversion task.
-
#create_license_manager_report_generator(params = {}) ⇒ Types::CreateLicenseManagerReportGeneratorResponse
Creates a report generator.
-
#create_license_version(params = {}) ⇒ Types::CreateLicenseVersionResponse
Creates a new version of the specified license.
-
#create_token(params = {}) ⇒ Types::CreateTokenResponse
Creates a long-lived token.
-
#delete_grant(params = {}) ⇒ Types::DeleteGrantResponse
Deletes the specified grant.
-
#delete_license(params = {}) ⇒ Types::DeleteLicenseResponse
Deletes the specified license.
-
#delete_license_asset_group(params = {}) ⇒ Types::DeleteLicenseAssetGroupResponse
Deletes a license asset group.
-
#delete_license_asset_ruleset(params = {}) ⇒ Struct
Deletes a license asset ruleset.
-
#delete_license_configuration(params = {}) ⇒ Struct
Deletes the specified license configuration.
-
#delete_license_manager_report_generator(params = {}) ⇒ Struct
Deletes the specified report generator.
-
#delete_token(params = {}) ⇒ Struct
Deletes the specified token.
-
#extend_license_consumption(params = {}) ⇒ Types::ExtendLicenseConsumptionResponse
Extends the expiration date for license consumption.
-
#get_access_token(params = {}) ⇒ Types::GetAccessTokenResponse
Gets a temporary access token to use with AssumeRoleWithWebIdentity.
-
#get_grant(params = {}) ⇒ Types::GetGrantResponse
Gets detailed information about the specified grant.
-
#get_license(params = {}) ⇒ Types::GetLicenseResponse
Gets detailed information about the specified license.
-
#get_license_asset_group(params = {}) ⇒ Types::GetLicenseAssetGroupResponse
Gets a license asset group.
-
#get_license_asset_ruleset(params = {}) ⇒ Types::GetLicenseAssetRulesetResponse
Gets a license asset ruleset.
-
#get_license_configuration(params = {}) ⇒ Types::GetLicenseConfigurationResponse
Gets detailed information about the specified license configuration.
-
#get_license_conversion_task(params = {}) ⇒ Types::GetLicenseConversionTaskResponse
Gets information about the specified license type conversion task.
-
#get_license_manager_report_generator(params = {}) ⇒ Types::GetLicenseManagerReportGeneratorResponse
Gets information about the specified report generator.
-
#get_license_usage(params = {}) ⇒ Types::GetLicenseUsageResponse
Gets detailed information about the usage of the specified license.
-
#get_service_settings(params = {}) ⇒ Types::GetServiceSettingsResponse
Gets the License Manager settings for the current Region.
-
#list_assets_for_license_asset_group(params = {}) ⇒ Types::ListAssetsForLicenseAssetGroupResponse
Lists assets for a license asset group.
-
#list_associations_for_license_configuration(params = {}) ⇒ Types::ListAssociationsForLicenseConfigurationResponse
Lists the resource associations for the specified license configuration.
-
#list_distributed_grants(params = {}) ⇒ Types::ListDistributedGrantsResponse
Lists the grants distributed for the specified license.
-
#list_failures_for_license_configuration_operations(params = {}) ⇒ Types::ListFailuresForLicenseConfigurationOperationsResponse
Lists the license configuration operations that failed.
-
#list_license_asset_groups(params = {}) ⇒ Types::ListLicenseAssetGroupsResponse
Lists license asset groups.
-
#list_license_asset_rulesets(params = {}) ⇒ Types::ListLicenseAssetRulesetsResponse
Lists license asset rulesets.
-
#list_license_configurations(params = {}) ⇒ Types::ListLicenseConfigurationsResponse
Lists the license configurations for your account.
-
#list_license_configurations_for_organization(params = {}) ⇒ Types::ListLicenseConfigurationsForOrganizationResponse
Lists license configurations for an organization.
-
#list_license_conversion_tasks(params = {}) ⇒ Types::ListLicenseConversionTasksResponse
Lists the license type conversion tasks for your account.
-
#list_license_manager_report_generators(params = {}) ⇒ Types::ListLicenseManagerReportGeneratorsResponse
Lists the report generators for your account.
-
#list_license_specifications_for_resource(params = {}) ⇒ Types::ListLicenseSpecificationsForResourceResponse
Describes the license configurations for the specified resource.
-
#list_license_versions(params = {}) ⇒ Types::ListLicenseVersionsResponse
Lists all versions of the specified license.
-
#list_licenses(params = {}) ⇒ Types::ListLicensesResponse
Lists the licenses for your account.
-
#list_received_grants(params = {}) ⇒ Types::ListReceivedGrantsResponse
Lists grants that are received.
-
#list_received_grants_for_organization(params = {}) ⇒ Types::ListReceivedGrantsForOrganizationResponse
Lists the grants received for all accounts in the organization.
-
#list_received_licenses(params = {}) ⇒ Types::ListReceivedLicensesResponse
Lists received licenses.
-
#list_received_licenses_for_organization(params = {}) ⇒ Types::ListReceivedLicensesForOrganizationResponse
Lists the licenses received for all accounts in the organization.
-
#list_resource_inventory(params = {}) ⇒ Types::ListResourceInventoryResponse
Lists resources managed using Systems Manager inventory.
-
#list_tags_for_resource(params = {}) ⇒ Types::ListTagsForResourceResponse
Lists the tags for the specified resource.
-
#list_tokens(params = {}) ⇒ Types::ListTokensResponse
Lists your tokens.
-
#list_usage_for_license_configuration(params = {}) ⇒ Types::ListUsageForLicenseConfigurationResponse
Lists all license usage records for a license configuration, displaying license consumption details by resource at a selected point in time.
-
#reject_grant(params = {}) ⇒ Types::RejectGrantResponse
Rejects the specified grant.
-
#tag_resource(params = {}) ⇒ Struct
Adds the specified tags to the specified resource.
-
#untag_resource(params = {}) ⇒ Struct
Removes the specified tags from the specified resource.
-
#update_license_asset_group(params = {}) ⇒ Types::UpdateLicenseAssetGroupResponse
Updates a license asset group.
-
#update_license_asset_ruleset(params = {}) ⇒ Types::UpdateLicenseAssetRulesetResponse
Updates a license asset ruleset.
-
#update_license_configuration(params = {}) ⇒ Struct
Modifies the attributes of an existing license configuration.
-
#update_license_manager_report_generator(params = {}) ⇒ Struct
Updates a report generator.
-
#update_license_specifications_for_resource(params = {}) ⇒ Struct
Adds or removes the specified license configurations for the specified Amazon Web Services resource.
-
#update_service_settings(params = {}) ⇒ Struct
Updates License Manager settings for the current Region.
Instance Method Summary collapse
-
#initialize(options) ⇒ Client
constructor
A new instance of Client.
Methods included from ClientStubs
#api_requests, #stub_data, #stub_responses
Methods inherited from Seahorse::Client::Base
add_plugin, api, clear_plugins, define, new, #operation_names, plugins, remove_plugin, set_api, set_plugins
Methods included from Seahorse::Client::HandlerBuilder
#handle, #handle_request, #handle_response
Constructor Details
#initialize(options) ⇒ Client
Returns a new instance of Client.
480 481 482 |
# File 'gems/aws-sdk-licensemanager/lib/aws-sdk-licensemanager/client.rb', line 480 def initialize(*args) super end |
Instance Method Details
#accept_grant(params = {}) ⇒ Types::AcceptGrantResponse
Accepts the specified grant.
513 514 515 516 |
# File 'gems/aws-sdk-licensemanager/lib/aws-sdk-licensemanager/client.rb', line 513 def accept_grant(params = {}, = {}) req = build_request(:accept_grant, params) req.send_request() end |
#check_in_license(params = {}) ⇒ Struct
Checks in the specified license. Check in a license when it is no longer in use.
540 541 542 543 |
# File 'gems/aws-sdk-licensemanager/lib/aws-sdk-licensemanager/client.rb', line 540 def check_in_license(params = {}, = {}) req = build_request(:check_in_license, params) req.send_request() end |
#checkout_borrow_license(params = {}) ⇒ Types::CheckoutBorrowLicenseResponse
Checks out the specified license for offline use.
626 627 628 629 |
# File 'gems/aws-sdk-licensemanager/lib/aws-sdk-licensemanager/client.rb', line 626 def checkout_borrow_license(params = {}, = {}) req = build_request(:checkout_borrow_license, params) req.send_request() end |
#checkout_license(params = {}) ⇒ Types::CheckoutLicenseResponse
Checks out the specified license.
707 708 709 710 |
# File 'gems/aws-sdk-licensemanager/lib/aws-sdk-licensemanager/client.rb', line 707 def checkout_license(params = {}, = {}) req = build_request(:checkout_license, params) req.send_request() end |
#create_grant(params = {}) ⇒ Types::CreateGrantResponse
Creates a grant for the specified license. A grant shares the use of license entitlements with a specific Amazon Web Services account, an organization, or an organizational unit (OU). For more information, see Granted licenses in License Manager in the License Manager User Guide.
799 800 801 802 |
# File 'gems/aws-sdk-licensemanager/lib/aws-sdk-licensemanager/client.rb', line 799 def create_grant(params = {}, = {}) req = build_request(:create_grant, params) req.send_request() end |
#create_grant_version(params = {}) ⇒ Types::CreateGrantVersionResponse
Creates a new version of the specified grant. For more information, see Granted licenses in License Manager in the License Manager User Guide.
868 869 870 871 |
# File 'gems/aws-sdk-licensemanager/lib/aws-sdk-licensemanager/client.rb', line 868 def create_grant_version(params = {}, = {}) req = build_request(:create_grant_version, params) req.send_request() end |
#create_license(params = {}) ⇒ Types::CreateLicenseResponse
Creates a license.
987 988 989 990 |
# File 'gems/aws-sdk-licensemanager/lib/aws-sdk-licensemanager/client.rb', line 987 def create_license(params = {}, = {}) req = build_request(:create_license, params) req.send_request() end |
#create_license_asset_group(params = {}) ⇒ Types::CreateLicenseAssetGroupResponse
Creates a license asset group.
1056 1057 1058 1059 |
# File 'gems/aws-sdk-licensemanager/lib/aws-sdk-licensemanager/client.rb', line 1056 def create_license_asset_group(params = {}, = {}) req = build_request(:create_license_asset_group, params) req.send_request() end |
#create_license_asset_ruleset(params = {}) ⇒ Types::CreateLicenseAssetRulesetResponse
Creates a license asset ruleset.
1226 1227 1228 1229 |
# File 'gems/aws-sdk-licensemanager/lib/aws-sdk-licensemanager/client.rb', line 1226 def create_license_asset_ruleset(params = {}, = {}) req = build_request(:create_license_asset_ruleset, params) req.send_request() end |
#create_license_configuration(params = {}) ⇒ Types::CreateLicenseConfigurationResponse
Creates a license configuration.
A license configuration is an abstraction of a customer license agreement that can be consumed and enforced by License Manager. Components include specifications for the license type (licensing by instance, socket, CPU, or vCPU), allowed tenancy (shared tenancy, Dedicated Instance, Dedicated Host, or all of these), license affinity to host (how long a license must be associated with a host), and the number of licenses purchased and used.
1334 1335 1336 1337 |
# File 'gems/aws-sdk-licensemanager/lib/aws-sdk-licensemanager/client.rb', line 1334 def create_license_configuration(params = {}, = {}) req = build_request(:create_license_configuration, params) req.send_request() end |
#create_license_conversion_task_for_resource(params = {}) ⇒ Types::CreateLicenseConversionTaskForResourceResponse
Creates a new license conversion task.
1399 1400 1401 1402 |
# File 'gems/aws-sdk-licensemanager/lib/aws-sdk-licensemanager/client.rb', line 1399 def create_license_conversion_task_for_resource(params = {}, = {}) req = build_request(:create_license_conversion_task_for_resource, params) req.send_request() end |
#create_license_manager_report_generator(params = {}) ⇒ Types::CreateLicenseManagerReportGeneratorResponse
Creates a report generator.
1473 1474 1475 1476 |
# File 'gems/aws-sdk-licensemanager/lib/aws-sdk-licensemanager/client.rb', line 1473 def create_license_manager_report_generator(params = {}, = {}) req = build_request(:create_license_manager_report_generator, params) req.send_request() end |
#create_license_version(params = {}) ⇒ Types::CreateLicenseVersionResponse
Creates a new version of the specified license.
1582 1583 1584 1585 |
# File 'gems/aws-sdk-licensemanager/lib/aws-sdk-licensemanager/client.rb', line 1582 def create_license_version(params = {}, = {}) req = build_request(:create_license_version, params) req.send_request() end |
#create_token(params = {}) ⇒ Types::CreateTokenResponse
Creates a long-lived token.
A refresh token is a JWT token used to get an access token. With an access token, you can call AssumeRoleWithWebIdentity to get role credentials that you can use to call License Manager to manage the specified license.
1639 1640 1641 1642 |
# File 'gems/aws-sdk-licensemanager/lib/aws-sdk-licensemanager/client.rb', line 1639 def create_token(params = {}, = {}) req = build_request(:create_token, params) req.send_request() end |
#delete_grant(params = {}) ⇒ Types::DeleteGrantResponse
Deletes the specified grant.
1679 1680 1681 1682 |
# File 'gems/aws-sdk-licensemanager/lib/aws-sdk-licensemanager/client.rb', line 1679 def delete_grant(params = {}, = {}) req = build_request(:delete_grant, params) req.send_request() end |
#delete_license(params = {}) ⇒ Types::DeleteLicenseResponse
Deletes the specified license.
1713 1714 1715 1716 |
# File 'gems/aws-sdk-licensemanager/lib/aws-sdk-licensemanager/client.rb', line 1713 def delete_license(params = {}, = {}) req = build_request(:delete_license, params) req.send_request() end |
#delete_license_asset_group(params = {}) ⇒ Types::DeleteLicenseAssetGroupResponse
Deletes a license asset group.
1741 1742 1743 1744 |
# File 'gems/aws-sdk-licensemanager/lib/aws-sdk-licensemanager/client.rb', line 1741 def delete_license_asset_group(params = {}, = {}) req = build_request(:delete_license_asset_group, params) req.send_request() end |
#delete_license_asset_ruleset(params = {}) ⇒ Struct
Deletes a license asset ruleset.
1763 1764 1765 1766 |
# File 'gems/aws-sdk-licensemanager/lib/aws-sdk-licensemanager/client.rb', line 1763 def delete_license_asset_ruleset(params = {}, = {}) req = build_request(:delete_license_asset_ruleset, params) req.send_request() end |
#delete_license_configuration(params = {}) ⇒ Struct
Deletes the specified license configuration.
You cannot delete a license configuration that is in use.
1787 1788 1789 1790 |
# File 'gems/aws-sdk-licensemanager/lib/aws-sdk-licensemanager/client.rb', line 1787 def delete_license_configuration(params = {}, = {}) req = build_request(:delete_license_configuration, params) req.send_request() end |
#delete_license_manager_report_generator(params = {}) ⇒ Struct
Deletes the specified report generator.
This action deletes the report generator, which stops it from generating future reports. The action cannot be reversed. It has no effect on the previous reports from this generator.
1813 1814 1815 1816 |
# File 'gems/aws-sdk-licensemanager/lib/aws-sdk-licensemanager/client.rb', line 1813 def delete_license_manager_report_generator(params = {}, = {}) req = build_request(:delete_license_manager_report_generator, params) req.send_request() end |
#delete_token(params = {}) ⇒ Struct
Deletes the specified token. Must be called in the license home Region.
1836 1837 1838 1839 |
# File 'gems/aws-sdk-licensemanager/lib/aws-sdk-licensemanager/client.rb', line 1836 def delete_token(params = {}, = {}) req = build_request(:delete_token, params) req.send_request() end |
#extend_license_consumption(params = {}) ⇒ Types::ExtendLicenseConsumptionResponse
Extends the expiration date for license consumption.
1872 1873 1874 1875 |
# File 'gems/aws-sdk-licensemanager/lib/aws-sdk-licensemanager/client.rb', line 1872 def extend_license_consumption(params = {}, = {}) req = build_request(:extend_license_consumption, params) req.send_request() end |
#get_access_token(params = {}) ⇒ Types::GetAccessTokenResponse
Gets a temporary access token to use with AssumeRoleWithWebIdentity. Access tokens are valid for one hour.
1905 1906 1907 1908 |
# File 'gems/aws-sdk-licensemanager/lib/aws-sdk-licensemanager/client.rb', line 1905 def get_access_token(params = {}, = {}) req = build_request(:get_access_token, params) req.send_request() end |
#get_grant(params = {}) ⇒ Types::GetGrantResponse
Gets detailed information about the specified grant.
1948 1949 1950 1951 |
# File 'gems/aws-sdk-licensemanager/lib/aws-sdk-licensemanager/client.rb', line 1948 def get_grant(params = {}, = {}) req = build_request(:get_grant, params) req.send_request() end |
#get_license(params = {}) ⇒ Types::GetLicenseResponse
Gets detailed information about the specified license.
2007 2008 2009 2010 |
# File 'gems/aws-sdk-licensemanager/lib/aws-sdk-licensemanager/client.rb', line 2007 def get_license(params = {}, = {}) req = build_request(:get_license, params) req.send_request() end |
#get_license_asset_group(params = {}) ⇒ Types::GetLicenseAssetGroupResponse
Gets a license asset group.
2048 2049 2050 2051 |
# File 'gems/aws-sdk-licensemanager/lib/aws-sdk-licensemanager/client.rb', line 2048 def get_license_asset_group(params = {}, = {}) req = build_request(:get_license_asset_group, params) req.send_request() end |
#get_license_asset_ruleset(params = {}) ⇒ Types::GetLicenseAssetRulesetResponse
Gets a license asset ruleset.
2141 2142 2143 2144 |
# File 'gems/aws-sdk-licensemanager/lib/aws-sdk-licensemanager/client.rb', line 2141 def get_license_asset_ruleset(params = {}, = {}) req = build_request(:get_license_asset_ruleset, params) req.send_request() end |
#get_license_configuration(params = {}) ⇒ Types::GetLicenseConfigurationResponse
Gets detailed information about the specified license configuration.
2216 2217 2218 2219 |
# File 'gems/aws-sdk-licensemanager/lib/aws-sdk-licensemanager/client.rb', line 2216 def get_license_configuration(params = {}, = {}) req = build_request(:get_license_configuration, params) req.send_request() end |
#get_license_conversion_task(params = {}) ⇒ Types::GetLicenseConversionTaskResponse
Gets information about the specified license type conversion task.
2266 2267 2268 2269 |
# File 'gems/aws-sdk-licensemanager/lib/aws-sdk-licensemanager/client.rb', line 2266 def get_license_conversion_task(params = {}, = {}) req = build_request(:get_license_conversion_task, params) req.send_request() end |
#get_license_manager_report_generator(params = {}) ⇒ Types::GetLicenseManagerReportGeneratorResponse
Gets information about the specified report generator.
2316 2317 2318 2319 |
# File 'gems/aws-sdk-licensemanager/lib/aws-sdk-licensemanager/client.rb', line 2316 def get_license_manager_report_generator(params = {}, = {}) req = build_request(:get_license_manager_report_generator, params) req.send_request() end |
#get_license_usage(params = {}) ⇒ Types::GetLicenseUsageResponse
Gets detailed information about the usage of the specified license.
2348 2349 2350 2351 |
# File 'gems/aws-sdk-licensemanager/lib/aws-sdk-licensemanager/client.rb', line 2348 def get_license_usage(params = {}, = {}) req = build_request(:get_license_usage, params) req.send_request() end |
#get_service_settings(params = {}) ⇒ Types::GetServiceSettingsResponse
Gets the License Manager settings for the current Region.
2384 2385 2386 2387 |
# File 'gems/aws-sdk-licensemanager/lib/aws-sdk-licensemanager/client.rb', line 2384 def get_service_settings(params = {}, = {}) req = build_request(:get_service_settings, params) req.send_request() end |
#list_assets_for_license_asset_group(params = {}) ⇒ Types::ListAssetsForLicenseAssetGroupResponse
Lists assets for a license asset group.
2429 2430 2431 2432 |
# File 'gems/aws-sdk-licensemanager/lib/aws-sdk-licensemanager/client.rb', line 2429 def list_assets_for_license_asset_group(params = {}, = {}) req = build_request(:list_assets_for_license_asset_group, params) req.send_request() end |
#list_associations_for_license_configuration(params = {}) ⇒ Types::ListAssociationsForLicenseConfigurationResponse
Lists the resource associations for the specified license configuration.
Resource associations need not consume licenses from a license configuration. For example, an AMI or a stopped instance might not consume a license (depending on the license rules).
2477 2478 2479 2480 |
# File 'gems/aws-sdk-licensemanager/lib/aws-sdk-licensemanager/client.rb', line 2477 def list_associations_for_license_configuration(params = {}, = {}) req = build_request(:list_associations_for_license_configuration, params) req.send_request() end |
#list_distributed_grants(params = {}) ⇒ Types::ListDistributedGrantsResponse
Lists the grants distributed for the specified license.
2546 2547 2548 2549 |
# File 'gems/aws-sdk-licensemanager/lib/aws-sdk-licensemanager/client.rb', line 2546 def list_distributed_grants(params = {}, = {}) req = build_request(:list_distributed_grants, params) req.send_request() end |
#list_failures_for_license_configuration_operations(params = {}) ⇒ Types::ListFailuresForLicenseConfigurationOperationsResponse
Lists the license configuration operations that failed.
2594 2595 2596 2597 |
# File 'gems/aws-sdk-licensemanager/lib/aws-sdk-licensemanager/client.rb', line 2594 def list_failures_for_license_configuration_operations(params = {}, = {}) req = build_request(:list_failures_for_license_configuration_operations, params) req.send_request() end |
#list_license_asset_groups(params = {}) ⇒ Types::ListLicenseAssetGroupsResponse
Lists license asset groups.
2655 2656 2657 2658 |
# File 'gems/aws-sdk-licensemanager/lib/aws-sdk-licensemanager/client.rb', line 2655 def list_license_asset_groups(params = {}, = {}) req = build_request(:list_license_asset_groups, params) req.send_request() end |
#list_license_asset_rulesets(params = {}) ⇒ Types::ListLicenseAssetRulesetsResponse
Lists license asset rulesets.
2773 2774 2775 2776 |
# File 'gems/aws-sdk-licensemanager/lib/aws-sdk-licensemanager/client.rb', line 2773 def list_license_asset_rulesets(params = {}, = {}) req = build_request(:list_license_asset_rulesets, params) req.send_request() end |
#list_license_configurations(params = {}) ⇒ Types::ListLicenseConfigurationsResponse
Lists the license configurations for your account.
2859 2860 2861 2862 |
# File 'gems/aws-sdk-licensemanager/lib/aws-sdk-licensemanager/client.rb', line 2859 def list_license_configurations(params = {}, = {}) req = build_request(:list_license_configurations, params) req.send_request() end |
#list_license_configurations_for_organization(params = {}) ⇒ Types::ListLicenseConfigurationsForOrganizationResponse
Lists license configurations for an organization.
2934 2935 2936 2937 |
# File 'gems/aws-sdk-licensemanager/lib/aws-sdk-licensemanager/client.rb', line 2934 def list_license_configurations_for_organization(params = {}, = {}) req = build_request(:list_license_configurations_for_organization, params) req.send_request() end |
#list_license_conversion_tasks(params = {}) ⇒ Types::ListLicenseConversionTasksResponse
Lists the license type conversion tasks for your account.
2993 2994 2995 2996 |
# File 'gems/aws-sdk-licensemanager/lib/aws-sdk-licensemanager/client.rb', line 2993 def list_license_conversion_tasks(params = {}, = {}) req = build_request(:list_license_conversion_tasks, params) req.send_request() end |
#list_license_manager_report_generators(params = {}) ⇒ Types::ListLicenseManagerReportGeneratorsResponse
Lists the report generators for your account.
3063 3064 3065 3066 |
# File 'gems/aws-sdk-licensemanager/lib/aws-sdk-licensemanager/client.rb', line 3063 def list_license_manager_report_generators(params = {}, = {}) req = build_request(:list_license_manager_report_generators, params) req.send_request() end |
#list_license_specifications_for_resource(params = {}) ⇒ Types::ListLicenseSpecificationsForResourceResponse
Describes the license configurations for the specified resource.
3104 3105 3106 3107 |
# File 'gems/aws-sdk-licensemanager/lib/aws-sdk-licensemanager/client.rb', line 3104 def list_license_specifications_for_resource(params = {}, = {}) req = build_request(:list_license_specifications_for_resource, params) req.send_request() end |
#list_license_versions(params = {}) ⇒ Types::ListLicenseVersionsResponse
Lists all versions of the specified license.
3170 3171 3172 3173 |
# File 'gems/aws-sdk-licensemanager/lib/aws-sdk-licensemanager/client.rb', line 3170 def list_license_versions(params = {}, = {}) req = build_request(:list_license_versions, params) req.send_request() end |
#list_licenses(params = {}) ⇒ Types::ListLicensesResponse
Lists the licenses for your account.
3253 3254 3255 3256 |
# File 'gems/aws-sdk-licensemanager/lib/aws-sdk-licensemanager/client.rb', line 3253 def list_licenses(params = {}, = {}) req = build_request(:list_licenses, params) req.send_request() end |
#list_received_grants(params = {}) ⇒ Types::ListReceivedGrantsResponse
Lists grants that are received. Received grants are grants created while specifying the recipient as this Amazon Web Services account, your organization, or an organizational unit (OU) to which this member account belongs.
3325 3326 3327 3328 |
# File 'gems/aws-sdk-licensemanager/lib/aws-sdk-licensemanager/client.rb', line 3325 def list_received_grants(params = {}, = {}) req = build_request(:list_received_grants, params) req.send_request() end |
#list_received_grants_for_organization(params = {}) ⇒ Types::ListReceivedGrantsForOrganizationResponse
Lists the grants received for all accounts in the organization.
3388 3389 3390 3391 |
# File 'gems/aws-sdk-licensemanager/lib/aws-sdk-licensemanager/client.rb', line 3388 def list_received_grants_for_organization(params = {}, = {}) req = build_request(:list_received_grants_for_organization, params) req.send_request() end |
#list_received_licenses(params = {}) ⇒ Types::ListReceivedLicensesResponse
Lists received licenses.
3477 3478 3479 3480 |
# File 'gems/aws-sdk-licensemanager/lib/aws-sdk-licensemanager/client.rb', line 3477 def list_received_licenses(params = {}, = {}) req = build_request(:list_received_licenses, params) req.send_request() end |
#list_received_licenses_for_organization(params = {}) ⇒ Types::ListReceivedLicensesForOrganizationResponse
Lists the licenses received for all accounts in the organization.
3556 3557 3558 3559 |
# File 'gems/aws-sdk-licensemanager/lib/aws-sdk-licensemanager/client.rb', line 3556 def list_received_licenses_for_organization(params = {}, = {}) req = build_request(:list_received_licenses_for_organization, params) req.send_request() end |
#list_resource_inventory(params = {}) ⇒ Types::ListResourceInventoryResponse
Lists resources managed using Systems Manager inventory.
3635 3636 3637 3638 |
# File 'gems/aws-sdk-licensemanager/lib/aws-sdk-licensemanager/client.rb', line 3635 def list_resource_inventory(params = {}, = {}) req = build_request(:list_resource_inventory, params) req.send_request() end |
#list_tags_for_resource(params = {}) ⇒ Types::ListTagsForResourceResponse
Lists the tags for the specified resource. For more information about tagging support in License Manager, see the TagResource operation.
3671 3672 3673 3674 |
# File 'gems/aws-sdk-licensemanager/lib/aws-sdk-licensemanager/client.rb', line 3671 def (params = {}, = {}) req = build_request(:list_tags_for_resource, params) req.send_request() end |
#list_tokens(params = {}) ⇒ Types::ListTokensResponse
Lists your tokens.
3731 3732 3733 3734 |
# File 'gems/aws-sdk-licensemanager/lib/aws-sdk-licensemanager/client.rb', line 3731 def list_tokens(params = {}, = {}) req = build_request(:list_tokens, params) req.send_request() end |
#list_usage_for_license_configuration(params = {}) ⇒ Types::ListUsageForLicenseConfigurationResponse
Lists all license usage records for a license configuration, displaying license consumption details by resource at a selected point in time. Use this action to audit the current license consumption for any license inventory and configuration.
3795 3796 3797 3798 |
# File 'gems/aws-sdk-licensemanager/lib/aws-sdk-licensemanager/client.rb', line 3795 def list_usage_for_license_configuration(params = {}, = {}) req = build_request(:list_usage_for_license_configuration, params) req.send_request() end |
#reject_grant(params = {}) ⇒ Types::RejectGrantResponse
Rejects the specified grant.
3827 3828 3829 3830 |
# File 'gems/aws-sdk-licensemanager/lib/aws-sdk-licensemanager/client.rb', line 3827 def reject_grant(params = {}, = {}) req = build_request(:reject_grant, params) req.send_request() end |
#tag_resource(params = {}) ⇒ Struct
Adds the specified tags to the specified resource. The following resources support tagging in License Manager:
Licenses
Grants
License configurations
Report generators
3880 3881 3882 3883 |
# File 'gems/aws-sdk-licensemanager/lib/aws-sdk-licensemanager/client.rb', line 3880 def tag_resource(params = {}, = {}) req = build_request(:tag_resource, params) req.send_request() end |
#untag_resource(params = {}) ⇒ Struct
Removes the specified tags from the specified resource.
3906 3907 3908 3909 |
# File 'gems/aws-sdk-licensemanager/lib/aws-sdk-licensemanager/client.rb', line 3906 def untag_resource(params = {}, = {}) req = build_request(:untag_resource, params) req.send_request() end |
#update_license_asset_group(params = {}) ⇒ Types::UpdateLicenseAssetGroupResponse
Updates a license asset group.
3975 3976 3977 3978 |
# File 'gems/aws-sdk-licensemanager/lib/aws-sdk-licensemanager/client.rb', line 3975 def update_license_asset_group(params = {}, = {}) req = build_request(:update_license_asset_group, params) req.send_request() end |
#update_license_asset_ruleset(params = {}) ⇒ Types::UpdateLicenseAssetRulesetResponse
Updates a license asset ruleset.
4140 4141 4142 4143 |
# File 'gems/aws-sdk-licensemanager/lib/aws-sdk-licensemanager/client.rb', line 4140 def update_license_asset_ruleset(params = {}, = {}) req = build_request(:update_license_asset_ruleset, params) req.send_request() end |
#update_license_configuration(params = {}) ⇒ Struct
Modifies the attributes of an existing license configuration.
4210 4211 4212 4213 |
# File 'gems/aws-sdk-licensemanager/lib/aws-sdk-licensemanager/client.rb', line 4210 def update_license_configuration(params = {}, = {}) req = build_request(:update_license_configuration, params) req.send_request() end |
#update_license_manager_report_generator(params = {}) ⇒ Struct
Updates a report generator.
After you make changes to a report generator, it starts generating new reports within 60 minutes of being updated.
4274 4275 4276 4277 |
# File 'gems/aws-sdk-licensemanager/lib/aws-sdk-licensemanager/client.rb', line 4274 def update_license_manager_report_generator(params = {}, = {}) req = build_request(:update_license_manager_report_generator, params) req.send_request() end |
#update_license_specifications_for_resource(params = {}) ⇒ Struct
Adds or removes the specified license configurations for the specified Amazon Web Services resource.
You can update the license specifications of AMIs, instances, and hosts. You cannot update the license specifications for launch templates and CloudFormation templates, as they send license configurations to the operation that creates the resource.
4320 4321 4322 4323 |
# File 'gems/aws-sdk-licensemanager/lib/aws-sdk-licensemanager/client.rb', line 4320 def update_license_specifications_for_resource(params = {}, = {}) req = build_request(:update_license_specifications_for_resource, params) req.send_request() end |
#update_service_settings(params = {}) ⇒ Struct
Updates License Manager settings for the current Region.
4362 4363 4364 4365 |
# File 'gems/aws-sdk-licensemanager/lib/aws-sdk-licensemanager/client.rb', line 4362 def update_service_settings(params = {}, = {}) req = build_request(:update_service_settings, params) req.send_request() end |