Class: Aws::LicenseManagerUserSubscriptions::Client
- Inherits:
-
Seahorse::Client::Base
- Object
- Seahorse::Client::Base
- Aws::LicenseManagerUserSubscriptions::Client
- Includes:
- ClientStubs
- Defined in:
- gems/aws-sdk-licensemanagerusersubscriptions/lib/aws-sdk-licensemanagerusersubscriptions/client.rb
Overview
An API client for LicenseManagerUserSubscriptions. To construct a client, you need to configure a :region
and :credentials
.
client = Aws::LicenseManagerUserSubscriptions::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
-
#associate_user(params = {}) ⇒ Types::AssociateUserResponse
Associates the user to an EC2 instance to utilize user-based subscriptions.
-
#deregister_identity_provider(params = {}) ⇒ Types::DeregisterIdentityProviderResponse
Deregisters the identity provider from providing user-based subscriptions.
-
#disassociate_user(params = {}) ⇒ Types::DisassociateUserResponse
Disassociates the user from an EC2 instance providing user-based subscriptions.
-
#list_identity_providers(params = {}) ⇒ Types::ListIdentityProvidersResponse
Lists the identity providers for user-based subscriptions.
-
#list_instances(params = {}) ⇒ Types::ListInstancesResponse
Lists the EC2 instances providing user-based subscriptions.
-
#list_product_subscriptions(params = {}) ⇒ Types::ListProductSubscriptionsResponse
Lists the user-based subscription products available from an identity provider.
-
#list_user_associations(params = {}) ⇒ Types::ListUserAssociationsResponse
Lists user associations for an identity provider.
-
#register_identity_provider(params = {}) ⇒ Types::RegisterIdentityProviderResponse
Registers an identity provider for user-based subscriptions.
-
#start_product_subscription(params = {}) ⇒ Types::StartProductSubscriptionResponse
Starts a product subscription for a user with the specified identity provider.
-
#stop_product_subscription(params = {}) ⇒ Types::StopProductSubscriptionResponse
Stops a product subscription for a user with the specified identity provider.
-
#update_identity_provider_settings(params = {}) ⇒ Types::UpdateIdentityProviderSettingsResponse
Updates additional product configuration settings for the registered identity provider.
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.
365 366 367 |
# File 'gems/aws-sdk-licensemanagerusersubscriptions/lib/aws-sdk-licensemanagerusersubscriptions/client.rb', line 365 def initialize(*args) super end |
Instance Method Details
#associate_user(params = {}) ⇒ Types::AssociateUserResponse
Associates the user to an EC2 instance to utilize user-based subscriptions.
430 431 432 433 |
# File 'gems/aws-sdk-licensemanagerusersubscriptions/lib/aws-sdk-licensemanagerusersubscriptions/client.rb', line 430 def associate_user(params = {}, = {}) req = build_request(:associate_user, params) req.send_request() end |
#deregister_identity_provider(params = {}) ⇒ Types::DeregisterIdentityProviderResponse
Deregisters the identity provider from providing user-based subscriptions.
473 474 475 476 |
# File 'gems/aws-sdk-licensemanagerusersubscriptions/lib/aws-sdk-licensemanagerusersubscriptions/client.rb', line 473 def deregister_identity_provider(params = {}, = {}) req = build_request(:deregister_identity_provider, params) req.send_request() end |
#disassociate_user(params = {}) ⇒ Types::DisassociateUserResponse
Disassociates the user from an EC2 instance providing user-based subscriptions.
525 526 527 528 |
# File 'gems/aws-sdk-licensemanagerusersubscriptions/lib/aws-sdk-licensemanagerusersubscriptions/client.rb', line 525 def disassociate_user(params = {}, = {}) req = build_request(:disassociate_user, params) req.send_request() end |
#list_identity_providers(params = {}) ⇒ Types::ListIdentityProvidersResponse
Lists the identity providers for user-based subscriptions.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
568 569 570 571 |
# File 'gems/aws-sdk-licensemanagerusersubscriptions/lib/aws-sdk-licensemanagerusersubscriptions/client.rb', line 568 def list_identity_providers(params = {}, = {}) req = build_request(:list_identity_providers, params) req.send_request() end |
#list_instances(params = {}) ⇒ Types::ListInstancesResponse
Lists the EC2 instances providing user-based subscriptions.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
621 622 623 624 |
# File 'gems/aws-sdk-licensemanagerusersubscriptions/lib/aws-sdk-licensemanagerusersubscriptions/client.rb', line 621 def list_instances(params = {}, = {}) req = build_request(:list_instances, params) req.send_request() end |
#list_product_subscriptions(params = {}) ⇒ Types::ListProductSubscriptionsResponse
Lists the user-based subscription products available from an identity provider.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
689 690 691 692 |
# File 'gems/aws-sdk-licensemanagerusersubscriptions/lib/aws-sdk-licensemanagerusersubscriptions/client.rb', line 689 def list_product_subscriptions(params = {}, = {}) req = build_request(:list_product_subscriptions, params) req.send_request() end |
#list_user_associations(params = {}) ⇒ Types::ListUserAssociationsResponse
Lists user associations for an identity provider.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
756 757 758 759 |
# File 'gems/aws-sdk-licensemanagerusersubscriptions/lib/aws-sdk-licensemanagerusersubscriptions/client.rb', line 756 def list_user_associations(params = {}, = {}) req = build_request(:list_user_associations, params) req.send_request() end |
#register_identity_provider(params = {}) ⇒ Types::RegisterIdentityProviderResponse
Registers an identity provider for user-based subscriptions.
806 807 808 809 |
# File 'gems/aws-sdk-licensemanagerusersubscriptions/lib/aws-sdk-licensemanagerusersubscriptions/client.rb', line 806 def register_identity_provider(params = {}, = {}) req = build_request(:register_identity_provider, params) req.send_request() end |
#start_product_subscription(params = {}) ⇒ Types::StartProductSubscriptionResponse
Starts a product subscription for a user with the specified identity provider.
870 871 872 873 |
# File 'gems/aws-sdk-licensemanagerusersubscriptions/lib/aws-sdk-licensemanagerusersubscriptions/client.rb', line 870 def start_product_subscription(params = {}, = {}) req = build_request(:start_product_subscription, params) req.send_request() end |
#stop_product_subscription(params = {}) ⇒ Types::StopProductSubscriptionResponse
Stops a product subscription for a user with the specified identity provider.
922 923 924 925 |
# File 'gems/aws-sdk-licensemanagerusersubscriptions/lib/aws-sdk-licensemanagerusersubscriptions/client.rb', line 922 def stop_product_subscription(params = {}, = {}) req = build_request(:stop_product_subscription, params) req.send_request() end |
#update_identity_provider_settings(params = {}) ⇒ Types::UpdateIdentityProviderSettingsResponse
Updates additional product configuration settings for the registered identity provider.
981 982 983 984 |
# File 'gems/aws-sdk-licensemanagerusersubscriptions/lib/aws-sdk-licensemanagerusersubscriptions/client.rb', line 981 def update_identity_provider_settings(params = {}, = {}) req = build_request(:update_identity_provider_settings, params) req.send_request() end |