Class: Aws::LicenseManager::Client
- Inherits:
-
Seahorse::Client::Base
- Object
- Seahorse::Client::Base
- Aws::LicenseManager::Client
- Includes:
- ClientStubs
- Defined in:
- 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](/sdk-for-ruby/v3/developer-guide/setup-config.html).
See #initialize for a full list of supported configuration options.
Class Attribute Summary collapse
- .identifier ⇒ Object readonly private
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.
Class Method Summary collapse
- .errors_module ⇒ Object private
Instance Method Summary collapse
- #build_request(operation_name, params = {}) ⇒ Object private
-
#initialize(options) ⇒ Client
constructor
A new instance of Client.
- #waiter_names ⇒ Object deprecated private Deprecated.
Constructor Details
#initialize(options) ⇒ Client
Returns a new instance of Client.
451 452 453 |
# File 'lib/aws-sdk-licensemanager/client.rb', line 451 def initialize(*args) super end |
Class Attribute Details
.identifier ⇒ Object (readonly)
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
3294 3295 3296 |
# File 'lib/aws-sdk-licensemanager/client.rb', line 3294 def identifier @identifier end |
Class Method Details
.errors_module ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
3297 3298 3299 |
# File 'lib/aws-sdk-licensemanager/client.rb', line 3297 def errors_module Errors end |
Instance Method Details
#accept_grant(params = {}) ⇒ Types::AcceptGrantResponse
Accepts the specified grant.
484 485 486 487 |
# File 'lib/aws-sdk-licensemanager/client.rb', line 484 def accept_grant(params = {}, = {}) req = build_request(:accept_grant, params) req.send_request() end |
#build_request(operation_name, params = {}) ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
3267 3268 3269 3270 3271 3272 3273 3274 3275 3276 3277 3278 3279 3280 3281 3282 3283 |
# File 'lib/aws-sdk-licensemanager/client.rb', line 3267 def build_request(operation_name, params = {}) handlers = @handlers.for(operation_name) tracer = config.telemetry_provider.tracer_provider.tracer( Aws::Telemetry.module_to_tracer_name('Aws::LicenseManager') ) context = Seahorse::Client::RequestContext.new( operation_name: operation_name, operation: config.api.operation(operation_name), client: self, params: params, config: config, tracer: tracer ) context[:gem_name] = 'aws-sdk-licensemanager' context[:gem_version] = '1.67.0' Seahorse::Client::Request.new(handlers, context) end |
#check_in_license(params = {}) ⇒ Struct
Checks in the specified license. Check in a license when it is no longer in use.
511 512 513 514 |
# File 'lib/aws-sdk-licensemanager/client.rb', line 511 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.
597 598 599 600 |
# File 'lib/aws-sdk-licensemanager/client.rb', line 597 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.
<note markdown=“1”> If the account that created the license is the same that is performing the check out, you must specify the account as the beneficiary.
</note>
678 679 680 681 |
# File 'lib/aws-sdk-licensemanager/client.rb', line 678 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*.
[1]: docs.aws.amazon.com/license-manager/latest/userguide/granted-licenses.html
756 757 758 759 |
# File 'lib/aws-sdk-licensemanager/client.rb', line 756 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*.
[1]: docs.aws.amazon.com/license-manager/latest/userguide/granted-licenses.html
825 826 827 828 |
# File 'lib/aws-sdk-licensemanager/client.rb', line 825 def create_grant_version(params = {}, = {}) req = build_request(:create_grant_version, params) req.send_request() end |
#create_license(params = {}) ⇒ Types::CreateLicenseResponse
Creates a license.
930 931 932 933 |
# File 'lib/aws-sdk-licensemanager/client.rb', line 930 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.
1035 1036 1037 1038 |
# File 'lib/aws-sdk-licensemanager/client.rb', line 1035 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.
1088 1089 1090 1091 |
# File 'lib/aws-sdk-licensemanager/client.rb', line 1088 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.
1159 1160 1161 1162 |
# File 'lib/aws-sdk-licensemanager/client.rb', line 1159 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.
1268 1269 1270 1271 |
# File 'lib/aws-sdk-licensemanager/client.rb', line 1268 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.
1325 1326 1327 1328 |
# File 'lib/aws-sdk-licensemanager/client.rb', line 1325 def create_token(params = {}, = {}) req = build_request(:create_token, params) req.send_request() end |
#delete_grant(params = {}) ⇒ Types::DeleteGrantResponse
Deletes the specified grant.
1365 1366 1367 1368 |
# File 'lib/aws-sdk-licensemanager/client.rb', line 1365 def delete_grant(params = {}, = {}) req = build_request(:delete_grant, params) req.send_request() end |
#delete_license(params = {}) ⇒ Types::DeleteLicenseResponse
Deletes the specified license.
1399 1400 1401 1402 |
# File 'lib/aws-sdk-licensemanager/client.rb', line 1399 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.
1423 1424 1425 1426 |
# File 'lib/aws-sdk-licensemanager/client.rb', line 1423 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.
1449 1450 1451 1452 |
# File 'lib/aws-sdk-licensemanager/client.rb', line 1449 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.
1472 1473 1474 1475 |
# File 'lib/aws-sdk-licensemanager/client.rb', line 1472 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.
1508 1509 1510 1511 |
# File 'lib/aws-sdk-licensemanager/client.rb', line 1508 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.
1541 1542 1543 1544 |
# File 'lib/aws-sdk-licensemanager/client.rb', line 1541 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.
1584 1585 1586 1587 |
# File 'lib/aws-sdk-licensemanager/client.rb', line 1584 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.
1643 1644 1645 1646 |
# File 'lib/aws-sdk-licensemanager/client.rb', line 1643 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.
1716 1717 1718 1719 |
# File 'lib/aws-sdk-licensemanager/client.rb', line 1716 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.
1760 1761 1762 1763 |
# File 'lib/aws-sdk-licensemanager/client.rb', line 1760 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.
1806 1807 1808 1809 |
# File 'lib/aws-sdk-licensemanager/client.rb', line 1806 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.
1838 1839 1840 1841 |
# File 'lib/aws-sdk-licensemanager/client.rb', line 1838 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.
1865 1866 1867 1868 |
# File 'lib/aws-sdk-licensemanager/client.rb', line 1865 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).
1913 1914 1915 1916 |
# File 'lib/aws-sdk-licensemanager/client.rb', line 1913 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.
1982 1983 1984 1985 |
# File 'lib/aws-sdk-licensemanager/client.rb', line 1982 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.
2030 2031 2032 2033 |
# File 'lib/aws-sdk-licensemanager/client.rb', line 2030 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.
2117 2118 2119 2120 |
# File 'lib/aws-sdk-licensemanager/client.rb', line 2117 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.
2170 2171 2172 2173 |
# File 'lib/aws-sdk-licensemanager/client.rb', line 2170 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.
2236 2237 2238 2239 |
# File 'lib/aws-sdk-licensemanager/client.rb', line 2236 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.
2277 2278 2279 2280 |
# File 'lib/aws-sdk-licensemanager/client.rb', line 2277 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.
2343 2344 2345 2346 |
# File 'lib/aws-sdk-licensemanager/client.rb', line 2343 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.
2426 2427 2428 2429 |
# File 'lib/aws-sdk-licensemanager/client.rb', line 2426 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.
2498 2499 2500 2501 |
# File 'lib/aws-sdk-licensemanager/client.rb', line 2498 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.
2561 2562 2563 2564 |
# File 'lib/aws-sdk-licensemanager/client.rb', line 2561 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.
2650 2651 2652 2653 |
# File 'lib/aws-sdk-licensemanager/client.rb', line 2650 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.
2729 2730 2731 2732 |
# File 'lib/aws-sdk-licensemanager/client.rb', line 2729 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.
2801 2802 2803 2804 |
# File 'lib/aws-sdk-licensemanager/client.rb', line 2801 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.
2831 2832 2833 2834 |
# File 'lib/aws-sdk-licensemanager/client.rb', line 2831 def (params = {}, = {}) req = build_request(:list_tags_for_resource, params) req.send_request() end |
#list_tokens(params = {}) ⇒ Types::ListTokensResponse
Lists your tokens.
2891 2892 2893 2894 |
# File 'lib/aws-sdk-licensemanager/client.rb', line 2891 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.
2958 2959 2960 2961 |
# File 'lib/aws-sdk-licensemanager/client.rb', line 2958 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.
2990 2991 2992 2993 |
# File 'lib/aws-sdk-licensemanager/client.rb', line 2990 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.
3021 3022 3023 3024 |
# File 'lib/aws-sdk-licensemanager/client.rb', line 3021 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.
3047 3048 3049 3050 |
# File 'lib/aws-sdk-licensemanager/client.rb', line 3047 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.
3113 3114 3115 3116 |
# File 'lib/aws-sdk-licensemanager/client.rb', line 3113 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.
3174 3175 3176 3177 |
# File 'lib/aws-sdk-licensemanager/client.rb', line 3174 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.
3220 3221 3222 3223 |
# File 'lib/aws-sdk-licensemanager/client.rb', line 3220 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.
3258 3259 3260 3261 |
# File 'lib/aws-sdk-licensemanager/client.rb', line 3258 def update_service_settings(params = {}, = {}) req = build_request(:update_service_settings, params) req.send_request() end |
#waiter_names ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
3287 3288 3289 |
# File 'lib/aws-sdk-licensemanager/client.rb', line 3287 def waiter_names [] end |