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.
385 386 387 |
# File 'gems/aws-sdk-licensemanagerusersubscriptions/lib/aws-sdk-licensemanagerusersubscriptions/client.rb', line 385 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.
450 451 452 453 |
# File 'gems/aws-sdk-licensemanagerusersubscriptions/lib/aws-sdk-licensemanagerusersubscriptions/client.rb', line 450 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.
493 494 495 496 |
# File 'gems/aws-sdk-licensemanagerusersubscriptions/lib/aws-sdk-licensemanagerusersubscriptions/client.rb', line 493 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.
545 546 547 548 |
# File 'gems/aws-sdk-licensemanagerusersubscriptions/lib/aws-sdk-licensemanagerusersubscriptions/client.rb', line 545 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.
588 589 590 591 |
# File 'gems/aws-sdk-licensemanagerusersubscriptions/lib/aws-sdk-licensemanagerusersubscriptions/client.rb', line 588 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.
641 642 643 644 |
# File 'gems/aws-sdk-licensemanagerusersubscriptions/lib/aws-sdk-licensemanagerusersubscriptions/client.rb', line 641 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.
709 710 711 712 |
# File 'gems/aws-sdk-licensemanagerusersubscriptions/lib/aws-sdk-licensemanagerusersubscriptions/client.rb', line 709 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.
776 777 778 779 |
# File 'gems/aws-sdk-licensemanagerusersubscriptions/lib/aws-sdk-licensemanagerusersubscriptions/client.rb', line 776 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.
826 827 828 829 |
# File 'gems/aws-sdk-licensemanagerusersubscriptions/lib/aws-sdk-licensemanagerusersubscriptions/client.rb', line 826 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.
890 891 892 893 |
# File 'gems/aws-sdk-licensemanagerusersubscriptions/lib/aws-sdk-licensemanagerusersubscriptions/client.rb', line 890 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.
942 943 944 945 |
# File 'gems/aws-sdk-licensemanagerusersubscriptions/lib/aws-sdk-licensemanagerusersubscriptions/client.rb', line 942 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.
1001 1002 1003 1004 |
# File 'gems/aws-sdk-licensemanagerusersubscriptions/lib/aws-sdk-licensemanagerusersubscriptions/client.rb', line 1001 def update_identity_provider_settings(params = {}, = {}) req = build_request(:update_identity_provider_settings, params) req.send_request() end |