Class: Aws::LicenseManagerLinuxSubscriptions::Client
- Inherits:
-
Seahorse::Client::Base
- Object
- Seahorse::Client::Base
- Aws::LicenseManagerLinuxSubscriptions::Client
- Includes:
- ClientStubs
- Defined in:
- gems/aws-sdk-licensemanagerlinuxsubscriptions/lib/aws-sdk-licensemanagerlinuxsubscriptions/client.rb
Overview
An API client for LicenseManagerLinuxSubscriptions. To construct a client, you need to configure a :region
and :credentials
.
client = Aws::LicenseManagerLinuxSubscriptions::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
-
#get_service_settings(params = {}) ⇒ Types::GetServiceSettingsResponse
Lists the Linux subscriptions service settings.
-
#list_linux_subscription_instances(params = {}) ⇒ Types::ListLinuxSubscriptionInstancesResponse
Lists the running Amazon EC2 instances that were discovered with commercial Linux subscriptions.
-
#list_linux_subscriptions(params = {}) ⇒ Types::ListLinuxSubscriptionsResponse
Lists the Linux subscriptions that have been discovered.
-
#update_service_settings(params = {}) ⇒ Types::UpdateServiceSettingsResponse
Updates the service settings for Linux subscriptions.
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.
409 410 411 |
# File 'gems/aws-sdk-licensemanagerlinuxsubscriptions/lib/aws-sdk-licensemanagerlinuxsubscriptions/client.rb', line 409 def initialize(*args) super end |
Instance Method Details
#get_service_settings(params = {}) ⇒ Types::GetServiceSettingsResponse
Lists the Linux subscriptions service settings.
441 442 443 444 |
# File 'gems/aws-sdk-licensemanagerlinuxsubscriptions/lib/aws-sdk-licensemanagerlinuxsubscriptions/client.rb', line 441 def get_service_settings(params = {}, = {}) req = build_request(:get_service_settings, params) req.send_request() end |
#list_linux_subscription_instances(params = {}) ⇒ Types::ListLinuxSubscriptionInstancesResponse
Lists the running Amazon EC2 instances that were discovered with commercial Linux subscriptions.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
529 530 531 532 |
# File 'gems/aws-sdk-licensemanagerlinuxsubscriptions/lib/aws-sdk-licensemanagerlinuxsubscriptions/client.rb', line 529 def list_linux_subscription_instances(params = {}, = {}) req = build_request(:list_linux_subscription_instances, params) req.send_request() end |
#list_linux_subscriptions(params = {}) ⇒ Types::ListLinuxSubscriptionsResponse
Lists the Linux subscriptions that have been discovered. If you have linked your organization, the returned results will include data aggregated across your accounts in Organizations.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
598 599 600 601 |
# File 'gems/aws-sdk-licensemanagerlinuxsubscriptions/lib/aws-sdk-licensemanagerlinuxsubscriptions/client.rb', line 598 def list_linux_subscriptions(params = {}, = {}) req = build_request(:list_linux_subscriptions, params) req.send_request() end |
#update_service_settings(params = {}) ⇒ Types::UpdateServiceSettingsResponse
Updates the service settings for Linux subscriptions.
653 654 655 656 |
# File 'gems/aws-sdk-licensemanagerlinuxsubscriptions/lib/aws-sdk-licensemanagerlinuxsubscriptions/client.rb', line 653 def update_service_settings(params = {}, = {}) req = build_request(:update_service_settings, params) req.send_request() end |