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_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_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_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_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_configurations(params = {}) ⇒ Types::ListLicenseConfigurationsResponse
Lists the license configurations for your account.
-
#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 license configuration.
-
#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 license configuration.
-
#untag_resource(params = {}) ⇒ Struct
Removes the specified tags from the specified license configuration.
-
#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.
447 448 449 |
# File 'gems/aws-sdk-licensemanager/lib/aws-sdk-licensemanager/client.rb', line 447 def initialize(*args) super end |
Instance Method Details
#accept_grant(params = {}) ⇒ Types::AcceptGrantResponse
Accepts the specified grant.
480 481 482 483 |
# File 'gems/aws-sdk-licensemanager/lib/aws-sdk-licensemanager/client.rb', line 480 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.
507 508 509 510 |
# File 'gems/aws-sdk-licensemanager/lib/aws-sdk-licensemanager/client.rb', line 507 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.
593 594 595 596 |
# File 'gems/aws-sdk-licensemanager/lib/aws-sdk-licensemanager/client.rb', line 593 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.
674 675 676 677 |
# File 'gems/aws-sdk-licensemanager/lib/aws-sdk-licensemanager/client.rb', line 674 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.
752 753 754 755 |
# File 'gems/aws-sdk-licensemanager/lib/aws-sdk-licensemanager/client.rb', line 752 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.
821 822 823 824 |
# File 'gems/aws-sdk-licensemanager/lib/aws-sdk-licensemanager/client.rb', line 821 def create_grant_version(params = {}, = {}) req = build_request(:create_grant_version, params) req.send_request() end |
#create_license(params = {}) ⇒ Types::CreateLicenseResponse
Creates a license.
926 927 928 929 |
# File 'gems/aws-sdk-licensemanager/lib/aws-sdk-licensemanager/client.rb', line 926 def create_license(params = {}, = {}) req = build_request(:create_license, 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.
1031 1032 1033 1034 |
# File 'gems/aws-sdk-licensemanager/lib/aws-sdk-licensemanager/client.rb', line 1031 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.
1084 1085 1086 1087 |
# File 'gems/aws-sdk-licensemanager/lib/aws-sdk-licensemanager/client.rb', line 1084 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.
1155 1156 1157 1158 |
# File 'gems/aws-sdk-licensemanager/lib/aws-sdk-licensemanager/client.rb', line 1155 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.
1264 1265 1266 1267 |
# File 'gems/aws-sdk-licensemanager/lib/aws-sdk-licensemanager/client.rb', line 1264 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.
1321 1322 1323 1324 |
# File 'gems/aws-sdk-licensemanager/lib/aws-sdk-licensemanager/client.rb', line 1321 def create_token(params = {}, = {}) req = build_request(:create_token, params) req.send_request() end |
#delete_grant(params = {}) ⇒ Types::DeleteGrantResponse
Deletes the specified grant.
1361 1362 1363 1364 |
# File 'gems/aws-sdk-licensemanager/lib/aws-sdk-licensemanager/client.rb', line 1361 def delete_grant(params = {}, = {}) req = build_request(:delete_grant, params) req.send_request() end |
#delete_license(params = {}) ⇒ Types::DeleteLicenseResponse
Deletes the specified license.
1395 1396 1397 1398 |
# File 'gems/aws-sdk-licensemanager/lib/aws-sdk-licensemanager/client.rb', line 1395 def delete_license(params = {}, = {}) req = build_request(:delete_license, 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.
1419 1420 1421 1422 |
# File 'gems/aws-sdk-licensemanager/lib/aws-sdk-licensemanager/client.rb', line 1419 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.
1445 1446 1447 1448 |
# File 'gems/aws-sdk-licensemanager/lib/aws-sdk-licensemanager/client.rb', line 1445 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.
1468 1469 1470 1471 |
# File 'gems/aws-sdk-licensemanager/lib/aws-sdk-licensemanager/client.rb', line 1468 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.
1504 1505 1506 1507 |
# File 'gems/aws-sdk-licensemanager/lib/aws-sdk-licensemanager/client.rb', line 1504 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.
1537 1538 1539 1540 |
# File 'gems/aws-sdk-licensemanager/lib/aws-sdk-licensemanager/client.rb', line 1537 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.
1580 1581 1582 1583 |
# File 'gems/aws-sdk-licensemanager/lib/aws-sdk-licensemanager/client.rb', line 1580 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.
1639 1640 1641 1642 |
# File 'gems/aws-sdk-licensemanager/lib/aws-sdk-licensemanager/client.rb', line 1639 def get_license(params = {}, = {}) req = build_request(:get_license, params) req.send_request() end |
#get_license_configuration(params = {}) ⇒ Types::GetLicenseConfigurationResponse
Gets detailed information about the specified license configuration.
1712 1713 1714 1715 |
# File 'gems/aws-sdk-licensemanager/lib/aws-sdk-licensemanager/client.rb', line 1712 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.
1756 1757 1758 1759 |
# File 'gems/aws-sdk-licensemanager/lib/aws-sdk-licensemanager/client.rb', line 1756 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.
1802 1803 1804 1805 |
# File 'gems/aws-sdk-licensemanager/lib/aws-sdk-licensemanager/client.rb', line 1802 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.
1834 1835 1836 1837 |
# File 'gems/aws-sdk-licensemanager/lib/aws-sdk-licensemanager/client.rb', line 1834 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.
1861 1862 1863 1864 |
# File 'gems/aws-sdk-licensemanager/lib/aws-sdk-licensemanager/client.rb', line 1861 def get_service_settings(params = {}, = {}) req = build_request(:get_service_settings, 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).
1909 1910 1911 1912 |
# File 'gems/aws-sdk-licensemanager/lib/aws-sdk-licensemanager/client.rb', line 1909 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.
1978 1979 1980 1981 |
# File 'gems/aws-sdk-licensemanager/lib/aws-sdk-licensemanager/client.rb', line 1978 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.
2026 2027 2028 2029 |
# File 'gems/aws-sdk-licensemanager/lib/aws-sdk-licensemanager/client.rb', line 2026 def list_failures_for_license_configuration_operations(params = {}, = {}) req = build_request(:list_failures_for_license_configuration_operations, params) req.send_request() end |
#list_license_configurations(params = {}) ⇒ Types::ListLicenseConfigurationsResponse
Lists the license configurations for your account.
2113 2114 2115 2116 |
# File 'gems/aws-sdk-licensemanager/lib/aws-sdk-licensemanager/client.rb', line 2113 def list_license_configurations(params = {}, = {}) req = build_request(:list_license_configurations, params) req.send_request() end |
#list_license_conversion_tasks(params = {}) ⇒ Types::ListLicenseConversionTasksResponse
Lists the license type conversion tasks for your account.
2166 2167 2168 2169 |
# File 'gems/aws-sdk-licensemanager/lib/aws-sdk-licensemanager/client.rb', line 2166 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.
2232 2233 2234 2235 |
# File 'gems/aws-sdk-licensemanager/lib/aws-sdk-licensemanager/client.rb', line 2232 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.
2273 2274 2275 2276 |
# File 'gems/aws-sdk-licensemanager/lib/aws-sdk-licensemanager/client.rb', line 2273 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.
2339 2340 2341 2342 |
# File 'gems/aws-sdk-licensemanager/lib/aws-sdk-licensemanager/client.rb', line 2339 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.
2422 2423 2424 2425 |
# File 'gems/aws-sdk-licensemanager/lib/aws-sdk-licensemanager/client.rb', line 2422 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.
2494 2495 2496 2497 |
# File 'gems/aws-sdk-licensemanager/lib/aws-sdk-licensemanager/client.rb', line 2494 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.
2557 2558 2559 2560 |
# File 'gems/aws-sdk-licensemanager/lib/aws-sdk-licensemanager/client.rb', line 2557 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.
2646 2647 2648 2649 |
# File 'gems/aws-sdk-licensemanager/lib/aws-sdk-licensemanager/client.rb', line 2646 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.
2725 2726 2727 2728 |
# File 'gems/aws-sdk-licensemanager/lib/aws-sdk-licensemanager/client.rb', line 2725 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.
2797 2798 2799 2800 |
# File 'gems/aws-sdk-licensemanager/lib/aws-sdk-licensemanager/client.rb', line 2797 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 license configuration.
2827 2828 2829 2830 |
# File 'gems/aws-sdk-licensemanager/lib/aws-sdk-licensemanager/client.rb', line 2827 def (params = {}, = {}) req = build_request(:list_tags_for_resource, params) req.send_request() end |
#list_tokens(params = {}) ⇒ Types::ListTokensResponse
Lists your tokens.
2887 2888 2889 2890 |
# File 'gems/aws-sdk-licensemanager/lib/aws-sdk-licensemanager/client.rb', line 2887 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.
2954 2955 2956 2957 |
# File 'gems/aws-sdk-licensemanager/lib/aws-sdk-licensemanager/client.rb', line 2954 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.
2986 2987 2988 2989 |
# File 'gems/aws-sdk-licensemanager/lib/aws-sdk-licensemanager/client.rb', line 2986 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 license configuration.
3017 3018 3019 3020 |
# File 'gems/aws-sdk-licensemanager/lib/aws-sdk-licensemanager/client.rb', line 3017 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 license configuration.
3043 3044 3045 3046 |
# File 'gems/aws-sdk-licensemanager/lib/aws-sdk-licensemanager/client.rb', line 3043 def untag_resource(params = {}, = {}) req = build_request(:untag_resource, params) req.send_request() end |
#update_license_configuration(params = {}) ⇒ Struct
Modifies the attributes of an existing license configuration.
3109 3110 3111 3112 |
# File 'gems/aws-sdk-licensemanager/lib/aws-sdk-licensemanager/client.rb', line 3109 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.
3170 3171 3172 3173 |
# File 'gems/aws-sdk-licensemanager/lib/aws-sdk-licensemanager/client.rb', line 3170 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.
3216 3217 3218 3219 |
# File 'gems/aws-sdk-licensemanager/lib/aws-sdk-licensemanager/client.rb', line 3216 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.
3254 3255 3256 3257 |
# File 'gems/aws-sdk-licensemanager/lib/aws-sdk-licensemanager/client.rb', line 3254 def update_service_settings(params = {}, = {}) req = build_request(:update_service_settings, params) req.send_request() end |